1 2014-07-15 Roland McGrath <roland@hack.frob.com>
3 * nptl/pthread_kill.c: New file.
4 * nptl/pthread_sigmask.c: New file.
5 * nptl/pthread_sigqueue.c: New file.
7 * sysdeps/nptl/lowlevellock.h: New file.
8 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9 * sysdeps/nptl/lowlevellock-futex.h: New file.
11 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12 Remove dead declarations.
14 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
16 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
17 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
19 * sysdeps/x86_64/configure.ac: Likewise.
20 * sysdeps/i386/configure: Regenerated.
21 * sysdeps/x86_64/configure: Likewise.
22 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23 memset-avx2 only if config-cflags-avx2 is yes.
24 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
27 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28 only if HAVE_AVX2_SUPPORT is defined.
29 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31 2014-07-14 Alan Modra <amodra@gmail.com>
34 * elf/elf.h (DT_PPC64_NUM): Correct value.
35 * NEWS: Add to fixed bug list.
37 2014-07-13 Jim Meyering <meyering@fb.com>
40 regex: don't deref NULL upon heap allocation failure
41 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
42 failure in one more place.
43 To trigger the segfault, configure grep -with-included-regex,
44 build it, and run these commands:
45 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
49 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
51 2014-07-11 Richard Henderson <rth@redhat.com>
53 * sysdeps/aarch64/libm-test-ulps: Update.
55 2014-07-10 Florian Weimer <fweimer@redhat.com>
58 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
59 * nptl/allocatestack.c (__nptl_setxid_error): New function.
60 (__nptl_setxid): Initialize error member. Call
62 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
63 * nptl/descr.h (struct xid_command): Add error member.
64 * nptl/tst-setuid3.c: New file.
65 * nptl/Makefile (tests): Add it.
67 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
71 (__lll_trylock): Use __lll_base_trylock.
72 (__lll_cond_trylock): Likewise.
74 2014-07-10 Roland McGrath <roland@hack.frob.com>
76 * nptl/pthread_create.c (start_thread): Use atomic_or and
77 lll_futex_wake directly rather than lll_robust_dead.
78 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
79 (lll_robust_dead): Macro removed.
80 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
81 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
82 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
83 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
84 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
85 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
86 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
87 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
88 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
89 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
90 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
91 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
92 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
93 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
94 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
96 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
97 Use atomic_compare_and_exchange_val_acq directly rather than
99 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
100 (__lll_robust_trylock, lll_robust_trylock): Removed.
101 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
102 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
103 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
104 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
105 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
106 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
107 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
108 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
109 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
110 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
111 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
112 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
113 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
114 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
116 2014-07-02 Florian Weimer <fweimer@redhat.com>
118 * manual/locale.texi (Locale Names): New section documenting
119 locale name syntax. Adjust menu and node chaining accordingly.
120 (Choosing Locale): Reference Locale Names, Locale Categories.
121 Mention setting LC_ALL=C. Reflect that name syntax is now
123 (Locale Categories): New section title. Reference Locale Names.
124 LC_ALL is an environment variable, but not a category.
125 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
126 description, now in Locale Name. Reference that section. Locale
127 name syntax is now documented.
129 2014-07-02 Florian Weimer <fweimer@redhat.com>
132 * locale/findlocale.c (name_present, valid_locale_name): New
134 (_nl_find_locale): Use the loc_name variable to store name
135 candidates. Call name_present and valid_locale_name to check and
136 validate locale names. Return an error if the locale is invalid.
138 2014-07-02 Florian Weimer <fweimer@redhat.com>
140 * locale/setlocale.c (setlocale): Use strdup for allocating
143 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
146 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
147 [!_LIBC && ENABLE_NLS]: Include gettext.h.
148 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
150 [USE_UNLOCKED_IO]: Include unlocked-io.h.
151 [!_LIBC]: Include code for Windows and Cygwin.
152 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
153 Include prototype for int strerror_r.
154 [!_LIBC] (is_open): New function.
155 (flush_stdout): New function.
156 (print_errno_message): Use it.
158 (error_at_line): Likewise.
159 (error_tail) Add function attribute macros. Use
162 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
164 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
166 * io/ftw.c: Include sys/param.h unconditionally.
168 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
171 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
173 (freecache): New function to free CACHE on exit.
175 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
178 2014-07-09 David S. Miller <davem@davemloft.net>
180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
182 * sysdeps/sparc/nptl/internaltypes.h: Delete.
183 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
184 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
185 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
186 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
187 * sysdeps/sparc/nptl/sem_init.c: Likewise.
188 * sysdeps/sparc/nptl/sem_post.c: Likewise.
189 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
190 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
191 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
192 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
193 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
194 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
196 2014-07-09 Andreas Schwab <schwab@suse.de>
198 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
200 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
203 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
205 2014-07-09 Will Newton <will.newton@linaro.org>
207 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
208 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
209 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
210 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
211 * sysdeps/hppa/start.S (_start): Likewise.
213 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
215 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
217 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
220 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
222 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
223 after checking that it is non-NULL.
225 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
227 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
229 * sysdeps/powerpc/memmove.c: Remove file.
230 * sysdeps/powerpc/powerpc32/power4/memcopy.h
231 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
232 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
233 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
234 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
235 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
236 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
237 string memmove instead of removed powerpc one.
239 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
240 [weak_alias]: Fix compiler warning due trailing data.
241 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
242 [weak_alias]: Likewise.
243 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
244 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
246 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
247 (__libc_ifunc_impl_list): Add memmove functions.
249 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
251 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
253 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
255 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
257 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
259 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
261 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
263 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
265 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
267 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
269 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
271 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
273 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
275 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
277 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
279 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
281 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
283 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
286 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
288 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
289 to avoid alignment traps in non-cacheable memory.
290 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
292 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
294 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
295 file: multiarch power7 memmove.
296 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
297 multiarch default memmove.
298 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
299 multiarch memove for powerpc32/power4.
301 * string/bcopy.c: Use full path to include memmove.c.
302 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
304 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
306 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
309 and memmove implementations.
310 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
311 optimized multiarch memmove for POWER7/powerpc64.
312 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
313 default multiarch memmove for powerpc64.
314 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
315 multiarch for powerpc64.
316 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
317 for POWER7/powerpc64.
318 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
319 memmove for POWER7/powerpc64.
321 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
324 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
325 __ELF_NATIVE_CLASS equal to 64.
327 2014-07-07 Roland McGrath <roland@hack.frob.com>
329 * sysdeps/nptl/lowlevellock.h: File removed.
331 * NEWS: NPTL is no longer an add-on!
332 * nptl/internaltypes.h: Moved ...
333 * sysdeps/nptl/internaltypes.h: ... here.
334 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
335 * sysdeps/nptl/fork.c: Likewise.
336 * sysdeps/nptl/gai_misc.h: Likewise.
337 * sysdeps/nptl/librt-cancellation.c: Likewise.
338 * sysdeps/nptl/jmp-unwind.c: Likewise.
339 * sysdeps/nptl/setxid.h: Likewise.
340 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
341 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
342 * sysdeps/unix/sysv/linux/arm/Implies: New file.
343 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
344 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
345 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
346 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
347 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
348 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
349 * sysdeps/unix/sysv/linux/mips/Implies: New file.
350 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
351 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
352 * sysdeps/unix/sysv/linux/sh/Implies: New file.
353 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
354 * sysdeps/unix/sysv/linux/tile/Implies: New file.
355 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
356 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
357 * nptl/Makeconfig: Moved ...
358 * sysdeps/nptl/Makeconfig: ... here.
359 * nptl/configure: File removed.
360 * nptl/ANNOUNCE: File removed.
361 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
362 * sysdeps/unix/sysv/linux/configure: Regenerated.
364 * nptl/Makefile (routines): Add libc_pthread_init,
365 libc_multiple_threads, register-atfork and unregister-atfork.
366 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
367 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
368 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
369 pthread-pi-defines.sym, structsem.sym.
370 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
371 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
372 [$(subdir) = nptl] (tests): Add tst-setgetname.
373 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
374 * sysdeps/unix/sysv/linux/sigaction.c: Just include
375 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
376 [!LIBC_SIGACTION]: Remove aliases.
377 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
378 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
379 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
380 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
381 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
382 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
383 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
384 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
385 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
386 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
387 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
388 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
389 __libc_allocate_rtsig_private.
390 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
391 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
392 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
393 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
394 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
395 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
396 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
397 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
398 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
399 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
400 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
401 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
402 * nptl/internaltypes.h: ... here.
403 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
404 * sysdeps/nptl/jmp-unwind.c: ... here.
405 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
406 * nptl/libc-lowlevellock.c: ... here.
407 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
408 * nptl/libc_multiple_threads.c: ... here.
409 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
410 * nptl/libc_pthread_init.c: ... here.
411 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
412 * nptl/lowlevelbarrier.sym: ... here.
413 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
414 * nptl/lowlevelcond.sym: ... here.
415 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
416 * nptl/lowlevellock.c: ... here.
417 * nptl/lowlevellock.h: Moved ...
418 * sysdeps/nptl/lowlevellock.h: ... here.
419 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
420 * nptl/lowlevelrobustlock.c: ... here.
421 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
422 * nptl/lowlevelrobustlock.sym: ... here.
423 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
424 * nptl/lowlevelrwlock.sym: ... here.
425 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
426 * nptl/pt-fork.c: ... here.
427 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
428 * nptl/pthread-pi-defines.sym: ... here.
429 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
430 * nptl/pthread_attr_getaffinity.c: ... here.
431 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
432 * nptl/pthread_attr_setaffinity.c: ... here.
433 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
434 * nptl/pthread_mutex_cond_lock.c: ... here.
435 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
437 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
438 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
439 * nptl/pthread_once.c: ... here, replacing old file.
440 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
441 * nptl/pthread_yield.c: ... here.
442 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
443 * nptl/register-atfork.c: ... here.
444 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
445 * nptl/sem_post.c: ... here.
446 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
447 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
448 * nptl/sem_timedwait.c: ... here.
449 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
450 * nptl/sem_trywait.c: ... here.
451 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
452 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
453 * nptl/sem_wait.c: ... here.
454 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
455 * nptl/structsem.sym: ... here.
456 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
457 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
458 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
459 * nptl/unregister-atfork.c: ... here.
460 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
461 * nptl/unwindbuf.sym: ... here.
462 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
463 * sysdeps/nptl/fork.c: ... here.
464 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
465 * sysdeps/nptl/fork.h: ... here.
466 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
467 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
468 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
469 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
470 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
471 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
472 * sysdeps/unix/sysv/linux/getpid.c: ... here.
473 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
474 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
475 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
476 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
477 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
478 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
479 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
480 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
481 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
482 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
483 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
484 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
485 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
486 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
487 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
488 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
489 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
490 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
491 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
492 * sysdeps/unix/sysv/linux/raise.c: ... here.
493 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
494 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
495 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
496 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
497 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
498 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
499 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
500 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
501 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
502 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
503 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
504 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
505 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
506 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
507 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
509 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
511 * sysdeps/generic/memcopy.h: Add comment for
512 MEMCPY_OK_FOR_FWD_MEMMOVE.
514 2014-07-04 Will Newton <will.newton@linaro.org>
516 * string/memchr.c: Merge from gnulib.
517 [_LIBC]: Remove conditionals.
518 (__ptr_t): Remove define.
519 (LONG_MAX_32_BITS): Likewise.
520 (LONG_MAX): Likewise.
521 (MEMCHR): Use ANSI prototype and optimize algorithm.
523 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
525 2014-07-03 Roland McGrath <roland@hack.frob.com>
527 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
528 (lll_futex_timed_wait_bitset): Fix syscall argument count.
530 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
531 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
532 in a bare environment with no <stdlib.h> installed.
533 * sysdeps/nptl/configure: Regenerated.
535 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
537 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
538 AC_EGREP_CPP for kernel header checks, so they only succeed if
539 including <linux/version.h> actually works right.
540 * sysdeps/unix/sysv/linux/configure: Regenerated.
542 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
543 value so it's not diagnosed as unused.
545 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
546 thing) with "ifeq ($(subdir),rt)".
548 2014-07-03 Richard Henderson <rth@redhat.com>
550 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
551 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
552 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
554 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
555 (math_force_eval): New.
557 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
558 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
560 * sysdeps/alpha/fpu/s_round.c: Remove file.
561 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
563 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
564 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
565 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
566 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
567 (_dl_start, print_statistics): Likewise.
568 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
569 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
571 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
572 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
573 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
574 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
575 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
576 (HP_SMALL_TIMING_AVAIL): Define.
577 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
578 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
579 (HP_SMALL_TIMING_AVAIL): Define.
580 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
581 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
583 * sysdeps/aarch64/hp-timing.h: New file.
585 * sysdeps/generic/hp-timing.h: Remove dead comment.
586 * sysdeps/generic/hp-timing-common.h: New file.
587 * sysdeps/alpha/hp-timing.h: Include it.
588 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
589 * sysdeps/i386/i686/hp-timing.h: Likewise.
590 * sysdeps/ia64/hp-timing.h: Likewise.
591 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
592 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
593 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
594 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
595 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
596 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
599 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
600 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
601 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
602 * elf/rtld.c (_dl_start_final): Likewise.
603 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
604 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
605 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
606 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
607 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
608 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
609 (HP_TIMING_DIFF_INIT): Remove.
610 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
611 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
612 (HP_TIMING_DIFF_INIT): Remove.
613 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
614 * sysdeps/i386/i686/hp-timing.c: Remove file.
615 * sysdeps/x86_64/hp-timing.c: Remove file.
616 * sysdeps/ia64/hp-timing.c: Remove file.
617 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
618 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
619 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
620 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
622 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
623 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
624 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
625 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
626 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
627 (HP_TIMING_ACCUM): Remove.
628 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
629 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
630 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
632 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
633 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
634 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
635 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
636 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
637 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
638 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
639 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
641 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
643 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
645 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
647 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
649 Sync up with gettext.
650 * intl/loadmsgcat.c: Define O_BINARY if not defined.
651 [_MSC_VER]: Include malloc.h
652 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
653 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
654 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
655 TEMP_FAILURE_RETRY. Cast return of alloca.
656 [!_LIBC] Call gl_rwlock_init.
657 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
659 2014-07-02 Roland McGrath <roland@hack.frob.com>
661 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
662 before checking its value.
664 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
666 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
668 * debug/memcpy_chk.c: Don't include pagecopy.h.
669 * debug/mempcpy_chk.c: Likewise.
670 * string/memcpy.c: Likewise.
671 * string/memmove.c: Likewise.
672 * sysdeps/powerpc/memmove.c: Likewise.
673 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
674 definition of PAGE_COPY_FWD_MAYBE here...
675 * sysdeps/generic/pagecopy.h: ... from here.
676 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
678 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
679 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
681 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
685 (__libc_ifunc_impl_list): Likewise.
686 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
687 multiarch strcat for PPC64.
688 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
689 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
691 2014-07-02 Roland McGrath <roland@hack.frob.com>
693 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
695 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
697 * intl/loadmsgcat.c: Remove declaration of
698 get_sysdep_segment_value.
699 (get_sysdep_segment_value): Use ISO C style.
700 (_nl_load_domain): Use ISO C style. Get rid of redundant
701 semicolon. Fix typo and formatting in comment.
702 (_nl_unload_domain): Use ISO C style.
704 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
706 2014-07-02 Will Newton <will.newton@linaro.org>
708 * malloc/obstack.c: Merge from gnulib master.
709 [HAVE_CONFIG_H]: Remove conditional code.
710 [!_LIBC]: Include config.h.
711 [!ELIDE_CODE]: Don't include inttypes.h, include
712 stdint.h unconditionally.
713 (print_and_abort): Mark as _Noreturn.
714 (_obstack_allocated_p): Mark as __attribute_pure__.
715 (obstack_free): Rename to __obstack_free.
716 [!__attribute__]: Remove conditional code.
717 * malloc/obstack.h: Merge from gnulib master.
718 [__cplusplus]: Move conditional down.
719 [!__attribute_pure__]: Define __attribute_pure__ here
720 if it is not already defined.
721 (_obstack_memory_used): Mark as __attribute_pure__.
722 [!__obstack_free]: Define as obstack_free.
723 [__GNUC__]: Remove check for ancient NeXT gcc.
725 2014-07-02 Will Newton <will.newton@linaro.org>
726 Paul Eggert <eggert@cs.ucla.edu>
728 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
730 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
732 * resolv/gethnamaddr.c: Add comment warning that the file is
735 2014-07-01 Carlos O'Donell <carlos@redhat.com>
737 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
740 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
741 entry for aio_cancel and aio_cancel64.
742 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
743 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
744 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
745 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
746 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
747 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
748 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
749 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
750 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
751 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
752 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
753 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
754 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
756 2014-07-01 Roland McGrath <roland@hack.frob.com>
758 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
759 * nptl/pthread_mutex_lock.c: Likewise.
760 * nptl/pthread_mutex_timedlock.c: Likewise.
761 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
763 2014-07-01 Richard henderson <rth@redhat.com>
765 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
766 (__isnan, __isnanl): Remove.
767 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
769 * sysdeps/alpha/fpu/libm-test-ulps: Update.
771 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
773 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
775 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
777 * resolv/nss_dns/dns-host.c (getanswer_r)
778 [MULTI_PTRS_ARE_ALIASES]: Remove code.
780 2014-07-01 Joseph Myers <joseph@codesourcery.com>
782 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
783 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
785 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
786 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
788 2014-07-01 Roland McGrath <roland@hack.frob.com>
790 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
791 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
793 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
794 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
796 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
797 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
799 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
800 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
802 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
803 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
804 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
805 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
807 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
808 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
809 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
810 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
811 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
813 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
815 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
816 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
817 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
818 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
819 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
820 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
821 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
822 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
823 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
824 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
825 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
826 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
827 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
828 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
829 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
830 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
831 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
832 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
833 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
834 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
836 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
837 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
838 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
839 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
840 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
841 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
842 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
843 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
845 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
847 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
848 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
849 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
852 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
856 2014-06-30 Joseph Myers <joseph@codesourcery.com>
858 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
859 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
861 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
863 * sysdeps/arm/libm-test-ulps: Regenerated.
865 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
866 Roland McGrath <roland@hack.frob.com>
868 * test-skeleton.c (signal_handler): Kill the whole process group
869 before killing the child individually.
870 (main): Report any failure on `setpgid'.
872 2014-06-30 Roland McGrath <roland@hack.frob.com>
874 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
875 from _TLS_H to _ARM_NPTL_TLS_H.
876 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
877 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
879 2014-06-30 Joseph Myers <joseph@codesourcery.com>
882 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
883 (__expm1l): Return argument unchanged when small but not
886 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
888 (_FP_UNPACK_RAW_1_P): Likewise.
889 (_FP_PACK_RAW_1): Likewise.
890 (_FP_PACK_RAW_1_P): Likewise.
891 (_FP_MUL_MEAT_1_wide): Likewise.
892 (_FP_MUL_MEAT_DW_1_hard): Likewise.
893 (_FP_MUL_MEAT_1_hard): Likewise.
894 (_FP_DIV_MEAT_1_imm): Likewise.
895 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
896 (_FP_DIV_MEAT_1_udiv): Likewise.
897 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
898 (_FP_UNPACK_RAW_2): Likewise.
899 (_FP_UNPACK_RAW_2_P): Likewise.
900 (_FP_PACK_RAW_2): Likewise.
901 (_FP_PACK_RAW_2_P): Likewise.
902 (_FP_MUL_MEAT_DW_2_wide): Likewise.
903 (_FP_MUL_MEAT_2_wide): Likewise.
904 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
905 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
906 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
907 (_FP_MUL_MEAT_2_gmp): Likewise.
908 (_FP_DIV_MEAT_2_udiv): Likewise.
909 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
910 (_FP_FRAC_SRL_4): Likewise.
911 (_FP_FRAC_SRST_4): Likewise.
912 (_FP_FRAC_SRS_4): Likewise.
913 (_FP_UNPACK_RAW_4): Likewise.
914 (_FP_UNPACK_RAW_4_P): Likewise.
915 (_FP_PACK_RAW_4): Likewise.
916 (_FP_PACK_RAW_4_P): Likewise.
917 (_FP_MUL_MEAT_DW_4_wide): Likewise.
918 (_FP_MUL_MEAT_4_wide): Likewise.
919 (_FP_MUL_MEAT_4_gmp): Likewise.
920 (umul_ppppmnnn): Likewise.
921 (_FP_DIV_MEAT_4_udiv): Likewise.
922 (__FP_FRAC_ADD_4): Likewise.
923 (__FP_FRAC_SUB_3): Likewise.
924 (__FP_FRAC_SUB_4): Likewise.
925 (__FP_FRAC_DEC_3): Likewise.
926 (__FP_FRAC_DEC_4): Likewise.
927 (__FP_FRAC_ADDI_4): Likewise.
928 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
929 (_FP_FRAC_SRL_8): Likewise.
930 (_FP_FRAC_SRS_8): Likewise.
932 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
934 (FP_UNPACK_RAW_EP): Likewise.
935 (FP_PACK_RAW_E): Likewise.
936 (FP_PACK_RAW_EP): Likewise.
937 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
938 (_FP_ISSIGNAN): Likewise.
939 (_FP_ADD_INTERNAL): Likewise.
942 (_FP_SQRT): Likewise.
943 (_FP_TO_INT): Likewise.
944 (_FP_FROM_INT): Likewise.
945 (FP_EXTEND): Likewise.
946 (_FP_DIV_MEAT_N_loop): Likewise.
948 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
950 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
953 2014-06-29 Joseph Myers <joseph@codesourcery.com>
956 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
957 result with correct sign in case of exponents that produce
958 overflow except for X very close to 1.
960 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
962 mktime: merge #if/#ifdef usage from glibc
963 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
964 as that works with both Glibc's and Gnulib's style.
965 See thread starting at Siddhesh Poyarekar's bug report at:
966 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
968 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
970 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
971 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
972 * sysdeps/tile/tilegx/memmove.c: Remove file.
974 2014-06-27 Joseph Myers <joseph@codesourcery.com>
976 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
978 * scripts/soversions.awk: Do not handle or generate ABI lines.
979 * shlib-versions: Remove ABI entries.
980 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
981 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
983 2014-06-27 Roland McGrath <roland@hack.frob.com>
985 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
986 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
987 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
988 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
989 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
990 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
991 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
993 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
995 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
996 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
997 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
998 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
999 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1000 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1001 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1002 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1003 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1004 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1005 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1006 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1007 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1009 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1010 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1011 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1012 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1013 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1014 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1016 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1017 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1019 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1020 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1021 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1022 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1024 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1025 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1026 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1027 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1028 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1029 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1030 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1031 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1033 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1034 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1035 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1036 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1038 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1039 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1041 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1042 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1043 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1044 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1046 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1048 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1049 Identical file removed.
1050 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1052 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1053 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1054 Identical file removed.
1055 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1056 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1057 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1059 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1060 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1061 Identical file removed.
1062 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1063 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1064 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1065 Identical file removed.
1066 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1067 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1068 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1069 Identical file removed.
1070 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1071 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1072 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1073 Identical file removed.
1074 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1076 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1077 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1078 Identical file removed.
1079 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1081 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1082 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1083 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1084 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1085 Identical file removed.
1086 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1088 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1090 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1091 Identical file removed.
1092 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1094 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1095 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1096 Identical file removed.
1097 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1099 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1100 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1101 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1102 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1103 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1104 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1106 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1107 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1108 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1110 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1111 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1112 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1113 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1114 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1116 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1119 * nscd/nscd.c (monitor_child): Return exit status of child
1120 instead of return value from wait syscall.
1122 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1124 * configure.ac (libc_commonpagesize): Remove variable.
1125 (libc_relro_required): Likewise.
1126 (libc_cv_z_relro): Remove configure test.
1127 * configure: Regenerated.
1128 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1130 (libc_relro_required): Likewise.
1131 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1132 (libc_relro_required): Likewise.
1133 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1134 (libc_relro_required): Likewise.
1135 * sysdeps/arm/preconfigure: Regenerated.
1136 * sysdeps/ia64/preconfigure: Remove file.
1137 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1139 (libc_relro_required): Likewise.
1143 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1144 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1145 recompute overflowing results in original rounding mode.
1146 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1147 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1148 recompute overflowing results in original rounding mode.
1149 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1150 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1151 recompute overflowing results in original rounding mode.
1152 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1153 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1154 recompute overflowing results in original rounding mode.
1155 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1156 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1157 recompute overflowing results in original rounding mode.
1158 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1159 (libc_feholdsetround_ctx): New macro.
1160 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1161 * sysdeps/i386/fpu/libm-test-ulps: Update.
1162 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1164 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1166 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1167 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1168 corresponding .cpsetup call.
1170 2014-06-26 Roland McGrath <roland@hack.frob.com>
1172 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1173 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1174 * sysdeps/arm/Makefile [$(subdir) = csu]
1175 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1176 (static-only-routines): Add aeabi_read_tp here.
1177 (shared-only-routines): Add libc-aeabi_read_tp here.
1178 (CFLAGS-libc-start.c): Add -fexceptions here.
1179 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1180 (sysdep_routines, static-only-routines, shared-only-routines):
1181 Don't add to these here.
1182 (CFLAGS-libc-start.c): Likewise.
1184 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1185 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1186 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1187 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1188 * sysdeps/arm/Makefile [$(subdir) = rt]
1189 (librt-sysdep_routines, librt-shared-only-routines):
1190 Append rt-aeabi_unwind_cpp_pr1 here.
1191 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1192 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1193 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1194 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1195 Append nptl-aeabi_unwind_cpp_pr1 here.
1196 (tests): Filter out tst-cleanupx4 here.
1197 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1198 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1199 Don't do those here.
1201 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1203 * scripts/list-sources.sh: Do not handle ports specially.
1205 2014-06-26 Roland McGrath <roland@hack.frob.com>
1207 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1208 * sysdeps/arm/feupdateenv.c: Likewise.
1210 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1212 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1214 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1215 trailing whitespace removed.
1216 * scripts/config.guess: Update to version 2014-03-23.
1217 * scripts/config.sub: Update to version 2014-05-01
1218 * scripts/install-sh: Update to version 2013-12-25.23.
1219 * scripts/move-if-change: Update from gnulib.
1221 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1223 * debug/memmove_chk.c: Remove pagecopy.h include.
1225 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1227 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1228 identical to gnulib mktime.
1230 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1232 * configure.ac: Do not test for machine being rs6000. Do not test
1234 * configure: Regenerated.
1236 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1238 * configure: Regenerated.
1239 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1240 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1241 Remove configure test.
1242 * sysdeps/arm/configure: Regenerated.
1243 * sysdeps/nptl/configure.ac: Do not check
1244 libc_cv_asm_cfi_directives.
1245 * sysdeps/nptl/configure: Regenerated.
1246 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1247 * sysdeps/x86_64/nptl/configure: Remove generated file.
1248 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1250 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1252 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1254 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1255 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1256 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1259 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1260 instead of whether it is defined.
1261 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1262 * sysdeps/hppa/dl-machine.h: Likewise.
1263 * sysdeps/ia64/dl-machine.h: Likewise.
1264 * sysdeps/m68k/dl-machine.h: Likewise.
1265 * sysdeps/microblaze/dl-machine.h: Likewise.
1266 * sysdeps/mips/dl-machine.: Likewise.
1267 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1268 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1269 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1270 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1271 * sysdeps/sh/dl-machine.h: Likewise.
1272 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1273 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1274 * sysdeps/tile/dl-machine.h: Likewise.
1275 * sysdeps/x86_64/dl-machine.h: Likewise.
1277 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1279 (verify_persistent_db): Likewise.
1281 2014-06-26 Roland McGrath <roland@hack.frob.com>
1283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1284 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1286 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1289 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1292 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1294 Identical file removed.
1295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1296 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1298 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1300 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1302 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1304 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1307 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1309 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1311 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1314 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1316 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1318 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1320 Identical file removed.
1321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1322 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1324 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1327 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1330 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1332 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1334 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1336 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1338 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1341 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1344 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1346 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1349 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1351 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1353 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1355 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1356 * sysdeps/unix/sysv/linux/s390/Versions
1357 (libpthread: GLIBC_2.19): New version set.
1358 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1359 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1360 (librt: GLIBC_2.3.3): New version set.
1361 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1362 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1363 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1364 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1365 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1366 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1367 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1368 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1369 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1370 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1371 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1372 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1373 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1374 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1375 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1376 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1377 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1378 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1379 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1380 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1381 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1382 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1383 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1384 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1385 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1386 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1387 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1388 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1389 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1390 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1391 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1392 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1393 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1394 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1395 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1396 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1397 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1398 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1399 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1400 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1401 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1402 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1403 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1404 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1405 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1407 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1408 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1409 (__libc_vfork): Define the function under this name.
1410 [!NOT_IN_libc] (__vfork): Make this an alias.
1411 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1412 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1413 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1414 (__libc_vfork): Define the function under this name.
1415 [!NOT_IN_libc] (__vfork): Make this an alias.
1416 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1417 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1418 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1419 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1420 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1421 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1423 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1424 code that was previously under [RESET_PID].
1425 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1426 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1427 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1429 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1430 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1431 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1432 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1433 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1434 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1435 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1436 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1437 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1438 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1439 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1441 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1442 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1443 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1444 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1445 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1446 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1447 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1448 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1449 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1450 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1451 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1452 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1453 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1454 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1455 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1456 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1457 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1458 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1459 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1460 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1461 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1462 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1463 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1464 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1465 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1466 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1467 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1468 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1469 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1471 2014-06-25 Roland McGrath <roland@hack.frob.com>
1473 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1474 that was previously under [RESET_PID].
1475 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1477 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1479 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1480 not undefine and redefine.
1481 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1482 [O_CLOEXEC]: Make code unconditional.
1483 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1484 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1485 <kernel-features.h>.
1486 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1487 conditional variable definition.
1488 (shm_open) [O_CLOEXEC]: Make code unconditional.
1489 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1492 * configure.ac (USE_REGPARMS): Don't define here.
1493 * configure: Regenerated.
1494 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1495 * sysdeps/i386/configure: Regenerated.
1497 * nptl/createthread.c: Don't include kernel-features.h.
1498 * nptl/pthread_cancel.c: Likewise.
1499 * nptl/pthread_condattr_setclock.c: Likewise.
1500 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1501 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1502 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1503 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1504 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1505 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1506 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1507 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1508 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1509 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1510 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1511 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1512 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1513 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1514 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1515 * nscd/gai.c: Likewise.
1516 * nss/nss_db/db-open.c: Likewise.
1517 * sysdeps/generic/ldsodefs.h: Likewise.
1518 * sysdeps/sh/nptl/tls.h: Likewise.
1519 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1520 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1521 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1522 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1523 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1524 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1525 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1526 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1527 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1528 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1529 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1530 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1531 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1532 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1533 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1534 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1535 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1536 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1537 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1538 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1539 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1540 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1541 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1542 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1543 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1544 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1545 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1546 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1547 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1548 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1549 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1550 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1551 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1552 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1553 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1554 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1555 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1556 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1557 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1558 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1559 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1560 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1561 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1562 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1563 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1564 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1565 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1566 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1567 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1568 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1569 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1570 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1571 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1572 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1573 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1574 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1575 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1576 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1599 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1600 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1601 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1602 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1603 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1604 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1605 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1606 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1607 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1608 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1609 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1610 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1611 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1612 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1613 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1614 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1615 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1616 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1617 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1618 * sysdeps/unix/sysv/linux/system.c: Likewise.
1619 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1620 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1621 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1622 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1623 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1624 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1625 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1627 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1628 * configure: Regenerated.
1629 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1631 * configure.ac (base_machine): Do not set specially for particular
1633 * configure: Regenerated.
1634 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1635 settings from configure.ac.
1636 * sysdeps/i386/preconfigure: New file.
1637 * sysdeps/s390/preconfigure: Likewise.
1638 * sysdeps/sh/preconfigure: Likewise.
1639 * sysdeps/sparc/preconfigure: Likewise.
1641 2014-06-25 Roland McGrath <roland@hack.frob.com>
1643 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1644 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1645 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1646 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1647 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1648 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1649 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1650 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1651 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1652 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1653 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1654 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1655 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1656 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1657 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1658 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1659 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1660 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1661 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1663 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1664 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1665 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1666 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1667 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1668 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1669 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1670 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1671 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1672 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1673 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1674 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1675 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1676 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1677 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1678 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1679 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1680 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1681 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1682 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1683 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1684 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1685 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1686 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1687 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1688 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1689 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1690 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1691 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1692 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1693 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1694 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1695 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1696 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1697 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1698 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1699 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1700 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1703 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1705 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1708 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1711 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1713 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1716 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1718 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1720 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1722 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1725 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1728 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1730 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1733 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1735 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1737 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1739 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1741 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1744 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1747 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1749 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1752 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1754 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1756 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1758 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1761 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1764 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1766 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1769 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1771 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1773 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1775 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1777 * timezone/checktab.awk: Update from tzcode 2014e.
1778 * timezone/private.h: Likewise.
1779 * timezone/tzfile.h: Likewise.
1780 * timezone/zdump.c: Likewise.
1781 * timezone/zic.c: Likewise.
1783 * sysdeps/unix/sysv/linux/kernel-features.h
1784 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1785 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1786 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1787 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1788 Remove conditional code.
1790 2014-06-25 Will Newton <will.newton@linaro.org>
1792 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1793 (_dl_arm_cap_flags): Add HWCAP2 values.
1794 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1795 (_DL_HWCAP_COUNT): Increase to 37.
1796 (_DL_HWCAP_LAST): New define.
1797 (_DL_HWCAP2_LAST): New define.
1798 (_dl_procinfo): Add support for printing
1800 (_dl_string_hwcap): Use _dl_hwcap_string.
1802 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1806 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1808 * README: Do not mention ports directory.
1810 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1812 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1813 <kernel-features.h>.
1814 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1815 conditional variable definition.
1816 (__futimes): Update comment.
1817 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1818 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1821 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1822 arguments close to 0.
1823 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1825 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1827 * math/auto-libm-test-in: Add more tests of exp10.
1828 * math/auto-libm-test-out: Regenerated.
1829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1831 * sysdeps/unix/sysv/linux/kernel-features.h
1832 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1833 * sysdeps/unix/sysv/linux/readv.c: Do not include
1834 <kernel-features.h>.
1835 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1836 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1837 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1839 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1841 * sysdeps/unix/sysv/linux/writev.c: Do not include
1842 <kernel-features.h>.
1843 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1844 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1845 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1847 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1850 2014-06-25 Will Newton <will.newton@linaro.org>
1852 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1853 comment changes throughout the file. Remove checks
1854 for HAVE_*_H definitions that are not required.
1855 (__gen_tempname): Call abort if an unknown kind value is
1858 2014-06-25 Andreas Schwab <schwab@suse.de>
1861 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1862 scalbln, scalblnf, scalblnl in libc.
1864 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1867 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1868 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1869 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1871 2014-06-24 Roland McGrath <roland@hack.frob.com>
1873 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1874 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1875 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1876 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1878 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1879 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1881 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1882 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1883 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1884 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1885 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1886 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1887 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1888 * sysdeps/x86/bits/semaphore.h: ... here.
1889 * sysdeps/x86/nptl/elide.h: Moved ...
1890 * sysdeps/x86/elide.h: ... here.
1891 * sysdeps/x86_64/nptl/Implies: File removed.
1892 * sysdeps/i386/nptl/Implies: File removed.
1894 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1897 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1898 return the argument for normal arguments with exponent below -64.
1899 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1901 * math/auto-libm-test-in: Add another test of expm1.
1902 * math/auto-libm-test-out: Regenerated.
1905 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1906 calling __erfcl for arguments at least 16.
1907 * math/auto-libm-test-in: Add more tests of erf.
1908 * math/auto-libm-test-out: Regenerated.
1910 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1911 individual architectures.
1912 * sysdeps/unix/sysv/linux/configure: Regenerated.
1913 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1914 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1915 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1916 (ldd_rewrite_script): Define variable.
1917 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1922 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1923 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1924 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1925 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1926 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1927 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1928 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1929 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1931 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1934 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1935 Rename member __data.d to __data.__elision_data.
1937 2014-06-24 Wilco <wdijkstr@arm.com>
1939 * NEWS: Add 16918 to fixed bug list.
1941 2014-06-24 Wilco <wdijkstr@arm.com>
1943 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1945 2014-06-24 Wilco <wdijkstr@arm.com>
1947 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1948 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1949 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1950 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1951 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1952 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1953 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1956 2014-06-24 Wilco <wdijkstr@arm.com>
1958 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1960 2014-06-24 Wilco <wdijkstr@arm.com>
1962 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1963 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1964 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1965 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1967 2014-06-24 Wilco <wdijkstr@arm.com>
1970 * sysdeps/arm/feupdateenv.c (feupdateenv):
1971 Rewrite to reduce FPSCR accesses and fix return value.
1973 2014-06-24 Wilco <wdijkstr@arm.com>
1975 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1976 Optimize to avoid unnecessary FPSCR writes.
1977 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1978 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1979 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1980 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1982 2014-06-24 Wilco <wdijkstr@arm.com>
1984 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1985 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1986 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1987 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1988 Call libc_fetestexcept_vfp.
1989 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1990 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1991 __SOFTFP__ ifdef so that they can be built for softfp.
1993 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1995 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1996 argument type signed char.
1998 * Makerules (check-abi): Dump diff of symlist if the test
2001 2014-06-23 Roland McGrath <roland@hack.frob.com>
2003 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2006 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2007 Remove unused variable ST.
2009 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2013 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2014 small arguments before calling __expm1.
2015 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2016 small arguments before calling __expm1f.
2017 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2018 small arguments before calling __expm1l.
2019 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2021 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2022 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2023 spurious underflow for some cosh tests.
2024 * math/auto-libm-test-out: Regenerated.
2025 * sysdeps/i386/fpu/libm-test-ulps: Update.
2028 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2029 (__ieee754_y1): Set errno if return value overflows.
2030 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2031 (__ieee754_y1f): Set errno if return value overflows.
2032 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2033 (__ieee754_y1l): Set errno if return value overflows.
2034 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2035 (__ieee754_y1l): Set errno if return value overflows.
2036 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2037 * math/auto-libm-test-out: Regenerated.
2039 * math/gen-auto-libm-tests.c: Document use of
2040 ignore-zero-inf-sign.
2041 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2042 (input_flags): Add ignore-zero-inf-sign.
2043 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2044 * math/gen-libm-test.pl (generate_testfile): Handle
2045 ignore-zero-inf-sign.
2046 * math/auto-libm-test-in: Mark some cpow tests with
2047 ignore-zero-inf-sign and some with xfail-rounding.
2048 * math/auto-libm-test-out: Regenerated.
2049 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2050 * sysdeps/i386/fpu/libm-test-ulps: Update.
2051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2054 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2055 overflowing or underflowing operations take place with sign of
2057 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2058 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2059 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2060 (__ieee754_pow): Recompute overflowing and underflowing results in
2061 original rounding mode.
2062 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2063 (__powl_helper): Allow negative argument X and scale negated value
2064 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2065 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2066 overflowing or underflowing operations take place with sign of
2068 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2070 * math/auto-libm-test-in: Add more tests of pow.
2071 * math/auto-libm-test-out: Regenerated.
2072 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2073 (pow_tonearest_test_data): Remove.
2074 (pow_test_tonearest): Likewise.
2075 (pow_towardzero_test_data): Likewise.
2076 (pow_test_towardzero): Likewise.
2077 (pow_downward_test_data): Likewise.
2078 (pow_test_downward): Likewise.
2079 (pow_upward_test_data): Likewise.
2080 (pow_test_upward): Likewise.
2081 (main): Don't call removed functions.
2082 * sysdeps/i386/fpu/libm-test-ulps: Update.
2083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2085 2014-06-23 Roland McGrath <roland@hack.frob.com>
2087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2261 2014-06-23 Will Newton <will.newton@linaro.org>
2262 Wilco <wdijkstr@arm.com>
2264 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2265 implementation. Include get-rounding-mode.h.
2266 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2267 [!libc_feholdsetround_noex_ctx]: Define
2268 libc_feholdsetround_noex_ctx.
2269 [!libc_feholdsetround_noexf_ctx]: Define
2270 libc_feholdsetround_noexf_ctx.
2271 [!libc_feholdsetround_noexl_ctx]: Define
2272 libc_feholdsetround_noexl_ctx.
2273 (libc_feholdsetround_ctx): New function.
2274 (libc_feresetround_ctx): New function.
2275 (libc_feholdsetround_noex_ctx): New function.
2276 (libc_feresetround_noex_ctx): New function.
2278 2014-06-23 Roland McGrath <roland@hack.frob.com>
2280 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2281 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2282 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2283 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2284 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2285 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2287 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2288 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2289 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2290 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2291 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2292 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2293 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2294 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2295 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2296 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2297 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2299 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2301 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2302 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2303 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2304 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2305 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2307 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2308 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2309 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2310 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2311 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2312 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2313 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2314 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2316 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2317 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2319 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2320 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2321 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2322 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2324 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2325 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2326 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2327 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2328 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2329 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2330 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2331 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2332 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2333 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2335 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2337 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2338 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2339 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2340 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2341 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2342 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2343 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2344 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2345 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2346 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2347 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2348 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2349 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2351 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2352 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2353 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2354 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2355 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2356 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2358 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2360 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2361 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2362 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2364 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2365 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2366 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2367 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2368 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2369 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2370 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2371 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2372 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2373 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2374 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2375 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2376 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2377 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2378 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2379 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2380 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2381 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2382 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2383 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2384 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2385 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2386 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2387 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2388 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2389 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2390 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2391 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2393 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2395 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2396 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2397 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2398 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2399 (IPV6_PMTUDISC_INTERFACE): Likewise.
2400 (IPV6_PMTUDISC_OMIT): Likewise.
2402 2014-06-23 Andreas Schwab <schwab@suse.de>
2404 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2405 Remove unused errout label.
2407 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2409 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2410 macro: hardware supports Vector Crypto instructions.
2412 2014-06-23 Will Newton <will.newton@linaro.org>
2414 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2415 rather than __builtin_expect.
2417 * elf/dl-lookup.c (undefined_msg): Remove variable.
2418 (_dl_lookup_symbol_x): Replace undefined_msg with string
2421 * elf/dl-lookup.c (do_lookup_unique): New function.
2422 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2423 to a separate function.
2425 2014-06-23 Andreas Schwab <schwab@suse.de>
2428 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2429 before reading the next line.
2431 2014-06-23 Will Newton <will.newton@linaro.org>
2433 * test-skeleton.c (signal_handler): Use printf and %m
2434 rather than perror. Use printf rather than fprintf to
2435 stderr. Use puts rather than fputs to stderr.
2438 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2440 * nscd/nscd.c (thread_info_t): Remove typedef.
2441 (thread_info): Remove variable.
2443 2014-06-21 Allan McRae <allan@archlinux.org>
2445 * NEWS: Mention CVE-2014-4043.
2447 2014-06-20 Roland McGrath <roland@hack.frob.com>
2449 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2450 * nptl/smp.h: ... here.
2452 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2454 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2455 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2456 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2457 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2459 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2460 * nptl/stack-aliasing.h: New file.
2461 * sysdeps/i386/i686/stack-aliasing.h: New file.
2462 * sysdeps/i386/i686/nptl/Makefile: File removed.
2463 * sysdeps/x86_64/stack-aliasing.h: New file.
2464 * sysdeps/x86_64/nptl/Makefile
2465 (CFLAGS-pthread_create.c): Variable removed.
2467 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2468 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2470 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2471 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2474 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2476 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2477 (__ASSUME_SIGFRAME_V2): Remove macro.
2478 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2479 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2480 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2481 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2482 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2483 Declare as function. Remove conditional macro definitions.
2484 (__default_rt_sa_restorer): Likewise.
2485 (__default_sa_restorer_v1): Remove declaration.
2486 (__default_sa_restorer_v2): Likewise.
2487 (__default_rt_sa_restorer_v1): Likewise.
2488 (__default_rt_sa_restorer_v2): Likewise.
2489 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2490 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2491 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2493 2014-06-20 Roland McGrath <roland@hack.frob.com>
2495 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2496 (libpthread-routines): Add sysdep.
2497 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2498 * sysdeps/unix/sysv/linux/sparc/Versions
2499 (libpthread: GLIBC_2.3.3): New version set.
2500 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2501 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2502 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2503 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2504 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2505 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2507 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2508 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2509 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2510 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2511 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2512 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2513 * sysdeps/sparc/nptl/sem_init.c: ... here.
2514 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2515 * sysdeps/sparc/nptl/sem_post.c: ... here.
2516 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2517 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2518 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2519 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2520 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2521 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2522 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2523 (libpthread-routines): Add cpu_relax.
2524 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2526 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2527 (librt: GLIBC_2.3.3): New version set.
2528 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2529 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2530 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2531 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2532 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2533 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2534 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2535 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2537 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2538 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2539 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2540 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2541 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2542 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2543 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2544 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2545 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2546 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2548 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2550 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2552 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2554 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2556 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2558 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2560 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2564 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2568 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2570 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2571 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2572 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2573 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2574 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2575 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2576 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2577 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2578 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2579 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2580 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2582 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2583 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2584 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2585 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2586 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2588 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2590 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2591 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2592 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2593 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2594 * nscd/nscd.c: Likewise.
2595 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2596 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2597 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2598 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2600 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2601 <kernel-features.h>.
2602 (init_mq_netlink): Remove conditional have_sock_cloexec
2603 definitions. Remove code conditional on have_sock_cloexec < 0.
2604 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2605 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2606 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2607 <kernel-features.h>.
2608 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2609 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2611 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2613 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2614 Add tests for memset_chk and memset.
2616 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2619 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2622 * elf/tst-dl-iter-static.c: New file.
2623 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2625 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2628 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2630 * sysdeps/unix/sysv/linux/kernel-features.h
2631 (__ASSUME_F_GETOWN_EX): Remove macro.
2632 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2633 <kernel-features.h>.
2634 (miss_F_GETOWN_EX): Remove variable or macro.
2635 (do_fcntl): Do not check miss_F_GETOWN_EX.
2636 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2638 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2640 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2641 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2642 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2644 * sysdeps/unix/sysv/linux/kernel-features.h
2645 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2646 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2647 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2648 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2650 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2653 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2654 Fix calculation of the symbol's value.
2655 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2656 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2657 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2658 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2659 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2660 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2661 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2662 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2663 (modules-names): Add `tst-armtlsdescmod',
2664 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2665 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2666 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2667 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2668 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2669 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2670 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2671 ($(objpfx)tst-armtlsdescloc): New dependency.
2672 ($(objpfx)tst-armtlsdescextnow): Likewise.
2673 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2674 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2676 * sysdeps/arm/configure: Regenerate.
2678 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2680 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2681 (__atfct_seterrno_2): Likewise.
2682 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2683 <kernel-features.h>.
2684 (__ASSUME_ATFCTS): Do not undefine and redefine.
2685 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2686 (__have_atfcts): Remove conditional definition.
2687 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2688 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2689 unreachable if [__ASSUME_ATFCTS].
2690 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2691 not undefine and redefine.
2692 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2693 <kernel-features.h>.
2694 (faccessat) [__NR_faccessat]: Make code unconditional.
2695 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2696 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2697 <kernel-features.h>.
2698 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2699 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2700 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2701 <kernel-features.h>.
2702 (fchownat) [__NR_fchownat]: Make code unconditional.
2703 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2704 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2705 <kernel-features.h>.
2706 (futimesat) [__NR_futimesat]: Make code unconditional.
2707 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2708 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2709 <kernel-features.h>.
2710 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2711 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2712 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2713 <kernel-features.h>.
2714 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2715 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2716 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2717 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2718 <kernel-features.h>.
2719 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2720 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2721 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2722 <kernel-features.h>.
2723 (linkat) [__NR_linkat]: Make code unconditional.
2724 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2725 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2726 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2727 <kernel-features.h>.
2728 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2729 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2730 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2731 <kernel-features.h>.
2732 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2733 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2734 * sysdeps/unix/sysv/linux/openat.c: Do not include
2735 <kernel-features.h>.
2736 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2737 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2738 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2739 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2740 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2741 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2742 <kernel-features.h>.
2743 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2744 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2745 result of INLINE_SYSCALL directly, not via int variable.
2746 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2747 <kernel-features.h>.
2748 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2749 (renameat) [__NR_renameat]: Make code unconditional.
2750 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2751 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2752 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2753 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2754 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2755 (__ASSUME_ATFCTS): Do not undefine and redefine.
2756 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2757 <kernel-features.h>.
2758 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2759 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2760 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2761 <kernel-features.h>.
2762 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2763 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2764 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2765 (__ASSUME_ATFCTS): Do not undefine and redefine.
2766 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2767 <kernel-features.h>.
2768 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2769 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2770 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2771 <kernel-features.h>.
2772 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2773 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2775 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2777 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2779 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2782 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2783 constructed tree before returning error.
2784 * posix/bug-regexp36.c: Expand test case.
2786 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2789 * math/libm-test.inc (scalbln_test_date):
2790 Add errno expectations.
2791 * math/w_scalblnf.c: New File.
2792 Add wrapper which checks for setting errno to ERANGE.
2793 Add weak_alias for corresponding scalbln function.
2794 * math/w_scalbln.c: Likewise.
2795 * math/w_scalblnl.c: Likewise.
2796 * math/Makefile (libm-calls): Add w_scalbln.
2797 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2798 Remove weak_alias for corresponding scalbln function.
2799 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2800 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2801 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2802 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2803 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2804 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2805 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2806 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2807 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2808 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2809 Remove long_double_symbol for scalblnl function in libm, libc.
2810 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2811 Add wrapper which checks for setting errno to ERANGE.
2812 Add long_double_symbol for scalblnl function in libm, libc.
2813 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2814 Remove long_double_symbol for scalblnl in libm.
2815 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2816 Add wrapper which checks for setting errno to ERANGE.
2817 Add long_double_symbol for scalblnl function in libm.
2818 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2819 Do not use wrapper because of own implementation.
2821 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2823 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2824 3 bytes for __pad1 for x32.
2825 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2827 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2828 H.J. Lu <hongjiu.lu@intel.com>
2830 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2831 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2832 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2833 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2834 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2836 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2839 * posix/regcomp.c (parse_expression): Deallocate partially
2840 constructed tree before returning error.
2841 * posix/Makefile.c (tests): Add bug-regex36.
2842 (generated): Add bug-regex36.mtrace.
2843 (tests-special): Add $(objpfx)bug-regex36-mem.out
2844 (bug-regex36-ENV): New variable.
2845 ($(objpfx)bug-regex36-mem.out): New rule.
2846 * posix/bug-regex36.c: New file.
2848 2014-06-19 Will Newton <will.newton@linaro.org>
2850 * malloc/malloc.c (systrim): If extra is zero then return
2853 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2855 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2857 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2859 * sysdeps/aarch64/strchr.S: New file.
2861 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2864 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2865 from arguments -2 or below.
2866 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2867 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2869 2014-06-18 Andreas Schwab <schwab@suse.de>
2872 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2873 of a bracket expr not to run off the end of the string.
2874 * posix/Makefile (tests): Add tst-fnmatch3.
2875 * posix/tst-fnmatch3.c: New file.
2877 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2879 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2880 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2881 [$(cross-compiling) = no]: Likewise.
2882 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2883 [$(cross-compiling) = no]: Likewise.
2885 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2888 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2889 double, adjusted for any remainder from the high double.
2890 * math/libm-test.inc (nearbyint): Add tests.
2893 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2895 * nptl/sysdeps/powerpc/Makefile: Moved ...
2896 * sysdeps/powerpc/nptl/Makefile: ... here.
2897 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2898 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2899 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2900 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2901 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2902 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2903 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2904 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2905 * nptl/sysdeps/powerpc/tls.h: Moved ...
2906 * sysdeps/powerpc/nptl/tls.h: ... here.
2908 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2911 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2912 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2913 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2914 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2915 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2916 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2917 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2918 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2919 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2921 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2923 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2925 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2927 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2930 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2933 2014-06-16 Florian Weimer <fweimer@redhat.com>
2936 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2937 non-executed part of the test.
2939 2014-06-16 Andreas Schwab <schwab@suse.de>
2941 * string/bits/string2.h (strdup, strndup): Update feature guard.
2943 2014-06-14 David S. Miller <davem@davemloft.net>
2945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2947 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2949 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2950 that was previously under [RESET_PID].
2951 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2953 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2954 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2955 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2956 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2957 (__libc_vfork): New strong alias.
2958 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2960 2014-06-14 Andi Kleen <ak@linux.intel.com>
2962 * sysdeps/generic/elide.h: New file.
2964 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2966 * Makefile (installed-headers): Adjust path of pthread.h header.
2968 2014-06-13 Roland McGrath <roland@hack.frob.com>
2970 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2971 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2972 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2973 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2975 * nptl/sysdeps/s390/Makefile: Moved ...
2976 * sysdeps/s390/nptl/Makefile: ... here.
2977 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2978 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2979 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2980 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2981 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2982 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2983 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2984 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2985 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2986 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2987 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2988 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2989 * nptl/sysdeps/s390/tls.h: Moved ...
2990 * sysdeps/s390/nptl/tls.h: ... here.
2992 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2993 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2995 2014-06-13 David S. Miller <davem@davemloft.net>
2997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2998 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3000 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3001 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3002 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3004 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3005 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3006 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3007 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3008 Remove RESET_PID cpp guards.
3009 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3010 Remove RESET_PID cpp guards.
3011 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3013 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3015 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3018 2014-06-13 Andi Kleen <ak@linux.intel.com>
3020 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3021 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3022 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3023 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3024 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3025 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3026 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3027 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3028 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3029 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3030 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3031 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3032 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3033 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3034 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3035 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3036 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3037 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3038 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3039 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3041 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3042 (pthread_rwlock_rdlock): Add elision.
3043 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3044 (pthread_rwlock_wrlock): Add elision.
3045 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3046 (pthread_rwlock_trywrlock): Add elision.
3047 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3048 (pthread_rwlock_tryrdlock): Add elision.
3049 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3050 (pthread_rwlock_tryrdlock): Add elision unlock.
3051 * nptl/sysdeps/pthread/pthread.h:
3052 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3053 (PTHREAD_RWLOCK_INITIALIZER,
3054 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3055 Handle new elision field.
3056 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3057 * sysdeps/arm/nptl/bits/pthreadtypes.h
3058 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3059 * sysdeps/sh/nptl/bits/pthreadtypes.h
3060 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3061 * sysdeps/tile/nptl/bits/pthreadtypes.h
3062 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3063 * sysdeps/a/nptl/bits/pthreadtypes.h
3064 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3065 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3066 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3067 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3068 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3069 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3070 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3071 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3072 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3073 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3074 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3075 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3076 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3077 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3078 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3079 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3080 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3081 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3082 (elision_init): Set try_xbegin to zero when no RTM.
3083 * sysdeps/x86/nptl/bits/pthreadtypes.h
3084 (pthread_rwlock_t): Change __pad1 to __rwelision.
3085 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3087 2014-06-13 Andi Kleen <ak@linux.intel.com>
3089 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3090 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3091 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3092 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3094 2014-06-13 Meador Inge <meadori@codesourcery.com>
3097 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3098 that the cached result has been set before returning it.
3100 2014-06-12 Roland McGrath <roland@hack.frob.com>
3102 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3103 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3104 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3105 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3106 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3107 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3109 * nptl/sysdeps/sparc/Makefile: Moved ...
3110 * sysdeps/sparc/nptl/Makefile: ... here.
3111 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3112 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3113 * nptl/sysdeps/sparc/tls.h: Moved ...
3114 * sysdeps/sparc/nptl/tls.h: ... here.
3115 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3116 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3117 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3118 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3119 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3120 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3121 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3122 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3123 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3124 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3125 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3126 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3127 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3128 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3129 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3130 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3131 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3132 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3134 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3135 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3137 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3138 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3140 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3141 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3144 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3146 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3147 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3149 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3150 (struct list_links): Type removed.
3151 (struct thread_node, struct timer_node): Replace struct list_links
3152 with struct list_head.
3153 (list_unlink_ip): Likewise.
3154 * sysdeps/pthread/timer_routines.c
3155 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3156 (list_append, list_insbefore): Likewise.
3157 (list_init): Function removed.
3158 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3159 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3160 * sysdeps/pthread/Makefile: ... here, new file.
3162 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3163 * sysdeps/nptl/Implies: ... here.
3164 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3165 * nptl/sysdeps/pthread/list.h: Moved ...
3166 * include/list.h: ... here.
3167 * nptl/sysdeps/pthread/createthread.c: Moved ...
3168 * nptl/createthread.c: ... here.
3169 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3170 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3171 * nptl/pt-longjmp.c: ... here.
3172 * nptl/sysdeps/pthread/Makefile: Moved ...
3173 * sysdeps/nptl/Makefile: ... here.
3174 * nptl/sysdeps/pthread/Subdirs: Moved ...
3175 * sysdeps/nptl/Subdirs: ... here.
3176 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3177 * sysdeps/nptl/aio_misc.h: ... here.
3178 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3179 * sysdeps/nptl/bits/libc-lock.h: ... here.
3180 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3181 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3182 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3183 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3184 * nptl/sysdeps/pthread/configure: Moved ...
3185 * sysdeps/nptl/configure: ... here.
3186 * nptl/sysdeps/pthread/configure.ac: Moved ...
3187 * sysdeps/nptl/configure.ac: ... here.
3188 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3189 * sysdeps/nptl/gai_misc.h: ... here.
3190 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3191 * sysdeps/nptl/librt-cancellation.c: ... here.
3192 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3193 * sysdeps/nptl/malloc-machine.h: ... here.
3194 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3195 * sysdeps/nptl/pthread-functions.h: ... here.
3196 * nptl/sysdeps/pthread/pthread.h: Moved ...
3197 * sysdeps/nptl/pthread.h: ... here.
3198 * nptl/sysdeps/pthread/setxid.h: Moved ...
3199 * sysdeps/nptl/setxid.h: ... here.
3200 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3201 * sysdeps/nptl/sigfillset.c: ... here.
3202 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3203 * sysdeps/nptl/tcb-offsets.h: ... here.
3204 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3205 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3206 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3207 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3208 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3209 * sysdeps/pthread/allocalim.h: ... here.
3210 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3211 * sysdeps/pthread/bits/sigthread.h: ... here.
3212 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3213 * sysdeps/pthread/flockfile.c: ... here.
3214 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3215 * sysdeps/pthread/ftrylockfile.c: ... here.
3216 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3217 * sysdeps/pthread/funlockfile.c: ... here.
3218 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3219 * sysdeps/pthread/posix-timer.h: ... here.
3220 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3221 * sysdeps/pthread/timer_create.c: ... here.
3222 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3223 * sysdeps/pthread/timer_delete.c: ... here.
3224 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3225 * sysdeps/pthread/timer_getoverr.c: ... here.
3226 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3227 * sysdeps/pthread/timer_gettime.c: ... here.
3228 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3229 * sysdeps/pthread/timer_routines.c: ... here.
3230 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3231 * sysdeps/pthread/timer_settime.c: ... here.
3232 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3233 * sysdeps/pthread/tst-timer.c: ... here.
3234 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3235 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3237 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3238 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3240 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3241 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3242 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3243 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3244 Update #include target.
3245 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3246 * sysdeps/i386/i686/nptl/Makefile: ... here.
3247 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3248 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3249 Update #include target.
3250 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3251 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3252 * nptl/sysdeps/i386/Makefile: Moved ...
3253 * sysdeps/i386/nptl/Makefile: ... here.
3254 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3255 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3256 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3257 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3258 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3259 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3260 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3261 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3262 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3263 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3264 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3265 * nptl/sysdeps/i386/tls.h: Moved ...
3266 * sysdeps/i386/nptl/tls.h: ... here.
3268 * sysdeps/sh/Makefile [$(subdir) = csu]
3269 (gen-as-const-headers): Add tcb-offsets.sym.
3270 * nptl/sysdeps/sh/Makefile: File removed.
3271 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3272 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3273 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3274 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3275 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3276 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3277 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3278 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3279 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3280 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3281 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3282 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3283 * nptl/sysdeps/sh/tls.h: Moved ...
3284 * sysdeps/sh/nptl/tls.h: ... here.
3285 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3286 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3287 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3288 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3289 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3290 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3291 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3292 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3293 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3294 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3295 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3296 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3297 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3298 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3299 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3300 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3301 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3302 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3303 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3304 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3305 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3306 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3307 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3308 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3309 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3311 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3312 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3314 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3315 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3316 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3317 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3318 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3319 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3320 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3321 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3322 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3323 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3324 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3325 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3326 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3327 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3328 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3329 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3330 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3331 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3332 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3334 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3336 * posix/spawn_faction_addopen.c: Include string.h.
3338 2014-06-11 Roland McGrath <roland@hack.frob.com>
3340 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3341 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3342 * nptl/sysdeps/x86_64/Makefile: Moved ...
3343 * sysdeps/x86_64/nptl/Makefile: ... here.
3344 * nptl/sysdeps/x86_64/configure: Moved ...
3345 * sysdeps/x86_64/nptl/configure: ... here.
3346 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3347 * sysdeps/x86_64/nptl/configure.ac: ... here.
3348 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3349 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3350 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3351 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3352 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3353 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3354 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3355 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3356 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3357 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3358 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3359 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3360 * nptl/sysdeps/x86_64/tls.h: Moved ...
3361 * sysdeps/x86_64/nptl/tls.h: ... here.
3362 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3363 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3364 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3365 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3367 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3369 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3373 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3375 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3377 [POSIX] (off_t): Likewise.
3378 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3379 [POSIX] (S_ISBLK): Require macro.
3380 [POSIX] (S_ISCHR): Likewise.
3381 [POSIX] (S_ISDIR): Likewise.
3382 [POSIX] (S_ISFIFO): Likewise.
3383 [POSIX] (S_ISREG): Likewise.
3384 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3386 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3388 [POSIX] (time_t): Likewise.
3389 [POSIX] (timer_t): Likewise.
3391 2014-06-11 Florian Weimer <fweimer@redhat.com>
3394 * posix/spawn_int.h (struct __spawn_action): Make the path string
3395 non-const to support deallocation.
3396 * posix/spawn_faction_addopen.c
3397 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3398 * posix/spawn_faction_destroy.c
3399 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3400 path in all spawn_do_open actions.
3401 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3402 posix_spawn_file_actions_addopen.
3404 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3406 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3407 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3408 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3409 conditional code always true.
3410 (__libc_vfork): New alias.
3412 2014-06-11 Roland McGrath <roland@hack.frob.com>
3414 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3415 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3417 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3419 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3420 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3422 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3423 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3425 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3426 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3428 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3430 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3431 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3432 multiarch strcmp for PPC64.
3433 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3434 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3435 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3436 multiarch optimizations.
3437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3438 (__libc_ifunc_impl_list): Likewise.
3440 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3442 * benchtests/scripts/validate_benchout.py: New script.
3443 * benchtests/Makefile (bench-func): Call it.
3444 * benchtests/scripts/benchout.schema.json: New file.
3446 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3448 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3449 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3450 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3451 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3452 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3453 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3454 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3455 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3456 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3457 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3458 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3459 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3460 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3461 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3462 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3463 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3567 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3568 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3569 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3570 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3571 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3573 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3575 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3576 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3577 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3578 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3579 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3580 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3581 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3582 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3583 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3584 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3585 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3586 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3587 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3589 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3590 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3592 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3593 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3594 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3595 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3597 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3598 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3599 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3600 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3601 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3602 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3603 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3605 2014-06-10 Wilco <wdijkstr@arm.com>
3607 * math/test-fenv-return.c: New file.
3608 * math/Makefile: Add new test test-fenv-return.
3610 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3613 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3615 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3616 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3617 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3618 0.0L for an argument of 1.0L.
3619 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3621 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3622 value when x - 1 is zero.
3623 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3624 * sysdeps/i386/fpu/libm-test-ulps: Update.
3625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3627 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3630 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3632 2014-06-09 Roland McGrath <roland@hack.frob.com>
3634 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3635 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3637 2014-06-09 Roland McGrath <roland@hack.frob.com>
3639 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3640 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3642 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3643 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3645 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3646 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3648 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3649 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3651 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3652 if not already defined.
3653 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3654 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3655 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3656 (TLS_INIT_TP): Use it.
3657 (TLS_DEFINE_INIT_TP): New macro.
3658 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3660 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3662 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3664 [POSIX] (IXANY): Likewise.
3665 [POSIX] (OLCUC): Likewise.
3666 [POSIX || POSIX2008] (CBAUD): Do not allow.
3667 [POSIX || POSIX2008] (DEFECHO): Likewise.
3668 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3669 [POSIX || POSIX2008] (ECHOKE): Likewise.
3670 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3671 [POSIX || POSIX2008] (EXTA): Likewise.
3672 [POSIX || POSIX2008] (EXTB): Likewise.
3673 [POSIX || POSIX2008] (FLUSHO): Likewise.
3674 [POSIX || POSIX2008] (LOBLK): Likewise.
3675 [POSIX || POSIX2008] (PENDIN): Likewise.
3676 [POSIX || POSIX2008] (SWTCH): Likewise.
3677 [POSIX || POSIX2008] (VDISCARD): Likewise.
3678 [POSIX || POSIX2008] (VDSUSP): Likewise.
3679 [POSIX || POSIX2008] (VLNEXT): Likewise.
3680 [POSIX || POSIX2008] (VREPRINT): Likewise.
3681 [POSIX || POSIX2008] (VSTATUS): Likewise.
3682 [POSIX || POSIX2008] (VWERASE): Likewise.
3683 (B*): Change to B[0123456789]*.
3684 * conform/data/time.h-data [POSIX || UNIX98]
3685 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3686 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3687 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3688 [POSIX] (tm_*): Do not allow.
3690 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3692 * Makefile (install): Don't set LANGUAGE.
3693 * Makefile.in (install): Likewise.
3694 * assert/Makefile (test-assert-ENV): Remove variable.
3695 (test-assert-perr-ENV): Likewise.
3696 * elf/Makefile (neededtest4-ENV): Likewise.
3697 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3698 [$(cross-compiling) = no]: Don't set LANGUAGE.
3699 * io/ftwtest-sh (LANG): Remove variable.
3700 * libio/Makefile (tst-widetext-ENV): Likewise.
3701 * manual/install.texi (Running make install): Don't refer to
3702 environment settings for make install.
3703 * INSTALL: Regenerated.
3704 * nptl/tst-tls6.sh: Don't set LANG.
3705 * posix/globtest.sh (LANG): Remove variable.
3706 * string/Makefile (tester-ENV): Likewise.
3707 (inl-tester-ENV): Likewise.
3708 (noinl-tester-ENV): Likewise.
3709 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3710 [$(cross-compiling) = no]: Don't set LANGUAGE.
3711 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3712 without explicit environment settings.
3714 2014-06-06 Roland McGrath <roland@hack.frob.com>
3716 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3717 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3718 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3719 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3721 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3723 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3724 other files in the crypt directory.
3725 * crypt/crypt.c: Remove duplicate includes.
3726 * crypt/crypt-entry.c: Likewise.
3727 * crypt/crypt_util.c: Likewise.
3729 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3731 * Makeconfig (run-program-env): New variable.
3732 (run-program-prefix-before-env): Likewise.
3733 (run-program-prefix-after-env): Likewise.
3734 (run-program-prefix): Define in terms of new variables.
3735 (built-program-cmd-before-env): New variable.
3736 (built-program-cmd-after-env): Likewise.
3737 (built-program-cmd): Define in terms of new variables.
3738 (test-program-prefix-before-env): New variable.
3739 (test-program-prefix-after-env): Likewise.
3740 (test-program-prefix): Define in terms of new variables.
3741 (test-program-cmd-before-env): New variable.
3742 (test-program-cmd-after-env): Likewise.
3743 (test-program-cmd): Define in terms of new variables.
3744 * Rules (make-test-out): Use $(run-program-env).
3745 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3746 (help): Do not mention environment variables. Mention
3747 --timeoutfactor option.
3748 (timeoutfactor): New variable.
3749 (blacklist_exports): Remove function.
3750 (exports): Remove variable.
3751 (command): Do not include ${exports}.
3752 * manual/install.texi (Configuring and compiling): Do not mention
3753 test wrappers preserving environment variables. Mention that last
3754 assignment to a variable must take precedence.
3755 * INSTALL: Regenerated.
3756 * benchtests/Makefile (run-bench): Use $(run-program-env).
3757 * catgets/Makefile ($(objpfx)test1.cat): Use
3758 $(built-program-cmd-before-env), $(run-program-env) and
3759 $(built-program-cmd-after-env).
3760 ($(objpfx)test2.cat): Do not specify environment variables
3762 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3763 $(run-program-env) and $(built-program-cmd-after-env).
3764 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3765 $(run-program-env) and $(test-program-cmd-after-env).
3766 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3768 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3769 run_program_env and test_program_cmd_after_env arguments.
3770 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3771 * elf/tst-pathopt.sh: Use run_program_env argument.
3772 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3773 $(test-wrapper-env) and $(run-program-env).
3774 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3775 run_program_env arguments.
3776 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3777 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3778 $(test-program-prefix-before-env), $(run-program-env) and
3779 $(test-program-prefix-after-env).
3780 ($(objpfx)tst-gettext2.out): Likewise.
3781 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3782 run_program_env and test_program_prefix_after_env arguments.
3783 * intl/tst-gettext2.sh: Likewise.
3784 * intl/tst-gettext4.sh: Do not set environment variables
3786 * intl/tst-gettext6.sh: Likewise.
3787 * intl/tst-translit.sh: Likewise.
3788 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3789 $(test-program-prefix-before-env), $(run-program-env) and
3790 $(test-program-prefix-after-env).
3791 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3792 run_program_env and test_program_prefix_after_env arguments.
3793 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3794 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3795 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3796 explicitly with each use of ${test_wrapper_env}.
3797 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3798 $(test-program-prefix-before-env), $(run-program-env) and
3799 $(test-program-prefix-after-env).
3800 * posix/tst-getconf.sh: Do not set environment variables
3802 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3803 run_program_env and test_program_prefix_after_env arguments.
3804 * stdio-common/tst-printf.sh: Do not set environment variables
3806 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3807 $(test-program-prefix-before-env), $(run-program-env) and
3808 $(test-program-prefix-after-env).
3809 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3810 run_program_env and test_program_prefix_after_env arguments.
3811 Split $test calls into $test_pre and $test.
3812 * timezone/Makefile (build-testdata): Use
3813 $(built-program-cmd-before-env), $(run-program-env) and
3814 $(built-program-cmd-after-env).
3816 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3818 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3819 strlen for non SHARED builds.
3821 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3823 * nptl/allocatestack.c (check_list): Inlined function...
3824 (__reclaim_stacks): ... here.
3826 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3829 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3832 2014-06-05 Joseph Myers <joseph@codesourcery.com>
3834 * Rules (make-test-out): Include
3835 LOCPATH=$(common-objpfx)localedata in default environment.
3836 * debug/Makefile (tst-chk1-ENV): Remove variable.
3837 (tst-chk2-ENV): Likewise.
3838 (tst-chk3-ENV): Likewise.
3839 (tst-chk4-ENV): Likewise.
3840 (tst-chk5-ENV): Likewise.
3841 (tst-chk6-ENV): Likewise.
3842 (tst-lfschk1-ENV): Likewise.
3843 (tst-lfschk2-ENV): Likewise.
3844 (tst-lfschk3-ENV): Likewise.
3845 (tst-lfschk4-ENV): Likewise.
3846 (tst-lfschk5-ENV): Likewise.
3847 (tst-lfschk6-ENV): Likewise.
3848 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3849 (tst-iconv7-ENV): Likewise.
3850 * intl/Makefile (LOCPATH-ENV): Likewise.
3851 (tst-codeset-ENV): Likewise.
3852 (tst-gettext3-ENV): Likewise.
3853 (tst-gettext5-ENV): Likewise.
3854 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3855 (tst-fopenloc-ENV): Likewise.
3856 (tst-fgetws-ENV): Remove variable.
3857 (tst-ungetwc1-ENV): Likewise.
3858 (tst-ungetwc2-ENV): Likewise.
3859 (bug-ungetwc2-ENV): Likewise.
3860 (tst-swscanf-ENV): Likewise.
3861 (bug-ftell-ENV): Likewise.
3862 (tst-fgetwc-ENV): Likewise.
3863 (tst-fseek-ENV): Likewise.
3864 (tst-ftell-partial-wide-ENV): Likewise.
3865 (tst-ftell-active-handler-ENV): Likewise.
3866 (tst-ftell-append-ENV): Likewise.
3867 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3868 (tst-regexloc-ENV): Likewise.
3869 (bug-regex1-ENV): Likewise.
3870 (tst-regex-ENV): Likewise.
3871 (tst-regex2-ENV): Likewise.
3872 (bug-regex5-ENV): Likewise.
3873 (bug-regex6-ENV): Likewise.
3874 (bug-regex17-ENV): Likewise.
3875 (bug-regex18-ENV): Likewise.
3876 (bug-regex19-ENV): Likewise.
3877 (bug-regex20-ENV): Likewise.
3878 (bug-regex22-ENV): Likewise.
3879 (bug-regex23-ENV): Likewise.
3880 (bug-regex25-ENV): Likewise.
3881 (bug-regex26-ENV): Likewise.
3882 (bug-regex30-ENV): Likewise.
3883 (bug-regex32-ENV): Likewise.
3884 (bug-regex33-ENV): Likewise.
3885 (bug-regex34-ENV): Likewise.
3886 (bug-regex35-ENV): Likewise.
3887 (tst-rxspencer-ENV): Likewise.
3888 (tst-rxspencer-no-utf8-ENV): Likewise.
3889 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3890 (tst-sscanf-ENV): Likewise.
3891 (tst-swprintf-ENV): Likewise.
3892 (tst-swscanf-ENV): Likewise.
3893 (test-vfprintf-ENV): Likewise.
3894 (scanf13-ENV): Likewise.
3895 (bug14-ENV): Likewise.
3896 (tst-grouping-ENV): Likewise.
3897 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3898 (tst-strtod3-ENV): Likewise.
3899 (tst-strtod4-ENV): Likewise.
3900 (tst-strtod5-ENV): Likewise.
3901 (testmb2-ENV): Likewise./
3902 * string/Makefile (tst-strxfrm-ENV): Likewise.
3903 (tst-strxfrm2-ENV): Likewise.
3904 (bug-strcoll1-ENV): Likewise.
3905 (test-strcasecmp-ENV): Likewise.
3906 (test-strncasecmp-ENV): Likewise.
3907 * time/Makefile (tst-strptime-ENV): Likewise.
3908 (tst-ftime_l-ENV): Likewise.
3909 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3910 (tst-mbrtowc-ENV): Likewise.
3911 (tst-wcrtomb-ENV): Likewise.
3912 (tst-mbrtowc2-ENV): Likewise.
3913 (tst-c16c32-1-ENV): Likewise.
3914 (tst-mbsnrtowcs-ENV): Likewise.
3916 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3918 * manual/resource.texi (How to get information about the memory
3919 subsystem?): Fix typo.
3920 Reported by Peon de la Parra Ivan <peon@keba.com>
3922 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3925 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3926 (pthread_spin_lock): Branch out of spin loop to proper location.
3927 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3928 (pthread_spin_lock): Likewise.
3930 * nptl/tst-spin4.c: New test.
3931 * nptl/Makefile (tests): Add tst-spin4.
3933 2014-06-03 Andreas Schwab <schwab@suse.de>
3936 * resolv/res_send.c (send_dg): Reload file descriptor after
3939 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3941 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3943 2014-06-03 Richard Henderson <rth@redhat.com>
3945 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3946 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3947 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3948 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3949 in the SAVE_PID block.
3950 (__libc_vfork): New alias.
3951 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3953 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3954 child in registers, not on the stack. Remove RESET_PID conditionals.
3955 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3957 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3959 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3961 2014-06-03 Wilco <wdijkstr@arm.com>
3963 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3964 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3965 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3966 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3967 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3970 2014-06-03 Wilco <wdijkstr@arm.com>
3972 * sysdeps/aarch64/fpu/math_private.h
3973 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3974 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3975 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3976 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3979 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3981 * crypt/crypt-private.h: Include ufc-crypt.h.
3982 (__b64_from_24bit): Declare extern.
3983 * crypt/crypt_util.c(__b64_from_24bit): New function.
3984 (b64t): New static const variable.
3985 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3986 (b64t): Remove variable.
3987 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3988 * crypt/sha256-crypt.c: Include crypt-private.h.
3989 (b64t): Remove variable.
3990 (__sha256_crypt_r): Remove b64_from_24bit and replace
3991 with __b64_from_24bit.
3992 * crypt/sha512-crypt.c: Likewise.
3994 2014-06-02 Roland McGrath <roland@hack.frob.com>
3996 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3997 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3998 Label the code __libc_vfork rather than __vfork.
3999 [!NOT_IN_libc] (vfork): Define as weak alias.
4000 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4001 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4002 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4004 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4006 * malloc/malloc.c (malloc_info): Fix format specifier for
4009 2014-06-02 Wilco <wdijkstr@arm.com>
4011 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4014 2014-06-02 Wilco <wdijkstr@arm.com>
4017 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4018 Rewrite to reduce FPCR/FPSR accesses.
4020 2014-06-01 David S. Miller <davem@davemloft.net>
4022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4024 2014-05-31 David S. Miller <davem@davemloft.net>
4026 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4027 to occur in round to nearest mode when |x| >= 2.0
4029 2014-05-30 Richard Henderson <rth@twiddle.net>
4031 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4032 (PSEUDO_RET_NOERRNO): Remove.
4033 (ret): Don't redefine.
4034 (ret_NOERRNO): Define in terms of ret.
4035 (ret_ERRVAL): Likewise.
4037 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4038 use of PSEUDO_RET; perform the error check directly.
4040 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4042 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4045 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4047 * malloc/malloc (malloc_info): Fix formatting.
4049 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4050 Roland McGrath <roland@hack.frob.com>
4052 * malloc/malloc (malloc_info): Also print mmapped statistics.
4054 2014-05-30 Roland McGrath <roland@hack.frob.com>
4056 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4057 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4059 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4061 * malloc/malloc.c (malloc_info): Inline mi_arena.
4063 2014-05-29 Richard Henderson <rth@twiddle.net>
4065 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4066 Remove comma before expanding ASM_ARGS_##nr.
4067 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4068 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4070 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4071 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4072 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4073 (ASM_ARGS_1): Add leading comma.
4075 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4076 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4077 to __errno_location.
4078 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4079 Remove the expected plt for __errno_location.
4081 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4082 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4085 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4086 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4087 it and break it down.
4088 (DOCARGS_0, DOCARGS_1): Do nothing.
4089 (DOCARGS_2): Update to store into the new stack frame.
4090 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4091 (UNDOCARGS_1): Update to restore from the new stack frame.
4092 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4093 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4095 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4096 (SINGLE_THREAD_P): New parameter for result regno.
4097 (PSEUDO): Update to match; use cbz instead of beq.
4099 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4100 Use ENTRY to define the _nocancel entry point. Share the syscall
4101 and syscall error check paths with the cancel path.
4104 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4105 whitespace; tabs before and after asm mnemonics.
4107 2014-05-29 Eric Wong <normalperson@yhbt.net>
4110 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4111 Call fstat64 or stat64 internally, depending on arguments passed.
4112 Replace stat buffer argument with file descriptor argument.
4113 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4114 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4115 Pass fd to __internal_statvfs instead of calling fstat64.
4116 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4117 Pass fd to __internal_statvfs64 instead of calling fstat64.
4118 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4119 Pass -1 to __internal_statvfs instead of calling stat64.
4120 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4121 Pass -1 to __internal_statvfs64 instead of calling stat64.
4123 2014-05-28 Roland McGrath <roland@hack.frob.com>
4125 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4126 that was previously under [RESET_PID].
4127 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4129 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4130 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4132 2014-05-27 Roland McGrath <roland@hack.frob.com>
4134 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4136 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4137 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4139 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4141 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4143 2014-05-27 Andreas Schwab <schwab@suse.de>
4145 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4147 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4148 * elf/rtld.c (init_tls, dl_main): Likewise.
4149 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4150 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4151 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4152 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4153 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4154 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4155 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4156 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4157 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4158 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4159 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4160 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4161 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4162 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4163 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4164 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4165 * sysdeps/generic/tls.h: Update description.
4167 2014-05-27 Will Newton <will.newton@linaro.org>
4170 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4171 and restore r2 rather than just restoring.
4173 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4176 * libio/tst-ftell-append.c: New test case.
4177 * libio/Makefile (tests): Add test case.
4178 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4180 * libio/wfileops.c (do_ftell_wide): Likewise.
4182 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4186 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4190 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4191 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4192 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4193 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4194 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4195 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4196 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4199 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4202 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4203 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4204 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4205 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4206 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4208 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4209 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4211 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4213 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4215 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4216 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4217 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4219 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4220 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4221 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4222 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4224 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4227 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4230 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4233 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4237 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4240 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4245 conditional [RESET_PID].
4246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4247 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4249 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4254 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4255 (__libc_vfork): New strong alias.
4256 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4258 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4263 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4264 (__libc_vfork): New strong alias.
4265 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4267 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4270 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4272 * malloc/malloc.c (mi_arena): New function.
4273 (malloc_info): Remove nested function mi_arena. Call non-nosted
4276 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4278 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4280 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4281 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4282 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4283 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4284 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4285 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4286 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4288 2014-05-26 Andreas Schwab <schwab@suse.de>
4291 * locale/programs/repertoire.c (repertoire_read): Add slash
4292 between I18NPATH element and file name.
4293 * locale/programs/locfile.c (locfile_read): Likewise.
4295 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4297 * nptl/pthread_mutexattr_settype.c
4298 (__pthread_mutexattr_settype):
4299 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4301 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4303 * nptl/tst-mutex5 (do_test):
4304 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4306 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4308 * benchtests/README: Document 'init' directive.
4309 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4311 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4312 (parse_file): Recognize 'init' directive.
4314 2014-05-26 Kyle McMartin <kyle@redhat.com>
4317 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4318 alignment of struct pthread.
4320 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4323 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4324 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4325 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4326 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4328 2014-05-25 Richard Henderson <rth@twiddle.net>
4330 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4331 (SINGLE_THREAD_P_PIC): Remove.
4332 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4333 (SINGLE_THREAD_P_PIC): Remove.
4335 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4336 branch to syscall error ...
4338 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4339 from __local_syscall_error to .Lsyscall_error.
4340 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4341 (SYSCALL_ERROR): Update label name.
4343 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4344 Do not use DOARGS/UNDOARGS.
4345 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4346 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4347 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4348 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4349 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4351 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4354 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4355 define if !NOT_IN_libc.
4356 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4357 define with non-default symbol versions.
4359 2014-05-23 Richard Henderson <rth@twiddle.net>
4361 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4362 (vfork, __vfork): Define via compat_symbol.
4364 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4365 [!HAVE_IFUNC] (vfork_compat): Remove.
4366 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4368 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4371 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4372 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4375 2014-05-23 Richard Henderson <rth@twiddle.net>
4377 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4378 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4379 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4380 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4382 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4383 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4384 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4385 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4386 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4387 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4388 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4389 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4390 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4391 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4392 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4393 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4394 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4395 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4396 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4397 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4398 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4399 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4400 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4401 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4402 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4403 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4404 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4405 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4406 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4407 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4408 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4409 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4410 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4411 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4412 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4413 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4414 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4415 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4416 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4417 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4418 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4419 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4420 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4421 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4422 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4423 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4424 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4425 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4426 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4427 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4428 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4429 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4430 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4431 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4432 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4433 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4434 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4435 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4436 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4437 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4439 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4440 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4441 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4442 before exiting on error.
4443 (__libc_vfork): New strong alias.
4444 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4445 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4447 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4448 that was previously under [RESET_PID].
4449 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4451 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4453 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4456 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4457 value when x - 1 is zero.
4458 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4459 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4460 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4461 0.0L for an argument of 1.0L.
4462 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4464 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4465 value when x - 1 is zero.
4466 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4467 * sysdeps/i386/fpu/libm-test-ulps: Update.
4468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4470 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4472 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4473 alphasort and versionsort.
4475 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4477 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4479 [copysignf]: Likewise.
4481 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4483 * crypt/md5-crypt.c: Fix formatting.
4485 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4487 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4488 (b64_from_24bit): New function.
4490 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4492 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4493 libc_hidden_builtin_def to ifunc.
4494 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4495 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4497 2014-05-21 Roland McGrath <roland@hack.frob.com>
4499 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4500 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4502 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4504 * nscd/Depend (linuxthreads): Remove.
4506 * resolv/Depend (linuxthreads): Remove.
4507 * rt/Depend (linuxthreads): Remove.
4509 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4510 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4511 $(common-objpfx)elf/.
4512 (link-libc-before-gnulib): Likewise.
4513 (elfobjdir): Remove variable.
4514 * Makefile (install): Use $(elf-objpfx) instead of
4515 $(common-objpfx)elf/.
4516 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4518 (link-libc-deps): Likewise.
4519 ($(common-objpfx)libc.so): Likewise.
4520 ($(common-objpfx)linkobj/libc.so): Likewise.
4521 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4522 instead of $(common-objpfx)elf/.
4523 (symbolic-link-list): Likewise.
4524 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4525 [$(cross-compiling) = no]: Likewise.
4526 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4528 (static-gnulib-arch): Likewise.
4529 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4530 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4531 $(common-objpfx)elf/.
4533 2014-05-21 Richard Henderson <rth@redhat.com>
4535 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4536 (SINGLE_THREAD_P): Use the correct width load. Fold
4537 into the ldr offset.
4539 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4540 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4542 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4544 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4545 (libgcc_s_resume): Use __attribute_used__.
4546 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4549 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4551 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4552 optimization when used with float constants.
4554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4556 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4559 * locale/nl_langinfo_l.c: Make direct reference to every
4560 _nl_current_CATEGORY symbol.
4561 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4562 (tests-static): Add tst-langinfo-static.
4563 (tests-special): Add tst-langinfo-static.out.
4564 ($(objpfx)tst-langinfo.out): Redirect output.
4565 ($(objpfx)tst-langinfo-static.out): New.
4566 * localedata/tst-langinfo.sh: Send output to stdout.
4567 * localedata/tst-langinfo-static.c: New file.
4570 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4571 when the shift amount is modulo the limb size.
4573 2014-05-20 Richard Henderson <rth@redhat.com>
4576 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4577 Change type of sa_flags from unsigned int to int.
4580 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4582 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4584 2014-05-20 Will Newton <will.newton@linaro.org>
4586 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4587 Test the return value of the system call in the nocancel case.
4589 2014-05-20 Will Newton <will.newton@linaro.org>
4590 Yvan Roux <yvan.roux@linaro.org>
4592 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4593 #include of asm/ptrace.h.
4594 (PTRACE_GET_THREAD_AREA): Remove #undef.
4595 (PTRACE_GETHBPREGS): Likewise.
4596 (PTRACE_SETHBPREGS): Likewise.
4597 (struct user_regs_struct): New structure.
4598 (struct user_fpsimd_struct): New structure.
4599 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4600 #include of asm/ptrace.h and second #include of sys/user.h.
4601 (PTRACE_GET_THREAD_AREA): Remove #undef.
4602 (PTRACE_GETHBPREGS): Likewise.
4603 (PTRACE_SETHBPREGS): Likewise.
4604 (ELF_NGREG): Use new struct user_regs_struct.
4605 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4607 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4609 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4610 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4612 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4615 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4616 membar to avoid block loads/stores to overlap previous stores.
4618 2014-05-17 Richard Henderson <rth@redhat.com>
4620 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4621 Create the __##syscall_name##_nocancel entry point.
4622 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4623 Remove; let the sysdep-cancel.h code create it.
4625 2014-05-17 David S. Miller <davem@davemloft.net>
4627 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4628 Protect with __USE_GNU.
4629 (TIOCSET_TEMPT): Likewise.
4630 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4631 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4632 these are already provided in bits/ioctl-types.h
4634 2014-05-16 Roland McGrath <roland@hack.frob.com>
4636 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4637 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4639 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4640 Use wait4 regardless of [__NR_waitpid].
4642 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4645 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4646 (_FP_NANSIGN_Q): Set the quiet bit.
4648 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4650 * benchtests/Makefile
4651 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4652 not $(common-objpfx)math/libm.so.
4653 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4654 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4655 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4656 $(common-objpfx)dlfcn/libdl.so.
4657 ($(objpfx)tst-audit8): Depend on $(libm), not
4658 $(common-objpfx)math/libm.so.
4659 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4660 not $(common-objpfx)dlfcn/libdl.so.
4662 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4663 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4664 [$(build-shared) = yes].
4665 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4666 $(common-objpfx)nptl/libpthread.so.
4667 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4668 $(common-objpfx)math/libm.so$(libm.so-version) or
4669 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4670 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4671 $(common-objpfx)dlfcn/libdl.so.
4672 * setjmp/Makefile (link-libm): Remove variable.
4673 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4674 * stdio-common/Makefile (link-libm): Remove variable.
4675 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4676 * stdlib/Makefile (link-libm): Remove variable.
4677 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4678 ($(objpfx)tst-strtod-round): Likewise.
4679 ($(objpfx)tst-tininess): Likewise.
4680 ($(objpfx)tst-strtod-underflow): Likewise.
4681 ($(objpfx)tst-strtod6): Likewise.
4682 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4683 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4684 $(common-objpfx)dlfcn/libdl.so.
4686 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4688 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4689 BSD terminal modes definitions.
4691 2014-05-16 Roland McGrath <roland@hack.frob.com>
4693 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4694 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4696 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4697 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4698 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4699 Don't do #include_next.
4700 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4701 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4702 Don't do #include_next.
4703 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4704 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4705 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4706 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4708 2014-05-16 Allan McRae <allan@archlinux.org>
4710 * po/sv.po: Update Swedish translation from translation project.
4712 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4715 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4718 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4719 errno if the TIOCGPTN ioctl fails with an error different than
4721 * login/tst-ptsname.c: New file.
4722 * login/Makefile (tests): Add tst-ptsname.
4725 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4728 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4732 herrno to return EAI_AGAIN.
4734 2014-05-14 Roland McGrath <roland@hack.frob.com>
4736 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4737 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4738 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4739 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4740 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4741 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4742 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4743 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4744 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4745 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4746 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4747 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4748 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4749 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4750 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4751 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4752 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4753 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4754 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4755 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4756 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4757 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4758 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4759 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4760 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4761 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4762 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4763 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4764 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4765 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4767 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4769 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4772 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4774 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4776 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4778 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4780 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4782 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4784 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4786 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4788 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4790 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4792 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4794 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4796 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4797 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4798 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4801 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4803 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4805 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4807 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4809 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4811 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4813 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4815 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4817 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4819 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4822 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4824 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4826 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4827 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4828 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4829 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4830 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4831 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4832 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4833 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4834 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4835 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4836 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4837 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4838 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4839 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4840 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4841 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4842 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4843 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4844 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4845 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4846 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4847 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4848 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4849 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4850 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4851 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4852 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4853 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4854 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4855 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4856 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4858 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4859 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4861 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4862 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4863 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4864 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4865 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4866 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4868 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4869 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4871 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4872 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4874 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4875 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4877 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4878 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4879 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4880 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4882 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4883 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4884 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4885 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4886 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4887 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4888 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4889 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4891 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4892 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4894 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4896 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4897 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4898 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4899 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4900 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4902 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4904 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4906 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4907 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4908 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4909 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4910 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4911 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4913 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4914 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4916 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4917 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4919 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4920 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4922 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4923 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4924 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4925 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4927 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4928 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4929 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4930 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4931 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4932 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4933 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4934 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4936 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4937 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4939 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4941 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4942 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4943 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4944 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4945 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4947 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4949 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4951 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4952 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4953 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4954 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4955 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4956 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4957 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4958 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4959 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4960 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4962 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4963 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4965 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4966 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4968 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4969 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4971 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4972 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4973 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4974 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4975 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4976 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4978 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4979 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4980 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4981 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4982 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4983 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4984 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4985 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4987 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4988 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4990 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4992 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4993 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4994 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4995 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4996 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4998 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5000 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5002 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5003 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5004 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5005 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5006 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5007 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5008 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5009 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5010 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5011 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5012 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5014 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5015 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5017 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5018 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5020 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5021 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5022 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5023 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5024 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5025 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5026 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5027 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5028 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5029 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5030 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5031 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5032 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5033 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5034 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5035 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5036 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5037 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5039 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5040 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5041 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5042 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5044 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5045 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5046 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5047 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5048 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5049 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5050 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5051 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5053 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5054 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5056 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5057 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5058 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5059 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5060 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5061 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5062 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5063 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5064 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5065 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5066 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5067 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5068 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5069 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5070 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5071 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5072 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5074 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5075 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5076 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5077 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5078 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5080 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5081 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5082 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5083 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5084 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5085 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5086 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5087 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5088 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5089 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5091 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5092 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5094 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5095 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5096 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5097 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5098 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5099 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5100 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5101 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5102 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5103 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5104 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5105 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5106 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5107 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5108 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5110 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5112 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5114 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5116 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5118 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5120 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5122 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5124 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5126 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5128 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5129 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5130 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5131 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5132 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5133 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5134 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5135 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5136 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5137 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5138 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5139 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5140 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5141 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5142 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5144 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5145 that was previously under [RESET_PID].
5146 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5147 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5148 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5150 * sysdeps/i386/nptl/Implies: New file.
5151 * sysdeps/x86_64/nptl/Implies: New file.
5152 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5153 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5154 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5155 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5157 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5158 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5159 (__libc_vfork): New strong alias.
5160 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5161 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5163 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5164 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5165 (__libc_vfork): New strong alias.
5166 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5167 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5169 * sysdeps/unix/sysv/linux/arm/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 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5173 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5174 * nptl/pt-vfork.c: New file.
5175 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5176 (libpthread: GLIBC_2.20): New version set (empty).
5178 2014-05-14 Will Newton <will.newton@linaro.org>
5180 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5183 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5186 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5187 arguments with exponent 65 or above.
5188 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5189 arguments 0x1p113L or above.
5190 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5191 to arguments 0x1p107L or above.
5192 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5193 positive arguments with exponent 65 or above.
5194 * math/auto-libm-test-in: Add more tests of log1p.
5195 * math/auto-libm-test-out: Regenerated.
5198 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5199 non-finite arguments is +0.
5200 * math/s_cacosf.c (__cacosf): Likewise.
5201 * math/s_cacosl.c (__cacosl): Likewise.
5202 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5203 * sysdeps/i386/fpu/libm-test-ulps: Update.
5204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5207 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5209 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5210 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5211 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5212 for explicit high bit of mantissa when testing for argument equal
5214 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5215 * sysdeps/i386/fpu/libm-test-ulps: Update.
5216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5219 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5220 (__erf): Scale by 16 instead of 8 in potentially underflowing
5221 case. Ensure exception if result actually underflows.
5222 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5223 (__erff): Scale by 16 instead of 8 in potentially underflowing
5224 case. Ensure exception if result actually underflows.
5225 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5226 (efx8): Remove variable.
5227 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5228 case. Ensure exception if result actually underflows.
5229 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5230 (efx8): Remove variable.
5231 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5232 case. Ensure exception if result actually underflows.
5233 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5234 (efx8): Remove variable.
5235 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5236 case. Ensure exception if result actually underflows.
5237 * math/auto-libm-test-in: Add more tests of erf.
5238 * math/auto-libm-test-out: Regenerated.
5240 2014-05-14 Andreas Schwab <schwab@suse.de>
5242 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5243 Remove code conditionalized on USE___THREAD.
5245 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5246 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5249 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5251 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5252 Define unconditionally.
5253 (__ASSUME_O_CLOEXEC): Likewise.
5254 (__ASSUME_SOCK_CLOEXEC): Likewise.
5255 (__ASSUME_IN_NONBLOCK): Likewise.
5256 (__ASSUME_PIPE2): Likewise.
5257 (__ASSUME_EVENTFD2): Likewise.
5258 (__ASSUME_SIGNALFD4): Likewise.
5259 (__ASSUME_DUP3): Likewise.
5260 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5261 (__ASSUME_DUP3): Do not define.
5262 (__ASSUME_EVENTFD2): Likewise.
5263 (__ASSUME_IN_NONBLOCK): Likewise.
5264 (__ASSUME_O_CLOEXEC): Likewise.
5265 (__ASSUME_PIPE2): Likewise.
5266 (__ASSUME_SIGNALFD4): Likewise.
5267 (__ASSUME_SOCK_CLOEXEC): Likewise.
5268 (__ASSUME_UTIMES): Undefine.
5269 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5270 (__ASSUME_UTIMES): Do not define.
5271 (__ASSUME_O_CLOEXEC): Likewise.
5272 (__ASSUME_SOCK_CLOEXEC): Likewise.
5273 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5274 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5276 (__ASSUME_PIPE2): Likewise.
5277 (__ASSUME_EVENTFD2): Likewise.
5278 (__ASSUME_SIGNALFD4): Likewise.
5279 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5280 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5282 (__ASSUME_EVENTFD2): Likewise.
5283 (__ASSUME_SIGNALFD4): Likewise.
5284 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5285 (__ASSUME_32BITUIDS): Likewise.
5286 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5287 (__ASSUME_IPC64): Likewise.
5288 (__ASSUME_ST_INO_64_BIT): Likewise.
5289 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5290 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5291 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5292 (__ASSUME_UTIMES): Do not define.
5293 (__ASSUME_PSELECT): Likewise.
5294 (__ASSUME_PPOLL): Likewise.
5295 (__ASSUME_O_CLOEXEC): Likewise.
5296 (__ASSUME_SOCK_CLOEXEC): Likewise.
5297 (__ASSUME_IN_NONBLOCK): Likewise.
5298 (__ASSUME_PIPE2): Likewise.
5299 (__ASSUME_EVENTFD2): Likewise.
5300 (__ASSUME_SIGNALFD4): Likewise.
5301 (__ASSUME_DUP3): Likewise.
5302 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5303 (__ASSUME_UTIMES): Likewise.
5304 (__ASSUME_O_CLOEXEC): Likewise.
5305 (__ASSUME_SOCK_CLOEXEC): Likewise.
5306 (__ASSUME_IN_NONBLOCK): Likewise.
5307 (__ASSUME_PIPE2): Likewise.
5308 (__ASSUME_EVENTFD2): Likewise.
5309 (__ASSUME_SIGNALFD4): Likewise.
5310 (__ASSUME_DUP3): Likewise.
5311 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5312 (__ASSUME_UTIMES): Likewise.
5313 (__ASSUME_O_CLOEXEC): Likewise.
5314 (__ASSUME_SOCK_CLOEXEC): Likewise.
5315 (__ASSUME_IN_NONBLOCK): Likewise.
5316 (__ASSUME_PIPE2): Likewise.
5317 (__ASSUME_EVENTFD2): Likewise.
5318 (__ASSUME_SIGNALFD4): Likewise.
5319 (__ASSUME_DUP3): Likewise.
5320 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5322 (__ASSUME_UTIMES): Likewise.
5323 (__ASSUME_EVENTFD2): Likewise.
5324 (__ASSUME_SIGNALFD4): Likewise.
5325 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5326 (__ASSUME_O_CLOEXEC): Likewise.
5327 (__ASSUME_SOCK_CLOEXEC): Likewise.
5328 (__ASSUME_IN_NONBLOCK): Likewise.
5329 (__ASSUME_PIPE2): Likewise.
5330 (__ASSUME_EVENTFD2): Likewise.
5331 (__ASSUME_SIGNALFD4): Likewise.
5332 (__ASSUME_DUP3): Likewise.
5333 (__ASSUME_UTIMES): Undefine.
5335 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5336 feclearexcept. Remove symbol versioning code.
5337 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5338 symbol versioning code.
5339 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5340 symbol versioning code.
5341 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5342 feupdateenv. Remove symbol versioning code.
5343 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5344 fegetexceptflag. Remove symbol versioning code.
5345 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5346 fesetexceptflag. Remove symbol versioning code.
5347 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5348 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5349 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5350 (__posix_fadvise64_l32): Remove prototype.
5351 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5354 2014-05-13 Roland McGrath <roland@hack.frob.com>
5356 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5357 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5358 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5359 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5361 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5363 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5364 current working directory
5366 2014-05-13 Roland McGrath <roland@hack.frob.com>
5368 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5369 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5370 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5371 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5372 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5373 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5374 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5375 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5376 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5377 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5378 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5379 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5380 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5381 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5382 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5383 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5384 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5385 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5386 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5387 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5388 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5389 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5390 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5391 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5392 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5393 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5394 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5395 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5396 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5397 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5398 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5399 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5400 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5401 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5402 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5403 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5404 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5405 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5406 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5407 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5408 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5409 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5411 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5412 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5414 * sysdeps/unix/sysv/linux/arm/Makefile
5415 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5416 Add rt-aeabi_unwind_cpp_pr1.
5417 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5418 Add nptl-aeabi_unwind_cpp_pr1.
5419 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5420 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5421 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5422 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5423 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5424 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5426 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5427 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5428 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5429 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5431 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5432 Deconditionalize the code that was previously under [RESET_PID].
5433 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5435 * sysdeps/generic/exit-thread.h: New file.
5436 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5437 * include/unistd.h (__exit_thread): Remove declaration.
5438 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5439 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5440 * csu/libc-start.c: Include <exit-thread.h>.
5441 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5442 * nptl/pthread_create.c: Include <exit-thread.h>.
5443 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5444 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5445 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5446 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5447 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5448 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5449 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5450 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5451 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5452 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5453 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5454 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5455 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5456 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5457 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5458 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5459 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5461 2014-05-13 Andreas Schwab <schwab@suse.de>
5463 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5465 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5467 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5468 (__ASSUME_UTIMES): Do not condition on kernel version.
5469 (__ASSUME_PSELECT): Define unconditionally.
5470 (__ASSUME_PPOLL): Likewise.
5471 (__ASSUME_ATFCTS): Likewise.
5472 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5473 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5474 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5475 (__ASSUME_UTIMENSAT): Define unconditionally.
5476 (__ASSUME_PRIVATE_FUTEX): Likewise.
5477 (__ASSUME_FALLOCATE): Likewise.
5478 (__ASSUME_O_CLOEXEC): Likewise.
5479 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5480 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5481 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5482 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5483 (__ASSUME_IN_NONBLOCK): Likewise.
5484 (__ASSUME_PIPE2): Likewise.
5485 (__ASSUME_EVENTFD2): Likewise.
5486 (__ASSUME_SIGNALFD4): Likewise.
5487 (__ASSUME_DUP3): Likewise.
5488 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5489 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5490 (__ASSUME_AT_RANDOM): Likewise.
5491 (__ASSUME_PREADV): Likewise.
5492 (__ASSUME_PWRITEV): Likewise.
5493 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5494 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5495 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5496 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5497 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5498 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5499 (__ASSUME_O_CLOEXEC): Define unconditionally.
5500 (__ASSUME_PSELECT): Do not undefine conditionally.
5501 (__ASSUME_PPOLL): Likewise.
5502 (__ASSUME_ATFCTS): Likewise.
5503 (__ASSUME_SET_ROBUST_LIST): Likewise.
5504 (__ASSUME_UTIMENSAT): Likewise.
5505 (__ASSUME_FDATASYNC): Define unconditionally.
5506 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5507 (__ASSUME_SIGFRAME_V2): Likewise.
5508 )__ASSUME_EVENTFD2): Likewise.
5509 (__ASSUME_SIGNALFD4): Likewise.
5510 (__ASSUME_PSELECT): Do not undefine conditionally.
5511 (__ASSUME_PPOLL): Likewise.
5512 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5513 (__ASSUME_PSELECT): Define unconditionally.
5514 (__ASSUME_PPOLL): Likewise.
5515 (__ASSUME_O_CLOEXEC): Likewise.
5516 (__ASSUME_SOCK_CLOEXEC): Likewise.
5517 (__ASSUME_IN_NONBLOCK): Likewise.
5518 (__ASSUME_PIPE2): Likewise.
5519 (__ASSUME_EVENTFD2): Likewise.
5520 (__ASSUME_SIGNALFD4): Likewise.
5521 (__ASSUME_DUP3): Likewise.
5522 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5523 (__ASSUME_O_CLOEXEC): Likewise.
5524 (__ASSUME_SOCK_CLOEXEC): Likewise.
5525 (__ASSUME_IN_NONBLOCK): Likewise.
5526 (__ASSUME_PIPE2): Likewise.
5527 (__ASSUME_EVENTFD2): Likewise.
5528 (__ASSUME_SIGNALFD4): Likewise.
5529 (__ASSUME_DUP3): Likewise.
5530 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5531 (__ASSUME_EVENTFD2): Likewise.
5532 (__ASSUME_SIGNALFD4): Likewise.
5533 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5535 2014-05-12 Andreas Schwab <schwab@suse.de>
5538 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5539 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5540 than maximum RPC packet size.
5541 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5542 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5543 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5544 (_nss_nis_getservbyport_r): Likewise.
5546 2014-05-12 Will Newton <will.newton@linaro.org>
5548 * malloc/Makefile (tests): Add tst-mallopt.
5549 * malloc/tst-mallopt.c: New file.
5551 2014-05-09 Roland McGrath <roland@hack.frob.com>
5553 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5554 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5556 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5558 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5559 (tst-tlsmod6.so): Likewise.
5561 2014-05-09 Roland McGrath <roland@hack.frob.com>
5563 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5565 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5568 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5569 and <dl-procinfo.h>.
5570 (__fegetenv): Save SSE state in envp->__eip if supported.
5571 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5572 envp->__eip if supported.
5573 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5574 and <dl-procinfo.h>.
5575 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5576 __data_offset and __data_selector in environment to 0. Set SSE
5578 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5580 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5582 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5584 2014-05-09 Will Newton <will.newton@linaro.org>
5586 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5587 and libc_relro_required for ARM.
5588 * sysdeps/arm/preconfigure: Regenerate.
5590 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5591 Stefan Liebler <stli@linux.vnet.ibm.com>
5593 * config.make.in (enable-lock-elision): New Makefile variable.
5594 * configure.ac: Likewise.
5595 * configure: Regenerate.
5596 * sysdeps/s390/configure.ac:
5597 Add check for gcc transactions support.
5598 * sysdeps/s390/configure: Regenerate.
5599 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5600 Build elision files if enabled.
5601 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5602 Add lock elision support for s390.
5603 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5604 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5605 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5606 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5607 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5608 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5609 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5611 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5613 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5615 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5617 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5618 (__lll_timedlock_elision, __lll_lock_elision)
5619 (__lll_unlock_elision, __lll_trylock_elision)
5620 (lll_timedlock_elision, lll_lock_elision)
5621 (lll_unlock_elision, lll_trylock_elision): Add.
5622 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5623 (pthread_mutex_t): Add lock elision support for s390.
5625 2014-05-14 Wilco <wdijkstr@arm.com>
5627 * sysdeps/arm/fclrexcpt.c: Cleanup.
5628 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5629 * sysdeps/arm/feenablxcpt.c: Cleanup.
5630 * sysdeps/arm/fegetenv.c: Cleanup.
5631 * sysdeps/arm/fegetexcept.c: Cleanup.
5632 * sysdeps/arm/fegetround.c: Cleanup.
5633 * sysdeps/arm/feholdexcpt.c: Cleanup.
5634 * sysdeps/arm/fesetenv.c: Cleanup.
5635 * sysdeps/arm/fesetround.c: Cleanup.
5636 * sysdeps/arm/feupdateenv.c: Cleanup.
5637 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5638 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5639 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5640 * sysdeps/arm/ftestexcept.c: Cleanup.
5641 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5642 * sysdeps/arm/setfpucw.c: Cleanup.
5644 2014-05-09 Will Newton <will.newton@linaro.org>
5646 * sysdeps/arm/armv7/strcmp.S: New file.
5647 * NEWS: Mention addition of ARMv7 optimized strcmp.
5649 2014-05-08 Roland McGrath <roland@hack.frob.com>
5651 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5652 look for %.ac rather than %.in.
5654 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5655 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5656 * sysdeps/mach/hurd/configure: Regenerated.
5657 * sysdeps/unix/sysv/linux/configure: Regenerated.
5659 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5661 2014-05-07 Steve Ellcey <sellcey@mips.com>
5664 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5668 2014-05-07 Andreas Schwab <schwab@suse.de>
5670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5671 when skipping over non-matching result from nscd.
5673 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5676 * nptl/sockperf.c (client): Check socket return value.
5679 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5680 nscd security class.
5682 2014-05-06 Roland McGrath <roland@hack.frob.com>
5684 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5685 * sysdeps/arm/unwind.h: ... here.
5687 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5690 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5693 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5695 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5696 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5697 multiarch strncpy for PPC64.
5698 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5699 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5701 multiarch optimizations.
5702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5703 (__libc_ifunc_impl_list): Likewise.
5704 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5705 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5706 multiarch stpncpy for PPC64.
5707 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5708 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5710 2014-05-06 Andreas Schwab <schwab@suse.de>
5713 * gmon/mcount.c (_MCOUNT_DECL): Use
5714 atomic_compare_and_exchange_bool_acq instead of
5715 catomic_compare_and_exchange_bool_acq.
5717 2014-05-05 Roland McGrath <roland@hack.frob.com>
5719 * elf/Makefile (others, install-bin): Remove pldd.
5720 (pldd-modules): Variable removed.
5721 ($(objpfx)pldd): Target removed.
5722 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5723 (others, install-bin): Append pldd here.
5724 ($(objpfx)pldd): New target.
5726 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5727 to 0, so the first #if test emitted later doesn't see it undefined.
5728 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5729 * sysdeps/gnu/errlist.c: Regenerated.
5731 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5733 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5734 [libc_hidden_builtin_def]: Define to empty value.
5735 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5736 [libc_hidden_builtin_def]: Likewise.
5737 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5738 [libc_hidden_builtin_def]: Likewise.
5739 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5740 [libc_hidden_builtin_def]: Likewise.
5741 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5742 __redirect_memcpy and define ifunc as default hidden symbol.
5743 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5744 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5746 2014-05-04 Adam Conrad <adconrad@0c3.net>
5748 * locale/iso-4217.def: Reintroduce XDR currency.
5750 2014-05-04 Allan McRae <allan@archlinux.org>
5752 * po/eo.po: Update Esperanto translation from translation project.
5754 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5756 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5757 and FEATURE_INDEX_MAX to 1.
5758 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5760 2014-05-01 Steve Ellcey <sellcey@mips.com>
5762 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5763 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5764 * iconvdata/big5.c (ONE_DIRECTION): Define.
5765 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5766 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5767 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5768 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5769 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5770 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5771 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5772 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5773 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5774 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5775 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5776 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5777 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5778 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5779 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5780 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5781 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5782 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5783 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5784 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5785 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5786 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5787 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5788 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5789 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5790 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5791 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5792 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5793 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5794 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5795 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5796 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5797 * iconvdata/johab.c (ONE_DIRECTION): Define.
5798 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5799 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5800 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5801 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5802 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5803 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5804 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5805 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5806 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5807 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5809 2014-05-01 Roland McGrath <roland@hack.frob.com>
5811 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5812 (_IO_JUMPS_OFFSET): Define to 0.
5814 * nptl/sysdeps/pthread/bits/libc-lock.h
5815 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5816 (__libc_lock_define_initialized_recursive): Always define using
5817 initializer. Modern compilers treat uninitialized (implicit zero) and
5818 explicit zero initializers the same (i.e. put the datum in bss).
5820 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5822 * nscd/nscd-client.h: Include <string.h>.
5824 2014-05-01 David S. Miller <davem@davemloft.net>
5827 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5828 multiple zero bytes exist at the end of a string.
5829 Reported by Aurelien Jarno <aurelien@aurel32.net>
5831 * string/test-strcmp.c (check): Add explicit test for situations where
5832 there are multiple zero bytes after the first.
5834 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5837 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5838 when compiling wprintf.
5839 * stdio-common/tstdiomisc.c (t3): New function.
5842 2014-05-01 Steve Ellcey <sellcey@mips.com>
5844 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5845 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5846 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5847 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5849 2014-05-01 Steve Ellcey <sellcey@mips.com>
5851 * stdlib/longlong.h: Updated from GCC.
5853 2014-05-01 Will Newton <will.newton@linaro.org>
5854 Bernard Ogden <bernie.ogden@linaro.org>
5856 * NEWS: Update fixed bug list.
5859 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5861 2014-04-30 David S. Miller <davem@davemloft.net>
5863 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5864 (libc_feholdexcept_setround_sparc_ctx): New function.
5865 (libc_fesetenv_sparc_ctx): Likewise.
5866 (libc_feupdateenv_sparc_ctx): Likewise.
5867 (libc_feholdsetround_sparc_ctx): Likewise.
5868 (libc_feholdexcept_setround_ctx): Define.
5869 (libc_feholdexcept_setroundf_ctx): Likewise.
5870 (libc_feholdexcept_setroundl_ctx): Likewise.
5871 (libc_fesetenv_ctx): Likewise.
5872 (libc_fesetenvf_ctx): Likewise.
5873 (libc_fesetenvl_ctx): Likewise.
5874 (libc_feupdateenv_ctx): Likewise.
5875 (libc_feupdateenvf_ctx): Likewise.
5876 (libc_feupdateenvl_ctx): Likewise.
5877 (libc_feresetround_ctx): Likewise.
5878 (libc_feresetroundf_ctx): Likewise.
5879 (libc_feresetroundl_ctx): Likewise.
5880 (libc_feholdsetround_ctx): Likewise.
5881 (libc_feholdsetroundf_ctx): Likewise.
5882 (libc_feholdsetroundl_ctx): Likewise.
5884 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5885 with __USE_GNU instead of XOPEN cpp guards.
5887 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5890 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5891 with XOPEN cpp guards.
5893 2014-04-30 Julian Brown <julian@codesourcery.com>
5896 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5899 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5902 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5904 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5905 * sysdeps/unix/sysv/linux/configure: Regenerated.
5906 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5907 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5908 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5909 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5910 * README: Update reference to required Linux kernel version.
5911 * manual/install.texi (Linux): Update reference to required Linux
5912 kernel headers version.
5913 * INSTALL: Regenerated.
5915 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5917 [POSIX] (limits.h): Likewise.
5918 [POSIX] (math.h): Likewise.
5919 [POSIX] (sys/wait.h): Likewise.
5920 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5922 [POSIX] (stddef.h): Do not allow header inclusion.
5924 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5926 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5928 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5930 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5931 Return immediately after lll_futex_wake.
5933 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5936 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5938 (datahead_init_pos): Call datahead_init_common early.
5939 (datahead_init_neg): Likewise.
5941 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5942 datahead_init_neg): New functions.
5943 * nscd/aicache.c (addhstaiX): Use them.
5944 * nscd/grpcache.c (cache_addgr): Likewise.
5945 * nscd/hstcache.c (cache_addhst): Likewise.
5946 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5947 * nscd/netgroupcache.c (do_notfound): Likewise.
5948 (addgetnetgrentX): Likewise.
5949 (addinnetgrX): Likewise.
5950 * nscd/pwdcache.c (cache_addpw): Likewise.
5951 * nscd/servicescache.c (cache_addserv): Likewise.
5953 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5954 Atsushi Onoe <atsushi@onoe.org>
5959 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5960 one response is valid.
5961 * resolv/res_send.c (send_dg): Check for validity of other
5962 response if the current response is a referral.
5964 2014-04-29 Steve Ellcey <sellcey@mips.com>
5966 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5968 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5971 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5972 Always divide by positive zero when computing -Inf result.
5973 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5974 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5976 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5978 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5979 FPSCR if value do not change.
5980 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5981 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5982 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5983 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5984 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5985 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5988 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5990 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5991 * sysdeps/unix/sysv/linux/hppa: Move directory from
5992 ports/systeps/unix/sysv/linux/hppa.
5993 * README: Update listing for hppa-*-linux-gnu.
5995 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5998 * manual/stdio.texi (Hook functions): Fix types of stream hook
6001 * socket/sys/socket.h: Fix typo in comment.
6003 2014-04-28 Wilco <wdijkstr@arm.com>
6005 * sysdeps/arm/fenv_private.h: New file.
6006 * sysdeps/arm/math_private.h: New file.
6007 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6009 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6011 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6013 (La_x86_64_retval): Likewise.
6015 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6017 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6018 fpsr if value didn't change.
6019 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6020 to fpcr if value didn't change.
6021 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6022 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6023 fpsr or fpcr if value didn't change.
6024 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6025 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6026 fpcr if value didn't change.
6027 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6028 to fpsr if value didn't change.
6030 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6032 * nptl/tst-sem3.c: Use test-skeleton.c
6033 (main): Rename to do_test. Use return instead of
6035 * nptl/tst-sem4.c: Use test-skeleton.c
6036 (main): Rename to do_test.
6038 2014-04-22 David S. Miller <davem@davemloft.net>
6040 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6041 (struct sigaction): New struct member __glibc_reserved0, change
6042 type of sa_flags to int.
6044 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6046 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6047 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6049 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6051 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6052 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6054 2014-04-22 Will Newton <will.newton@linaro.org>
6055 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6057 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6058 (__longjmp): Add longjmp and longjmp_target SystemTap
6060 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6061 (__sigsetjmp): Add setjmp SystemTap probe.
6063 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6065 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6068 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6070 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6072 * sysdeps/powerpc/fpu/fenv_private.h
6073 (libc_feholdexcept_setroundl_ctx): Define to
6074 libc_feholdexcept_setround_ppc_ctx.
6075 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6076 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6077 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6078 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6080 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6082 * sysdeps/aarch64/math-tests.h: New file.
6084 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6086 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6089 Check and set bit_AVX2_Usable.
6090 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6092 (bit_AVX2): Likewise.
6093 (index_AVX2_Usable): Likewise.
6094 (CPUID_AVX2): Likewise.
6095 (HAS_AVX2): Likewise.
6097 2014-04-17 Will Newton <will.newton@linaro.org>
6099 * manual/setjmp.texi (System V contexts): Add note that
6100 calling setcontext on a context created by a call to a
6101 signal handler is undefined. Update text to note that
6102 setcontext from a signal handler is possible but not
6106 * stdlib/tst-setcontext.c: Include signal.h.
6107 (main): Check that the signal stack before and
6108 after swapcontext is the same.
6110 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6111 Re-implement to restore registers in user code and avoid
6112 rt_sigreturn system call.
6114 2014-04-17 Wilco <wdijkstr@arm.com>
6116 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6117 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6118 * math/test-fenv.c: Skip exception trap tests on targets which only
6119 support non-stop mode.
6121 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6122 Wilco Dijkstra <wilco.dijkstra@arm.com>
6124 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6125 (libc_feholdsetround_aarch64_ctx)
6126 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6127 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6128 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6129 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6130 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6131 (libc_feresetround_noexl_ctx): Define.
6133 2014-04-16 Richard Henderson <rth@redhat.com>
6135 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6137 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6140 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6141 const from the non-libc, non-ldso copy.
6143 * sysdeps/alpha/libm-test-ulps: Regenerate.
6145 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6146 Wilco Dijkstra <wilco.dijkstra@arm.com>
6148 * sysdeps/aarch64/fpu/math_private.h: New file.
6150 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6152 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6154 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6156 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6157 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6158 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6159 Intel MPX bound registers before _dl_profile_fixup.
6160 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6161 registers after _dl_profile_fixup. Save and restore bound
6162 registers bnd0/bnd1 when calling _dl_call_pltexit.
6163 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6164 (LR_BND_OFFSET): Likewise.
6165 (LRV_BND0_OFFSET): Likewise.
6166 (LRV_BND1_OFFSET): Likewise.
6168 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6170 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6172 * sysdeps/mach/hurd/i386/tls.h: ... here.
6173 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6174 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6177 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6179 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6181 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6183 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6185 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6188 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6189 * sysdeps/s390/configure: Regenerate.
6192 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6193 Set round-to-nearest internally to reduce error accumulation.
6195 2014-04-16 Alan Modra <amodra@gmail.com>
6199 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6200 * math/libm-test.inc (frexp_test_data): Add tests.
6201 * NEWS: Update fixed bug list.
6203 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6205 * benchtests/Makefile: Depend on libraries in build directory.
6206 (bench-math): Separate out math tests.
6207 (bench-pthread): Separate out pthread tests.
6208 (bench): Include math and pthread tests.
6210 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6213 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6214 _dl_debug_initialize.
6216 * configure.ac: Remove SELinux header check.
6217 * configure: Regenerate.
6218 * nscd/selinux.c (perms): Array of const char* to permission names.
6219 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6220 default policy. Call string_to_security_class and string_to_av_perm to
6221 translate strings. Enforce default policy and call avs_has_perm with
6222 results of translated strings.
6224 2014-04-13 David S. Miller <davem@davemloft.net>
6226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6228 2014-04-12 Allan McRae <allan@archlinux.org>
6231 * manual/string.texi (Collation Functions): Fix qsort argument
6233 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6235 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6237 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6238 Make the test a no-op if there are no exceptions defined.
6240 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6242 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6243 enable-hardcoded-path-in-tests
6245 2014-04-11 Will Newton <will.newton@linaro.org>
6247 * benchtests/Makefile (extra-objs): Add json-lib.o.
6248 (bench-func): Tidy up JSON output.
6249 * benchtests/bench-skeleton.c: Include json-lib.h.
6250 (main): Use JSON library functions to do output of
6252 * benchtests/bench-timing-type.c (main): Output the
6253 timing type simply, leaving formatting to the user.
6254 * benchtests/json-lib.c: New file.
6255 * benchtests/json-lib.h: Likewise.
6257 2014-04-11 Torvald Riegel <triegel@redhat.com>
6260 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6261 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6262 memory barriers. Add comments.
6263 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6264 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6265 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6266 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6267 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6268 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6270 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6272 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6273 * sysdeps/s390/s390-64/configure.ac: ... this ...
6274 * sysdeps/s390/configure.ac: ... to here.
6275 * sysdeps/s390/s390-32/configure: Delete file.
6276 * sysdeps/s390/s390-64/configure: Delete file.
6277 * sysdeps/s390/configure: Regenerate.
6279 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6281 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6283 2014-04-11 Will Newton <will.newton@linaro.org>
6285 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6286 to zero if it is not defined elsewhere. (mtrim): Test
6287 the value of MALLOC_DEBUG with #if rather than #ifdef.
6289 2014-04-10 Torvald Riegel <triegel@redhat.com>
6291 * benchtests/pthread_once-inputs: New file.
6292 * benchtests/pthread_once-source.c: New file.
6293 * benchtests/README: Update documentation.
6295 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6296 H.J. Lu <hongjiu.lu@intel.com>
6298 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6299 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6300 * sysdeps/x86_64/configure: Regenerated.
6301 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6303 (REGISTER_SAVE_RAX): Likewise.
6304 (REGISTER_SAVE_RCX): Likewise.
6305 (REGISTER_SAVE_RDX): Likewise.
6306 (REGISTER_SAVE_RSI): Likewise.
6307 (REGISTER_SAVE_RDI): Likewise.
6308 (REGISTER_SAVE_R8): Likewise.
6309 (REGISTER_SAVE_R9): Likewise.
6310 (REGISTER_SAVE_BND0): Likewise.
6311 (REGISTER_SAVE_BND1): Likewise.
6312 (REGISTER_SAVE_BND2): Likewise.
6313 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6314 bound registers when calling _dl_fixup.
6316 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6318 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6319 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6321 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6322 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6323 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6324 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6325 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6326 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6327 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6329 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6332 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6333 pathconf(_PC_NAME_MAX).
6335 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6337 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6339 (__PTHREAD_SPINS): Move definition to ...
6340 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6341 (__PTHREAD_SPINS): ... here.
6342 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6343 (__PTHREAD_SPIN): Likewise.
6344 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6345 (__PTHREAD_SPIN): Likewise.
6346 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6347 (__PTHREAD_SPIN): Likewise.
6348 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6349 (__PTHREAD_SPIN): Likewise.
6350 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6351 (__PTHREAD_SPIN): Likewise.
6352 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6353 (__PTHREAD_SPIN): Likewise.
6354 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6355 (__PTHREAD_SPIN): Likewise.
6356 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6357 (__PTHREAD_SPIN): Likewise.
6358 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6359 (__PTHREAD_SPIN): Likewise.
6360 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6361 (__PTHREAD_SPIN): Likewise.
6362 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6363 (__PTHREAD_SPIN): Likewise.
6364 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6365 (__PTHREAD_SPIN): Likewise.
6367 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6368 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6369 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6370 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6372 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6373 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6374 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6375 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6377 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6378 strlen symbol for non multi-arch builds.
6379 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6380 missing hidden_def and weak_alias.
6382 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6384 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6386 2014-04-07 Will Newton <will.newton@linaro.org>
6388 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6389 and contents. [!_LIBC] Remove #ifndef and contents.
6390 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6391 * string/memccpy.c (__memccpy): Use ANSI prototype.
6392 * string/memfrob.c (memfrob): Likewise.
6393 * string/strcoll.c (STRCOLL): Likewise.
6394 * string/strlen.c (strlen): Likewise.
6395 * string/strtok.c (STRTOK): Likewise.
6396 * string/strcat.c: Remove unused #include of memcopy.h.
6397 (strcat): Use ANSI prototype.
6398 * string/strchr.c: Remove unused #include of memcopy.h.
6399 (strchr): Use ANSI prototype.
6400 * string/strcmp.c: Remove unused #include of memcopy.h.
6401 (strcmp): Use ANSI prototype.
6402 * string/strcpy.c: Remove unused #include of memcopy.h.
6403 (strcpy): Use ANSI prototype.
6405 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6407 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6408 * config.make.in (config-extra-cppflags): Set it from
6409 libc_extra_cppflags.
6410 * configure.ac (libc_extra_cflags): Make it accumulate over
6411 configure fragments.
6412 (libc_extra_cppflags): New flag.
6413 * configure. Regenerate.
6414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6415 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6416 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6420 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6421 result for FE_DOWNWARD rounding mode.
6422 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6426 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6428 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6429 in function argument name.
6431 2014-04-03 David Svoboda <svoboda@cert.org>
6434 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6437 2014-04-03 Roland McGrath <roland@hack.frob.com>
6439 * elf/dl-unmap-segments.h: New file.
6440 * sysdeps/generic/ldsodefs.h
6441 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6442 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6443 * elf/dl-fptr.c: Likewise.
6444 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6445 * sysdeps/aarch64/tlsdesc.c: Likewise.
6446 * sysdeps/arm/tlsdesc.c: Likewise.
6447 * sysdeps/i386/tlsdesc.c: Likewise.
6448 * sysdeps/tile/dl-runtime.c: Likewise.
6449 * sysdeps/x86_64/tlsdesc.c: Likewise.
6450 * elf/dl-load.h: New file.
6451 * elf/dl-load.c: Include it.
6452 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6453 Macros moved to dl-load.h.
6454 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6455 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6456 Use _dl_unmap_segments in place of __munmap.
6457 Break out segment-mapping loop into ...
6458 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6460 2014-04-03 Will Newton <will.newton@linaro.org>
6462 * elf/dl-lookup.c (do_lookup_x): Remove comment
6463 referring to nested function and move variable
6464 declarations down to before first use.
6466 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6470 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6472 * math/s_catanf.c (__catanf): Likewise.
6473 * math/s_catanh.c (__catanh): Likewise.
6474 * math/s_catanhf.c (__catanhf): Likewise.
6475 * math/s_catanhl.c (__catanhl): Likewise.
6476 * math/s_catanl.c (__catanl): Likewise.
6477 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6478 by positive zero when computing -Inf result.
6479 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6480 (catanh_test): Likewise.
6481 * sysdeps/i386/fpu/libm-test-ulps: Update.
6482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6485 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6486 instead of using underflowing value in computing result.
6487 * math/s_clog10.c (__clog10): Likewise.
6488 * math/s_clog10f.c (__clog10f): Likewise.
6489 * math/s_clog10l.c (__clog10l): Likewise.
6490 * math/s_clogf.c (__clogf): Likewise.
6491 * math/s_clogl.c (__clogl): Likewise.
6492 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6493 (clog10_test): Likewise.
6494 * sysdeps/i386/fpu/libm-test-ulps: Update.
6495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6497 2014-04-02 Alan Modra <amodra@gmail.com>
6500 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6501 output when value is near a power of two. Use int64_t for lx and
6502 remove casts. Use decimal rather than hex exponent constants.
6503 Don't use long double multiplication when double will suffice.
6504 * math/libm-test.inc (nextafter_test_data): Add tests.
6505 * NEWS: Add 16739 and 16786 to bug list.
6507 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6509 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6511 2014-04-01 Will Newton <will.newton@linaro.org>
6513 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6514 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6516 2014-04-01 Florian Weimer <fweimer@redhat.com>
6519 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6520 * nptl/tst-setuid2.c: New file.
6521 * nptl/Makefile (xtests): Add tst-setuid2.
6523 2014-04-01 Alan Modra <amodra@gmail.com>
6526 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6528 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6532 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6533 set errno as appropriate.
6534 * math/w_scalbf.c (__scalbf): Likewise.
6535 * math/w_scalbl.c (__scalbl): Likewise.
6536 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6537 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6538 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6542 * math/w_atan2.c: Include <errno.h>.
6543 (__atan2): Set errno for result underflowing to zero.
6544 * math/w_atan2f.c: Include <errno.h>.
6545 (__atan2f): Set errno for result underflowing to zero.
6546 * math/w_atan2l.c: Include <errno.h>.
6547 (__atan2l): Set errno for result underflowing to zero.
6548 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6550 * math/auto-libm-test-out: Regenerated.
6552 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6554 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6555 Encode instruction correctly in little endian.
6556 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6558 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6560 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6562 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6565 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6568 * sysdeps/unix/sysv/linux/kernel-features.h
6569 [__sparc__ && !__arch64__ && !__sparc_v9__]
6570 (__ASSUME_SET_ROBUST_LIST): Do not define.
6571 [__sparc__ && !__arch64__ && !__sparc_v9__]
6572 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6573 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6575 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6576 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6577 (__ASSUME_REQUEUE_PI): Likewise.
6578 (__ASSUME_SET_ROBUST_LIST): Likewise.
6579 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6580 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6582 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6583 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6585 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6587 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6589 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6590 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6592 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6593 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6597 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6598 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6599 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6601 2014-03-31 Will Newton <will.newton@linaro.org>
6603 * benchtests/Makefile (bench): Add ffs and ffsll to list
6605 * benchtests/ffs-inputs: New file.
6606 * benchtests/ffsll-inputs: Likewise.
6608 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6611 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6612 too large before casting to int.
6613 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6614 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6615 * math/libm-test.inc (scalb_test_data): Add more tests.
6617 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6619 * benchtests/Makefile (DETAILED_OPT): New make option.
6620 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6622 * benchtests/bench-skeleton.c: Include stdbool.h.
6623 (main): Store and print timings per input.
6624 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6625 member to each argument value.
6626 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6627 (_print_arg_data): Initialize per-input timing to 0.
6629 * benchtests/Makefile (timing-type): New binary.
6630 (bench-clean): Also remove bench-timing-type.
6631 (bench): New target for timing-type.
6632 (bench-func): Print output in JSON format.
6633 * benchtests/bench-skeleton.c (main): Print output in JSON
6635 * benchtests/bench-timing-type.c: New file.
6636 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6637 (TIMING_PRINT_STATS): Remove.
6638 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6641 * benchtests/bench-modf.c: Remove.
6642 * benchtests/modf-inputs: New inputs file.
6644 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6647 * math/s_clog10.c (M_PI_LOG10E): New macro.
6648 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6649 imaginary parts are 0.
6650 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6651 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6652 imaginary parts are 0.
6653 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6654 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6655 imaginary parts are 0.
6656 * math/libm-test.inc (clog10_test_data): Update expected results
6657 for when real and imaginary parts are 0.
6659 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6661 * elf/dl-load.c: Finish conversion of __builtin_expect into
6664 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6667 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6668 1+x for argument with exponent below -67.
6669 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6671 * math/auto-libm-test-in: Add more tests of exp.
6672 * math/auto-libm-test-out: Regenerated.
6674 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6677 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6678 (nscd_getnetgrent): Use it.
6681 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6684 2014-03-27 Andi Kleen <ak@linux.intel.com>
6686 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6687 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6688 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6689 (lll_robust_unlock): Remove out of line section. Use cfi
6691 (LLL_STUB_UNWIND_INFO*): Remove.
6692 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6693 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6694 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6695 (lll_robust_unlock): Remove out of line section. Use cfi
6697 (LLL_STUB_UNWIND_INFO*): Remove.
6699 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6702 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6705 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6707 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6709 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6712 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6714 * math/test-fenv-preserve.c: New file.
6715 * math/Makefile (tests): Add test-fenv-preserve.
6717 2014-03-26 Will Newton <will.newton@linaro.org>
6719 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6721 2014-03-25 Roland McGrath <roland@hack.frob.com>
6723 * scripts/versionlist.awk: Partition the version sets and emit all
6724 GLIBC_* (sorted) before all others (sorted).
6726 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6728 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6729 GLIBC_2.2.5 version.
6731 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6733 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6736 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6741 2014-03-25 Andreas Schwab <schwab@suse.de>
6743 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6744 label to be used after in6ailist is initialized.
6746 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6748 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6749 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6751 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6755 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6757 (fp_formats): Update initializers.
6758 (init_fp_formats): Initialize new field.
6759 (output_for_one_input_case): Allow underflow for results up to
6761 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6762 * math/auto-libm-test-in: Don't mark some underflows from asin and
6764 * math/auto-libm-test-out: Regenerated.
6765 * sysdeps/i386/fpu/libm-test-ulps: Update.
6766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6768 2014-03-25 Andreas Schwab <schwab@suse.de>
6770 * libio/Makefile (tst-ftell-partial-wide-ENV)
6771 (tst-ftell-active-handler-ENV): Define.
6773 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6775 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6777 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6779 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6781 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6783 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6784 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6785 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6787 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6790 * elf/dl-load.c (open_verify): Add mode parameter.
6791 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6792 (open_path): Change from boolean 'secure' to complete flag 'mode'
6793 (_dl_map_object): Adjust.
6794 * elf/Makefile (tests): Add tst-dlopen-aout.
6795 * elf/tst-dlopen-aout.c: New test.
6797 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6800 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6801 (struct stat): Rename member pad0 to __glibc_reserved0.
6804 * sysdeps/s390/s390-32/bits/wordsize.h
6805 (__WORDSIZE32_SIZE_ULONG): New define.
6806 * sysdeps/s390/s390-64/bits/wordsize.h
6807 (__WORDSIZE32_SIZE_ULONG): Likewise.
6808 * sysdeps/generic/stdint.h (SIZE_MAX):
6809 Define as UL if __WORDSIZE32_SIZE_ULONG.
6812 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6813 (__glibc_reserved0): New variable.
6814 (sa_flags): Change type to int.
6816 * posix/Makefile (before-compile): Use += before-compile instead
6819 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6820 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6822 2014-03-20 Andreas Schwab <schwab@suse.de>
6825 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6826 non-matching result from nscd.
6828 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6830 * scripts/bench.py: Moved to ...
6831 * benchtests/scripts/bench.py: ... here.
6832 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6834 2014-03-24 Andreas Schwab <schwab@suse.de>
6837 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6838 alloca_account and account alloca use for struct in6ailist.
6840 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6843 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6844 rounding mode to recompute results that overflow to infinity or
6846 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6848 * math/auto-libm-test-out: Regenerated.
6849 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6850 (ccosh_test): Likewise.
6851 (csin_test_data): Use plus_oflow.
6852 (csin_test): Use ALL_RM_TEST.
6853 (csinh_test_data): Use plus_oflow.
6854 (csinh_test): Use ALL_RM_TEST.
6855 * sysdeps/i386/fpu/libm-test-ulps: Update.
6856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6858 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6860 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6861 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6862 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6865 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6867 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6868 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6869 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6870 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6872 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6873 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6875 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6876 * sysdeps/i386/fpu/libm-test-ulps: Update.
6877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6879 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6881 * scripts/bench.pl: Remove file.
6882 * scripts/bench.py: New benchmark script.
6883 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6884 * benchtests/README: Mention python dependency.
6885 * scripts/pylintrc: New file.
6886 * scripts/pylint: New file.
6888 * bits/mathdef.h: Use #ifdef instead of #if.
6889 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6890 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6891 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6892 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6893 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6894 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6896 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6897 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6899 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6901 and strpbrk-ppc64 objects.
6902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6903 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6904 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6905 multiarch strpbrk for POWER7.
6906 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6907 multiarch strpbrk for PPC64.
6908 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6910 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6913 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6915 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6916 (atan_test): Likewise.
6917 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6918 (atanh_test): Use ALL_RM_TEST.
6919 (atan2_test_data): Likewise.
6920 (cabs_test): Likewise.
6921 (cacosh_test): Likewise.
6922 (carg_test): Likewise.
6923 (casin_test): Likewise.
6924 (casinh_test): Likewise.
6925 (cbrt_test): Likewise.
6926 (csqrt_test): Likewise.
6927 (erf_test): Likewise.
6928 (erfc_test): Likewise.
6929 (pow10_test): Likewise.
6930 (exp2_test): Likewise.
6931 (hypot_test): Likewise.
6932 (j0_test): Likewise.
6933 (j1_test): Likewise.
6934 (lgamma_test): Likewise.
6935 (gamma_test): Likewise.
6936 (sincos_test): Likewise.
6937 (tanh_test): Likewise.
6938 (y0_test): Likewise.
6939 (y1_test): Likewise.
6940 * sysdeps/i386/fpu/libm-test-ulps: Update.
6941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6943 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6945 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6947 and strcspn-ppc64 objects.
6948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6949 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6950 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6951 multiarch strcspn for POWER7.
6952 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6953 multiarch strcspn for PPC64.
6954 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6956 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6959 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6961 * math/gen-libm-test.pl (generate_testfile): Expect only function
6962 name as argument to AUTO_TESTS_* and pass results for all rounding
6963 modes to parse_args.
6964 (parse_auto_input): Separate inputs of automatic tests from
6965 outputs before storing in %auto_tests.
6966 * math/libm-test.inc (acos_test_data): Update call to
6968 (acos_test): Use ALL_RM_TEST.
6969 (acos_tonearest_test_data): Remove.
6970 (acos_test_tonearest): Likewise.
6971 (acos_towardzero_test_data): Likewise.
6972 (acos_test_towardzero): Likewise.
6973 (acos_downward_test_data): Likewise.
6974 (acos_test_downward): Likewise.
6975 (acos_upward_test_data): Likewise.
6976 (acos_test_upward): Likewise.
6977 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6978 (asin_test_data): Likewise.
6979 (asin_test): Use ALL_RM_TEST.
6980 (asin_tonearest_test_data): Remove.
6981 (asin_test_tonearest): Likewise.
6982 (asin_towardzero_test_data): Likewise.
6983 (asin_test_towardzero): Likewise.
6984 (asin_downward_test_data): Likewise.
6985 (asin_test_downward): Likewise.
6986 (asin_upward_test_data): Likewise.
6987 (asin_test_upward): Likewise.
6988 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6989 (atan_test_data): Likewise.
6990 (atanh_test_data): Likewise.
6991 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6992 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6993 (carg_test_data): Likewise.
6994 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6995 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6996 (ccosh_test_data): Likewise.
6997 (cexp_test_data): Likewise.
6998 (clog_test_data): Likewise.
6999 (clog10_test_data): Likewise.
7000 (cos_test_data): Update call to AUTO_TESTS_f_f.
7001 (cos_test): Use ALL_RM_TEST.
7002 (cos_tonearest_test_data): Remove.
7003 (cos_test_tonearest): Likewise.
7004 (cos_towardzero_test_data): Likewise.
7005 (cos_test_towardzero): Likewise.
7006 (cos_downward_test_data): Likewise.
7007 (cos_test_downward): Likewise.
7008 (cos_upward_test_data): Likewise.
7009 (cos_test_upward): Likewise.
7010 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7011 (cosh_test): Use ALL_RM_TEST.
7012 (cosh_tonearest_test_data): Remove.
7013 (cosh_test_tonearest): Likewise.
7014 (cosh_towardzero_test_data): Likewise.
7015 (cosh_test_towardzero): Likewise.
7016 (cosh_downward_test_data): Likewise.
7017 (cosh_test_downward): Likewise.
7018 (cosh_upward_test_data): Likewise.
7019 (cosh_test_upward): Likewise.
7020 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7021 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7022 (ctan_test_data): Likewise.
7023 (ctan_test): Use ALL_RM_TEST.
7024 (ctan_tonearest_test_data): Remove.
7025 (ctan_test_tonearest): Likewise.
7026 (ctan_towardzero_test_data): Likewise.
7027 (ctan_test_towardzero): Likewise.
7028 (ctan_downward_test_data): Likewise.
7029 (ctan_test_downward): Likewise.
7030 (ctan_upward_test_data): Likewise.
7031 (ctan_test_upward): Likewise.
7032 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7033 (ctanh_test): Use ALL_RM_TEST.
7034 (ctanh_tonearest_test_data): Remove.
7035 (ctanh_test_tonearest): Likewise.
7036 (ctanh_towardzero_test_data): Likewise.
7037 (ctanh_test_towardzero): Likewise.
7038 (ctanh_downward_test_data): Likewise.
7039 (ctanh_test_downward): Likewise.
7040 (ctanh_upward_test_data): Likewise.
7041 (ctanh_test_upward): Likewise.
7042 (erf_test_data): Update call to AUTO_TESTS_f_f.
7043 (erfc_test_data): Likewise.
7044 (exp_test_data): Likewise.
7045 (exp_test): Use ALL_RM_TEST.
7046 (exp_tonearest_test_data): Remove.
7047 (exp_test_tonearest): Likewise.
7048 (exp_towardzero_test_data): Likewise.
7049 (exp_test_towardzero): Likewise.
7050 (exp_downward_test_data): Likewise.
7051 (exp_test_downward): Likewise.
7052 (exp_upward_test_data): Likewise.
7053 (exp_test_upward): Likewise.
7054 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7055 (exp10_test): Use ALL_RM_TEST.
7056 (exp10_tonearest_test_data): Remove.
7057 (exp10_test_tonearest): Likewise.
7058 (exp10_towardzero_test_data): Likewise.
7059 (exp10_test_towardzero): Likewise.
7060 (exp10_downward_test_data): Likewise.
7061 (exp10_test_downward): Likewise.
7062 (exp10_upward_test_data): Likewise.
7063 (exp10_test_upward): Likewise.
7064 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7065 (expm1_test_data): Likewise.
7066 (expm1_test): Use ALL_RM_TEST.
7067 (expm1_tonearest_test_data): Remove.
7068 (expm1_test_tonearest): Likewise.
7069 (expm1_towardzero_test_data): Likewise.
7070 (expm1_test_towardzero): Likewise.
7071 (expm1_downward_test_data): Likewise.
7072 (expm1_test_downward): Likewise.
7073 (expm1_upward_test_data): Likewise.
7074 (expm1_test_upward): Likewise.
7075 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7076 (fma_test): Use ALL_RM_TEST.
7077 (fma_towardzero_test_data): Remove.
7078 (fma_test_towardzero): Likewise.
7079 (fma_downward_test_data): Likewise.
7080 (fma_test_downward): Likewise.
7081 (fma_upward_test_data): Likewise.
7082 (fma_test_upward): Likewise.
7083 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7084 (j0_test_data): Update call to AUTO_TESTS_f_f.
7085 (j1_test_data): Likewise.
7086 (jn_test_data): Update call to AUTO_TESTS_if_f.
7087 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7088 (log_test_data): Update call to AUTO_TESTS_f_f.
7089 (log10_test_data): Likewise.
7090 (log1p_test_data): Likewise.
7091 (log2_test_data): Likewise.
7092 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7093 (pow_tonearest_test_data): Likewise.
7094 (sin_test_data): Update call to AUTO_TESTS_f_f.
7095 (sin_test): Use ALL_RM_TEST.
7096 (sin_tonearest_test_data): Remove.
7097 (sin_test_tonearest): Likewise.
7098 (sin_towardzero_test_data): Likewise.
7099 (sin_test_towardzero): Likewise.
7100 (sin_downward_test_data): Likewise.
7101 (sin_test_downward): Likewise.
7102 (sin_upward_test_data): Likewise.
7103 (sin_test_upward): Likewise.
7104 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7105 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7106 (sinh_test): Use ALL_RM_TEST.
7107 (sinh_tonearest_test_data): Remove.
7108 (sinh_test_tonearest): Likewise.
7109 (sinh_towardzero_test_data): Likewise.
7110 (sinh_test_towardzero): Likewise.
7111 (sinh_downward_test_data): Likewise.
7112 (sinh_test_downward): Likewise.
7113 (sinh_upward_test_data): Likewise.
7114 (sinh_test_upward): Likewise.
7115 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7116 (sqrt_test): Use ALL_RM_TEST.
7117 (sqrt_tonearest_test_data): Remove.
7118 (sqrt_test_tonearest): Likewise.
7119 (sqrt_towardzero_test_data): Likewise.
7120 (sqrt_test_towardzero): Likewise.
7121 (sqrt_downward_test_data): Likewise.
7122 (sqrt_test_downward): Likewise.
7123 (sqrt_upward_test_data): Likewise.
7124 (sqrt_test_upward): Likewise.
7125 (tan_test_data): Update call to AUTO_TESTS_f_f.
7126 (tan_test): Use ALL_RM_TEST.
7127 (tan_tonearest_test_data): Remove.
7128 (tan_test_tonearest): Likewise.
7129 (tan_towardzero_test_data): Likewise.
7130 (tan_test_towardzero): Likewise.
7131 (tan_downward_test_data): Likewise.
7132 (tan_test_downward): Likewise.
7133 (tan_upward_test_data): Likewise.
7134 (tan_test_upward): Likewise.
7135 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7136 (tgamma_test_data): Likewise.
7137 (y0_test_data): Likewise.
7138 (y1_test_data): Likewise.
7139 (yn_test_data): Update call to AUTO_TESTS_if_f.
7140 (main): Do not call removed functions.
7142 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7144 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7145 (ldexp_test_data): Remove.
7146 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7148 (scalb_test): Use ALL_RM_TEST.
7150 2014-03-19 Andreas Schwab <schwab@suse.de>
7152 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7154 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7157 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7158 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7159 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7160 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7161 (__ASSUME_PREADV): Undefine.
7162 (__ASSUME_PWRITEV): Likewise.
7164 2014-03-18 Roland McGrath <roland@hack.frob.com>
7166 * bits/mman-linux.h: Add comment about non-Linux use.
7167 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7168 bits/mman-linux.h resting place.
7170 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7171 * bits/mman-linux.h: ... here.
7173 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7175 * conform/conformtest.pl: Add standard definition when calling C
7176 preprocessor on data files.
7177 (checknamespace): Remove unused variable.
7179 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7181 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7182 minus_oflow, plus_uflow and minus_uflow in expected results.
7183 * math/libm-test.inc (scalbn_test_data): Add more tests of
7184 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7186 (scalbn_test): Use ALL_RM_TEST.
7187 (scalbln_test_data): Add more tests of negative arguments. Use
7188 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7189 (scalbln_test): Use ALL_RM_TEST.
7191 2014-03-18 Roland McGrath <roland@hack.frob.com>
7193 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7195 2014-03-18 Will Newton <will.newton@linaro.org>
7197 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7200 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7202 * Makerules [!subdir] (check-abi): Exit with error status if a
7205 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7207 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7208 for rint. Include results for all rounding modes.
7209 (nearbyint_test): Use ALL_RM_TEST.
7210 (rint_test_data): Include all tests used for nearbyint.
7212 2014-03-17 Will Newton <will.newton@linaro.org>
7214 * nptl/sysdeps/pthread/pthread.h: Revert previous
7217 * sysdeps/generic/ldsodefs.h: Revert previous
7220 * libio/genops.c: Revert previous change.
7221 * libio/libioP.h: Likewise.
7222 * stdio-common/vfprintf.c: Likewise.
7224 * sysdeps/generic/math_private.h: Revert previous
7227 * sysdeps/generic/math_private.h: Check whether
7228 HAVE_RM_CTX is defined with #ifdef rather
7231 * argp/argp-fmtstream.h: Check whether
7232 __STRICT_ANSI__ is defined with #ifdef rather
7234 * argp/argp.h: Likewise.
7236 * libio/genops.c: Check whether
7237 _IO_JUMPS_OFFSET is defined with #ifdef rather
7239 * libio/libioP.h: Likewise.
7240 * stdio-common/vfprintf.c: Likewise.
7242 * sysdeps/generic/ldsodefs.h: Check whether
7243 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7246 * nptl/sysdeps/pthread/pthread.h: Check
7247 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7250 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7252 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7254 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7258 * libio/fileops.c (_IO_file_open): Seek to end of file but
7259 don't cache the offset.
7260 (get_file_offset): Remove function.
7261 (do_ftell): Use cached offset when available.
7262 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7263 don't cache the offset.
7264 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7266 (do_one_test): Call it.
7267 (do_ftell_test): Fix up expected old offset for a+ mode.
7268 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7271 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7272 up test status with function return status.
7273 (do_write_test): Likewise.
7274 (do_append_test): Likewise.
7276 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7277 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7280 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7282 * math/gen-libm-test.pl (parse_args): Handle results specified for
7283 each rounding mode separately.
7284 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7285 tests and results from lrint_tonearest_test_data,
7286 lrint_towardzero_test_data, lrint_downward_test_data and
7287 lrint_upward_test_data.
7288 (lrint_test): Use ALL_RM_TEST.
7289 (lrint_tonearest_test_data): Remove.
7290 (lrint_test_tonearest): Likewise.
7291 (lrint_towardzero_test_data): Likewise.
7292 (lrint_test_towardzero): Likewise.
7293 (lrint_downward_test_data): Likewise.
7294 (lrint_test_downward): Likewise.
7295 (lrint_upward_test_data): Likewise.
7296 (lrint_test_upward): Likewise.
7297 (llrint_test_data): Merge in per-rounding-mode tests and results
7298 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7299 llrint_downward_test_data and llrint_upward_test_data.
7300 (llrint_test): Use ALL_RM_TEST.
7301 (llrint_tonearest_test_data): Remove.
7302 (llrint_test_tonearest): Likewise.
7303 (llrint_towardzero_test_data): Likewise.
7304 (llrint_test_towardzero): Likewise.
7305 (llrint_downward_test_data): Likewise.
7306 (llrint_test_downward): Likewise.
7307 (llrint_upward_test_data): Likewise.
7308 (llrint_test_upward): Likewise.
7309 (rint_test_data): Merge in per-rounding-mode tests and results
7310 from rint_tonearest_test_data, rint_towardzero_test_data,
7311 rint_downward_test_data and rint_upward_test_data. Add
7312 per-rounding-mode results for tests not in those arrays.
7313 (rint_test): Use ALL_RM_TEST.
7314 (rint_tonearest_test_data): Remove.
7315 (rint_test_tonearest): Likewise.
7316 (rint_towardzero_test_data): Likewise.
7317 (rint_test_towardzero): Likewise.
7318 (rint_downward_test_data): Likewise.
7319 (rint_test_downward): Likewise.
7320 (rint_upward_test_data): Likewise.
7321 (rint_test_upward): Likewise.
7322 (main): Don't call removed functions.
7324 2014-03-14 Roland McGrath <roland@hack.frob.com>
7326 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7327 "Compiled on ..." crapola. It is anti-useful.
7329 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7331 * scripts/evaluate-test.sh: Handle fourth argument to determine
7332 whether test run should stop on failure.
7333 * Makeconfig (stop-on-test-failure): New variable.
7334 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7335 $(stop-on-test-failure).
7336 * Makefile (tests): Give a summary of results from testing and
7337 exit with failure status if they include an ERROR or FAIL.
7339 * manual/install.texi (Configuring and compiling): Mention
7340 stop-on-test-failure=y.
7341 * INSTALL: Regenerated.
7343 2014-03-14 Roland McGrath <roland@hack.frob.com>
7345 * scripts/versionlist.awk: New file.
7346 * Makerules [$(build-shared) = yes]
7347 (postclean-generated): Add Versions.def, not Versions.def.v and
7349 ($(common-objpfx)Versions.def.v.i): Target removed.
7350 ($(common-objpfx)Versions.def): New target.
7351 ($(common-objpfx)Versions.all): Depend on that rather that
7352 $(common-objpfx)Versions.def.v.
7353 * Versions.def: File removed.
7355 * Makeconfig (+gccwarn): Add -Wundef.
7356 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7357 a dl-sysdep.h breaking its contract.
7358 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7359 * include/stackinfo.h: New file.
7360 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7361 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7362 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7363 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7364 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7365 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7366 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7367 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7368 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7369 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7370 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7371 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7372 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7373 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7374 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7376 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7379 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7381 * math/libm-test.inc (round_test_data): Add more tests.
7384 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7386 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7389 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7391 * math/libm-test.inc (ceil_test_data): Add more tests.
7393 * math/libm-test.inc (trunc_test_data): Add more tests related to
7396 2014-03-14 Roland McGrath <roland@hack.frob.com>
7398 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7399 with #if rather than #ifdef.
7400 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7402 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7404 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7405 first. Disable AVX-512 GCC support if assembler doesn't support
7407 * sysdeps/x86_64/configure: Regenerated.
7409 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7411 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7412 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7413 (__old_pthread_attr_setstack): Likewise.
7414 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7415 [!_STACK_GROWS_DOWN]: Likewise.
7417 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7419 * config.make.in (have-bash2): Delete.
7420 * configure.ac (libc_cv_have_bash2): Delete.
7421 * configure: Regenerate.
7422 * elf/Makefile (common-ldd-rewrite): Rename to ...
7423 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7424 (sh-ldd-rewrite): Delete.
7425 (bash-ldd-rewrite): Delete.
7426 (have-bash2): Delete checks.
7427 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7430 * config.make.in (have-ksh): Delete.
7432 * configure.ac (libc_cv_have_ksh): Delete.
7433 * configure: Regenerate.
7435 * elf/Makefile: Delete $(have-ksh) check.
7436 ($(objpfx)sotruss): Change KSH to BASH.
7437 * elf/sotruss.ksh: Rename to ...
7438 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7439 function style to match POSIX. Drop ksh vim mode setting.
7441 * manual/time.texi (Specifying the Time Zone with TZ): Change
7442 Tuesday to Thursday.
7444 * debug/tst-longjmp_chk2.c: Update header comment.
7445 (stackoverflow_handler): Add comment. Call assert on pass value.
7447 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7449 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7450 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7451 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7452 (La_x86_64_vector): Add zmm.
7453 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7454 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7455 ($(objpfx)tst-audit10): New target.
7456 ($(objpfx)tst-audit10.out): Likewise.
7457 (tst-audit10-ENV): New.
7458 (AVX512-CFLAGS): Likewise.
7459 (CFLAGS-tst-audit10.c): Likewise.
7460 (CFLAGS-tst-auditmod10a.c): Likewise.
7461 (CFLAGS-tst-auditmod10b.c): Likewise.
7462 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7463 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7464 * sysdeps/x86_64/configure: Regenerated.
7465 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7466 AVX-512 zmm register support.
7467 (_dl_x86_64_save_sse): Likewise.
7468 (_dl_x86_64_restore_sse): Likewise.
7469 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7470 size vector registers.
7471 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7472 (ZMM_SIZE): Likewise.
7473 * sysdeps/x86_64/tst-audit10.c: New file.
7474 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7475 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7477 2014-03-13 Roland McGrath <roland@hack.frob.com>
7479 * configure.ac (HAVE_EHDR_START): New check.
7480 * configure: Regenerated.
7481 * config.h.in (HAVE_EHDR_START): New #undef.
7482 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7483 assuming the lowest-addressed segment maps the start of the file.
7485 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7487 * INSTALL: Regenerated.
7489 2014-03-13 Will Newton <will.newton@linaro.org>
7491 * manual/setjmp.texi (System V contexts): Improve
7492 clarity and grammar of documentation.
7494 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7497 * elf/Makefile (tests): Add tst-pie2.
7498 (tests-pie): Add tst-pie2.
7499 * elf/tst-pie2.c: New file.
7500 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7502 * elf/rtld.c (map_doit): Load executable as lt_executable.
7503 (dl_main): Likewise.
7505 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7508 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7509 (__ASSUME_PSELECT): Undefine.
7511 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7514 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7515 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7517 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7518 selector for static builds.
7520 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7523 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7526 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7528 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7529 IFUNC selector for static builds.
7531 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7533 * sysdeps/mips/math_private.h [__mips_hard_float]
7534 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7535 libc_feresetround_mips_ctx.
7536 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7537 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7538 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7541 * math/s_nextafter.c (__nextafter): Do not return value from
7542 overflowing computation.
7543 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7544 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7545 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7547 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7549 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7550 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7552 2014-03-11 Roland McGrath <roland@hack.frob.com>
7554 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7555 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7556 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7557 the new mov targetting sp.
7559 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7562 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7563 Define it for static builds as well.
7564 (NO_BZERO_IMPL): Likewise.
7566 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7568 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7569 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7570 multiarch strspn for PPC64.
7571 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7572 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7574 (__libc_ifunc_impl_list): Likewise.
7575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7576 multiarch optimizations
7577 * string/strspn.c (strspn): Using macro to redefine symbol name.
7579 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7580 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7582 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7583 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7584 multiarch strncat for PPC64.
7585 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7586 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7588 (__libc_ifunc_impl_list): Likewise.
7589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7590 multiarch optimizations
7592 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7595 * nscd/nscd.service: Make service type forking.
7597 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7599 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7600 sign in non default rounding modes.
7601 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7603 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7605 * math/libm-test.inc (ALL_RM_TEST): New macro.
7606 (ceil_test): Use ALL_RM_TEST.
7607 (cimag_test): Likewise.
7608 (conj_test): Likewise.
7609 (copysign_test): Likewise.
7610 (cproj_test): Likewise.
7611 (creal_test): Likewise.
7612 (fabs_test): Likewise.
7613 (floor_test): Likewise.
7614 (fmax_test): Likewise.
7615 (fmin_test): Likewise.
7616 (fmod_test): Likewise.
7617 (fpclassify_test): Likewise.
7618 (frexp_test): Likewise.
7619 (ilogb_test): Likewise.
7620 (isfinite_test): Likewise.
7621 (finite_test): Likewise.
7622 (isgreater_test): Likewise.
7623 (isgreaterequal_test): Likewise.
7624 (isinf_test): Likewise.
7625 (isless_test): Likewise.
7626 (islessequal_test): Likewise.
7627 (islessgreater_test): Likewise.
7628 (isnan_test): Likewise.
7629 (isnormal_test): Likewise.
7630 (issignaling_test): Likewise.
7631 (isunordered_test): Likewise.
7632 (logb_test): Likewise.
7633 (logb_downward_test_data): Remove.
7634 (logb_test_downward): Likewise.
7635 (lround_test): Use ALL_RM_TEST.
7636 (llround_test): Likewise.
7637 (modf_test): Likewise.
7638 (nexttoward_test): Likewise.
7639 (remainder_test): Likewise.
7640 (drem_test): Likewise.
7641 (remainder_tonearest_test_data): Likewise.
7642 (remainder_test_tonearest): Likewise.
7643 (drem_test_tonearest): Likewise.
7644 (remainder_towardzero_test_data): Likewise.
7645 (remainder_test_towardzero): Likewise.
7646 (drem_test_towardzero): Likewise.
7647 (remainder_downward_test_data): Likewise.
7648 (remainder_test_downward): Likewise.
7649 (drem_test_downward): Likewise.
7650 (remainder_upward_test_data): Likewise.
7651 (remainder_test_upward): Likewise.
7652 (drem_test_upward): Likewise.
7653 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7654 (round_test): Use ALL_RM_TEST.
7655 (signbit_test): Likewise.
7656 (trunc_test): Likewise.
7657 (significand_test): Likewise.
7658 (main): Don't call removed functions.
7660 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7663 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7665 (ILL_ILLOPN): Likewise.
7666 (ILL_ILLADR): Likewise.
7667 (ILL_ILLTRP): Likewise.
7668 (ILL_PRVOPC): Likewise.
7669 (ILL_PRVREG): Likewise.
7670 (ILL_COPROC): Likewise.
7671 (ILL_BADSTK): Likewise.
7672 (FPE_INTDIV): Likewise.
7673 (FPE_INTOVF): Likewise.
7674 (FPE_FLTDIV): Likewise.
7675 (FPE_FLTOVF): Likewise.
7676 (FPE_FLTUND): Likewise.
7677 (FPE_FLTRES): Likewise.
7678 (FPE_FLTINV): Likewise.
7679 (FPE_FLTSUB): Likewise.
7680 (SEGV_MAPERR): Likewise.
7681 (SEGV_ACCERR): Likewise.
7682 (BUS_ADRALN): Likewise.
7683 (BUS_ADRERR): Likewise.
7684 (BUS_OBJERR): Likewise.
7685 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7686 (TRAP_TRACE): Likewise.
7687 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7689 (CLD_KILLED): Likewise.
7690 (CLD_DUMPED): Likewise.
7691 (CLD_TRAPPED): Likewise.
7692 (CLD_STOPPED): Likewise.
7693 (CLD_CONTINUED): Likewise.
7694 (POLL_IN): Likewise.
7695 (POLL_OUT): Likewise.
7696 (POLL_MSG): Likewise.
7697 (POLL_ERR): Likewise.
7698 (POLL_PRI): Likewise.
7699 (POLL_HUP): Likewise.
7700 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7702 (ILL_ILLOPN): Likewise.
7703 (ILL_ILLADR): Likewise.
7704 (ILL_ILLTRP): Likewise.
7705 (ILL_PRVOPC): Likewise.
7706 (ILL_PRVREG): Likewise.
7707 (ILL_COPROC): Likewise.
7708 (ILL_BADSTK): Likewise.
7709 (FPE_INTDIV): Likewise.
7710 (FPE_INTOVF): Likewise.
7711 (FPE_FLTDIV): Likewise.
7712 (FPE_FLTOVF): Likewise.
7713 (FPE_FLTUND): Likewise.
7714 (FPE_FLTRES): Likewise.
7715 (FPE_FLTINV): Likewise.
7716 (FPE_FLTSUB): Likewise.
7717 (SEGV_MAPERR): Likewise.
7718 (SEGV_ACCERR): Likewise.
7719 (BUS_ADRALN): Likewise.
7720 (BUS_ADRERR): Likewise.
7721 (BUS_OBJERR): Likewise.
7722 (BUS_MCEERR_AR): Likewise.
7723 (BUS_MCEERR_AO): Likewise.
7724 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7725 (TRAP_TRACE): Likewise.
7726 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7728 (CLD_KILLED): Likewise.
7729 (CLD_DUMPED): Likewise.
7730 (CLD_TRAPPED): Likewise.
7731 (CLD_STOPPED): Likewise.
7732 (CLD_CONTINUED): Likewise.
7733 (POLL_IN): Likewise.
7734 (POLL_OUT): Likewise.
7735 (POLL_MSG): Likewise.
7736 (POLL_ERR): Likewise.
7737 (POLL_PRI): Likewise.
7738 (POLL_HUP): Likewise.
7739 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7740 (ILL_ILLOPN): Likewise.
7741 (ILL_ILLADR): Likewise.
7742 (ILL_ILLTRP): Likewise.
7743 (ILL_PRVOPC): Likewise.
7744 (ILL_PRVREG): Likewise.
7745 (ILL_COPROC): Likewise.
7746 (ILL_BADSTK): Likewise.
7747 (FPE_INTDIV): Likewise.
7748 (FPE_INTOVF): Likewise.
7749 (FPE_FLTDIV): Likewise.
7750 (FPE_FLTOVF): Likewise.
7751 (FPE_FLTUND): Likewise.
7752 (FPE_FLTRES): Likewise.
7753 (FPE_FLTINV): Likewise.
7754 (FPE_FLTSUB): Likewise.
7755 (SEGV_MAPERR): Likewise.
7756 (SEGV_ACCERR): Likewise.
7757 (BUS_ADRALN): Likewise.
7758 (BUS_ADRERR): Likewise.
7759 (BUS_OBJERR): Likewise.
7760 (BUS_MCEERR_AR): Likewise.
7761 (BUS_MCEERR_AO): Likewise.
7762 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7763 (TRAP_TRACE): Likewise.
7764 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7766 (CLD_KILLED): Likewise.
7767 (CLD_DUMPED): Likewise.
7768 (CLD_TRAPPED): Likewise.
7769 (CLD_STOPPED): Likewise.
7770 (CLD_CONTINUED): Likewise.
7771 (POLL_IN): Likewise.
7772 (POLL_OUT): Likewise.
7773 (POLL_MSG): Likewise.
7774 (POLL_ERR): Likewise.
7775 (POLL_PRI): Likewise.
7776 (POLL_HUP): Likewise.
7777 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7779 (ILL_ILLOPN): Likewise.
7780 (ILL_ILLADR): Likewise.
7781 (ILL_ILLTRP): Likewise.
7782 (ILL_PRVOPC): Likewise.
7783 (ILL_PRVREG): Likewise.
7784 (ILL_COPROC): Likewise.
7785 (ILL_BADSTK): Likewise.
7786 (ILL_BADIADDR): Likewise.
7787 (ILL_BREAK): Likewise.
7788 (FPE_INTDIV): Likewise.
7789 (FPE_INTOVF): Likewise.
7790 (FPE_FLTDIV): Likewise.
7791 (FPE_FLTOVF): Likewise.
7792 (FPE_FLTUND): Likewise.
7793 (FPE_FLTRES): Likewise.
7794 (FPE_FLTINV): Likewise.
7795 (FPE_FLTSUB): Likewise.
7796 (FPE_DECOVF): Likewise.
7797 (FPE_DECDIV): Likewise.
7798 (FPE_DECERR): Likewise.
7799 (FPE_INVASC): Likewise.
7800 (FPE_INVDEC): Likewise.
7801 (SEGV_MAPERR): Likewise.
7802 (SEGV_ACCERR): Likewise.
7803 (SEGV_PSTKOVF): Likewise.
7804 (BUS_ADRALN): Likewise.
7805 (BUS_ADRERR): Likewise.
7806 (BUS_OBJERR): Likewise.
7807 (BUS_MCEERR_AR): Likewise.
7808 (BUS_MCEERR_AO): Likewise.
7809 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7810 (TRAP_TRACE): Likewise.
7811 (TRAP_BRANCH): Likewise.
7812 (TRAP_HWBKPT): Likewise.
7813 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7815 (CLD_KILLED): Likewise.
7816 (CLD_DUMPED): Likewise.
7817 (CLD_TRAPPED): Likewise.
7818 (CLD_STOPPED): Likewise.
7819 (CLD_CONTINUED): Likewise.
7820 (POLL_IN): Likewise.
7821 (POLL_OUT): Likewise.
7822 (POLL_MSG): Likewise.
7823 (POLL_ERR): Likewise.
7824 (POLL_PRI): Likewise.
7825 (POLL_HUP): Likewise.
7826 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7827 (ILL_ILLOPN): Likewise.
7828 (ILL_ILLADR): Likewise.
7829 (ILL_ILLTRP): Likewise.
7830 (ILL_PRVOPC): Likewise.
7831 (ILL_PRVREG): Likewise.
7832 (ILL_COPROC): Likewise.
7833 (ILL_BADSTK): Likewise.
7834 (FPE_INTDIV): Likewise.
7835 (FPE_INTOVF): Likewise.
7836 (FPE_FLTDIV): Likewise.
7837 (FPE_FLTOVF): Likewise.
7838 (FPE_FLTUND): Likewise.
7839 (FPE_FLTRES): Likewise.
7840 (FPE_FLTINV): Likewise.
7841 (FPE_FLTSUB): Likewise.
7842 (SEGV_MAPERR): Likewise.
7843 (SEGV_ACCERR): Likewise.
7844 (BUS_ADRALN): Likewise.
7845 (BUS_ADRERR): Likewise.
7846 (BUS_OBJERR): Likewise.
7847 (BUS_MCEERR_AR): Likewise.
7848 (BUS_MCEERR_AO): Likewise.
7849 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7850 (TRAP_TRACE): Likewise.
7851 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7853 (CLD_KILLED): Likewise.
7854 (CLD_DUMPED): Likewise.
7855 (CLD_TRAPPED): Likewise.
7856 (CLD_STOPPED): Likewise.
7857 (CLD_CONTINUED): Likewise.
7858 (POLL_IN): Likewise.
7859 (POLL_OUT): Likewise.
7860 (POLL_MSG): Likewise.
7861 (POLL_ERR): Likewise.
7862 (POLL_PRI): Likewise.
7863 (POLL_HUP): Likewise.
7864 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7865 (ILL_ILLOPN): Likewise.
7866 (ILL_ILLADR): Likewise.
7867 (ILL_ILLTRP): Likewise.
7868 (ILL_PRVOPC): Likewise.
7869 (ILL_PRVREG): Likewise.
7870 (ILL_COPROC): Likewise.
7871 (ILL_BADSTK): Likewise.
7872 (FPE_INTDIV): Likewise.
7873 (FPE_INTOVF): Likewise.
7874 (FPE_FLTDIV): Likewise.
7875 (FPE_FLTOVF): Likewise.
7876 (FPE_FLTUND): Likewise.
7877 (FPE_FLTRES): Likewise.
7878 (FPE_FLTINV): Likewise.
7879 (FPE_FLTSUB): Likewise.
7880 (SEGV_MAPERR): Likewise.
7881 (SEGV_ACCERR): Likewise.
7882 (BUS_ADRALN): Likewise.
7883 (BUS_ADRERR): Likewise.
7884 (BUS_OBJERR): Likewise.
7885 (BUS_MCEERR_AR): Likewise.
7886 (BUS_MCEERR_AO): Likewise.
7887 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7888 (TRAP_TRACE): Likewise.
7889 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7891 (CLD_KILLED): Likewise.
7892 (CLD_DUMPED): Likewise.
7893 (CLD_TRAPPED): Likewise.
7894 (CLD_STOPPED): Likewise.
7895 (CLD_CONTINUED): Likewise.
7896 (POLL_IN): Likewise.
7897 (POLL_OUT): Likewise.
7898 (POLL_MSG): Likewise.
7899 (POLL_ERR): Likewise.
7900 (POLL_PRI): Likewise.
7901 (POLL_HUP): Likewise.
7902 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7903 (ILL_ILLOPN): Likewise.
7904 (ILL_ILLADR): Likewise.
7905 (ILL_ILLTRP): Likewise.
7906 (ILL_PRVOPC): Likewise.
7907 (ILL_PRVREG): Likewise.
7908 (ILL_COPROC): Likewise.
7909 (ILL_BADSTK): Likewise.
7910 (FPE_INTDIV): Likewise.
7911 (FPE_INTOVF): Likewise.
7912 (FPE_FLTDIV): Likewise.
7913 (FPE_FLTOVF): Likewise.
7914 (FPE_FLTUND): Likewise.
7915 (FPE_FLTRES): Likewise.
7916 (FPE_FLTINV): Likewise.
7917 (FPE_FLTSUB): Likewise.
7918 (SEGV_MAPERR): Likewise.
7919 (SEGV_ACCERR): Likewise.
7920 (BUS_ADRALN): Likewise.
7921 (BUS_ADRERR): Likewise.
7922 (BUS_OBJERR): Likewise.
7923 (BUS_MCEERR_AR): Likewise.
7924 (BUS_MCEERR_AO): Likewise.
7925 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7926 (TRAP_TRACE): Likewise.
7927 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7929 (CLD_KILLED): Likewise.
7930 (CLD_DUMPED): Likewise.
7931 (CLD_TRAPPED): Likewise.
7932 (CLD_STOPPED): Likewise.
7933 (CLD_CONTINUED): Likewise.
7934 (POLL_IN): Likewise.
7935 (POLL_OUT): Likewise.
7936 (POLL_MSG): Likewise.
7937 (POLL_ERR): Likewise.
7938 (POLL_PRI): Likewise.
7939 (POLL_HUP): Likewise.
7940 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7941 (ILL_ILLOPN): Likewise.
7942 (ILL_ILLADR): Likewise.
7943 (ILL_ILLTRP): Likewise.
7944 (ILL_PRVOPC): Likewise.
7945 (ILL_PRVREG): Likewise.
7946 (ILL_COPROC): Likewise.
7947 (ILL_BADSTK): Likewise.
7948 (ILL_DBLFLT): Likewise.
7949 (ILL_HARDWALL): Likewise.
7950 (FPE_INTDIV): Likewise.
7951 (FPE_INTOVF): Likewise.
7952 (FPE_FLTDIV): Likewise.
7953 (FPE_FLTOVF): Likewise.
7954 (FPE_FLTUND): Likewise.
7955 (FPE_FLTRES): Likewise.
7956 (FPE_FLTINV): Likewise.
7957 (FPE_FLTSUB): Likewise.
7958 (SEGV_MAPERR): Likewise.
7959 (SEGV_ACCERR): Likewise.
7960 (BUS_ADRALN): Likewise.
7961 (BUS_ADRERR): Likewise.
7962 (BUS_OBJERR): Likewise.
7963 (BUS_MCEERR_AR): Likewise.
7964 (BUS_MCEERR_AO): Likewise.
7965 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7966 (TRAP_TRACE): Likewise.
7967 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7969 (CLD_KILLED): Likewise.
7970 (CLD_DUMPED): Likewise.
7971 (CLD_TRAPPED): Likewise.
7972 (CLD_STOPPED): Likewise.
7973 (CLD_CONTINUED): Likewise.
7974 (POLL_IN): Likewise.
7975 (POLL_OUT): Likewise.
7976 (POLL_MSG): Likewise.
7977 (POLL_ERR): Likewise.
7978 (POLL_PRI): Likewise.
7979 (POLL_HUP): Likewise.
7980 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7981 (ILL_ILLOPN): Likewise.
7982 (ILL_ILLADR): Likewise.
7983 (ILL_ILLTRP): Likewise.
7984 (ILL_PRVOPC): Likewise.
7985 (ILL_PRVREG): Likewise.
7986 (ILL_COPROC): Likewise.
7987 (ILL_BADSTK): Likewise.
7988 (FPE_INTDIV): Likewise.
7989 (FPE_INTOVF): Likewise.
7990 (FPE_FLTDIV): Likewise.
7991 (FPE_FLTOVF): Likewise.
7992 (FPE_FLTUND): Likewise.
7993 (FPE_FLTRES): Likewise.
7994 (FPE_FLTINV): Likewise.
7995 (FPE_FLTSUB): Likewise.
7996 (SEGV_MAPERR): Likewise.
7997 (SEGV_ACCERR): Likewise.
7998 (BUS_ADRALN): Likewise.
7999 (BUS_ADRERR): Likewise.
8000 (BUS_OBJERR): Likewise.
8001 (BUS_MCEERR_AR): Likewise.
8002 (BUS_MCEERR_AO): Likewise.
8003 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8004 (TRAP_TRACE): Likewise.
8005 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8007 (CLD_KILLED): Likewise.
8008 (CLD_DUMPED): Likewise.
8009 (CLD_TRAPPED): Likewise.
8010 (CLD_STOPPED): Likewise.
8011 (CLD_CONTINUED): Likewise.
8012 (POLL_IN): Likewise.
8013 (POLL_OUT): Likewise.
8014 (POLL_MSG): Likewise.
8015 (POLL_ERR): Likewise.
8016 (POLL_PRI): Likewise.
8017 (POLL_HUP): Likewise.
8018 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8019 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8022 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8023 before #include of <time.h>.
8024 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8025 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8026 (test-xfail-UNIX98/sched.h/conform): Likewise.
8028 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8030 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8031 error absence of trapping exception support.
8032 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8034 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8036 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8037 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8038 * timezone/Makefile (testdata): Move definition above include of
8040 (test-zones): New variable.
8041 (tests-special): Add zone files.
8042 (build-testdata): Use $(evaluate-test).
8044 * elf/Makefile (tests-special): Rename tests to end with .out.
8045 ($(objpfx)noload-mem): Likewise.
8046 ($(objpfx)tst-leaks1-mem): Likewise.
8047 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8048 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8049 $(objpfx)test-iconvconfig.out.
8050 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8051 set -e inside subshell and redirect output to file.
8052 * iconvdata/Makefile (generated): Rename tests to end with .out.
8054 (tests-special): Rename tests to end with .out.
8055 ($(objpfx)mtrace-tst-loading): Likewise.
8056 * intl/Makefile (generated): Likewise.
8057 (tests-special): Likewise.
8058 ($(objpfx)mtrace-tst-gettext): Likewise.
8059 * misc/Makefile (generated): Likewise.
8060 (tests-special): Likewise.
8061 ($(objpfx)tst-error1-mem): Likewise.
8062 * nptl/Makefile (tests-special): Likewise.
8063 ($(objpfx)tst-stack3-mem): Likewise.
8064 (generated): Likewise.
8065 * posix/Makefile (generated): Likewise.
8066 (tests-special): Likewise.
8067 (xtests-special): Likewise.
8068 ($(objpfx)tst-fnmatch-mem): Likewise.
8069 ($(objpfx)bug-regex2-mem): Likewise.
8070 ($(objpfx)bug-regex14-mem): Likewise.
8071 ($(objpfx)bug-regex21-mem): Likewise.
8072 ($(objpfx)bug-regex31-mem): Likewise.
8073 ($(objpfx)tst-vfork3-mem): Likewise.
8074 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8075 ($(objpfx)tst-pcre-mem): Likewise.
8076 ($(objpfx)tst-boost-mem): Likewise.
8077 ($(objpfx)bug-ga2-mem): Likewise.
8078 ($(objpfx)bug-glob2-mem): Likewise.
8079 * resolv/Makefile (generate): Likewise.
8080 (tests-special): Likewise.
8081 (xtests-special): Likewise.
8082 (generated): Likewise.
8083 ($(objpfx)mtrace-tst-leaks): Likewise.
8084 ($(objpfx)mtrace-tst-leaks2): Likewise.
8086 * scripts/merge-test-results.sh: New file.
8087 * Makefile (tests-special-notdir): New variable.
8088 (tests): Run merge-test-results.sh.
8090 * Rules (tests-special-notdir): New variable.
8091 (xtests-special-notdir): Likewise.
8092 (tests): Run merge-test-results.sh
8095 * Makeconfig (test-xfail-name): New variable.
8096 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8097 compute variable name for expected failures.
8098 * conform/Makefile (conformtest-headers-data): New variable.
8099 (conformtest-standards): Likewise.
8100 (conformtest-headers-ISO): Likewise.
8101 (conformtest-headers-ISO99): Likewise.
8102 (conformtest-headers-ISO11): Likewise.
8103 (conformtest-headers-POSIX): Likewise.
8104 (conformtest-headers-XPG3): Likewise.
8105 (conformtest-headers-XPG4): Likewise.
8106 (conformtest-headers-UNIX98): Likewise.
8107 (conformtest-headers-XOPEN2K): Likewise.
8108 (conformtest-headers-POSIX2008): Likewise.
8109 (conformtest-headers-XOPEN2K8): Likewise.
8110 (conformtest-header-list-base): Likewise.
8111 (conformtest-header-list-tests): Likewise.
8112 (conformtest-header-base): Likewise.
8113 (conformtest-header-tests): Likewise.
8114 (tests-special): Add $(conformtest-header-list-tests). If
8115 [$(fast-check) && !$(cross-compiling)], add
8116 $(conformtest-header-tests) instead of
8117 $(objpfx)run-conformtest.out.
8118 (generated): Add $(conformtest-header-list-base). If
8119 [$(fast-check) && !$(cross-compiling)], add
8120 $(conformtest-header-base). Remove previous setting.
8121 ($(conformtest-header-list-tests)): New target.
8122 (test-xfail-run-conformtest): Remove variable.
8123 ($(objpfx)run-conformtest.out): Remove target.
8124 (test-xfail-ISO11/complex.h/conform): New variable.
8125 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8126 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8127 (test-xfail-XPG3/varargs.h/conform): Likewise.
8128 (test-xfail-XPG4/varargs.h/conform): Likewise.
8129 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8130 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8131 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8132 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8133 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8134 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8135 (test-xfail-XPG3/ftw.h/conform): Likewise.
8136 (test-xfail-XPG3/grp.h/conform): Likewise.
8137 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8138 (test-xfail-XPG3/limits.h/conform): Likewise.
8139 (test-xfail-XPG3/pwd.h/conform): Likewise.
8140 (test-xfail-XPG3/search.h/conform): Likewise.
8141 (test-xfail-XPG3/signal.h/conform): Likewise.
8142 (test-xfail-XPG3/stdio.h/conform): Likewise.
8143 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8144 (test-xfail-XPG3/string.h/conform): Likewise.
8145 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8146 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8147 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8148 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8149 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8150 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8151 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8152 (test-xfail-XPG3/termios.h/conform): Likewise.
8153 (test-xfail-XPG3/time.h/conform): Likewise.
8154 (test-xfail-XPG3/unistd.h/conform): Likewise.
8155 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8156 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8157 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8158 (test-xfail-XPG4/netdb.h/conform): Likewise.
8159 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8160 (test-xfail-XPG4/signal.h/conform): Likewise.
8161 (test-xfail-XPG4/stdio.h/conform): Likewise.
8162 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8163 (test-xfail-XPG4/stropts.h/conform): Likewise.
8164 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8165 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8166 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8167 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8168 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8169 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8170 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8171 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8172 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8173 (test-xfail-XPG4/termios.h/conform): Likewise.
8174 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8175 (test-xfail-XPG4/unistd.h/conform): Likewise.
8176 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8177 (test-xfail-POSIX/sched.h/conform): Likewise.
8178 (test-xfail-POSIX/signal.h/conform): Likewise.
8179 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8180 (test-xfail-POSIX/tar.h/conform): Likewise.
8181 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8182 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8183 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8184 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8185 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8186 (test-xfail-UNIX98/sched.h/conform): Likewise.
8187 (test-xfail-UNIX98/signal.h/conform): Likewise.
8188 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8189 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8190 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8191 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8192 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8193 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8194 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8195 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8196 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8197 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8198 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8199 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8200 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8201 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8202 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8203 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8204 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8205 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8206 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8207 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8208 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8209 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8210 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8211 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8212 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8213 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8214 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8215 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8216 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8217 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8218 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8219 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8220 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8221 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8222 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8223 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8224 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8225 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8226 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8227 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8228 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8229 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8230 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8231 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8232 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8233 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8234 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8235 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8236 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8237 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8238 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8239 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8240 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8241 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8242 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8243 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8244 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8245 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8246 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8247 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8248 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8249 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8250 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8251 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8252 (conformtest-cc-flags): Likewise.
8253 ($(conformtest-header-tests): New target.
8254 * conform/check-header-lists.sh: New file.
8255 * conform/run-conformtest.sh: Remove.
8257 * conform/conformtest.pl: Allow ' and \ in values given for
8259 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8261 [POSIX] (sys/types.h): Likewise.
8262 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8264 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8266 * conform/data/signal.h-data (SIGIO): Remove expectation.
8267 [XPG3] (SIGBUS): Do not expect.
8268 [POSIX || XPG3] (SIGPOLL): Likewise.
8269 [POSIX || XPG3] (SIGPROF): Likewise.
8270 [POSIX || XPG3] (SIGSYS): Likewise.
8271 [XPG3] (SIGTRAP): Likewise.
8272 [POSIX || XPG3] (SIGURG): Likewise.
8273 [POSIX || XPG3] (SIGVTALRM): Likewise.
8274 [POSIX || XPG3] (SIGXCPU): Likewise.
8275 [POSIX || XPG3] (SIGXFSZ): Likewise.
8276 [POSIX] (SA_SIGINFO): Expect.
8277 [XPG3] (siginfo_t): Do not expect type or contents.
8278 [POSIX] (si_pid): Do not expect element.
8279 [POSIX] (si_uid): Likewise.
8280 [POSIX] (si_addr): Likewise.
8281 [POSIX] (si_status): Likewise.
8282 [POSIX] (si_band): Likewise.
8283 [XPG4] (si_value): Likewise.
8284 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8285 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8286 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8287 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8288 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8289 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8290 [POSIX || XPG3] (ILL_COPROC): Likewise.
8291 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8292 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8293 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8294 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8295 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8296 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8297 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8298 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8299 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8300 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8301 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8302 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8303 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8304 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8305 [POSIX || XPG3] (CLD_EXITED): Likewise.
8306 [POSIX || XPG3] (CLD_KILLED): Likewise.
8307 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8308 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8309 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8310 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8311 [POSIX || XPG3] (POLL_IN): Likewise.
8312 [POSIX || XPG3] (POLL_OUT): Likewise.
8313 [POSIX || XPG3] (POLL_MSG): Likewise.
8314 [POSIX || XPG3] (POLL_ERR): Likewise.
8315 [POSIX || XPG3] (POLL_PRI): Likewise.
8316 [POSIX || XPG3] (POLL_HUP): Likewise.
8317 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8318 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8319 (SIG*): Do not allow.
8320 [XPG3] (si_*): Likewise.
8321 [XPG3] (SI_*): Likewise.
8322 [XPG3 || XPG4] (sigev_*): Likewise.
8323 [XPG3 || XPG4] (SIGEV_*): Likewise.
8324 [XPG3 || XPG4] (sival_*): Likewise.
8325 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8326 [POSIX || XPG3] (BUS_*): Likewise.
8327 [POSIX || XPG3] (CLD_*): Likewise.
8328 [POSIX || XPG3] (FPE_*): Likewise.
8329 [POSIX || XPG3] (ILL_*): Likewise.
8330 [POSIX || XPG3] (POLL_*): Likewise.
8331 [POSIX || XPG3] (SEGV_*): Likewise.
8332 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8333 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8334 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8335 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8336 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8337 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8338 Specify type and value.
8339 (TVERSLEN): Likewise.
8340 (REGTYPE): Likewise.
8341 (AREGTYPE): Likewise.
8342 (LNKTYPE): Likewise.
8343 (SYMTYPE): Likewise.
8344 (CHRTYPE): Likewise.
8345 (BLKTYPE): Likewise.
8346 (DIRTYPE): Likewise.
8347 (FIFOTYPE): Likewise.
8348 (CONTTYPE): Likewise.
8353 (TUWRITE): Likewise.
8356 (TGWRITE): Likewise.
8359 (TOWRITE): Likewise.
8361 [POSIX] (TSVTX): Expect constant.
8363 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8365 * Makefile (tests): Change dependencies to ....
8366 (tests-special): ... additions to this variable.
8367 (tests): Depend on $(tests-special).
8368 * Makerules (check-abi-list): New variable.
8369 (check-abi): Depend on $(check-abi-list).
8370 [$(subdir) = elf] (tests-special): Add
8371 $(objpfx)check-abi-libc.out.
8372 [$(build-shared) = yes && subdir] (tests-special): Add
8374 [$(build-shared) = yes && subdir] (tests): Do not depend on
8376 * Rules (tests): Depend on $(tests-special).
8377 (xtests): Depend on $(xtests-special).
8378 * catgets/Makefile (tests): Change dependencies to ....
8379 (tests-special): ... additions to this variable.
8380 * conform/Makefile (tests): Change dependencies to ....
8381 (tests-special): ... additions to this variable.
8382 * elf/Makefile (tests): Change dependencies to ....
8383 (tests-special): ... additions to this variable.
8384 * grp/Makefile (tests): Change dependencies to ....
8385 (tests-special): ... additions to this variable.
8386 * iconv/Makefile (xtests): Change dependencies to ....
8387 (xtests-special): ... additions to this variable.
8388 * iconvdata/Makefile (tests): Change dependencies to ....
8389 (tests-special): ... additions to this variable.
8390 * intl/Makefile (tests): Change dependencies to ....
8391 (tests-special): ... additions to this variable. Also add
8392 $(objpfx)tst-gettext.out.
8393 * io/Makefile (tests): Change dependencies to ....
8394 (tests-special): ... additions to this variable.
8395 * libio/Makefile (tests): Change dependencies to ....
8396 (tests-special): ... additions to this variable.
8397 * malloc/Makefile (tests): Change dependencies to ....
8398 (tests-special): ... additions to this variable.
8399 * misc/Makefile (tests): Change dependencies to ....
8400 (tests-special): ... additions to this variable.
8401 * nptl/Makefile (tests): Change dependencies to ....
8402 (tests-special): ... additions to this variable.
8403 * nptl_db/Makefile (tests): Change dependencies to ....
8404 (tests-special): ... additions to this variable.
8405 * posix/Makefile (tests): Change dependencies to ....
8406 (tests-special): ... additions to this variable.
8407 (xtests): Change dependencies to ....
8408 (xtests-special): ... additions to this variable.
8409 * resolv/Makefile (tests): Change dependencies to ....
8410 (tests-special): ... additions to this variable.
8411 (xtests): Change dependencies to ....
8412 (xtests-special): ... additions to this variable.
8413 * stdio-common/Makefile (tests): Change dependencies to ....
8414 (tests-special): ... additions to this variable.
8415 (do-tst-unbputc): Remove target.
8416 (do-tst-printf): Likewise.
8417 * stdlib/Makefile (tests): Change dependencies to ....
8418 (tests-special): ... additions to this variable.
8419 * string/Makefile (tests): Change dependencies to ....
8420 (tests-special): ... additions to this variable.
8421 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8422 (tests-special): ... additions to this variable.
8424 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8426 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8428 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8429 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8431 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8432 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8433 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8434 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8435 * conform/data/libgen.h-data [XPG3]: Likewise.
8436 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8437 * conform/data/ndbm.h-data [XPG3]: Likewise.
8438 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8439 * conform/data/netdb.h-data [XPG3]: Likewise.
8440 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8441 * conform/data/poll.h-data [XPG3]: Likewise.
8442 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8443 * conform/data/strings.h-data [XPG3]: Likewise.
8444 * conform/data/stropts.h-data [XPG3]: Likewise.
8445 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8446 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8447 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8449 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8450 * conform/data/sys/time.h-data [XPG3]: Likewise.
8451 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8452 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8453 * conform/data/sys/un.h-data [XPG3]: Likewise.
8454 * conform/data/syslog.h-data [XPG3]: Likewise.
8455 * conform/data/ucontext.h-data [XPG3]: Likewise.
8456 * conform/data/utmpx.h-data [XPG3]: Likewise.
8457 * conform/data/varargs.h-data [UNIX98]: Enable file.
8459 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8461 * math/libm-test.inc (struct test_f_f_data): Move expected results
8462 into structure for each rounding mode.
8463 (struct test_ff_f_data): Likewise.
8464 (struct test_ff_f_data_nexttoward): Likewise.
8465 (struct test_fi_f_data): Likewise.
8466 (struct test_fl_f_data): Likewise.
8467 (struct test_if_f_data): Likewise.
8468 (struct test_fff_f_data): Likewise.
8469 (struct test_c_f_data): Likewise.
8470 (struct test_f_f1_data): Likewise.
8471 (struct test_fF_f1_data): Likewise.
8472 (struct test_ffI_f1_data): Likewise.
8473 (struct test_c_c_data): Likewise.
8474 (struct test_cc_c_data): Likewise.
8475 (struct test_f_i_data): Likewise.
8476 (struct test_ff_i_data): Likewise.
8477 (struct test_f_l_data): Likewise.
8478 (struct test_f_L_data): Likewise.
8479 (struct test_fFF_11_data): Likewise.
8481 (RM_FE_DOWNWARD): Likewise.
8482 (RM_FE_TONEAREST): Likewise.
8483 (RM_FE_TOWARDZERO): Likewise.
8484 (RM_FE_UPWARD): Likewise.
8485 (RUN_TEST_LOOP_f_f): Update references to expected results.
8486 (RUN_TEST_LOOP_2_f): Likewise.
8487 (RUN_TEST_LOOP_fff_f): Likewise.
8488 (RUN_TEST_LOOP_c_f): Likewise.
8489 (RUN_TEST_LOOP_f_f1): Likewise.
8490 (RUN_TEST_LOOP_fF_f1): Likewise.
8491 (RUN_TEST_LOOP_fI_f1): Likewise.
8492 (RUN_TEST_LOOP_ffI_f1): Likewise.
8493 (RUN_TEST_LOOP_c_c): Likewise.
8494 (RUN_TEST_LOOP_cc_c): Likewise.
8495 (RUN_TEST_LOOP_f_i): Likewise.
8496 (RUN_TEST_LOOP_f_i_tg): Likewise.
8497 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8498 (RUN_TEST_LOOP_f_b): Likewise.
8499 (RUN_TEST_LOOP_f_b_tg): Likewise.
8500 (RUN_TEST_LOOP_f_l): Likewise.
8501 (RUN_TEST_LOOP_f_L): Likewise.
8502 (RUN_TEST_LOOP_fFF_11): Likewise.
8503 * math/gen-libm-test.pl (parse_args): Output four copies of
8504 expected results for each test.
8506 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8507 (__ASSUME_UTIMES): Remove.
8508 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8509 (__ASSUME_UTIMES): Likewise.
8511 * math/gen-auto-libm-tests.c: Update comment on output format.
8512 (output_for_one_input_case): Generate before-rounding and
8513 after-rounding information as conditions on output flags not
8514 floating-point format.
8515 * math/auto-libm-test-out: Regenerated.
8516 * math/gen-libm-test.pl (cond_value): New function.
8517 (or_cond_value): Use cond_value.
8518 (generate_testfile): Handle conditional exceptions.
8520 2014-03-05 Joseph Myers <joseph@codesourcery.com>
8522 * math/libm-test.inc (max_valid_error): New variable.
8523 (init_max_error): Take new argument specifying whether function
8524 results are exactly determined. Set max_valid_error and bound
8525 other variables for errors based on this argument.
8526 (set_max_error): Do not record results above max_valid_error.
8527 (check_float_internal): Only accept errors of up to 0.5ulps if
8528 also at most max_valid_error.
8529 (START): Take new argument EXACT and pass it to init_max_error.
8530 (acos_test): Update call to START.
8531 (acos_test_tonearest): Likewise.
8532 (acos_test_towardzero): Likewise.
8533 (acos_test_downward): Likewise.
8534 (acos_test_upward): Likewise.
8535 (acosh_test): Likewise.
8536 (asin_test): Likewise.
8537 (asin_test_tonearest): Likewise.
8538 (asin_test_towardzero): Likewise.
8539 (asin_test_downward): Likewise.
8540 (asin_test_upward): Likewise.
8541 (asinh_test): Likewise.
8542 (atan_test): Likewise.
8543 (atanh_test): Likewise.
8544 (atan2_test): Likewise.
8545 (cabs_test): Likewise.
8546 (cacos_test): Likewise.
8547 (cacosh_test): Likewise.
8548 (carg_test): Likewise.
8549 (casin_test): Likewise.
8550 (casinh_test): Likewise.
8551 (catan_test): Likewise.
8552 (catanh_test): Likewise.
8553 (cbrt_test): Likewise.
8554 (ccos_test): Likewise.
8555 (ccosh_test): Likewise.
8556 (ceil_test): Likewise.
8557 (cexp_test): Likewise.
8558 (cimag_test): Likewise.
8559 (clog_test): Likewise.
8560 (clog10_test): Likewise.
8561 (conj_test): Likewise.
8562 (copysign_test): Likewise.
8563 (cos_test): Likewise.
8564 (cos_test_tonearest): Likewise.
8565 (cos_test_towardzero): Likewise.
8566 (cos_test_downward): Likewise.
8567 (cos_test_upward): Likewise.
8568 (cosh_test): Likewise.
8569 (cosh_test_tonearest): Likewise.
8570 (cosh_test_towardzero): Likewise.
8571 (cosh_test_downward): Likewise.
8572 (cosh_test_upward): Likewise.
8573 (cpow_test): Likewise.
8574 (cproj_test): Likewise.
8575 (creal_test): Likewise.
8576 (csin_test): Likewise.
8577 (csinh_test): Likewise.
8578 (csqrt_test): Likewise.
8579 (ctan_test): Likewise.
8580 (ctan_test_tonearest): Likewise.
8581 (ctan_test_towardzero): Likewise.
8582 (ctan_test_downward): Likewise.
8583 (ctan_test_upward): Likewise.
8584 (ctanh_test): Likewise.
8585 (ctanh_test_tonearest): Likewise.
8586 (ctanh_test_towardzero): Likewise.
8587 (ctanh_test_downward): Likewise.
8588 (ctanh_test_upward): Likewise.
8589 (erf_test): Likewise.
8590 (erfc_test): Likewise.
8591 (exp_test): Likewise.
8592 (exp_test_tonearest): Likewise.
8593 (exp_test_towardzero): Likewise.
8594 (exp_test_downward): Likewise.
8595 (exp_test_upward): Likewise.
8596 (exp10_test): Likewise.
8597 (exp10_test_tonearest): Likewise.
8598 (exp10_test_towardzero): Likewise.
8599 (exp10_test_downward): Likewise.
8600 (exp10_test_upward): Likewise.
8601 (pow10_test): Likewise.
8602 (exp2_test): Likewise.
8603 (expm1_test): Likewise.
8604 (expm1_test_tonearest): Likewise.
8605 (expm1_test_towardzero): Likewise.
8606 (expm1_test_downward): Likewise.
8607 (expm1_test_upward): Likewise.
8608 (fabs_test): Likewise.
8609 (fdim_test): Likewise.
8610 (floor_test): Likewise.
8611 (fma_test): Likewise.
8612 (fma_test_towardzero): Likewise.
8613 (fma_test_downward): Likewise.
8614 (fma_test_upward): Likewise.
8615 (fmax_test): Likewise.
8616 (fmin_test): Likewise.
8617 (fmod_test): Likewise.
8618 (fpclassify_test): Likewise.
8619 (frexp_test): Likewise.
8620 (hypot_test): Likewise.
8621 (ilogb_test): Likewise.
8622 (isfinite_test): Likewise.
8623 (finite_test): Likewise.
8624 (isgreater_test): Likewise.
8625 (isgreaterequal_test): Likewise.
8626 (isinf_test): Likewise.
8627 (isless_test): Likewise.
8628 (islessequal_test): Likewise.
8629 (islessgreater_test): Likewise.
8630 (isnan_test): Likewise.
8631 (isnormal_test): Likewise.
8632 (issignaling_test): Likewise.
8633 (isunordered_test): Likewise.
8634 (j0_test): Likewise.
8635 (j1_test): Likewise.
8636 (jn_test): Likewise.
8637 (ldexp_test): Likewise.
8638 (lgamma_test): Likewise.
8639 (gamma_test): Likewise.
8640 (lrint_test): Likewise.
8641 (lrint_test_tonearest): Likewise.
8642 (lrint_test_towardzero): Likewise.
8643 (lrint_test_downward): Likewise.
8644 (lrint_test_upward): Likewise.
8645 (llrint_test): Likewise.
8646 (llrint_test_tonearest): Likewise.
8647 (llrint_test_towardzero): Likewise.
8648 (llrint_test_downward): Likewise.
8649 (llrint_test_upward): Likewise.
8650 (log_test): Likewise.
8651 (log10_test): Likewise.
8652 (log1p_test): Likewise.
8653 (log2_test): Likewise.
8654 (logb_test): Likewise.
8655 (logb_test_downward): Likewise.
8656 (lround_test): Likewise.
8657 (llround_test): Likewise.
8658 (modf_test): Likewise.
8659 (nearbyint_test): Likewise.
8660 (nextafter_test): Likewise.
8661 (nexttoward_test): Likewise.
8662 (pow_test): Likewise.
8663 (pow_test_tonearest): Likewise.
8664 (pow_test_towardzero): Likewise.
8665 (pow_test_downward): Likewise.
8666 (pow_test_upward): Likewise.
8667 (remainder_test): Likewise.
8668 (drem_test): Likewise.
8669 (remainder_test_tonearest): Likewise.
8670 (drem_test_tonearest): Likewise.
8671 (remainder_test_towardzero): Likewise.
8672 (drem_test_towardzero): Likewise.
8673 (remainder_test_downward): Likewise.
8674 (drem_test_downward): Likewise.
8675 (remainder_test_upward): Likewise.
8676 (drem_test_upward): Likewise.
8677 (remquo_test): Likewise.
8678 (rint_test): Likewise.
8679 (rint_test_tonearest): Likewise.
8680 (rint_test_towardzero): Likewise.
8681 (rint_test_downward): Likewise.
8682 (rint_test_upward): Likewise.
8683 (round_test): Likewise.
8684 (scalb_test): Likewise.
8685 (scalbn_test): Likewise.
8686 (scalbln_test): Likewise.
8687 (signbit_test): Likewise.
8688 (sin_test): Likewise.
8689 (sin_test_tonearest): Likewise.
8690 (sin_test_towardzero): Likewise.
8691 (sin_test_downward): Likewise.
8692 (sin_test_upward): Likewise.
8693 (sincos_test): Likewise.
8694 (sinh_test): Likewise.
8695 (sinh_test_tonearest): Likewise.
8696 (sinh_test_towardzero): Likewise.
8697 (sinh_test_downward): Likewise.
8698 (sinh_test_upward): Likewise.
8699 (sqrt_test): Likewise.
8700 (sqrt_test_tonearest): Likewise.
8701 (sqrt_test_towardzero): Likewise.
8702 (sqrt_test_downward): Likewise.
8703 (sqrt_test_upward): Likewise.
8704 (tan_test): Likewise.
8705 (tan_test_tonearest): Likewise.
8706 (tan_test_towardzero): Likewise.
8707 (tan_test_downward): Likewise.
8708 (tan_test_upward): Likewise.
8709 (tanh_test): Likewise.
8710 (tgamma_test): Likewise.
8711 (trunc_test): Likewise.
8712 (y0_test): Likewise.
8713 (y1_test): Likewise.
8714 (yn_test): Likewise.
8715 (significand_test): Likewise.
8717 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8718 individual tests in comment.
8719 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8720 (prev_max_error): New variable.
8721 (prev_real_max_error): Likewise.
8722 (prev_imag_max_error): Likewise.
8723 (compare_ulp_data): Don't refer to test names in comment.
8724 (find_test_ulps): Remove function.
8725 (find_function_ulps): Likewise.
8726 (find_complex_function_ulps): Likewise.
8727 (init_max_error): Take function name as argument. Look up ulps
8729 (print_ulps): Remove function.
8730 (print_max_error): Use prev_max_error instead of calling
8732 (print_complex_max_error): Use prev_real_max_error and
8733 prev_imag_max_error instead of calling find_complex_function_ulps.
8734 (check_float_internal): Take max_ulp parameter instead of calling
8735 find_test_ulps. Don't call print_ulps.
8736 (check_float): Update call to check_float_internal.
8737 (check_complex): Update calls to check_float_internal.
8738 (START): Pass argument to init_max_error.
8739 * math/gen-libm-test.pl (%results): Don't include "kind"
8741 (parse_ulps): Don't handle ulps of individual tests.
8742 (print_ulps_file): Likewise.
8743 (output_ulps): Likewise.
8744 * math/README.libm-test: Update.
8745 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8747 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8748 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8749 * sysdeps/arm/libm-test-ulps: Likewise.
8750 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8751 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8752 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8753 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8754 * sysdeps/microblaze/libm-test-ulps: Likewise.
8755 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8756 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8757 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8758 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8759 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8760 * sysdeps/sh/libm-test-ulps: Likewise.
8761 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8762 * sysdeps/tile/libm-test-ulps: Likewise.
8763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8765 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8767 * math/libm-test.inc (print_complex_max_error): Check separately
8768 whether real and imaginary errors are within allowed range and
8769 pass 0 to print_complex_function_ulps instead of value within
8772 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8774 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8776 (get_handles_fopen): Likewise.
8777 (do_write_test): Likewise.
8779 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8781 * libio/fileops.c (do_ftell): Use cached offset when
8783 * libio/iofwide.c (do_ftell_wide): Likewise.
8784 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8786 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8789 * libio/libioP.h (get_file_offset): New function.
8790 * libio/fileops.c (get_file_offset): Likewise.
8791 (do_ftell): Likewise.
8792 (_IO_new_file_seekoff): Split out ftell logic.
8793 * libio/wfileops.c (do_ftell_wide): Likewise.
8794 (_IO_wfile_seekoff): Split out ftell logic.
8795 * libio/tst-ftell-active-handler.c: New test case.
8796 * libio/Makefile (tests): Add it.
8798 2014-03-03 Roland McGrath <roland@hack.frob.com>
8800 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8801 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8803 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8806 * nscd/connections.c (nscd_init): Call do_exit.
8807 (start_threads): Call do_exit and notify_parent.
8808 (begin_drop_privileges): Call do_exit.
8809 (finish_drop_privileges): Likewise.
8810 * nscd/selinux.c (preserve_capabilities): Likewise.
8811 (install_real_capabilities): Likewise.
8812 (nscd_selinux_enabled): Likewise.
8813 (avc_create_thread): Likewise.
8814 (avc_alloc_lock): Likewise.
8815 (nscd_avc_init): Likewise.
8816 * nscd/nscd.c (parent_fd): New static variable.
8817 (main): Create a pipe between parent and child processes.
8818 Skip closing parent_fd.
8819 (monitor_child): New function.
8820 (do_exit): Likewise.
8821 (notify_parent): Likewise.
8822 * nscd/nscd.h (notify_parent): Likewise.
8823 (do_exit): Likewise.
8825 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8827 * malloc/malloc.c (__libc_calloc): Revert last change.
8829 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8833 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8835 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8836 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8838 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8839 (__libc_ifunc_impl_list): Likewise.
8840 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8841 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8842 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8843 * string/strrchr.c: Define STRRCHR.
8845 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8847 * benchtest/bench-strtok.c (simple_strtok): Delete.
8848 (strtok_string): Use as benchmark.
8849 * string/strtok (STRTOK): New macro.
8851 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8853 * manual/threads.texi: Add header and standard comments to all
8856 * elf/dl-lookup.c (check_match): New function.
8857 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8858 (do_lookup_x): Remove nested function check_match. Use non-nested
8859 function check_match.
8861 2014-02-28 Roland McGrath <roland@hack.frob.com>
8863 * csu/Makefile (generated, before-compile): Use += rather than =.
8864 * catgets/Makefile (generated, generated-dirs): Likewise.
8865 * debug/Makefile (generated): Likewise.
8866 * dlfcn/Makefile (generated): Likewise.
8867 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8868 * iconvdata/Makefile (before-compile, generated): Likewise.
8869 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8870 * libio/Makefile (generated): Likewise.
8871 * malloc/Makefile (generated): Likewise.
8872 * manual/Makefile (generated, generated-dirs): Likewise.
8873 * misc/Makefile (generated): Likewise.
8874 * posix/Makefile (generated): Likewise.
8875 * resolv/Makefile (generated): Likewise.
8876 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8877 * timezone/Makefile (generated, generated-dirs): Likewise.
8879 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8881 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8884 power8 implementation.
8885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8886 file: POWER8 llround ifunc implementation.
8887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8888 (__lllround): Add POWER8 implementation.
8889 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8890 POWER8 llround implementation.
8892 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8893 power8 implementation.
8894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8895 file: POWER8 llrint ifunc implementation.
8896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8897 Add POWER8 implementation.
8898 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8899 POWER8 llrint implementation.
8901 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8902 power8 implementation.
8903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8904 file: POWER8 finite ifunc implementation.
8905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8906 Add POWER8 implementation.
8907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8909 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8910 POWER8 finite implementation.
8911 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8913 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8914 power8 implementation.
8915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8916 file: POWER8 isinf ifunc implementation.
8917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8918 POWER8 implementation.
8919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8921 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8922 isinf implementation.
8923 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8925 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8926 (INIT_ARCH): Add hwcap2 initialization.
8927 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8928 power8 implementation.
8929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8930 file: POWER8 isnan ifunc implementation.
8931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8932 POWER8 implementation.
8933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8935 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8936 isnan implementation.
8937 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8939 2014-02-27 Joey Ye <joey.ye@arm.com>
8941 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8942 (_FP_NANFRAC_Q): Set to zero.
8944 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8947 * math/auto-libm-test-in: New test inputs.
8948 * math/auto-libm-test-out: Regenerate.
8949 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8952 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8954 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8956 * scripts/evaluate-test.sh: Take new argument indicating whether
8957 failure is expected.
8958 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8959 indicating whether failure is expected.
8960 * conform/Makefile (test-xfail-run-conformtest): New variable.
8961 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8963 * posix/Makefile (test-xfail-annexc): New variable.
8964 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8966 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8968 * argp/Makefile: Include Makeconfig immediately after defining
8970 * assert/Makefile: Likewise.
8971 * benchtests/Makefile: Likewise.
8972 * catgets/Makefile: Likewise.
8973 * conform/Makefile: Likewise.
8974 * crypt/Makefile: Likewise.
8975 * csu/Makefile: Likewise.
8976 (all): Remove target.
8977 * ctype/Makefile: Include Makeconfig immediately after defining
8979 * debug/Makefile: Likewise.
8980 * dirent/Makefile: Likewise.
8981 * dlfcn/Makefile: Likewise.
8982 * gmon/Makefile: Likewise.
8983 * gnulib/Makefile: Likewise.
8984 * grp/Makefile: Likewise.
8985 * gshadow/Makefile: Likewise.
8986 * hesiod/Makefile: Likewise.
8987 * hurd/Makefile: Likewise.
8988 (all): Remove target.
8989 * iconvdata/Makefile: Include Makeconfig immediately after
8991 * inet/Makefile: Likewise.
8992 * intl/Makefile: Likewise.
8993 * io/Makefile: Likewise.
8994 * libio/Makefile: Likewise.
8995 (all): Remove target.
8996 * locale/Makefile: Include Makeconfig immediately after defining
8998 * login/Makefile: Likewise.
8999 * mach/Makefile: Likewise.
9000 (all): Remove target.
9001 * malloc/Makefile: Include Makeconfig immediately after defining
9003 (all): Remove target.
9004 * manual/Makefile: Include Makeconfig immediately after defining
9006 * math/Makefile: Likewise.
9007 * misc/Makefile: Likewise.
9008 * nis/Makefile: Likewise.
9009 * nss/Makefile: Likewise.
9010 * po/Makefile: Likewise.
9011 (all): Remove target.
9012 * posix/Makefile: Include Makeconfig immediately after defining
9014 * pwd/Makefile: Likewise.
9015 * resolv/Makefile: Likewise.
9016 * resource/Makefile: Likewise.
9017 * rt/Makefile: Likewise.
9018 * setjmp/Makefile: Likewise.
9019 * shadow/Makefile: Likewise.
9020 * signal/Makefile: Likewise.
9021 * socket/Makefile: Likewise.
9022 * soft-fp/Makefile: Likewise.
9023 * stdio-common/Makefile: Likewise.
9024 * stdlib/Makefile: Likewise.
9025 * streams/Makefile: Likewise.
9026 * string/Makefile: Likewise.
9027 * sunrpc/Makefile: Likewise.
9028 (all): Remove target.
9029 * sysvipc/Makefile: Include Makeconfig immediately after defining
9031 * termios/Makefile: Likewise.
9032 * time/Makefile: Likewise.
9033 * timezone/Makefile: Likewise.
9034 (all): Remove target.
9035 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9037 * wctype/Makefile: Likewise.
9039 2014-02-26 Steve Ellcey <sellcey@mips.com>
9041 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9042 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9043 (libc_feholdexcept_setround_mips): Ditto.
9044 (libc_feholdsetround): New.
9045 (libc_feholdsetroundf): New.
9046 (libc_feholdsetroundl): New.
9047 (libc_feupdateenv_test_mips): New.
9048 (libc_feupdateenv_test): New.
9049 (libc_feupdateenv_testf): New.
9050 (libc_feupdateenv_testl): New.
9051 (libc_feresetround): New.
9052 (libc_feresetroundf): New.
9053 (libc_feresetroundl): New.
9054 (libc_fetestexcept_mips): New.
9055 (libc_fetestexcept): New.
9056 (libc_fetestexceptf): New.
9057 (libc_fetestexceptl): New.
9059 (libc_feholdexcept_setround_mips_ctx): New.
9060 (libc_feholdexcept_setround_ctx): New.
9061 (libc_feholdexcept_setroundf_ctx): New.
9062 (libc_feholdexcept_setroundl_ctx): New.
9063 (libc_fesetenv_mips_ctx): New.
9064 (libc_fesetenv_ctx): New.
9065 (libc_fesetenv_ctxf): New.
9066 (libc_fesetenv_ctxl): New.
9067 (libc_feupdateenv_mips_ctx): New.
9068 (libc_feupdateenv_ctx): New.
9069 (libc_feupdateenvf_ctx): New.
9070 (libc_feupdateenvl_ctx): New.
9071 (libc_feholdsetround_mips_ctx): New.
9072 (libc_feholdsetround_ctx): New.
9073 (libc_feholdsetroundf_ctx): New.
9074 (libc_feholdsetroundl_ctx): New.
9075 (libc_feresetround_mips_ctx): New.
9076 (libc_feresetround_ctx): New.
9077 (libc_feresetroundf_ctx): New.
9078 (libc_feresetroundl_ctx): New.
9080 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9082 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9084 * manual/ipc.texi: New file.
9085 * manual/Makefile (chapters): Add ipc.
9086 * manual/job.texi: Add "Inter-Process Communication" to next.
9087 * manual/process.texi: Add "Inter-Process Communication" to prev.
9089 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9093 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9095 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9097 * manual/arith.texi: Fix spaces after sentences.
9098 * manual/charset.texi: Likewise.
9099 * manual/errno.texi: Likewise.
9100 * manual/install.texi: Likewise.
9101 * manual/llio.texi: Likewise.
9102 * manual/locale.texi: Likewise.
9103 * manual/maint.texi: Likewise.
9104 * manual/math.texi: Likewise.
9105 * manual/memory.texi: Likewise.
9106 * manual/message.texi: Likewise.
9107 * manual/probes.texi: Likewise.
9108 * manual/resource.texi: Likewise.
9109 * manual/signal.texi: Likewise.
9110 * manual/socket.texi: Likewise.
9111 * manual/stdio.texi: Likewise.
9112 * manual/string.texi: Likewise.
9113 * manual/time.texi: Likewise.
9114 * manual/users.texi: Likewise.
9116 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9119 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9120 _DEFAULT_SOURCE is defined.
9122 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9123 Carlos O'Donell <carlos@redhat.com>
9126 * elf/dl-tls.c (_dl_count_modids): New function.
9127 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9128 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9129 audit library and increment generation counter.
9130 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9131 * elf/tst-audit9.c: New file.
9132 * elf/tst-auditmod9a.c: New file.
9133 * elf/tst-auditmod9b.c: New file.
9134 * elf/Makefile: Add rules to build and run tst-audit9.
9136 2014-02-25 Florian Weimer <fweimer@redhat.com>
9139 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9141 2014-02-25 Will Newton <will.newton@linaro.org>
9143 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9144 (__longjmp): Restore sp and lr before restoring callee
9145 saved registers. Add longjmp and longjmp_target
9146 SystemTap probe point.
9147 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9148 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9149 Define to zero to match jmpbuf layout.
9150 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9151 (__sigsetjmp): Save sp and lr before saving callee
9152 saved registers. Add setjmp SystemTap probe point.
9154 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9156 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9158 2014-02-24 Andreas Schwab <schwab@suse.de>
9161 * elf/pldd.c (wait_for_ptrace_stop): New function.
9162 (main): Call it after attaching.
9164 2014-02-22 Roland McGrath <roland@hack.frob.com>
9166 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9167 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9168 Versions files is now verboten.
9169 * hurd/Versions (libc: GLIBC_2.0):
9170 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9171 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9172 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9173 * mach/Versions: Likewise.
9175 * csu/Versions: Remove unused %include.
9176 * resolv/Versions: Likewise.
9178 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9180 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9181 ($(objpfx)check-local-headers.out): Likewise.
9182 ($(objpfx)begin-end-check.out): Likewise.
9183 * Makerules (check-abi-%.out): Likewise.
9184 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9185 ($(objpfx)test2.cat): Likewise.
9186 ($(objpfx)de/libc.cat): Likewise.
9187 ($(objpfx)test-gencat.out): Likewise.
9188 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9189 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9190 ($(objpfx)noload-mem): Likewise.
9191 ($(objpfx)tst-pathopt.out): Likewise.
9192 ($(objpfx)tst-rtld-load-self.out): Likewise.
9193 ($(objpfx)tst-array1-cmp.out): Likewise.
9194 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9195 ($(objpfx)tst-array2-cmp.out): Likewise.
9196 ($(objpfx)tst-array3-cmp.out): Likewise.
9197 ($(objpfx)tst-array4-cmp.out): Likewise.
9198 ($(objpfx)tst-array5-cmp.out): Likewise.
9199 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9200 ($(objpfx)check-textrel.out): Likewise.
9201 ($(objpfx)check-execstack.out): Likewise.
9202 ($(objpfx)check-localplt.out): Likewise.
9203 ($(objpfx)order2-cmp.out): Likewise.
9204 ($(objpfx)tst-leaks1-mem): Likewise.
9205 ($(objpfx)tst-leaks1-static-mem): Likewise.
9206 ($(objpfx)tst-initorder-cmp.out): Likewise.
9207 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9208 ($(objpfx)tst-unused-dep.out): Likewise.
9209 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9210 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9211 * iconv/Makefile (test-iconvconfig): Likewise.
9212 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9213 ($(objpfx)iconv-test.out): Likewise.
9214 ($(objpfx)tst-tables.out): Likewise.
9215 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9216 ($(objpfx)tst-gettext.out): Likewise.
9217 ($(objpfx)tst-translit.out): Likewise.
9218 ($(objpfx)tst-gettext2.out): Likewise.
9219 ($(objpfx)tst-gettext4.out): Likewise.
9220 ($(objpfx)tst-gettext6.out): Likewise.
9221 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9222 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9223 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9224 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9225 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9226 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9227 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9228 ($(objpfx)wordexp-tst.out): Likewise.
9229 ($(objpfx)annexc.out): Likewise.
9230 ($(objpfx)tst-fnmatch-mem): Likewise.
9231 ($(objpfx)bug-regex2-mem): Likewise.
9232 ($(objpfx)bug-regex14-mem): Likewise.
9233 ($(objpfx)bug-regex21-mem): Likewise.
9234 ($(objpfx)bug-regex31-mem): Likewise.
9235 ($(objpfx)tst-vfork3-mem): Likewise.
9236 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9237 ($(objpfx)tst-pcre-mem): Likewise.
9238 ($(objpfx)tst-boost-mem): Likewise.
9239 ($(objpfx)tst-getconf.out): Likewise.
9240 ($(objpfx)bug-ga2-mem): Likewise.
9241 ($(objpfx)bug-glob2-mem): Likewise.
9242 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9243 ($(objpfx)mtrace-tst-leaks2): Likewise.
9244 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9245 ($(objpfx)tst-printf.out): Likewise.
9246 ($(objpfx)tst-setvbuf1.out): Likewise.
9247 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9248 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9249 ($(objpfx)tst-fmtmsg.out): Likewise.
9250 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9251 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9253 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9254 * bits/sigaction.h [__USE_MISC]: Likewise.
9255 * bits/waitstatus.h: Update #endif comments.
9256 * ctype/ctype.h: Likewise.
9257 * dirent/dirent.h: Likewise.
9258 [__USE_MISC]: Remove redundant conditionals.
9259 * grp/grp.h: Update #endif comments.
9260 [__USE_GNU]: Remove redundant conditionals.
9261 [__USE_MISC]: Likewise.
9262 * inet/netinet/in.h [__USE_GNU]: Likewise.
9263 * io/sys/stat.h [__USE_MISC]: Likewise.
9264 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9265 * libio/bits/stdio.h: Update #endif comments.
9266 [__USE_MISC]: Remove redundant conditionals.
9267 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9268 * libio/stdio.h: Update #endif comments.
9269 [__USE_MISC]: Remove redundant conditionals.
9270 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9271 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9272 * math/math.h: Update #else and #endif comments.
9273 [__USE_MISC]: Remove redundant conditionals.
9274 * misc/sys/uio.h: Update #endif comments.
9275 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9276 * posix/glob.h [__USE_MISC]: Likewise.
9277 * posix/sys/types.h: Update #endif comments.
9278 [__USE_MISC]: Remove redundant conditionals.
9279 * posix/sys/wait.h: Update #endif comments.
9280 [__USE_MISC]: Remove redundant conditionals.
9281 * posix/unistd.h: Update #endif comments.
9282 [__USE_MISC]: Remove redundant conditionals.
9283 * pwd/pwd.h [__USE_GNU]: Likewise.
9284 [__USE_MISC]: Likewise.
9285 * resolv/netdb.h [__USE_GNU]: Likewise.
9286 * signal/signal.h: Update #endif comments.
9287 [__USE_MISC]: Remove redundant conditionals.
9288 * stdlib/stdlib.h: Update #else and #endif comments.
9289 [__USE_MISC]: Remove redundant conditionals.
9290 [__USE_GNU]: Likewise.
9291 * string/bits/string2.h [__USE_MISC]: Likewise.
9292 * string/string.h: Update #endif comments.
9293 [__USE_MISC]: Remove redundant conditionals.
9294 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9296 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9297 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9298 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9300 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9302 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9304 [__USE_MISC]: Remove redundant conditionals.
9305 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9306 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9307 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9308 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9309 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9311 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9312 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9314 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9315 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9317 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9319 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9320 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9322 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9324 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9325 * sysdeps/x86/bits/string.h: Update #endif comments.
9326 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9328 * time/sys/time.h: Update #endif comments.
9329 * time/time.h: Likewise.
9330 [__USE_MISC]: Remove redundant conditionals.
9332 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9335 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9337 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9339 * Versions.def (librt): Add GLIBC_2.17.
9341 2014-02-21 Adam Conrad <adconrad@0c3.net>
9343 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9344 synonym for _SYS_AUXV_H to allow direct inclusion.
9345 * sysdeps/sparc/bits/hwcap.h: Likewise.
9346 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9347 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9348 * sysdeps/sparc/sysdep.h: Likewise.
9350 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9352 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9354 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9356 * benchtests/bench-strrchr.c: Print length instead of position.
9358 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9361 * sysdeps/unix/sysv/linux/kernel-features.h
9362 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9363 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9364 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9365 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9367 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9368 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9369 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9370 (__ASSUME_SENDMMSG): Define instead of using previous
9371 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9372 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9373 (__ASSUME_SENDMMSG_SYSCALL): Define.
9374 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9375 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9377 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9378 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9380 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9381 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9383 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9384 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9385 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9386 [__ASSUME_SENDMMSG]: Change conditionals to
9387 [__ASSUME_SENDMMSG_SOCKETCALL].
9388 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9389 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9391 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9392 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9394 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9395 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9396 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9397 [!__ASSUME_SENDMMSG]: Change conditional to
9398 [!__ASSUME_SENDMMSG_SOCKETCALL].
9399 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9400 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9404 * sysdeps/unix/sysv/linux/kernel-features.h
9405 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9406 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9407 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9408 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9409 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9410 [__i386__ || __sparc__]
9411 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9412 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9413 (__ASSUME_RECVMMSG): Define instead of using previous
9414 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9415 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9416 (__ASSUME_RECVMMSG_SYSCALL): Define.
9417 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9418 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9420 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9421 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9423 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9424 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9426 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9427 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9428 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9429 [__ASSUME_RECVMMSG]: Change condition to
9430 [__ASSUME_RECVMMSG_SOCKETCALL].
9431 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9432 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9434 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9435 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9436 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9438 * sysdeps/unix/sysv/linux/recvmmsg.c [__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/tile/kernel-features.h
9444 (__ASSUME_RECVMMSG_SYSCALL): Define.
9447 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9448 __powerpc__ || __s390__ || __sh__ || __sparc__]
9449 (__ASSUME_SOCKETCALL): Define.
9450 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9451 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9452 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9453 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9454 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9455 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9456 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9457 (__ASSUME_ACCEPT4): Define instead of using previous
9458 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9459 __powerpc__ || __sparc__ || __s390__)] condition.
9460 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9461 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9462 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9463 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9464 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9465 [!__ASSUME_ACCEPT4]: Change condition to
9466 [!__ASSUME_ACCEPT4_SOCKETCALL].
9467 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9468 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9469 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9470 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9471 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9472 __ASSUME_ACCEPT4_SYSCALL.
9473 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9474 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9475 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9476 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9477 __ASSUME_ACCEPT4_SYSCALL.
9478 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9479 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9480 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9481 [__ASSUME_ACCEPT4]: Change condition to
9482 [__ASSUME_ACCEPT4_SOCKETCALL].
9483 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9484 (__ASSUME_SOCKETCALL): Define.
9485 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9486 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9487 (__ASSUME_SOCKETCALL): Define.
9488 (__ASSUME_ACCEPT4): Remove.
9489 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9491 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9492 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9494 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9495 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9497 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9499 (HWCAP_ARM_LPAE): Likewise.
9500 (HWCAP_ARM_EVTSTRM): Likewise.
9501 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9502 Add vpfd32, lpae and evtstrm.
9503 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9506 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9508 * math/auto-libm-test-in: Add tests of clog10.
9509 * math/auto-libm-test-out: Regenerated.
9510 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9511 * sysdeps/i386/fpu/libm-test-ulps: Update.
9512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9514 2014-02-18 Andreas Schwab <schwab@suse.de>
9517 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9518 Store non-zero if the second buffer was newly allocated.
9519 (send_dg): Likewise.
9520 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9521 to send_vc and send_dg.
9522 (res_nsend): Pass NULL for ansp2_malloced.
9523 * resolv/res_query.c (__libc_res_nquery): Add parameter
9524 answerp2_malloced and pass it down to __libc_res_nsend.
9525 (res_nquery): Pass additional NULL to __libc_res_nquery.
9526 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9527 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9528 second answer buffer if answerp2_malloced was set.
9529 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9530 (__libc_res_nquerydomain): Add parameter
9531 answerp2_malloced and pass it down to __libc_res_nquery.
9532 (res_nquerydomain): Pass additional NULL to
9533 __libc_res_nquerydomain.
9534 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9535 additional NULL to __libc_res_nsend and __libc_res_nquery.
9536 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9537 additional NULL to __libc_res_nsearch.
9538 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9539 parameter of __libc_res_nsearch to check for separately allocated
9541 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9543 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9544 additional NULL to __libc_res_nquery.
9545 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9547 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9548 * include/resolv.h: Update prototypes of __libc_res_nquery,
9549 __libc_res_nsearch, __libc_res_nsend.
9551 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9553 * math/auto-libm-test-in: Add tests of fma.
9554 * math/auto-libm-test-out: Regenerated.
9555 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9556 (fma_towardzero_test_data): Likewise.
9557 (fma_downward_test_data): Likewise.
9558 (fma_upward_test_data): Likewise.
9559 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9561 (rounding_modes): Add values for new field.
9562 (func_calc_method): Add value mpfr_fff_f.
9563 (func_calc_desc): Add mpfr_fff_f union field.
9564 (test_function): Add field exact_args.
9565 (FUNC): Add macro argument EXACT_ARGS.
9566 (FUNC_mpfr_f_f): Update call to FUNC.
9567 (FUNC_mpfr_f_f): Likewise.
9568 (FUNC_mpfr_ff_f): Likewise.
9569 (FUNC_mpfr_if_f): Likewise.
9570 (FUNC_mpc_c_f): Likewise.
9571 (FUNC_mpc_c_c): Likewise.
9572 (test_functions): Add fma. Update calls to FUNC.
9573 (handle_input_arg): Add argument exact_args.
9574 (add_test): Update call to handle_input_arg.
9575 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9576 (output_for_one_input_case): Update call to calc_generic_results.
9577 Recalculate exact zero results in each rounding mode.
9579 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9580 non-negative before setting low bit.
9581 * math/auto-libm-test-in: Mark one asin test possibly having
9583 * math/auto-libm-test-out: Regenerated.
9584 * sysdeps/i386/fpu/libm-test-ulps: Update.
9585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9587 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9589 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9590 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9591 ports/sysdeps/unix/sysv/linux/microblaze.
9592 * README: Add missing listing for microblaze*-*-linux-gnu.
9594 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9596 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9597 * sysdeps/unix/sysv/linux/ia64: Move directory from
9598 ports/sysdeps/unix/sysv/linux/ia64.
9599 * README: Update listing for ia64-*-linux-gnu.
9601 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9602 Joseph Myers <joseph@codesourcery.com>
9604 * Makeconfig (test-name): New variable.
9605 (evaluate-test): Likewise.
9606 * Makerules (do-test-clean): Remove .test-result files.
9607 (common-mostlyclean): Likewise.
9608 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9609 * scripts/evaluate-test.sh: New file.
9611 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9613 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9614 separate $(objpfx)tst-fopenloc-cmp.out and
9615 $(objpfx)tst-fopenloc-mem.out targets.
9616 (tests): Update dependencies.
9617 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9618 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9619 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9620 (tst-rxspencer-no-utf8-ARGS): New variable.
9621 (tst-rxspencer-no-utf8-ENV): Likewise.
9622 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9623 instead of $(objpfx)tst-rxspencer-mem.
9624 ($(objpfx)tst-rxspencer-mem): Change target to
9625 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9626 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9627 * posix/tst-rxspencer-no-utf8.c: New file.
9629 * elf/Makefile ($(objpfx)order.out): Remove rule.
9630 [$(run-built-tests) = yes] (tests): Depend on
9631 $(objpfx)order-cmp.out.
9632 ($(objpfx)order-cmp.out): New rule.
9633 [$(run-built-tests) = yes] (tests): Depend on
9634 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9635 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9636 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9637 $(objpfx)tst-array5-static-cmp.out.
9638 ($(objpfx)tst-array1.out): Remove rule.
9639 ($(objpfx)tst-array1-cmp.out): New rule.
9640 ($(objpfx)tst-array1-static.out): Remove rule.
9641 ($(objpfx)tst-array1-static-cmp.out): New rule.
9642 ($(objpfx)tst-array2.out): Remove rule.
9643 ($(objpfx)tst-array2-cmp.out): New rule.
9644 ($(objpfx)tst-array3.out): Remove rule.
9645 ($(objpfx)tst-array3-cmp.out): New rule.
9646 ($(objpfx)tst-array4.out): Remove rule.
9647 ($(objpfx)tst-array4-cmp.out): New rule.
9648 ($(objpfx)tst-array5.out): Remove rule.
9649 ($(objpfx)tst-array5-cmp.out): New rule.
9650 ($(objpfx)tst-array5-static.out): Remove rule.
9651 ($(objpfx)tst-array5-static-cmp.out): New rule.
9652 [$(run-built-tests) = yes] (tests): Depend on
9653 $(objpfx)order2-cmp.out.
9654 ($(objpfx)order2.out): Remove rule.
9655 ($(objpfx)order2-cmp.out): New rule.
9656 ($(objpfx)tst-initorder.out): Remove rule.
9657 [$(run-built-tests) = yes] (tests): Depend on
9658 $(objpfx)tst-initorder-cmp.out.
9659 ($(objpfx)tst-initorder-cmp.out): New rule.
9660 ($(objpfx)tst-initorder2.out): Remove rule.
9661 [$(run-built-tests) = yes] (tests): Depend on
9662 $(objpfx)tst-initorder2-cmp.out.
9663 ($(objpfx)tst-initorder2-cmp.out): New rule.
9664 [$(run-built-tests) = yes] (tests): Depend on
9665 $(objpfx)tst-unused-dep-cmp.out.
9666 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9667 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9668 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9669 on $(objpfx)tst-setvbuf1-cmp.out.
9670 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9671 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9672 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9673 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9674 ($(objpfx)tst-svc.out): Remove rule.
9675 ($(objpfx)tst-svc-cmp.out): New rule.
9677 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9679 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9680 * ctype/ctype.h [__USE_MISC]: Likewise.
9681 * dirent/dirent.h [__USE_MISC]: Likewise.
9682 * grp/grp.h [__USE_MISC]: Likewise.
9683 * io/fcntl.h [__USE_MISC]: Likewise.
9684 * io/sys/stat.h [__USE_MISC]: Likewise.
9685 * libio/stdio.h [__USE_MISC]: Likewise.
9686 * posix/unistd.h [__USE_MISC]: Likewise.
9687 * pwd/pwd.h [__USE_MISC]: Likewise.
9688 * stdlib.h [__USE_MISC]: Likewise.
9689 * string/bits/string2.h [__USE_MISC]: Likewise.
9690 * string/string.h [__USE_MISC]: Likewise.
9691 * time/time.h [__USE_MISC]: Likewise.
9693 2014-02-13 Andreas Schwab <schwab@suse.de>
9696 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9697 second answer buffer if it was separately allocated.
9699 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9701 * sysdeps/mips/math-tests.h: Include <features.h>.
9702 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9703 (ROUNDING_TESTS_long_double): Do not define.
9704 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9705 (EXCEPTION_TESTS_long_double): Likewise.
9706 * sysdeps/mips/mips64/libm-test-ulps: Update.
9708 * include/features.h (__USE_BSD): Remove macro definitions.
9709 (__USE_SVID): Likewise.
9710 (_BSD_SOURCE): Likewise.
9711 (_SVID_SOURCE): Likewise.
9712 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9713 from definition of _DEFAULT_SOURCE.
9714 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9716 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9717 * bits/mman.h [__USE_BSD]: Likewise.
9718 * bits/termios.h [__USE_BSD]: Likewise.
9719 * bits/waitstatus.h [__USE_BSD]: Likewise.
9720 * ctype/ctype.h [__USE_SVID]: Likewise.
9721 * dirent/dirent.h [__USE_BSD]: Likewise.
9722 * grp/grp.h [__USE_SVID]: Likewise.
9723 [__USE_BSD]: Likewise.
9724 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9725 * io/fcntl.h [__USE_BSD]: Likewise.
9726 * io/ftw.h [__USE_BSD]: Likewise.
9727 * io/sys/stat.h [__USE_BSD]: Likewise.
9728 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9729 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9730 * libio/stdio.h [__USE_SVID]: Likewise.
9731 [__USE_BSD]: Likewise.
9732 * math/math.h [__USE_SVID]: Likewise.
9733 [__USE_BSD]: Likewise.
9734 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9735 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9736 * misc/search.h [__USE_SVID]: Likewise.
9737 * misc/sys/mman.h [__USE_BSD]: Likewise.
9738 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9739 * misc/sys/uio.h [__USE_BSD]: Likewise.
9740 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9741 * posix/glob.h [__USE_BSD]: Likewise.
9742 * posix/regex.h [__USE_BSD]: Likewise.
9743 * posix/sys/types.h [__USE_BSD]: Likewise.
9744 [__USE_SVID]: Likewise.
9745 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9746 * posix/sys/wait.h [__USE_BSD]: Likewise.
9747 [__USE_SVID]: Likewise.
9748 * posix/unistd.h [__USE_BSD]: Likewise.
9749 [__USE_SVID]: Likewise.
9750 * pwd/pwd.h [__USE_SVID]: Likewise.
9751 * resolv/netdb.h [__USE_BSD]: Likewise.
9752 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9753 * signal/signal.h [__USE_BSD]: Likewise.
9754 [__USE_SVID]: Likewise.
9755 * socket/sys/socket.h [__USE_BSD]: Likewise.
9756 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9757 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9758 [__USE_SVID]: Likewise.
9759 * string/bits/string2.h [__USE_BSD]: Likewise.
9760 [__USE_SVID]: Likewise.
9761 * string/bits/string3.h [__USE_BSD]: Likewise.
9762 * string/endian.h [__USE_BSD]: Likewise.
9763 * string/string.h [__USE_SVID]: Likewise.
9764 [__USE_BSD]: Likewise.
9765 * string/strings.h [__USE_BSD]: Likewise.
9766 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9767 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9768 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9769 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9770 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9771 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9773 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9775 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9776 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9778 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9779 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9781 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9783 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9784 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9785 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9787 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9789 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9790 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9791 * termios/termios.h [__USE_BSD]: Likewise.
9792 * time/sys/time.h [__USE_BSD]: Likewise.
9793 * time/time.h [__USE_BSD]: Likewise.
9794 [__USE_SVID]: Likewise.
9796 * Makefile (subdir_targets): Remove subdir_lint.out.
9798 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9799 (do-tst-printf): Likewise.
9800 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9801 $(objpfx)tst-printf.out.
9803 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9805 * Makerules (check-abi-%): Change target to
9806 $(objpfx)check-abi-%.out.
9807 (check-abi target): Update dependencies.
9808 (check-abi-pattern variable): Redirect output of diff to $@.
9809 (check-abi variable): Likewise.
9810 * elf/Makefile (check-abi): Update dependencies.
9812 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9814 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9815 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9817 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9818 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9819 value has largest subnormal exponent.
9820 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9821 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9822 * sysdeps/aarch64/soft-fp/sfp-machine.h
9823 (_FP_TININESS_AFTER_ROUNDING): New macro.
9824 * sysdeps/alpha/soft-fp/sfp-machine.h
9825 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9826 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9828 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9829 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9830 * sysdeps/mips/soft-fp/sfp-machine.h
9831 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9832 * sysdeps/powerpc/soft-fp/sfp-machine.h
9833 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9834 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9836 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9837 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9838 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9839 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9840 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9843 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9846 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9849 2014-02-12 Richard Henderson <rth@redhat.com>
9851 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9852 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9853 * sysdeps/unix/sysv/linux/alpha: Move directory from
9854 ports/sysdeps/unix/sysv/linux/alpha.
9855 * README: Update listing for alpha-*-linux-gnu.
9857 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9859 * include/features.h: Update comment documenting feature test
9861 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9863 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9864 (_SVID_SOURCE): Likewise.
9865 (_DEFAULT_SOURCE): Update description of default features.
9866 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9868 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9869 (S_ISVTX): Likewise.
9870 * manual/math.texi (Mathematical Constants): Likewise.
9871 * manual/signal.texi (Interrupted Primitives): Likewise.
9872 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9873 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9874 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9875 Don't refer to _SVID_SOURCE in warning text.
9877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9879 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9881 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9882 * sysdeps/mips/dl-lookup.c: Remove.
9883 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9885 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9888 * math/auto-libm-test-in: Add testcase for expl.
9889 * math/auto-libm-test-out: Regenerate.
9890 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9891 calculation of unsafe.
9892 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9894 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9896 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9897 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9898 ports/sysdeps/unix/sysv/linux/aarch64.
9899 * README: Update listing for aarch64*-*-linux-gnu.
9901 2014-02-11 Will Newton <will.newton@linaro.org>
9903 * manual/probes.texi (Mathematical Function Probes): Use
9904 "triggered" instead of "hit".
9906 * manual/probes.texi (Internal Probes): Add documentation
9907 of setjmp, longjmp and longjmp_target probes.
9909 * include/stap-probe.h: Add comment about probe argument
9912 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9913 definition. (tr_where, tr_freehook, tr_mallochook,
9914 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9916 2014-02-11 David S. Miller <davem@davemloft.net>
9918 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9919 processing int_tests.
9921 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9923 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9924 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9925 * sysdeps/unix/sysv/linux/mips: Move directory from
9926 ports/sysdeps/unix/sysv/linux/mips.
9927 * README: Update listing for mips-*-linux-gnu and
9930 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9932 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9933 * sysdeps/unix/sysv/linux/m68k: Move directory from
9934 ports/sysdeps/unix/sysv/linux/m68k.
9935 * README: Update listing for m68k-*-linux-gnu.
9937 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9939 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9940 * sysdeps/unix/sysv/linux/generic: Move directory from
9941 ports/sysdeps/unix/sysv/linux/generic.
9942 * sysdeps/unix/sysv/linux/tile: Move directory from
9943 ports/sysdeps/unix/sysv/linux/tile.
9944 * README: Update listing for tile*-*-linux-gnu.
9946 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9948 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9950 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9951 * catgets/open_catalog.c (__open_catalog): Likewise.
9952 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9953 * debug/confstr_chk.c: Likewise.
9954 * debug/fread_chk.c (__fread_chk): Likewise.
9955 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9956 * debug/getgroups_chk.c: Likewise.
9957 * debug/mbsnrtowcs_chk.c: Likewise.
9958 * debug/mbsrtowcs_chk.c: Likewise.
9959 * debug/mbstowcs_chk.c: Likewise.
9960 * debug/memcpy_chk.c: Likewise.
9961 * debug/memmove_chk.c: Likewise.
9962 * debug/mempcpy_chk.c: Likewise.
9963 * debug/memset_chk.c: Likewise.
9964 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9965 * debug/strcat_chk.c (__strcat_chk): Likewise.
9966 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9967 * debug/strncat_chk.c (__strncat_chk): Likewise.
9968 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9969 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9970 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9971 * debug/wcpncpy_chk.c: Likewise.
9972 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9973 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9974 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9975 * debug/wcsncpy_chk.c: Likewise.
9976 * debug/wcsnrtombs_chk.c: Likewise.
9977 * debug/wcsrtombs_chk.c: Likewise.
9978 * debug/wcstombs_chk.c: Likewise.
9979 * debug/wmemcpy_chk.c: Likewise.
9980 * debug/wmemmove_chk.c: Likewise.
9981 * debug/wmempcpy_chk.c: Likewise.
9982 * debug/wmemset_chk.c: Likewise.
9983 * dirent/scandirat.c (SCANDIRAT): Likewise.
9984 * dlfcn/dladdr1.c (dladdr1): Likewise.
9985 * dlfcn/dladdr.c (dladdr): Likewise.
9986 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9987 * dlfcn/dlerror.c (__dlerror): Likewise.
9988 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9989 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9990 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9991 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9992 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9993 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9994 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9995 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9997 * elf/dl-conflict.c: Likewise.
9998 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9999 * elf/dl-dst.h: Likewise.
10000 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10001 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10002 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10003 * elf/dl-init.c (call_init, _dl_init): Likewise.
10004 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10005 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10006 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10008 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10010 * elf/dl-minimal.c (__libc_memalign): Likewise.
10011 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10012 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10013 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10014 * elf/dl-sym.c (do_sym): Likewise.
10015 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10016 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10017 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10018 * elf/dl-writev.h (_dl_writev): Likewise.
10019 * elf/ldconfig.c (search_dir): Likewise.
10020 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10021 (dl_main): Likewise.
10022 * elf/setup-vdso.h (setup_vdso): Likewise.
10023 * grp/compat-initgroups.c (compat_call): Likewise.
10024 * grp/fgetgrent.c (fgetgrent): Likewise.
10025 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10026 * grp/putgrent.c (putgrent): Likewise.
10027 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10029 * hurd/hurdinit.c: Likewise.
10030 * iconvdata/8bit-gap.c (struct): Likewise.
10031 * iconvdata/ansi_x3.110.c : Likewise.
10032 * iconvdata/big5.c : Likewise.
10033 * iconvdata/big5hkscs.c : Likewise.
10034 * iconvdata/cp1255.c: Likewise.
10035 * iconvdata/cp1258.c : Likewise.
10036 * iconvdata/cp932.c : Likewise.
10037 * iconvdata/euc-cn.c: Likewise.
10038 * iconvdata/euc-jisx0213.c : Likewise.
10039 * iconvdata/euc-jp.c: Likewise.
10040 * iconvdata/euc-jp-ms.c : Likewise.
10041 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10042 * iconvdata/gb18030.c : Likewise.
10043 * iconvdata/gbbig5.c (const): Likewise.
10044 * iconvdata/gbgbk.c: Likewise.
10045 * iconvdata/gbk.c : Likewise.
10046 * iconvdata/ibm1364.c : Likewise.
10047 * iconvdata/ibm930.c : Likewise.
10048 * iconvdata/ibm932.c: Likewise.
10049 * iconvdata/ibm933.c : Likewise.
10050 * iconvdata/ibm935.c : Likewise.
10051 * iconvdata/ibm937.c : Likewise.
10052 * iconvdata/ibm939.c : Likewise.
10053 * iconvdata/ibm943.c: Likewise.
10054 * iconvdata/iso_11548-1.c: Likewise.
10055 * iconvdata/iso-2022-cn.c : Likewise.
10056 * iconvdata/iso-2022-cn-ext.c : Likewise.
10057 * iconvdata/iso-2022-jp-3.c: Likewise.
10058 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10059 * iconvdata/iso-2022-kr.c : Likewise.
10060 * iconvdata/iso646.c (gconv_end): Likewise.
10061 * iconvdata/iso_6937-2.c : Likewise.
10062 * iconvdata/iso_6937.c : Likewise.
10063 * iconvdata/iso8859-1.c: Likewise.
10064 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10065 * iconvdata/shift_jisx0213.c : Likewise.
10066 * iconvdata/sjis.c : Likewise.
10067 * iconvdata/t.61.c : Likewise.
10068 * iconvdata/tcvn5712-1.c : Likewise.
10069 * iconvdata/tscii.c: Likewise.
10070 * iconvdata/uhc.c : Likewise.
10071 * iconvdata/unicode.c (gconv_end): Likewise.
10072 * iconvdata/utf-16.c (gconv_end): Likewise.
10073 * iconvdata/utf-32.c (gconv_end): Likewise.
10074 * iconvdata/utf-7.c (base64): Likewise.
10075 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10076 * iconv/gconv_close.c (__gconv_close): Likewise.
10077 * iconv/gconv_open.c (__gconv_open): Likewise.
10078 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10079 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10080 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10081 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10082 (ucs4le_internal_loop_single): Likewise.
10083 * iconv/iconv.c (iconv): Likewise.
10084 * iconv/iconv_close.c: Likewise.
10085 * iconv/loop.c (SINGLE): Likewise.
10086 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10087 * include/atomic.h: Likewise.
10088 * inet/inet6_option.c (option_alloc): Likewise.
10089 * intl/bindtextdom.c (set_binding_values): Likewise.
10090 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10091 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10092 * intl/localealias.c (read_alias_file): Likewise.
10093 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10094 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10095 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10096 * libio/fmemopen.c (fmemopen): Likewise.
10097 * libio/iofgets.c (_IO_fgets): Likewise.
10098 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10099 * libio/iofgetws.c (fgetws): Likewise.
10100 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10101 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10102 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10103 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10104 * locale/findlocale.c (_nl_find_locale): Likewise.
10105 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10106 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10108 * locale/setlocale.c (setlocale): Likewise.
10109 * login/programs/pt_chown.c (main): Likewise.
10110 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10111 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10112 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10113 (mmap, mmap64, mremap, munmap): Likewise.
10114 * math/e_exp2l.c: Likewise.
10115 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10116 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10117 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10118 * math/s_catan.c (__catan): Likewise.
10119 * math/s_catanf.c (__catanf): Likewise.
10120 * math/s_catanh.c (__catanh): Likewise.
10121 * math/s_catanhf.c (__catanhf): Likewise.
10122 * math/s_catanhl.c (__catanhl): Likewise.
10123 * math/s_catanl.c (__catanl): Likewise.
10124 * math/s_ccosh.c (__ccosh): Likewise.
10125 * math/s_ccoshf.c (__ccoshf): Likewise.
10126 * math/s_ccoshl.c (__ccoshl): Likewise.
10127 * math/s_cexp.c (__cexp): Likewise.
10128 * math/s_cexpf.c (__cexpf): Likewise.
10129 * math/s_cexpl.c (__cexpl): Likewise.
10130 * math/s_clog10.c (__clog10): Likewise.
10131 * math/s_clog10f.c (__clog10f): Likewise.
10132 * math/s_clog10l.c (__clog10l): Likewise.
10133 * math/s_clog.c (__clog): Likewise.
10134 * math/s_clogf.c (__clogf): Likewise.
10135 * math/s_clogl.c (__clogl): Likewise.
10136 * math/s_csin.c (__csin): Likewise.
10137 * math/s_csinf.c (__csinf): Likewise.
10138 * math/s_csinh.c (__csinh): Likewise.
10139 * math/s_csinhf.c (__csinhf): Likewise.
10140 * math/s_csinhl.c (__csinhl): Likewise.
10141 * math/s_csinl.c (__csinl): Likewise.
10142 * math/s_csqrt.c (__csqrt): Likewise.
10143 * math/s_csqrtf.c (__csqrtf): Likewise.
10144 * math/s_csqrtl.c (__csqrtl): Likewise.
10145 * math/s_ctan.c (__ctan): Likewise.
10146 * math/s_ctanf.c (__ctanf): Likewise.
10147 * math/s_ctanh.c (__ctanh): Likewise.
10148 * math/s_ctanhf.c (__ctanhf): Likewise.
10149 * math/s_ctanhl.c (__ctanhl): Likewise.
10150 * math/s_ctanl.c (__ctanl): Likewise.
10151 * math/w_pow.c: Likewise.
10152 * math/w_powf.c: Likewise.
10153 * math/w_powl.c: Likewise.
10154 * math/w_scalb.c (sysv_scalb): Likewise.
10155 * math/w_scalbf.c (sysv_scalbf): Likewise.
10156 * math/w_scalbl.c (sysv_scalbl): Likewise.
10157 * misc/error.c (error_tail): Likewise.
10158 * misc/pselect.c (__pselect): Likewise.
10159 * nis/nis_callback.c (__nis_create_callback): Likewise.
10160 * nis/nis_call.c (__nisfind_server): Likewise.
10161 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10162 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10163 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10164 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10165 * nis/nis_lookup.c (nis_lookup): Likewise.
10166 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10167 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10168 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10169 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10170 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10171 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10172 * nis/nss_compat/compat-initgroups.c (add_group)
10173 (internal_getgrent_r): Likewise.
10174 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10175 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10176 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10177 (internal_getspnam_r): Likewise.
10178 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10179 (_nss_nis_getaliasbyname_r): Likewise.
10180 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10181 (_nss_nis_getntohost_r): Likewise.
10182 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10183 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10184 (_nss_nis_getgrgid_r): Likewise.
10185 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10186 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10187 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10188 (_nss_nis_gethostbyname4_r): Likewise.
10189 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10190 (initgroups_netid): Likewise.
10191 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10192 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10193 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10194 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10195 (_nss_nis_getprotobynumber_r): Likewise.
10196 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10197 (_nss_nis_getsecretkey): Likewise.
10198 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10199 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10200 (_nss_nis_getpwuid_r): Likewise.
10201 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10202 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10203 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10204 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10205 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10206 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10207 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10209 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10210 (_nss_nisplus_getntohost_r): Likewise.
10211 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10212 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10213 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10214 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10216 * nis/nss_nisplus/nisplus-initgroups.c
10217 (_nss_nisplus_initgroups_dyn): Likewise.
10218 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10219 (_nss_nisplus_getnetbyaddr_r): Likewise.
10220 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10221 (_nss_nisplus_getprotobynumber_r): Likewise.
10222 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10223 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10224 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10226 * nis/nss_nisplus/nisplus-service.c
10227 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10228 (_nss_nisplus_getservbyport_r): Likewise.
10229 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10230 (_nss_nisplus_getspnam_r): Likewise.
10231 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10233 * nscd/aicache.c (addhstaiX): Likewise.
10234 * nscd/cache.c (cache_search, prune_cache): Likewise.
10235 * nscd/connections.c (register_traced_file, send_ro_fd)
10236 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10237 (main_loop_epoll): Likewise.
10238 * nscd/grpcache.c (addgrbyX): Likewise.
10239 * nscd/hstcache.c (addhstbyX): Likewise.
10240 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10241 * nscd/mem.c (gc, mempool_alloc): Likewise.
10242 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10243 (addinnetgrX): Likewise.
10244 * nscd/nscd-client.h (__nscd_acquire_maplock)
10245 (__nscd_drop_map_ref): Likewise.
10246 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10247 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10248 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10250 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10251 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10252 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10253 (__nscd_get_map_ref): Likewise.
10254 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10255 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10257 * nscd/pwdcache.c (addpwbyX): Likewise.
10258 * nscd/selinux.c (preserve_capabilities): Likewise.
10259 * nscd/servicescache.c (addservbyX): Likewise.
10260 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10261 * posix/fnmatch.c (fnmatch): Likewise.
10262 * posix/getopt.c (_getopt_internal_r): Likewise.
10263 * posix/glob.c (glob, glob_in_dir): Likewise.
10264 * posix/wordexp.c (exec_comm_child): Likewise.
10265 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10266 (getanswer_r, gaih_getanswer_slice): Likewise.
10267 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10268 * resolv/res_init.c: Likewise.
10269 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10270 * resolv/res_query.c (__libc_res_nquery): Likewise.
10271 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10273 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10274 * stdio-common/perror.c (perror): Likewise.
10275 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10276 * stdio-common/tmpnam.c (tmpnam): Likewise.
10277 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10278 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10279 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10281 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10282 * stdlib/putenv.c (putenv): Likewise.
10283 * stdlib/setenv.c (__add_to_environ): Likewise.
10284 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10285 * stdlib/strtol_l.c (INTERNAL): Likewise.
10286 * string/memmem.c (memmem): Likewise.
10287 * string/strerror.c (strerror): Likewise.
10288 * string/strnlen.c (__strnlen): Likewise.
10289 * string/test-memmem.c (simple_memmem): Likewise.
10290 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10291 * sunrpc/pm_getport.c (__get_socket): Likewise.
10292 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10293 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10294 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10295 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10297 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10298 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10299 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10300 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10301 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10302 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10304 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10306 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10307 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10308 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10309 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10310 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10311 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10312 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10313 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10314 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10315 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10316 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10317 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10319 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10321 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10323 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10324 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10325 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10326 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10327 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10328 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10329 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10330 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10331 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10332 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10333 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10334 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10335 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10336 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10337 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10338 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10340 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10342 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10344 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10346 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10347 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10348 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10350 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10351 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10352 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10353 * sysdeps/posix/sleep.c: Likewise.
10354 * sysdeps/posix/tempname.c: Likewise.
10355 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10356 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10358 * sysdeps/powerpc/powerpc32/dl-machine.h
10359 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10360 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10361 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10362 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10363 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10365 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10366 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10367 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10368 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10369 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10370 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10371 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10372 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10373 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10374 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10375 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10376 (elf_machine_lazy_rel): Likewise.
10377 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10378 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10379 (elf_machine_lazy_rel): Likewise.
10380 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10381 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10382 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10383 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10384 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10385 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10386 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10387 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10389 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10390 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10391 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10392 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10393 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10394 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10395 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10396 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10397 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10398 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10399 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10401 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10402 (__posix_fallocate64_l64): Likewise.
10403 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10404 (posix_fallocate): Likewise.
10405 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10407 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10408 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10409 (getifaddrs_internal): Likewise.
10410 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10411 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10412 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10413 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10414 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10415 (__posix_fallocate64_l64): Likewise.
10416 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10418 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10419 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10420 (__get_clockfreq): Likewise.
10421 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10422 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10423 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10424 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10425 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10426 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10427 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10428 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10430 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10431 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10432 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10433 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10434 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10435 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10436 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10438 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10439 (posix_fallocate): Likewise.
10440 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10441 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10442 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10443 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10444 (elf_machine_rela, elf_machine_rela_relative)
10445 (elf_machine_lazy_rel): Likewise.
10446 * time/asctime.c (asctime_internal): Likewise.
10447 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10448 * time/tzset.c (__tzset_parse_tz): Likewise.
10449 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10450 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10451 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10452 * wcsmbs/wcsmbsload.h: Likewise.
10455 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10457 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10458 (arena_get2): Remove THREAD_STATS conditionals.
10459 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10460 (__malloc_stats, int): Likewise.
10462 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10464 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10465 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10467 * manual/setjmp.texi: Fix typos/grammar errors.
10469 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10470 Only return early when n is <= 0. Delete unused return statement.
10472 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10473 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10474 * debug/tst-longjmp_chk3.c: New file.
10476 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10477 (test_main): Replace code with set_fortify_handler call.
10478 * debug/test-strcpy_chk.c: Likewise.
10479 * debug/tst-chk1.c: Likewise.
10480 * debug/tst-longjmp_chk.c: Likewise.
10481 * test-skeleton.c: Include fcntl.h & paths.h
10482 (set_fortify_handler): Define.
10484 * debug/tst-longjmp_chk.c: Add header comment and include
10485 ../test-skeleton.c.
10486 (do_test): Mark static.
10487 (TEST_FUNCTION): Define.
10489 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10490 (IP_PMTUDISC_INTERFACE): Likewise.
10491 (IP_MULTICAST_IF): Likewise.
10492 (IP_MULTICAST_TTL): Likewise.
10493 (IP_MULTICAST_LOOP): Likewise.
10494 (IP_ADD_MEMBERSHIP): Likewise.
10495 (IP_DROP_MEMBERSHIP): Likewise.
10496 (IP_UNBLOCK_SOURCE): Likewise.
10497 (IP_BLOCK_SOURCE): Likewise.
10498 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10499 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10500 (IP_MSFILTER): Likewise.
10501 (MCAST_JOIN_GROUP): Likewise.
10502 (MCAST_BLOCK_SOURCE): Likewise.
10503 (MCAST_UNBLOCK_SOURCE): Likewise.
10504 (MCAST_LEAVE_GROUP): Likewise.
10505 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10506 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10507 (MCAST_MSFILTER): Likewise.
10508 (IP_MULTICAST_ALL): Likewise.
10509 (IP_UNICAST_IF): Likewise.
10511 * timezone/Makefile: Delete $(have-ksh) check.
10512 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10513 * timezone/tzselect.ksh: Add +x mode bits.
10515 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10516 (ANON_INODE_FS_MAGIC): Likewise.
10517 (BDEVFS_MAGIC): Likewise.
10518 (BINFMTFS_MAGIC): Likewise.
10519 (BTRFS_TEST_MAGIC): Likewise.
10520 (CRAMFS_MAGIC_WEND): Likewise.
10521 (DEBUGFS_MAGIC): Likewise.
10522 (ECRYPTFS_SUPER_MAGIC): Likewise.
10523 (EXT3_SUPER_MAGIC): Likewise.
10524 (EXT4_SUPER_MAGIC): Likewise.
10525 (FUTEXFS_SUPER_MAGIC): Likewise.
10526 (HOSTFS_SUPER_MAGIC): Likewise.
10527 (HUGETLBFS_MAGIC): Likewise.
10528 (MINIX3_SUPER_MAGIC): Likewise.
10529 (MTD_INODE_FS_MAGIC): Likewise.
10530 (NILFS_SUPER_MAGIC): Likewise.
10531 (OPENPROM_SUPER_MAGIC): Likewise.
10532 (PIPEFS_MAGIC): Likewise.
10533 (PSTOREFS_MAGIC): Likewise.
10534 (QNX6_SUPER_MAGIC): Likewise.
10535 (RAMFS_MAGIC): Likewise.
10536 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10537 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10538 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10539 (SECURITYFS_MAGIC): Likewise.
10540 (SELINUX_MAGIC): Likewise.
10541 (SMACK_MAGIC): Likewise.
10542 (SOCKFS_MAGIC): Likewise.
10543 (SQUASHFS_MAGIC): Likewise.
10544 (STACK_END_MAGIC): Likewise.
10545 (TMPFS_MAGIC): Likewise.
10546 (USBDEVICE_SUPER_MAGIC): Likewise.
10547 (V9FS_MAGIC): Likewise.
10548 (XENFS_SUPER_MAGIC): Likewise.
10549 (CRAMFS_MAGIC): Fix typo in comment.
10550 (EXT2_SUPER_MAGIC): Update comment.
10551 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10553 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10555 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10556 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10557 * sysdeps/unix/sysv/linux/arm: Move directory from
10558 ports/sysdeps/unix/sysv/linux/arm.
10559 * README: Update listing for arm-*-linux-gnueabi.
10561 * README: Remove mention of am33.
10563 2014-02-07 Roland McGrath <roland@hack.frob.com>
10565 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10566 than the comma operator, to avoid "rhs of comma has no effect"
10568 (__sigfillset, __sigandset, __sigorset): Likewise.
10569 * include/signal.h (__sigemptyset): Likewise.
10570 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10572 2014-02-07 Allan McRae <allan@archlinux.org>
10574 * version.h (RELEASE): Set to "development".
10575 (VERSION): Set to "2.19.90"
10576 * NEWS: Add 2.20 section.
10578 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10581 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10583 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10585 * manual/contrib.texi: Update entry for Carlos O'Donell,
10586 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10588 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10590 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10592 * sysdeps/unix/sysv/linux/kernel-features.h
10593 [__LINUX_KERNEL_VERSION >= 0x020621]
10594 (__ASSUME_PROC_PID_TASK_COMM): Define.
10596 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10599 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10600 conversion when destination buffer does not have enough space.
10601 * libio/tst-ftell-partial-wide.c: New test case.
10602 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10604 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10605 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10606 Leonard and Allan McRae.
10608 2014-02-04 David S. Miller <davem@davemloft.net>
10610 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10613 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10642 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10644 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10645 * shlib-versions: Likewise.
10647 2014-02-04 Roland McGrath <roland@hack.frob.com>
10648 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10650 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10651 (abilist-pattern): New variable, set to %-le.abilist.
10653 * Makerules (abilist-pattern): New variable.
10654 (vpath): Use $(abilist-pattern) in place of %.abilist.
10655 (check-abi-% pattern rule): Likewise.
10656 (check-abi, update-abi): Likewise.
10658 2014-02-04 Eric Wong <normalperson@yhbt.net>
10660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10662 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10664 * manual/startup.texi: Add next, previous, and top entries for
10665 the `Program Arguments' and `Environment Variables' nodes.
10667 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10669 * manual/macros.texi: Add comments before MTASC-safety macros.
10671 * manual/users.texi: Document MTASC-safety properties.
10673 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10674 (pthread_getspecific, pthread_setspecific): Format with
10675 @deftypefun, and add @safety note.
10676 * manual/signal.texi: Move comments that analyze the above
10677 functions to their home place.
10679 2014-02-03 Allan McRae <allan@archlinux.org>
10681 * po/sl.po: Update Slovenian translation from translation project.
10683 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10685 * manual/time.texi (timegm): Add missing blank after @c.
10686 Reported by Joseph Myers <joseph@codesourcery.com>.
10688 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10690 * manual/check-safety.sh: New.
10691 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10693 * manual/terminal.texi: Document MTASC-safety properties.
10695 * manual/filesys.texi: Document MTASC-safety properties.
10697 * manual/errno.texi: Document MTASC-safety properties.
10699 * manual/intro.texi: Document safety identifiers and
10702 * manual/string.texi (wcstok): Fix prototype.
10703 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10705 * manual/time.texi: Document MTASC-safety properties.
10707 * manual/string.texi: Document MTASC-safety properties.
10709 * manual/threads.texi: Document MTASC-safety properties.
10711 * manual/stdio.texi: Document MTASC-safety properties.
10713 * manual/syslog.texi: Document MTASC-safety properties.
10715 * manual/sysinfo.texi: Document MTASC-safety properties.
10717 * manual/startup.texi: Document MTASC-safety properties.
10719 * manual/socket.texi: Document MTASC-safety properties.
10721 * manual/signal.texi: Document MTASC-safety properties.
10723 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10725 * manual/setjmp.texi: Document MTASC-safety properties.
10727 * manual/search.texi: Document MTASC-safety properties.
10729 * manual/resource.texi: Document MTASC-safety properties.
10731 * manual/process.texi: Document MTASC-safety properties.
10733 * manual/platform.texi: Document MTASC-safety properties.
10735 * manual/pipe.texi: Document MTASC-safety properties.
10737 * manual/pattern.texi: Document MTASC-safety properties.
10739 * manual/message.texi: Document MTASC-safety properties.
10742 * manual/memory.texi: Document MTASC-safety properties.
10744 * manual/math.texi: Document MTASC-safety properties.
10746 * manual/locale.texi: Document MTASC-safety properties.
10748 * manual/llio.texi: Document MTASC-safety properties.
10750 * manual/libdl.texi: New.
10752 * manual/lang.texi: Document MTASC-safety properties.
10754 * manual/job.texi: Document MTASC-safety properties.
10756 * manual/getopt.texi: Document MTASC-safety properties.
10758 * manual/ctype.texi: Document MTASC-safety properties.
10760 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10763 * csu/libc-tls.c (static_map): Remove variable.
10764 (__libc_setup_tls): Use main executable's link map for TLS data.
10765 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10766 casing for LM_ID_BASE and GL(dl_nns).
10767 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10768 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10769 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10770 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10771 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10773 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10776 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10778 * manual/debug.texi: Document MTASC-safety properties.
10780 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10783 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10784 of __x86_64__ when disabling x87 inline functions.
10786 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10788 * manual/charset.texi: Document MTASC-safety properties.
10790 * manual/crypt.texi: Document MTASC-safety properties.
10792 * manual/conf.texi: Document MTASC-safety properties.
10794 * manual/arith.texi: Document MTASC-safety properties.
10796 * manual/argp.texi: Document MTASC-safety properties.
10798 * manual/macros.texi: Introduce macros to document multi
10799 thread, asynchronous signal and asynchronous cancellation
10801 * manual/intro.texi: Introduce the properties themselves.
10803 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10805 * sysdeps/sh/sh4/Makefile: New file.
10807 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10809 * math/gen-libm-test.pl ($srcdir): New variable.
10810 ($auto_input): Use it.
10812 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10815 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10816 access beyond array bounds when parsing netgroups file.
10818 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10819 the old buffer before realloc.
10821 2014-01-27 Allan McRae <allan@archlinux.org>
10823 * po/fr.po: Update French translation from translation project.
10825 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10827 * sysdeps/sh/libm-test-ulps: Regenerate.
10829 2014-01-24 David S. Miller <davem@davemloft.net>
10831 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10833 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10835 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10836 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10838 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10841 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10842 string pointers after reallocation.
10844 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10846 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10847 __SH4A__ instead of __SH_FPU_ANY__.
10849 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10851 * sysdeps/sh/fpu_control.h: New file.
10852 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10853 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10854 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10855 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10856 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10857 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10858 * sysdeps/sh/sys/ucontext.h: Remove.
10859 * sysdeps/sh/sys: Remove directory.
10861 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10863 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10864 s390/sys/ucontext.h.
10865 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10866 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10868 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10871 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10873 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10876 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10877 Adjust the vDSO correctly for internal calls.
10878 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10880 2014-01-20 Allan McRae <allan@archlinux.org>
10882 * po/ca.po: Update Catalan translation from translation project.
10884 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10886 * sysdeps/s390/sotruss-lib.c: New file.
10888 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10891 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10892 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10893 local calls issues by not having a PLT stub required for IFUNC calls.
10894 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10896 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10898 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10899 * math/test-fpucw-static.c: Likewise.
10901 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10904 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10906 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10908 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10909 implementation for powerpc.
10911 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10914 * sysdeps/posix/system.c (__libc_system): Do not enable
10915 asynchronous cancellation.
10917 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10920 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10921 handling only for numbers special also in the IEEE case.
10923 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10925 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10927 2014-01-11 Allan McRae <allan@archlinux.org>
10929 * po/bg.po: Update Bulgarian translation from translation project.
10931 * po/de.po: Update German translation from translation project.
10933 2014-01-10 Roland McGrath <roland@hack.frob.com>
10935 * sysdeps/generic/gcc-compat.h: New file.
10937 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10939 * benchtests/asin-inputs: Correct slow inputs.
10940 * benchtests/acos-inputs: Likewise.
10942 2014-01-10 Allan McRae <allan@archlinux.org>
10944 * po:sv.po: Update Swedish translation from translation project.
10946 * po/vi.po: Update Vietnamese translation from translation project.
10948 * po/eo.po: Update Esperanto translation from translation project.
10950 * po/cs.po: Update Czech translation from translation project.
10952 * po/nl.po: Update Dutch translation from translation project.
10954 * po/pl.po: Update Polish translation from translation project.
10956 * po/ru.po: Update Russian translation from translation project.
10958 * po/uk.po: Update Ukrainian translation from translation project.
10960 2014-01-08 Brooks Moses <bmoses@google.com>
10962 * elf/dl-load.c: Fix comment typo.
10964 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10966 * po/header.pot: Rename to...
10967 * po/pot.header: ... this.
10968 * po/Makefile: Use pot.header.
10970 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10971 Maxim Kuvyrkov <maxim@kugelworks.com>
10974 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10975 SRC and DEST against LEN.
10977 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10980 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10982 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10984 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10988 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10991 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10992 for large positive arguments.
10994 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10996 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10998 * math/auto-libm-test-in: Mark various tests with
10999 xfail-rounding:ldbl-128ibm.
11000 * math/auto-libm-test-out: Regenerated.
11003 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11004 Increase overflow threshold.
11006 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11009 * stdio-common/vfprintf.c: Check for integer overflow.
11011 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11013 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11014 the first argument and return value of __tls_get_addr_internal.
11016 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11018 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11019 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11021 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11023 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11024 * sysdeps/s390/rtld-global-offsets.sym: New file.
11025 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11027 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11028 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11029 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11031 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11032 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11038 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11039 halfs of GPRs for high_gprs contexts.
11040 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11041 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11043 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11045 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11047 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11048 for high GPRs (uc_high_gprs) and for future extensions
11050 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11051 for future extensions (__reserved).
11052 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11054 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11055 SC_HIGHGPRS offset definition.
11056 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11057 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11059 * Versions.def: Add GLIBC_2.19 for libpthread.
11060 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11061 siglongjmp for libpthread with GLIBC_2.19 symver.
11062 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11063 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11064 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11065 * sysdeps/s390/__longjmp.c: New file.
11066 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11067 * sysdeps/s390/longjmp.c: New file.
11068 * sysdeps/s390/setjmp.S: New file.
11069 * sysdeps/s390/sigjmp.S: New file.
11070 * sysdeps/s390/v1-longjmp.c: New file.
11071 * sysdeps/s390/v1-setjmp.h: New file.
11072 * sysdeps/s390/v1-sigjmp.c: New file.
11073 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11074 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11075 GLIBC_2.19 version.
11076 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11077 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11078 versioned symbols for ____longjmp_chk.
11079 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11089 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11090 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11091 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11092 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11093 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11094 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11095 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11096 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11097 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11098 * sysdeps/s390/rtld-__longjmp.c: New file.
11099 * sysdeps/s390/rtld-setjmp.S: New file.
11101 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11104 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11105 Return -__logl (x) for small positive arguments without evaluating
11108 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11110 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11112 (__ptrace_peeksiginfo_args): ... this.
11113 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11114 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11115 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11117 2014-01-06 Allan McRae <allan@archlinux.org>
11119 * inet/netinet/in.h: Fix typo in comment.
11121 2014-01-05 Andreas Jaeger <aj@suse.de>
11123 * sysdeps/i386/fpu/libm-test-ulps: Update.
11125 2014-01-05 Allan McRae <allan@archlinux.org>
11127 * po/libc.pot: Regenerated.
11129 * malloc/memusagestat.c: Fix gettext call formatting.
11131 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11133 * nscd/nscd.c: Improve usage() output.
11135 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11137 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11138 * sysdeps/unix/sysv/linux/configure: Regenerated.
11139 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11140 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11142 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11145 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11146 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11148 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11150 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11151 extra tokens at end of #undef directive.
11152 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11153 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11154 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11156 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11158 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11160 * math/auto-libm-test-in: Mark various tests with
11161 xfail-rounding:ldbl-128ibm.
11162 * math/auto-libm-test-out: Regenerated.
11164 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11167 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11168 numbers with subnormal high part when calculating exponent.
11171 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11175 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11177 (__ieee754_acoshl): Use __log1pl not __log1p.
11179 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11181 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11182 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11183 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11184 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11185 (reused_arena, arena_get2): Convert to GNU style.
11186 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11187 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11188 (memalign_check, __malloc_set_state): Likewise.
11189 * malloc/mallocbug.c (main): Likewise.
11190 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11191 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11192 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11193 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11194 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11195 (__posix_memalign, malloc_info): Likewise.
11196 * malloc/malloc.h: Likewise.
11197 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11198 (mallochook, memalignhook, reallochook, mabort): Likewise.
11199 * malloc/mcheck.h: Likewise.
11200 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11201 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11202 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11203 * malloc/morecore.c (__default_morecore): Likewise.
11204 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11205 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11206 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11207 (print_and_abort): Likewise.
11208 * malloc/obstack.h: Likewise.
11209 * malloc/set-freeres.c (__libc_freeres): Likewise.
11210 * malloc/tst-mallocstate.c (main): Likewise.
11211 * malloc/tst-mtrace.c (main): Likewise.
11212 * malloc/tst-realloc.c (do_test): Likewise.
11214 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11217 * nscd/netgroupcache.c (do_notfound): New function.
11218 (addgetnetgrentX): Use it.
11221 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11222 NSS_STATUS_NOTFOUND.
11224 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11226 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11229 2014-01-01 Allan McRae <allan@archlinux.org>
11231 * scripts/update-copyrights: Update configure input file suffix.
11233 * NEWS: Update copyright year.
11234 * catgets/gencat.c: Likewise.
11235 * csu/version.c: Likewise.
11236 * debug/catchsegv.sh: Likewise.
11237 * debug/pcprofiledump.c: Likewise.
11238 * debug/xtrace.sh: Likewise.
11239 * elf/ldconfig.c: Likewise.
11240 * elf/ldd.bash.in: Likewise.
11241 * elf/pldd.c: Likewise.
11242 * elf/sotruss.ksh: Likewise.
11243 * elf/sprof.c: Likewise.
11244 * iconv/iconv_prog.c: Likewise.
11245 * iconv/iconvconfig.c: Likewise.
11246 * locale/programs/locale.c: Likewise.
11247 * locale/programs/localedef.c: Likewise.
11248 * login/programs/pt_chown.c: Likewise.
11249 * malloc/memusage.sh: Likewise.
11250 * malloc/memusagestat.c: Likewise.
11251 * malloc/mtrace.pl: Likewise.
11252 * manual/libc.texinfo: Likewise.
11253 * nscd/nscd.c: Likewise.
11254 * nss/getent.c: Likewise.
11255 * nss/makedb.c: Likewise.
11256 * posix/getconf.c: Likewise.
11257 * scripts/test-installation.pl: Likewise.
11259 * All files with FSF copyright notices: Update copyright dates
11260 using scripts/update-copyrights.
11261 * intl/plural.c: Regenerated.
11262 * locale/programs/charmap-kw.h: Likewise.
11263 * locale/programs/locfile-kw.h: Likewise.
11265 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11267 * sysdeps/unix/sysv/linux/configure: Regenerated.
11268 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11269 the linux/fanotify.h header.
11270 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11271 HAVE_LINUX_FANOTIFY_H is defined.
11273 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11275 * benchtests/cos-inputs: New inputs.
11276 * benchtests/sin-inputs: Likewise.
11278 * benchtests/atan-inputs: New inputs. Fix name of multiple
11279 precision fallback inputs.
11281 * benchtests/atanh-inputs: New inputs.
11282 * benchtests/tanh-inputs: Likewise.
11284 * benchtests/acosh-inputs: New inputs.
11285 * benchtests/asinh-inputs: Likewise.
11287 * benchtests/cosh-inputs: New inputs.
11288 * benchtests/sinh-inputs: Likewise.
11290 * benchtests/acos-inputs: Add more inputs.
11291 * benchtests/asin-inputs: Likewise.
11293 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11296 * manual/arith.texi: Fix spelling.
11297 * manual/charset.texi: Likewise.
11298 * manual/errno.texi: Likewise.
11299 * manual/filesys.texi: Likewise.
11300 * manual/lang.texi: Likewise.
11301 * manual/llio.texi: Likewise.
11302 * manual/locale.texi: Likewise.
11303 * manual/message.texi: Likewise.
11304 * manual/resource.texi: Likewise.
11305 * manual/search.texi: Likewise.
11306 * manual/setjmp.texi: Likewise.
11307 * manual/stdio.texi: Likewise.
11308 * manual/string.texi: Likewise.
11309 * manual/sysinfo.texi: Likewise.
11310 * manual/time.texi: Likewise.
11312 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11314 * po/sl.po: New file.
11316 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11318 * .gitignore: Add core/.gdbinit/.gdb_history.
11320 2013-12-27 Allan McRae <allan@archlinux.org>
11323 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11324 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11326 2013-12-24 Brooks Moses <bmoses@google.com>
11328 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11329 all compilers that claim C++98 compliance, not just GCC.
11330 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11333 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11335 * NEWS: Restore accidentally deleted bug-fix entries.
11337 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11338 Ondřej Bílka <neleai@seznam.cz>
11341 * malloc/malloc.c (_int_free): Perform sanity check only if we
11344 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11347 * manual/stdio.texi (String Input Conversions): Clarify that character
11348 classes are not supported.
11350 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11354 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11357 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11358 Calculate results for small negative arguments directly rather
11359 than using reflection formula with special underflow handling.
11361 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11362 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11363 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11364 (fchflags): Likewise.
11365 (revoke): Likewise.
11366 (setlogin): Likewise.
11367 (sigaltstack): Likewise.
11369 (sigblock): Remove.
11370 (sigsetmask): Likewise.
11372 (waitpid): Likewise.
11373 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11374 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11376 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11377 * sysdeps/unix/bsd/Makefile: ... here.
11378 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11379 * sysdeps/unix/bsd/Versions: ... here.
11380 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11381 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11382 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11383 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11384 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11385 * sysdeps/unix/bsd/sigblock.c: ... here.
11386 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11387 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11388 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11389 * sysdeps/unix/bsd/sigvec.c: ... here.
11390 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11391 * sysdeps/unix/bsd/tcdrain.c: ... here.
11392 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11393 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11394 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11395 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11396 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11397 * sysdeps/unix/bsd/wait.c: ... here.
11398 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11399 * sysdeps/unix/bsd/wait3.c: ... here.
11400 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11401 * sysdeps/unix/bsd/waitpid.c: ... here.
11403 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11406 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11407 round-to-nearest for [!USE_AS_EXPM1L].
11408 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11409 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11410 more tests of exp and exp10. Expect some exp10 tests to miss
11411 exceptions or fail in directed rounding modes.
11412 * math/auto-libm-test-out: Regenerated.
11413 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11414 (exp10_test_tonearest): New function.
11415 (exp10_towardzero_test_data): New array.
11416 (exp10_test_towardzero): New function.
11417 (exp10_downward_test_data): New array.
11418 (exp10_test_downward): New function.
11419 (exp10_upward_test_data): New array.
11420 (exp10_test_upward): New function.
11421 (main): Call the new functions.
11422 * sysdeps/i386/fpu/libm-test-ulps: Update.
11423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11425 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11427 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11428 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11429 * math/auto-libm-test-out: Regenerated.
11430 * math/libm-test.inc (acosh_test_data): Add more tests.
11431 (atanh_test_data): Likewise.
11432 (ceil_test_data): Likewise.
11433 (copysign_test_data): Likewise.
11434 * sysdeps/i386/fpu/libm-test-ulps: Update.
11435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11437 * timezone/checktab.awk: Update from tzcode 2013i.
11438 * timezone/private.h: Likewise.
11439 * timezone/scheck.c: Likewise.
11440 * timezone/tzfile.h: Likewise.
11441 * timezone/tzselect.ksh: Likewise.
11442 * timezone/zdump.c: Likewise.
11443 * timezone/zic.c: Likewise.
11445 * math/auto-libm-test-in: Add tests of cpow.
11446 * math/auto-libm-test-out: Regenerated.
11447 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11448 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11450 (func_calc_desc): Add mpc_cc_c union field.
11451 (test_functions): Add cpow.
11452 (special_fill_2pi): New function.
11453 (special_real_inputs): Add 2pi.
11454 (calc_generic_results): Handle mpc_cc_c.
11455 * sysdeps/i386/fpu/libm-test-ulps: Update.
11456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11458 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11459 csqrt, ctan and ctanh.
11460 * math/auto-libm-test-out: Regenerated.
11461 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11462 (TEST_COND_x86): Likewise.
11463 (ccos_test_data): Use AUTO_TESTS_c_c.
11464 (ccosh_test_data): Likewise.
11465 (cexp_test_data): Likewise.
11466 (clog_test_data): Likewise.
11467 (csqrt_test_data): Likewise.
11468 (ctan_test_data): Likewise.
11469 (ctan_tonearest_test_data): Likewise.
11470 (ctan_towardzero_test_data): Likewise.
11471 (ctan_downward_test_data): Likewise.
11472 (ctan_upward_test_data): Likewise.
11473 (ctanh_test_data): Likewise.
11474 (ctanh_tonearest_test_data): Likewise.
11475 (ctanh_towardzero_test_data): Likewise.
11476 (ctanh_downward_test_data): Likewise.
11477 (ctanh_upward_test_data): Likewise.
11478 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11480 (func_calc_desc): Add mpc_c_c union field.
11481 (FUNC_mpc_c_c): New macro.
11482 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11483 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11485 (special_fill_min_subnorm_p120): New function.
11486 (special_real_inputs): Add min_subnorm_p120.
11487 (calc_generic_results): Handle mpc_c_c.
11488 * sysdeps/i386/fpu/libm-test-ulps: Update.
11489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11491 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11493 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11494 (do_sin_slow): New functions.
11495 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11496 (cslow2, csloww1, csloww2): Use the new functions.
11498 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11499 Use M to change sign of result instead of X. Assume X is
11501 (csloww1): Likewise.
11505 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11506 arguments A and DA.
11510 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11512 (sloww1): Don't adjust sign of DX.
11513 (csloww1): Likewise.
11514 (sloww2): Use X directly and don't adjust sign of DX.
11515 (csloww2): Likewise.
11517 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11519 * math/auto-libm-test-in: Add tests of cabs and carg.
11520 * math/auto-libm-test-out: Regenerated.
11521 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11522 (carg_test_data): Likewise.
11523 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11525 (func_calc_desc): Add mpc_c_f union field.
11526 (test_functions): Add cabs and carg.
11527 (calc_generic_results): Handle mpc_c_f.
11529 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11530 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11531 as a macro and a compat symbol.
11532 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11533 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11534 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11535 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11536 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11537 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11539 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11541 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11543 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11545 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11547 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11549 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11550 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11553 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11557 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11559 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11560 trailing whitespace removed.
11561 * scripts/config.guess: Update to version 2013-11-29.
11562 * scripts/config.sub: Update to version 2013-10-01.
11564 * math/auto-libm-test-in: Add tests of sincos.
11565 * math/auto-libm-test-out: Regenerated.
11566 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11567 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11569 (func_calc_desc): Add mpfr_f_11 union field.
11570 (test_functions): Add sincos.
11571 (calc_generic_results): Handle mpfr_f_11.
11572 * sysdeps/i386/fpu/libm-test-ulps: Update.
11573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11575 2013-12-19 Andreas Schwab <schwab@suse.de>
11577 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11579 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11580 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11581 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11583 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11585 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11586 * sysdeps/i386/fpu/libm-test-ulps: Update.
11587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11590 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11591 round-to-nearest mode when using frndint.
11592 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11593 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11594 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11596 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11598 * math/auto-libm-test-out: Regenerated.
11599 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11600 (TEST_COND_x86): Likewise.
11601 (expm1_tonearest_test_data): New array.
11602 (expm1_test_tonearest): New function.
11603 (expm1_towardzero_test_data): New array.
11604 (expm1_test_towardzero): New function.
11605 (expm1_downward_test_data): New array.
11606 (expm1_test_downward): New function.
11607 (expm1_upward_test_data): New array.
11608 (expm1_test_upward): New function.
11609 (main): Run the new test functions.
11610 * sysdeps/i386/fpu/libm-test-ulps: Update.
11611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11613 * include/features.h: Update comment documenting feature test
11614 macros. Mention _DEFAULT_SOURCE in comment.
11615 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11616 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11617 _BSD_SOURCE and _SVID_SOURCE.
11618 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11619 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11620 !_SVID_SOURCE]: Likewise.
11621 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11622 (__USE_POSIX_IMPLICITLY): Define.
11623 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11624 (_POSIX_SOURCE): Undefine and redefine.
11625 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11626 (_POSIX_C_SOURCE): Likewise.
11627 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11628 (Feature Test Macros): Update documentation of default features.
11630 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11632 * benchtests/Makefile: Add bench-strtok.
11633 * benchtests/bench-strtok.c: New file: strtok benchtest.
11635 2013-12-19 Allan McRae <allan@archlinux.org>
11637 * manual/install.texi: Suppress menu for plain text output.
11638 * INSTALL: Regenerated.
11640 2013-12-18 Brooks Moses <bmoses@google.com>
11643 * misc/getauxval.c: Include errno.h.
11644 (__getauxval): Set errno to ENOENT if the requested type is not
11646 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11647 don't declare with __attribute_const__.
11648 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11649 * manual/startup.texi: Document that getauxval sets errno.
11651 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11653 * math/auto-libm-test-in: Add tests of jn and yn.
11654 * math/auto-libm-test-out: Regenerated.
11655 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11656 (yn_test_data): Likewise.
11657 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11659 (func_calc_desc): Add mpfr_if_f union field.
11660 (FUNC_mpfr_if_f): New macro.
11661 (test_functions): Add jn and yn.
11662 (calc_generic_results): Assert type of second input for
11663 mpfr_ff_f. Handle mpfr_if_f.
11664 (output_for_one_input_case): Disable all checking for arguments
11665 fitting floating-point types in case of an integer argument.
11666 * sysdeps/i386/fpu/libm-test-ulps: Update.
11667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11670 Don't expect fegetround reference in libm.so.
11672 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11674 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11675 $(config-cflags-nofma).
11677 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11679 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11680 * math/auto-libm-test-out: Regenerated.
11683 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11684 to determine exponent and adjust argument to have exponent of -1.
11685 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11687 * math/auto-libm-test-out: Regenerated.
11688 * sysdeps/i386/fpu/libm-test-ulps: Update.
11689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11691 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11693 * manual/probes.texi: Remove cases when per-thread arenas are
11696 2013-12-18 Andreas Schwab <schwab@suse.de>
11698 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11699 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11700 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11701 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11702 * sysdeps/i386/i686/multiarch/Makefile: Update.
11703 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11705 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11707 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11708 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11710 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11713 Support TZ transition times < 00:00:00.
11714 This is needed for version-3 tz-format files; it supports time
11715 stamps past 2037 for America/Godthab (the only entry in the tz
11716 database for which this change is relevant).
11717 * manual/time.texi (TZ Variable): Document transition times
11718 from -167:59:59 through -00:00:01.
11719 * time/tzset.c (tz_rule): Time of day is now signed.
11720 (__tzset_parse_tz): Parse negative time of day.
11722 Document TZ transition times >= 25:00:00.
11723 * manual/time.texi (TZ Variable): Document transition times from
11724 25:00:00 through 167:59:59. These are already supported, and this
11725 support will help with version-3 tz-format files.
11727 * manual/time.texi (TZ Variable): Modernize North America example
11728 to reflect current (i.e., 2007-and-later) daylight saving rules.
11730 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11732 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11734 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11735 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11736 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11737 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11738 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11739 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11740 * sysdeps/unix/bsd/clock.c: Likewise.
11741 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11742 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11743 * sysdeps/unix/bsd/init-posix.c: Likewise.
11744 * sysdeps/unix/bsd/poll.c: Likewise.
11745 * sysdeps/unix/bsd/ptsname.c: Likewise.
11746 * sysdeps/unix/bsd/seekdir.c: Likewise.
11747 * sysdeps/unix/bsd/setegid.c: Likewise.
11748 * sysdeps/unix/bsd/seteuid.c: Likewise.
11749 * sysdeps/unix/bsd/setgid.c: Likewise.
11750 * sysdeps/unix/bsd/setrgid.c: Likewise.
11751 * sysdeps/unix/bsd/setruid.c: Likewise.
11752 * sysdeps/unix/bsd/setsid.c: Likewise.
11753 * sysdeps/unix/bsd/setuid.c: Likewise.
11754 * sysdeps/unix/bsd/sigaction.c: Likewise.
11755 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11756 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11757 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11758 * sysdeps/unix/bsd/telldir.c: Likewise.
11759 * sysdeps/unix/bsd/times.c: Likewise.
11760 * sysdeps/unix/bsd/usleep.c: Likewise.
11762 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11763 ($(objpfx)libbsd-compat.a): Remove rule.
11765 * include/features.h (__FAVOR_BSD): Do not define.
11766 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11767 features conflicting with POSIX.
11768 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11769 (_BSD_SOURCE): Remove description of not being a subset of other
11770 feature test macros.
11771 * manual/job.texi (getpgrp): Do not document BSD version.
11772 (getpgid): Do not document by reference to BSD getpgrp.
11773 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11774 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11775 * signal/signal.h [__FAVOR_BSD]: Likewise.
11776 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11777 instead of making contents conditional on [__FAVOR_BSD].
11778 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11780 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11784 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11787 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11788 values below 2**-450, not 2**-500.
11789 * math/auto-libm-test-in: Don't allow spurious underflow from
11791 * math/auto-libm-test-out: Regenerated.
11795 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11796 values of ha and hb and sort them after adjusting subnormal
11798 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11800 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11801 values of ea and eb and sort them after adjusting subnormal
11803 * math/auto-libm-test-in: Do not expect some hypot tests of
11804 subnormals to fail. Add more hypot tests.
11805 * math/auto-libm-test-out: Regenerated.
11807 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11810 * sysdeps/sh/s_fma.c: New file.
11811 * sysdeps/sh/s_fmaf.c: New file.
11812 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11814 * sysdeps/sh/Implies: Add sh/soft-fp.
11816 2013-12-16 Roland McGrath <roland@hack.frob.com>
11818 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11819 level of indirection to members `objname', `errstring', `malloced'.
11820 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11821 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11822 it as the __longjmp argument (just pass 1 instead).
11823 (_dl_catch_error): Initialize C with argument pointers and address of
11824 volatile local ERRCODE rather than copying values out of C at return.
11826 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11828 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11829 * math/auto-libm-test-out: Regenerated.
11830 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11831 (hypot_test_data): Likewise.
11832 (pow_test_data): Likewise.
11833 (pow_tonearest_test_data): Likewise.
11834 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11836 (func_calc_desc): Add mpfr_ff_f union field.
11837 (FUNC_mpfr_ff_f): New macro.
11838 (test_functions): Add atan2, hypot and pow.
11839 (special_fill_min): New function.
11840 (special_fill_minus_min): Likewise.
11841 (special_fill_min_subnorm): Likewise.
11842 (special_fill_minus_min_subnorm): Likewise.
11843 (special_real_inputs): Add min, -min, min_subnorm and
11845 (calc_generic_results): Handle mpfr_ff_f.
11846 * sysdeps/i386/fpu/libm-test-ulps: Update.
11847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11849 2013-12-16 Will Newton <will.newton@linaro.org>
11851 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11852 (Aligned Memory Blocks): Add documentation for aligned_alloc
11853 and suggest it as an alternative to posix_memalign.
11854 (Hooks for Malloc): Document __memalign_hook is also called
11855 for aligned_alloc. (Summary of Malloc): Add summary for
11856 aligned alloc. Document __memalign_hook is also called
11859 2013-12-16 Will Newton <will.newton@linaro.org>
11861 * manual/memory.texi (Malloc Examples): Clarify default
11862 alignment documentation. Suggest posix_memalign rather
11863 than memalign or valloc.
11864 (Aligned Memory Blocks): Remove suggestion to use memalign
11865 or valloc. Remove obsolete comment about BSD.
11866 Document memalign errno values and mark the function obsolete.
11867 Document posix_memalign returned error codes. Mark valloc
11868 as obsolete. (Hooks for Malloc): __memalign_hook is also
11869 called for posix_memalign and valloc.
11870 (Summary of Malloc): Add posix_memalign to function summary.
11871 __memalign_hook is also called for posix_memalign and valloc.
11873 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11875 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11879 (sloww): Use mynumber union. Expand ternary operator into
11880 if-else statements.
11881 (cslow): use mynumber union.
11883 2013-12-16 Allan McRae <allan@archlinux.org>
11885 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11886 * configure: Regenerated.
11888 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11891 * configure.ac: Added --enable-maintainer-mode. Check for
11892 autoconf when enabled.
11893 * configure: Regenerated.
11895 * nscd/nscd.service: New file.
11896 * nscd/nscd.tmpfiles: New file.
11898 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11901 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11902 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11903 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11904 (strstr): Add __strstr_sse2_unaligned ifunc.
11905 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11906 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11907 (strcasestr): Remove __strcasestr_sse42 ifunc.
11908 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11909 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11910 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11912 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11914 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11915 * sysdeps/sh/bits/fenv.h: ... here.
11916 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11918 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11920 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11922 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11923 hypotf multiarch implementations.
11924 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11925 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11926 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11927 multiarch hypot for PPC64.
11928 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11929 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11930 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11931 multiarch hypotf for PPC64.
11933 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11934 modff multiarch implementations.
11935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11938 multiarch modf for PPC64.
11939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11942 multiarch modff for PPC64.
11944 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11945 and logl multiarch implementations.
11946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11949 multiarch logb for PPC64.
11950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11953 multiarch logb for PPC64.
11954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11957 multiarch logb for PPC64.
11959 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11960 isinff multiarch implementation.
11961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11965 multiarch isinf for PPC64.
11966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11969 multiarch isinff for PPC64.
11971 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11972 finitef multiarch implementation.
11973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11977 multiarch finite for PPC64.
11978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11981 multiarch finitef for PPC64.
11983 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11984 lrint multiarch implementation.
11985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11989 multiarch llrint for PPC64.
11990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11991 multiarch lrint for PPC64.
11993 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11994 copysignf multiarch implementation.
11995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12000 multiarch copysign for PPC64.
12001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12002 multiarch copysignf for PPC64.
12004 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12005 multiarch implementation.
12006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12014 multiarch llround for PPC64.
12015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12016 multiarch trunc for PPC64.
12017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12018 multiarch truncf for PPC64.
12020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12021 multiarch implementation.
12022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12030 multiarch llround for PPC64.
12031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12032 multiarch round for PPC64.
12033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12034 multiarch roundf for PPC64.
12036 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12037 multiarch implementation.
12038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12046 multiarch llround for PPC64.
12047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12048 multiarch floor for PPC64.
12049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12050 multiarch floorf for PPC64.
12052 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12053 multiarch implementation.
12054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12062 multiarch llround for PPC64.
12063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12064 multiarch ceil for PPC64.
12065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12066 multiarch ceilf for PPC64.
12068 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12069 multiarch implementation.
12070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12077 multiarch llround for PPC64.
12078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12079 multiarch lround for PPC64.
12081 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12082 multiarch implementation.
12083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12090 multiarch isnan for PPC64.
12091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12092 multiarch isnanf for PPC64.
12094 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12095 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12096 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12097 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12098 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12101 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12102 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12103 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12104 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12107 multiarch implementations.
12108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12109 (__libc_ifunc_impl_list): Likewise.
12110 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12111 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12112 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12113 multiarch stpcpy for PPC64.
12115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12116 multiarch implementations.
12117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12118 (__libc_ifunc_impl_list): Likewise.
12119 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12120 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12121 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12122 multiarch strcpy for PPC64.
12124 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12125 redefine function name.
12126 (_wordcopy_fwd_dest_aligned): Likewise.
12127 (_wordcopy_bwd_aligned): Likewise.
12128 (_wordcopy_bwd_dest_aligned): Likewise.
12129 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12130 multiarch implementations.
12131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12132 (__libc_ifunc_impl_list): Likewise.
12133 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12134 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12135 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12136 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12137 multiarch wcscpy for PPC64.
12139 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12140 multiarch implementations.
12141 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12142 (__libc_ifunc_impl_list): Likewise.
12143 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12144 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12145 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12146 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12147 multiarch wcscpy for PPC64.
12149 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12150 multiarch implementations.
12151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12152 (__libc_ifunc_impl_list): Likewise.
12153 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12154 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12155 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12156 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12157 multiarch wcsrchr for PPC64.
12159 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12160 multiarch implementations.
12161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12162 (__libc_ifunc_impl_list): Likewise.
12163 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12164 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12165 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12166 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12167 multiarch wcschr for PPC64.
12169 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12170 multiarch implementations.
12171 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12172 (__libc_ifunc_impl_list): Likewise.
12173 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12174 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12175 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12176 multiarch strchrnul for PPC64.
12178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12181 (__libc_ifunc_impl_list): Likewise.
12182 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12183 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12184 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12185 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12191 (__libc_ifunc_impl_list): Likewise.
12192 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12193 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12194 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12195 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12198 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12199 multiarch implementations.
12200 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12201 (__libc_ifunc_impl_list): Likewise.
12202 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12203 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12204 strncasecmp for PPC64.
12205 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12206 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12207 multiarch strncasecmp_l for PPC64.
12209 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12210 multiarch implementations.
12211 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12212 (__libc_ifunc_impl_list): Likewise.
12213 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12214 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12215 multiarch strcasecmp for PPC64.
12216 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12218 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12219 multiarch strcasecmp_l for PPC64.
12221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12224 (__libc_ifunc_impl_list): Likewise.
12225 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12226 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12227 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12233 (__libc_ifunc_impl_list): Likewise.
12234 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12235 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12236 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12239 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12241 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12242 (__libc_ifunc_impl_list): Likewise.
12243 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12244 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12245 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12246 rawmemrchr for PPC64.
12248 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12250 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12251 (__libc_ifunc_impl_list): Likewise.
12252 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12253 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12254 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12257 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12260 (__libc_ifunc_impl_list): Likewise.
12261 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12262 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12263 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12269 (__libc_ifunc_impl_list): Likewise.
12270 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12271 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12272 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12275 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12276 avoid cretion of __bzero symbol.
12277 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12279 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12281 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12284 multiarch implementations.
12285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12286 (__libc_ifunc_impl_list): Likewise.
12287 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12288 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12289 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12290 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12292 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12293 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12294 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12295 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12296 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12298 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12300 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12304 (__libc_ifunc_impl_list): Likewise.
12305 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12306 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12307 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12308 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12312 multiarch for POWER/PPC64.
12313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12314 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12315 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12316 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12317 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12318 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12319 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12320 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12321 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12324 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12325 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12326 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12327 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12328 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12329 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12330 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12331 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12332 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12333 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12334 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12335 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12336 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12337 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12338 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12347 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12349 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12351 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12353 * benchtests/Makefile (bench): Add exp2 and log2.
12354 (LDLIBS-bench-exp2): Add -lm.
12355 (LDLIBS-bench-log2): Likewise.
12356 * benchtests/exp2-inputs: New inputs file.
12357 * benchtests/log2-inputs: New inputs file.
12358 * benchtests/log-inputs: Add new inputs.
12359 * benchtests/tan-inputs: Likewise.
12361 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12363 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12365 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12366 (csloww2): ... from here.
12368 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12369 instead of structures.
12370 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12371 (POLYNOMIAL): Likewise.
12372 (TAYLOR_SLOW): Likewise.
12378 (sloww1); Likewise.
12379 (sloww2): Likewise.
12380 (bsloww1): Likewise.
12381 (bsloww2): Likewise.
12382 (cslow2): Likewise.
12383 (csloww): Likewise.
12384 (csloww1): Likewise.
12385 (csloww2): Likewise.
12387 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12389 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12390 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12391 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12392 * malloc/hooks.c (realloc_check): Likewise.
12394 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12395 * malloc/arena.c: Remove PER_THREAD conditional.
12396 [!PER_THREAD]: Remove code.
12397 (ptmalloc_unlock_all2): Likewise.
12398 (ptmalloc_init): Likewise.
12399 (_int_new_arena): Likewise.
12400 (arena_get2): Likewise.
12401 * malloc/hooks.c (__malloc_get_state): Likewise.
12402 (__malloc_set_state): Likewise.
12403 * malloc/malloc.c: Likewise.
12404 (struct malloc_state): Likewise.
12405 (struct malloc_par): Likewise.
12406 (__libc_realloc): Likewise.
12407 (__libc_mallopt): Likewise.
12409 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12411 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12413 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12415 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12416 macro to a function. Check for zero perturb_byte.
12417 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12419 * malloc/malloc.c: (force_reg): Remove.
12420 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12421 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12422 force_reg by atomic_forced_read.
12423 * malloc/arena.c (ptmalloc_init): Likewise.
12424 * malloc/hooks.c (top_check): Likewise.
12426 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12430 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12432 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12434 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12436 * math/auto-libm-test-in: Add tests of lgamma.
12437 * math/auto-libm-test-out: Regenerated.
12438 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12439 (M_LOG_2_SQRT_PIl): Likewise.
12440 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12441 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12443 (func_calc_desc): Add mpfr_f_f1 union field.
12444 (ARGS1): New macro.
12452 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12453 (test_functions): Add lgamma.
12454 (calc_generic_results): Handle mpfr_f_f1.
12455 * sysdeps/i386/fpu/libm-test-ulps: Update.
12456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12458 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12460 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12461 __mpn_add_n for PowerPC64/POWER7.
12462 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12463 __mpn_sub_n for PowerPC64/POWER7.
12465 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12466 __mpn_addmul_1 for PowerPC64.
12467 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12468 __mpn_submul_1 for PowerPC64.
12469 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12471 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12474 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12477 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12479 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12481 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12483 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12484 add multiarch folders.
12485 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12486 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12487 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12488 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12489 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12490 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12491 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12492 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12493 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12494 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12495 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12504 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12510 multiarch __ieee754_hypot for PowerPC32.
12511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12516 multiarch __ieee754_hypotf for PowerPC32.
12518 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12519 long_double_symbol only if __logbl is defined.
12520 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12521 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12522 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12523 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12524 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12525 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12526 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12527 path for implementation.
12528 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12529 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12531 logb, and logbl multiarch implementations for PowerPC32.
12532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12537 multiarch logb for PowerPC32.
12538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12543 multiarch logbf for PowerPC32.
12544 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12548 multiarch logbl implementation for PowerPC32.
12550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12551 and modff multiarch implementations.
12552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12557 multiarch modf for PowerPC32.
12558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12563 multiarch modff for PowerPC32.
12565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12566 and lrintf multiarch implementations.
12567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12572 multiarch lrint for PowerPC32.
12573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12574 file: multiarch lrintf for PowerPC32.
12576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12577 and lroundf multiarch implementations.
12578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12585 multiarch lround for PowerPC32.
12586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12587 file: multiarch lroundf for PowerPC32.
12589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12590 copysign and copysignf multiarch implementations.
12591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12596 file: multiarch copysign for PowerPC32.
12597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12598 file: multiarch copysignf for PowerPC32.
12600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12601 and truncf multiarch implementations.
12602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12607 multiarch trunc for PowerPC32.
12608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12613 multiarch truncf for PowerPC32.
12615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12616 and roundf multiarch implementations.
12617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12622 multiarch round for PowerPC32.
12623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12628 multiarch roundf for PowerPC32.
12630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12631 and floorf multiarch implementations.
12632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12637 multiarch floor for PowerPC32.
12638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12643 multiarch floorf for PowerPC32.
12645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12646 and ceilf multiarch implementations.
12647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12652 multiarch ceil for PowerPC32.
12653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12658 multiarch ceilf for PowerPC32.
12660 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12662 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12663 FINITEF is defined.
12664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12665 and finitef multiarch implementations.
12666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12671 multiarch finite for PowerPC32.
12672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12675 file: multiarch finitef for PowerPC32.
12677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12678 and isinff multiarch implementations.
12679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12684 multiarch isinf for PowerPC32.
12685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12688 multiarch isinff for PowerPC32.
12690 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12691 alias when __isnan is defined.
12692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12693 and isnanf multiarch implementations.
12694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12703 multiarch isnan for PowerPC32.
12704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12709 multiarch isnanf for PowerPC32.
12711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12712 and sqrtf multiarch implementations.
12713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12718 multiarch sqrt for PowerPC32.
12719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12724 multiarch sqrtf for PowerPC32.
12726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12727 and llroundf multiarch implementations.
12728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12735 file: multiarch llround for PowerPC32.
12736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12737 file: multiarch llroundf for PowerPC32.
12739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12740 multiarch PowerPC32 fpu implementations.
12741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12746 multiarch llrint for PowerPC32.
12747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12756 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12758 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12760 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12762 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12763 multiarch wordcopy for PPC32.
12764 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12766 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12767 (__libc_ifunc_impl_list): Likewise.
12768 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12769 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12770 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12771 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12772 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12773 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12775 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12776 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12778 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12780 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12782 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12783 multiarch wcscpy for PPC32.
12784 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12786 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12787 (__libc_ifunc_impl_list): Likewise.
12788 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12789 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12790 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12791 sysdeps/powerpc/power6/wcscpy.c.
12793 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12794 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12796 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12798 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12800 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12801 multiarch wcsrchr for PPC32.
12802 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12804 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12805 (__libc_ifunc_impl_list): Likewise.
12806 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12807 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12808 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12809 sysdeps/powerpc/power6/wcsrchr.c.
12811 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12813 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12815 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12816 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12817 multiarch wcschr for PPc32.
12818 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12820 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12821 (__libc_ifunc_impl_list): Likewise.
12822 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12823 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12824 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12825 sysdeps/powerpc/power6/wcschr.c.
12827 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12828 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12830 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12831 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12832 file: multiarch strchr for PPC32.
12833 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12835 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12836 (__libc_ifunc_impl_list): Likewise.
12838 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12840 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12842 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12844 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12845 multiarch strchrnul for PPC32.
12846 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12848 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12849 (__libc_ifunc_impl_list): Likewise.
12851 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12853 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12854 multiarch strncasecmp for PPC32.
12855 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12857 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12858 multiarch strncasecmp_l for PPC32.
12859 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12860 strncasecmp multiarch objects.
12861 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12862 (__libc_ifunc_impl_list): Likewise.
12864 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12866 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12867 multiarch strncasecmp for PPC32.
12868 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12870 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12871 multiarch strcasecmp_l for PPC32.
12872 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12874 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12875 (__libc_ifunc_impl_list): Likewise.
12877 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12879 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12881 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12882 multiarch strncmp for PPC32.
12883 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12885 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12886 (__libc_ifunc_impl_list): Likewise.
12888 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12889 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12891 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12892 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12893 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12895 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12896 (__libc_ifunc_impl_list): Likewise.
12898 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12900 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12902 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12903 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12905 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12906 (__libc_ifunc_impl_list): Likewise.
12908 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12910 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12912 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12913 multiarch rawmemchr for PPC32.
12914 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12916 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12917 (__libc_ifunc_impl_list): Likewise.
12919 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12921 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12923 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12924 file: memrchr multiarch for PPC32.
12925 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12927 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12928 (__libc_ifunc_impl_list): Likewise.
12930 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12931 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12933 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12934 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12935 multiarch memchr for PPC32.
12936 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12938 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12939 (__libc_ifunc_impl_list): Likewise.
12941 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12942 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12944 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12946 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12947 file: multiarch mempcpy for PPC32.
12948 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12950 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12951 (__libc_ifunc_impl_list): Likewise.
12953 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12954 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12955 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12956 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12957 multiarch bzero for PPC32.
12958 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12960 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12962 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12963 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12964 file: multiarch memset for PPC32.
12965 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12966 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12967 memset multiarch objects.
12968 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12969 (__libc_ifunc_impl_list): Likewise.
12971 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12973 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12974 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12976 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12977 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12979 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12980 (__libc_ifunc_impl_list): Likewise.
12982 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12983 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12984 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12986 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12988 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12990 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12991 multiarch memcpy for PPC32.
12992 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12994 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12995 (__libc_ifunc_impl_list): Likewise.
12997 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12998 support multiarch for POWER/PPC32.
12999 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13001 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13003 Implies file to make multiarch folder appers before the fpu and
13004 default folder for power4 configuration.
13006 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13008 * scripts/bench.pl: Append volatile keyword to type.
13010 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13012 * sysdeps/sh/sotruss-lib.c: New file.
13013 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13015 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13019 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13022 * math/w_tgamma.c: Include <errno.h>.
13023 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13024 * math/w_tgammaf.c: Include <errno.h>.
13025 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13026 * math/w_tgammal.c: Include <errno.h>.
13027 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13028 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13029 underflow. Add more tgamma tests.
13030 * math/auto-libm-test-out: Regenerated.
13031 * sysdeps/i386/fpu/libm-test-ulps: Update.
13032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13034 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13035 sin, sinh, tan, tanh, tgamma, y0 and y1.
13036 * math/auto-libm-test-out: Regenerated.
13037 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13038 (TEST_COND_x86): Likewise.
13039 (M_E2l): Remove macro.
13041 (M_2_SQRT_PIl): Likewise.
13042 (M_SQRT_PIl): Likewise.
13043 (M_1_DIV_El): Likewise.
13044 (log_test_data): Use AUTO_TESTS_f_f.
13045 (log10_test_data): Likewise.
13046 (log1p_test_data): Likewise.
13047 (log2_test_data): Likewise.
13048 (sin_test_data): Likewise.
13049 (sin_tonearest_test_data): Likewise.
13050 (sin_towardzero_test_data): Likewise.
13051 (sin_downward_test_data): Likewise.
13052 (sin_upward_test_data): Likewise.
13053 (sinh_test_data): Likewise.
13054 (sinh_tonearest_test_data): Likewise.
13055 (sinh_towardzero_test_data): Likewise.
13056 (sinh_downward_test_data): Likewise.
13057 (sinh_upward_test_data): Likewise.
13058 (tan_test_data): Likewise.
13059 (tan_tonearest_test_data): Likewise.
13060 (tan_towardzero_test_data): Likewise.
13061 (tan_downward_test_data): Likewise.
13062 (tan_upward_test_data): Likewise.
13063 (tanh_test_data): Likewise.
13064 (tgamma_test_data): Likewise.
13065 (y0_test_data): Likewise.
13066 (y1_test_data): Likewise.
13067 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13068 (special_real_inputs): Add pi/4.
13069 * sysdeps/i386/fpu/libm-test-ulps: Update.
13070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13072 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13074 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13075 "longjmp_target" static probes.
13076 (__longjmp): Rename to __longjmp_symbol.
13077 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13078 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13079 on which longjmp to generate.
13080 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13081 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13083 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13084 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13085 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13086 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13087 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13088 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13090 __longjmp_symbol based on which __longjmp to generate.
13091 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13093 (setjmp): Rename to setjmp_symbol.
13094 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13095 (_setjmp): Rename to _setjmp_symbol.
13096 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13097 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13098 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13099 which setjmp to generate.
13100 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13101 "longjmp_target" static probes.
13103 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13105 * benchtests/README: Add note about output arguments.
13106 * benchtests/bench-sincos.c: Remove file.
13107 * benchtests/sincos-inputs: New file.
13108 * scripts/bench.pl: Identify output arguments and define
13109 static variables for them.
13111 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13114 * Makefile (INSTALL): Add install-plain.texi as the primary
13116 * manual/install-plain.texi: New file.
13117 * manual/install.texi: Include node directive only for
13118 non-plaintext output.
13120 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13122 * stdlib/longlong.h: Update from GCC.
13126 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13127 * math/w_j0f.c (y0f): Likewise.
13128 * math/w_j0l.c (__y0l): Likewise.
13129 * math/w_j1.c (y1): Likewise.
13130 * math/w_j1f.c (y1f): Likewise.
13131 * math/w_j1l.c (__y1l): Likewise
13132 * math/w_jn.c (yn): Likewise.
13133 * math/w_jnf.c (ynf): Likewise.
13134 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13135 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13136 value for Bessel function domain errors outside _SVID_ mode.
13137 Adjust sign of return value for yn (negative integer, 0).
13138 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13139 by zero in return for negative x and set sign appropriately for
13141 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13142 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13143 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13144 expectations in error cases.
13145 (y1_test_data): Likewise.
13146 (yn_test_data): Likewise.
13147 * sysdeps/i386/fpu/libm-test-ulps: Update.
13148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13150 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13152 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13153 "64" to "64-v1". Add "64-v2".
13154 (abi-64-options): Rename to ...
13155 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13156 (abi-64-condition): Rename to ...
13157 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13158 (abi-64-ld-soname): Rename to ...
13159 (abi-64-v1-ld-soname): ... this.
13160 (abi-64-v2-options): Define.
13161 (abi-64-v2-condition): Likewise.
13162 (abi-64-v2-ld-soname): Likewise.
13163 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13164 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13169 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13170 Alan Modra <amodra@gmail.com>
13172 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13173 New versions for use with the ELFv2 ABI.
13174 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13175 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13177 (struct La_ppc64v2_retval): Likewise.
13178 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13179 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13180 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13181 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13182 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13183 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13184 Do not save or restore CR.
13185 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13186 (_dl_profile_resolve): Do no save or restore CR. Support extended
13187 return values for ELFv2 ABI. Fix location of FPR return registers.
13188 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13189 updated values for _CALL_ELF == 2.
13190 (La_regs, La_retval, int_retval): Likewise.
13192 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13194 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13195 (FRAME_MIN_SIZE_PARM): Likewise.
13196 (FRAME_BACKCHAIN): Likewise.
13197 (FRAME_CR_SAVE): Likewise.
13198 (FRAME_LR_SAVE): Likewise.
13199 (FRAME_TOC_SAVE): Likewise.
13200 (FRAME_PARM_SAVE): Likewise.
13201 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13202 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13203 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13204 (call_mcount_parm_offset): New macro.
13205 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13206 (PROF): Use symbolic stack frame offsets.
13207 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13208 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13209 Redefine in terms of FRAME_MIN_SIZE.
13210 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13211 (_dl_profile_resolve): Likewise. Update comment.
13212 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13213 symbols stack frame offsets.
13214 (__sigsetjmp): Likewise.
13215 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13216 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13217 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13218 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13221 (FRAME_BACKCHAIN): Remove.
13222 (FRAME_CR_SAVE): Likewise.
13223 (FRAME_LR_SAVE): Likewise.
13224 (FRAME_COMPILER_DW): Likewise.
13225 (FRAME_LINKER_DW): Likewise.
13226 (FRAME_TOC_SAVE): Likewise.
13227 (FRAME_PARM_SAVE): Likewise.
13228 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13229 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13230 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13232 (CHECK_SP): Use symbolic stack frame offsets.
13233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13234 zone" instead of caller's parameter save area for temp storage.
13235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13236 Likewise. Also, use symbolic stack frame offsets.
13237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13238 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13239 our own stack frame instead of the caller's.
13240 (__socket): Use symbolic stack frame offsets.
13242 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13243 Alan Modra <amodra@gmail.com>
13245 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13247 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13248 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13249 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13251 (elf_machine_fixup_plt): Call it.
13252 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13254 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13255 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13256 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13257 r2 before calling target.
13259 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13260 Alan Modra <amodra@gmail.com>
13262 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13263 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13264 versions of macros to support ELFv2 ABI.
13265 (LOCALENTRY): New macro.
13266 (ENTRY, EALIGN): Use it.
13267 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13268 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13269 fall through into ENTRY entry point.
13270 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13271 Only define if _CALL_ELF != 2.
13273 (elf_machine_matches_host): Verify ABI version matches.
13274 (RTLD_START): Use LOCALENTRY.
13275 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13276 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13277 (PLT_ENTRY_WORDS): New macro.
13278 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13279 (elf_machine_runtime_setup): Support ELFv2 ABI.
13280 (elf_machine_fixup_plt): Likewise.
13281 (elf_machine_plt_conflict): Likewise.
13282 (resolve_ifunc): Likewise.
13283 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13284 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13287 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13289 (makecontext): Support ELFv2 ABI.
13290 * elf/elf.h (EF_PPC64_ABI): Define.
13292 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13294 * sysdeps/powerpc/powerpc64/sysdep.h
13295 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13296 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13297 (ENTRY) [ASSEMBLER]: ... but instead here ...
13298 (EALIGN) [ASSEMBLER]: ... and here.
13299 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13300 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13301 (ENTRY_2) [!ASSEMBLER]: Use it.
13302 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13303 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13304 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13305 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13306 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13308 Use PPC64_LOAD_FUNCPTR.
13310 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13312 2013-12-04 Alan Modra <amodra@gmail.com>
13314 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13315 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13316 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13317 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13319 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13320 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13321 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13322 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13323 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13324 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13326 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13329 (__makecontext): Fix incorrect CFI when backtracing out of
13330 context created via makecontext.
13331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13332 (__setcontext): Fix incorrect CFI during switch to new context.
13333 (__novec_setcontext): Likewise.
13335 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13338 * time/strptime_l.c (__strptime_internal): Allow modifiers
13340 * time/tst-strptime.c (day_tests): Add testcase.
13342 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13344 * scripts/bench.pl: Skip over blank lines.
13346 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13349 * manual/time.texi (Calendar Time): Clarify what timezone functions
13352 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13356 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13358 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13360 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13361 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13362 * debug/memset_chk.c (__memset_chk): Likewise.
13363 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13364 * debug/strncpy_chk.c: Likewise.
13366 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13370 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13371 (__ieee754_exp): For possibly underflowing results, check size of
13372 result and force underflow exception if required.
13373 * math/auto-libm-test-in: Add more tests of exp.
13374 * math/auto-libm-test-out: Regenerated.
13375 * sysdeps/i386/fpu/libm-test-ulps: Update.
13376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13379 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13380 * math/w_exp2f.c (__exp2f): Likewise.
13381 * math/w_exp2l.c (__exp2l): Likewise.
13382 * math/auto-libm-test-in: Do not allow missing errno on exp2
13384 * math/auto-libm-test-out: Regenerated.
13386 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13389 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13390 handle filename validation.
13391 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13394 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13397 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13398 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13399 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13401 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13402 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13403 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13404 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13405 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13406 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13407 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13408 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13409 Add more erfc tests.
13410 * math/auto-libm-test-out: Regenerated.
13411 * sysdeps/i386/fpu/libm-test-ulps: Update.
13412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13414 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13415 exp2, expm1, j0 and j1.
13416 * math/auto-libm-test-out: Regenerated.
13417 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13418 (erfc_test_data): Likewise.
13419 (exp_test_data): Likewise.
13420 (exp_tonearest_test_data): Likewise.
13421 (exp_towardzero_test_data): Likewise.
13422 (exp_downward_test_data): Likewise.
13423 (exp_upward_test_data): Likewise.
13424 (exp10_test_data): Likewise.
13425 (exp2_test_data): Likewise.
13426 (expm1_test_data): Likewise.
13427 (j0_test_data): Likewise.
13428 (j1_test_data): Likewise.
13429 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13430 (input_flag_type): Add flag_xfail_rounding.
13431 (input_flags): Add xfail-rounding.
13432 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13433 (output_for_one_input_case): Handle flag_xfail_rounding.
13434 * sysdeps/i386/fpu/libm-test-ulps: Update.
13435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13437 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13440 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13443 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13446 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13447 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13448 (STAP_PROBE0): New macro.
13449 (STAP_PROBE1): Likewise.
13450 (STAP_PROBE2): Likewise.
13451 (STAP_PROBE3): Likewise.
13452 (STAP_PROBE4): Likewise.
13454 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13456 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13458 2013-12-02 Steve Ellcey <sellcey@mips.com>
13460 * benchtests/Makefile (bench): Add sqrt.
13461 (LDLIBS-bench-sqrt): New.
13462 * benchtests/sqrt-input: New.
13464 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13466 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13467 (GAIH_EAI): Likewise.
13468 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13469 (gaih_inet): Likewise.
13470 (getaddrinfo): Don't use GAIH_EAI.
13472 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13473 (struct gaih): Remove definition.
13475 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13477 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13478 Use HERRNOP directly.
13480 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13484 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13486 * math/gen-auto-libm-tests.c (test_functions): Add more
13487 single-argument functions.
13488 (special_fill_pi_2): New function.
13489 (special_fill_minus_pi_2): Likewise.
13490 (special_fill_pi_6): Likewise.
13491 (special_fill_minus_pi_6): Likewise.
13492 (special_fill_pi_3): Likewise.
13493 (special_fill_2pi_3): Likewise.
13494 (special_fill_e): Likewise.
13495 (special_fill_1_e): Likewise.
13496 (special_fill_e_minus_1): Likewise.
13497 (special_real_inputs): Add more special inputs.
13498 (output_for_one_input_case): Do not require ERANGE on underflow to
13499 zero if round-to-nearest result does not underflow to zero, unless
13500 exact results required.
13501 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13502 atan, atanh, cbrt, cos and cosh.
13503 * math/auto-libm-test-out: Regenerated.
13504 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13505 (acos_tonearest_test_data): Likewise.
13506 (acos_towardzero_test_data): Likewise.
13507 (acos_downward_test_data): Likewise.
13508 (acos_upward_test_data): Likewise.
13509 (acosh_test_data): Likewise.
13510 (asin_test_data): Likewise.
13511 (asin_tonearest_test_data): Likewise.
13512 (asin_towardzero_test_data): Likewise.
13513 (asin_upward_test_data): Likewise.
13514 (asinh_test_data): Likewise.
13515 (atan_test_data): Likewise.
13516 (atanh_test_data): Likewise.
13517 (cbrt_test_data): Likewise.
13518 (cos_test_data): Likewise.
13519 (cos_tonearest_test_data): Likewise.
13520 (cos_towardzero_test_data): Likewise.
13521 (cos_downward_test_data): Likewise.
13522 (cos_upward_test_data): Likewise.
13523 (cosh_test_data): Likewise.
13524 (cosh_tonearest_test_data): Likewise.
13525 (cosh_towardzero_test_data): Likewise.
13526 (cosh_downward_test_data): Likewise.
13527 (cosh_upward_test_data): Likewise.
13528 * sysdeps/i386/fpu/libm-test-ulps: Update.
13529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13531 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13534 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13535 * math/w_exp10f.c (__exp10f): Likewise.
13536 * math/w_exp10l.c (__exp10l): Likewise.
13537 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13538 errno settings in existing tests.
13541 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13542 precision control set to double precision.
13543 * sysdeps/i386/fpu/w_sqrt.c: New file.
13544 * math/auto-libm-test-in: Add more tests.
13545 * math/auto-libm-test-out: Update.
13547 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13548 (sqrt_test_tonearest): New function.
13549 (sqrt_towardzero_test_data): New variable.
13550 (sqrt_test_towardzero): New function.
13551 (sqrt_downward_test_data): New variable.
13552 (sqrt_test_downward): New function.
13553 (sqrt_upward_test_data): New variable.
13554 (sqrt_test_upward): New function.
13555 (main): Call the new functions.
13557 * math/gen-auto-libm-tests.c: New file.
13558 * math/auto-libm-test-in: Likewise.
13559 * math/auto-libm-test-out: New generated file.
13560 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13562 (%beautify): Add generated representations of zero.
13563 (top level): Set $auto_input and call parse_auto_input.
13564 (beautify): Remove trailing "f" from hex float constants.
13565 (parse_args): Handle XFAIL_TEST.
13566 (convert_condition): New function.
13567 (or_value): Likewise.
13568 (or_cond_value): Likewise.
13569 (generate_testfile): Handle AUTO_TESTS_* lines.
13570 (parse_auto_input): New function.
13571 * math/libm-test.inc (XFAIL_TEST): New macro.
13572 (ERRNO_UNCHANGED): Update value.
13573 (ERRNO_EDOM): Likewise.
13574 (ERRNO_ERANGE): Likewise.
13575 (IGNORE_RESULT): Likewise.
13576 (TEST_COND_flt_32): New macro.
13577 (TEST_COND_dbl_64): Likewise.
13578 (TEST_COND_ldbl_96_intel): Likewise.
13579 (TEST_COND_ldbl_96_m68k): Likewise.
13580 (TEST_COND_ldbl_128): Likewise.
13581 (TEST_COND_ldbl_128ibm): Likewise.
13582 (TEST_COND_long32): Likewise.
13583 (TEST_COND_long64): Likewise.
13584 (TEST_COND_before_rounding): Likewise.
13585 (TEST_COND_after_rounding): Likewise.
13586 (enable_test): Handle XFAIL_TEST flag.
13587 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13588 with finite results.
13589 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13590 auto-libm-test-out.
13592 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13593 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13596 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13597 __tls_get_addr_internal instead of __tls_get_offset in order to
13598 avoid GOT pointer dependency. Make rtld export
13599 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13600 __tls_get_addr since we are a __tls_get_offset platform.
13601 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13602 GOT pointer being set up before.
13603 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13605 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13607 * manual/math.texi (Errors in Math Functions): Document accuracy
13611 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13612 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13613 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13614 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13615 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13616 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13617 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13618 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13619 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13620 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13621 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13622 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13623 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13624 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13625 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13626 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13628 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13629 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13630 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13631 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13632 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13634 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13636 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13638 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13639 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13640 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13641 atomic-feupdateenv and flt-rounds.
13642 * sysdeps/powerpc/nofpu/Versions (libc): Add
13643 __atomic_feholdexcept, __atomic_feclearexcept,
13644 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13645 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13646 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13647 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13648 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13653 * manual/arith.texi (FP Exceptions): Document that exceptions may
13654 not be raised when matherr is used.
13655 (Math Error Reporting): Document overflow in directed rounding
13656 modes. Document that errno may not be set when finite values are
13657 returned on overflow. Document intent to set errno on underflow
13658 only for underflow to zero.
13661 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13662 round-to-nearest then adjust result for other rounding modes.
13663 * include/fenv.h (fegetround): Use libm_hidden_proto.
13664 * math/fegetround.c (fegetround): Use libm_hidden_def.
13665 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13666 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13667 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13668 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13670 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13671 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13672 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13673 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13675 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13678 * nss/Versions (libnss_files): Add
13679 _nss_files_gethostbyname3_r.
13680 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13682 (HOST_DB_LOOKUP): Remove macro.
13683 (_nss_files_gethostbyname_r): Implement function without the
13684 HOST_DB_LOOKUP macro.
13685 (_nss_files_gethostbyname2_r): Likewise.
13687 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13689 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13691 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13693 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13694 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13697 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13699 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13700 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13701 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13702 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13703 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13704 __fe_nomask_env_priv and attribute_hidden.
13705 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13706 (libc_feupdateenv_test_ppc): Likewise.
13707 (libc_feresetround_ppc): Likewise.
13708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13709 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13710 compat_symbol macro.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13712 (__fe_nomask_env): Likewise.
13713 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13715 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13717 * string/Makefile: Remove ifunc tests.
13718 * string/test-string.h: Define TEST_IFUNC.
13719 * string/test-bcopy-ifunc.c: Remove.
13720 * string/test-bzero-ifunc.c: Likewise.
13721 * string/test-memccpy-ifunc.c: Likewise.
13722 * string/test-memchr-ifunc.c: Likewise.
13723 * string/test-memcmp-ifunc.c: Likewise.
13724 * string/test-memcpy-ifunc.c: Likewise.
13725 * string/test-memmem-ifunc.c: Likewise.
13726 * string/test-memmove-ifunc.c: Likewise.
13727 * string/test-mempcpy-ifunc.c: Likewise.
13728 * string/test-memrchr-ifunc.c: Likewise.
13729 * string/test-memset-ifunc.c: Likewise.
13730 * string/test-rawmemchr-ifunc.c: Likewise.
13731 * string/test-stpcpy-ifunc.c: Likewise.
13732 * string/test-stpncpy-ifunc.c: Likewise.
13733 * string/test-strcasecmp-ifunc.c: Likewise.
13734 * string/test-strcasestr-ifunc.c: Likewise.
13735 * string/test-strcat-ifunc.c: Likewise.
13736 * string/test-strchr-ifunc.c: Likewise.
13737 * string/test-strchrnul-ifunc.c: Likewise.
13738 * string/test-strcmp-ifunc.c: Likewise.
13739 * string/test-strcpy-ifunc.c: Likewise.
13740 * string/test-strcspn-ifunc.c: Likewise.
13741 * string/test-strlen-ifunc.c: Likewise.
13742 * string/test-strncasecmp-ifunc.c: Likewise.
13743 * string/test-strncat-ifunc.c: Likewise.
13744 * string/test-strncmp-ifunc.c: Likewise.
13745 * string/test-strncpy-ifunc.c: Likewise.
13746 * string/test-strnlen-ifunc.c: Likewise.
13747 * string/test-strpbrk-ifunc.c: Likewise.
13748 * string/test-strrchr-ifunc.c: Likewise.
13749 * string/test-strspn-ifunc.c: Likewise.
13750 * string/test-strstr-ifunc.c: Likewise.
13752 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13754 * benchtests/Makefile: Remove ifunc tests.
13755 * benchtests/bench-string.h: Define TEST_IFUNC.
13756 * benchtests/bench-bcopy-ifunc.c: Remove.
13757 * benchtests/bench-bzero-ifunc.c: Likewise.
13758 * benchtests/bench-memccpy-ifunc.c: Likewise.
13759 * benchtests/bench-memchr-ifunc.c: Likewise.
13760 * benchtests/bench-memcmp-ifunc.c: Likewise.
13761 * benchtests/bench-memcpy-ifunc.c: Likewise.
13762 * benchtests/bench-memmem-ifunc.c: Likewise.
13763 * benchtests/bench-memmove-ifunc.c: Likewise.
13764 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13765 * benchtests/bench-memrchr-ifunc.c: Likewise.
13766 * benchtests/bench-memset-ifunc.c: Likewise.
13767 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13768 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13769 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13770 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13771 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13772 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13773 * benchtests/bench-strcat-ifunc.c: Likewise.
13774 * benchtests/bench-strchr-ifunc.c: Likewise.
13775 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13776 * benchtests/bench-strcmp-ifunc.c: Likewise.
13777 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13778 * benchtests/bench-strcpy-ifunc.c: Likewise.
13779 * benchtests/bench-strcspn-ifunc.c: Likewise.
13780 * benchtests/bench-strlen-ifunc.c: Likewise.
13781 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13782 * benchtests/bench-strncat-ifunc.c: Likewise.
13783 * benchtests/bench-strncmp-ifunc.c: Likewise.
13784 * benchtests/bench-strncpy-ifunc.c: Likewise.
13785 * benchtests/bench-strnlen-ifunc.c: Likewise.
13786 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13787 * benchtests/bench-strrchr-ifunc.c: Likewise.
13788 * benchtests/bench-strsep-ifunc.c: Likewise.
13789 * benchtests/bench-strspn-ifunc.c: Likewise.
13790 * benchtests/bench-strstr-ifunc.c: Likewise.
13792 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13794 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13796 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13798 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13799 * rt/aio.h: Likewise.
13800 * sysdeps/gnu/bits/utmp.h: Likewise.
13801 * sysdeps/gnu/bits/utmpx.h: Likewise.
13802 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13803 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13804 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13805 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13806 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13807 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13808 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13809 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13810 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13811 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13812 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13813 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13814 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13816 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13817 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13818 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13819 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13820 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13821 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13822 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13823 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13824 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13825 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13826 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13827 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13828 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13829 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13830 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13831 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13832 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13833 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13834 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13835 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13836 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13837 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13838 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13839 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13840 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13841 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13842 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13843 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13845 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13848 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13849 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13851 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13853 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13854 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13857 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13859 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13860 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13861 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13862 (__fesetround): Remove define.
13863 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13864 rounding and exceptions handling.
13865 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13866 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13867 (__fe_nomask_env): Likewise.
13868 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13869 __fegetround instead of fegetround.
13870 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13871 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13873 2013-11-21 Roland McGrath <roland@hack.frob.com>
13875 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13878 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13880 2013-11-21 Meador Inge <meadori@codesourcery.com>
13883 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13884 (encrypt_r): Likewise.
13885 * malloc/obstack.h (obstack_free): Likewise.
13886 * posix/unistd.h (encrypt): Likewise.
13888 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13890 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13891 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13892 DL_CALL_DT_FINI() that call the functions directly.
13893 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13894 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13895 * elf/dl-fini.c: Likewise.
13897 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13899 * malloc/hooks.c (memalign_check): Add alignment rounding.
13900 * malloc/malloc.c (_mid_memalign): New function.
13901 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13902 Implement by calling _mid_memalign.
13903 * manual/probes.texi (Memory Allocation Probes): Remove
13904 memory_valloc_retry and memory_pvalloc_retry.
13906 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13908 * locale/programs/locarchive.c (open_archive): Add const
13909 qualifier to ARCHIVEFNAME and copy default fname to
13913 * libio/tst-widetext.input: Rename Oriya to Odia.
13914 * locale/iso-639.def: Likewise.
13916 * manual/probes.texi (Mathematical Function Probes): Add
13917 documentation for sin, cos, asin and acos probes.
13918 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13919 (__sin32): Add slowasin probe.
13920 (__cos32): Add slowacos probe.
13921 (__mpsin): Add slowsin probe.
13922 (__mpcos): Add slowcos probe.
13924 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13927 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13928 thread-local __sim_exceptions_thread and global
13929 __sim_exceptions_global.
13930 (__sim_disabled_exceptions): Change to thread-local
13931 __sim_disabled_exceptions_thread and global
13932 __sim_disabled_exceptions_global.
13933 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13934 and global __sim_round_mode_global.
13935 (__simulate_exceptions): Use thread-local floating-point state and
13936 set global state from it as needed.
13937 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13938 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13939 __sim_round_mode_thread.
13940 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13941 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13942 and global __sim_exceptions_global.
13943 (__sim_disabled_exceptions): Change to thread-local
13944 __sim_disabled_exceptions_thread and global
13945 __sim_disabled_exceptions_global.
13946 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13947 and global __sim_round_mode_global.
13948 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13949 (SIM_SET_GLOBAL): Likewise.
13950 * sysdeps/powerpc/soft-fp/sfp-machine.h
13951 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13952 __sim_round_mode_thread.
13953 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13954 __sim_disabled_exceptions_thread.
13955 (__sim_exceptions): Change to __sim_exceptions_thread.
13956 (__sim_disabled_exceptions): Change to
13957 __sim_disabled_exceptions_thread.
13958 (__sim_round_mode): Change to __sim_round_mode_thread.
13959 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13960 thread-local floating-point state and set global state from it as
13962 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13963 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13964 (__sim_disabled_exceptions): Remove extern declaration.
13965 (feenableexcept): Use thread-local floating-point state and set
13966 global state from it as needed.
13967 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13968 extern declaration.
13969 (__sim_disabled_exceptions): Likewise.
13970 (__sim_round_mode): Likewise.
13971 (__fegetenv): Use thread-local floating-point state.
13972 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13973 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13974 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13975 floating-point state and set global state from it as needed.
13976 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13977 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13978 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13980 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13981 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13983 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13984 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13985 Use __sim_round_mode_thread.
13986 * math/test-fenv-tls.c: New file.
13987 * math/Makefile (tests): Add test-fenv-tls.
13988 ($(objpfx)test-fenv-tls): Depend on
13989 $(common-objpfx)nptl/libpthread.so.
13991 2013-11-19 Andreas Schwab <schwab@suse.de>
13993 * locale/programs/locale.c (show_info): Decode wordarray elements.
13994 * locale/categories.def (LC_MONETARY): Add element for
13995 _NL_MONETARY_CRNCYSTR.
13996 * locale/C-monetary.c (conversion_rate): New variable.
13997 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14000 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14002 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14003 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14005 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14007 * elf/Makefile (tst-auxv): New test.
14008 * elf/tst-auxv.c: New
14009 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14011 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14013 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14014 (hidden_proto): Caller changed.
14015 (hidden_tls_proto): New macro.
14016 (libc_hidden_tls_proto): Likewise.
14017 (rtld_hidden_tls_proto): Likewise.
14018 (libm_hidden_tls_proto): Likewise.
14019 (libresolv_hidden_tls_proto): Likewise.
14020 (librt_hidden_tls_proto): Likewise.
14021 (libdl_hidden_tls_proto): Likewise.
14022 (libnss_files_hidden_tls_proto): Likewise.
14023 (libnsl_hidden_tls_proto): Likewise.
14024 (libnss_nisplus_hidden_tls_proto): Likewise.
14025 (libutil_hidden_tls_proto): Likewise.
14027 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14030 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14031 (decompose_rpath): Defer expansion to fillin_rpath.
14032 (_dl_init_paths): Pass linkmap to fillin_rpath.
14034 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14036 * benchtests/Makefile: Add strsep.
14037 * benchtests/bench-strsep.c: New file: strsep benchtest.
14038 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14040 2013-11-18 Andreas Schwab <schwab@suse.de>
14042 * locale/programs/locale.c (show_info) [case byte]: Check for
14043 '\377' instead of '\177'.
14044 * locale/C-monetary.c (not_available): Always use "\377".
14045 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14046 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14047 detect unavailable sign_posn locale elements.
14048 * locale/localeconv.c (__localeconv): For grouping and
14049 mon_grouping handle "\177" and "\377" like no grouping.
14050 (INT_ELEM): New macro. Use it to set all numeric members.
14051 * locale/programs/ld-monetary.c (monetary_read)
14052 <tok_mon_grouping>: Normalize single -1 to the empty string.
14053 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14056 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14059 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14060 when we match (nil).
14061 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14063 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14065 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14066 (NO_TEST_INLINE): Update value.
14067 (ERRNO_UNCHANGED): Likewise.
14068 (ERRNO_EDOM): Likewise.
14069 (ERRNO_ERANGE): Likewise.
14070 (IGNORE_RESULT): Likewise.
14071 (check_float_internal): Check signs of NaN results if
14072 TEST_NAN_SIGN used.
14073 (check_complex): Pass TEST_NAN_SIGN flag through to second
14074 check_float_internal call.
14075 (copysign_test_data): Add tests with quiet NaNs as second
14076 argument. Use TEST_NAN_SIGN.
14077 (fabs_test_data): Add test of negative quiet NaN argument. Use
14079 (signbit_test_data): Add tests of quiet NaN argument.
14080 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14082 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14084 (parse_args): Handle function results specified as IGNORE.
14085 * math/libm-test.inc (IGNORE_RESULT): New macro.
14086 (check_float_internal): Do not check numerical result if flag
14088 (check_complex): Pass through IGNORE_RESULT to second
14089 check_float_internal call.
14090 (check_int): Do not check numerical result if flag IGNORE_RESULT
14092 (check_long): Likewise.
14093 (check_bool): Likewise.
14094 (check_longlong): Likewise.
14095 (lrint_test_data): Add tests of infinite and NaN arguments.
14096 (lrint_tonearest_test_data): Likewise.
14097 (lrint_towardzero_test_data): Likewise.
14098 (lrint_downward_test_data): Likewise.
14099 (lrint_upward_test_data): Likewise.
14100 (llrint_test_data): Likewise.
14101 (llrint_tonearest_test_data): Likewise.
14102 (llrint_towardzero_test_data): Likewise.
14103 (llrint_downward_test_data): Likewise.
14104 (llrint_upward_test_data): Likewise.
14105 (lround_test_data): Likewise.
14106 (llround_test_data): Likewise.
14108 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14109 (ERRNO_UNCHANGED): Update value.
14110 (ERRNO_EDOM): Likewise.
14111 (ERRNO_ERANGE): Likewise.
14112 (NO_TEST_INLINE_FLOAT): New macro.
14113 (NO_TEST_INLINE_DOUBLE): Likewise.
14114 (enable_test): New function.
14115 (RUN_TEST_f_f): Check enable_test before running test.
14116 (RUN_TEST_2_f): Likewise.
14117 (RUN_TEST_fff_f): Likewise.
14118 (RUN_TEST_c_f): Likewise.
14119 (RUN_TEST_f_f1): Likewise.
14120 (RUN_TEST_fF_f1): Likewise.
14121 (RUN_TEST_fI_f1): Likewise.
14122 (RUN_TEST_ffI_f1): Likewise.
14123 (RUN_TEST_c_c): Likewise.
14124 (RUN_TEST_cc_c): Likewise.
14125 (RUN_TEST_f_i): Likewise.
14126 (RUN_TEST_f_i_tg): Likewise.
14127 (RUN_TEST_ff_i_tg): Likewise.
14128 (RUN_TEST_f_b): Likewise.
14129 (RUN_TEST_f_b_tg): Likewise.
14130 (RUN_TEST_f_l): Likewise.
14131 (RUN_TEST_f_L): Likewise.
14132 (RUN_TEST_fFF_11): Likewise.
14133 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14135 (cosh_test_data): Likewise.
14136 (exp_test_data): Likewise.
14137 (expm1_test_data): Likewise.
14138 (hypot_test_data): Likewise.
14139 (pow_test_data): Likewise.
14140 (sinh_test_data): Likewise.
14141 (tanh_test_data): Likewise.
14142 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14145 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14146 tests with quiet NaN input and output.
14147 (acosh_test_data): Likewise.
14148 (asin_test_data): Likewise.
14149 (asinh_test_data): Likewise.
14150 (atan_test_data): Likewise.
14151 (atanh_test_data): Likewise.
14152 (atan2_test_data): Likewise.
14153 (cbrt_test_data): Likewise.
14154 (cos_test_data): Likewise.
14155 (cosh_test_data): Likewise.
14156 (erf_test_data): Likewise.
14157 (erfc_test_data): Likewise.
14158 (exp_test_data): Likewise.
14159 (exp10_test_data): Likewise.
14160 (exp2_test_data): Likewise.
14161 (expm1_test_data): Likewise.
14162 (hypot_test_data): Likewise.
14163 (j0_test_data): Likewise.
14164 (j1_test_data): Likewise.
14165 (jn_test_data): Likewise.
14166 (lgamma_test_data): Likewise.
14167 (log_test_data): Likewise.
14168 (log10_test_data): Likewise.
14169 (log1p_test_data): Likewise.
14170 (log2_test_data): Likewise.
14171 (pow_test_data): Likewise.
14172 (scalb_test_data): Likewise.
14173 (sin_test_data): Likewise.
14174 (sincos_test_data): Likewise.
14175 (sinh_test_data): Likewise.
14176 (tan_test_data): Likewise.
14177 (tanh_test_data): Likewise.
14178 (tgamma_test_data): Likewise.
14179 (y0_test_data): Likewise.
14180 (y1_test_data): Likewise.
14181 (yn_test_data): Likewise.
14184 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14185 argument being NaN and avoid computations with second argument in
14187 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14188 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14189 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14191 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14193 * locale/iso-639.def: Add Chitwani Tharu (the).
14195 2013-11-14 Andreas Schwab <schwab@suse.de>
14197 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14198 word instead of empty string.
14200 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14203 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14205 (__fe_nomask_env): Likewise.
14207 2013-11-13 Steve Ellcey <sellcey@mips.com>
14209 * benchtests/bench-timing.h: Include time.h.
14211 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14214 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14216 * sysdeps/unix/sysv/linux/configure: Regenerated.
14218 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14221 * stdlib/strtod_l.c (round_and_return): Do not consider
14222 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14223 exponent one less than half the least subnormal exponent.
14224 * stdlib/test-strtod-round-data: Add more tests.
14225 * stdlib/tst-strtod-round.c (tests): Regenerated.
14227 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14230 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14231 (__fe_mask_env): Likewise.
14232 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14233 libm_hidden_proto and add function prototype.
14234 (__fe_mask_env): Add function prototype.
14235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14236 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14238 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14240 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14242 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14244 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14245 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14247 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14249 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14250 of htab_find_slot().
14252 2013-11-11 David S. Miller <davem@davemloft.net>
14255 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14256 symbol in the non-vis3 case in static builds.
14257 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14258 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14259 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14260 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14262 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14265 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14268 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14270 * benchtests/Makefile: Add bench-strtod.
14271 * benchtests/bench-strtod.c: New file: strtod benchtest
14273 2013-11-11 Andreas Schwab <schwab@suse.de>
14276 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14277 terminating NUL in key length.
14279 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14281 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14282 Add artificial ODP entry for vDSO symbol for PPC64.
14283 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14284 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14286 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14289 * nss/getent.c (services_keys): Recognize services starting with digit.
14291 2013-11-06 David S. Miller <davem@davemloft.net>
14294 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14295 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14297 2013-11-06 Will Newton <will.newton@linaro.org>
14299 * manual/memory.texi (Malloc Examples): Remove register
14300 keyword from examples.
14302 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14304 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14306 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14309 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14310 depending on [__GCC_IEC_559 > 0].
14311 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14312 depending on [__GCC_IEC_559_COMPLEX > 0].
14314 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14316 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14319 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14321 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14323 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14326 * malloc/malloc (malloc_info): Do not handle first bin as
14329 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14331 * locale/iso-639.def: Add Central Nahuatl (nhn).
14333 2013-11-01 Bruno Haible <bruno@clisp.org>
14336 * manual/math.texi (BSD Random): Specify range upper bound as
14339 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14341 * locale/iso-639.def: Add Meadow Mari (mhr).
14343 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14345 [BZ #14752], [BZ #15763]
14346 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14348 * rt/tst_shm.c: Add test for escaping directory.
14350 2013-10-31 Andreas Schwab <schwab@suse.de>
14353 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14354 followed by 'x' as part of digit sequence.
14355 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14357 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14360 * configure.ac: allow GNU Make 4.0 and greater.
14361 * configure: Regenerated.
14363 2013-10-30 Will Newton <will.newton@linaro.org>
14366 * malloc/hooks.c (memalign_check): Limit alignment to the
14367 maximum representable power of two.
14368 * malloc/malloc.c (__libc_memalign): Likewise.
14369 * malloc/tst-memalign.c (do_test): Add test for very
14370 large alignment values.
14371 * malloc/tst-posix_memalign.c (do_test): Likewise.
14373 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14376 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14377 (munmap_chunk): Likewise.
14378 (mremap_chunk): Likewise.
14380 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14383 * stdlib/div.c (div): Remove obsolete code.
14384 * stdlib/ldiv.c (ldiv): Likewise.
14385 * stdlib/lldiv.c (lldiv): Likewise.
14387 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14390 * nss/nss_files/files-XXX.c (get_contents_ret): New
14392 (get_contents): New function.
14393 (internal_getent): Use it. Expand size of LINEBUFLEN.
14395 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14397 * configure.in: Moved to ...
14398 * configure.ac: ... here. Change reference to configure.in
14400 * sysdeps/arm/preconfigure.ac: ... here.
14401 configure.in to configure.ac.
14402 * sysdeps/gnu/configure.in: Moved to ...
14403 * sysdeps/gnu/configure.ac: ... here.
14404 * sysdeps/i386/configure.in: Moved to ...
14405 * sysdeps/i386/configure.ac: ... here.
14406 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14407 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14408 * sysdeps/mach/configure.in: Moved to ...
14409 * sysdeps/mach/configure.ac: ... here.
14410 * sysdeps/mach/hurd/configure.in: Moved to ...
14411 * sysdeps/mach/hurd/configure.ac: ... here.
14412 * sysdeps/powerpc/configure.in: Moved to ...
14413 * sysdeps/powerpc/configure.ac: ... here.
14414 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14415 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14416 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14417 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14418 * sysdeps/s390/s390-32/configure.in: Moved to ...
14419 * sysdeps/s390/s390-32/configure.ac: ... here.
14420 * sysdeps/s390/s390-64/configure.in: Moved to ...
14421 * sysdeps/s390/s390-64/configure.ac: ... here.
14422 * sysdeps/sh/configure.in: Moved to ...
14423 * sysdeps/sh/configure.ac: ... here.
14424 * sysdeps/sparc/configure.in: Moved to ...
14425 * sysdeps/sparc/configure.ac: ... here.
14426 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14427 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14428 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14429 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14430 * sysdeps/x86_64/configure.in: Moved to ...
14431 * sysdeps/x86_64/configure.ac: ... here.
14432 * sysdeps/x86_64/preconfigure.in: Moved to ...
14433 * sysdeps/x86_64/preconfigure.ac: ... here.
14434 * aclocal.m4: Change reference to configure.in to configure.ac.
14435 * config.h.in: Likewise.
14436 * manual/install.texi: Likewise.
14437 * manual/maint.texi: Likewise.
14438 * Makefile: Likewise.
14439 * malloc/Makefile: Likewise.
14440 * nscd/Makefile: Likewise.
14441 * Makeconfig: Change reference to configure.in and
14442 preconfigure.in to configure.ac and preconfigure.ac
14444 * INSTALL: Regenerated.
14445 * configure: Likewise.
14446 * sysdeps/gnu/configure: Likewise.
14447 * sysdeps/i386/configure: Likewise.
14448 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14449 * sysdeps/mach/configure: Likewise.
14450 * sysdeps/mach/hurd/configure: Likewise.
14451 * sysdeps/powerpc/configure: Likewise.
14452 * sysdeps/powerpc/powerpc32/configure: Likewise.
14453 * sysdeps/powerpc/powerpc64/configure: Likewise.
14454 * sysdeps/s390/s390-32/configure: Likewise.
14455 * sysdeps/s390/s390-64/configure: Likewise.
14456 * sysdeps/sh/configure: Likewise.
14457 * sysdeps/sparc/configure: Likewise.
14458 * sysdeps/unix/sysv/linux/configure: Likewise.
14459 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14460 * sysdeps/x86_64/configure: Likewise.
14461 * sysdeps/x86_64/preconfigure: Likewise.
14463 2013-10-29 Andreas Schwab <schwab@suse.de>
14465 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14467 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14469 * benchtests/pow-inputs: Add new inputs.
14471 * benchtests/exp-inputs: Add new inputs.
14473 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14474 conditional check for return value.
14475 (__cos32): Likewise.
14477 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14479 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14480 to provide a boost for large inputs with word alignment.
14481 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14482 implementation based on optimized PPC64 strcpy.
14483 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14484 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14485 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14486 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14488 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14491 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14493 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14496 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14497 * time/tst-strptime.c (day_tests): Add testcase.
14499 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14502 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14504 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14507 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14508 MAP_FAILED on error.
14510 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14513 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14514 heap for large requests.
14516 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14519 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14520 result if the result has no associated interface.
14521 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14522 interface for all 127.X.Y.Z addresses.
14524 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14526 * locale/iso-639.def: Add Ligurian (lij)
14528 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14531 * sunrpc/rpc_main.c: Document rpcgen -5.
14533 2013-10-19 Michael Stahl <mstahl@redhat.com>
14535 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14537 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14540 * posix/glob.c: Match only directories when trailing slash is present.
14541 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14542 (main): Add testcase.
14544 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14547 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14549 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14551 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14552 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14553 AUTH_DES and cindex for FIPS 140-2.
14554 (DES Encryption): Add cindex FIPS 46-3.
14556 * locale/locarchive.h (struct locarhandle): Add fname.
14557 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14558 if an optional argument was specified to --list-archive,
14560 * locale/programs/locarchive.c (show_archive_content): Take new
14561 argument fname and pass it via ah.fname to open_archive.
14562 * locale/programs/localedef.h: Update decl.
14563 (open_archive): If AH->fname is non-null, open that file
14564 rather than the default file name, and don't ignore ENOENT.
14565 (create_archive): Set AH.fname to NULL.
14566 (delete_locales_from_archive): Likewise.
14567 (add_locales_to_archive): Likewise.
14568 * locale/programs/locfile.c (write_all_categories): Likewise.
14570 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14571 Aldy Hernandez <aldyh@redhat.com>
14573 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14574 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14575 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14576 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14577 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14578 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14579 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14580 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14581 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14582 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14583 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14584 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14585 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14586 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14587 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14589 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14591 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14593 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14595 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14596 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14598 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14599 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14600 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14601 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14603 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14604 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14605 * sysdeps/powerpc/preconfigure: Likewise.
14606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14608 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14609 Replace contents of file by #include of <fenv_libc.h>.
14610 * sysdeps/powerpc/soft-fp/sfp-machine.h
14611 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14613 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14614 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14615 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14616 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14617 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14618 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14620 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14621 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14622 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14623 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14624 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14626 Allow copysignl PLT reference to be missing.
14628 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14629 Joseph Myers <joseph@codesourcery.com
14632 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14634 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14636 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14638 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14639 * elf/tst-tls1.c: Likewise.
14640 * elf/tst-tls10.h: Likewise.
14641 * elf/tst-tls14.c: Likewise.
14642 * elf/tst-tls2.c: Likewise.
14643 * elf/tst-tls3.c: Likewise.
14644 * elf/tst-tls4.c: Likewise.
14645 * elf/tst-tls5.c: Likewise.
14646 * elf/tst-tls6.c: Likewise.
14647 * elf/tst-tls7.c: Likewise.
14648 * elf/tst-tls8.c: Likewise.
14649 * elf/tst-tls9.c: Likewise.
14650 * elf/tst-tlsmod1.c: Likewise.
14651 * elf/tst-tlsmod13.c: Likewise.
14652 * elf/tst-tlsmod13a.c: Likewise.
14653 * elf/tst-tlsmod14a.c: Likewise.
14654 * elf/tst-tlsmod16a.c: Likewise.
14655 * elf/tst-tlsmod16b.c: Likewise.
14656 * elf/tst-tlsmod2.c: Likewise.
14657 * elf/tst-tlsmod3.c: Likewise.
14658 * elf/tst-tlsmod4.c: Likewise.
14659 * elf/tst-tlsmod5.c: Likewise.
14660 * elf/tst-tlsmod6.c: Likewise.
14662 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14665 * malloc/malloc.c: remove checks for statistics.
14667 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14670 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14671 * inet/tst-network.c: Add testcase.
14673 2013-10-17 Andreas Schwab <schwab@suse.de>
14676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14677 to determine canonical name.
14679 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14681 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14682 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14683 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14684 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14685 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14686 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14687 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14688 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14689 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14690 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14691 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14692 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14693 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14694 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14695 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14696 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14697 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14698 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14699 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14700 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14701 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14702 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14703 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14704 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14705 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14706 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14707 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14708 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14709 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14710 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14711 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14712 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14713 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14714 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14715 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14716 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14717 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14718 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14719 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14720 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14721 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14722 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14723 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14724 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14725 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14726 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14727 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14728 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14729 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14730 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14731 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14732 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14733 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14734 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14735 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14736 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14737 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14738 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14740 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14743 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14744 make result into a quiet NaN.
14746 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14748 * soft-fp/adddf3.c: Fix horizontal whitespace.
14749 * soft-fp/addsf3.c: Likewise.
14750 * soft-fp/addtf3.c: Likewise.
14751 * soft-fp/divdf3.c: Likewise.
14752 * soft-fp/divsf3.c: Likewise.
14753 * soft-fp/divtf3.c: Likewise.
14754 * soft-fp/double.h: Likewise.
14755 * soft-fp/eqdf2.c: Likewise.
14756 * soft-fp/eqsf2.c: Likewise.
14757 * soft-fp/eqtf2.c: Likewise.
14758 * soft-fp/extenddftf2.c: Likewise.
14759 * soft-fp/extended.h: Likewise.
14760 * soft-fp/extendsfdf2.c: Likewise.
14761 * soft-fp/extendsftf2.c: Likewise.
14762 * soft-fp/extendxftf2.c: Likewise.
14763 * soft-fp/fixdfdi.c: Likewise.
14764 * soft-fp/fixdfsi.c: Likewise.
14765 * soft-fp/fixdfti.c: Likewise.
14766 * soft-fp/fixsfdi.c: Likewise.
14767 * soft-fp/fixsfsi.c: Likewise.
14768 * soft-fp/fixsfti.c: Likewise.
14769 * soft-fp/fixtfdi.c: Likewise.
14770 * soft-fp/fixtfsi.c: Likewise.
14771 * soft-fp/fixtfti.c: Likewise.
14772 * soft-fp/fixunsdfdi.c: Likewise.
14773 * soft-fp/fixunsdfsi.c: Likewise.
14774 * soft-fp/fixunsdfti.c: Likewise.
14775 * soft-fp/fixunssfdi.c: Likewise.
14776 * soft-fp/fixunssfsi.c: Likewise.
14777 * soft-fp/fixunssfti.c: Likewise.
14778 * soft-fp/fixunstfdi.c: Likewise.
14779 * soft-fp/fixunstfsi.c: Likewise.
14780 * soft-fp/fixunstfti.c: Likewise.
14781 * soft-fp/floatdidf.c: Likewise.
14782 * soft-fp/floatdisf.c: Likewise.
14783 * soft-fp/floatditf.c: Likewise.
14784 * soft-fp/floatsidf.c: Likewise.
14785 * soft-fp/floatsisf.c: Likewise.
14786 * soft-fp/floatsitf.c: Likewise.
14787 * soft-fp/floattidf.c: Likewise.
14788 * soft-fp/floattisf.c: Likewise.
14789 * soft-fp/floattitf.c: Likewise.
14790 * soft-fp/floatundidf.c: Likewise.
14791 * soft-fp/floatundisf.c: Likewise.
14792 * soft-fp/floatunditf.c: Likewise.
14793 * soft-fp/floatunsidf.c: Likewise.
14794 * soft-fp/floatunsisf.c: Likewise.
14795 * soft-fp/floatunsitf.c: Likewise.
14796 * soft-fp/floatuntidf.c: Likewise.
14797 * soft-fp/floatuntisf.c: Likewise.
14798 * soft-fp/floatuntitf.c: Likewise.
14799 * soft-fp/fmadf4.c: Likewise.
14800 * soft-fp/fmasf4.c: Likewise.
14801 * soft-fp/fmatf4.c: Likewise.
14802 * soft-fp/gedf2.c: Likewise.
14803 * soft-fp/gesf2.c: Likewise.
14804 * soft-fp/getf2.c: Likewise.
14805 * soft-fp/ledf2.c: Likewise.
14806 * soft-fp/lesf2.c: Likewise.
14807 * soft-fp/letf2.c: Likewise.
14808 * soft-fp/muldf3.c: Likewise.
14809 * soft-fp/mulsf3.c: Likewise.
14810 * soft-fp/multf3.c: Likewise.
14811 * soft-fp/negdf2.c: Likewise.
14812 * soft-fp/negsf2.c: Likewise.
14813 * soft-fp/negtf2.c: Likewise.
14814 * soft-fp/op-1.h: Likewise.
14815 * soft-fp/op-2.h: Likewise.
14816 * soft-fp/op-4.h: Likewise.
14817 * soft-fp/op-8.h: Likewise.
14818 * soft-fp/op-common.h: Likewise.
14819 * soft-fp/quad.h: Likewise.
14820 * soft-fp/single.h: Likewise.
14821 * soft-fp/soft-fp.h: Likewise.
14822 * soft-fp/sqrtdf2.c: Likewise.
14823 * soft-fp/sqrtsf2.c: Likewise.
14824 * soft-fp/sqrttf2.c: Likewise.
14825 * soft-fp/subdf3.c: Likewise.
14826 * soft-fp/subsf3.c: Likewise.
14827 * soft-fp/subtf3.c: Likewise.
14828 * soft-fp/truncdfsf2.c: Likewise.
14829 * soft-fp/trunctfdf2.c: Likewise.
14830 * soft-fp/trunctfsf2.c: Likewise.
14831 * soft-fp/trunctfxf2.c: Likewise.
14832 * soft-fp/unorddf2.c: Likewise.
14833 * soft-fp/unordsf2.c: Likewise.
14834 * soft-fp/unordtf2.c: Likewise.
14836 2013-10-15 Joseph Myers <joseph@codesourcery.com>
14838 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14839 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14841 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
14843 * elf/dl-libc.c: Clear initfini list after freeing.
14845 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14847 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14848 * soft-fp/addsf3.c: Likewise.
14849 * soft-fp/addtf3.c: Likewise.
14850 * soft-fp/divdf3.c: Likewise.
14851 * soft-fp/divsf3.c: Likewise.
14852 * soft-fp/divtf3.c: Likewise.
14853 * soft-fp/double.h: Likewise.
14854 * soft-fp/eqdf2.c: Likewise.
14855 * soft-fp/eqsf2.c: Likewise.
14856 * soft-fp/eqtf2.c: Likewise.
14857 * soft-fp/extenddftf2.c: Likewise.
14858 * soft-fp/extended.h: Likewise.
14859 * soft-fp/extendsfdf2.c: Likewise.
14860 * soft-fp/extendsftf2.c: Likewise.
14861 * soft-fp/extendxftf2.c: Likewise.
14862 * soft-fp/fixdfdi.c: Likewise.
14863 * soft-fp/fixdfsi.c: Likewise.
14864 * soft-fp/fixdfti.c: Likewise.
14865 * soft-fp/fixsfdi.c: Likewise.
14866 * soft-fp/fixsfsi.c: Likewise.
14867 * soft-fp/fixsfti.c: Likewise.
14868 * soft-fp/fixtfdi.c: Likewise.
14869 * soft-fp/fixtfsi.c: Likewise.
14870 * soft-fp/fixtfti.c: Likewise.
14871 * soft-fp/fixunsdfdi.c: Likewise.
14872 * soft-fp/fixunsdfsi.c: Likewise.
14873 * soft-fp/fixunsdfti.c: Likewise.
14874 * soft-fp/fixunssfdi.c: Likewise.
14875 * soft-fp/fixunssfsi.c: Likewise.
14876 * soft-fp/fixunssfti.c: Likewise.
14877 * soft-fp/fixunstfdi.c: Likewise.
14878 * soft-fp/fixunstfsi.c: Likewise.
14879 * soft-fp/fixunstfti.c: Likewise.
14880 * soft-fp/floatdidf.c: Likewise.
14881 * soft-fp/floatdisf.c: Likewise.
14882 * soft-fp/floatditf.c: Likewise.
14883 * soft-fp/floatsidf.c: Likewise.
14884 * soft-fp/floatsisf.c: Likewise.
14885 * soft-fp/floatsitf.c: Likewise.
14886 * soft-fp/floattidf.c: Likewise.
14887 * soft-fp/floattisf.c: Likewise.
14888 * soft-fp/floattitf.c: Likewise.
14889 * soft-fp/floatundidf.c: Likewise.
14890 * soft-fp/floatundisf.c: Likewise.
14891 * soft-fp/floatunsidf.c: Likewise.
14892 * soft-fp/floatunsisf.c: Likewise.
14893 * soft-fp/floatuntidf.c: Likewise.
14894 * soft-fp/floatuntisf.c: Likewise.
14895 * soft-fp/floatuntitf.c: Likewise.
14896 * soft-fp/fmadf4.c: Likewise.
14897 * soft-fp/fmasf4.c: Likewise.
14898 * soft-fp/fmatf4.c: Likewise.
14899 * soft-fp/gedf2.c: Likewise.
14900 * soft-fp/gesf2.c: Likewise.
14901 * soft-fp/getf2.c: Likewise.
14902 * soft-fp/ledf2.c: Likewise.
14903 * soft-fp/lesf2.c: Likewise.
14904 * soft-fp/letf2.c: Likewise.
14905 * soft-fp/muldf3.c: Likewise.
14906 * soft-fp/mulsf3.c: Likewise.
14907 * soft-fp/multf3.c: Likewise.
14908 * soft-fp/negdf2.c: Likewise.
14909 * soft-fp/negsf2.c: Likewise.
14910 * soft-fp/negtf2.c: Likewise.
14911 * soft-fp/op-1.h: Likewise.
14912 * soft-fp/op-2.h: Likewise.
14913 * soft-fp/op-4.h: Likewise.
14914 * soft-fp/op-8.h: Likewise.
14915 * soft-fp/op-common.h: Likewise.
14916 * soft-fp/quad.h: Likewise.
14917 * soft-fp/single.h: Likewise.
14918 * soft-fp/soft-fp.h: Likewise.
14919 * soft-fp/sqrtdf2.c: Likewise.
14920 * soft-fp/sqrtsf2.c: Likewise.
14921 * soft-fp/sqrttf2.c: Likewise.
14922 * soft-fp/subdf3.c: Likewise.
14923 * soft-fp/subsf3.c: Likewise.
14924 * soft-fp/subtf3.c: Likewise.
14925 * soft-fp/truncdfsf2.c: Likewise.
14926 * soft-fp/trunctfdf2.c: Likewise.
14927 * soft-fp/trunctfsf2.c: Likewise.
14928 * soft-fp/trunctfxf2.c: Likewise.
14929 * soft-fp/unorddf2.c: Likewise.
14930 * soft-fp/unordsf2.c: Likewise.
14931 * soft-fp/unordtf2.c: Likewise.
14933 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14936 * misc/error.c (error_tail): Fix possible buffer overflow.
14938 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14941 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14944 2013-10-14 P. J. McDermott <pj@pehjota.net>
14947 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14948 testing pipefail option.
14950 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14952 * soft-fp/double.h: Indent preprocessor directives inside #if.
14953 * soft-fp/extended.h: Likewise.
14954 * soft-fp/op-2.h: Likewise.
14955 * soft-fp/op-4.h: Likewise.
14956 * soft-fp/op-common.h: Likewise.
14957 * soft-fp/quad.h: Likewise.
14958 * soft-fp/single.h: Likewise.
14959 * soft-fp/soft-fp.h: Likewise.
14961 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14963 * iconv/iconv_prog.c: Fix typos.
14964 * stdio-common/psiginfo-data.h: Likewise.
14966 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14969 * locale/setlocale.c: Fix typo.
14971 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14974 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14975 signaling NaN arguments.
14976 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14977 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14980 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14981 unordered operands.
14982 * soft-fp/gesf2.c (__gesf2): Likewise.
14983 * soft-fp/getf2.c (__getf2): Likewise.
14984 * soft-fp/ledf2.c (__ledf2): Likewise.
14985 * soft-fp/lesf2.c (__lesf2): Likewise.
14986 * soft-fp/letf2.c (__letf2): Likewise.
14988 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14989 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14990 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14991 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14992 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14993 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14994 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14995 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14996 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14997 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14998 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14999 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15000 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15001 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15002 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15003 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15004 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15005 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15006 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15007 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15008 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15009 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15010 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15011 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15012 * soft-fp/floattidf.c (__floattidf): Likewise.
15013 * soft-fp/floattisf.c (__floattisf): Likewise.
15014 * soft-fp/floattitf.c (__floattitf): Likewise.
15015 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15016 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15017 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15018 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15019 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15020 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15021 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15022 * soft-fp/gesf2.c (__gesf2): Likewise.
15023 * soft-fp/getf2.c (__getf2): Likewise.
15024 * soft-fp/ledf2.c (__ledf2): Likewise.
15025 * soft-fp/lesf2.c (__lesf2): Likewise.
15026 * soft-fp/letf2.c (__letf2): Likewise.
15028 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15029 Undefine and redefine.
15030 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15031 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15032 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15033 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15034 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15035 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15036 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15037 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15038 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15039 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15040 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15041 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15042 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15043 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15044 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15047 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15048 without decrementing exponent if mantissa >= that for the
15049 denominator, not >.
15050 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15051 denominator, not >. Decrement exponent in < case instead of
15052 incrementing in >= case.
15053 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15054 without decrementing exponent if mantissa >= that for the
15055 denominator, not >.
15057 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15058 computing saturated result for unsigned overflow.
15060 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15061 Jeff Law <law@redhat.com>
15063 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15064 (atan2Mp): Add systemtap probe marker.
15065 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15066 (__ieee754_log): Add systemtap probe marker.
15067 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15068 (atanMp): Add systemtap probe marker.
15069 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15070 (tanMp): Add systemtap probe marker.
15071 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15072 (__slowexp): Add systemtap probe marker.
15073 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15074 (__slowpow): Add systemtap probe marker.
15075 * manual/probes.texi: Document probes.
15077 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15080 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15082 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15084 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15085 written to buffer but not flushed.
15086 * libio/iofwrite_u.c: Likewise.
15087 * libio/iopadn.c: Return bytes returned even if EOF was
15089 * libio/iowpadn.c: Likewise.
15090 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15091 if _IO_padn does not write the whole buffer.
15092 [!COMPILE_WPRINTF] (PAD): Likewise.
15094 2013-10-10 David S. Miller <davem@davemloft.net>
15096 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15099 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15101 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15102 instead of FSF address.
15103 * soft-fp/fixdfti.c: Likewise.
15104 * soft-fp/fixsfti.c: Likewise.
15105 * soft-fp/fixtfti.c: Likewise.
15106 * soft-fp/fixunsdfti.c: Likewise.
15107 * soft-fp/fixunssfti.c: Likewise.
15108 * soft-fp/fixunstfti.c: Likewise.
15109 * soft-fp/floattidf.c: Likewise.
15110 * soft-fp/floattisf.c: Likewise.
15111 * soft-fp/floattitf.c: Likewise.
15112 * soft-fp/floatuntidf.c: Likewise.
15113 * soft-fp/floatuntisf.c: Likewise.
15114 * soft-fp/floatuntitf.c: Likewise.
15115 * soft-fp/trunctfxf2.c: Likewise.
15117 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15118 * soft-fp/fixdfti.c: Likewise.
15119 * soft-fp/fixsfti.c: Likewise.
15120 * soft-fp/fixtfti.c: Likewise.
15121 * soft-fp/fixunsdfti.c: Likewise.
15122 * soft-fp/fixunssfti.c: Likewise.
15123 * soft-fp/fixunstfti.c: Likewise.
15124 * soft-fp/floattidf.c: Likewise.
15125 * soft-fp/floattisf.c: Likewise.
15126 * soft-fp/floattitf.c: Likewise.
15127 * soft-fp/floatuntidf.c: Likewise.
15128 * soft-fp/floatuntisf.c: Likewise.
15129 * soft-fp/floatuntitf.c: Likewise.
15130 * soft-fp/trunctfxf2.c: Likewise.
15132 2013-10-10 David S. Miller <davem@davemloft.net>
15134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15136 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15138 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15139 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15140 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15141 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15142 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15143 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15144 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15146 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15147 for NaNs before doing comparisons on argument.
15148 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15151 2013-10-10 Will Newton <will.newton@linaro.org>
15153 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15154 passed to _int_memalign does not overflow.
15156 2013-10-10 Torvald Riegel <triegel@redhat.com>
15158 * scripts/bench.pl: Add include-sources directive.
15159 * benchtests/README: Update documentation.
15161 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15163 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15164 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15165 instead of FP_INIT_ROUNDMODE.
15166 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15167 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15170 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15171 copy class of input value.
15172 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15173 not handle exceptions.
15174 * soft-fp/negsf2.c (__negsf2): Likewise.
15175 * soft-fp/negtf2.c (__negtf2): Likewise.
15176 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15178 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15180 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15181 semicolon. From Linux kernel.
15183 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15185 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15187 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15190 * manual/socket.texi: Added statement about buffer
15191 for gethostbyname2_r.
15193 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15195 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15196 Use .p2align directive instead, throughout.
15197 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15198 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15199 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15200 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15201 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15202 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15203 * sysdeps/x86_64/strchr.S: Likewise.
15204 * sysdeps/x86_64/strrchr.S: Likewise.
15206 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15208 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15210 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15212 * sysdeps/generic/math_private.h (__mpsin1): Remove
15214 (__mpcos1): Likewise.
15215 (__mpsin): New argument __range_reduce.
15216 (__mpcos): Likewise.
15217 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15218 (slow): Use __mpsin and __mpcos.
15222 (sloww1): Likewise.
15223 (sloww2): Likewise.
15224 (bsloww): Likewise.
15225 (bsloww1): Likewise.
15226 (bsloww2): Likewise.
15227 (cslow2): Likewise.
15228 (csloww): Likewise.
15229 (csloww1): Likewise.
15230 (csloww2): Likewise.
15231 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15232 range_reduce. Merge in __mpsin1.
15233 (__mpcos): Likewise.
15234 (__mpsin1): Remove.
15235 (__mpcos1): Likewise.
15237 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15239 * locale/loadlocale.c (_nl_intern_locale_data): Use
15241 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15242 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15243 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15244 obstack data is appropriately aligned.
15245 (obstack_int32_grow_fast): Likewise.
15246 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15247 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15248 (add_locale_uint32_array): Likewise.
15250 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15252 * benchtests/Makefile: Remove ARGLIST and RET variables.
15253 ($(objpfx)bench-%.c): Pass only function name to the script.
15254 * benchtests/README: Update documentation.
15255 * benchtests/acos-inputs: Add new directives.
15256 * benchtests/acosh-inputs: Likewise.
15257 * benchtests/asin-inputs: Likewise.
15258 * benchtests/asinh-inputs: Likewise.
15259 * benchtests/atan-inputs: Likewise.
15260 * benchtests/atanh-inputs: Likewise.
15261 * benchtests/cos-inputs: Likewise.
15262 * benchtests/cosh-inputs: Likewise.
15263 * benchtests/exp-inputs: Likewise.
15264 * benchtests/log-inputs: Likewise.
15265 * benchtests/pow-inputs: Likewise.
15266 * benchtests/rint-inputs: Likewise.
15267 * benchtests/sin-inputs: Likewise.
15268 * benchtests/sinh-inputs: Likewise.
15269 * benchtests/tan-inputs: Likewise.
15270 * benchtests/tanh-inputs: Likewise.
15271 * scripts/bench.pl: Add support for new directives.
15273 2013-10-07 Alan Modra <amodra@gmail.com>
15275 * README: Fix careless merge.
15277 2013-10-05 Alan Modra <amodra@gmail.com>
15279 * NEWS: Mention powerpc64le support and bugs fixed.
15280 * README: Both big-endian and little-endian powerpc64 supported.
15282 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15284 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15285 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15286 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15287 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15289 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15291 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15294 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15296 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15297 Move -mhard-float appending from
15298 ports/sysdeps/powerpc/powerpc32/Makefile.
15299 [$(with-fp) = yes] (ASFLAGS): Likewise.
15300 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15301 * sysdeps/powerpc/nofpu: Move directory from
15302 ports/sysdeps/powerpc/nofpu.
15303 * sysdeps/powerpc/soft-fp: Move directory from
15304 ports/sysdeps/powerpc/soft-fp.
15305 * sysdeps/powerpc/powerpc32/405: Move directory from
15306 ports/sysdeps/powerpc/powerpc32/405.
15307 * sysdeps/powerpc/powerpc32/440: Move directory from
15308 ports/sysdeps/powerpc/powerpc32/440.
15309 * sysdeps/powerpc/powerpc32/464: Move directory from
15310 ports/sysdeps/powerpc/powerpc32/464.
15311 * sysdeps/powerpc/powerpc32/476: Move directory from
15312 ports/sysdeps/powerpc/powerpc32/476.
15313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15314 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15316 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15318 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15320 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15322 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15323 * README: Update for powerpc-*-linux-gnu software floating point
15326 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15327 case to powerpc/powerpc32*.
15328 * sysdeps/unix/sysv/linux/configure: Regenerated.
15330 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15331 (_FPU_MASK_OM): Define as 0x04.
15332 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15333 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15335 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15337 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15340 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15343 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15346 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15347 and setcontext_e500.
15349 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15351 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15353 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15355 * manual/threads.texi (Default Thread Attributes): Fix typo.
15357 2013-10-04 Will Newton <will.newton@linaro.org>
15359 * malloc/Makefile: Add tst-memalign.
15360 * malloc/tst-memalign.c: New file.
15362 * malloc/tst-posix_memalign.c: Add comments.
15363 (do_test): Add comments and call free on all potentially
15364 allocated pointers. Add space after cast.
15366 * malloc/tst-pvalloc.c: Add comments.
15367 (do_test): Add comments and call free on all potentially
15368 allocated pointers. Remove duplicate check for NULL pointer.
15369 Add space after cast.
15371 * malloc/tst-valloc.c: Add comments.
15372 (do_test): Add comments and call free on all potentially
15373 allocated pointers. Remove duplicate check for NULL pointer.
15374 Add space after cast.
15376 2013-10-04 Alan Modra <amodra@gmail.com>
15378 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15379 Use stdint types in rather than __attribute__((mode())).
15380 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15382 2013-10-04 Alan Modra <amodra@gmail.com>
15384 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15385 Correct handling of unaligned relocs for little-endian.
15386 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15388 2013-10-04 Alan Modra <amodra@gmail.com>
15390 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15391 * configure: Regenerate.
15392 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15393 * shlib-versions: Likewise.
15395 2013-10-04 Alan Modra <amodra@gmail.com>
15397 * string/tester.c (test_memrchr): Increment reported test cycle.
15399 2013-10-04 Alan Modra <amodra@gmail.com>
15401 * string/test-memcpy.c (do_one_test): When reporting errors, print
15402 string address and don't overrun end of string.
15404 2013-10-04 Alan Modra <amodra@gmail.com>
15406 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15407 insrdi. Make better use of reg selection to speed exit slightly.
15408 Schedule entry path a little better. Remove useless "are we done"
15409 checks on entry to main loop. Handle wrapping around zero address.
15410 Correct main loop count. Handle single left-over word from main
15411 loop inline rather than by using loop_small. Remove extra word
15412 case in loop_small caused by wrong loop count. Add little-endian
15414 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15415 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15417 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15418 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15419 support. Avoid rlwimi.
15420 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15422 2013-10-04 Alan Modra <amodra@gmail.com>
15424 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15425 insrdi. Formatting.
15426 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15427 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15428 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15429 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15430 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15431 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15433 2013-10-04 Alan Modra <amodra@gmail.com>
15435 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15436 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15437 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15438 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15439 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15440 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15441 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15442 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15443 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15444 use of regs. Use power7 mtocrf. Tidy function tails.
15446 2013-10-04 Alan Modra <amodra@gmail.com>
15448 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15449 Formatting. Consistently use rXXX register defines or rN defines.
15450 Use early exit labels that avoid restoring unused non-volatile regs.
15451 Make cr field use more consistent with rWORDn compares. Rename
15452 regs used as shift registers for unaligned loop, using rN defines
15453 for short lifetime/multiple use regs.
15454 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15455 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15456 addi 1,1,64 to pop stack frame. Simplify return value code.
15457 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15459 2013-10-04 Alan Modra <amodra@gmail.com>
15461 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15462 support. Correct typos, formatting. Optimize tail. Use insrdi
15463 rather than rlwimi.
15464 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15465 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15466 little-endian support. Correct typos.
15467 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15468 rather than rlwimi.
15469 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15470 in loop and entry code to keep "and." results.
15471 (strchr): Add little-endian support. Comment. Move cntlzd
15473 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15475 2013-10-04 Alan Modra <amodra@gmail.com>
15477 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15478 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15479 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15480 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15482 2013-10-04 Alan Modra <amodra@gmail.com>
15484 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15485 (rTMP): Define as r11.
15486 (strcmp): Add little-endian support. Optimise tail.
15487 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15488 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15489 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15490 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15491 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15492 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15493 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15495 2013-10-04 Alan Modra <amodra@gmail.com>
15497 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15498 little-endian support. Remove unnecessary "are we done" tests.
15499 Handle "s" wrapping around zero and extremely large "size".
15500 Correct main loop count. Handle single left-over word from main
15501 loop inline rather than by using small_loop. Correct comments.
15502 Delete "zero" tail, use "end_max" instead.
15503 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15505 2013-10-04 Alan Modra <amodra@gmail.com>
15507 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15508 support. Don't branch over align.
15509 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15510 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15511 support. Rearrange tmp reg use to suit. Comment.
15512 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15514 2013-10-04 Alan Modra <amodra@gmail.com>
15516 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15518 2013-10-04 Alan Modra <amodra@gmail.com>
15520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15521 conditional form of branch and link when obtaining pc.
15522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15524 2013-10-04 Alan Modra <amodra@gmail.com>
15526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15531 2013-10-04 Alan Modra <amodra@gmail.com>
15533 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15534 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15535 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15536 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15537 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15538 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15539 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15540 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15541 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15542 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15544 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15545 Alistair Popple <alistair@ozlabs.au.ibm.com>
15546 Alan Modra <amodra@gmail.com>
15549 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15550 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15551 _dl_hwcap access for little-endian.
15552 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15553 destroy vmx regs when saving unaligned.
15554 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15555 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15556 destroy vmx regs when saving unaligned.
15558 2013-10-04 Alan Modra <amodra@gmail.com>
15560 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15561 Don't use a union to pack hi/low value.
15563 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15565 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15567 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15568 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15569 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15570 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15571 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15573 2013-10-04 Alan Modra <amodra@gmail.com>
15575 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15576 constants to usual value for .cst8 section, and remove redundant
15578 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15579 constant for 0x1p52. Load little-endian words of double from
15580 correct stack offsets.
15582 2013-10-04 Alan Modra <amodra@gmail.com>
15584 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15585 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15586 words of double from correct stack offsets.
15587 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15588 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15589 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15590 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15591 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15592 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15593 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15594 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15595 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15596 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15597 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15598 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15599 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15600 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15601 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15602 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15603 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15605 2013-10-04 Alan Modra <amodra@gmail.com>
15607 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15608 64-bit int/double union.
15609 (_FPU_SETCW): Likewise.
15610 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15611 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15613 2013-10-04 Alan Modra <amodra@gmail.com>
15615 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15616 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15618 2013-10-04 Alan Modra <amodra@gmail.com>
15620 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15621 use vector int constants.
15622 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15624 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15626 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15627 array with long long.
15628 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15629 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15630 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15631 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15632 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15633 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15634 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15635 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15636 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15637 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15638 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15639 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15640 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15642 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15644 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15645 (__signbit): Likewise. Correct for little-endian.
15646 (__signbitl): Call __signbit.
15647 (lrint): Correct for little-endian.
15648 (lrintf): Call lrint.
15650 2013-10-04 Alan Modra <amodra@gmail.com>
15652 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15653 union 32-bit int array member with 64-bit int array.
15654 (t515, tm256): Double rather than long double.
15655 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15657 2013-10-04 Alan Modra <amodra@gmail.com>
15659 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15661 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15662 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15663 version of math_ldbl.h.
15665 2013-10-04 Alan Modra <amodra@gmail.com>
15667 [BZ #15734], [BZ #15735]
15668 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15669 all uses of ieee875 long double macros and unions. Simplify test
15670 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15671 ldbl_extract_mantissa value for ix,iy exponents. Properly
15672 normalize after ldbl_extract_mantissa, and don't add hidden bit
15673 already handled. Don't treat low word of ieee854 mantissa like
15674 low word of IBM long double and mask off bit when testing for
15676 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15677 all uses of ieee875 long double macros and unions. Simplify tests
15678 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15679 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15680 two1022, instead use their values. Recognise that tests for large
15681 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15682 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15683 Rewrite all uses of ieee875 long double macros and unions. Simplify
15684 test for 0.0L and nan. Correct negation.
15685 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15686 ieee875 long double macros and unions. Correct output for large
15687 magnitude x. Correct absolute value calculation.
15688 (__erfcl): Likewise.
15689 * math/libm-test.inc: Add tests for errors discovered in IBM long
15690 double versions of fmodl, remainderl, erfl and erfcl.
15692 2013-10-04 Alan Modra <amodra@gmail.com>
15694 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15695 all uses of ieee854 long double macros and unions. Simplify tests
15696 for long doubles that are fully specified by the high double.
15697 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15699 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15700 Remove dead code too.
15701 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15702 (__ieee754_ynl): Likewise.
15703 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15704 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15705 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15706 Remove dead code too.
15707 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15708 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15709 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15710 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15712 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15714 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15715 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15716 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15717 Comment on variable precision.
15718 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15719 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15721 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15722 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15723 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15724 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15725 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15727 2013-10-04 Alan Modra <amodra@gmail.com>
15729 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15730 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15731 all uses of ieee854 long double macros and unions.
15732 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15733 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15734 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15735 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15736 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15737 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15739 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15740 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15741 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15742 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15743 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15744 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15745 Simplify sign and nan test too.
15746 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15747 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15748 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15749 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15751 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15752 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15754 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15755 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15756 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15757 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15758 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15759 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15761 2013-10-04 Alan Modra <amodra@gmail.com>
15763 * stdio-common/printf_size.c (__printf_size): Don't use
15764 union ieee854_long_double in fpnum union.
15765 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15766 signbit macro to retrieve sign from long double.
15767 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15768 retrieve sign from long double.
15769 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15770 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15771 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15772 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15773 * math/test-misc.c (main): Don't use union ieee854_long_double.
15775 2013-10-04 Alan Modra <amodra@gmail.com>
15778 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15779 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15780 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15781 calculation. Remove unnecessary test for denormal exponent.
15782 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15783 Correct handling of denormals. Avoid undefined shift behaviour.
15784 Correct normalisation of low mantissa when low double is denormal.
15785 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15786 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15787 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15788 Correct normalisation of low mantissa. Test for overflow of high
15789 mantissa and normalise.
15790 (ldbl_nearbyint): Use more readable constant for two52.
15791 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15792 (__mpn_construct_long_double): Fix test for overflow of high
15793 mantissa and correct normalisation. Avoid undefined shift.
15795 2013-10-04 Alan Modra <amodra@gmail.com>
15797 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15798 (union ibm_extended_long_double): Define as an array of ieee754_double.
15799 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15800 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15801 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15802 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15803 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15804 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15805 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15806 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15807 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15808 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15809 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15811 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15813 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15814 page size instead of calling getpagesize.
15816 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15817 (LOCFILE_ALIGN_MASK): Likewise.
15818 (LOCFILE_ALIGN_UP): Likewise.
15819 (LOCFILE_ALIGNED_P): Likewise.
15820 * locale/programs/ld-collate.c (collate_output): Use the new
15821 macros instead of __alignof__ (int32_t).
15822 * locale/weight.h (findidx): Likewise.
15824 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15827 * manual/string.texi: Fix strncat and wcsncat.
15829 2013-10-03 Brooks Moses <bmoses@google.com>
15832 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15833 * Makerules: ...here, and adjust associated comments.
15835 2013-10-02 Will Newton <will.newton@linaro.org>
15837 * malloc/Makefile: Add tst-pvalloc.
15838 * malloc/tst-pvalloc.c: New file.
15840 2013-10-02 Will Newton <will.newton@linaro.org>
15842 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15843 improve test coverage.
15845 2013-10-02 Will Newton <will.newton@linaro.org>
15847 * malloc/Makefile: Add tst-posix_memalign.
15848 * malloc/tst-posix_memalign.c: New file.
15850 2013-10-01 Eric Blake <eblake@redhat.com>
15852 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15853 Use __THROWNL rather than __THROW on static functions.
15855 2013-09-30 Petr Machata <pmachata@redhat.com>
15857 * elf/elf.h (R_AARCH64_ABS16): New macro.
15858 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15859 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15860 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15861 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15862 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15863 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15864 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15865 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15866 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15867 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15868 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15869 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15870 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15871 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15872 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15873 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15874 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15875 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15876 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15877 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15878 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15879 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15880 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15881 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15882 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15883 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15884 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15885 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15886 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15887 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15888 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15889 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15890 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15891 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15892 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15893 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15894 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15895 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15896 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15897 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15898 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15899 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15900 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15901 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15902 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15903 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15904 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15905 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15906 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15907 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15908 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15909 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15910 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15911 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15912 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15913 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15914 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15915 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15916 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15917 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15918 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15919 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15920 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15921 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15922 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15923 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15924 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15925 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15926 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15927 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15928 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15929 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15930 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15931 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15932 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15933 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15934 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15935 (R_AARCH64_TLSDESC_LDR): Likewise.
15936 (R_AARCH64_TLSDESC_ADD): Likewise.
15937 (R_AARCH64_TLSDESC_CALL): Likewise.
15939 2013-09-30 Andreas Schwab <schwab@suse.de>
15942 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15943 the nss database lookup.
15944 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15947 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15949 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15951 2013-09-28 P. J. McDermott <pj@pehjota.net>
15953 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15954 ${Bash-specific parameter/pattern/string} parameter expansion.
15955 * sysdeps/unix/make-syscalls.sh: Likewise.
15957 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15959 * sysdeps/sh/stackguard-macros.h: New file.
15961 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15963 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15964 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15965 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15966 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15967 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15968 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15970 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15972 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15973 Fix thread ID register.
15975 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15977 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15978 [POSIX || UNIX98]: Require rather than permitting all symbols from
15980 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15981 element of struct sched_param.
15982 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15983 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15984 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15985 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15988 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15990 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15991 argument calculation.
15993 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15995 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15997 [POSIX] (pthread_attr_t): Do not require type.
15998 [POSIX] (pthread_cond_t): Likewise.
15999 [POSIX] (pthread_condattr_t): Likewise.
16000 [POSIX] (pthread_key_t): Likewise.
16001 [POSIX] (pthread_mutex_t): Likewise.
16002 [POSIX] (pthread_mutexattr_t): Likewise.
16003 [POSIX] (pthread_once_t): Likewise.
16004 [POSIX] (pthread_t): Likewise.
16005 [POSIX-based standards] (pthread_atfork): Expect function.
16007 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16008 Richard Sandiford <richard@codesourcery.com>
16010 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16011 (swap_endianness_p): New extern variable.
16012 (set_big_endian): New inline function.
16013 (maybe_swap_uint32): Likewise.
16014 (maybe_swap_uint32_array): Likewise.
16015 (maybe_swap_uint32_obstack): Likewise.
16016 * locale/programs/locfile.c: Include <stdbool.h>.
16017 (swap_endianness_p): New variable.
16018 (add_locale_uint32): Call maybe_swap_uint32.
16019 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16020 (write_locale_data): Call maybe_swap_uint32_array.
16021 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16023 (obstack_int32_grow_fast): Likewise.
16024 (output_weightwc): Call maybe_swap_uint32_obstack.
16025 (collate_output): Likewise.
16026 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16027 (OPT_LITTLE_ENDIAN): Likewise.
16028 (options): Add --little-endian and --big-endian options.
16029 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16030 * locale/programs/locarchive.c: Include "locfile.h".
16034 (create_archive): Use the new macros to access fields of
16035 structures directly mapped from or written to locale archives.
16036 (oldlocrecentcmp): Likewise.
16037 (enlarge_archive): Likewise.
16038 (insert_name): Likewise.
16039 (add_alias): Likewise.
16040 (add_locale): Likewise.
16041 (delete_locales_from_archive): Likewise.
16042 (show_archive_content): Likewise.
16043 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16046 2013-09-24 Roland McGrath <roland@hack.frob.com>
16048 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16049 http://www.gnu.org/doc/freemanuals.texi.
16050 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16052 2013-09-24 Will Newton <will.newton@linaro.org>
16054 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16057 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16059 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16062 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16064 * manual/threads.texi (POSIX Threads): Fix a typo.
16066 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16069 * string/tst-strcoll-overflow.c: New test case.
16070 * string/Makefile (xtests): Add tst-strcoll-overflow.
16071 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16072 cache if string sizes may cause integer overflow.
16075 * string/strcoll_l.c (coll_seq): New members rule, idx,
16076 save_idx and back_us.
16077 (get_next_seq_nocache): New function.
16078 (do_compare_nocache): New function.
16079 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16082 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16085 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16086 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16087 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16090 * elf/Makefile (tests): Add tst-ptrguard1.
16091 (tests-static): Add tst-ptrguard1-static.
16092 (tst-ptrguard1-ARGS): Define.
16093 (tst-ptrguard1-static-ARGS): Define.
16094 * elf/tst-ptrguard1.c: New file.
16095 * elf/tst-ptrguard1-static.c: New file.
16096 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16097 * sysdeps/i386/stackguard-macros.h: Likewise.
16098 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16099 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16100 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16101 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16102 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16103 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16105 2013-09-23 Hector Marco <hecmargi@upv.es>
16106 Ismael Ripoll <iripoll@disca.upv.es>
16107 Carlos O'Donell <carlos@redhat.com>
16110 * sysdeps/generic/stackguard-macros.h: Define
16111 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16112 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16113 Define __pointer_chk_guard_local.
16114 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16115 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16117 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16120 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16122 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16124 * include/string.h (__ffs): Declare as hidden.
16125 * string/ffs.c (__ffs): Define as hidden.
16126 * sysdeps/i386/ffs.c (__ffs): Likewise.
16127 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16128 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16129 * sysdeps/s390/ffs.c (__ffs): Likewise.
16130 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16132 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16134 * NEWS: Mention malloc probes.
16136 * malloc/arena.c (new_heap): New memory_heap_new probe.
16137 (grow_heap): New memory_heap_more probe.
16138 (shrink_heap): New memory_heap_less probe.
16139 (heap_trim): New memory_heap_free probe.
16140 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16141 (systrim): New memory_sbrk_less probe.
16142 * manual/probes.texi: Document them.
16144 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16145 * manual/probes.texi: Document it.
16147 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16148 (__libc_realloc): Add memory_realloc_retry probe.
16149 (__libc_memalign): Add memory_memalign_retry probe.
16150 (__libc_valloc): Add memory_valloc_retry probe.
16151 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16152 (__libc_calloc): Add memory_calloc_retry probe.
16153 * manual/probes.texi: Document them.
16155 * malloc/arena.c (get_free_list): Add probe
16156 memory_arena_reuse_free_list.
16157 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16158 and memory_arena_reuse.
16159 (arena_get2) [!PER_THREAD]: Likewise.
16160 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16161 memory_arena_reuse_realloc.
16162 * manual/probes.texi: Document them.
16164 * malloc/malloc.c (__libc_free): Add
16165 memory_mallopt_free_dyn_thresholds probe.
16166 (__libc_mallopt): Add multiple memory_mallopt probes.
16167 * manual/probes.texi: Document them.
16169 * malloc/malloc.c: Include stap-probe.h.
16170 (__libc_mallopt): Add memory_mallopt probe.
16171 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16172 * manual/probes.texi: New.
16173 * manual/Makefile (chapters): Add probes.
16174 * manual/threads.texi: Set next node.
16176 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16178 [BZ #15963, #13985]
16179 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16180 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16181 Add `Chinese' to `nan' entry name.
16183 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16185 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16186 (POLYNOMIAL): Likewise.
16187 (TAYLOR_SINCOS): Likewise.
16188 (TAYLOR_SLOW): Likewise.
16189 (__sin): Use TAYLOR_SINCOS.
16191 (slow): Use TAYLOR_SLOW.
16193 (bsloww): Likewise.
16194 (csloww): Likewise.
16196 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16198 * stdlib/strtod_l.c: Fix buffer overrun.
16200 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16202 * benchtests/Makefile (bench): Add sincos.
16203 * benchtests/bench-sincos.c: New file.
16205 * math/libm-test.inc (cos_test_data): New test inputs.
16206 (sin_test_data): Likewise.
16208 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16214 (sloww1): Likewise.
16215 (sloww2): Likewise.
16216 (bsloww1): Likewise.
16217 (bsloww2): Likewise.
16218 (cslow2): Likewise.
16219 (csloww1): Likewise.
16220 (csloww2): Likewise.
16222 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16227 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16231 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16233 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16234 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16235 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16236 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16237 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16238 * elf/cache.c (print_entry): Handle the new cache flags.
16240 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16241 Aldy Hernandez <aldyh@redhat.com>
16243 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16244 Change condition to [_SOFT_FLOAT].
16245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16246 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16248 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16249 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16250 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16254 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16257 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16258 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16260 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16263 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16265 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16266 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16267 (__longjmp): Use LOAD_GP to load saved GPRs.
16268 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16269 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16270 (__sigsetjmp): Use SAVE_GP to save GPRs.
16272 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16273 Do not append -msoft-float.
16274 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16276 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16278 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16280 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16283 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16284 (_FPU_GETCW): Use initial "__" on variable and field names but not
16285 on macro parameter name.
16286 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16287 parentheses around reference to macro parameter.
16289 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16291 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16293 (ctype_startup): Use uint32_t in cast and sizeof for
16296 2013-09-11 Jia Liu <proljc@gmail.com>
16298 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16300 [__FreeBSD__]: Likewise.
16302 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16304 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16305 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16306 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16307 (strchr): Remove __strchr_sse42 ifunc selection.
16308 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16309 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16311 2013-09-11 Will Newton <will.newton@linaro.org>
16313 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16314 parameter to RES. Remove hardcoded 1000 value.
16315 * benchtests/bench-skeleton.c (main): Pass RES parameter
16316 to TIMING_INIT and multiply result by 1000.
16318 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16322 2013-09-11 Andreas Schwab <schwab@suse.de>
16324 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16326 (O_TMPFILE) [__USE_GNU]: Define.
16327 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16330 2013-09-11 Will Newton <will.newton@linaro.org>
16333 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16336 2013-09-11 Will Newton <will.newton@linaro.org>
16339 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16342 2013-09-11 Will Newton <will.newton@linaro.org>
16345 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16348 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16350 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16351 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16352 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16353 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16354 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16356 2013-09-10 Allan McRae <allan@archlinux.org>
16359 * manual/arith.texi (Parsing of Floats): Clarify
16363 * manual/install.texi (Running make install): Mention
16365 * INSTALL: Regenerated.
16367 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16369 * csu/init-first.c (_init): Remove the !SHARED condition around
16370 FPU control word initialization.
16371 * elf/dl-support.c (_dl_fpu_control): New variable.
16372 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16373 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16374 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16375 * math/test-fpucw-static.c: New file.
16376 * math/test-fpucw-ieee.c: New file.
16377 * math/test-fpucw-ieee-static.c: New file.
16378 * math/Makefile (tests): Add `test-fpucw-ieee' and
16380 (tests-static): New variable.
16381 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16383 [($(build-shared),yes)]
16384 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16386 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16389 2013-09-09 Allan McRae <allan@archlinux.org>
16392 * manual/string.texi (Collation Functions): Fix typo in
16394 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16397 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16400 * libio/memstream.c (open_memstream): Fix memory leak.
16401 * libio/wmemstream.c (open_wmemstream): Likewise.
16404 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16406 2013-09-09 Will Newton <will.newton@linaro.org>
16408 * malloc/Makefile: Add tst-realloc to tests.
16409 * malloc/tst-realloc.c: New file.
16411 2013-09-09 Allan McRae <allan@archlinux.org>
16414 * COPYING: Update from GNU website to fix FSF address.
16415 * COPYING.LIB: Likewise.
16417 2013-09-06 David S. Miller <davem@davemloft.net>
16419 * po/zh_TW.po: Update Chinese (traditional) translation from
16420 translation project.
16422 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16423 Joseph Myers <joseph@codesourcery.com>
16425 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16427 (obstack_chunk_alloc): New macro.
16428 (obstack_chunk_free): Likewise.
16429 (record_offset): New function.
16430 (init_locale_data): Likewise.
16431 (align_locale_data): Likewise.
16432 (add_locale_empty): Likewise.
16433 (add_locale_raw_data): Likewise.
16434 (add_locale_raw_obstack): Likewise.
16435 (add_locale_string): Likewise.
16436 (add_locale_wstring): Likewise.
16437 (add_locale_uint32): Likewise.
16438 (add_locale_uint32_array): Likewise.
16439 (add_locale_char): Likewise.
16440 (start_locale_structure): Likewise.
16441 (end_locale_structure): Likewise.
16442 (start_locale_prelude): Likewise.
16443 (end_locale_prelude): Likewise.
16444 (write_locale_data): Take locale_file structure rather than an
16446 * locale/programs/locfile.h: Include "obstack.h".
16447 (struct locale_file): Change to store locale file contents instead
16449 (init_locale_data): New prototype.
16450 (align_locale_data): Likewise.
16451 (add_locale_empty): Likewise.
16452 (add_locale_raw_data): Likewise.
16453 (add_locale_raw_obstack): Likewise.
16454 (add_locale_string): Likewise.
16455 (add_locale_wstring): Likewise.
16456 (add_locale_uint32): Likewise.
16457 (add_locale_uint32_array): Likewise.
16458 (add_locale_char): Likewise.
16459 (start_locale_structure): Likewise.
16460 (end_locale_structure): Likewise.
16461 (start_locale_prelude): Likewise.
16462 (end_locale_prelude): Likewise.
16463 (write_locale_data): Update prototype.
16464 * locale/programs/3level.h (struct TABLE): Remove result field.
16465 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16466 Use new locale_file interface.
16467 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16468 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16469 * locale/programs/ld-address.c (address_output): Use new
16470 locale_file interface.
16471 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16473 (collate_finish): Don't call collseq_table_finalize.
16474 (collate_output): Use new locale_file interface.
16475 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16477 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16478 (TABLE): Move defines earlier in file.
16479 (ELEMENT): Likewise.
16480 (DEFAULT): Likewise.
16481 (wctrans_table_add): Move macro and inline function earlier in
16483 (struct wctype_table): Move type earlier in file.
16484 (add_locale_wctype_table): New static prototype.
16485 (struct locale_ctype_t): Use logical types instead of struct iovec
16486 pointers for members.
16487 (ctype_output): Use new locale_file interface.
16488 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16489 new locale_file interface.
16490 (allocate_arrays): Update for use of new locale_file interface.
16491 * locale/programs/ld-identification.c (identification_output): Use
16492 new locale_file interface.
16493 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16494 * locale/programs/ld-messages.c (messages_output): Likewise.
16495 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16496 * locale/programs/ld-name.c (name_output): Likewise.
16497 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16498 * locale/programs/ld-paper.c (paper_output): Likewise.
16499 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16500 * locale/programs/ld-time.c (time_output): Likewise.
16502 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16504 * benchtests/Makefile: Add memrchr benchmark.
16505 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16506 benchmark as memrchr.
16507 * benchtests/bench-memrchr-ifunc.c: New file.
16508 * benchtests/bench-memrchr.c: New file.
16510 2013-09-06 Will Newton <will.newton@linaro.org>
16512 * benchtests/Makefile (string-bench): Add memcpy.
16514 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16515 Cong Wang <amwang@redhat.com>
16518 * sysdeps/unix/sysv/linux/bits/in.h
16519 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16520 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16521 before __USE_KERNEL_IPV6_DEFS uses.
16522 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16524 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16525 sockaddr_in6, or ipv6_mreq.
16527 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16529 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16530 memory access for final bytes in some large inputs.
16531 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16533 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16535 * string/test-memrchr.c: New file.
16536 * string/test-memrchr-ifunc.c: New file.
16537 * string/Makefile: Add new memrchr testcase.
16539 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16541 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16542 fanotify_init returns EPERM.
16544 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16546 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16548 (top level): Treat second token from macro or constant entries for
16549 allowed headers as allowed.
16550 * include/complex.h: Condition internal declarations on
16552 * include/fenv.h: Condition include of <stdbool.h> and internal
16553 declarations on [!_ISOMAC].
16555 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16558 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16560 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16562 * configure.in (--enable-versioning): Remove configure option.
16563 (libc_cv_asm_symver_directive): Remove configure test.
16564 (libc_cv_ld_version_script_option): Likewise.
16565 (VERSIONING): Remove variable and AC_SUBST.
16566 (DO_VERSIONING): Remove AC_DEFINE.
16567 * configure: Regenerated.
16568 * config.h.in (DO_VERSIONING): Remove macro.
16569 * Makerules [$(versioning) = yes]: Change conditionals to
16570 [$(build-shared) = yes].
16571 * config.make.in (versioning): Remove variable.
16572 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16573 [$(build-shared) = yes].
16574 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16575 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16576 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16577 [$(build-shared) = yes].
16578 * extra-lib.mk [$(versioning) = yes]: Likewise.
16579 * hurd/Makefile [$(versioning) = yes]: Likewise.
16580 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16582 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16584 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16585 [SHARED && !NO_HIDDEN].
16586 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16588 [SHARED && DO_VERSIONING]: Likewise..
16589 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16590 [$(build-shared) = yes].
16591 * manual/install.texi (--disable-versioning): Remove
16593 * INSTALL: Regenerated.
16594 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16596 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16597 [$(build-shared) = yes].
16598 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16599 * sysdeps/i386/i686/multiarch/strstr-c.c
16600 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16601 [SHARED && !NO_HIDDEN].
16602 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16603 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16604 * sysdeps/powerpc/powerpc32/dl-machine.c
16605 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16606 * sysdeps/powerpc/powerpc32/sysdep.h
16607 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16608 to [SHARED && PIC && !NO_HIDDEN].
16609 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16610 conditional to [SHARED].
16612 2013-09-04 Will Newton <will.newton@linaro.org>
16614 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16615 * benchtests/bench-string.h: Include bench-timing.h instead
16616 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16617 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16618 call to HP_TIMING_DIFF_INIT.
16619 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16620 instead of hp-timing.h macros.
16621 * benchtests/bench-memchr.c: Likewise.
16622 * benchtests/bench-memcmp.c: Likewise.
16623 * benchtests/bench-memcpy.c: Likewise.
16624 * benchtests/bench-memmem.c: Likewise.
16625 * benchtests/bench-memmove.c: Likewise.
16626 * benchtests/bench-memset.c: Likewise.
16627 * benchtests/bench-rawmemchr.c: Likewise.
16628 * benchtests/bench-strcasecmp.c: Likewise.
16629 * benchtests/bench-strcasestr.c: Likewise.
16630 * benchtests/bench-strcat.c: Likewise.
16631 * benchtests/bench-strchr.c: Likewise.
16632 * benchtests/bench-strcmp.c: Likewise.
16633 * benchtests/bench-strcpy.c: Likewise.
16634 * benchtests/bench-strcpy_chk.c: Likewise.
16635 * benchtests/bench-strlen.c: Likewise.
16636 * benchtests/bench-strncasecmp.c: Likewise.
16637 * benchtests/bench-strncat.c: Likewise.
16638 * benchtests/bench-strncmp.c: Likewise.
16639 * benchtests/bench-strncpy.c: Likewise.
16640 * benchtests/bench-strnlen.c: Likewise.
16641 * benchtests/bench-strpbrk.c: Likewise.
16642 * benchtests/bench-strrchr.c: Likewise.
16643 * benchtests/bench-strspn.c: Likewise.
16644 * benchtests/bench-strstr.c: Likewise.
16646 2013-09-04 Will Newton <will.newton@linaro.org>
16648 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16650 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16653 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16654 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16655 * math/libm-test.inc (lgamma_test_data): Add more tests.
16656 * sysdeps/i386/fpu/libm-test-ulps: Update.
16657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16659 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16661 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16662 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16664 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16665 Add strcmp-sse2-unaligned
16666 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16668 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16670 * Versions.def (libc): Add GLIBC_2.19.
16672 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16674 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16675 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16677 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16680 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16681 intermediate calculations in recurrence.
16682 (__ieee754_ynf): Likewise.
16683 * math/libm-test.inc (jn_test_data): Do not allow spurious
16684 underflow exception. Add more tests.
16685 (yn_test_data): Add more tests.
16686 * sysdeps/i386/fpu/libm-test-ulps: Update.
16687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16689 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16691 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16693 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16695 * csu/init-first.c: Fix then/than typos.
16696 * locale/programs/ld-collate.c: Likewise.
16697 * locale/programs/linereader.h: Likewise.
16698 * manual/charset.texi: Likewise.
16699 * manual/filesys.texi: Likewise.
16700 * manual/stdio.texi: Likewise.
16701 * manual/string.texi: Likewise.
16702 * stdlib/fmtmsg.c: Likewise.
16703 * sysdeps/i386/stpncpy.S: Likewise.
16704 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16705 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16706 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16707 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16709 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16711 * elf/dl-open.c: Fix typos.
16712 * iconvdata/gbbig5.c: Likewise.
16713 * iconvdata/iso-2022-jp.c: Likewise.
16714 * iconv/gconv_int.h: Likewise.
16715 * iconv/loop.c: Likewise.
16716 * nis/rpcsvc/nis.h: Likewise.
16717 * resolv/ns_name.c: Likewise.
16718 * stdio-common/vfscanf.c: Likewise.
16719 * streams/stropts.h: Likewise.
16720 * sunrpc/rpc_thread.c: Likewise.
16721 * sysdeps/i386/strpbrk.S: Likewise.
16722 * sysdeps/ieee754/k_standard.c: Likewise.
16723 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16724 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16725 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16726 * sysdeps/mach/hurd/profil.c: Likewise.
16727 * sysdeps/s390/dl-procinfo.h: Likewise.
16728 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16729 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16730 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16731 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16732 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16734 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16736 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16737 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16739 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16741 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16742 aix specific files.
16743 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16744 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16745 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16746 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16747 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16748 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16749 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16750 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16752 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16753 Roland McGrath <roland@hack.frob.com>
16755 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16756 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16758 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16760 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16761 __executable_start symbol instead of _start.
16763 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16765 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16766 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16768 * sysdeps/gnu/ldsodefs.h: ... this new file.
16770 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16771 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16772 instead of ELFOSABI_LINUX.
16774 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16775 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16776 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16777 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16779 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16780 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16781 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16783 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16784 (ibm_extended_long_double): Add ieee_nan member.
16785 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16786 (do_test): New function.
16788 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16790 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16791 functions, renamed from truncdfsf_test, trunctfsf_test,
16793 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16795 (do_test): Run all these.
16797 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16799 * argp/argp-help.c: Fix typos.
16800 * argp/argp-parse.c: Likewise.
16801 * debug/backtracesyms.c: Likewise.
16802 * elf/elf.h: Likewise.
16803 * malloc/malloc.c: Likewise.
16804 * nis/nis_print.c: Likewise.
16805 * resolv/res_comp.c: Likewise.
16806 * stdlib/stdlib.h: Likewise.
16807 * sunrpc/clnt_tcp.c: Likewise.
16808 * sunrpc/clnt_udp.c: Likewise.
16809 * sunrpc/clnt_unix.c: Likewise.
16810 * sysdeps/unix/bsd/ptsname.c: Likewise.
16811 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16812 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16819 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16821 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16823 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16826 2013-08-27 Mike Frysinger <vapier@gentoo.org>
16829 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16830 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16831 ($(objpfx)bug-dl-leaf): New rule.
16832 ($(objpfx)bug-dl-leaf.so): Likewise.
16833 ($(objpfx)bug-dl-leaf.out): Likewise.
16834 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16835 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16836 * dlfcn/bug-dl-leaf.c: New test.
16837 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16838 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16839 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16840 (dlclose): Likewise.
16841 (dlmopen): Likewise.
16843 2013-08-27 Roland McGrath <roland@hack.frob.com>
16845 * include/netdb.h [!_ISOMAC]:
16846 Don't include <tls.h>.
16847 (h_errno, __libc_h_errno): Move declaration and macros out of
16850 * include/resolv.h [_RESOLV_H_]:
16851 Don't include <tls.h>.
16852 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16853 * resolv/res_libc.c: Don't include <tls.h>.
16854 (_res): Use __attribute__ ((nocommon)) in place of
16855 __attribute__ ((section (".bss"))).
16857 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16858 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16860 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16862 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16863 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16865 * resolv/res_mkquery.c: Include <sys/time.h>.
16867 * inet/ifreq.c: Moved to ...
16868 * sysdeps/unix/ifreq.c: ... here.
16869 * inet/ifreq.c: New file, true stub version.
16871 * socket/sa_len.c: New file.
16872 * socket/Makefile (aux): Add it.
16873 * sysdeps/unix/sysv/linux/Makefile
16874 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16875 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16876 and #include <socket/sa_len.c>.
16877 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16878 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16880 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16881 * bits/socket.h: ... here.
16883 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16884 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16885 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16887 2013-08-27 Andreas Schwab <schwab@suse.de>
16890 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16891 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16892 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16893 * string/test-strcasecmp.c (test_main): Run tests in several
16895 * string/test-strncasecmp.c (test_main): Likewise.
16897 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16898 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16899 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16900 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16901 (__strncasecmp_ssse3) [PIC]: Likewise.
16903 2013-08-26 Roland McGrath <roland@hack.frob.com>
16905 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16907 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16908 instead of explicitly declaring xdecrypt.
16909 * nis/nss_nis/nis-publickey.c: Likewise.
16911 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16914 * nscd/aicache.c: Include res_hconf.h.
16915 (addhstaiX): Initialize res_hconf.
16917 2013-08-26 Andreas Schwab <schwab@suse.de>
16919 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16920 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16922 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16924 * nscd/aicache.c (addhstaiX): Fix indentation.
16926 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16928 * configure.ac: Quote $build_pt_chown test.
16929 * configure: Regenerated.
16931 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16934 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16935 * math/s_cexpf.c (__cexpf): Likewise.
16936 * math/s_cexpl.c (__cexpl): Likewise.
16937 * math/libm-test.inc (cexp_test_data): Correct expected return
16938 value for NaN + i0. Add another test.
16940 2013-08-22 David S. Miller <davem@davemloft.net>
16942 * po/ca.po: Update Catalan translation from translation project.
16943 * po/uk.po: Add Ukrainian translations from translation project.
16945 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16948 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16949 is infinite, not alongside NaN test.
16950 * math/s_fdimf.c (__fdimf): Likewise.
16951 * math/s_fdiml.c (__fdiml): Likewise.
16952 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16953 errno is unchanged.
16955 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16957 * argp/argp-help.c: Fix typos.
16958 * crypt/speeds.c: Likewise.
16959 * csu/check_fds.c: Likewise.
16960 * elf/dl-load.c: Likewise.
16961 * elf/dl-open.c: Likewise.
16962 * elf/reldep3.c: Likewise.
16963 * elf/reldep.c: Likewise.
16964 * elf/sprof.c: Likewise.
16965 * iconv/iconv_charmap.c: Likewise.
16966 * iconv/skeleton.c: Likewise.
16967 * iconv/strtab.c: Likewise.
16968 * io/lockf64.c: Likewise.
16969 * libio/libioP.h: Likewise.
16970 * resolv/gai_notify.c: Likewise.
16971 * resolv/ns_name.c: Likewise.
16972 * resolv/ns_samedomain.c: Likewise.
16973 * resolv/res_send.c: Likewise.
16974 * stdlib/random.c: Likewise.
16975 * sunrpc/rpc/xdr.h: Likewise.
16976 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16977 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16978 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16979 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16980 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16981 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16982 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16983 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16984 * sysdeps/mach/hurd/check_fds.c: Likewise.
16985 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16986 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16987 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16988 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16989 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16990 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16991 * sysdeps/pthread/aio_notify.c: Likewise.
16992 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16993 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16994 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16995 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16996 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16998 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17000 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17001 version if bit_Slow_SSE4_2 is set.
17002 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17003 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17005 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17008 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17009 trampoline stack frame information.
17010 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17011 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17012 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17013 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17014 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17015 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17016 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17017 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17019 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17020 interrupting a syscall and set with option SA_SIGINFO.
17022 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17025 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17026 argument is infinite.
17027 * math/s_cprojf.c (__cprojf): Likewise.
17028 * math/s_cprojl.c (__cprojl): Likewise.
17029 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17030 * math/libm-test.inc (cproj_test_data): Add more tests.
17032 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17034 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17035 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17036 size. Use __ffs to determine corresponding shift.
17038 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17039 Roland McGrath <roland@hack.frob.com>
17041 * Makefile (INSTALL): Remove trailing blank lines from output of
17044 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17046 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17047 Align 32 bit compat elf_greg to 8 bytes.
17049 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17051 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17053 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17055 * string/strcoll_l.c (coll_seq): New structure.
17056 (get_next_seq_cached): New function.
17057 (get_next_seq): New function.
17058 (do_compare): New function.
17059 (STRCOLL): Use GNU style definition. Simplify implementation
17060 by using get_next_seq, get_next_seq_cached and do_compare.
17062 2013-08-16 Florian Weimer <fweimer@redhat.com>
17066 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17068 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17070 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17071 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17072 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17074 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17075 GETDENTS_64BIT_ALIGNED.
17076 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17077 * manual/filesys.texi (Reading/Closing Directory): Document
17078 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17080 * manual/conf.texi (Limits for Files): Add portability note to
17081 NAME_MAX, PATH_MAX.
17082 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17084 2013-08-13 Andreas Schwab <schwab@suse.de>
17087 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17089 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17090 LDBL_MAX_EXP >= 16384]: Add tests for it.
17092 2013-08-12 David S. Miller <davem@davemloft.net>
17094 * version.h (RELEASE): Set to "development".
17095 (VERSION): Set to "2.18.90".
17096 * NEWS: Add 2.19 section.
17098 2013-08-03 David S. Miller <davem@davemloft.net>
17100 * po/ko.po: Update Korean translation from translation project.
17102 2013-08-01 David S. Miller <davem@davemloft.net>
17104 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17105 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17108 2013-07-30 David S. Miller <davem@davemloft.net>
17110 * po/fr.po: Update French translation from translation project.
17112 2013-07-28 David S. Miller <davem@davemloft.net>
17114 * po/cs.po: Update Czech translation from translation project.
17116 * po/sv.po: Update Swedish translation from translation project.
17118 2013-07-27 David S. Miller <davem@davemloft.net>
17120 * po/eo.po: Update Esperanto translation from translation project.
17122 * po/vi.po: Update Vietnamese translation from translation project.
17124 * po/de.po: Update German translation from translation project.
17126 2013-07-26 David S. Miller <davem@davemloft.net>
17128 * po/bg.po: Update Bulgarian translation from translation project.
17130 * po/nl.po: Update Dutch translation from translation project.
17131 * po/pl.po: Update Polish translation from translation project.
17132 * po/ru.po: Update Russian translation from translation project.
17134 2013-07-24 David S. Miller <davem@davemloft.net>
17136 * po/libc.pot: Update.
17138 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17140 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17141 variable page size.
17142 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17143 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17144 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17146 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17148 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17150 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17151 Andreas Schwab <schwab@suse.de>
17152 Roland McGrath <roland@hack.frob.com>
17153 Joseph Myers <joseph@codesourcery.com>
17154 Carlos O'Donell <carlos@redhat.com>
17157 * config.h.in: Define HAVE_PT_CHOWN.
17158 * config.make.in (build-pt-chown): New variable.
17159 * configure.in (--enable-pt_chown): New configure option.
17160 * configure: Regenerate.
17161 * login/Makefile: Include Makeconfig. Build pt_chown only if
17162 build-pt-chown is enabled.
17163 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17164 pt_chown to fix pty ownership.
17165 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17167 * manual/install.texi (Configuring and compiling): Mention
17168 --enable-pt_chown. Add @findex for grantpt.
17169 * INSTALL: Regenerate.
17171 2013-07-20 David S. Miller <davem@davemloft.net>
17173 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17174 difference between 32-bit and 64-bit.
17176 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17179 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17180 Avoid system header dependency with -ffreestanding.
17181 ($(objpfx)bits/syscall%d): Likewise.
17183 2013-07-13 David S. Miller <davem@davemloft.net>
17185 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17186 underflows from atanl/atan2l due to bug 15319.
17187 (casinh_test_data): Likewise.
17189 2013-07-07 David S. Miller <davem@davemloft.net>
17191 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17193 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17195 * sysdeps/i386/fpu/libm-test-ulps: Update.
17196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17198 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17200 * configure.in (--enable-lock-elision): Fix message text.
17201 * INSTALL: Regenerate.
17202 * configure: Regenerate.
17204 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17208 2013-07-03 Andreas Jaeger <aj@suse.de>
17210 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17212 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17213 (ptrace_peeksiginfo_args): Add.
17214 (__ptrace_peeksiginfo_flags): Add.
17215 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17216 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17217 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17219 2013-07-03 Allan McRae <allan@archlinux.org>
17221 * sysdeps/i386/fpu/libm-test-ulps: Update.
17223 2013-07-02 David S. Miller <davem@davemloft.net>
17225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17227 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17231 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17233 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17236 2013-07-02 Andi Kleen <ak@linux.intel.com>
17238 * config.h.in (ENABLE_LOCK_ELISION): Add.
17239 * configure.in (--enable-lock-elision): Add option.
17240 * manual/install.texi: Document --enable lock elision.
17241 * configure: Regenerate
17242 * INSTALL: Regenerate.
17244 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17246 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17247 SSE4.2 strcasecmp for libc.a.
17248 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17250 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17253 * soft-fp/op-common.h (_FP_FMA): New macro.
17254 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17255 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17256 (_FP_MUL_MEAT_1_imm): ... here.
17257 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17258 (_FP_MUL_MEAT_1_wide): ... here.
17259 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17260 (_FP_MUL_MEAT_1_hard): ... here.
17261 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17262 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17263 (_FP_MUL_MEAT_2_wide): ... here.
17264 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17265 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17266 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17267 (_FP_MUL_MEAT_2_gmp): ... here.
17268 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17269 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17270 (_FP_MUL_MEAT_4_wide): ... here.
17271 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17272 (_FP_MUL_MEAT_4_gmp): ... here.
17273 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17274 (_FP_WFRACBITS_DW_S): Likewise.
17275 (_FP_WFRACXBITS_DW_S): Likewise.
17276 (_FP_HIGHBIT_DW_S): Likewise.
17277 (FP_FMA_S): Likewise.
17278 (_FP_FRAC_HIGH_DW_S): Likewise.
17279 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17280 (_FP_WFRACBITS_DW_D): Likewise.
17281 (_FP_WFRACXBITS_DW_D): Likewise.
17282 (_FP_HIGHBIT_DW_D): Likewise.
17283 (FP_FMA_D): Likewise.
17284 (_FP_FRAC_HIGH_DW_D): Likewise.
17285 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17286 (_FP_WFRACBITS_DW_E): Likewise.
17287 (_FP_WFRACXBITS_DW_E): Likewise.
17288 (_FP_HIGHBIT_DW_E): Likewise.
17289 (FP_FMA_E): Likewise.
17290 (_FP_FRAC_HIGH_DW_E): Likewise.
17291 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17292 (_FP_WFRACBITS_DW_Q): Likewise.
17293 (_FP_WFRACXBITS_DW_Q): Likewise.
17294 (_FP_HIGHBIT_DW_Q): Likewise.
17295 (FP_FMA_Q): Likewise.
17296 (_FP_FRAC_HIGH_DW_Q): Likewise.
17297 * soft-fp/fmasf4.c: New file.
17298 * soft-fp/fmadf4.c: Likewise.
17299 * soft-fp/fmatf4.c: Likewise.
17301 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17304 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17306 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17308 (index_Slow_SSE4_2): Likewise.
17309 (index_Prefer_PMINUB_for_stringop): Likewise.
17310 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17311 bit_Slow_SSE4_2 is set.
17312 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17313 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17315 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17317 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17318 rtld_global._dl_hwcap2.
17319 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17321 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17322 POWER8 feature descriptions defined in _dl_hwcap2.
17323 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17324 string handling for POWER8 feature bits.
17325 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17326 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17327 _dl_powerpc_cap_flags.
17328 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17329 * sysdeps/powerpc/rtld-global-offsets.sym
17330 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17331 _dl_hwcap2 in the rtld_global_ro structure.
17333 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17335 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17336 hardware capabilities in support of AT_HWCAP2.
17337 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17338 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17340 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17341 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17342 explicitly the unknown a_type display mechanism is used.
17343 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17344 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17346 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17347 to macro prototype for AT_HWCAP2 support.
17348 * sysdeps/i386/dl-procinfo.h: Likewise.
17349 * sysdeps/s390/dl-procinfo.h: Likewise.
17350 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17351 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17352 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17353 return -1 for unknown a_type display fallback.
17354 * sysdeps/sparc/dl-procinfo.h: Likewise.
17355 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17356 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17358 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17360 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17361 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17363 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17366 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17367 mprotect making __stack_prot writable.
17369 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17370 Joseph Myers <joseph@codesourcery.com>
17372 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17373 as being properly aligned.
17375 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17377 * dlfcn/modstatic5.c: New file.
17378 * dlfcn/tststatic5.c: New file.
17379 * dlfcn/Makefile (tests): Add tststatic5.
17380 (tests-static): Likewise.
17381 (modules-names): Add modstatic5.
17382 (tststatic5-ENV): New variable.
17383 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17386 * elf/dl-support.c (_dl_main_map): New variable.
17387 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17388 (_dl_nns, _dl_load_adds): Set to 1.
17389 (_dl_initial_searchlist): Refer to _dl_main_map.
17390 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17391 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17392 call to _dl_get_origin.
17393 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17395 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17396 * dlfcn/modstatic3.c: New file.
17397 * dlfcn/tststatic3.c: New file.
17398 * dlfcn/tststatic4.c: New file.
17399 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17400 (tests-static): Likewise.
17401 (modules-names): Add modstatic3.
17402 (tststatic3-ENV, tststatic4-ENV): New variables.
17403 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17404 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17406 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17408 * configure.in (CC): Require GCC version 4.4 or later.
17409 * configure: Regenerated.
17410 * manual/install.texi (Tools for Compilation): Update GCC version
17412 * INSTALL: Regenerated.
17414 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17417 * string/test-memcmp.c (check2): New.
17418 (main): Call check2.
17420 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17422 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17425 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17427 (dl_open_worker) [!SHARED]: ... here.
17429 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17431 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17433 2013-06-25 Richard Henderson <rth@redhat.com>
17435 * locale/programs/locarchive.c: Include <libc-internal.h>
17437 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17439 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17440 trailing whitespace removed.
17442 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17445 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17446 * locale/programs/locarchive.c: Include libc-mmap.h.
17447 (prepare_address_space): Take two new outputs (the mmap base and len).
17448 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17450 (create_archive): Declare new mmap base and len values for
17451 prepare_address_space, and store the result in ah.
17452 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17453 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17454 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17455 Declare new mmap base and len values for
17456 prepare_address_space, and store the result in new_ah.
17457 (open_archive): Declare new mmap base and len values for
17458 prepare_address_space, and store the result in ah.
17459 (close_archive): If ah->mmap_base is not NULL, use that and
17460 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17461 * sysdeps/generic/libc-mmap.h: New file.
17463 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17465 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17466 (ALIGN_UP): Likewise.
17467 (PTR_ALIGN_DOWN): Likewise.
17468 (PTR_ALIGN_UP): Likewise.
17470 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17472 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17473 entry mapped to PPC_PLATFORM_POWER8.
17474 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17476 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17477 (_dl_string_platform): Add case for exporting platform position for
17479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17480 search path to sysdeps/powerpc/powerpc32/power8 directory.
17481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17482 search path to sysdeps/powerpc/powerpc64/power8 directory.
17483 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17484 power7 directories.
17485 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17486 power7 directories.
17488 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17490 * INSTALL: Regenerate.
17492 * nscd/connections.c (nscd_init): Fix comment.
17494 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17496 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17499 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17500 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17502 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17504 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17506 (DL_DST_REQ_STATIC): Remove macro.
17508 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17511 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17512 with a shift of 0 bits.
17514 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17516 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17519 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17522 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17524 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17526 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17527 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17528 accepts -fno-tree-loop-distribute-patterns.
17529 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17530 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17532 * string/memset.c (memset): Likewise.
17533 * string/test-memmove.c (simple_memmove): Disable loop transformation
17535 * string/test-memset.c (simple_memset): Likewise.
17536 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17537 * benchtests/bench-memset.c (simple_memset): Likewise.
17538 * configure: Regenerated.
17540 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17542 * math/test-misc.c (main): Ignore fesetround failure when failures
17543 of subsequent rounding tests would be ignored.
17546 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17547 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17548 * math/fegetenv.c (__fegetenv): Return 0.
17549 * math/fegetexcept.c (fegetexcept): Return 0.
17550 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17552 * math/feholdexcpt.c (feholdexcept): Return 0.
17553 * math/fesetenv.c (__fesetenv): Return 0.
17554 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17555 argument FE_TONEAREST.
17556 * math/feupdateenv.c (__feupdateenv): Return 0.
17557 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17559 2013-06-18 Roland McGrath <roland@hack.frob.com>
17561 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17562 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17563 ($(objpfx)rtld-%.os rules): Use them.
17565 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17567 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17570 2013-06-17 Roland McGrath <roland@hack.frob.com>
17572 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17573 length of target pattern, then descending length of dependency pattern.
17574 * configure.in (AWK): Require gawk 3.1.2 or newer.
17575 * manual/install.texi (Tools for Compilation): Say that we do.
17576 * configure: Regenerated.
17578 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17579 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17580 * scripts/sysd-rules.awk: ... this new script.
17581 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17582 than a glob-style pattern.
17584 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17586 * math/test-misc.c (main): Do not treat incorrectly rounded
17587 conversions as failure unless ROUNDING_TESTS passes.
17589 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17592 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17593 restore exception state around main square root computation, then
17594 check for inexactness explicitly.
17596 * math/libm-test.inc (fma_test_data): Add another test.
17598 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17600 * manual/threads.texi (Non-POSIX Extensions): New document
17601 node. Document pthread_getattr_default_np and
17602 pthread_setattr_default_np.
17604 * Versions.def (libpthread): Add GLIBC_2.18.
17605 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17614 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17625 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17628 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17630 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17631 H.J. Lu <hjl.tools@gmail.com>
17634 * sysdeps/x86_64/rtld-memset.c: Remove file.
17635 * sysdeps/x86_64/rtld-memset.S: New file.
17637 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17639 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17640 (test_in_one_mode): Take arguments for whether the rounding mode
17641 is supported for each floating-point type.
17642 (do_test): Pass new arguments to test_in_one_mode using
17645 2013-06-13 Roland McGrath <roland@hack.frob.com>
17647 * posix/tst-waitid.c (do_test): Distinguish different instances of
17648 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17649 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17650 before entering the kernel for waitpid.
17652 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17654 * NEWS: Fix note on clock function precision. Text by Roland
17657 2013-06-13 Roland McGrath <roland@hack.frob.com>
17659 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17660 it into place only when and if the sanity check passes.
17662 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17664 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17665 output for whether conversion result is exact. Take argument
17666 indicating whether type is IBM long double.
17667 (round_for_all): Change need_exact field to ibm_ld.
17668 * stdlib/tst-strtod-round.c (struct exactness): New type.
17669 (struct test): Change bool ld_ok field to struct exactness exact.
17670 (TEST): Update all definitions for change to field.
17671 (tests): Regenerate array contents.
17672 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17673 field value. Check for IBM long double here.
17674 (do_test): Update calls to test_in_one_mode.
17676 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17679 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17680 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17682 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17685 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17686 generated by the compiler on loop optimizations.
17687 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17688 general definitions.
17690 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17692 * math/bug-nextafter.c: Include <math-tests.h>.
17693 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17695 * math/bug-nexttoward.c: Include <math-tests.h>.
17696 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17698 * math/test-misc.c: Include <math-tests.h>.
17699 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17702 2013-06-12 Andreas Jaeger <aj@suse.de>
17704 * po/ia.po: Update Interlingua translation from translation
17707 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17709 * include/fenv.h: Include stdbool.h.
17710 (struct rm_ctx): New structure.
17711 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17713 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17714 (SET_RESTORE_ROUNDF): Likewise.
17715 (SET_RESTORE_ROUNDL): Likewise.
17716 (SET_RESTORE_ROUND_NOEX): Likewise.
17717 (SET_RESTORE_ROUND_NOEXF): Likewise.
17718 (SET_RESTORE_ROUND_NOEXL): Likewise.
17719 (SET_RESTORE_ROUND_53BIT): Likewise.
17720 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17721 (libc_feresetround_noexf_ctx): Likewise.
17722 (libc_feresetround_noexl_ctx): Likewise.
17723 (libc_feholdsetround_53bit_ctx): Likewise.
17724 (libc_feresetround_53bit_ctx): Likewise.
17725 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17726 (libc_feholdexcept_setround_sse_ctx): New function.
17727 (libc_fesetenv_sse_ctx): Likewise.
17728 (libc_feupdateenv_sse_ctx): Likewise.
17729 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17730 (libc_feholdexcept_setround_387_ctx): Likewise.
17731 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17732 (libc_feholdsetround_387_prec_ctx): Likewise.
17733 (libc_feholdsetround_387_ctx): Likewise.
17734 (libc_feholdsetround_387_53bit_ctx): Likewise.
17735 (libc_feholdsetround_sse_ctx): Likewise.
17736 (libc_feresetround_sse_ctx): Likewise.
17737 (libc_feresetround_387_ctx): Likewise.
17738 (libc_feupdateenv_387_ctx): Likewise.
17739 (libc_feholdexcept_setroundf_ctx): Define macro.
17740 (libc_fesetenvf_ctx): Likewise.
17741 (libc_feupdateenvf_ctx): Likewise.
17742 (libc_feholdsetroundf_ctx): Likewise.
17743 (libc_feresetroundf_ctx): Likewise.
17744 (libc_feholdexcept_setround_ctx): Likewise.
17745 (libc_fesetenv_ctx): Likewise.
17746 (libc_feupdateenv_ctx): Likewise.
17747 (libc_feholdsetround_ctx): Likewise.
17748 (libc_feresetround_ctx): Likewise.
17749 (libc_feholdexcept_setroundl_ctx): Likewise.
17750 (libc_feupdateenvl_ctx): Likewise.
17751 (libc_feholdsetroundl_ctx): Likewise.
17752 (libc_feresetroundl_ctx): Likewise.
17753 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17754 (libc_feresetround_53bit_ctx): Likewise.
17756 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17758 * locale/iso-639.def: Convert to UTF-8.
17760 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17762 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17763 (EXCEPTION_TESTS_double): Likewise.
17764 (EXCEPTION_TESTS_long_double): Likewise.
17765 (EXCEPTION_TESTS): Likewise.
17766 * math/libm-test.inc (test_exceptions): Only test exceptions if
17767 EXCEPTION_TESTS (FLOAT).
17769 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17771 * benchtests/Makefile (string-bench): Add strcpy_chk and
17773 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17774 * benchtests/bench-stpcpy_chk.c: New file.
17775 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17776 * benchtests/bench-strcpy_chk.c: New file.
17777 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17779 (do_test): Likewise.
17781 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17783 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17784 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17785 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17786 with tabs where appropriate.
17787 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17789 [PPC_PLATFORM_PPC440]: Likewise.
17790 [PPC_PLATFORM_PPC464]: Likewise.
17791 [PPC_PLATFORM_PPC476]: Likewise.
17792 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17793 ppc464, and ppc476 platform strings merging from ports/
17796 2013-06-11 Andreas Schwab <schwab@suse.de>
17799 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17800 (from_ucs4_idx): Regenerate.
17801 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17802 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17803 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17804 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17805 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17806 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17807 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17808 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17809 from FROM_LOOP and TO_LOOP specific macros.
17810 (BODY): Handle combining characters.
17811 * iconvdata/BIG5HKSCS.irreversible: Update.
17812 * iconvdata/BIG5HKSCS.precomposed: New file.
17813 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17815 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17817 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17819 * include/sys/time.h: Fix indentation and add copyright header.
17821 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17822 (do_test): Likewise.
17823 * string/test-memchr.c (do_one_test): Likewise.
17824 (do_test): Likewise.
17825 * string/test-memcmp.c (do_one_test): Likewise.
17826 (do_test): Likewise.
17827 * string/test-memcpy.c (do_one_test): Likewise.
17828 (do_test): Likewise.
17829 * string/test-memmem.c (do_one_test): Likewise.
17830 (do_test): Likewise.
17831 (do_random_tests): Likewise.
17832 * string/test-memmove.c (do_one_test): Likewise.
17833 (do_test): Likewise.
17834 * string/test-memset.c (do_one_test): Likewise.
17835 (do_test): Likewise.
17836 * string/test-rawmemchr.c (do_one_test): Likewise.
17837 (do_test): Likewise.
17838 * string/test-strcasecmp.c (do_one_test): Likewise.
17839 (do_test): Likewise.
17840 * string/test-strcasestr.c (do_one_test): Likewise.
17841 (do_test): Likewise.
17842 * string/test-strcat.c (do_one_test): Likewise.
17843 (do_test): Likewise.
17844 * string/test-strchr.c (do_one_test): Likewise.
17845 (do_test): Likewise.
17846 * string/test-strcmp.c (do_one_test): Likewise.
17847 (do_test): Likewise.
17848 * string/test-strcpy.c (do_one_test): Likewise.
17849 (do_test): Likewise.
17850 * string/test-string.h: Likewise.
17851 (test_init): Likewise.
17852 * string/test-strlen.c (do_one_test): Likewise.
17853 (do_test): Likewise.
17854 * string/test-strncasecmp.c (do_one_test): Likewise.
17855 (do_test): Likewise.
17856 * string/test-strncat.c (do_one_test): Likewise.
17857 (do_test): Likewise.
17858 * string/test-strncmp.c (do_one_test): Likewise.
17859 (do_test_limit): Likewise.
17860 (do_test): Likewise.
17861 * string/test-strncpy.c (do_one_test): Likewise.
17862 (do_test): Likewise.
17863 * string/test-strnlen.c (do_one_test): Likewise.
17864 (do_test): Likewise.
17865 * string/test-strpbrk.c (do_one_test): Likewise.
17866 (do_test): Likewise.
17867 * string/test-strrchr.c (do_one_test): Likewise.
17868 (do_test): Likewise.
17869 * string/test-strspn.c (do_one_test): Likewise.
17870 (do_test): Likewise.
17871 * string/test-strstr.c (do_one_test): Likewise.
17872 (do_test): Likewise.
17874 * benchtests/Makefile (string-bench): Add string benchmarks.
17875 * benchtests/bench-bcopy-ifunc.c: New file.
17876 * benchtests/bench-bcopy.c: New file.
17877 * benchtests/bench-bzero-ifunc.c: New file.
17878 * benchtests/bench-bzero.c: New file.
17879 * benchtests/bench-memccpy-ifunc.c: New file.
17880 * benchtests/bench-memccpy.c: New file.
17881 * benchtests/bench-memchr-ifunc.c: New file.
17882 * benchtests/bench-memchr.c: New file.
17883 * benchtests/bench-memcmp-ifunc.c: New file.
17884 * benchtests/bench-memcmp.c: New file.
17885 * benchtests/bench-memmem-ifunc.c: New file.
17886 * benchtests/bench-memmem.c: New file.
17887 * benchtests/bench-memmove-ifunc.c: New file.
17888 * benchtests/bench-memmove.c: New file.
17889 * benchtests/bench-mempcpy-ifunc.c: New file.
17890 * benchtests/bench-mempcpy.c: New file.
17891 * benchtests/bench-memset-ifunc.c: New file.
17892 * benchtests/bench-memset.c: New file.
17893 * benchtests/bench-rawmemchr-ifunc.c: New file.
17894 * benchtests/bench-rawmemchr.c: New file.
17895 * benchtests/bench-stpcpy-ifunc.c: New file.
17896 * benchtests/bench-stpcpy.c: New file.
17897 * benchtests/bench-stpncpy-ifunc.c: New file.
17898 * benchtests/bench-stpncpy.c: New file.
17899 * benchtests/bench-strcasecmp-ifunc.c: New file.
17900 * benchtests/bench-strcasecmp.c: New file.
17901 * benchtests/bench-strcasestr-ifunc.c: New file.
17902 * benchtests/bench-strcasestr.c: New file.
17903 * benchtests/bench-strcat-ifunc.c: New file.
17904 * benchtests/bench-strcat.c: New file.
17905 * benchtests/bench-strchr-ifunc.c: New file.
17906 * benchtests/bench-strchr.c: New file.
17907 * benchtests/bench-strchrnul-ifunc.c: New file.
17908 * benchtests/bench-strchrnul.c: New file.
17909 * benchtests/bench-strcmp-ifunc.c: New file.
17910 * benchtests/bench-strcmp.c: New file.
17911 * benchtests/bench-strcpy-ifunc.c: New file.
17912 * benchtests/bench-strcpy.c: New file.
17913 * benchtests/bench-strcspn-ifunc.c: New file.
17914 * benchtests/bench-strcspn.c: New file.
17915 * benchtests/bench-strlen-ifunc.c: New file.
17916 * benchtests/bench-strlen.c: New file.
17917 * benchtests/bench-strncasecmp-ifunc.c: New file.
17918 * benchtests/bench-strncasecmp.c: New file.
17919 * benchtests/bench-strncat-ifunc.c: New file.
17920 * benchtests/bench-strncat.c: New file.
17921 * benchtests/bench-strncmp-ifunc.c: New file.
17922 * benchtests/bench-strncmp.c: New file.
17923 * benchtests/bench-strncpy-ifunc.c: New file.
17924 * benchtests/bench-strncpy.c: New file.
17925 * benchtests/bench-strnlen-ifunc.c: New file.
17926 * benchtests/bench-strnlen.c: New file.
17927 * benchtests/bench-strpbrk-ifunc.c: New file.
17928 * benchtests/bench-strpbrk.c: New file.
17929 * benchtests/bench-strrchr-ifunc.c: New file.
17930 * benchtests/bench-strrchr.c: New file.
17931 * benchtests/bench-strspn-ifunc.c: New file.
17932 * benchtests/bench-strspn.c: New file.
17933 * benchtests/bench-strstr-ifunc.c: New file.
17934 * benchtests/bench-strstr.c: New file.
17936 * benchtests/Makefile: Disable parallel execution of targets.
17937 (string-bench): Add memcpy.
17938 (benchset): New variable to store a list of benchmark sets.
17939 (bench-func): Renamed from bench.
17940 (bench-set): New target.
17941 (bench): Depend on bench-func and bench-set.
17942 * benchtests/README: Add section on benchmark sets.
17943 * benchtests/bench-memcpy-ifunc.c: New file.
17944 * benchtests/bench-memcpy.c: New file.
17945 * benchtests/bench-string.h: New file.
17947 2013-06-11 Andreas Schwab <schwab@suse.de>
17950 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17951 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17952 values in the triple.
17953 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17954 terminator in the group key.
17956 2013-06-11 Andreas Jaeger <aj@suse.de>
17958 * po/zh_TW.po: Update Chinese (traditional) translation from
17959 translation project.
17961 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17963 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17964 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17965 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17966 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17967 (clock_getcpuclockid): Likewise.
17968 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17969 Add weak_alias and libc_hidden_def.
17970 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17971 * rt/clock_gettime.c (clock_gettime): Rename to
17972 __clock_gettime. Add weak_alias and libc_hidden_def.
17973 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17974 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17975 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17976 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17977 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17979 * rt/clock_settime.c (clock_settime): Rename to
17980 __clock_settime. Add weak_alias and libc_hidden_def.
17981 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17983 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17985 * mach/err_boot.sub: Remove trailing whitespace.
17986 * mach/err_ipc.sub: Likewise.
17987 * mach/err_mach.sub: Likewise.
17989 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17990 (ROUNDING_TESTS_double): Likewise.
17991 (ROUNDING_TESTS_long_double): Likewise.
17992 (ROUNDING_TESTS): Likewise.
17993 * math/libm-test.inc: Include <math-tests.h>.
17994 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17995 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17996 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17997 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17999 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18001 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18004 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18006 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18007 otherwise empty TRANS lines.
18008 * sysdeps/gnu/errlist.c: Regenerated.
18010 * catgets/gencat.c (error_print): Use (void) in function
18012 * crypt/crypt_util.c (__init_des): Likewise.
18013 * crypt/speeds.c (Stop): Likewise.
18015 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18016 * inet/ruserpass.c (token): Likewise.
18017 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18018 * intl/localealias.c (extend_alias_table): Likewise.
18019 * intl/plural-exp.c (init_germanic_plural): Likewise.
18020 * libio/fcloseall.c (__fcloseall): Likewise.
18021 * libio/genops.c (_IO_flush_all): Likewise.
18022 (_IO_flush_all_linebuffered): Likewise.
18023 (_IO_cleanup): Likewise.
18024 (_IO_iter_begin): Likewise.
18025 (_IO_iter_end): Likewise.
18026 (_IO_list_lock): Likewise.
18027 (_IO_list_unlock): Likewise.
18028 (_IO_list_resetlock): Likewise.
18029 * libio/getchar.c (getchar): Likewise.
18030 * libio/getchar_u.c (getchar_unlocked): Likewise.
18031 * libio/getwchar.c (getwchar): Likewise.
18032 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18033 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18034 * login/getpt.c (__getpt): Likewise.
18035 * login/tst-utmp.c (main): Likewise.
18036 * malloc/hooks.c (__malloc_check_init): Likewise.
18037 * malloc/malloc.c (__malloc_stats): Likewise.
18038 * malloc/mtrace.c (tr_break): Likewise.
18039 (mtrace): Likewise.
18040 (muntrace): Likewise.
18041 * misc/fstab.c (endfsent): Likewise.
18042 * misc/getclktck.c (__getclktck): Likewise.
18043 * misc/getdtsz.c (__getdtablesize): Likewise.
18044 * misc/gethostid.c (gethostid): Likewise.
18045 * misc/getpagesize.c (__getpagesize): Likewise.
18046 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18047 (__get_nprocs): Likewise.
18048 (__get_phys_pages): Likewise.
18049 (__get_avphys_pages): Likewise.
18050 * misc/getttyent.c (getttyent): Likewise.
18051 (setttyent): Likewise.
18052 (endttyent): Likewise.
18053 * misc/getusershell.c (getusershell): Likewise.
18054 (endusershell): Likewise.
18055 (setusershell): Likewise.
18056 (initshells): Likewise.
18057 * misc/hsearch.c (__hdestroy): Likewise.
18058 * misc/sync.c (sync): Likewise.
18059 * misc/syslog.c (closelog_internal): Likewise.
18060 (closelog): Likewise.
18061 * misc/ttyslot.c (ttyslot): Likewise.
18062 * misc/vhangup.c (vhangup): Likewise.
18063 * posix/fork.c (__fork): Likewise.
18064 * posix/getegid.c (__getegid): Likewise.
18065 * posix/geteuid.c (__geteuid): Likewise.
18066 * posix/getgid.c (__getgid): Likewise.
18067 * posix/getpid.c (__getpid): Likewise.
18068 * posix/getppid.c (__getppid): Likewise.
18069 * posix/getuid.c (__getuid): Likewise.
18070 * posix/pause.c (pause): Likewise.
18071 * posix/setpgrp.c (setpgrp): Likewise.
18072 * posix/setsid.c (__setsid): Likewise.
18073 * posix/test-vfork.c (noop): Likewise.
18074 * resolv/gethnamaddr.c (_endhtent): Likewise.
18075 (_gethtent): Likewise.
18076 (ht_endhostent): Likewise.
18077 (gethostent): Likewise.
18078 (dns_service): Likewise.
18079 * stdlib/drand48.c (drand48): Likewise.
18080 * stdlib/lrand48.c (lrand48): Likewise.
18081 * stdlib/mrand48.c (mrand48): Likewise.
18082 * stdlib/rand.c (rand): Likewise.
18083 * stdlib/random.c (__random): Likewise.
18084 * stdlib/setenv.c (clearenv): Likewise.
18085 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18086 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18087 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18088 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18089 (__get_nprocs): Likewise.
18090 (__get_phys_pages): Likewise.
18091 (__get_avphys_pages): Likewise.
18092 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18093 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18094 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18095 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18096 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18097 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18098 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18099 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18100 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18101 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18102 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18103 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18104 * sysdeps/posix/clock.c (clock): Likewise.
18105 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18106 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18107 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18108 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18109 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18110 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18111 (__get_nprocs_conf): Likewise.
18112 (__get_phys_pages): Likewise.
18113 (__get_avphys_pages): Likewise.
18114 * time/clock.c (clock): Likewise.
18115 * time/tzset.c (__tzname_max): Likewise.
18117 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18119 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18120 (__bswap_32): Do not use "register".
18121 * crypt/crypt.c (_ufc_doit_r): Likewise.
18122 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18123 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18124 * gmon/gmon.c (__monstartup): Likewise.
18125 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18126 * hurd/hurdmalloc.c (more_memory): Likewise.
18127 (malloc): Likewise.
18129 (realloc): Likewise.
18130 (malloc_fork_prepare): Likewise.
18131 (malloc_fork_parent): Likewise.
18132 (malloc_fork_child): Likewise.
18133 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18134 (_svcauth_des): Likewise.
18135 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18136 * inet/inet_net.c (inet_network): Likewise.
18137 * inet/inet_netof.c (inet_netof): Likewise.
18138 * inet/rcmd.c (__validuser2_sa): Likewise.
18139 * io/fts.c (fts_open): Likewise.
18140 (fts_load): Likewise.
18141 (fts_close): Likewise.
18142 (fts_read): Likewise.
18143 (fts_children): Likewise.
18144 (fts_build): Likewise.
18145 (fts_stat): Likewise.
18146 (fts_sort): Likewise.
18147 (fts_alloc): Likewise.
18148 (fts_lfree): Likewise.
18149 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18150 (_IO_file_xsgetn): Likewise.
18151 (_IO_file_xsgetn_mmap): Likewise.
18152 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18153 (_IO_cookie_write): Likewise.
18154 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18155 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18156 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18157 * malloc/obstack.c (_obstack_begin): Likewise.
18158 (_obstack_begin_1): Likewise.
18159 (_obstack_newchunk): Likewise.
18160 (_obstack_allocated_p): Likewise.
18161 (obstack_free): Likewise.
18162 (_obstack_memory_used): Likewise.
18163 * misc/getttyent.c (getttynam): Likewise.
18164 (getttyent): Likewise.
18167 * misc/getusershell.c (initshells): Likewise.
18168 * misc/syslog.c (__vsyslog_chk): Likewise.
18169 * misc/ttyslot.c (ttyslot): Likewise.
18170 * nis/nis_hash.c (__nis_hash): Likewise.
18171 * posix/fnmatch_loop.c (FCT): Likewise.
18172 * posix/getconf.c (print_all): Likewise.
18174 * posix/getopt.c (exchange): Likewise.
18175 * posix/glob.c (globfree): Likewise.
18176 (prefix_array): Likewise.
18177 (__glob_pattern_type): Likewise.
18178 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18179 (NS_GET32): Likewise.
18180 (NS_PUT16): Likewise.
18181 (NS_PUT32): Likewise.
18182 * resolv/gethnamaddr.c (getanswer): Likewise.
18183 (gethostbyname2): Likewise.
18184 (gethostbyaddr): Likewise.
18185 (_gethtent): Likewise.
18186 (_gethtbyname2): Likewise.
18187 (_gethtbyaddr): Likewise.
18188 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18189 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18190 * resolv/res_init.c (__res_vinit): Likewise.
18191 (net_mask): Likewise.
18192 * resolv/res_mkquery.c (outchar): Likewise.
18194 * stdio-common/printf_fp.c (outchar): Likewise.
18196 * stdio-common/printf_fphex.c (outchar): Likewise.
18198 * stdio-common/printf_size.c (outchar): Likewise.
18200 * stdio-common/test_rdwr.c (main): Likewise.
18201 * stdio-common/tfformat.c (matches): Likewise.
18202 * stdio-common/vfprintf.c (outchar): Likewise.
18203 (printf_unknown): Likewise.
18204 (buffered_vfprintf): Likewise.
18205 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18206 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18207 (ReadFile): Likewise.
18208 * stdlib/qsort.c (SWAP): Likewise.
18209 (_quicksort): Likewise.
18210 * stdlib/setenv.c (__add_to_environ): Likewise.
18211 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18212 * stdlib/strtol_l.c (__strtol_l): Likewise.
18213 * stdlib/tst-strtod.c (main): Likewise.
18214 * stdlib/tst-strtol.c (main): Likewise.
18215 * stdlib/tst-strtoll.c (main): Likewise.
18216 * string/bits/string2.h (__strcmp_cc): Likewise.
18217 (__strcmp_cg): Likewise.
18218 (__strcspn_c1): Likewise.
18219 (__strcspn_c2): Likewise.
18220 (__strcspn_c3): Likewise.
18221 (__strspn_c1): Likewise.
18222 (__strspn_c2): Likewise.
18223 (__strspn_c3): Likewise.
18224 (__strsep_1c): Likewise.
18225 (__strsep_2c): Likewise.
18226 (__strsep_3c): Likewise.
18227 * string/memccpy.c (__memccpy): Likewise.
18228 * string/stpcpy.c (__stpcpy): Likewise.
18229 * string/strcmp.c (strcmp): Likewise.
18230 * string/strrchr.c (strrchr): Likewise.
18231 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18233 * sysdeps/mach/hurd/getcwd.c
18234 (_hurd_canonicalize_directory_name_internal): Likewise.
18235 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18236 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18237 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18238 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18239 Likewise, in both definitions.
18240 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18242 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18243 64] (__bswap_64): Likewise.
18244 * time/test_time.c (main): Likewise.
18245 * time/tzfile.c (__tzfile_read): Likewise.
18246 (__tzfile_compute): Likewise.
18247 * time/tzset.c (__tzset_parse_tz): Likewise.
18248 (tzset_internal): Likewise.
18249 (compute_change): Likewise.
18250 * wcsmbs/wcscat.c (__wcscat): Likewise.
18251 * wcsmbs/wcschr.c (wcschr): Likewise.
18252 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18253 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18254 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18255 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18256 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18257 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18258 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18259 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18260 * wcsmbs/wmemset.c (wmemset): Likewise.
18262 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18264 * scripts/config.guess: Update to version 2013-05-16.
18265 * scripts/config.sub: Update to version 2013-04-24.
18266 * scripts/install-sh: Update to version 2011-11-20.07.
18267 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18268 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18270 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18272 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18273 * elf/sln.c: Likewise.
18274 * hurd/hurd/ioctl.h: Likewise.
18275 * hurd/hurdmalloc.c: Likewise.
18276 * hurd/xattr.c: Likewise.
18277 * include/shlib-compat.h: Likewise.
18278 * inet/ruserpass.c: Likewise.
18279 * libio/iofgets_u.c: Likewise.
18280 * libio/iofgetws_u.c: Likewise.
18281 * locale/programs/ld-identification.c: Likewise.
18282 * locale/programs/ld-time.c: Likewise.
18283 * mach/msg-destroy.c: Likewise.
18284 * nss/nss_files/files-netgrp.c: Likewise.
18285 * resolv/res_data.c: Likewise.
18286 * soft-fp/op-1.h: Likewise.
18287 * soft-fp/op-2.h: Likewise.
18288 * soft-fp/op-4.h: Likewise.
18289 * soft-fp/op-common.h: Likewise.
18290 * stdio-common/printf_fphex.c: Likewise.
18291 * stdlib/strtod_l.c: Likewise.
18292 * sunrpc/rpc/clnt.h: Likewise.
18293 * sysdeps/generic/framestate.c: Likewise.
18294 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18295 * sysdeps/i386/bsd-setjmp.S: Likewise.
18296 * sysdeps/i386/__longjmp.S: Likewise.
18297 * sysdeps/i386/setjmp.S: Likewise.
18298 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18299 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18300 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18301 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18302 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18303 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18304 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18305 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18306 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18308 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18309 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18310 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18311 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18312 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18313 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18314 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18315 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18316 * sysdeps/ieee754/support.c: Likewise.
18317 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18318 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18319 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18320 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18321 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18322 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18323 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18324 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18325 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18326 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18327 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18328 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18329 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18330 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18331 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18332 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18333 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18336 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18338 * posix/transbug.c: Remove executable mode.
18340 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18342 * crypt/speeds.c: Remove trailing whitespace.
18343 * dlfcn/default.c: Likewise.
18344 * elf/ifuncdep2.c: Likewise.
18345 * elf/ifuncmain1.c: Likewise.
18346 * elf/ifuncmain1vis.c: Likewise.
18347 * elf/testobj.h: Likewise.
18348 * elf/tst-stackguard1.c: Likewise.
18349 * gmon/sys/gmon.h: Likewise.
18350 * hurd/hurdmsg.c: Likewise.
18351 * hurd/new-fd.c: Likewise.
18352 * hurd/ports-get.c: Likewise.
18353 * iconvdata/ibm1008_420.c: Likewise.
18354 * inet/tst-getni1.c: Likewise.
18355 * inet/tst-getni2.c: Likewise.
18356 * libio/ioungetc.c: Likewise.
18357 * libio/wfiledoalloc.c: Likewise.
18358 * manual/libm-err-tab.pl: Likewise.
18359 * math/w_dremf.c: Likewise.
18360 * misc/ftruncate.c: Likewise.
18361 * posix/bug-glob2.c: Likewise.
18362 * posix/tst-pcre.c: Likewise.
18363 * posix/wait4.c: Likewise.
18364 * resolv/README: Likewise.
18365 * resolv/res_debug.h: Likewise.
18366 * resolv/tst-inet_ntop.c: Likewise.
18367 * setjmp/bug269-setjmp.c: Likewise.
18368 * soft-fp/extended.h: Likewise.
18369 * soft-fp/op-1.h: Likewise.
18370 * soft-fp/op-2.h: Likewise.
18371 * soft-fp/op-4.h: Likewise.
18372 * soft-fp/op-8.h: Likewise.
18373 * soft-fp/testit.c: Likewise.
18374 * stdio-common/bug16.c: Likewise.
18375 * stdlib/random.c: Likewise.
18376 * sunrpc/rpcsvc/rquota.x: Likewise.
18377 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18378 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18379 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18380 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18381 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18382 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18383 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18384 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18385 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18386 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18387 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18388 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18389 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18390 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18391 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18392 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18393 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18394 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18395 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18396 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18397 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18398 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18399 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18400 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18401 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18402 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18403 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18404 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18405 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18406 * sysdeps/ieee754/s_lib_version.c: Likewise.
18407 * sysdeps/mach/hurd/check_fds.c: Likewise.
18408 * sysdeps/mach/hurd/getsockname.c: Likewise.
18409 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18410 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18411 * sysdeps/powerpc/bits/link.h: Likewise.
18412 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18413 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18414 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18415 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18416 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18417 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18418 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18419 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18420 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18421 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18422 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18423 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18424 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18425 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18426 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18427 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18428 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18429 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18430 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18431 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18432 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18433 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18434 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18435 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18436 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18437 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18438 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18439 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18440 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18441 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18442 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18443 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18444 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18445 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18446 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18447 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18448 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18449 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18450 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18451 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18452 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18453 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18454 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18455 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18456 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18457 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18458 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18459 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18460 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18461 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18462 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18463 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18464 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18465 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18466 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18467 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18468 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18469 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18470 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18471 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18472 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18473 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18474 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18475 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18476 * sysdeps/powerpc/sysdep.h: Likewise.
18477 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18478 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18479 * sysdeps/sh/dl-trampoline.S: Likewise.
18480 * sysdeps/sh/memset.S: Likewise.
18481 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18482 * sysdeps/sh/strlen.S: Likewise.
18483 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18484 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18485 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18486 * sysdeps/sparc/sparc32/rem.S: Likewise.
18487 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18488 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18489 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18490 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18491 * sysdeps/sparc/sparc32/urem.S: Likewise.
18492 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18493 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18494 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18495 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18496 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18497 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18498 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18499 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18500 * sysdeps/unix/bsd/times.c: Likewise.
18501 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18502 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18506 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18507 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18508 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18509 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18510 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18511 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18512 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18513 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18514 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18515 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18516 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18517 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18518 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18519 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18520 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18521 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18522 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18523 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18524 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18525 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18526 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18527 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18528 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18529 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18530 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18531 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18532 * sysdeps/x86_64/strcspn.S: Likewise.
18534 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18536 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18537 generated file. Regenerate properly from gen-translit.pl.
18538 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18539 locale/C-translit.h.
18541 2013-06-05 Andreas Schwab <schwab@suse.de>
18544 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18545 week as 6 instead of -1.
18546 * time/tst-strptime.c (day_tests): Add test case.
18548 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18550 * sysdeps/generic/math_private.h
18551 (libc_feholdexcept_setround_53bit): Replace with
18552 libc_feholdsetround_53bit.
18553 (libc_feupdateenv_53bit): Replace with
18554 libc_feresetround_53bit.
18555 (SET_RESTORE_ROUND_53BIT): Adjust.
18557 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18559 * string/test-strchrnul.c: Add copyright header.
18561 * posix/tst-getaddrinfo4.c: Increase test timeout.
18563 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18566 * math/libm-test.inc (MAX_EXP): Remove
18568 (ulp): Use MIN_EXP - MANT_DIG.
18569 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18571 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18573 * po/be.po: Revert last change.
18574 * po/zh_CN.po: Likewise.
18575 * po/header.pot: Likewise.
18577 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18579 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18580 link-libc-deps to empty as target-specific variable.
18581 * Makerules (link-libc-args): New variable.
18582 (libc-for-link): Likewise.
18583 (link-libc-deps): Likewise.
18584 (lib%.so): Depend on $(link-libc-deps). Link with
18586 (build-module): Link with $(link-libc-args).
18587 (build-module-asneeded): Likewise.
18588 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18590 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18591 target-specific variable.
18592 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18593 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18594 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18596 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18598 ($(objpfx)libpcprofile.so): Likewise.
18599 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18601 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18602 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18603 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18605 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18606 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18607 * login/Makefile ($(objpfx)libutil.so): Likewise.
18608 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18609 * math/Makefile ($(objpfx)libm.so): Likewise.
18610 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18611 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18612 variable instead of depending directly on libc.
18613 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18614 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18616 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18618 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18619 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18620 ($(objpfx)libanl.so): Likewise.
18621 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18623 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18625 * sysdeps/i386/fpu/Makefile: Remove file.
18626 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18627 ($(objpfx)libm.so): Remove dependency on ld.so.
18629 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18632 * nis/yp_xdr.c (XDRMAXNAME): Define.
18633 (XDRMAXRECORD): Define.
18634 (xdr_domainname): Use XDRMAXNAME.
18635 (xdr_mapname): Likewise.
18636 (xdr_peername): Likewise.
18637 (xdr_keydat): Use XDRMAXRECORD.
18638 (xdr_valdat): Likewise.
18640 2013-05-30 Jeff Law <law@redhat.com>
18643 * manual/errno.texi (ESTALE): Update to account for more than
18644 just NFS file systems.
18645 * sysdeps/gnu/errlist.c: Regenerated.
18647 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18650 * elf/Makefile (tests): Add tst-null-argv.
18651 (modules-names): Add tst-null-argv-lib.
18652 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18653 (tst-null-argv-ENV): Set environment for tst-null-argv.
18654 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18655 (RTLD_PROGNAME): New macro.
18656 * elf/tst-null-argv.c: New test case.
18657 * elf/tst-null-argv-lib.c: Library for test case.
18658 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18659 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18660 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18661 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18662 * elf/dl-init.c (call_init): Likewise.
18663 (_dl_init): Likewise.
18664 * elf/dl-load.c (print_search_path): Likewise.
18665 (_dl_map_object): Likewise.
18666 * elf/dl-lookup.c (do_lookup_x): Likewise.
18667 (add_dependency): Likewise.
18668 (_dl_lookup_symbol_x): Likewise.
18669 (_dl_debug_bindings): Likewise.
18670 * elf/dl-open.c (_dl_show_scope): Likewise.
18671 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18672 * elf/dl-version.c (match_symbol): Likewise.
18673 (_dl_check_map_versions): Likewise.
18674 * elf/rtld.c (dl_main): Likewise.
18675 (print_unresolved): Use RTLD_PROGNAME.
18676 (print_missing_version): Likewise.
18677 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18678 (elf_machine_rela): Likewise.
18679 * sysdeps/powerpc/powerpc32/dl-machine.c
18680 (__process_machine_rela): Likewise.
18681 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18683 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18685 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18687 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18688 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18690 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18692 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18694 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18696 * po/be.po: Add descriptive title.
18697 * po/zh_CN.po: Likewise.
18698 * po/header.pot: Likewise.
18700 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18702 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18704 (enlarge_archive): Likewise.
18706 2013-05-28 Ben North <ben@redfrontdoor.org>
18708 * manual/arith.texi (frexp): It is the magnitude of the return
18709 value which lies in [0.5, 1), not the return value itself.
18711 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18715 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18717 * stdio-common/bug26.c (main): Correct fscanf template.
18719 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18720 declare _dl_skip_args.
18722 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18725 * manual/platform.texi: Add missing @end deftypefun.
18727 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18730 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18731 bit of mantissa of 2^16382.
18732 * math/libm-test.inc (hypot_test_data): Add more tests.
18734 * math/libm-test.inc: Add drem and pow10 to list of tested
18736 (pow10_test): New function.
18737 (drem_test): Likewise.
18738 (drem_test_tonearest): Likewise.
18739 (drem_test_towardzero): Likewise.
18740 (drem_test_downward): Likewise.
18741 (drem_test_upward): Likewise.
18742 (main): Call the new functions.
18744 * math/libm-test.inc (finite_test_data): Remove.
18745 (finite_test): Run tests from isfinite_test_data.
18746 (gamma_test_data): Remove.
18747 (gamma_test): Run tests from lgamma_test_data.
18748 * sysdeps/i386/fpu/libm-test-ulps: Update.
18749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18751 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18753 * manual/platform.texi: Add PowerPC PPR function set documentation.
18754 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18757 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18759 * math/libm-test.inc (MAX_EXP): Define.
18761 (ulp): New function.
18762 (check_float_internal): Use ULPDIFF.
18763 (cpow_test): Disable failing test.
18764 (check_ulp): Test ulp() implemetnation.
18765 (main): Call check_ulp before starting tests.
18767 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18769 * math/gen-libm-test.pl (generate_testfile): Do not handle
18770 START_DATA and END_DATA.
18771 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18773 (acos_tonearest_test_data): Likewise.
18774 (acos_towardzero_test_data): Likewise.
18775 (acos_downward_test_data): Likewise.
18776 (acos_upward_test_data): Likewise.
18777 (acosh_test_data): Likewise.
18778 (asin_test_data): Likewise.
18779 (asin_tonearest_test_data): Likewise.
18780 (asin_towardzero_test_data): Likewise.
18781 (asin_downward_test_data): Likewise.
18782 (asin_upward_test_data): Likewise.
18783 (asinh_test_data): Likewise.
18784 (atan_test_data): Likewise.
18785 (atanh_test_data): Likewise.
18786 (atan2_test_data): Likewise.
18787 (cabs_test_data): Likewise.
18788 (cacos_test_data): Likewise.
18789 (cacosh_test_data): Likewise.
18790 (carg_test_data): Likewise.
18791 (casin_test_data): Likewise.
18792 (casinh_test_data): Likewise.
18793 (catan_test_data): Likewise.
18794 (catanh_test_data): Likewise.
18795 (cbrt_test_data): Likewise.
18796 (ccos_test_data): Likewise.
18797 (ccosh_test_data): Likewise.
18798 (ceil_test_data): Likewise.
18799 (cexp_test_data): Likewise.
18800 (cimag_test_data): Likewise.
18801 (clog_test_data): Likewise.
18802 (clog10_test_data): Likewise.
18803 (conj_test_data): Likewise.
18804 (copysign_test_data): Likewise.
18805 (cos_test_data): Likewise.
18806 (cos_tonearest_test_data): Likewise.
18807 (cos_towardzero_test_data): Likewise.
18808 (cos_downward_test_data): Likewise.
18809 (cos_upward_test_data): Likewise.
18810 (cosh_test_data): Likewise.
18811 (cosh_tonearest_test_data): Likewise.
18812 (cosh_towardzero_test_data): Likewise.
18813 (cosh_downward_test_data): Likewise.
18814 (cosh_upward_test_data): Likewise.
18815 (cpow_test_data): Likewise.
18816 (cproj_test_data): Likewise.
18817 (creal_test_data): Likewise.
18818 (csin_test_data): Likewise.
18819 (csinh_test_data): Likewise.
18820 (csqrt_test_data): Likewise.
18821 (ctan_test_data): Likewise.
18822 (ctan_tonearest_test_data): Likewise.
18823 (ctan_towardzero_test_data): Likewise.
18824 (ctan_downward_test_data): Likewise.
18825 (ctan_upward_test_data): Likewise.
18826 (ctanh_test_data): Likewise.
18827 (ctanh_tonearest_test_data): Likewise.
18828 (ctanh_towardzero_test_data): Likewise.
18829 (ctanh_downward_test_data): Likewise.
18830 (ctanh_upward_test_data): Likewise.
18831 (erf_test_data): Likewise.
18832 (erfc_test_data): Likewise.
18833 (exp_test_data): Likewise.
18834 (exp_tonearest_test_data): Likewise.
18835 (exp_towardzero_test_data): Likewise.
18836 (exp_downward_test_data): Likewise.
18837 (exp_upward_test_data): Likewise.
18838 (exp10_test_data): Likewise.
18839 (exp2_test_data): Likewise.
18840 (expm1_test_data): Likewise.
18841 (fabs_test_data): Likewise.
18842 (fdim_test_data): Likewise.
18843 (finite_test_data): Likewise.
18844 (floor_test_data): Likewise.
18845 (fma_test_data): Likewise.
18846 (fma_towardzero_test_data): Likewise.
18847 (fma_downward_test_data): Likewise.
18848 (fma_upward_test_data): Likewise.
18849 (fmax_test_data): Likewise.
18850 (fmin_test_data): Likewise.
18851 (fmod_test_data): Likewise.
18852 (fpclassify_test_data): Likewise.
18853 (frexp_test_data): Likewise.
18854 (gamma_test_data): Likewise.
18855 (hypot_test_data): Likewise.
18856 (ilogb_test_data): Likewise.
18857 (isfinite_test_data): Likewise.
18858 (isgreater_test_data): Likewise.
18859 (isgreaterequal_test_data): Likewise.
18860 (isinf_test_data): Likewise.
18861 (isless_test_data): Likewise.
18862 (islessequal_test_data): Likewise.
18863 (islessgreater_test_data): Likewise.
18864 (isnan_test_data): Likewise.
18865 (isnormal_test_data): Likewise.
18866 (issignaling_test_data): Likewise.
18867 (isunordered_test_data): Likewise.
18868 (j0_test_data): Likewise.
18869 (j1_test_data): Likewise.
18870 (jn_test_data): Likewise.
18871 (ldexp_test_data): Likewise.
18872 (lgamma_test_data): Likewise.
18873 (lrint_test_data): Likewise.
18874 (lrint_tonearest_test_data): Likewise.
18875 (lrint_towardzero_test_data): Likewise.
18876 (lrint_downward_test_data): Likewise.
18877 (lrint_upward_test_data): Likewise.
18878 (llrint_test_data): Likewise.
18879 (llrint_tonearest_test_data): Likewise.
18880 (llrint_towardzero_test_data): Likewise.
18881 (llrint_downward_test_data): Likewise.
18882 (llrint_upward_test_data): Likewise.
18883 (log_test_data): Likewise.
18884 (log10_test_data): Likewise.
18885 (log1p_test_data): Likewise.
18886 (log2_test_data): Likewise.
18887 (logb_test_data): Likewise.
18888 (logb_downward_test_data): Likewise.
18889 (lround_test_data): Likewise.
18890 (llround_test_data): Likewise.
18891 (modf_test_data): Likewise.
18892 (nearbyint_test_data): Likewise.
18893 (nextafter_test_data): Likewise.
18894 (nexttoward_test_data): Likewise.
18895 (pow_test_data): Likewise.
18896 (pow_tonearest_test_data): Likewise.
18897 (pow_towardzero_test_data): Likewise.
18898 (pow_downward_test_data): Likewise.
18899 (pow_upward_test_data): Likewise.
18900 (remainder_test_data): Likewise.
18901 (remainder_tonearest_test_data): Likewise.
18902 (remainder_towardzero_test_data): Likewise.
18903 (remainder_downward_test_data): Likewise.
18904 (remainder_upward_test_data): Likewise.
18905 (remquo_test_data): Likewise.
18906 (rint_test_data): Likewise.
18907 (rint_tonearest_test_data): Likewise.
18908 (rint_towardzero_test_data): Likewise.
18909 (rint_downward_test_data): Likewise.
18910 (rint_upward_test_data): Likewise.
18911 (round_test_data): Likewise.
18912 (scalb_test_data): Likewise.
18913 (scalbn_test_data): Likewise.
18914 (scalbln_test_data): Likewise.
18915 (signbit_test_data): Likewise.
18916 (sin_test_data): Likewise.
18917 (sin_tonearest_test_data): Likewise.
18918 (sin_towardzero_test_data): Likewise.
18919 (sin_downward_test_data): Likewise.
18920 (sin_upward_test_data): Likewise.
18921 (sincos_test_data): Likewise.
18922 (sinh_test_data): Likewise.
18923 (sinh_tonearest_test_data): Likewise.
18924 (sinh_towardzero_test_data): Likewise.
18925 (sinh_downward_test_data): Likewise.
18926 (sinh_upward_test_data): Likewise.
18927 (sqrt_test_data): Likewise.
18928 (tan_test_data): Likewise.
18929 (tan_tonearest_test_data): Likewise.
18930 (tan_towardzero_test_data): Likewise.
18931 (tan_downward_test_data): Likewise.
18932 (tan_upward_test_data): Likewise.
18933 (tanh_test_data): Likewise.
18934 (tgamma_test_data): Likewise.
18935 (trunc_test_data): Likewise.
18936 (y0_test_data): Likewise.
18937 (y1_test_data): Likewise.
18938 (yn_test_data): Likewise.
18939 (significand_test_data): Likewise.
18941 * math/gen-libm-test.pl (@functions): Remove variable.
18942 (generate_testfile): Don't handle START and END lines.
18943 * math/libm-test.inc (START): New macro.
18945 (END_COMPLEX): Likewise.
18946 (acos_test): Use END macro without arguments.
18947 (acos_test_tonearest): Likewise.
18948 (acos_test_towardzero): Likewise.
18949 (acos_test_downward): Likewise.
18950 (acos_test_upward): Likewise.
18951 (acosh_test): Likewise.
18952 (asin_test): Likewise.
18953 (asin_test_tonearest): Likewise.
18954 (asin_test_towardzero): Likewise.
18955 (asin_test_downward): Likewise.
18956 (asin_test_upward): Likewise.
18957 (asinh_test): Likewise.
18958 (atan_test): Likewise.
18959 (atanh_test): Likewise.
18960 (atan2_test): Likewise.
18961 (cabs_test): Likewise.
18962 (cacos_test): Use END_COMPLEX macro without arguments.
18963 (cacosh_test): Likewise.
18964 (carg_test): Use END macro without arguments.
18965 (casin_test): Use END_COMPLEX macro without arguments.
18966 (casinh_test): Likewise.
18967 (catan_test): Likewise.
18968 (catanh_test): Likewise.
18969 (cbrt_test): Use END macro without arguments.
18970 (ccos_test): Use END_COMPLEX macro without arguments.
18971 (ccosh_test): Likewise.
18972 (ceil_test): Use END macro without arguments.
18973 (cexp_test): Use END_COMPLEX macro without arguments.
18974 (cimag_test): Use END macro without arguments.
18975 (clog_test): Use END_COMPLEX macro without arguments.
18976 (clog10_test): Likewise.
18977 (conj_test): Likewise.
18978 (copysign_test): Use END macro without arguments.
18979 (cos_test): Likewise.
18980 (cos_test_tonearest): Likewise.
18981 (cos_test_towardzero): Likewise.
18982 (cos_test_downward): Likewise.
18983 (cos_test_upward): Likewise.
18984 (cosh_test): Likewise.
18985 (cosh_test_tonearest): Likewise.
18986 (cosh_test_towardzero): Likewise.
18987 (cosh_test_downward): Likewise.
18988 (cosh_test_upward): Likewise.
18989 (cpow_test): Use END_COMPLEX macro without arguments.
18990 (cproj_test): Likewise.
18991 (creal_test): Use END macro without arguments.
18992 (csin_test): Use END_COMPLEX macro without arguments.
18993 (csinh_test): Likewise.
18994 (csqrt_test): Likewise.
18995 (ctan_test): Likewise.
18996 (ctan_test_tonearest): Likewise.
18997 (ctan_test_towardzero): Likewise.
18998 (ctan_test_downward): Likewise.
18999 (ctan_test_upward): Likewise.
19000 (ctanh_test): Likewise.
19001 (ctanh_test_tonearest): Likewise.
19002 (ctanh_test_towardzero): Likewise.
19003 (ctanh_test_downward): Likewise.
19004 (ctanh_test_upward): Likewise.
19005 (erf_test): Use END macro without arguments.
19006 (erfc_test): Likewise.
19007 (exp_test): Likewise.
19008 (exp_test_tonearest): Likewise.
19009 (exp_test_towardzero): Likewise.
19010 (exp_test_downward): Likewise.
19011 (exp_test_upward): Likewise.
19012 (exp10_test): Likewise.
19013 (exp2_test): Likewise.
19014 (expm1_test): Likewise.
19015 (fabs_test): Likewise.
19016 (fdim_test): Likewise.
19017 (finite_test): Likewise.
19018 (floor_test): Likewise.
19019 (fma_test): Likewise.
19020 (fma_test_towardzero): Likewise.
19021 (fma_test_downward): Likewise.
19022 (fma_test_upward): Likewise.
19023 (fmax_test): Likewise.
19024 (fmin_test): Likewise.
19025 (fmod_test): Likewise.
19026 (fpclassify_test): Likewise.
19027 (frexp_test): Likewise.
19028 (gamma_test): Likewise.
19029 (hypot_test): Likewise.
19030 (ilogb_test): Likewise.
19031 (isfinite_test): Likewise.
19032 (isgreater_test): Likewise.
19033 (isgreaterequal_test): Likewise.
19034 (isinf_test): Likewise.
19035 (isless_test): Likewise.
19036 (islessequal_test): Likewise.
19037 (islessgreater_test): Likewise.
19038 (isnan_test): Likewise.
19039 (isnormal_test): Likewise.
19040 (issignaling_test): Likewise.
19041 (isunordered_test): Likewise.
19042 (j0_test): Likewise.
19043 (j1_test): Likewise.
19044 (jn_test): Likewise.
19045 (ldexp_test): Likewise.
19046 (lgamma_test): Likewise.
19047 (lrint_test): Likewise.
19048 (lrint_test_tonearest): Likewise.
19049 (lrint_test_towardzero): Likewise.
19050 (lrint_test_downward): Likewise.
19051 (lrint_test_upward): Likewise.
19052 (llrint_test): Likewise.
19053 (llrint_test_tonearest): Likewise.
19054 (llrint_test_towardzero): Likewise.
19055 (llrint_test_downward): Likewise.
19056 (llrint_test_upward): Likewise.
19057 (log_test): Likewise.
19058 (log10_test): Likewise.
19059 (log1p_test): Likewise.
19060 (log2_test): Likewise.
19061 (logb_test): Likewise.
19062 (logb_test_downward): Likewise.
19063 (lround_test): Likewise.
19064 (llround_test): Likewise.
19065 (modf_test): Likewise.
19066 (nearbyint_test): Likewise.
19067 (nextafter_test): Likewise.
19068 (nexttoward_test): Likewise.
19069 (pow_test): Likewise.
19070 (pow_test_tonearest): Likewise.
19071 (pow_test_towardzero): Likewise.
19072 (pow_test_downward): Likewise.
19073 (pow_test_upward): Likewise.
19074 (remainder_test): Likewise.
19075 (remainder_test_tonearest): Likewise.
19076 (remainder_test_towardzero): Likewise.
19077 (remainder_test_downward): Likewise.
19078 (remainder_test_upward): Likewise.
19079 (remquo_test): Likewise.
19080 (rint_test): Likewise.
19081 (rint_test_tonearest): Likewise.
19082 (rint_test_towardzero): Likewise.
19083 (rint_test_downward): Likewise.
19084 (rint_test_upward): Likewise.
19085 (round_test): Likewise.
19086 (scalb_test): Likewise.
19087 (scalbn_test): Likewise.
19088 (scalbln_test): Likewise.
19089 (signbit_test): Likewise.
19090 (sin_test): Likewise.
19091 (sin_test_tonearest): Likewise.
19092 (sin_test_towardzero): Likewise.
19093 (sin_test_downward): Likewise.
19094 (sin_test_upward): Likewise.
19095 (sincos_test): Likewise.
19096 (sinh_test): Likewise.
19097 (sinh_test_tonearest): Likewise.
19098 (sinh_test_towardzero): Likewise.
19099 (sinh_test_downward): Likewise.
19100 (sinh_test_upward): Likewise.
19101 (sqrt_test): Likewise.
19102 (tan_test): Likewise.
19103 (tan_test_tonearest): Likewise.
19104 (tan_test_towardzero): Likewise.
19105 (tan_test_downward): Likewise.
19106 (tan_test_upward): Likewise.
19107 (tanh_test): Likewise.
19108 (tgamma_test): Likewise.
19109 (trunc_test): Likewise.
19110 (y0_test): Likewise.
19111 (y1_test): Likewise.
19112 (yn_test): Likewise.
19113 (significand_test): Likewise.
19115 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19118 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19120 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19123 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19124 __ppc_mdoio and __ppc_mdoom.
19125 * manual/platform.texi: Document new functions __ppc_yield,
19126 __ppc_mdoio and __ppc_mdoom.
19128 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19130 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19131 (main): Mention "tls" pseudo-hwcap is legacy.
19132 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19134 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19136 * math/gen-libm-test.pl (parse_args): Output only string of
19137 arguments as text for test name, not full call or descriptions of
19138 tests for extra outputs.
19139 (generate_testfile): Do not pass function name to parse_args.
19140 Generate this_func variable from START.
19141 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19143 (struct test_ff_f_data): Likewise.
19144 (test_ff_f_data_nexttoward): Likewise.
19145 (struct test_fi_f_data): Likewise.
19146 (struct test_fl_f_data): Likewise.
19147 (struct test_if_f_data): Likewise.
19148 (struct test_fff_f_data): Likewise.
19149 (struct test_c_f_data): Likewise.
19150 (struct test_f_f1_data): Likewise. Remove field extra_name.
19151 (struct test_fF_f1_data): Likewise.
19152 (struct test_ffI_f1_data): Likewise.
19153 (struct test_c_c_data): Rename test_name field to arg_str.
19154 (struct test_cc_c_data): Likewise.
19155 (struct test_f_i_data): Likewise.
19156 (struct test_ff_i_data): Likewise.
19157 (struct test_f_l_data): Likewise.
19158 (struct test_f_L_data): Likewise.
19159 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19161 (COMMON_TEST_SETUP): New macro.
19162 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19163 (COMMON_TEST_CLEANUP): Likewise.
19164 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19165 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19167 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19168 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19170 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19171 (RUN_TEST_fff_f): Take argument string. Call new setup and
19173 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19174 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19176 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19177 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19179 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19180 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19182 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19183 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19185 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19186 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19188 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19189 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19191 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19192 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19194 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19195 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19197 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19198 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19200 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19201 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19203 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19204 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19206 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19207 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19209 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19210 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19212 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19213 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19215 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19216 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19218 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19220 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19222 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19223 to _sifields.sigfault.
19224 (si_addr_lsb): Define new macro.
19225 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19226 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19227 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19229 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19232 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19234 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19236 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19237 loading the domain.
19239 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19241 * math/gen-libm-test.pl (parse_args): Do not include expected
19242 result in test name.
19243 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19244 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19245 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19246 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19247 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19250 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19252 * benchtests/Makefile: Sort function entries.
19254 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19255 tanh, asinh, acosh, atanh.
19256 * benchtests/acos-inputs: New file.
19257 * benchtests/acosh-inputs: New file.
19258 * benchtests/asin-inputs: New file.
19259 * benchtests/asinh-inputs: New file.
19260 * benchtests/atanh-inputs: New file.
19261 * benchtests/cosh-inputs: New file.
19262 * benchtests/log-inputs: New file.
19263 * benchtests/sinh-inputs: New file.
19264 * benchtests/tanh-inputs: New file.
19266 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19269 * posix/tst-getaddrinfo4.c: New test.
19270 * posix/Makefile (tests): Add it.
19272 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19275 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19276 when no services were used.
19277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19278 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19280 2013-05-21 Andreas Schwab <schwab@suse.de>
19283 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19284 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19286 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19287 redundant variable declarations and reallocation of buffer when
19288 parsing as IPv6 address. Always set NSS status when called from
19289 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19290 buffer too small. Correct computation of needed size.
19291 * nss/Makefile (tests): Add test-digits-dots.
19292 * nss/test-digits-dots.c: New test.
19294 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19296 * benchtests/Makefile: Remove instructions for adding
19298 * benchtests/README: New file to explain how to execute and
19299 enhance the benchmark tests.
19301 2013-05-21 Andreas Schwab <schwab@suse.de>
19304 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19305 * setjmp/tst-sigsetjmp.c: New test.
19307 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19309 * sysdeps/x86_64/memset.S (memset): New implementation.
19310 (__bzero): Likewise.
19311 (__memset_tail): New function.
19313 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19315 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19316 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19317 __memcpy_sse2_unaligned ifunc selection.
19318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19319 Add memcpy-sse2-unaligned.S.
19320 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19321 Add: __memcpy_sse2_unaligned.
19323 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19326 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19327 math_force_eval before restoring floating-point envrionment.
19328 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19329 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19331 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19333 (__nearbyintl): Use math_force_eval before restoring
19334 floating-point environment.
19335 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19337 * math/gen-libm-test.pl (special_functions): Remove.
19338 (parse_args): Don't handle TEST_extra. Handle functions with no
19340 * math/libm-test.inc (struct test_sincos_data): Replace with
19341 struct test_fFF_11_data.
19342 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19343 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19344 (sincos_test_data): Change element type to struct
19345 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19346 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19347 RUN_TEST_LOOP_sincos.
19348 * math/README.libm-test: Don't mention special handling of
19349 individual functions.
19350 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19351 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19352 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19353 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19354 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19357 * math/gen-libm-test.pl (get_variable): Remove function.
19358 (parse_args): Don't show pointer parameters to call in test
19359 names. Use "extra output N" in test names for extra outputs
19360 rather than naming variables.
19362 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19365 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19366 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19367 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19369 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19371 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19374 * math/gen-libm-test.pl (@tests): Remove variable.
19375 ($count): Likewise.
19376 (new_test): Remove function.
19377 (show_exceptions): New function.
19378 (special_functions): Use show_exceptions instead of new_test.
19379 (parse_args): Likewise.
19380 (generate_testfile): Pass only function name in generated call to
19381 print_max_error or print_complex_max_error.
19382 (get_ulps): Do not handle complex tests specially.
19383 (output_test): Rename to ...
19384 (get_all_ulps_for_test): ... this. Return a string rather than
19385 printing to a file. Require ulps to be present.
19386 (output_ulps): Generate arrays rather than #defines.
19387 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19388 (struct ulp_data): New type.
19389 (BUILD_COMPLEX_ULP): Remove macro.
19390 (compare_ulp_data): New function.
19391 (find_ulps): Likewise.
19392 (find_test_ulps): Likewise.
19393 (find_function_ulps): Likewise.
19394 (find_complex_function_ulps): Likewise.
19395 (print_max_error): Determine allowed ulps using
19396 find_function_ulps.
19397 (print_complex_max_error): Determine allowed ulps using
19398 find_complex_function_ulps.
19399 (check_float_internal): Determine max ulps using find_test_ulps.
19400 (check_float): Do not take max_ulp parameter. Update call to
19401 check_float_internal.
19402 (check_complex): Likewise.
19403 (check_int): Do not take max_ulp parameter.
19404 (check_long): Likewise.
19405 (check_bool): Likewise.
19406 (check_longlong): Likewise.
19407 (struct test_f_f_data): Remove max_ulp field.
19408 (struct test_ff_f_data): Likewise.
19409 (struct test_ff_f_data_nexttoward): Likewise.
19410 (struct test_fi_f_data): Likewise.
19411 (struct test_fl_f_data): Likewise.
19412 (struct test_if_f_data): Likewise.
19413 (struct test_fff_f_data): Likewise.
19414 (struct test_c_f_data): Likewise.
19415 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19416 (struct test_fF_f1_data): Likewise.
19417 (struct test_ffI_f1_data): Likewise.
19418 (struct test_c_c_data): Remove max_ulp field.
19419 (struct test_cc_c_data): Likewise.
19420 (struct test_f_i_data): Likewise.
19421 (struct test_ff_i_data): Likewise.
19422 (struct test_f_l_data): Likewise.
19423 (struct test_f_L_data): Likewise.
19424 (struct test_sincos_data): Likewise.
19425 (RUN_TEST_f_f): Do not handle ulps.
19426 (RUN_TEST_LOOP_f_f): Likewise.
19427 (RUN_TEST_2_f): Likewise.
19428 (RUN_TEST_LOOP_2_f): Likewise.
19429 (RUN_TEST_fff_f): Likewise.
19430 (RUN_TEST_LOOP_fff_f): Likewise.
19431 (RUN_TEST_c_f): Likewise.
19432 (RUN_TEST_LOOP_c_f): Likewise.
19433 (RUN_TEST_f_f1): Likewise.
19434 (RUN_TEST_LOOP_f_f1): Likewise.
19435 (RUN_TEST_fF_f1): Likewise.
19436 (RUN_TEST_LOOP_fF_f1): Likewise.
19437 (RUN_TEST_fI_f1): Likewise.
19438 (RUN_TEST_LOOP_fI_f1): Likewise.
19439 (RUN_TEST_ffI_f1): Likewise.
19440 (RUN_TEST_LOOP_ffI_f1): Likewise.
19441 (RUN_TEST_c_c): Likewise.
19442 (RUN_TEST_LOOP_c_c): Likewise.
19443 (RUN_TEST_cc_c): Likewise.
19444 (RUN_TEST_LOOP_cc_c): Likewise.
19445 (RUN_TEST_f_i): Likewise.
19446 (RUN_TEST_LOOP_f_i): Likewise.
19447 (RUN_TEST_f_i_tg): Likewise.
19448 (RUN_TEST_LOOP_f_i_tg): Likewise.
19449 (RUN_TEST_ff_i_tg): Likewise.
19450 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19451 (RUN_TEST_f_b): Likewise.
19452 (RUN_TEST_LOOP_f_b): Likewise.
19453 (RUN_TEST_f_b_tg): Likewise.
19454 (RUN_TEST_LOOP_f_b_tg): Likewise.
19455 (RUN_TEST_f_l): Likewise.
19456 (RUN_TEST_LOOP_f_l): Likewise.
19457 (RUN_TEST_f_L): Likewise.
19458 (RUN_TEST_LOOP_f_L): Likewise.
19459 (RUN_TEST_sincos): Likewise.
19460 (RUN_TEST_LOOP_sincos): Likewise.
19462 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19466 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19467 main case of finite arguments, set rounding mode to FE_TONEAREST
19468 and discard exceptions.
19469 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19471 (remainder_tonearest_test_data): New variable.
19472 (remainder_test_tonearest): New function.
19473 (remainder_towardzero_test_data): New variable.
19474 (remainder_test_towardzero): New function.
19475 (remainder_downward_test_data): New variable.
19476 (remainder_test_downward): New function.
19477 (remainder_upward_test_data): New variable.
19478 (remainder_test_upward): New function.
19479 (main): Call the new test functions.
19481 * math/libm-test.inc (struct test_f_f1_data): Remove field
19483 (struct test_fF_f1_data): Likewise.
19484 (struct test_ffI_f1_data): Likewise.
19485 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19486 based on value of EXTRA_EXPECTED.
19487 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19488 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19489 EXTRA_VAR based on value of EXTRA_EXPECTED.
19490 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19491 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19492 EXTRA_VAR based on value of EXTRA_EXPECTED.
19493 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19494 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19495 EXTRA_VAR based on value of EXTRA_EXPECTED.
19496 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19497 * math/gen-libm-test.pl (parse_args): Don't output initializers
19498 for extra output values.
19500 * math/libm-test.inc (check_int): Expect result to be exactly
19501 equal to expected value and do not handle ulps.
19502 (check_long): Likewise.
19503 (check_longlong): Likewise.
19505 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19507 (cimag_test_data): Likewise.
19508 (conj_test_data): Likewise.
19509 (copysign_test_data): Likewise.
19510 (cproj_test_data): Likewise.
19511 (creal_test_data): Likewise.
19512 (fabs_test_data): Likewise.
19513 (fdim_test_data): Likewise.
19514 (finite_test_data): Likewise.
19515 (floor_test_data): Likewise.
19516 (fmax_test_data): Likewise.
19517 (fmin_test_data): Likewise.
19518 (fmod_test_data): Likewise.
19519 (fpclassify_test_data): Likewise.
19520 (frexp_test_data): Likewise.
19521 (ilogb_test_data): Likewise.
19522 (isfinite_test_data): Likewise.
19523 (isgreater_test_data): Likewise.
19524 (isgreaterequal_test_data): Likewise.
19525 (isinf_test_data): Likewise.
19526 (isless_test_data): Likewise.
19527 (islessequal_test_data): Likewise.
19528 (islessgreater_test_data): Likewise.
19529 (isnan_test_data): Likewise.
19530 (isnormal_test_data): Likewise.
19531 (issignaling_test_data): Likewise.
19532 (isunordered_test_data): Likewise.
19533 (ldexp_test_data): Likewise.
19534 (lrint_test_data): Likewise.
19535 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19536 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19537 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19538 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19539 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19540 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19542 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19543 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19544 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19545 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19547 (lrint_downward_test_data): Test for "inexact" exceptions.
19548 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19549 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19550 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19552 (lrint_upward_test_data): Test for "inexact" exceptions.
19553 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19555 (llrint_test_data): Test for "inexact" exceptions.
19556 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19557 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19558 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19559 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19560 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19561 (llrint_downward_test_data): Test for "inexact" exceptions.
19562 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19563 (llrint_upward_test_data): Test for "inexact" exceptions.
19564 (logb_test_data): Likewise.
19565 (logb_downward_test_data): Likewise.
19566 (nextafter_test_data): Likewise.
19567 (nexttoward_test_data): Likewise.
19568 (remainder_test_data): Likewise.
19569 (remquo_test_data): Likewise.
19570 (scalbn_test_data): Likewise.
19571 (scalbln_test_data): Likewise.
19572 (signbit_test_data): Likewise.
19573 (sqrt_test_data): Likewise.
19574 (significand_test_data): Likewise.
19576 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19579 * benchtests/bench-modf.c (struct args): Mark arg0 as
19581 * scripts/bench.pl: Mark members of struct args as volatile.
19583 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19586 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19587 negative infinity on POWER6 or lower.
19588 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19590 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19593 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19594 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19595 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19596 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19597 (_FP_SETQNAN): New macro.
19598 (_FP_SETQNAN_SEMIRAW): Likewise.
19599 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19600 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19601 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19602 (FP_EXTEND): Use _FP_FRAC_SNANP.
19603 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19604 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19606 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19608 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19611 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19613 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19614 with DIVIDE_BY_ZERO_EXCEPTION.
19615 (gamma_test_data): Likewise.
19616 (lgamma_test_data): Likewise.
19617 (log_test_data): Likewise.
19618 (log10_test_data): Likewise.
19619 (log2_test_data): Likewise.
19620 (tgamma_test_data): Likewise.
19622 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19623 (acos_test_tonearest): Likewise.
19624 (acos_test_towardzero): Likewise.
19625 (acos_test_downward): Likewise.
19626 (acos_test_upward): Likewise.
19627 (acosh_test): Likewise.
19628 (asin_test): Likewise.
19629 (asin_test_tonearest): Likewise.
19630 (asin_test_towardzero): Likewise.
19631 (asin_test_downward): Likewise.
19632 (asin_test_upward): Likewise.
19633 (asinh_test): Likewise.
19634 (atan_test): Likewise.
19635 (atanh_test): Likewise.
19636 (atan2_test): Likewise.
19637 (cabs_test): Likewise.
19638 (cacos_test): Likewise.
19639 (cacosh_test): Likewise.
19640 (casin_test): Likewise.
19641 (casinh_test): Likewise.
19642 (catan_test): Likewise.
19643 (catanh_test): Likewise.
19644 (cbrt_test): Likewise.
19645 (ccos_test): Likewise.
19646 (ccosh_test): Likewise.
19647 (cexp_test): Likewise.
19648 (clog_test): Likewise.
19649 (clog10_test): Likewise.
19650 (cos_test): Likewise.
19651 (cos_test_tonearest): Likewise.
19652 (cos_test_towardzero): Likewise.
19653 (cos_test_downward): Likewise.
19654 (cos_test_upward): Likewise.
19655 (cosh_test): Likewise.
19656 (cosh_test_tonearest): Likewise.
19657 (cosh_test_towardzero): Likewise.
19658 (cosh_test_downward): Likewise.
19659 (cosh_test_upward): Likewise.
19660 (cpow_test): Likewise.
19661 (csin_test): Likewise.
19662 (csinh_test): Likewise.
19663 (csqrt_test): Likewise.
19664 (ctan_test): Likewise.
19665 (ctan_test_tonearest): Likewise.
19666 (ctan_test_towardzero): Likewise.
19667 (ctan_test_downward): Likewise.
19668 (ctan_test_upward): Likewise.
19669 (ctanh_test): Likewise.
19670 (ctanh_test_tonearest): Likewise.
19671 (ctanh_test_towardzero): Likewise.
19672 (ctanh_test_downward): Likewise.
19673 (ctanh_test_upward): Likewise.
19674 (erf_test): Likewise.
19675 (erfc_test): Likewise.
19676 (exp_test): Likewise.
19677 (exp_test_tonearest): Likewise.
19678 (exp_test_towardzero): Likewise.
19679 (exp_test_downward): Likewise.
19680 (exp_test_upward): Likewise.
19681 (exp10_test): Likewise.
19682 (exp2_test): Likewise.
19683 (expm1_test): Likewise.
19684 (fmod_test): Likewise.
19685 (gamma_test): Likewise.
19686 (hypot_test): Likewise.
19687 (j0_test): Likewise.
19688 (j1_test): Likewise.
19689 (jn_test): Likewise.
19690 (lgamma_test): Likewise.
19691 (log_test): Likewise.
19692 (log10_test): Likewise.
19693 (log1p_test): Likewise.
19694 (log2_test): Likewise.
19695 (logb_test_downward): Likewise.
19696 (pow_test): Likewise.
19697 (pow_test_tonearest): Likewise.
19698 (pow_test_towardzero): Likewise.
19699 (pow_test_downward): Likewise.
19700 (pow_test_upward): Likewise.
19701 (remainder_test): Likewise.
19702 (remquo_test): Likewise.
19703 (sin_test): Likewise.
19704 (sin_test_tonearest): Likewise.
19705 (sin_test_towardzero): Likewise.
19706 (sin_test_downward): Likewise.
19707 (sin_test_upward): Likewise.
19708 (sincos_test): Likewise.
19709 (sinh_test): Likewise.
19710 (sinh_test_tonearest): Likewise.
19711 (sinh_test_towardzero): Likewise.
19712 (sinh_test_downward): Likewise.
19713 (sinh_test_upward): Likewise.
19714 (sqrt_test): Likewise.
19715 (tan_test): Likewise.
19716 (tan_test_tonearest): Likewise.
19717 (tan_test_towardzero): Likewise.
19718 (tan_test_downward): Likewise.
19719 (tan_test_upward): Likewise.
19720 (tanh_test): Likewise.
19721 (tgamma_test): Likewise.
19722 (y0_test): Likewise.
19723 (y1_test): Likewise.
19724 (yn_test): Likewise.
19726 * math/gen-libm-test.pl (adjust_arg): Remove function.
19727 (special_function): Remove argument $in_func. Only handle
19728 generating output for tables of tests, not inside functions.
19729 (parse_args): Likewise.
19730 (generate_testfile): Remove variable $in_func. Update call to
19732 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19733 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19734 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19735 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19736 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19737 (MAX_VALUE_INIT): Rename macro to max_value.
19738 (MIN_VALUE_INIT): Rename macro to min_value.
19739 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19740 (plus_zero): Remove variable.
19741 (minus_zero): Likewise.
19742 (plus_infty): Likewise.
19743 (minus_infty): Likewise.
19744 (qnan_value): Likewise.
19745 (max_value): Likewise.
19746 (min_value): Likewise.
19747 (min_subnorm_value): Likewise.
19749 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19751 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19752 uint64_t or uint32_t usage.
19753 * crypt/sha256-block.c: Likewise.
19754 * crypt/sha256-crypt.c: Likewise.
19755 * crypt/sha256.c: Likewise.
19756 * crypt/sha512-block.c: Likewise.
19757 * crypt/sha512-crypt.c: Likewise.
19758 * crypt/sha512.c: Likewise.
19759 * debug/backtrace-tst.c: Likewise.
19760 * debug/pcprofiledump.c: Likewise.
19761 * elf/cache.c: Likewise.
19762 * elf/dl-cache.c: Likewise.
19763 * elf/dl-misc.c: Likewise.
19764 * elf/dl-profile.c: Likewise.
19765 * elf/dl-support.c: Likewise.
19766 * elf/ldconfig.c: Likewise.
19767 * elf/sprof.c: Likewise.
19768 * iconv/dummy-repertoire.c: Likewise.
19769 * iconv/iconv_charmap.c: Likewise.
19770 * iconv/skeleton.c: Likewise.
19771 * iconvdata/8bit-generic.c: Likewise.
19772 * iconvdata/cp737.h: Likewise.
19773 * iconvdata/cp775.h: Likewise.
19774 * iconvdata/ibm1008.h: Likewise.
19775 * iconvdata/ibm1025.h: Likewise.
19776 * iconvdata/ibm1046.h: Likewise.
19777 * iconvdata/ibm1097.h: Likewise.
19778 * iconvdata/ibm1112.h: Likewise.
19779 * iconvdata/ibm1122.h: Likewise.
19780 * iconvdata/ibm1123.h: Likewise.
19781 * iconvdata/ibm1124.h: Likewise.
19782 * iconvdata/ibm1129.h: Likewise.
19783 * iconvdata/ibm1130.h: Likewise.
19784 * iconvdata/ibm1132.h: Likewise.
19785 * iconvdata/ibm1133.h: Likewise.
19786 * iconvdata/ibm1137.h: Likewise.
19787 * iconvdata/ibm1140.h: Likewise.
19788 * iconvdata/ibm1141.h: Likewise.
19789 * iconvdata/ibm1142.h: Likewise.
19790 * iconvdata/ibm1143.h: Likewise.
19791 * iconvdata/ibm1144.h: Likewise.
19792 * iconvdata/ibm1145.h: Likewise.
19793 * iconvdata/ibm1146.h: Likewise.
19794 * iconvdata/ibm1147.h: Likewise.
19795 * iconvdata/ibm1148.h: Likewise.
19796 * iconvdata/ibm1149.h: Likewise.
19797 * iconvdata/ibm1153.h: Likewise.
19798 * iconvdata/ibm1154.h: Likewise.
19799 * iconvdata/ibm1155.h: Likewise.
19800 * iconvdata/ibm1156.h: Likewise.
19801 * iconvdata/ibm1157.h: Likewise.
19802 * iconvdata/ibm1158.h: Likewise.
19803 * iconvdata/ibm1160.h: Likewise.
19804 * iconvdata/ibm1161.h: Likewise.
19805 * iconvdata/ibm1162.h: Likewise.
19806 * iconvdata/ibm1163.h: Likewise.
19807 * iconvdata/ibm1164.h: Likewise.
19808 * iconvdata/ibm1166.h: Likewise.
19809 * iconvdata/ibm1167.h: Likewise.
19810 * iconvdata/ibm12712.h: Likewise.
19811 * iconvdata/ibm1390.h: Likewise.
19812 * iconvdata/ibm1399.h: Likewise.
19813 * iconvdata/ibm16804.h: Likewise.
19814 * iconvdata/ibm4517.h: Likewise.
19815 * iconvdata/ibm4899.h: Likewise.
19816 * iconvdata/ibm4909.h: Likewise.
19817 * iconvdata/ibm4971.h: Likewise.
19818 * iconvdata/ibm5347.h: Likewise.
19819 * iconvdata/ibm803.h: Likewise.
19820 * iconvdata/ibm856.h: Likewise.
19821 * iconvdata/ibm901.h: Likewise.
19822 * iconvdata/ibm902.h: Likewise.
19823 * iconvdata/ibm9030.h: Likewise.
19824 * iconvdata/ibm9066.h: Likewise.
19825 * iconvdata/ibm921.h: Likewise.
19826 * iconvdata/ibm922.h: Likewise.
19827 * iconvdata/ibm9448.h: Likewise.
19828 * iconvdata/isiri-3342.h: Likewise.
19829 * iconvdata/jis0201.h: Likewise.
19830 * include/link.h: Likewise.
19831 * include/netdb.h: Likewise.
19832 * inet/check_native.c: Likewise.
19833 * inet/check_pf.c: Likewise.
19834 * inet/getipv4sourcefilter.c: Likewise.
19835 * inet/getnameinfo.c: Likewise.
19836 * inet/getsourcefilter.c: Likewise.
19837 * inet/htonl.c: Likewise.
19838 * inet/setipv4sourcefilter.c: Likewise.
19839 * inet/setsourcefilter.c: Likewise.
19840 * inet/test-inet6_opt.c: Likewise.
19841 * inet/tst-network.c: Likewise.
19842 * locale/C-collate.c: Likewise.
19843 * locale/C-ctype.c: Likewise.
19844 * locale/C-time.c: Likewise.
19845 * locale/C-translit.h: Likewise.
19846 * locale/loadarchive.c: Likewise.
19847 * locale/programs/3level.h: Likewise.
19848 * locale/programs/charmap.c: Likewise.
19849 * locale/programs/charmap.h: Likewise.
19850 * locale/programs/ld-address.c: Likewise.
19851 * locale/programs/ld-collate.c: Likewise.
19852 * locale/programs/ld-ctype.c: Likewise.
19853 * locale/programs/ld-identification.c: Likewise.
19854 * locale/programs/ld-measurement.c: Likewise.
19855 * locale/programs/ld-messages.c: Likewise.
19856 * locale/programs/ld-monetary.c: Likewise.
19857 * locale/programs/ld-name.c: Likewise.
19858 * locale/programs/ld-numeric.c: Likewise.
19859 * locale/programs/ld-paper.c: Likewise.
19860 * locale/programs/ld-telephone.c: Likewise.
19861 * locale/programs/ld-time.c: Likewise.
19862 * locale/programs/linereader.c: Likewise.
19863 * locale/programs/locale.c: Likewise.
19864 * locale/programs/locarchive.c: Likewise.
19865 * locale/programs/locfile.h: Likewise.
19866 * locale/programs/repertoire.c: Likewise.
19867 * locale/programs/simple-hash.c: Likewise.
19868 * locale/programs/simple-hash.h: Likewise.
19869 * malloc/memusage.c: Likewise.
19870 * malloc/memusagestat.c: Likewise.
19871 * nis/nis_defaults.c: Likewise.
19872 * nis/nis_hash.c: Likewise.
19873 * nis/nis_print.c: Likewise.
19874 * nis/nis_xdr.c: Likewise.
19875 * nscd/connections.c: Likewise.
19876 * nscd/hstcache.c: Likewise.
19877 * nscd/nscd_gethst_r.c: Likewise.
19878 * nscd/nscd_getserv_r.c: Likewise.
19879 * nscd/nscd_helper.c: Likewise.
19880 * nscd/servicescache.c: Likewise.
19881 * nss/makedb.c: Likewise.
19882 * nss/nss_db/db-XXX.c: Likewise.
19883 * nss/nss_db/db-initgroups.c: Likewise.
19884 * nss/nss_db/db-netgrp.c: Likewise.
19885 * nss/nss_files/files-network.c: Likewise.
19886 * nss/nss_files/files-parse.c: Likewise.
19887 * posix/bug-regex5.c: Likewise.
19888 * posix/fnmatch_loop.c: Likewise.
19889 * posix/regcomp.c: Likewise.
19890 * posix/regexec.c: Likewise.
19891 * posix/tst-rfc3484-2.c: Likewise.
19892 * posix/tst-rfc3484-3.c: Likewise.
19893 * posix/tst-rfc3484.c: Likewise.
19894 * resolv/nss_dns/dns-canon.c: Likewise.
19895 * resolv/nss_dns/dns-network.c: Likewise.
19896 * resolv/res_init.c: Likewise.
19897 * resolv/res_mkquery.c: Likewise.
19898 * resolv/tst-aton.c: Likewise.
19899 * stdlib/cxa_atexit.c: Likewise.
19900 * stdlib/cxa_finalize.c: Likewise.
19901 * stdlib/gen-fpioconst.c: Likewise.
19902 * stdlib/strtol_l.c: Likewise.
19903 * string/tst-endian.c: Likewise.
19904 * sunrpc/auth_des.c: Likewise.
19905 * sunrpc/clnt_udp.c: Likewise.
19906 * sunrpc/rtime.c: Likewise.
19907 * sunrpc/svcauth_des.c: Likewise.
19908 * sunrpc/xdr.c: Likewise.
19909 * sunrpc/xdr_intXX_t.c: Likewise.
19910 * sunrpc/xdr_rec.c: Likewise.
19911 * sysdeps/generic/ldconfig.h: Likewise.
19912 * sysdeps/generic/ldsodefs.h: Likewise.
19913 * sysdeps/generic/memusage.h: Likewise.
19914 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19915 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19916 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19917 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19918 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19919 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19920 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19921 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19922 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19923 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19924 * sysdeps/posix/getaddrinfo.c: Likewise.
19925 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19926 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19927 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19928 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19929 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19930 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19931 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19932 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19933 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19934 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19935 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19936 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19937 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19938 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19939 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19940 * sysdeps/x86_64/dl-tls.h: Likewise.
19941 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19942 * time/alt_digit.c: Likewise.
19943 * time/era.c: Likewise.
19944 * wcsmbs/tst-c16c32-1.c: Likewise.
19946 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19948 * math/libm-test.inc (struct test_sincos_data): New type.
19949 (RUN_TEST_LOOP_sincos): New macro.
19950 (sincos_test_data): New variable.
19951 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19953 2013-05-16 Richard Henderson <rth@redhat.com>
19955 * math/atest-exp2.c (LIMB64): New macro.
19956 (CONSTSZ): New macro.
19957 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19959 (print_mpn_fp): ... to function scope.
19960 (read_mpn_hex): Remove.
19961 (get_log2): Remove.
19962 (exp2_mpn): Use mp_log2.
19963 (main): Use mp_exp1.
19965 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19967 * math/libm-test.inc: Remove comment about not testing "inexact"
19969 (INEXACT_EXCEPTION): New macro.
19970 (NO_INEXACT_EXCEPTION): Likewise.
19971 (INVALID_EXCEPTION_OK): Update value.
19972 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19973 (OVERFLOW_EXCEPTION_OK): Likewise.
19974 (UNDERFLOW_EXCEPTION_OK): Likewise.
19975 (IGNORE_ZERO_INF_SIGN): Likewise.
19976 (ERRNO_UNCHANGED): Likewise.
19977 (ERRNO_EDOM): Likewise.
19978 (ERRNO_ERANGE): Likewise.
19979 (test_exceptions): Handle testing "inexact" exceptions.
19980 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19981 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19982 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19983 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19985 (rint_towardzero_test_data): Likewise.
19986 (rint_downward_test_data): Likewise.
19987 (rint_upward_test_data): Likewise.
19989 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19990 with OVERFLOW_EXCEPTION.
19991 (exp10_test_data): Likewise.
19992 (exp2_test_data): Likewise.
19993 (expm1_test_data): Likewise.
19994 (lgamma_test_data): Likewise.
19995 (pow_test_data): Likewise.
19996 (tgamma_test_data): Likewise.
19997 (yn_test_data): Remove duplicate test of overflow.
19999 * math/libm-test.inc (struct test_cc_c_data): New type.
20000 (RUN_TEST_LOOP_cc_c): New macro.
20001 (cpow_test_data): New variable.
20002 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20004 * math/libm-test.inc (struct test_f_L_data): New type.
20005 (RUN_TEST_LOOP_f_L): New macro.
20006 (llrint_test_data): New variable.
20007 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20008 (llrint_tonearest_test_data): New variable.
20009 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20010 (llrint_towardzero_test_data): New variable.
20011 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20012 (llrint_downward_test_data): New variable.
20013 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20014 (llrint_upward_test_data): New variable.
20015 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20016 (llround_test_data): New variable.
20017 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20019 2013-05-13 Peter Collingbourne <pcc@google.com>
20021 * math/atest-exp2.c (get_log2): Remove const attribute.
20023 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20025 * math/libm-test.inc (struct test_f_l_data): New type.
20026 (RUN_TEST_LOOP_f_l): New macro.
20027 (lrint_test_data): New variable.
20028 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20029 (lrint_tonearest_test_data): New variable.
20030 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20031 (lrint_towardzero_test_data): New variable.
20032 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20033 (lrint_downward_test_data): New variable.
20034 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20035 (lrint_upward_test_data): New variable.
20036 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20037 (lround_test_data): New variable.
20038 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20040 2013-05-15 Peter Collingbourne <pcc@google.com>
20042 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20043 (EXTRACT_WORDS64) Use where appropriate.
20044 (INSERT_WORDS64) Likewise.
20046 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20047 constraints with x constraints.
20048 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20050 * malloc/obstack.c (_obstack_compat): Add initializer.
20052 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20054 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20055 si_trapno and add si_addr_lsb to _sifields.sigfault.
20056 (si_trapno): Remove macro.
20057 (si_addr_lsb): Define new macro.
20058 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20060 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20062 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20063 instead of TEST_f_l.
20064 (llrint_test_tonearest): Likewise.
20065 (llrint_test_towardzero): Likewise.
20066 (llrint_test_downward): Likewise.
20067 (llrint_test_upward): Likewise.
20068 (llround_test): Likewise.
20070 * math/libm-test.inc (struct test_f_i_data): Add comment.
20071 (RUN_TEST_LOOP_f_b): New macro.
20072 (RUN_TEST_LOOP_f_b_tg): Likewise.
20073 (finite_test_data): New variable.
20074 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20075 (isfinite_test_data): New variable.
20076 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20077 (isinf_test_data): New variable.
20078 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20079 (isnan_test_data): New variable.
20080 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20081 (isnormal_test_data): New variable.
20082 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20083 (issignaling_test_data): New variable.
20084 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20085 (signbit_test_data): New variable.
20086 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20088 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20089 with INVALID_EXCEPTION.
20090 (acosh_test_data): Likewise.
20091 (asin_test_data): Likewise.
20092 (atanh_test_data): Likewise.
20093 (fmod_test_data): Likewise.
20094 (log_test_data): Likewise.
20095 (log10_test_data): Likewise.
20096 (log2_test_data): Likewise.
20097 (pow_test_data): Likewise.
20098 (sqrt_test_data): Likewise.
20099 (y0_test_data): Likewise.
20100 (y1_test_data): Likewise.
20101 (yn_test_data): Likewise.
20103 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20106 * math/libm-test.inc (struct test_ff_i_data): New type.
20107 (RUN_TEST_LOOP_ff_i_tg): New macro.
20108 (isgreater_test_data): New variable.
20109 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20110 (isgreaterequal_test_data): New variable.
20111 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20112 (isless_test_data): New variable.
20113 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20114 (islessequal_test_data): New variable.
20115 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20116 (islessgreater_test_data): New variable.
20117 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20118 (isunordered_test_data): New variable.
20119 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20121 2013-05-14 David S. Miller <davem@davemloft.net>
20123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20125 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20127 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20129 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20131 (struct test_f_i_data): Change type of max_ulp to int.
20133 * math/libm-test.inc (test_ffI_f1_data): New type.
20134 (RUN_TEST_LOOP_ffI_f1): New macro.
20135 (remquo_test_data): New variable.
20136 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20138 * setjmp/tst-setjmp-fp.c: New file.
20139 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20140 (link-libm): New variable.
20141 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20143 * math/libm-test.inc (struct test_f_i_data): New type.
20144 (RUN_TEST_LOOP_f_i): New macro.
20145 (RUN_TEST_LOOP_f_i_tg): Likewise.
20146 (fpclassify_test_data): New variable.
20147 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20148 (ilogb_test_data): New variable.
20149 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20151 * math/libm-test.inc (scalbln_test): Correct function name in END
20154 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20155 (RUN_TEST_LOOP_fI_f1): New macro.
20156 (frexp_test_data): New variable.
20157 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20159 * math/libm-test.inc (struct test_fF_f1_data): New type.
20160 (RUN_TEST_LOOP_fF_f1): New macro.
20161 (modf_test_data): New variable.
20162 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20164 * math/libm-test.inc (struct test_f_f1_data): New type.
20165 (RUN_TEST_LOOP_f_f1): New macro.
20166 (gamma_test_data): New variable.
20167 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20168 (lgamma_test_data): New variable.
20169 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20171 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20173 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20174 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20175 (main): Comment "tls" pseudo-hwcap.
20177 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20179 * math/libm-test.inc (struct test_fl_f_data): New type.
20180 (RUN_TEST_LOOP_fl_f): New variable.
20181 (scalbln_test_data): New variable.
20182 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20184 * math/libm-test.inc (struct test_fi_f_data): New type.
20185 (RUN_TEST_LOOP_fi_f): New macro.
20186 (ldexp_test_data): New variable.
20187 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20188 (scalbn_test_data): New variable.
20189 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20191 * math/libm-test.inc (struct test_c_f_data): New type.
20192 (RUN_TEST_LOOP_c_f): New macro.
20193 (cabs_test_data): New variable.
20194 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20195 (carg_test_data): New variable.
20196 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20197 (cimag_test_data): New variable.
20198 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20199 (creal_test_data): New variable.
20200 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20202 * math/libm-test.inc (struct test_if_f_data): New type.
20203 (RUN_TEST_LOOP_if_f): New macro.
20204 (jn_test_data): New variable.
20205 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20206 (yn_test_data): New variable.
20207 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20209 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20211 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20213 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20214 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20216 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20218 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20219 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20220 (bench-deps): Add bench-timing.h.
20221 * benchtests-bench-skeleton.c: Include bench-timing.h.
20222 (main): Use TIMING_* macros instead of clock_gettime.
20223 * benchtests/bench-timing.h: New file.
20226 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20227 Renamed from _LIB_VERSION.
20228 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20230 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20232 * math/libm-test.inc (struct test_fff_f_data): New type.
20233 (RUN_TEST_LOOP_fff_f): New macro.
20234 (fma_test_data): New variable.
20235 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20236 (fma_towardzero_test_data): New variable.
20237 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20238 (fma_downward_test_data): New variable.
20239 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20240 (fma_upward_test_data): New variable.
20241 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20243 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20244 (struct test_c_c_data): New type.
20245 (RUN_TEST_LOOP_c_c): New macro.
20246 (cacos_test_data): New variable.
20247 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20248 (cacosh_test_data): New variable.
20249 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20250 (casin_test_data): New variable.
20251 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20252 (casinh_test_data): New variable.
20253 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20254 (catan_test_data): New variable.
20255 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20256 (catanh_test_data): New variable.
20257 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20258 (ccos_test_data): New variable.
20259 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20260 (ccosh_test_data): New variable.
20261 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20262 (cexp_test_data): New variable.
20263 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20264 (clog_test_data): New variable.
20265 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20266 (clog10_test_data): New variable.
20267 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20268 (conj_test_data): New variable.
20269 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20270 (cproj_test_data): New variable.
20271 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20272 (csin_test_data): New variable.
20273 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20274 (csinh_test_data): New variable.
20275 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20276 (csqrt_test_data): New variable.
20277 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20278 (ctan_test_data): New variable.
20279 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20280 (ctan_tonearest_test_data): New variable.
20281 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20282 (ctan_towardzero_test_data): New variable.
20283 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20284 (ctan_downward_test_data): New variable.
20285 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20286 (ctan_upward_test_data): New variable.
20287 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20288 (ctanh_test_data): New variable.
20289 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20290 (ctanh_tonearest_test_data): New variable.
20291 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20292 (ctanh_towardzero_test_data): New variable.
20293 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20294 (ctanh_downward_test_data): New variable.
20295 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20296 (ctanh_upward_test_data): New variable.
20297 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20298 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20301 * math/libm-test.inc (struct test_ff_f_data): New type.
20302 (struct test_ff_f_data_nexttoward): Likewise.
20303 (RUN_TEST_LOOP_2_f): New macro.
20304 (RUN_TEST_LOOP_ff_f): Likewise.
20305 (atan2_test_data): New variable.
20306 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20307 (copysign_test_data): New variable.
20308 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20309 (fdim_test_data): New variable.
20310 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20311 (fmax_test_data): New variable.
20312 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20313 (fmin_test_data): New variable.
20314 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20315 (fmod_test_data): New variable.
20316 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20317 (hypot_test_data): New variable.
20318 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20319 (nextafter_test_data): New variable.
20320 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20321 (nexttoward_test_data): New variable.
20322 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20323 (pow_test_data): New variable.
20324 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20325 (pow_tonearest_test_data): New variable.
20326 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20327 (pow_towardzero_test_data): New variable.
20328 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20329 (pow_downward_test_data): New variable.
20330 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20331 (pow_upward_test_data): New variable.
20332 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20333 (remainder_test_data): New variable.
20334 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20335 (scalb_test_data): New variable.
20336 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20337 * sysdeps/i386/fpu/libm-test-ulps: Update.
20339 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20341 * math/libm-test.inc (fma_test): Use max_value instead of local
20343 (nextafter_test): Likewise.
20345 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20346 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20347 (acos_downward_test_data): New variable.
20348 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20349 (acos_upward_test_data): New variable.
20350 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20351 (acosh_test_data): New variable.
20352 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20353 (asin_test_data): New variable.
20354 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20355 (asin_tonearest_test_data): New variable.
20356 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20357 (asin_towardzero_test_data): New variable.
20358 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20359 (asin_downward_test_data): New variable.
20360 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20361 (asin_upward_test_data): New variable.
20362 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20363 (asinh_test_data): New variable.
20364 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20365 (atan_test_data): New variable.
20366 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20367 (atanh_test_data): New variable.
20368 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20369 (cbrt_test_data): New variable.
20370 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20371 (ceil_test_data): New variable.
20372 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20373 (cos_test_data): New variable.
20374 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20375 (cos_tonearest_test_data): New variable.
20376 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20377 (cos_towardzero_test_data): New variable.
20378 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20379 (cos_downward_test_data): New variable.
20380 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20381 (cos_upward_test_data): New variable.
20382 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20383 (cosh_test_data): New variable.
20384 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20385 (cosh_tonearest_test_data): New variable.
20386 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20387 (cosh_towardzero_test_data): New variable.
20388 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20389 (cosh_downward_test_data): New variable.
20390 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20391 (cosh_upward_test_data): New variable.
20392 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20393 (erf_test_data): New variable.
20394 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20395 (erfc_test_data): New variable.
20396 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20397 (exp_test_data): New variable.
20398 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20399 (exp_tonearest_test_data): New variable.
20400 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20401 (exp_towardzero_test_data): New variable.
20402 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20403 (exp_downward_test_data): New variable.
20404 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20405 (exp_upward_test_data): New variable.
20406 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20407 (exp10_test_data): New variable.
20408 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20409 (exp2_test_data): New variable.
20410 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20411 (expm1_test_data): New variable.
20412 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20413 (fabs_test_data): New variable.
20414 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20415 (floor_test_data): New variable.
20416 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20417 (j0_test_data): New variable.
20418 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20419 (j1_test_data): New variable.
20420 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20421 (log_test_data): New variable.
20422 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20423 (log10_test_data): New variable.
20424 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20425 (log1p_test_data): New variable.
20426 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20427 (log2_test_data): New variable.
20428 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20429 (logb_test_data): New variable.
20430 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20431 (logb_downward_test_data): New variable.
20432 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20433 (nearbyint_test_data): New variable.
20434 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20435 (rint_test_data): New variable.
20436 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20437 (rint_tonearest_test_data): New variable.
20438 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20439 (rint_towardzero_test_data): New variable.
20440 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20441 (rint_downward_test_data): New variable.
20442 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20443 (rint_upward_test_data): New variable.
20444 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20445 (round_test_data): New variable.
20446 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20447 (sin_test_data): New variable.
20448 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20449 (sin_tonearest_test_data): New variable.
20450 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20451 (sin_towardzero_test_data): New variable.
20452 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20453 (sin_downward_test_data): New variable.
20454 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20455 (sin_upward_test_data): New variable.
20456 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20457 (sinh_test_data): New variable.
20458 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20459 (sinh_tonearest_test_data): New variable.
20460 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20461 (sinh_towardzero_test_data): New variable.
20462 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20463 (sinh_downward_test_data): New variable.
20464 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20465 (sinh_upward_test_data): New variable.
20466 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20467 (sqrt_test_data): New variable.
20468 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20469 (tan_test_data): New variable.
20470 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20471 (tan_tonearest_test_data): New variable.
20472 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20473 (tan_towardzero_test_data): New variable.
20474 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20475 (tan_downward_test_data): New variable.
20476 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20477 (tan_upward_test_data): New variable.
20478 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20479 (tanh_test_data): New variable.
20480 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20481 (tgamma_test_data): New variable.
20482 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20483 (trunc_test_data): New variable.
20484 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20485 (y0_test_data): New variable.
20486 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20487 (y1_test_data): New variable.
20488 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20489 (significand_test_data): New variable.
20490 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20492 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20495 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20497 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20499 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20501 2013-05-10 Andreas Jaeger <aj@suse.de>
20504 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20505 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20507 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20509 * math/gen-libm-test.pl (adjust_arg): New function.
20510 (special_functions): Handle generating output in both functions
20512 (parse_args): Likewise.
20513 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20514 $in_func argument to parse_args.
20515 * math/libm-test.inc (struct test_f_f_data): New type.
20516 (IF_ROUND_INIT_): New macro.
20517 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20518 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20519 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20520 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20521 (ROUND_RESTORE_): Likewise.
20522 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20523 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20524 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20525 (ROUND_RESTORE_FE_UPWARD): Likewise.
20526 (RUN_TEST_LOOP_f_f): New macro.
20527 (acos_test_data): New variable.
20528 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20529 (acos_tonearest_test_data): New variable.
20530 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20532 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20534 * benchtests/bench-skeleton.c (startup): Fix coding style.
20536 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20539 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20540 negative infinity argument.
20541 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20542 negative infinity argument.
20543 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20544 negative infinity argument.
20545 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20548 2013-05-10 Florian Weimer <fweimer@redhat.com>
20550 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20551 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20552 * iconv/iconv_prog.c (main): Likewise.
20553 * locale/programs/charmap-dir.c (charmap_readdir)
20554 (fopen_uncompressed): Likewise.
20555 * locale/programs/locfile.c (siblings_uncached)
20556 (write_locale_data): Use lstat64 instead of lstat.
20557 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20560 2013-05-10 Andreas Jaeger <aj@suse.de>
20563 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20565 Include <locale.h>.
20567 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20569 * elf/dl-close.c (_dl_close_worker): Add comments.
20571 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20574 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20576 (__ieee754_rem_pio2l): Update comments.
20579 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20581 (__ieee754_rem_pio2l): Update comments.
20583 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20584 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20586 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20589 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20590 (M_PI_34_LOG10El): Likewise.
20591 (M_PI2_LOG10El): Likewise.
20592 (M_PI4_LOG10El): Likewise.
20593 (M_PI_LOG10El): Likewise.
20595 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20599 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20601 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20602 (MINUS_ZERO_INIT): Likewise.
20603 (PLUS_INFTY_INIT): Likewise.
20604 (MINUS_INFTY_INIT): Likewise.
20605 (QNAN_VALUE_INIT): Likewise.
20606 (MAX_VALUE_INIT): Likewise.
20607 (MIN_VALUE_INIT): Likewise.
20608 (MIN_SUBNORM_VALUE_INIT): Likewise.
20609 (plus_zero): Initialize with PLUS_ZERO_INIT.
20610 (minus_zero): Initialize with MINUS_ZERO_INIT.
20611 (plus_infty): Initialize with PLUS_INFTY_INIT.
20612 (minus_infty): Initialize with MINUS_INFTY_INIT.
20613 (qnan_value): Initialize with QNAN_VALUE_INIT.
20614 (max_value): Initialize with MAX_VALUE_INIT.
20615 (min_value): Initialize with MIN_VALUE_INIT.
20616 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20618 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20619 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20620 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20621 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20623 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20624 (RUN_TEST_2_f): Likewise.
20625 (RUN_TEST_ff_f): Likewise.
20626 (RUN_TEST_fi_f): Likewise.
20627 (RUN_TEST_fl_f): Likewise.
20628 (RUN_TEST_fff_f): Likewise.
20629 (RUN_TEST_c_f): Likewise.
20630 (RUN_TEST_f_f1): Likewise.
20631 (RUN_TEST_fF_f1): Likewise.
20632 (RUN_TEST_fI_f1): Likewise.
20633 (RUN_TEST_ffI_f1): Likewise.
20634 (RUN_TEST_c_c): Likewise.
20635 (RUN_TEST_cc_c): Likewise.
20636 (RUN_TEST_f_i): Likewise.
20637 (RUN_TEST_f_i_tg): Likewise.
20638 (RUN_TEST_ff_i_tg): Likewise.
20639 (RUN_TEST_f_b): Likewise.
20640 (RUN_TEST_f_b_tg): Likewise.
20641 (RUN_TEST_f_l): Likewise.
20642 (RUN_TEST_f_L): Likewise.
20643 (RUN_TEST_sincos): Likewise.
20644 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20645 whether to show exceptions. Do not include ");\n" in return
20647 (special_functions): Output call to RUN_TEST_sincos instead of
20648 check_float calls. Update calls to new_test.
20649 (parse_args): Output call to single RUN_TEST_* macro instead of
20650 check_* calls and other assignments. Update calls to new_test.
20656 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20657 input to result for tgamma overflow.
20658 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20659 (gamma_coeff): New variable.
20660 (NCOEFF): New macro.
20661 (gamma_positive): New function.
20662 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20663 underflow here. Use gamma_positive instead of exp (lgamma) for
20665 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20666 (gamma_coeff): New variable.
20667 (NCOEFF): New macro.
20668 (gammaf_positive): New function.
20669 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20670 underflow here. Use gamma_positive instead of exp (lgamma) for
20672 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20673 (gamma_coeff): New variable.
20674 (NCOEFF): New macro.
20675 (gammal_positive): New function.
20676 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20677 underflow here. Use gamma_positive instead of exp (lgamma) for
20679 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20680 (gamma_coeff): New variable.
20681 (NCOEFF): New macro.
20682 (gammal_positive): New function.
20683 (__ieee754_gammal_r): Handle positive infinity, overflow and
20684 underflow here. Handle NaN the same as positive infinity. Remove
20685 check x < 0xffffffff for negative integers. Use gamma_positive
20686 instead of exp (lgamma) for other arguments.
20687 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20688 (gamma_coeff): New variable.
20689 (NCOEFF): New macro.
20690 (gammal_positive): New function.
20691 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20692 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20693 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20694 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20695 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20696 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20697 * sysdeps/generic/math_private.h (__gamma_productf): New
20699 (__gamma_product): Likewise.
20700 (__gamma_productl): Likewise.
20701 * math/Makefile (libm-calls): Add gamma_product.
20702 * math/libm-test.inc (tgamma_test): Add more tests.
20703 * sysdeps/i386/fpu/libm-test-ulps: Update.
20704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20706 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20708 * benchtests/bench-skeleton.c (main): Preheat CPU.
20710 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20712 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20714 2013-05-07 Roland McGrath <roland@hack.frob.com>
20716 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20717 and _dl_skip_args_internal.
20719 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20721 * manual/message.texi (Message Translation): Talk about users.
20722 Message to key mapping impacts design.
20724 2013-05-06 Roland McGrath <roland@hack.frob.com>
20726 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20728 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20730 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20731 * sysdeps/wordsize-64/glob64.c: ... here.
20733 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20734 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20737 * debug/getlogin_r_chk.c: Moved to ...
20738 * login/getlogin_r_chk.c: ... here.
20739 * debug/Makefile (routines): Move getlogin_r_chk to ...
20740 * login/Makefile (routines): ... here.
20741 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20742 * login/Versions (libc: GLIBC_2.4): ... here.
20744 * io/poll.c (__poll): Renamed from poll.
20745 Add libc_hidden_def.
20746 (poll): Define as weak alias.
20748 * debug/ptsname_r_chk.c: Moved to ...
20749 * login/ptsname_r_chk.c: ... here.
20750 * debug/Makefile (routines): Move ptsname_r_chk to ...
20751 * login/Makefile (routines): ... here.
20752 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20753 * login/Versions (libc: GLIBC_2.4): ... here.
20755 * posix/getlogin.c: Moved to ...
20756 * login/getlogin.c: ... here.
20757 * posix/getlogin_r.c: Moved to ...
20758 * login/getlogin_r.c: ... here.
20759 * posix/getlogin_r.c: Moved to ...
20760 * login/getlogin_r.c: ... here.
20761 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20762 * login/Makefile (routines): ... here.
20763 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20764 * login/Versions (libc: GLIBC_2.0): ... here.
20766 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20767 (setrlimit): Define as weak alias.
20769 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20770 Call __ names for open, ftruncate, and close.
20771 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20772 (truncate): Define as weak alias.
20774 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20776 * math/gen-libm-test.pl (parse_args): Initialize x before each
20777 test of frexp, modf and remquo.
20779 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20780 test signgam value.
20782 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20786 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20788 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20790 2013-05-06 Roland McGrath <roland@hack.frob.com>
20792 * elf/dl-writev.h: New file.
20793 * elf/dl-misc.c: Include it.
20794 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20795 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20797 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20799 * math/libm-test.inc (noXFails): Remove variable.
20800 (noXPasses): Likewise.
20801 (BUILD_COMPLEX_INT): Remove macro.
20802 (print_screen): Remove xfail argument.
20803 (print_screen_max_error): Likewise.
20804 (update_stats): Likewise.
20805 (print_max_error): Likewise. Update calls to other affected
20807 (print_complex_max_error): Likewise.
20808 (test_single_exception): Update calls to print_screen.
20809 (test_single_errno): Likewise.
20810 (check_float_internal): Remove xfail argument. Update calls to
20811 other affected functions.
20812 (check_float): Likewise.
20813 (check_complex): Likewise.
20814 (check_int): Likewise.
20815 (check_long): Likewise.
20816 (check_bool): Likewise.
20817 (check_longlong): Likewise.
20818 (main): Don't print noXFails and noXPasses.
20819 * math/gen-libm-test.pl (top level): Don't mention expected
20820 failure handling in comment.
20821 (new_test): Don't handle expected failures.
20822 (parse_args): Don't mention expected failure handling in comment.
20823 (generate_testfile): Don't handle expected failures.
20824 (parse_ulps): Likewise.
20825 (print_ulps_file): Likewise.
20826 (get_failure): Remove function.
20827 (output_test): Don't handle expected failures.
20828 * make/README.libm-test: Don't mention expected failure handling.
20830 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20831 (minus_zero): Likewise.
20832 (plus_infty): Likewise.
20833 (minus_infty): Likewise.
20834 (qnan_value): Likewise.
20835 (max_value): Likewise.
20836 (min_value): Likewise.
20837 (min_subnorm_value): Likewise.
20838 (initialize): Do not initialize those variables dynamically.
20840 2013-05-03 Roland McGrath <roland@hack.frob.com>
20842 * io/open.c (__open_2): Moved to ...
20843 * io/open_2.c: ... this new file.
20844 * io/open64.c (__open64_2): Moved to ...
20845 * io/open64_2.c: ... this new file.
20846 * io/openat.c (__openat_2): Moved to ...
20847 * io/openat_2.c: ... this new file.
20848 * io/openat64.c (__openat64_2): Moved to ...
20849 * io/openat64_2.c: ... this new file.
20850 * io/Makefile (routines): Add them.
20851 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20852 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20853 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20854 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20855 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20856 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20857 (__openat64): Add hidden_ver.
20858 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20859 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20861 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20862 Separately conditionalize setting of GLRO(dl_sysinfo) so
20863 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20864 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20866 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20868 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20869 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20871 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20872 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20873 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20874 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20875 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20877 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20879 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20880 test signgam value.
20882 * math/libm-test.inc (hypot_test): Do not use
20883 IGNORE_ZERO_INF_SIGN.
20885 2013-05-03 Andreas Jaeger <aj@suse.de>
20887 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20889 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20890 (PF_MAX): Adjust for VSOCK change.
20892 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20896 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20899 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20900 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20901 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20903 2013-05-02 David S. Miller <davem@davemloft.net>
20905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20907 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20909 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20911 2013-05-01 Roland McGrath <roland@hack.frob.com>
20913 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20915 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20918 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20919 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20920 Use __attribute__ ((__gnu_inline__)).
20921 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20922 Don't use __attribute__ ((__gnu_inline__)).
20924 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20927 * math/s_catan.c (__catan): Handle small real or imaginary part of
20928 input specially to avoid spurious underflow.
20929 * math/s_catanf.c (__catanf): Likewise.
20930 * math/s_catanh.c (__catanh): Likewise.
20931 * math/s_catanhf.c (__catanhf): Likewise.
20932 * math/s_catanhl.c (__catanhl): Likewise.
20933 * math/s_catanl.c (__catanl): Likewise.
20934 * math/libm-test.inc (catan_test): Add more tests.
20935 (catanh_test): Likewise.
20936 * sysdeps/i386/fpu/libm-test-ulps: Update.
20937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20939 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20943 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20946 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20947 accurately for denominator in atan2.
20948 * math/s_catanf.c (__catanf): Likewise.
20949 * math/s_catanh.c (__catanh): Likewise.
20950 * math/s_catanhf.c (__catanhf): Likewise.
20951 * math/s_catanhl.c (__catanhl): Likewise.
20952 * math/s_catanl.c (__catanl): Likewise.
20953 * math/libm-test.inc (catan_test): Add more tests.
20954 (catanh_test): Likewise.
20955 * sysdeps/i386/fpu/libm-test-ulps: Update.
20956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20958 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20960 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20962 * benchtests/Makefile (bench): Remove slow benchmarks.
20963 * benchtests/atan-inputs: Add slow benchmark inputs.
20964 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20965 (BENCH_FUNC): Accept variant offset.
20967 * benchtests/bench-skeleton.c (main): Run benchmark for each
20969 * benchtests/cos-inputs: Add slow benchmark inputs.
20970 * benchtests/exp-inputs: Likewise.
20971 * benchtests/pow-inputs: Likewise.
20972 * benchtests/sin-inputs: Likewise.
20973 * benchtests/slowatan-inputs: Remove.
20974 * benchtests/slowatan.c: Remove.
20975 * benchtests/slowcos-inputs: Remove.
20976 * benchtests/slowcos.c: Remove.
20977 * benchtests/slowexp-inputs: Remove.
20978 * benchtests/slowexp.c: Remove.
20979 * benchtests/slowpow-inputs: Remove.
20980 * benchtests/slowpow.c: Remove.
20981 * benchtests/slowsin-inputs: Remove.
20982 * benchtests/slowsin.c: Remove.
20983 * benchtests/slowtan-inputs: Remove.
20984 * benchtests/slowtan.c: Remove.
20985 * benchtests/tan-inputs: Add slow benchmark inputs.
20986 * scripts/bench.pl: Parse comments and directives.
20988 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20990 ($(objpfx)bench-%.c): Remove *-ITER.
20991 * benchtests/bench-modf.c: Remove definition of ITER.
20992 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20993 (main): Loop for DURATION seconds instead of fixed number of
20995 * scripts/bench.pl: Don't expect iterations in parameters.
20997 2013-04-29 Roland McGrath <roland@hack.frob.com>
20999 * io/fchdir.c (__fchdir): Renamed from fchdir.
21000 (fchdir): Define as weak alias.
21002 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21004 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21005 (ERRNO_EDOM): Likewise.
21006 (ERRNO_ERANGE): Likewise.
21007 (noErrnoTests): New variable.
21008 (init_max_error): Set errno to 0.
21009 (test_single_errno): New function.
21010 (test_errno): Likewise.
21011 (check_float_internal): Call test_errno. Set errno to 0.
21012 (check_complex): Refer to errno tests in comment.
21013 (check_int): Call test_errno. Set errno to 0.
21014 (check_long): Likewise.
21015 (check_bool): Likewise.
21016 (check_longlong): Likewise.
21017 (cos_test): Use ERRNO_* flags for errno tests instead of
21019 (expm1_test): Likewise.
21020 (fmod_test): Likewise.
21021 (ilogb_test): Likewise.
21022 (lgamma_test): Likewise.
21023 (pow_test): Likewise.
21024 (remainder_test): Likewise.
21025 (sin_test): Likewise.
21026 (tan_test): Likewise.
21027 (yn_test): Likewise.
21028 (initialize): Set errno to 0.
21029 (main): Print number of errno tests.
21030 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21032 2013-04-29 Andreas Jaeger <aj@suse.de>
21035 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21039 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21040 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21044 * stdlib/random.c (__initstate): Return NULL if
21048 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21049 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21052 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21056 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21058 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21059 of individual tests.
21060 (casin_test): Likewise.
21061 (casinh_test): Likewise.
21063 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21066 * math/s_catan.c (__catan): Handle arguments with large real or
21067 imaginary part separately without squaring.
21068 * math/s_catanf.c (__catanf): Likewise.
21069 * math/s_catanh.c (__catanh): Likewise.
21070 * math/s_catanhf.c (__catanhf): Likewise.
21071 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21073 (__catanhl): Handle arguments with large real or imaginary part
21074 separately without squaring.
21075 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21077 (__catanl): Handle arguments with large real or imaginary part
21078 separately without squaring.
21079 * math/libm-test.inc (catan_test): Add more tests.
21080 (catanh_test): Likewise.
21081 * sysdeps/i386/fpu/libm-test-ulps: Update.
21082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21084 2013-04-27 Andreas Jaeger <aj@suse.de>
21087 * stdlib/stdlib.h: Update guards for qecvt.
21088 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21091 2013-04-27 Allan McRae <allan@archlinux.org>
21093 * sysdeps/i386/fpu/libm-test-ulps: Update.
21095 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21098 * math/s_catan.c: Include <float.h>.
21099 (__catan): Ensure underflow exception occurs for underflowed
21101 * math/s_catanf.c: Include <float.h>.
21102 (__catanf): Ensure underflow exception occurs for underflowed
21104 * math/s_catanh.c: Include <float.h>.
21105 (__catanh): Ensure underflow exception occurs for underflowed
21107 * math/s_catanhf.c: Include <float.h>.
21108 (__catanhf): Ensure underflow exception occurs for underflowed
21110 * math/s_catanhl.c: Include <float.h>.
21111 (__catanhl): Ensure underflow exception occurs for underflowed
21113 * math/s_catanl.c: Include <float.h>.
21114 (__catanl): Ensure underflow exception occurs for underflowed
21116 * math/libm-test.inc (catan_test): Add more tests.
21117 (catanh_test): Likewise.
21120 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21121 underflowed result.
21122 * math/s_ccoshf.c (__ccoshf): Likewise.
21123 * math/s_ccoshl.c (__ccoshl): Likewise.
21124 * math/s_csin.c (__csin): Likewise.
21125 * math/s_csinf.c (__csinf): Likewise.
21126 * math/s_csinh.c (__csinh): Likewise.
21127 * math/s_csinhf.c (__csinhf): Likewise.
21128 * math/s_csinhl.c (__csinhl): Likewise.
21129 * math/s_csinl.c (__csinl): Likewise.
21130 * math/libm-test.inc (ccos_test): Add more tests.
21131 (ccosh_test): Likewise.
21132 (csin_test): Likewise.
21133 (csinh_test): Likewise.
21135 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21137 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21138 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21139 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21140 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21141 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21142 powerpc/power5+/fpu folders.
21143 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21146 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21150 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21152 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21153 additions to variable.
21154 [$(config-machine) = x86_64] (modules-names): Likewise.
21155 ($(objpfx)tst-audit3): Remove dependency.
21156 ($(objpfx)tst-audit3.out): Likewise.
21157 ($(objpfx)tst-audit4): Likewise.
21158 ($(objpfx)tst-audit4.out): Likewise.
21159 ($(objpfx)tst-audit5): Likewise.
21160 ($(objpfx)tst-audit5.out): Likewise.
21161 ($(objpfx)tst-audit6): Likewise.
21162 ($(objpfx)tst-audit6.out): Likewise.
21163 ($(objpfx)tst-audit7): Likewise.
21164 ($(objpfx)tst-audit7.out): Likewise.
21165 (tst-audit3-ENV): Remove variable.
21166 (tst-audit4-ENV): Likewise.
21167 (tst-audit5-ENV): Likewise.
21168 (tst-audit6-ENV): Likewise.
21169 (tst-audit7-ENV): Likewise.
21170 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21171 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21172 addition to variable.
21173 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21174 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21175 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21176 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21177 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21178 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21179 tst-audit3, tst-audit4 and tst-audit5.
21180 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21181 tst-audit6 and tst-audit7.
21182 [$(subdir) = elf] (modules-names): Add audit modules for those
21184 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21185 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21186 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21187 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21188 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21189 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21190 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21191 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21192 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21193 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21194 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21195 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21196 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21197 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21198 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21199 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21201 [$(subdir) = elf && $(config-cflags-avx) = yes]
21202 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21203 [$(subdir) = elf && $(config-cflags-avx) = yes]
21204 (CFLAGS-tst-auditmod4a.c): Likewise.
21205 [$(subdir) = elf && $(config-cflags-avx) = yes]
21206 (CFLAGS-tst-auditmod4b.c): Likewise.
21207 [$(subdir) = elf && $(config-cflags-avx) = yes]
21208 (CFLAGS-tst-auditmod6b.c): Likewise.
21209 [$(subdir) = elf && $(config-cflags-avx) = yes]
21210 (CFLAGS-tst-auditmod6c.c): Likewise.
21211 [$(subdir) = elf && $(config-cflags-avx) = yes]
21212 (CFLAGS-tst-auditmod7b.c): Likewise.
21213 * elf/tst-audit3.c: Move to ...
21214 * sysdeps/x86_64/tst-audit3.c: ... here.
21215 * elf/tst-audit4.c: Move to ...
21216 * sysdeps/x86_64/tst-audit4.c: ... here.
21217 * elf/tst-audit5.c: Move to ...
21218 * sysdeps/x86_64/tst-audit5.c: ... here.
21219 * elf/tst-audit6.c: Move to ...
21220 * sysdeps/x86_64/tst-audit6.c: ... here.
21221 * elf/tst-audit7.c: Move to ...
21222 * sysdeps/x86_64/tst-audit7.c: ... here.
21223 * elf/tst-auditmod3a.c: Move to ...
21224 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21225 * elf/tst-auditmod3b.c: Move to ...
21226 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21227 * elf/tst-auditmod4a.c: Move to ...
21228 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21229 * elf/tst-auditmod4b.c: Move to ...
21230 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21231 * elf/tst-auditmod5a.c: Move to ...
21232 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21233 * elf/tst-auditmod5b.c: Move to ...
21234 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21235 * elf/tst-auditmod6a.c: Move to ...
21236 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21237 * elf/tst-auditmod6b.c: Move to ...
21238 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21239 * elf/tst-auditmod6c.c: Move to ...
21240 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21241 * elf/tst-auditmod7a.c: Move to ...
21242 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21243 * elf/tst-auditmod7b.c: Move to ...
21244 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21246 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21249 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21250 define unconditionally.
21251 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21252 define unconditionally.
21253 (INT8_C, INT16_C, etc.): Likewise.
21255 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21257 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21258 __ehdr_start with hidden visibility.
21260 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21262 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21264 * math/libm-test.inc (cos_test): Use accurate hex constants.
21265 (sincost_test): Likewise.
21267 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21269 * math/libm-test.inc (catan_test): Add more tests.
21270 (catanh_test): Likewise.
21272 * math/s_catanf.c (__catanf): Use suffixed floating-point
21274 * math/s_catanhf.c (__catanhf): Likewise.
21275 * math/s_catanhl.c (__catanhl): Likewise.
21276 * math/s_catanl.c (__catanl): Likewise.
21279 * math/s_catan.c (__catan): Calculate imaginary part of result
21280 with log1p not log unless computing log of number close to 0.
21281 * math/s_catanf.c (__catanf): Likewise.
21282 * math/s_catanl.c (__catanl): Likewise.
21283 * math/s_catanh.c (__catanh): Calculate real part of result with
21284 log1p not log unless computing log of number close to 0.
21285 * math/s_catanhf.c (__catanhf): Likewise.
21286 * math/s_catanhl.c (__catanhl): Likewise.
21287 * math/libm-test.inc (catan_test): Add more tests.
21288 (catanh_test): Likewise.
21289 * sysdeps/i386/fpu/libm-test-ulps: Update.
21290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21292 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21294 * benchtests/Makefile: Mention files in which fast and slow
21295 paths of math functions are implemented.
21297 2013-04-23 Roland McGrath <roland@hack.frob.com>
21299 * sysdeps/posix/timespec_get.c: New file.
21301 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21303 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21305 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21307 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21308 powerpc/power5/fpu folders.
21309 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21310 * benchtests/Makefile: Add modf testcase.
21311 * benchtests/bench-modf.c: New file: Benchmark test for mo
21313 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21316 * time/Makefile (tests): Add tst-strptime-whitespace.
21317 * time/strptime_l.c (get_number): Use ISSPACE.
21318 (__strptime_internal): Likewise.
21319 * time/tst-strptime-whitespace.c: New test case.
21321 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21323 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21325 (_nss_files_init): Set it here.
21327 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21329 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21330 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21333 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21335 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21337 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21339 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21342 2013-04-21 David S. Miller <davem@davemloft.net>
21344 * po/ru.po: Update Russion translation from translation project.
21346 2013-04-17 Adam Conrad <adconrad@0c3.net>
21348 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21351 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21353 * configure.in: Remove i386 configure warning. Remove i386 case.
21354 * configure: Regenerate.
21355 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21356 Add example to error message.
21357 * sysdeps/i386/configure: Regenerate.
21359 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21361 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21363 * benchtests/cos-inputs: New file.
21364 * benchtests/slowcos-inputs: New file.
21365 * benchtests/slowcos.c: New file.
21366 * benchtests/slowtan-inputs: New file.
21367 * benchtests/slowtan.c: New file.
21368 * benchtests/tan-inputs: New file.
21370 2013-04-16 Roland McGrath <roland@hack.frob.com>
21372 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21375 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21377 * benchtests/Makefile: Include cppflags-iterator.mk to add
21378 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21380 * Makefile.in (bench-clean): New target.
21381 * benchtests/Makefile (bench-clean): Likewise.
21383 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21385 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21387 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21389 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21391 2013-04-15 Andreas Schwab <schwab@suse.de>
21393 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21394 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21395 * nscd/pwdcache.c (cache_addpw): Likewise.
21396 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21399 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21401 * benchtests/Makefile (bench): Write all output to
21402 bench-out.tmp together.
21404 2013-04-15 Andreas Schwab <schwab@suse.de>
21406 * nscd/nscd.c (main): Don't fork again after closing files.
21408 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21410 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21412 * benchtests/Rules (bench-deps): Collect dependencies into a
21413 single variable. Add Makefile to dependencies.
21414 ($(objpfx)bench-%.c): Depend on bench-deps.
21416 2013-04-12 Roland McGrath <roland@hack.frob.com>
21417 Xavier Roche <roche+kml2@exalead.com>
21420 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21421 just that it's a file descriptor.
21422 * manual/llio.texi (Synchronizing AIO Operations): Update description
21423 for EBADF error from aio_fsync.
21425 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21427 * Rules (bench): Move target definition...
21428 * benchtests/Makefile: ... here.
21430 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21432 * math/libm-test.inc (cos_test): Fix PI/2 test.
21433 (sincos_test): Likewise.
21434 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21435 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21437 2013-04-11 Andreas Schwab <schwab@suse.de>
21440 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21441 accept exponent character only when digits were seen.
21442 * stdio-common/Makefile (tests): Add bug26.
21443 * stdio-common/bug26.c: New file.
21446 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21449 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21451 * Makeconfig (rtld-prefix): Define built linker prefix.
21452 * Rules (run-bench): Use it.
21453 * math/Makefile (run-regen-ulps): Likewise.
21455 * Rules (bench): Remove eval.
21457 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21458 Roland McGrath <roland@hack.frob.com>
21459 Ondrej Bilka <neleai@seznam.cz>
21462 * time/getdate.c: Include ctype.h and alloca.h.
21463 (__getdate_r): Trim leading and trailing spaces of input.
21464 * time/tst-getdate.c (tests): Add tests with leading and
21467 2013-04-08 Roland McGrath <roland@hack.frob.com>
21470 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21471 when computing value.
21473 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21475 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21476 Use testrun.sh to run libm tests.
21479 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21481 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21484 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21486 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21488 * Makefile.in (regen-ulps): New target.
21489 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21490 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21491 [ifneq (no,$(PERL)] (regen-ulps): New target.
21492 [ifeq (no,$(PERL)] (regen-ulps): New target.
21493 * math/libm-test.inc (ulps_file_name): Define.
21494 (output_dir): New variable.
21495 (options): Add "output-dir" option.
21496 (parse_opt): Handle 'o' case.
21497 (main): If output_dir is non-NULL use it as a prefix
21499 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21501 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21503 [BZ #10060, #10062]
21504 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21505 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21506 fail configure if __sync_val_compare_and_swap is not inlined.
21507 * sysdeps/i386/configure: Regenerate.
21508 * configure.in: Build for i686 when configured for i386.
21509 * configure: Regenerate.
21510 * README: Remove i386 reference.
21512 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21514 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21515 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21517 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21519 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21520 (lmsnanval): New variables.
21521 (F): Add conversion tests.
21522 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21523 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21525 * stdio-common/tstdiomisc.c (F): Properly collect individual
21528 [BZ #14686, #15336]
21529 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21530 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21531 Instead, use input NaN values or generate a qNaN by arithmetic
21532 operation. Also fix bugs to comply with the standard.
21533 * math/libm-test.inc (remainder_test): Add more tests.
21535 [BZ #15335, #15342]
21536 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21537 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21538 input NaN values or generate a qNaN by arithmetic operation.
21540 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21543 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21546 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21549 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21550 underflowed result.
21551 * math/s_cexpf.c (__cexpf): Likewise.
21552 * math/s_cexpl.c (__cexpl): Likewise.
21553 * math/libm-test.inc (cexp_test): Add more tests.
21555 2013-04-03 Andreas Schwab <schwab@suse.de>
21558 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21559 order arrays from heap if bigger than alloca cutoff.
21561 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21563 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21564 (SNAN_TESTS_double): Refer to GCC PR56831.
21565 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21568 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21570 * Rules (bench): Move bench.out after the run is complete.
21572 * Rules (bench): Echo currently running benchmark.
21574 * benchtests/Makefile (bench): Add atan and slowatan.
21575 * benchtests/atan-inputs: New file.
21576 * benchtests/slowatan-inputs: New file.
21577 * benchtests/slowatan.c: New file.
21579 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21580 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21584 * sysdeps/unix/sysv/linux/kernel-features.h
21585 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21586 __ASSUME_XFS_RESTRICTED_CHOWN.
21587 * sysdeps/unix/sysv/linux/pathconf.c
21588 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21589 Save and restore errno.
21591 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21594 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21595 arguments using __kernel_casinh.
21596 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21597 arguments using __kernel_casinhf.
21598 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21599 arguments using __kernel_casinhl.
21600 * math/libm-test.inc (cacosh_test): Add more tests.
21601 * sysdeps/i386/fpu/libm-test-ulps: Update.
21602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21604 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21606 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21607 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21609 * bench/Makefile (bench): Add sin and slowsin.
21610 * benchtests/sin-inputs: New file.
21611 * benchtests/slowsin-inputs: New file.
21612 * benchtests/slowsin.c: New file.
21614 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21615 (bench): Add slowexp and slowpow.
21616 (exp-ITER): Increase iterations.
21617 (pow-ITER): Likewise.
21618 * benchtests/exp-inputs: Change input.
21619 * benchtests/pow-inputs: Likewise.
21620 * benchtests/slowexp-inputs: New file.
21621 * benchtests/slowexp.c: New file.
21622 * benchtests/slowpow-inputs: New file.
21623 * benchtests/slowpow.c: New file.
21625 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21627 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21629 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21630 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21631 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21632 * benchtests/Makefile: Add rint benchtest.
21633 * benchtests/rint-inputs: Input for rint benchtest.
21635 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21637 * Versions.def (libm): Add GLIBC_2.18.
21638 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21639 hidden libm prototypes.
21640 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21641 * math/Makefile (libm-calls): Add s_issignaling.
21642 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21643 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21644 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21646 * math/math.h [__USE_GNU] (issignaling): New macro.
21647 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21648 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21649 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21650 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21651 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21652 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21653 * manual/arith.texi (issignaling): New section.
21654 * manual/libm-err-tab.pl (@all_functions): Update comment.
21655 * math/gen-libm-test.pl (parse_args): Apply special handling for
21657 * math/libm-test.inc (print_float, issignaling_test): New
21659 (check_float_internal): Add issignaling checks.
21660 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21661 default definition.
21662 * sysdeps/powerpc/math-tests.h: New file.
21663 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21665 * math/test-snan.c (TEST_FUNC): Likewise.
21667 2013-03-30 David S. Miller <davem@davemloft.net>
21669 * po/de.po: Update from translation team.
21671 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21674 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21675 imaginary part less than 1.0 and real part less than 0.5
21677 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21678 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21679 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21680 (cacos_test): Add more tests.
21681 (casin_test): Likewise.
21682 (casinh_test): Likewise.
21683 * sysdeps/i386/fpu/libm-test-ulps: Update.
21684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21686 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21688 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21689 ONE with its value.
21691 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21692 (__pow_mp): Replace ONE and MONE with their values.
21693 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21694 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21695 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21696 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21697 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21698 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21700 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21702 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21703 (__pow_mp): Replace ZERO and MZERO with their values.
21704 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21705 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21706 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21707 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21708 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21709 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21712 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21714 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21716 2013-03-28 Roland McGrath <roland@hack.frob.com>
21718 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21719 Declare with __attribute__ ((weak)).
21720 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21721 Call __call_tls_dtors only if it's not NULL.
21723 2013-03-28 Roland McGrath <roland@hack.frob.com>
21725 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21726 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21727 magic __ehdr_start linker symbol if it's defined.
21728 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21729 them up here if it was already done.
21731 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21732 (_dl_aux_init): Use const in cast when setting it.
21733 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21734 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21735 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21737 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21739 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21740 * csu/libc-tls.c: Nor here.
21741 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21743 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21744 (__libc_message): Never call vsyslog.
21746 2013-03-28 Alan Modra <amodra@gmail.com>
21748 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21750 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21753 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21756 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21760 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21763 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21764 Don't add gid passed as argument.
21766 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21768 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21771 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21772 imaginary part between 1.0 and 1.5 and real part less than 0.5
21774 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21775 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21776 * math/libm-test.inc (cacos_test): Add more tests.
21777 (casin_test): Likewise.
21778 (casinh_test): Likewise.
21779 * sysdeps/i386/fpu/libm-test-ulps: Update.
21780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21782 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21784 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21787 (denorm): Likewise.
21788 (__dbl_mp): Likewise.
21789 (add_magnitudes): Likewise.
21790 (sub_magnitudes): Likewise.
21798 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21800 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21801 (__dubcos): Likewise.
21802 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21803 (__ieee754_acos): Likewise.
21804 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21805 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21806 (__exp1): Likewise.
21807 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21808 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21810 (my_log2): Likewise.
21811 (checkint): Likewise.
21812 * sysdeps/ieee754/dbl-64/e_remainder.c
21813 (__ieee754_remainder): Likewise.
21814 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21815 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21816 (bsloww): Likewise.
21817 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21819 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21820 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21821 MANTISSA_STORE_T to store computations on mantissa. Use
21822 macros for rounding and division.
21823 (denorm): Likewise.
21824 (__dbl_mp): Likewise.
21825 (add_magnitudes): Likewise.
21826 (sub_magnitudes): Likewise.
21829 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21830 powers of two in terms of TWOPOW macro.
21831 (mp_no): Make type of mantissa as MANTISSA_T.
21832 [!RADIXI]: Define RADIXI.
21833 [!TWO52]: Define TWO52.
21834 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21836 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21838 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21839 llroundl symbol when building for PPC32.
21841 2013-03-24 Mark H Weaver <mhw@netris.org>
21843 * manual/arith.texi (Normalization Functions): Fix prototypes for
21844 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21846 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21849 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21850 high value to check if expl overflow.
21851 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21852 to check for underflow and overflow.
21853 * math/libm-test.inc: Add exp test.
21855 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21858 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21861 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21863 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21866 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21868 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21869 wrap blocks consisting of several statements.
21871 * sysdeps/generic/math-tests.h: New file.
21872 * sysdeps/i386/fpu/math-tests.h: Likewise.
21873 * math/test-snan.c: Include it.
21874 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21876 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21879 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21880 (__ieee754_j0l): Do not improve calculations using cos of twice
21881 input for inputs above LDBL_MAX / 2.0L.
21882 (__ieee754_y0l): Likewise.
21883 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21884 (__ieee754_j1l): Do not improve calculations using cos of twice
21885 input for inputs above LDBL_MAX / 2.0L.
21886 (__ieee754_y1l): Likewise.
21887 * math/libm-test.inc (j0_test): Add another test.
21888 (j1_test): Likewise.
21889 (y0_test): Likewise.
21890 (y1_test): Likewise.
21891 * sysdeps/i386/fpu/libm-test-ulps: Update.
21893 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21895 * Rules ($(objpfx)bench-%.c): Include code from a C source
21898 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21901 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21902 imaginary part 1.0 and real part less than 0.5 specially.
21903 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21904 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21905 * math/libm-test.inc (cacos_test): Add more tests.
21906 (casin_test): Likewise.
21907 (casinh_test): Likewise.
21908 * sysdeps/i386/fpu/libm-test-ulps: Update.
21909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21911 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21913 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21914 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21916 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21918 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21919 * config.make.in (config-cflags-sse4): Remove variable.
21920 (config-cflags-avx): Likewise.
21921 (config-cflags-sse2avx): Likewise.
21922 (config-cflags-novzeroupper): Likewise.
21923 (config-asflags-i686): Likewise.
21924 (have-mfma4): Likewise.
21925 (have-as-vis3): Likewise.
21927 * configure.in (MIG): Do not AC_SUBST.
21928 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21929 (libc_cv_cc_sse4): Do not AC_SUBST.
21930 (libc_cv_cc_avx): Likewise.
21931 (libc_cv_cc_sse2avx): Likewise.
21932 (libc_cv_cc_novzeroupper): Likewise.
21933 (libc_cv_cc_fma4): Likewise.
21934 (libc_cv_as_i686): Likewise.
21935 (libc_cv_sparc_as_vis3): Likewise.
21936 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21938 (config-asflags-i686): Likewise.
21939 (config-cflags-avx): Likewise.
21940 (config-cflags-sse2avx): Likewise.
21941 (have-mfma4): Likewise.
21942 (config-cflags-novzeroupper): Likewise.
21943 * sysdeps/mach/configure.in (MIG): Likewise.
21944 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21945 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21947 (config-cflags-avx): Likewise.
21948 (config-cflags-sse2avx): Likewise.
21949 (have-mfma4): Likewise.
21950 (config-cflags-novzeroupper): Likewise.
21951 * configure: Regenerated.
21952 * sysdeps/i386/configure: Likewise.
21953 * sysdeps/mach/configure: Likewise.
21954 * sysdeps/sparc/configure: Likewise.
21955 * sysdeps/x86_64/configure: Likewise.
21957 2013-03-20 Roland McGrath <roland@hack.frob.com>
21960 * locale/programs/localedef.c (options): Put N_ translation marker
21961 on argument names, not just descriptions.
21963 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21965 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21967 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21970 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21972 2013-03-19 Roland McGrath <roland@hack.frob.com>
21974 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21975 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21976 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21977 [!BEFORE_ABORT] (before_abort): New function.
21978 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21979 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21980 (writev_for_fatal): New function.
21981 (WRITEV_FOR_FATAL): New macro; call that.
21982 (backtrace_and_maps): New function.
21983 (BEFORE_ABORT): New macro; call that.
21984 (struct str_list): Type removed.
21985 (__libc_message, __libc_fatal): Functions removed.
21986 Include <sysdeps/posix/libc_fatal.c> instead.
21988 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21990 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21992 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21995 2013-03-19 Andreas Schwab <schwab@suse.de>
21997 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21998 * sysdeps/gnu/configure: Regenerate.
22000 * configure.in: Substitute libc_cv_rtlddir.
22001 * configure: Regenerate.
22002 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22003 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22004 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22005 * elf/Makefile (install-others, CFLAGS-interp.c)
22006 (ldso_install, common-ldd-rewrite): Likewise.
22007 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22008 $(inst_slibdir)/$(rtld-installed-name).
22009 * scripts/rellns-sh: Add -p option.
22010 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22013 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22015 * manual/nptl.texi: Renamed to ...
22016 * manual/threads.texi: ... this.
22017 * manual/Makefile (chapters): Update.
22019 2013-03-18 Roland McGrath <roland@hack.frob.com>
22022 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22023 on argument names, not just descriptions.
22024 * malloc/memusagestat.c (options): Likewise.
22025 * nss/getent.c (options): Likewise.
22027 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22030 * iconv/iconv_prog.c (options): Put N_ translation marker
22031 on argument names, not just descriptions.
22032 * iconv/iconvconfig.c (options): Likewise.
22034 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22036 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22037 implementation which is faster on all x86_64 architectures.
22038 Tested on AMD, Intel Nehalem, SNB, IVB.
22039 * sysdeps/x86_64/strnlen.S: Likewise.
22041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22042 Remove all multiarch strlen and strnlen versions.
22043 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22044 Remove strlen and strnlen related parts.
22046 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22047 Inline strlen part.
22048 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22050 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22051 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22052 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22053 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22054 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22055 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22057 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22059 * manual/memory.texi (Malloc Tunable Parameters):
22060 Sort parameters alphabetically. Add comments for missing entries.
22062 2013-03-17 David S. Miller <davem@davemloft.net>
22064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22066 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22069 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22070 for arguments at most half maximum finite value.
22071 * math/libm-test.inc (j0_test): Add more tests.
22072 (j1_test): Likewise.
22073 (y0_test): Likewise.
22074 (y1_test): Likewise.
22075 * sysdeps/i386/fpu/libm-test-ulps: Update.
22076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22079 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22080 1 / x and functions P and Q for arguments above 0x1p256L.
22081 (__ieee754_y0l): Likewise.
22082 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22083 (__ieee754_y1l): Likewise.
22084 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22085 (j1_test): Likewise.
22086 (y0_test): Likewise.
22087 (y1_test): Likewise.
22089 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22091 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22094 2013-03-15 Roland McGrath <roland@hack.frob.com>
22096 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22097 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22098 zero since it's initialized to EXEC_PAGESIZE.
22100 * sysdeps/unix/sysv/linux/ldsodefs.h
22101 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22102 * sysdeps/generic/ldsodefs.h: ... here.
22104 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22106 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22108 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22110 * math/test-snan.c: Renamed from
22111 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22112 * math/Makefile (tests): Add test-snan.
22113 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22116 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22117 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22119 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22120 __builtin_nan family of functions.
22121 * math/libm-test.inc (initialize): Initialize qnan_value with
22122 __builtin_nan family of functions.
22123 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22125 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22127 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22128 storage class. Initialize qNaN_var and sNaN_var with
22129 __builtin_nan and __builtin_nans families of functions,
22132 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22133 (sqrt_test): Remove duplicate test with qNaN input.
22134 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22135 (round_test, signbit_test, significand_test): Note missing +/-Inf
22136 as well as qNaN tests.
22138 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22139 qNaN_var. Fix a few strings, too.
22140 * math/libm-test.inc (nan_value): Rename to qnan_value.
22141 * math/gen-libm-test.pl (%beautify): Adjust to that.
22142 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22143 * math/test-misc.c (main): Likewise.
22144 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22145 to __qnan_bytes, and __qnan_union, respectively.
22146 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22148 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22149 and lqnanval, respectively.
22150 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22151 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22152 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22153 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22155 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22156 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22159 * math/test-misc.c (main): Fix copy'n'pastos.
22160 * misc/tst-efgcvt.c (special): Likewise.
22162 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22163 Remove declarations.
22165 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22167 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22168 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22169 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22170 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22172 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22174 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22175 macro to return vdso values correctly in IFUNC implementations.
22176 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22177 Optimization by using IFUNC.
22179 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22180 Richard Henderson <rth@redhat.com>
22181 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22183 * Makefile.in (bench): New target.
22184 * NEWS: Mention the benchmark framework.
22185 * Rules (bench): Likewise.
22186 (binaries-bench): Generate binaries for functions to
22188 * benchtests/Makefile: New makefile for benchmark tests.
22189 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22191 * benchtests/exp-inputs: New input file for EXP function.
22192 * benchtests/pow-inputs: New input file for POW function.
22193 * scripts/bench.pl: New script to generate source files for
22194 benchmark programs.
22196 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22198 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22199 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22200 computations on mantissa. Use macros for rounding and
22202 (denorm): Likewise.
22203 (__dbl_mp): Likewise.
22204 (add_magnitudes): Likewise.
22205 (sub_magnitudes): Likewise.
22208 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22209 powers of two in terms of TWOPOW macro.
22210 (mp_no): Make type of mantissa as MANTISSA_T.
22211 [!RADIXI]: Define RADIXI.
22212 [!TWO52]: Define TWO52.
22213 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22215 * manual/nptl.texi (cindex): Modify threads to pthreads.
22217 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22219 * sysdeps/x86_64/preconfigure: Regenerated.
22221 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22224 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22226 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22227 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22229 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22230 * math/libm-test.inc (j0_test): Do not allow one spurious
22231 underflow exception.
22232 (y1_test): Likewise.
22234 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22236 * manual/Makefile (chapters): Add nptl.
22237 * manual/debug.texi (Debugging Support): Add link to Threads
22239 * manual/nptl.texi: New file.
22241 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22243 2013-03-14 Petr Baudis <pasky@ucw.cz>
22245 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22246 for non-NULL pointer before the memory validity test. Pointed
22247 out by Holger Brunck <holger.brunck@keymile.com>.
22249 2013-03-13 Andreas Schwab <schwab@suse.de>
22251 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22254 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22256 * timezone/zic.c: Update from tzcode 2013b.
22258 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22260 * manual/install.texi (Configuring and compiling):
22261 Mention i686 and i586.
22262 * INSTALL: Regenerate.
22264 2013-03-12 Roland McGrath <roland@hack.frob.com>
22266 * sysdeps/init_array/elf-init.c: New file.
22268 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22269 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22271 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22272 __gmon_start__ as global, but as static with a .preinit_array pointer.
22273 * sysdeps/init_array/gmon-start.c: New file. Use that.
22274 * sysdeps/init_array/crti.S: New file, empty except for comments.
22275 * sysdeps/init_array/crtn.S: Likewise.
22277 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22279 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22282 Remove Prefer_SSE_for_memop.
22283 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22284 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22285 HAS_PREFER_SSE_FOR_MEMOP.
22286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22288 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22289 Remove bzero, memset ifunc support.
22290 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22291 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22292 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22293 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22295 2013-03-11 Andreas Schwab <schwab@suse.de>
22298 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22301 (GLIBC_2.16): Remove pthread_atfork.
22303 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22305 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22306 (ptestcases.h): Likewise.
22308 2013-03-08 Roland McGrath <roland@hack.frob.com>
22310 * Makeconfig ($(common-objpfx)config.status): Depend on
22311 sysdeps/*/preconfigure{,.in} too.
22313 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22315 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22316 (__free_hook): Use void * instead of __malloc_ptr_t.
22317 (__malloc_hook): Likewise.
22318 (__realloc_hook): Likewise.
22319 (__memalign_hook): Likewise.
22320 (__after_morecore_hook): Likewise.
22321 * malloc/arena.c (save_malloc_hook): Likewise.
22322 (save_free_hook): Likewise.
22323 * malloc/hooks.c (malloc_hook_ini): Likewise.
22324 (realloc_hook_ini): Likewise.
22325 (memalign_hook_ini): Likewise.
22326 * malloc/malloc.c (malloc_hook_ini): Likewise.
22327 (realloc_hook_ini): Likewise.
22328 (memalign_hook_ini): Likewise.
22329 (__free_hook): Likewise.
22330 (__malloc_hook): Likewise.
22331 (__realloc_hook): Likewise.
22332 (__memalign_hook): Likewise.
22333 (__libc_malloc): Likewise.
22334 (__libc_free): Likewise.
22335 (__libc_realloc): Likewise.
22336 (__libc_memalign): Likewise.
22337 (__libc_valloc): Likewise.
22338 (__libc_pvalloc): Likewise.
22339 (__libc_calloc): Likewise.
22340 (__posix_memalign): Likewise.
22341 * malloc/morecore.c (__sbrk): Likewise.
22342 (__default_morecore): Likewise.
22344 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22346 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22347 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22348 __malloc_ptrdiff_t.
22350 * malloc/malloc.h (__malloc_size_t): Remove macro.
22351 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22353 (old_memalign_hook): Likewise.
22354 (old_realloc_hook): Likewise.
22355 (struct hdr): Likewise.
22357 (mallochook): Likewise.
22358 (memalignhook): Likewise.
22359 (reallochook): Likewise.
22360 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22361 (tr_old_realloc_hook): Likewise.
22362 (tr_old_memalign_hook): Likewise.
22363 (tr_mallochook): Likewise.
22364 (tr_reallochook): Likewise.
22365 (tr_memalignhook): Likewise.
22367 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22369 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22370 default_ldbl_pack and using as default implementation.
22371 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22373 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22374 redundant definition.
22375 (ldbl_insert_mantissa): Likewise.
22376 (ldbl_canonicalize): Likewise.
22377 (ldbl_nearbyint): Likewise.
22378 (ldbl_pack): Rename to ldbl_pack_ppc.
22379 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22380 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22381 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22383 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22385 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22386 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22387 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22388 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22390 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22391 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22392 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22394 2013-03-07 Andreas Jaeger <aj@suse.de>
22396 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22399 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22401 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22402 Include mpa.h and declare __MPEXP.
22403 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22404 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22405 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22406 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22407 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22408 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22409 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22411 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22412 (__slowpow): Use long double EXPL and LOGL functions to
22414 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22415 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22416 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22417 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22418 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22419 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22421 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22422 intermediate variable to calculate exponent.
22424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22428 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22429 [!NO__SQR]: Define __sqr.
22430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22431 and NO__SQR. Remove all code except __mul and __sqr. Include
22432 sysdeps/ieee754/dbl-64/mpa.c.
22433 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22436 * posix/Makefile (tests): Add tst-pathconf.
22437 * posix/tst-pathconf.c: New test case.
22438 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22440 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22442 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22444 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22446 2013-03-06 Andreas Jaeger <aj@suse.de>
22448 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22449 definition via __MAP_ANONYMOUS.
22451 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22452 it's not part of Linux headers.
22454 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22455 (MAP_HUGE_MASK): Define.
22457 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22459 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22460 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22462 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22463 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22465 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22466 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22468 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22470 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22471 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22472 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22473 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22474 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22475 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22477 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22480 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22481 Handle f2fs and efivarfs.
22483 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22486 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22487 (EFIVARFS_MAGIC): Add.
22488 (F2FS_LINK_MAX): Add.
22490 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22492 * stdio-common/vfprintf.c: Replace __builtin_expect with
22495 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22498 * sysdeps/generic/bp-sym.h: Remove file.
22499 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22500 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22501 <bp-sym.h> and <bp-asm.h>.
22502 (__longjmp): Don't use BP_SYM.
22503 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22505 (memcpy): Don't use BP_SYM.
22506 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22507 <bp-sym.h> and <bp-asm.h>.
22508 (memcpy): Don't use BP_SYM.
22509 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22511 (memcpy): Don't use BP_SYM.
22512 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22514 (memset): Don't use BP_SYM.
22515 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22516 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22517 (__bzero): Don't use BP_SYM.
22518 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22519 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22520 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22521 <bp-sym.h> and <bp-asm.h>.
22522 (memcmp): Don't use BP_SYM. Remove comment about bounded
22524 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22525 <bp-sym.h> and <bp-asm.h>.
22526 (memcpy): Don't use BP_SYM.
22527 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22528 <bp-sym.h> and <bp-asm.h>.
22529 (memset): Don't use BP_SYM.
22530 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22531 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22532 (__bzero): Don't use BP_SYM.
22533 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22534 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22535 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22536 <bp-sym.h> and <bp-asm.h>.
22537 (strncmp): Don't use BP_SYM. Remove comment about bounded
22539 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22540 <bp-sym.h> and <bp-asm.h>.
22541 (memcpy): Don't use BP_SYM.
22542 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22543 <bp-sym.h> and <bp-asm.h>.
22544 (memset): Don't use BP_SYM.
22545 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22546 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22547 (__bzero): Don't use BP_SYM.
22548 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22549 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22550 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22551 <bp-sym.h> and <bp-asm.h>.
22552 (__memchr): Don't use BP_SYM.
22553 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22554 <bp-sym.h> and <bp-asm.h>.
22555 (memcmp): Don't use BP_SYM. Remove comment about bounded
22557 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22558 <bp-sym.h> and <bp-asm.h>.
22559 (memcpy): Don't use BP_SYM.
22560 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22561 <bp-sym.h> and <bp-asm.h>.
22562 (__mempcpy): Don't use BP_SYM.
22563 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22564 <bp-sym.h> and <bp-asm.h>.
22565 (__memrchr): Don't use BP_SYM.
22566 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22567 <bp-sym.h> and <bp-asm.h>.
22568 (memset): Don't use BP_SYM.
22569 (__bzero): Likewise.
22570 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22571 <bp-sym.h> and <bp-asm.h>.
22572 (__rawmemchr): Don't use BP_SYM.
22573 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22574 <bp-sym.h> and <bp-asm.h>.
22575 (__STRCMP): Don't use BP_SYM.
22576 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22577 <bp-sym.h> and <bp-asm.h>.
22578 (strchr): Don't use BP_SYM.
22579 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22580 <bp-sym.h> and <bp-asm.h>.
22581 (__strchrnul): Don't use BP_SYM.
22582 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22583 <bp-sym.h> and <bp-asm.h>.
22584 (strlen): Don't use BP_SYM.
22585 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22586 <bp-sym.h> and <bp-asm.h>.
22587 (strncmp): Don't use BP_SYM. Remove comment about bounded
22589 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22590 <bp-sym.h> and <bp-asm.h>.
22591 (__strnlen): Don't use BP_SYM.
22592 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22593 <bp-sym.h> and <bp-asm.h>.
22594 (__GI__setjmp): Don't use BP_SYM.
22595 (_setjmp): Likewise.
22596 (__sigsetjmp): Likewise.
22597 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22598 (L(start_addresses)): Don't use BP_SYM.
22599 (_start): Likewise.
22600 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22602 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22603 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22604 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22605 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22606 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22608 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22609 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22610 about bounded pointers.
22611 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22612 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22613 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22615 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22616 about bounded pointers. Remove GKM FIXME comments.
22617 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22618 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22620 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22621 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22622 Remove GKM FIXME comments.
22623 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22624 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22625 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22627 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22628 about bounded pointers. Remove GKM FIXME comment.
22629 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22631 (strncmp): Don't use BP_SYM. Remove comment about bounded
22633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22634 <bp-sym.h> and <bp-asm.h>.
22635 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22637 <bp-sym.h> and <bp-asm.h>.
22638 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22641 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22643 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22646 2013-03-05 David S. Miller <davem@davemloft.net>
22648 * po/es.po: Update from translation team.
22650 2013-03-05 Andreas Jaeger <aj@suse.de>
22652 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22653 <bits/mman-linux.h>.
22654 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22656 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22657 <bits/mman-linux.h> to end of file.
22658 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22660 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22661 <bits/mman-linux.h> to end of file.
22662 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22664 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22665 <bits/mman-linux.h> to end of file.
22667 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22668 (MCL_CURRENT, MCL_FUTURE): Define here.
22670 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22673 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22675 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22677 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22679 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22680 fourth parameter needed for rt_sigprocmask syscall.
22681 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22682 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22683 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22684 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22685 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22686 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22688 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22691 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22692 comment about bounded pointers.
22693 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22694 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22696 2013-03-04 Andreas Jaeger <aj@suse.de>
22698 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22699 common definitions.
22701 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22702 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22703 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22704 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22705 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22706 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22708 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22711 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22712 __ieee754_sqrl instead of __sqrl.
22714 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22716 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22717 * sysdeps/powerpc/fpu_control.h: ... here.
22718 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22719 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22720 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22721 * sysdeps/powerpc/bits/mathinline.h: ... here.
22723 2013-03-01 Roland McGrath <roland@hack.frob.com>
22725 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22726 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22727 to just [NEED_DL_SYSINFO_DSO].
22728 * elf/dl-support.c: Likewise.
22729 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22730 * elf/rtld.c (dl_main): Likewise.
22731 * elf/setup-vdso.h (setup_vdso): Likewise.
22732 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22733 * sysdeps/unix/sysv/linux/dl-sysdep.c
22734 (_dl_discover_osversion): Likewise.
22736 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22738 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22739 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22741 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22743 * NEWS: Mention libm performance improvements and non-x86 PI
22746 * csu/libc-start.c (__pthread_initialize_minimal): Change
22747 function arguments.
22748 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22750 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22753 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22754 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22755 <bp-sym.h> and <bp-asm.h>.
22756 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22757 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22759 (memcpy): Don't use BP_SYM.
22760 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22762 (__mpn_add_n): Don't use BP_SYM.
22763 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22764 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22766 (__mpn_addmul_1): Don't use BP_SYM.
22767 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22768 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22770 (_setjmp): Don't use BP_SYM.
22771 (__novmx_setjmp): Likewise.
22772 (__GI__setjmp): Likewise.
22773 (__vmx_setjmp): Likewise.
22774 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22776 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22777 (__bzero): Don't use BP_SYM.
22778 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22779 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22780 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22781 <bp-sym.h> and <bp-asm.h>.
22782 (memcpy): Don't use BP_SYM.
22783 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22784 <bp-sym.h> and <bp-asm.h>.
22785 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22786 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22787 <bp-sym.h> and <bp-asm.h>.
22788 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22789 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22791 (__mpn_lshift): Don't use BP_SYM.
22792 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22793 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22795 (memset): Don't use BP_SYM.
22796 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22797 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22798 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22800 (__mpn_mul_1): Don't use BP_SYM.
22801 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22802 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22803 <bp-sym.h> and <bp-asm.h>.
22804 (memcmp): Don't use BP_SYM.
22805 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22806 <bp-sym.h> and <bp-asm.h>.
22807 (memcpy): Don't use BP_SYM.
22808 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22809 <bp-sym.h> and <bp-asm.h>.
22810 (memset): Don't use BP_SYM.
22811 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22812 <bp-sym.h> and <bp-asm.h>.
22813 (strncmp): Don't use BP_SYM.
22814 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22815 <bp-sym.h> and <bp-asm.h>.
22816 (memcpy): Don't use BP_SYM.
22817 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22818 <bp-sym.h> and <bp-asm.h>.
22819 (memset): Don't use BP_SYM.
22820 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22821 <bp-sym.h> and <bp-asm.h>.
22822 (__memchr): Don't use BP_SYM.
22823 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22824 <bp-sym.h> and <bp-asm.h>.
22825 (memcmp): Don't use BP_SYM.
22826 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22827 <bp-sym.h> and <bp-asm.h>.
22828 (memcpy): Don't use BP_SYM.
22829 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22830 <bp-sym.h> and <bp-asm.h>.
22831 (__mempcpy): Don't use BP_SYM.
22832 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22833 <bp-sym.h> and <bp-asm.h>.
22834 (__memrchr): Don't use BP_SYM.
22835 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22836 <bp-sym.h> and <bp-asm.h>.
22837 (memset): Don't use BP_SYM.
22838 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22839 <bp-sym.h> and <bp-asm.h>.
22840 (__rawmemchr): Don't use BP_SYM.
22841 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22842 <bp-sym.h> and <bp-asm.h>.
22843 (__STRCMP): Don't use BP_SYM.
22844 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22845 <bp-sym.h> and <bp-asm.h>.
22846 (strchr): Don't use BP_SYM.
22847 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22848 <bp-sym.h> and <bp-asm.h>.
22849 (__strchrnul): Don't use BP_SYM.
22850 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22851 <bp-sym.h> and <bp-asm.h>.
22852 (strlen): Don't use BP_SYM.
22853 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22854 <bp-sym.h> and <bp-asm.h>.
22855 (strncmp): Don't use BP_SYM.
22856 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22857 <bp-sym.h> and <bp-asm.h>.
22858 (__strnlen): Don't use BP_SYM.
22859 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22861 (__mpn_rshift): Don't use BP_SYM.
22862 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22863 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22864 <bp-sym.h> and <bp-asm.h>.
22865 (__sigsetjmp): Don't use BP_SYM.
22866 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22867 (L(start_addresses)): Don't use BP_SYM.
22868 (_start): Likewise.
22869 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22871 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22872 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22873 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22874 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22876 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22877 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22878 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22879 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22881 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22883 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22884 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22886 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22888 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22889 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22890 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22892 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22894 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22896 (strncmp): Don't use BP_SYM,
22897 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22899 (__mpn_sub_n): Don't use BP_SYM.
22900 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22901 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22903 (__mpn_submul_1): Don't use BP_SYM.
22904 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22906 <bp-sym.h> and <bp-asm.h>.
22907 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22909 <bp-sym.h> and <bp-asm.h>.
22910 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22913 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22916 Use ZK to minimize writes to Z.
22917 (sub_magnitudes): Simplify code a bit.
22918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22919 Use ZK to minimize writes to Z.
22920 (sub_magnitudes): Simplify code a bit.
22922 2013-02-27 Roland McGrath <roland@hack.frob.com>
22924 * csu/gmon-start.c: Add special exception to license text.
22926 2013-02-27 Richard Henderson <rth@redhat.com>
22928 * scripts/config.guess: Update from config.git.
22929 * scripts/config.sub: Likewise.
22931 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22933 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22935 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22937 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22939 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22941 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22943 2013-02-26 Roland McGrath <roland@hack.frob.com>
22945 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22946 [$(build-shared = yes].
22948 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22950 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22951 (__mul): Reduce iterations for calculating mantissa.
22953 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22955 (__mpranred): Likewise.
22958 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22959 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22961 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22963 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22964 Define __attribute__.
22966 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22968 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22970 * posix/regex_internal.h (__attribute): Remove.
22971 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22972 (re_string_context_at): Likewise.
22973 (bitset_not): Use __attribute__ and mark function as possibly
22975 (bitset_merge): Likewise.
22976 (bitset_mask): Likewise.
22977 (re_string_char_size_at): Likewise.
22978 (re_string_wchar_at): Likewise.
22979 (re_string_elem_size_at): Likewise.
22981 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22983 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22987 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22991 (denorm): Likewise.
22992 (__dbl_mp): Likewise.
22993 (add_magnitudes): Likewise.
22994 (sub_magnitudes): Likewise.
22998 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23001 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23004 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23007 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23008 up changes with default code.
23009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23012 2013-02-24 Allan McRae <allan@archlinux.org>
23014 * manual/socket.texi (The Internet Namespace): Order menu items
23015 to match that in the file.
23017 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23018 node listing of the info page menu.
23020 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23023 * sysdeps/i386/bp-asm.h: Remove file.
23024 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23025 (PARMS): Do not use macros from bp-asm.h.
23029 (__mpn_add_n): Do not use BP_SYM
23030 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23032 (PARMS): Do not use macros from bp-asm.h.
23035 (__mpn_addmul_1): Do not use BP_SYM
23036 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23038 (PARMS): Do not use macros from bp-asm.h.
23039 (SIGMSK): Likewise.
23040 (_setjmp): Likewise. Do not use BP_SYM.
23041 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23043 (PARMS): Do not use macros from bp-asm.h.
23044 (SIGMSK): Likewise.
23045 (setjmp): Likewise. Do not use BP_SYM.
23046 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23048 (PARMS): Do not use macros from bp-asm.h.
23049 (__frexp): Do not use BP_SYM.
23051 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23053 (PARMS): Do not use macros from bp-asm.h.
23054 (__frexpf): Do not use BP_SYM.
23055 (frexpf): Likewise.
23056 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23058 (PARMS): Do not use macros from bp-asm.h.
23059 (__frexpl): Do not use BP_SYM.
23060 (frexpl): Likewise.
23061 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23063 (PARMS): Do not use macros from bp-asm.h.
23064 (__remquo): Do not use BP_SYM.
23065 (remquo): Likewise.
23066 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23068 (PARMS): Do not use macros from bp-asm.h.
23069 (__remquof): Do not use BP_SYM.
23070 (remquof): Likewise.
23071 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23073 (PARMS): Do not use macros from bp-asm.h.
23074 (__remquol): Do not use BP_SYM.
23075 (remquol): Likewise.
23076 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23078 (PARMS): Do not use macros from bp-asm.h.
23081 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23082 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23084 (PARMS): Do not use macros from bp-asm.h.
23085 (strlen): Do not use BP_SYM.
23086 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23088 (PARMS): Do not use macros from bp-asm.h.
23092 (__mpn_add_n): Do not use BP_SYM.
23093 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23095 (PARMS): Do not use macros from bp-asm.h.
23098 (__mpn_addmul_1): Do not use BP_SYM.
23099 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23102 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23104 (PARMS): Do not use macros from bp-asm.h.
23107 (__mpn_lshift): Do not use BP_SYM.
23108 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23110 (PARMS): Do not use macros from bp-asm.h.
23114 (memcpy): Likewise. Do not use BP_SYM.
23115 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23116 libc_hidden_def and weak_alias.
23117 (mempcpy): Do not use BP_SYM in weak_alias.
23118 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23120 (PARMS): Do not use macros from bp-asm.h.
23123 [!BZERO_P] (CHR): Likewise.
23124 (memset): Likewise. Do not use BP_SYM.
23125 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23127 (PARMS): Do not use macros from bp-asm.h.
23130 (__mpn_mul_1): Do not use BP_SYM.
23131 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23133 (PARMS): Do not use macros from bp-asm.h.
23136 (__mpn_rshift): Do not use BP_SYM.
23137 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23139 (PARMS): Do not use macros from bp-asm.h.
23142 (strchr): Likewise. Do not use BP_SYM.
23143 (index): Do not use BP_SYM in weak_alias.
23144 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23146 (PARMS): Do not use macros from bp-asm.h.
23149 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23150 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23152 (PARMS): Do not use macros from bp-asm.h.
23153 (strlen): Do not use BP_SYM.
23154 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23156 (PARMS): Do not use macros from bp-asm.h.
23160 (__mpn_sub_n): Do not use BP_SYM.
23161 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23163 (PARMS): Do not use macros from bp-asm.h.
23166 (__mpn_submul_1): Do not use BP_SYM.
23167 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23169 (PARMS): Do not use macros from bp-asm.h.
23173 (__mpn_add_n): Do not use BP_SYM.
23174 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23177 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23179 (PARMS): Do not use macros from bp-asm.h.
23182 (memcmp): Do not use BP_SYM.
23183 (bcmp): Do not use BP_SYM in weak_alias.
23184 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23186 (PARMS): Do not use macros from bp-asm.h.
23190 (memcpy): Likewise. Do not use BP_SYM.
23191 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23193 (PARMS): Do not use macros from bp-asm.h.
23197 (memmove): Likewise. Do not use BP_SYM.
23198 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23200 (PARMS): Do not use macros from bp-asm.h.
23204 (__mempcpy): Likewise. Do not use BP_SYM.
23205 (mempcpy): Do not use BP_SYM in weak_alias.
23206 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23208 (PARMS): Do not use macros from bp-asm.h.
23211 [!BZERO_P] (CHR): Likewise.
23212 (memset): Likewise. Do not use BP_SYM.
23213 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23215 (PARMS): Do not use macros from bp-asm.h.
23217 (strcmp): Do not use BP_SYM.
23218 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23220 (PARMS): Do not use macros from bp-asm.h.
23223 [USE_AS_STRTOK_R] (SAVE): Likewise.
23224 (FUNCTION): Likewise. Do not use BP_SYM.
23225 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23227 (strtok_r): Likewise.
23228 (__GI___strtok_r): Likewise.
23229 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23230 (PARMS): Do not use macros from bp-asm.h.
23233 (__mpn_lshift): Do not use BP_SYM.
23234 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23235 (PARMS): Do not use macros from bp-asm.h.
23238 (__memchr): Do not use BP_SYM.
23239 (memchr): Do not use BP_SYM in weak_alias.
23240 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23241 (PARMS): Do not use macros from bp-asm.h.
23244 (memcmp): Do not use BP_SYM.
23245 (bcmp): Do not use BP_SYM in weak_alias.
23246 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23247 (PARMS): Do not use macros from bp-asm.h.
23250 (__mpn_mul_1): Do not use BP_SYM.
23251 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23253 (PARMS): Do not use macros from bp-asm.h.
23256 (__rawmemchr): Do not use BP_SYM.
23257 (rawmemchr): Do not use BP_SYM in weak_alias.
23258 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23259 (PARMS): Do not use macros from bp-asm.h.
23262 (__mpn_rshift): Do not use BP_SYM.
23263 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23264 (PARMS): Do not use macros from bp-asm.h.
23265 (SIGMSK): Likewise.
23266 (__sigsetjmp): Likewise. Do not use BP_SYM.
23267 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23268 (_start): Do not use BP_SYM.
23269 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23270 (PARMS): Do not use macros from bp-asm.h.
23273 (__stpcpy): Likewise. Do not use BP_SYM.
23274 (stpcpy): Do not use BP_SYM in weak_alias.
23275 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23277 (PARMS): Do not use macros from bp-asm.h.
23281 (__stpncpy): Likewise. Do not use BP_SYM.
23282 (stpncpy): Do not use BP_SYM in weak_alias.
23283 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23284 (PARMS): Do not use macros from bp-asm.h.
23287 (strchr): Likewise. Do not use BP_SYM.
23288 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23290 (PARMS): Do not use macros from bp-asm.h.
23293 (__strchrnul): Likewise. Do not use BP_SYM.
23294 (strchrnul): Do not use BP_SYM in weak_alias.
23295 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23297 (PARMS): Do not use macros from bp-asm.h.
23299 (strcspn): Do not use BP_SYM.
23300 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23302 (PARMS): Do not use macros from bp-asm.h.
23305 (strpbrk): Likewise. Do not use BP_SYM.
23306 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23308 (PARMS): Do not use macros from bp-asm.h.
23311 (strrchr): Likewise. Do not use BP_SYM.
23312 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23313 (PARMS): Do not use macros from bp-asm.h.
23315 (strspn): Do not use BP_SYM.
23316 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23317 (PARMS): Do not use macros from bp-asm.h.
23321 (FUNCTION): Likewise. Do not use BP_SYM.
23322 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23324 (strtok_r): Likewise.
23325 (__GI___strtok_r): Likewise.
23326 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23327 (PARMS): Do not use macros from bp-asm.h.
23331 (__mpn_sub_n): Do not use BP_SYM.
23332 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23334 (PARMS): Do not use macros from bp-asm.h.
23337 (__mpn_submul_1): Do not use BP_SYM.
23338 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23340 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23342 (PARMS): Do not use macros from bp-asm.h.
23347 (__clone): Do not use BP_SYM.
23348 (clone): Do not use BP_SYM in weak_alias.
23349 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23351 (PARMS): Do not use macros from bp-asm.h.
23353 (__mmap64): Do not use BP_SYM.
23354 (mmap64): Do not use BP_SYM in weak_alias.
23355 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23356 <bp-sym.h> and <bp-asm.h>.
23357 (PARMS): Do not use macros from bp-asm.h.
23358 (__posix_fadvise64_l64): Do not use BP_SYM.
23359 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23360 (PARMS): Do not use macros from bp-asm.h.
23362 (semtimedop): Do not use BP_SYM.
23363 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23366 2013-02-21 Allan McRae <allan@archlinux.org>
23368 * manual/message.texi (Charset conversion in gettext):
23369 Move @end statement to beginning of line.
23371 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23373 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23375 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23378 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23379 (denorm): Likewise.
23380 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23381 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23383 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23385 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23386 tail-call to the resolved function if pltexit isn't needed.
23388 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23390 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23391 or Y being zero as being unlikely.
23392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23395 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23397 * manual/nss.texi (System Databases and Name Service Switch):
23398 Remove frobnicate @pxref.
23400 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23402 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23403 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23405 2013-02-20 Petr Machata <pmachata@redhat.com>
23407 * elf/elf.h (R_ARM_TARGET1): New macro.
23408 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23409 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23410 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23411 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23412 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23413 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23414 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23415 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23416 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23417 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23418 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23419 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23420 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23421 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23422 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23423 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23424 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23425 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23426 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23427 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23428 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23429 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23430 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23431 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23432 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23433 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23434 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23435 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23436 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23437 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23438 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23439 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23440 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23441 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23442 (R_ARM_THM_GOT_BREL12): Likewise.
23443 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23444 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23445 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23446 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23447 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23448 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23449 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23450 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23451 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23453 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23455 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23456 __attribute_used__ to __attribute__ ((unused)).
23458 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23460 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23462 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23463 comment formatting.
23464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23466 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23469 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23471 (ENTER): Remove both macro definitions.
23473 (CHECK_BOUNDS_LOW): Likewise.
23474 (CHECK_BOUNDS_HIGH): Likewise.
23475 (CHECK_BOUNDS_BOTH): Likewise.
23476 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23477 (RETURN_BOUNDED_POINTER): Likewise.
23478 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23479 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23480 (POP_ERRNO_LOCATION_RETURN): Likewise.
23481 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23482 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23483 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23485 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23486 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23487 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23488 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23489 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23490 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23491 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23492 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23493 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23494 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23495 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23496 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23497 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23498 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23500 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23501 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23503 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23504 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23505 * sysdeps/i386/i586/memset.S (memset): Likewise.
23506 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23507 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23508 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23510 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23511 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23512 Change uses of L(2) to L(out).
23513 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23514 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23515 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23516 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23517 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23519 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23520 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23522 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23523 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23524 (RETURN): Do not use macro LEAVE.
23525 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23526 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23527 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23528 * sysdeps/i386/i686/memset.S (memset): Likewise.
23529 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23530 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23531 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23532 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23534 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23535 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23536 L(1_2) and L(1_3) into L(1).
23537 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23538 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23539 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23540 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23541 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23542 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23543 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23544 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23545 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23547 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23548 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23549 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23550 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23551 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23552 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23553 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23554 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23555 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23556 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23557 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23558 * sysdeps/i386/strspn.S (strspn): Likewise.
23559 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23561 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23562 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23563 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23564 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23565 L(1_3) into L(1_1).
23566 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23567 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23568 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23570 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23572 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23574 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23577 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23579 * math/atest-exp.c (exp_mpn): Remove ROUND.
23580 * math/atest-exp2.c (exp_mpn): Likewise.
23581 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23583 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23584 * stdlib/tst-tls-atexit-lib.c: Likewise.
23585 * stdlib/tst-tls-atexit.c: Likewise.
23587 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23589 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23590 and __attribute_alloc_size__.
23592 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23594 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23595 __attribute_alloc_size__.
23596 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23597 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23599 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23601 * include/programs/xmalloc.h: New file.
23602 * catgets/gencat.c: Include it.
23603 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23604 * elf/pldd.c: Likewise.
23605 * iconv/iconv_charmap.c: Likewise.
23606 * iconv/iconvconfig.c: Likewise.
23607 * iconv/strtab.c: Likewise.
23608 * locale/programs/locale.c: Likewise.
23609 * locale/programs/localedef.h: Likewise.
23610 * locale/programs/simple-hash.c: Likewise.
23611 * nscd/nscd.h: Likewise.
23612 * nss/makedb.c: Likewise.
23613 * sysdeps/generic/ldconfig.h: Likewise.
23615 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23617 * Versions.def: Add GLIBC_2.18.
23618 * include/link.h (struct link_map): New member l_tls_dtor_count.
23619 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23620 (__call_tls_dtors): Likewise.
23621 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23622 __cxa_thread_atexit_impl.
23623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23631 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23639 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23640 (tests): Add test case tst-tls-atexit.
23641 (modules-names): Add shared library for tst-tls-atexit.
23642 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23643 (GLIBC_PRIVATE): Add __call_tls_dtors.
23644 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23646 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23647 * stdlib/tst-tls-atexit.c: New test case.
23648 * stdlib/tst-tls-atexit-lib.c: New test case.
23650 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23652 * elf/Versions (ld): Add _dl_find_dso_for_object.
23653 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23654 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23655 (dl_open_worker): Use _dl_find_dso_for_object.
23656 * elf/dl-sym.c (do_sym): Likewise.
23657 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23659 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23661 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23662 Syntactic changes only.
23663 (_dl_runtime_profile): Do a tail-call to the resolved function.
23665 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23668 * sysdeps/x86_64/bp-asm.h: Remove file.
23669 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23670 <bp-sym.h> and <bp-asm.h>.
23671 (__clone): Do not use BP_SYM.
23672 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23673 <bp-sym.h> and <bp-asm.h>.
23674 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23675 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23677 (_setjmp): Do not use BP_SYM.
23678 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23680 (setjmp): Do not use BP_SYM.
23681 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23683 (mempcpy): Do not use BP_SYM in weak_alias.
23684 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23686 (strchr): Do not use BP_SYM.
23687 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23689 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23690 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23691 (_start): Do not use BP_SYM.
23692 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23694 (strcat): Do not use BP_SYM.
23695 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23697 (STRCMP): Do not use BP_SYM.
23698 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23700 (STRCPY): Do not use BP_SYM.
23701 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23703 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23705 (FUNCTION): Do not use BP_SYM.
23706 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23708 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23710 2013-02-17 Andreas Jaeger <aj@suse.de>
23712 * time/Versions: Sort entries.
23713 * string/Versions: Likewise.
23714 * resolv/Versions: Likewise.
23715 * posix/Versions: Likewise.
23716 * iconv/Versions: Likewise.
23717 * elf/Versions: Likewise.
23718 * wcsmbs/Versions: Likewise.
23720 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23722 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23723 loop termination condition.
23725 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23726 variable to calculate EZ.
23729 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23730 the lower precision input.
23732 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23735 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23736 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23737 (run-via-rtld-prefix): Do not handle %-bp tests.
23738 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23739 (all-object-suffixes): Remove .ob.
23740 (bppfx): Remove variable.
23741 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23742 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23743 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23744 [$(build-bounded) = yes] (libtype.ob): Likewise.
23745 * Makerules (elide-routines.ob): Remove variable.
23746 (do-tests-clean): Do not handle *-bp.out.
23747 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23748 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23749 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23750 (tests): Do not include $(tests-bp.out).
23751 (xtests): Do not include $(xtests-bp.out).
23752 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23753 [$(build-bounded) = yes] ($(addprefix
23754 $(objpfx),$(binaries-bounded))): Remove rule.
23755 ($(objpfx)%-bp.out): Remove rule.
23756 * config.make.in (build-bounded): Remove variable.
23757 * crypt/Makefile [$(build-bounded) = yes]
23758 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23759 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23760 append to variable.
23761 [$(build-bounded) = yes] (install-lib): Likewise.
23762 [$(build-bounded) = yes] (generated): Likewise.
23763 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23765 * intl/Makefile [$(build-bounded) = yes]
23766 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23767 * math/Makefile [$(build-bounded) = yes]
23768 ($(tests:%=$(objpfx)%-bp): Likewise.
23769 * misc/Makefile [$(build-bounded) = yes]
23770 ($(objpfx)tst-tsearch-bp): Likewise.
23771 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23772 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23774 * string/Makefile (o-objects.ob): Remove variable.
23775 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23776 (CFLAGS-.ob): Remove variable.
23777 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23778 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23779 both definitions of variable.
23780 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23781 (ASFLAGS-.ob): Remove variable.
23783 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23786 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23787 Remove __BOUNDED_POINTERS__ from condition.
23788 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23789 * string/bits/string2.h [!__NO_STRING_INLINES &&
23790 !__BOUNDED_POINTERS__]: Likewise.
23791 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23793 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23794 Remove conditional code.
23795 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23796 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23797 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23801 * csu/libc-start.c: Do not include <bp-sym.h>.
23802 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23803 * elf/dl-open.c: Do not include <bp-sym.h>.
23804 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23805 * math/fegetenv.c: Do not include <bp-sym.h>.
23806 (fegetenv): Do not use BP_SYM in versioned symbols.
23807 * nptl/sysdeps/pthread/bits/libc-lockP.h
23808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23811 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23813 (__pthread_mutex_destroy): Likewise.
23814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23815 (__pthread_mutex_lock): Likewise.
23816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23817 (__pthread_mutex_trylock): Likewise.
23818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23819 (__pthread_mutex_unlock): Likewise.
23820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23821 (__pthread_mutexattr_init): Likewise.
23822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23823 (__pthread_mutexattr_destroy): Likewise.
23824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23825 (__pthread_mutexattr_settype): Likewise.
23826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23827 (__pthread_rwlock_init): Likewise.
23828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23829 (__pthread_rwlock_destroy): Likewise.
23830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23831 (__pthread_rwlock_rdlock): Likewise.
23832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23833 (__pthread_rwlock_tryrdlock): Likewise.
23834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23835 (__pthread_rwlock_wrlock): Likewise.
23836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23837 (__pthread_rwlock_trywrlock): Likewise.
23838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23839 (__pthread_rwlock_unlock): Likewise.
23840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23841 (__pthread_key_create): Likewise.
23842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23843 (__pthread_setspecific): Likewise.
23844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23845 (__pthread_getspecific): Likewise.
23846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23849 (_pthread_cleanup_push_defer): Likewise.
23850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23851 (_pthread_cleanup_pop_restore): Likewise.
23852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23853 (pthread_setcancelstate): Likewise.
23854 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23856 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23857 (memchr): Do not use BP_SYM in weak_alias.
23858 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23859 (fegetenv): Do not use BP_SYM in versioned symbols.
23860 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23861 (fesetenv): Do not use BP_SYM in versioned symbols.
23862 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23863 (feupdateenv): Do not use BP_SYM in versioned symbols.
23864 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23865 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23866 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23867 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23868 (open64): Do not use BP_SYM in weak_alias.
23869 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23870 (fegetenv): Do not use BP_SYM in versioned symbols.
23871 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23872 (fesetenv): Do not use BP_SYM in versioned symbols.
23873 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23874 (feupdateenv): Do not use BP_SYM in versioned symbols.
23875 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23876 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23877 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23878 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23879 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23880 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23881 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23883 (__libc_start_main): Do not use BP_SYM.
23885 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23888 redundant return line.
23890 (denorm): Likewise.
23891 (dbl_mp): Likewise.
23892 (sub_magnitudes): Likewise.
23898 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23900 (denorm): Likewise.
23901 (dbl_mp): Likewise.
23902 (sub_magnitudes): Likewise.
23909 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23911 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23912 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23915 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23916 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23917 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23918 of __mul for squares.
23919 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23921 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23923 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23924 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23926 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23929 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23931 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23932 prototype or function definition. Rename ubp_* variables and
23933 parameters. Remove argv definitions conditional on
23934 [__BOUNDED_POINTERS__].
23935 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23936 * elf/dl-runtime.c (_dl_fixup): Likewise.
23937 * include/set-hooks.h (RUN_HOOK): Likewise.
23938 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23940 * string/strcpy.c (strcpy): Do not use __unbounded.
23941 * sysdeps/generic/frame.h (struct layout): Likewise.
23942 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23943 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23944 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23945 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23946 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23947 (__backtrace): Likewise.
23948 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23950 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23951 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23952 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23954 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23955 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23956 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23957 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23958 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23959 Do not use __unbounded.
23960 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23961 Rename __unboundedrlimits parameter to rlimits in prototype.
23962 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23963 Do not use __unbounded.
23964 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23965 not use __ptrvalue.
23966 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23967 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23968 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23969 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23970 __ptrvalue or __unbounded.
23971 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23972 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23974 (__new_msgctl): Do not use __ptrvalue.
23975 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23977 (__libc_msgrcv): Do not use __ptrvalue.
23978 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23979 startup_info): Do not use __unbounded.
23980 (__libc_start_main): Likewise. Rename ubp_* variables and
23981 parameters. Remove argv definitions conditional on
23982 [__BOUNDED_POINTERS__].
23983 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23985 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23987 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23989 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23991 (__new_shmctl): Do not use __ptrvalue.
23992 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23993 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23995 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23996 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23997 (__libc_sigaction): Likewise.
23998 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23999 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24001 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24003 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24005 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24007 * string/mempcpy.c: Implement by calling memcpy.
24009 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24011 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24013 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24016 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24017 values in the mantissa.
24019 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24020 minimize writes to Z.
24021 (sub_magnitudes): Simplify code a bit.
24023 2013-02-12 Roland McGrath <roland@hack.frob.com>
24025 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24026 from the message. The linker prefixes all warnings with that already.
24028 2013-02-12 Andreas Schwab <schwab@suse.de>
24031 * posix/regexec.c (extend_buffers): Add parameter min_len.
24032 (check_matching): Pass minimum needed length.
24033 (clean_state_log_if_needed): Likewise.
24034 (get_subexp): Likewise.
24035 * posix/Makefile (tests): Add bug-regex34.
24036 (bug-regex34-ENV): Define.
24037 * posix/bug-regex34.c: New file.
24040 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24041 elements compare against the byte sequence of it, not its name.
24042 * posix/Makefile (tests): Add bug-regex35.
24043 (bug-regex35-ENV): Define.
24044 * posix/bug-regex35.c: New file.
24046 2013-02-11 Tom de Vries <tom@codesourcery.com>
24048 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24050 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24051 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24052 (CHECK_EOL): Add undef.
24054 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24056 * bits/stdlib-bsearch.h: New file.
24057 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24058 * stdlib/stdlib.h: Likewise.
24060 2013-02-11 Roland McGrath <roland@hack.frob.com>
24062 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24063 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24065 * manual/search.texi (Array Search Function): Add missing const in
24067 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24068 declaration to use rlim_t.
24069 (Basic Scheduling Functions): Remove erroneous const from
24070 sched_getparam prototype. Remove erroneous * from
24071 sched_get_priority_max and sched_get_priority_min prototypes.
24072 (Resource Usage): Fix summary @comment on vtimes to refer to
24073 sys/vtimes.h rather than vtimes.h.
24074 Add missing *s in vtimes prototype.
24075 (Limits on Resources): Fix ulimit prototype to return long int.
24076 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24077 prototypes to use long int rather than double.
24078 (BSD Random): Fix initstate and setstate to use char *, not void *.
24079 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24080 prototype to make second argument 'struct aiocb64 *const[]'.
24081 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24082 (Status of AIO Operations): Remove erroneous const in aio_return and
24083 aio_return64 prototypes.
24084 (Synchronizing I/O): Fix sync prototype to return void.
24085 * manual/startup.texi (Suboptions): Remove an erroneous const in
24086 getsubopt prototype.
24087 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24088 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24089 use size_t rather than int.
24090 (Scanning All Users): Likewise for getpwent_r.
24091 (Setting Groups): Add missing const to setgroups prototype.
24092 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24093 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24094 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24095 'const void *' rather than 'const char *'.
24096 (Host Address Functions): Likewise for inet_ntop.
24097 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24098 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24099 ssize_t for return value.
24100 (Sending Data): Likewise for send, sendto, sendmsg.
24101 (Socket Option Functions): Add a missing const in setsockopt prototype.
24102 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24103 use wchar_t for the argument.
24104 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24105 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24107 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24108 double/float/long double for second argument.
24109 Fix return types of significand, significandf, significandl.
24110 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24111 argument in fchmod prototype.
24112 (File Owner): Use uid_t and gid_t in fchown prototype.
24113 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24114 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24115 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24116 use 'const struct dirent **' as argument types to CMP function pointer
24118 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24119 (File Times): Fix summary magic @comment for struct utimbuf and utime
24120 to refer to utime.h, not time.h.
24121 * manual/string.texi (Argz Functions): Add missing const in
24122 argz_extract and argz_next prototypes.
24123 (Finding Tokens in a String): Likewise for basename.
24124 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24125 (Copying and Concatenation): Fix typo in wmemmove prototype.
24126 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24127 (Signal Stack): Remove erroneous const in sigstack prototype.
24128 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24130 (Simple Calendar Time): Likewise for stime.
24131 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24133 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24134 say sys/sysctl.h instead.
24135 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24136 and vsyslog prototypes.
24138 2013-02-11 Tom de Vries <tom@codesourcery.com>
24140 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24143 2013-02-11 Roland McGrath <roland@hack.frob.com>
24145 * misc/sys/mman.h: Fix typo in mremap comment.
24147 2013-02-08 Roland McGrath <roland@hack.frob.com>
24149 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24150 the '\0' terminator.
24152 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24155 * debug/segfault.c: Don't include <bp-checks.h>.
24156 * sysdeps/generic/bp-checks.h: Remove file.
24157 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24158 (__GETDENTS): Don't use CHECK_N.
24159 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24160 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24161 (__getgroups): Don't use CHECK_N.
24162 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24163 (setgroups): Don't use CHECK_N.
24164 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24165 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24166 (__libc_msgrcv): Don't use CHECK_N.
24167 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24168 (__libc_msgsnd): Don't use CHECK_N.
24169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24171 (__libc_pread): Don't use CHECK_N.
24172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24173 include <bp-checks.h>.
24174 (__libc_pread64): Don't use CHECK_N.
24175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24176 include <bp-checks.h>.
24177 (__libc_pwrite): Don't use CHECK_N.
24178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24179 include <bp-checks.h>.
24180 (__libc_pwrite64): Don't use CHECK_N.
24181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24183 (__libc_pread): Don't use CHECK_N.
24184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24185 include <bp-checks.h>.
24186 (__libc_pread64): Don't use CHECK_N.
24187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24188 include <bp-checks.h>.
24189 (__libc_pwrite): Don't use CHECK_N.
24190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24191 include <bp-checks.h>.
24192 (__libc_pwrite64): Don't use CHECK_N.
24193 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24194 (do_pread): Don't use CHECK_N.
24195 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24196 (do_pread64): Don't use CHECK_N.
24197 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24198 (do_pwrite): Don't use CHECK_N.
24199 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24200 (do_pwrite64): Don't use CHECK_N.
24201 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24202 (__libc_readv): Don't use CHECK_N.
24203 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24204 (semop): Don't use CHECK_N.
24205 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24207 (semtimedop): Don't use CHECK_N.
24208 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24209 (__libc_pread): Don't use CHECK_N.
24210 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24212 (__libc_pread64): Don't use CHECK_N.
24213 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24215 (__libc_pwrite): Don't use CHECK_N.
24216 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24218 (__libc_pwrite64): Don't use CHECK_N.
24219 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24221 (__libc_msgrcv): Don't use CHECK_N.
24222 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24223 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24224 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24225 (__libc_writev): Don't use CHECK_N.
24227 2013-02-08 Roland McGrath <roland@hack.frob.com>
24229 * string/strcpy.c: Removed unused variable.
24231 * Makeconfig (+sysdep-includes): Define with := rather than =.
24232 Use an existing include/ subdir of each sysdeps dir before it.
24234 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24236 * nscd/connection.c (register_traced_file): Comment function.
24237 [HAVE_INOTIFY] (union __inev): Define.
24238 [HAVE_INOTIFY] (inotify_check_files): New function.
24239 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24240 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24242 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24244 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24246 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24247 loaded if not already and that a failure is permanent.
24249 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24252 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24253 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24255 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24258 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24259 (CHECK_1_NULL_OK): Likewise.
24260 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24261 (__fxstat): Do not use CHECK_1.
24262 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24264 (___fxstat64): Do not use CHECK_1.
24265 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24267 (__fxstatat): Do not use CHECK_1.
24268 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24270 (__fxstatat64): Do not use CHECK_1.
24271 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24273 (__fxstat): Do not use CHECK_1.
24274 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24276 (__fxstatat): Do not use CHECK_1.
24277 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24279 (__getresgid): Do not use CHECK_1.
24280 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24282 (__getresuid): Do not use CHECK_1.
24283 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24285 (__lxstat): Do not use CHECK_1.
24286 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24288 (__old_msgctl): Do not use CHECK_1.
24289 (__new_msgctl): Likewise.
24290 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24292 (__new_setrlimit): Do not use CHECK_1.
24293 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24295 (__old_shmctl): Do not use CHECK_1.
24296 (__new_shmctl): Likewise.
24297 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24299 (__xstat): Do not use CHECK_1.
24300 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24301 (__lxstat): Do not use CHECK_1.
24302 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24304 (___lxstat64): Do not use CHECK_1.
24305 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24306 (__old_msgctl): Do not use CHECK_1.
24307 (__new_msgctl): Likewise.
24308 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24310 (__gettimeofday): Do not use CHECK_1.
24311 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24312 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24313 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24315 (__gettimeofday): Do not use CHECK_1.
24316 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24317 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24318 (__new_shmctl): Do not use CHECK_1.
24319 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24321 (do_sigtimedwait): Do not use CHECK_1.
24322 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24324 (do_sigwaitinfo): Do not use CHECK_1.
24325 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24327 (msgctl): Do not use CHECK_1.
24328 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24330 (shmctl): Do not use CHECK_1.
24331 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24332 (ustat): Do not use CHECK_1.
24333 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24335 (__fxstat): Do not use CHECK_1.
24336 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24338 (__fxstatat): Do not use CHECK_1.
24339 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24341 (__lxstat): Do not use CHECK_1.
24342 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24344 (__xstat): Do not use CHECK_1.
24345 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24346 (__xstat): Do not use CHECK_1.
24347 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24348 (___xstat64): Do not use CHECK_1.
24351 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24353 (CHECK_BOUNDS_HIGH): Likewise.
24354 * string/strcpy.c: Do not include <bp-checks.h>.
24355 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24357 2013-02-07 Roland McGrath <roland@hack.frob.com>
24359 * nscd/nscd-client.h (__nscd_drop_map_ref):
24360 Add __attribute__ ((unused)).
24361 * nis/nss-nisplus.h (niserr2nss): Likewise.
24363 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24364 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24366 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24367 Remove inline keyword.
24368 * include/rounding-mode.h (round_away): Likewise.
24369 * libio/wfileops.c (adjust_wide_data): Likewise.
24370 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24371 (__m128i_strloadu_tolower): Likewise.
24372 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24373 (__m128i_strloadu_tolower): Likewise.
24374 * time/mktime.c (ydhms_diff): Likewise.
24375 * locale/elem-hash.h (elem_hash): Likewise.
24376 * locale/setlocale.c (setdata): Likewise.
24377 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24378 (re_string_wchar_at): Likewise.
24379 (bitset_not, bitset_merge, bitset_mask): Likewise.
24380 [!(__GNUC__ > 3)] (inline): Remove macro.
24381 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24382 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24383 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24384 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24385 * string/memcmp.c (memcmp_bytes): Likewise.
24386 * locale/programs/locarchive.c (compute_hashval): Likewise.
24387 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24388 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24389 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24390 * nss/getent.c (print_rpc, print_protocols): Likewise.
24391 (print_passwd, print_group, print_aliases): Likewise.
24392 * nis/nss-nisplus.h (niserr2nss): Likewise.
24393 * nscd/connections.c (restart_p): Likewise.
24394 Change return type to bool.
24396 2013-02-05 Roland McGrath <roland@hack.frob.com>
24398 * Makeconfig (all-Depend-files): Add existing
24399 $(sorted-subdirs:=/Depend) files.
24400 (all-subdirs): Remove nss.
24401 * sysdeps/unix/inet/Subdirs: Add it here instead.
24402 * hesiod/Depend: New file.
24404 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24405 instead of calling alloca.
24407 * io/lseek.c (__lseek): Rename to __libc_lseek.
24408 Define __lseek as an alias.
24410 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24412 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24414 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24415 else clause and remove check for non-standard endianness.
24417 2013-02-04 David S. Miller <davem@davemloft.net>
24419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24421 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24424 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24425 (__ubp_memchr): Remove prototype.
24426 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24427 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24428 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24429 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24430 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24432 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24433 (__ubp_memchr): Likewise.
24434 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24435 (__ubp_memchr): Likewise.
24436 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24437 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24438 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24439 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24441 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24442 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24443 (__getcwd): Do not use CHECK_STRING.
24444 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24446 (__real_chown): Do not use CHECK_STRING.
24447 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24449 (fchownat): Do not use CHECK_STRING.
24450 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24452 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24454 (__lchown): Do not use CHECK_STRING.
24455 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24456 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24457 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24458 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24460 include <bp-checks.h>.
24461 (truncate64): Do not use CHECK_STRING.
24462 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24464 (__real_chown): Do not use CHECK_STRING.
24465 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24467 (__lchown): Do not use CHECK_STRING.
24468 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24470 (__chown): Do not use CHECK_STRING.
24471 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24473 (truncate64): Do not use CHECK_STRING.
24474 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24476 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24477 (__xmknod): Do not use CHECK_STRING.
24478 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24480 (__xmknodat): Do not use CHECK_STRING.
24481 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24482 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24484 2013-02-04 Andreas Schwab <schwab@suse.de>
24487 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24488 * include/netdb.h: Likewise for h_errno.
24489 * elf/tst-stackguard1.c: Include <tls.h>.
24491 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24493 * elf/link.h (struct link_map): Extend the l_addr comment.
24494 * include/link.h (struct link_map): Likewise.
24496 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24499 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24500 (BOUNDED_1): Remove macro.
24501 * debug/backtrace.c: Don't include <bp-checks.h>.
24502 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24503 (__backtrace): Likewise.
24504 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24506 (__backtrace): Don't use BOUNDED_1.
24507 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24509 (__backtrace): Don't use BOUNDED_1.
24510 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24511 (__backtrace): Don't use BOUNDED_1.
24512 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24513 (shmat): Don't use BOUNDED_N.
24515 2013-01-31 Joseph Myers <joseph@codesourcery.com>
24518 * sysdeps/generic/bp-start.h: Remove file.
24519 * csu/libc-start.c: Don't include <bp-start.h>.
24520 (LIBC_START_MAIN): Set up __environ directly instead of using
24521 INIT_ARGV_and_ENVIRON.
24522 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24526 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24528 (CHECK_FCNTL): Likewise.
24529 (CHECK_N_PAGES): Likewise.
24532 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24534 (CHECK_SIGSET_NULL_OK): Likewise.
24535 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24537 (sigpending): Don't use CHECK_SIGSET.
24538 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24540 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24541 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24543 (do_sigsuspend): Don't use CHECK_SIGSET.
24544 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24546 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24547 (do_sigwait): Don't use CHECK_SIGSET.
24548 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24550 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24551 include <bp-checks.h>.
24552 (sigpending): Don't use CHECK_SIGSET.
24553 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24554 include <bp-checks.h>.
24555 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24556 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24558 (sigpending): Don't use CHECK_SIGSET.
24559 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24561 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24564 * sysdeps/generic/bp-semctl.h: Remove file.
24565 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24566 <bp-checks.h> and <bp-semctl.h>.
24567 (__old_semctl): Don't use CHECK_SEMCTL.
24568 (__new_semctl): Likewise.
24569 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24571 (__old_semctl): Don't use CHECK_SEMCTL.
24572 (__new_semctl): Likewise.
24573 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24574 <bp-checks.h> and <bp-semctl.h>.
24575 (__old_semctl): Don't use CHECK_SEMCTL.
24576 (__new_semctl): Likewise.
24577 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24578 <bp-checks.h> and <bp-semctl.h>.
24579 (semctl): Don't use CHECK_SEMCTL.
24582 * Makerules (elide-bp-thunks): Remove variable.
24583 (elide-routines.oS): Don't use $(elide-bp-thunks).
24584 (elide-routines.os): Likewise.
24585 (elide-routines.o): Likewise.
24586 (elide-routines.op): Likewise.
24587 (elide-routines.og): Likewise.
24588 (objects): Don't use $(bp-thunks).
24589 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24591 (common-generated): Do not add s-proto-bp.d.
24592 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24595 Do not generate makefile rules for bounded-pointer thunks.
24596 * sysdeps/generic/bp-thunks.h: Remove file.
24597 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24598 * sysdeps/unix/s-proto-bp.S: Likewise.
24601 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24602 parts of result separately when argument is not close to line from
24603 -i to i and one part of argument is small.
24604 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24605 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24606 * math/libm-test.inc (cacos_test): Add more tests.
24607 (casin_test): Likewise.
24608 (casinh_test): Likewise.
24609 * sysdeps/i386/fpu/libm-test-ulps: Update.
24610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24612 2013-01-31 David S. Miller <davem@davemloft.net>
24614 * po/de.po: Update from translation team.
24616 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24618 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24620 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24622 * configure.in (_AC_PROG_CC_C89): New definition.
24623 * configure: Regenerate.
24625 * configure.in (AC_PROG_CPP): New definition.
24626 * configure: Regenerate.
24628 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24630 * debug/tst-backtrace.h: New file.
24631 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24632 (ret): Remove variable.
24634 (FAIL): Remove macro.
24635 (NO_INLINE): Likewise.
24636 (fn1): Use match function instead of strstr.
24637 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24638 (ret): Remove variable.
24640 (FAIL): Remove macro.
24641 (NO_INLINE): Likewise.
24642 (fn): Use match function instead of strstr.
24643 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24644 (ret): Remove variable.
24646 (FAIL): Remove macro.
24647 (NO_INLINE): Likewise.
24648 (handle_signal): Use match function instead of strstr.
24649 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24650 (ret): Remove variable.
24652 (FAIL): Remove macro.
24653 (NO_INLINE): Likewise.
24654 (handle_signal): Use match function instead of strstr.
24656 2013-01-23 Roland McGrath <roland@hack.frob.com>
24658 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24660 2013-01-23 David S. Miller <davem@davemloft.net>
24662 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24663 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24664 argument of CAS if possible.
24665 * sysdeps/sparc/sparc64/bits/atomic.h
24666 (__arch_compare_and_exchange_val_32_acq): Likewise.
24667 (__arch_compare_and_exchange_val_64_acq): Likewise.
24669 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24671 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24672 * sysdeps/posix/ulimit.c: ... this.
24673 Include <limits.h>.
24674 * sysdeps/unix/bsd/ulimit.c: Remove file.
24676 2013-01-23 Adam Conrad <adconrad@0c3.net>
24678 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24679 (LDFLAGS-tst-array5): Likewise.
24681 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24684 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24685 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24686 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24687 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24689 2013-01-21 David S. Miller <davem@davemloft.net>
24691 * sysdeps/sparc/backtrace.c: New file.
24692 * sysdeps/sparc/sparc32/backtrace.h: New file.
24693 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24694 * sysdeps/sparc/sparc64/backtrace.h: New file.
24695 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24696 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24699 2013-01-21 Andreas Schwab <schwab@suse.de>
24702 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24705 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24709 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24711 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24712 Mark Mitchell <mark@codesourcery.com>
24713 Tom de Vries <tom@codesourcery.com>
24714 Paul Pluzhnikov <ppluzhnikov@google.com>
24716 * debug/tst-backtrace2.c: New file.
24717 * debug/tst-backtrace3.c: Likewise.
24718 * debug/tst-backtrace4.c: Likewise.
24719 * debug/tst-backtrace5.c: Likewise.
24720 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24721 (CFLAGS-tst-backtrace3.c): Likewise.
24722 (CFLAGS-tst-backtrace4.c): Likewise.
24723 (CFLAGS-tst-backtrace5.c): Likewise.
24724 (LDFLAGS-tst-backtrace2): Likewise.
24725 (LDFLAGS-tst-backtrace3): Likewise.
24726 (LDFLAGS-tst-backtrace4): Likewise.
24727 (LDFLAGS-tst-backtrace5): Likewise.
24728 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24729 tst-backtrace4 and tst-backtrace5.
24731 2013-01-18 Anton Blanchard <anton@samba.org>
24732 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24734 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24735 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24736 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24737 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24739 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24740 "+r" and remove output regs list as redundant. Add explicit inline
24741 asm to specify register of return val to work around compiler codegen
24742 bug. Remove (int) cast on return value. Add return type parameter to
24743 use in macro so that this macro does not truncate return value for
24745 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24746 pass to INTERNAL_VSYSCALL_NCS.
24747 (INLINE_VSYSCALL): Add 'long int' as return type to
24748 INTERNAL_VSYSCALL_NCS macro invocation.
24749 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24750 INTERNAL_VSYSCALL_NCS macro invocation.
24751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24753 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24756 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24757 Fix application of SIMD FP exception mask.
24759 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24760 mp_no from a power of two.
24761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24762 __mpexp_twomm1. Use __pow_mp.
24764 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24767 2013-01-17 David S. Miller <davem@davemloft.net>
24769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24771 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24774 * include/complex.h: Condition contents on [!_COMPLEX_H].
24775 (__kernel_casinhf): New prototype.
24776 (__kernel_casinh): Likewise.
24777 (__kernel_casinhl): Likewise.
24778 * math/Makefile (libm_calls): Add k_casinh.
24779 * math/k_casinh.c: New file.
24780 * math/k_casinhf.c: Likewise.
24781 * math/k_casinhl.c: Likewise.
24782 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24783 finite nonzero arguments.
24784 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24785 finite nonzero arguments.
24786 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24787 finite nonzero arguments.
24788 * math/s_casinh.c: Do not include <float.h>.
24789 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24790 * math/s_casinhf.c: Do not include <float.h>.
24791 (__casinhf): Move code for finite nonzero arguments to
24793 * math/s_casinhl.c: Do not include <float.h>.
24794 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24796 (__casinhl): Move code for finite nonzero arguments to
24798 * math/libm-test.inc (cacos_test): Add more tests.
24799 * sysdeps/i386/fpu/libm-test-ulps: Update.
24800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24802 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24804 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24805 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24806 [!HAVE_MREMAP]: Remove [defined linux] case.
24807 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24809 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24811 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24813 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24815 * elf/elf.h (R_386_SIZE32): New relocation.
24816 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24818 (elf_machine_rela): Likewise.
24819 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24820 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24822 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24824 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24825 (FP_FAST_FMA): Do not define.
24826 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24827 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24828 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24829 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24830 !_SOFT_FLOAT]: Likewise.
24831 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24832 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24834 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24835 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24836 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24837 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24838 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24839 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24842 2013-01-16 Andreas Schwab <schwab@suse.de>
24845 * include/stdlib.h (__mktemp): Add declaration.
24846 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24847 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24849 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24851 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24853 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24854 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24855 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24857 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24858 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24860 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24862 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24863 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24864 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24866 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24867 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24869 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24871 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24873 2013-01-15 David S. Miller <davem@davemloft.net>
24875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24876 trunc{,f} to libm-sysdep_routes.
24877 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24887 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24888 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24889 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24890 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24891 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24892 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24895 nearbyint{,f} to libm-sysdep_routes.
24896 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24907 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24909 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24910 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24912 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24913 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24914 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24916 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24917 libc_feholdexcept and libc_fesetenv.
24919 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24921 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24923 2013-01-14 David S. Miller <davem@davemloft.net>
24925 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24926 (SPARC_ASM_VIS2_IFUNC): Likewise.
24927 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24929 use of 'siam' instruction.
24930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24936 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24937 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24938 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24939 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24948 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24949 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24950 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24951 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24959 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24960 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24961 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24963 routines to libm-sysdep_routines.
24964 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24967 fdim/fdimf to libm-sysdep_routines.
24968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24976 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24977 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24978 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24979 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24981 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24983 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24984 to optimize copies.
24986 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24991 local variable MPTWO.
24992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24995 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24997 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25000 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25002 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25004 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25006 * manual/pattern.texi (glob_t): Document gl_flags.
25007 (glob64_t): Likewise.
25009 2013-01-11 David S. Miller <davem@davemloft.net>
25011 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25012 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25013 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25014 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25015 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25016 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25017 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25018 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25019 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25020 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25021 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25022 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25023 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25025 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25026 sparc V9 rather than using V8 code.
25027 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25028 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25030 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25032 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25035 2013-01-11 Roland McGrath <roland@hack.frob.com>
25037 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25038 not in the main loop.
25039 * configure: Regenerated.
25041 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25043 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25044 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25046 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25047 [!__GLIBC_HAVE_LONG_LONG] case.
25048 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25049 condition to just #else.
25050 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25051 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25052 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25053 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25055 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25056 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25057 #elif condition to just #else.
25058 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25059 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25060 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25061 #elif condition to just #else.
25063 2013-01-11 Steve Ellcey <sellcey@mips.com>
25065 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25066 (EF_MIPS_ARCH_64): Fix value.
25067 (EF_MIPS_ARCH_32R2): New.
25068 (EF_MIPS_ARCH_64R2): New.
25070 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25072 * Makeconfig (+link-pie-before-libc): New.
25073 (+link-pie-after-libc): Likewise.
25074 (+link-pie-tests): Likewise.
25075 (+link-pie): Rewritten.
25076 (link-before-libc): Remove $(config-LDFLAGS).
25077 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25078 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25079 (config-LDFLAGS): Renamed to ...
25080 (rtld-LDFLAGS): This.
25081 (rtld-tests-LDFLAGS): New macro.
25082 (link-libc-rpath-link): Likewise.
25083 (link-libc-tests-rpath-link): Likewise.
25084 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25085 (link-libc): Prepand $(link-libc-rpath-link).
25086 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25087 (test-program-prefix): New macro.
25088 (test-via-rtld-prefix): Likewise.
25089 (test-program-cmd): Likewise.
25090 (host-test-program-cmd): Likewise.
25091 * Makefile ($(common-objpfx)testrun.sh): Replace
25092 $(run-program-prefix) with $(test-program-prefix).
25093 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25095 ($(common-objpfx)shlib.lds): Likewise.
25096 (build-module-helper): Likewise.
25097 ($(common-objpfx)format.lds): Likewise.
25098 * Rules (binaries-pie-tests): New.
25099 (binaries-pie-notests): Likewise.
25100 (binaries-pie): Rewritten.
25101 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25102 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25103 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25104 (make-test-out): Replace $(host-built-program-cmd) with
25105 $(host-test-program-cmd).
25106 * config.make.in (build-hardcoded-path-in-tests): New variable.
25107 * configure.in (--enable-hardcoded-path-in-tests): New configure
25109 (hardcoded_path_in_tests): New AC_SUBST.
25110 * configure: Regenerated.
25111 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25112 $(built-program-cmd) with $(test-program-cmd).
25113 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25114 (test_program_cmd): This.
25115 * elf/Makefile ($(objpfx)order.out): Run test with
25116 $(test-program-prefix).
25117 ($(objpfx)order2.out): Likewise.
25118 ($(objpfx)tst-initorder.out): Likewise.
25119 ($(objpfx)tst-initorder2.out): Likewise.
25120 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25121 $(test-program-cmd).
25122 ($(objpfx)tst-array1-static.out): Likewise.
25123 ($(objpfx)tst-array2.out): Likewise.
25124 ($(objpfx)tst-array3.out): Likewise.
25125 ($(objpfx)tst-array4.out): Likewise.
25126 ($(objpfx)tst-array5.out): Likewise.
25127 ($(objpfx)tst-array5-static.out): Likewise.
25128 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25129 $(test-program-cmd).
25130 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25131 $(run-program-prefix) with $(test-program-prefix).
25132 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25133 (test_program_prefix): This.
25134 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25135 $(run-program-prefix) with $(test-program-prefix).
25136 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25137 (test_program_prefix): This.
25138 * iconvdata/tst-tables.sh: Likewise.
25139 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25140 $(run-program-prefix) with $(test-program-prefix).
25141 ($(objpfx)tst-translit.out): Likewise.
25142 ($(objpfx)tst-gettext2.out): Likewise.
25143 ($(objpfx)tst-gettext4.out): Likewise.
25144 ($(objpfx)tst-gettext6.out): Likewise.
25145 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25146 (test_program_prefix): This.
25147 * intl/tst-gettext2.sh: Likewise.
25148 * intl/tst-gettext4.sh Likewise.
25149 * intl/tst-gettext6.sh: Likewise.
25150 * intl/tst-translit.sh: Likewise.
25151 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25152 with $(test-program-cmd).
25153 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25154 $(run-program-prefix) with $(test-program-prefix).
25155 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25156 (test_program_prefix): This.
25157 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25158 $(run-program-prefix) with $(test-program-prefix).
25159 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25160 (test_program_prefix): This.
25161 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25162 * posix/Makefile ($(objpfx)globtest.out): Replace
25163 $(run-via-rtld-prefix) and $(test-wrapper) with
25164 $(test-program-prefix) and $(test-via-rtld-prefix).
25165 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25166 $(test-program-prefix).
25167 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25168 $(host-test-program-cmd).
25169 (tst-spawn-ARGS): Likewise.
25170 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25171 $(test-program-prefix).
25172 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25173 (test_via_rtld_prefix): This.
25174 (test_wrapper): Renamed to ...
25175 (test_program_prefix): This.
25176 (run_program_prefix): Replaced by test_program_prefix.
25177 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25178 (test_program_prefix): This.
25179 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25180 with $(host-test-program-cmd).
25181 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25182 $(run-program-prefix) with $(test-program-prefix).
25183 ($(objpfx)tst-printf.out): Likewise.
25184 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25185 $(test-program-cmd).
25186 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25187 (test_program_prefix): This.
25188 * stdio-common/tst-unbputc.sh: Likewise.
25189 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25190 $(run-program-prefix) with $(test-program-prefix).
25191 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25192 (test_program_prefix): This.
25193 * string/Makefile ($(objpfx)tst-svc.out): Replace
25194 $(built-program-cmd) with $(test-program-cmd).
25196 2013-01-11 Andreas Jaeger <aj@suse.de>
25199 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25200 value. Sync with Linux 3.7.
25202 2013-01-10 David S. Miller <davem@davemloft.net>
25204 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25205 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25206 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25208 2013-01-10 Roland McGrath <roland@hack.frob.com>
25210 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25212 * configure: Regenerated.
25214 2013-01-10 David S. Miller <davem@davemloft.net>
25216 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25217 sparc V9 rather than using V8 code.
25218 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25219 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25221 2013-01-10 Roland McGrath <roland@hack.frob.com>
25223 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25224 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25225 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25226 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25227 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25228 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25229 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25230 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25231 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25232 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25233 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25234 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25235 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25236 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25237 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25238 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25239 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25240 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25241 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25242 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25243 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25244 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25245 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25246 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25247 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25248 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25249 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25251 2013-01-10 David S. Miller <davem@davemloft.net>
25253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25255 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25257 * posix/Makefile (tests-static): New variable.
25258 (tests): Add $(tests-static).
25259 (tst-exec-static-ARGS): New variable.
25260 (tst-spawn-static-ARGS): Likewise.
25261 * posix/tst-exec-static.c: New file.
25262 * posix/tst-spawn-static.c: Likewise.
25263 * posix/tst-exec.c: Support run directly.
25264 * posix/tst-spawn.c: Likewise.
25266 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25268 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25270 * math/bits/mathcalls.h (llrint): Likewise.
25271 (llround): Likewise.
25272 * stdlib/stdlib.h (struct drand48_data): Likewise.
25273 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25274 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25275 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25277 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25279 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25280 (elf_greg_t): Likewise.
25281 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25282 (__jmp_buf): Likewise.
25283 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25285 (llrint): Likewise, for all definitions.
25286 (llrintl): Likewise.
25288 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25289 Remove [__GNUC__] condition.
25290 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25291 condition to just [__USE_ISOC99].
25292 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25294 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25297 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25298 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25300 (_POSIX_V6_ILP32_OFF32): Likewise.
25301 (_XBS5_ILP32_OFF32): Likewise.
25302 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25303 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25305 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25307 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25309 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25310 doubles __mpexp_twomm1. Adjust usage.
25311 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25314 2013-01-10 Andreas Schwab <schwab@suse.de>
25317 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25318 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25320 2013-01-09 David S. Miller <davem@davemloft.net>
25323 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25324 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25325 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25326 (TCP_FASTOPEN): Define.
25327 (tcp_repair_opt): New structure.
25328 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25330 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25331 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25332 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25333 (tcp_cookie_transactions): New structure.
25335 2013-01-09 Anton Blanchard <anton@samba.org>
25337 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25338 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25339 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25340 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25342 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25344 * include/features.h (__USE_ANSI): Remove.
25346 2013-01-09 Roland McGrath <roland@hack.frob.com>
25348 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25350 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25352 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25354 * sysdeps/s390/fpu/libm-test-ulps: Update.
25356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25358 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25362 (denorm): Likewise.
25363 (__mp_dbl): Likewise.
25364 (__dbl_mp): Likewise.
25365 (add_magnitudes): Likewise.
25366 (sub_magnitudes): Likewise.
25372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25376 (denorm): Likewise.
25377 (__mp_dbl): Likewise.
25378 (__dbl_mp): Likewise.
25379 (add_magnitudes): Likewise.
25380 (sub_magnitudes): Likewise.
25386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25390 (denorm): Likewise.
25391 (__mp_dbl): Likewise.
25392 (__dbl_mp): Likewise.
25393 (add_magnitudes): Likewise.
25394 (sub_magnitudes): Likewise.
25401 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25403 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25404 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25405 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25406 2 && __USE_EXTERN_INLINES]: Likewise.
25408 2013-01-08 Andreas Jaeger <aj@suse.de>
25411 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25413 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25414 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25416 2013-01-07 Anton Blanchard <anton@samba.org>
25418 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25419 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25420 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25421 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25422 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25423 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25424 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25425 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25427 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25428 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25429 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25430 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25431 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25432 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25433 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25434 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25435 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25436 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25437 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25438 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25439 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25440 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25441 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25442 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25443 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25444 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25445 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25446 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25447 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25448 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25449 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25450 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25451 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25452 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25453 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25454 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25455 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25456 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25457 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25458 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25459 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25460 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25462 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25464 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25465 (__MALLOC_PMT): Likewise.
25466 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25467 [__GNUC__], only on [_LIBC].
25468 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25469 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25470 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25471 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25472 forward declaration.
25473 (realloc_hook_ini): Likewise.
25474 (memalign_hook_ini): Likewise.
25475 (__libc_memalign): Do not use __MALLOC_PMT in variable
25477 (__libc_valloc): Likewise.
25478 (__libc_pvalloc): Likewise.
25479 (__libc_calloc): Likewise.
25480 (__posix_memalign): Likewise.
25483 * math/s_casinh.c: Include <float.h>.
25484 (__casinh): Do not do computation with squaring and square root
25485 for large arguments.
25486 * math/s_casinhf.c: Include <float.h>.
25487 (__casinhf): Do not do computation with squaring and square root
25488 for large arguments.
25489 * math/s_casinhl.c: Include <float.h>.
25490 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25491 (__casinhl): Do not do computation with squaring and square root
25492 for large arguments.
25493 * math/libm-test.inc (casin_test): Add more tests.
25494 (casinh_test): Likewise.
25495 * sysdeps/i386/fpu/libm-test-ulps: Update.
25496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25498 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25500 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25501 (__x86_64_raw_data_cache_size): Likewise.
25502 (__x86_64_data_cache_size_half): Likewise.
25503 (__x86_64_raw_data_cache_size_half): Likewise.
25504 (__x86_64_shared_cache_size): Likewise.
25505 (__x86_64_raw_shared_cache_size): Likewise.
25506 (__x86_64_shared_cache_size_half): Likewise.
25507 (__x86_64_raw_shared_cache_size_half): Likewise.
25508 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25510 (__x86_data_cache_size): This.
25511 (__x86_64_raw_data_cache_size): Renamed to ...
25512 (__x86_raw_data_cache_size): This.
25513 (__x86_64_data_cache_size_half): Renamed to ...
25514 (__x86_data_cache_size_half): This.
25515 (__x86_64_raw_data_cache_size_half): Renamed to ...
25516 (__x86_raw_data_cache_size_half): This.
25517 (__x86_64_shared_cache_size): Renamed to ...
25518 (__x86_shared_cache_size): This.
25519 (__x86_64_raw_shared_cache_size): Renamed to ...
25520 (__x86_raw_shared_cache_size): This.
25521 (__x86_64_shared_cache_size_half): Renamed to ...
25522 (__x86_shared_cache_size_half): This.
25523 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25524 (__x86_raw_shared_cache_size_half): This.
25525 * sysdeps/x86_64/memcpy.S: Updated.
25526 * sysdeps/x86_64/memset.S: Likewise.
25527 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25528 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25529 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25531 2013-01-04 David S. Miller <davem@davemloft.net>
25533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25535 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25537 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25538 1 to avoid redefinition warning.
25539 (__USE_GNU): Don't define.
25540 (init_signaling_nan): Protoize.
25542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25544 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25546 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25547 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25548 (__cpymn): Likewise.
25549 (norm): Remove commented code.
25550 (denorm): Likewise.
25551 (__mp_dbl): Likewise.
25553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25554 (__cpymn): Likewise.
25555 (norm): Remove commented code.
25556 (denorm): Likewise.
25557 (__mp_dbl): Likewise.
25560 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25561 mp_no value for 1.0 and 2.0.
25562 (norm): Use RADIXI instead of radixi.d.
25563 (denorm): Likewise.
25564 (__mul): Use 0.0 instead of zero.d.
25565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25566 mp_no value for 1.0 and 2.0.
25567 (norm): Use RADIXI instead of radixi.d.
25568 (denorm): Likewise.
25569 (__mul): Use 0.0 instead of zero.d.
25571 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25574 * math/s_casinh.c (__casinh): Reduce finite argument to first
25575 quadrant then set signs of results at the end.
25576 * math/s_casinhf.c (__casinhf): Likewise.
25577 * math/s_casinhl.c (__casinhl): Likewise.
25578 * math/libm-test.inc (casin_test): Add more tests.
25579 (casinh_test): Likewise.
25580 * sysdeps/i386/fpu/libm-test-ulps: Update.
25581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25583 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25585 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25587 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25589 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25591 (denorm): Likewise.
25592 (__mp_dbl): Likewise.
25595 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25596 and adjust the header comment.
25598 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25599 variable name from declaration.
25601 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25604 Initialize COMMON_CPUID_INDEX_7 element.
25605 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25606 (CPUID_RTM): Likewise.
25607 (HAS_RTM): Likewise.
25608 (COMMON_CPUID_INDEX_7): New enum.
25610 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25613 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25614 size is zero, record memory as freed.
25616 2013-01-03 Andreas Jaeger <aj@suse.de>
25618 * po/ia.po: Add new Interlingua translation.
25620 2012-01-03 Allan McRae <allan@archlinux.org>
25622 * locale/programs/localedef.c: Fix description of '--posix' flag.
25624 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25626 * NEWS: Update dates in second copyright notice.
25627 * README: Update copyright dates in example.
25628 * manual/libc.texinfo: Update copyright dates.
25629 * scripts/test-installation.pl: Update copyright date in --version
25632 * hurd/ctty-input.c: Fix copyright notice formatting.
25633 * hurd/ctty-output.c: Likewise.
25634 * hurd/dtable.c: Likewise.
25635 * hurd/hurd-raise.c: Likewise.
25636 * hurd/hurdprio.c: Likewise.
25637 * hurd/msgportdemux.c: Likewise.
25638 * misc/sys/file.h: Likewise.
25639 * misc/sys/ioctl.h: Likewise.
25640 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25641 * sysdeps/mach/hurd/chdir.c: Likewise.
25642 * sysdeps/mach/hurd/fchdir.c: Likewise.
25643 * sysdeps/mach/hurd/rename.c: Likewise.
25644 * sysdeps/mach/hurd/rmdir.c: Likewise.
25645 * sysdeps/mach/hurd/seekdir.c: Likewise.
25646 * sysdeps/mach/hurd/setsid.c: Likewise.
25647 * sysdeps/posix/wait3.c: Likewise.
25649 * All files with FSF copyright notices: Update copyright dates
25650 using scripts/update-copyrights.
25651 * intl/plural.c: Regenerated.
25652 * locale/programs/charmap-kw.h: Likewise.
25653 * locale/programs/locfile-kw.h: Likewise.
25655 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25657 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25660 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25661 calculation loop and add branch prediction.
25663 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25664 check access beyond bounds of m1np.
25666 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25668 (__inv): Remove local variable MPTWO to use the global
25670 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25671 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25673 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25674 MP3HALFS static const.
25676 2013-01-01 David S. Miller <davem@davemloft.net>
25678 * po/ca.po: Update from translation team.
25680 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25682 * scripts/update-copyrights: New file.
25683 * Makeconfig: Reformat copyright notice.
25684 * ctype/ctype.h: Likewise.
25685 * debug/swprintf_chk.c: Likewise.
25686 * elf/dl-cache.c: Likewise.
25687 * elf/dl-debug.c: Likewise.
25688 * elf/dl-object.c: Likewise.
25689 * grp/initgroups.c: Likewise.
25690 * hurd/Makefile: Likewise.
25691 * hurd/hurd/signal.h: Likewise.
25692 * hurd/hurdfault.c: Likewise.
25693 * hurd/hurdioctl.c: Likewise.
25694 * hurd/hurdlookup.c: Likewise.
25695 * hurd/intr-msg.c: Likewise.
25696 * iconv/gconv_open.c: Likewise.
25697 * libio/swprintf.c: Likewise.
25698 * locale/lc-ctype.c: Likewise.
25699 * locale/nl_langinfo.c: Likewise.
25700 * mach/Machrules: Likewise.
25701 * mach/Makefile: Likewise.
25702 * malloc/obstack.h: Likewise.
25703 * manual/Makefile: Likewise.
25704 * manual/tsort.awk: Likewise.
25705 * misc/bits/stab.def: Likewise.
25706 * nis/nis_print_group_entry.c: Likewise.
25707 * nis/nis_table.c: Likewise.
25708 * nis/nss_compat/compat-pwd.c: Likewise.
25709 * nis/nss_compat/compat-spwd.c: Likewise.
25710 * po/Makefile: Likewise.
25711 * posix/fnmatch.c: Likewise.
25712 * posix/regex.h: Likewise.
25713 * resolv/Makefile: Likewise.
25714 * resolv/nss_dns/dns-network.c: Likewise.
25715 * resolv/res_hconf.c: Likewise.
25716 * scripts/gen-sorted.awk: Likewise.
25717 * soft-fp/soft-fp.h: Likewise.
25718 * stdio-common/printf.h: Likewise.
25719 * stdlib/monetary.h: Likewise.
25720 * stdlib/random.c: Likewise.
25721 * stdlib/random_r.c: Likewise.
25722 * sysdeps/generic/Makefile: Likewise.
25723 * sysdeps/gnu/Makefile: Likewise.
25724 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25725 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25726 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25727 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25728 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25729 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25730 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25731 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25732 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25733 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25734 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25735 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25736 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25737 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25738 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25739 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25740 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25741 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25742 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25743 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25744 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25745 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25746 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25747 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25748 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25749 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25750 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25751 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25752 * sysdeps/mach/hurd/errnos.awk: Likewise.
25753 * sysdeps/mach/hurd/fork.c: Likewise.
25754 * sysdeps/mach/hurd/getcwd.c: Likewise.
25755 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25756 * sysdeps/mach/hurd/mmap.c: Likewise.
25757 * sysdeps/mach/hurd/utimes.c: Likewise.
25758 * sysdeps/mach/hurd/xmknod.c: Likewise.
25759 * sysdeps/posix/profil.c: Likewise.
25760 * sysdeps/posix/readdir_r.c: Likewise.
25761 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25762 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25763 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25764 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25766 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25767 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25768 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25769 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25770 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25771 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25772 * sysdeps/pthread/lio_listio.c: Likewise.
25773 * sysdeps/sparc/dl-procinfo.h: Likewise.
25774 * sysdeps/unix/i386/sysdep.S: Likewise.
25775 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25776 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25777 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25778 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25780 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25781 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25782 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25783 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25784 * sysdeps/wordsize-32/divdi3.c: Likewise.
25785 * time/sys/time.h: Likewise.
25786 * wcsmbs/Makefile: Likewise.
25788 2013-01-01 David S. Miller <davem@davemloft.net>
25790 * po/fr.po: Update from translation team.
25792 * catgets/gencat.c: Update copyright year.
25793 * csu/version.c: Likewise.
25794 * debug/catchsegv.sh: Likewise.
25795 * debug/pcprofiledump.c: Likewise.
25796 * debug/xtrace.sh: Likewise.
25797 * elf/ldconfig.c: Likewise.
25798 * elf/ldd.bash.in: Likewise.
25799 * elf/pldd.c: Likewise.
25800 * elf/sotruss.ksh: Likewise.
25801 * elf/sprof.c: Likewise.
25802 * iconv/iconv_prog.c: Likewise.
25803 * iconv/iconvconfig.c: Likewise.
25804 * locale/programs/locale.c: Likewise.
25805 * locale/programs/localedef.c: Likewise.
25806 * login/programs/pt_chown.c: Likewise.
25807 * malloc/memusage.sh: Likewise.
25808 * malloc/memusagestat.c: Likewise.
25809 * malloc/mtrace.pl: Likewise.
25810 * nscd/nscd.c: Likewise.
25811 * nss/getent.c: Likewise.
25812 * nss/makedb.c: Likewise.
25813 * posix/getconf.c: Likewise.
25815 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25817 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25820 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25822 * math/bits/mathcalls.h (modf): Use __nonnull.
25824 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25826 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25827 (split): Use macro CN instead of the bare value.
25828 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25830 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25831 instead of the bare value.
25832 (power1): Likewise.
25834 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25836 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25838 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25840 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25842 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25843 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25844 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25845 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25847 2012-12-28 Andreas Jaeger <aj@suse.de>
25849 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25850 values are from Linux 3.7.
25852 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25853 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25855 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25857 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25860 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25862 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25863 variables with preprocessor constants.
25864 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25865 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25866 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25868 2012-12-27 Bruno Haible <bruno@clisp.org>
25871 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25874 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25876 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25877 and use variable directly.
25878 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25880 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25882 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25883 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25885 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25886 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25887 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25888 include directive. Remove local variable MPONE.
25889 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25890 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25891 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25893 2012-12-25 David S. Miller <davem@davemloft.net>
25895 * version.h (RELEASE): Set to "development".
25896 (VERSION): Set to "2.17.90".
25897 * NEWS: Add 2.18 section.
25899 2012-12-21 David S. Miller <davem@davemloft.net>
25901 * po/hr.po: Update from translation team.
25903 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25905 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25907 2012-12-19 Steve Ellcey <sellcey@mips.com>
25909 * NEWS: Mention new memcpy for MIPS.
25911 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25913 * manual/contrib.texi (Contributors): Spelling correction.
25915 2012-12-15 David S. Miller <davem@davemloft.net>
25917 * po/ru.po: Update from translation team.
25919 2012-12-13 David S. Miller <davem@davemloft.net>
25921 * NEWS: Mention IFUNC testsuite enhancements.
25923 * po/pl.po: Update from translation team.
25924 * po/bg.po: Likewise.
25926 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25927 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25929 2012-12-11 David S. Miller <davem@davemloft.net>
25931 * po/sv.po: Update from translation team.
25933 * po/vi.po: Update from translation team.
25935 * po/cs.po: Update from translation team.
25937 * po/de.po: Update from translation team.
25938 * po/eo.po: Likewise.
25939 * po/nl.po: Likewise.
25941 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25944 * manual/argp.texi (Argp Helper Functions): Move node to follow
25945 Argp Parsing State.
25948 * manual/conf.texi (Limits on File System Capacity): Mention if
25949 terminating null is included in the max size.
25951 2012-12-10 Andreas Jaeger <aj@suse.de>
25953 * po/cs.po: Update from translation team.
25955 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25957 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25958 void pointer and cast to uintptr_t.
25959 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25961 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25962 * sysdeps/s390/s390-64/memset.S: Likewise.
25964 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25967 * menual/message.texi (Message Translation): Fix typos.
25968 (Helper programs for gettext): Likewise.
25970 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25973 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25976 2012-12-07 David S. Miller <davem@davemloft.net>
25978 * po/libc.pot: Update.
25980 2012-12-07 Richard Henderson <rth@redhat.com>
25983 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25984 normal/normal case to before the switch.
25985 (_FP_DIV): Likewise.
25987 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25988 Mike Frysinger <vapier@gentoo.org>
25990 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25991 check for __NR_fadvise64_64.
25993 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25995 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25996 0, not just to plain "0" as a statement.
25997 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26000 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26002 * NEWS: Use sourceware.org in Bugzilla URL.
26004 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26007 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26009 * stdio-common/tst-put-error.c (do_test): Add newline to the
26010 padded test to ensure flush.
26012 2012-12-05 Jeff Law <law@redhat.com>
26014 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26016 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26018 * README: Don't refer to ports add-on as distributed separately.
26019 Mention AArch64 in list of systems supported in the ports add-on.
26021 * LICENSES: Add more non-FSF copyright and license notices.
26023 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26026 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26028 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26029 10000 as width of padded output.
26031 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26033 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26035 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26036 variable LX with __attribute__ ((unused)).
26037 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26039 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26040 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26041 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26042 with __attribute__ ((unused)).
26044 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26046 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26048 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26050 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26051 (CFLAGS-nldbl-acos.c): New variable.
26052 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26053 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26054 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26055 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26056 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26057 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26058 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26059 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26060 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26061 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26062 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26063 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26064 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26065 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26066 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26067 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26068 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26069 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26070 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26071 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26072 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26073 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26074 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26075 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26076 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26077 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26078 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26079 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26080 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26081 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26082 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26083 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26084 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26085 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26086 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26087 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26088 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26089 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26090 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26091 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26092 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26093 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26094 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26095 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26096 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26097 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26098 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26099 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26100 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26101 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26102 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26103 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26104 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26105 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26106 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26107 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26108 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26109 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26110 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26111 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26112 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26113 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26114 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26115 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26116 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26117 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26118 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26119 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26120 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26121 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26122 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26123 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26124 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26125 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26126 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26127 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26128 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26129 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26130 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26131 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26132 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26133 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26134 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26135 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26136 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26137 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26138 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26139 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26140 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26141 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26142 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26143 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26144 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26145 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26146 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26147 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26148 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26151 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26154 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26155 whole low double instead of just low 47 bits when splitting values
26158 2012-12-03 Allan McRae <allan@archlinux.org>
26160 * manual/stdio.texi (Predefined Printf Handlers): Remove
26161 @hsep and @vsep usage.
26163 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26165 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26166 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26168 2012-12-03 Jeff Law <law@redhat.com>
26170 * time/sys/time.h (settimeofday): Do not mark TV argument
26173 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26175 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26176 when currently writing and seek to current position when not.
26177 * libio/Makefile (tests): Remove bug-fclose1.
26178 * libio/bug-fclose1.c: Delete.
26180 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26182 * manual/arith.texi (feenableexcept): Fix typo.
26183 (fedisableexcept): Likewise.
26185 2012-11-30 Roland McGrath <roland@hack.frob.com>
26187 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26188 second, differently-typed declaration, rather than a cast.
26190 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26192 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26193 * include/rpc/svc.h: ... here.
26195 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26198 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26199 depending n and resplen2 to catch cases where answer
26202 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26204 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26205 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26207 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26209 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26211 2012-11-29 Roland McGrath <roland@hack.frob.com>
26213 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26215 2012-11-28 Jeff Law <law@redhat.com>
26218 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26219 dataset_temporary. Track alloca usage into alloca_used.
26220 If dataset is large allocate and release it via malloc/free.
26222 2012-06-04 Florian Weimer <fweimer@redhat.com>
26225 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26227 2012-11-28 David S. Miller <davem@davemloft.net>
26229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26231 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26234 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26235 of pi/2 rounded to nearest to 64 bits.
26236 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26237 nearest to 64 bits.
26238 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26241 2012-11-28 Jeff Law <law@redhat.com>
26242 Martin Osvald <mosvald@redhat.com>
26245 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26246 * sunrpc/svc.c: Include time.h.
26247 (__svc_accept_failed): New function.
26248 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26249 any reason other than EINTR, call __svc_accept_failed.
26250 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26251 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26253 2012-11-28 Andreas Schwab <schwab@suse.de>
26255 * scripts/abilist.awk: Also handle indirect functions in .opd
26258 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26261 * sysdeps/x86/fpu/powl_helper.c: New file.
26262 * sysdeps/x86/fpu/Makefile: Likewise.
26263 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26265 (__ieee754_powl): Use __powl_helper for finite arguments except
26266 integer exponents below 8.
26267 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26269 (__ieee754_powl): Use __powl_helper for finite arguments except
26270 integer exponents below 8.
26271 * math/libm-test.inc (pow_test): Add more tests and enable some
26272 previously disabled tests.
26273 * sysdeps/i386/fpu/libm-test-ulps: Update.
26274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26276 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26277 Carlos O'Donell <carlos_odonell@mentor.com>
26279 * nss/makedb.c (is_prime): Assert that input is odd and greater
26280 than 4. Note that fact in a comment too.
26281 (next_prime): Add 4 to input.
26283 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26286 * libio/Makefile (tests): Add test case tst-fwrite-error.
26287 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26288 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26289 * libio/tst-fwrite-error.c: New test case.
26291 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26293 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26294 before casting to void *.
26295 * include/libc-internal.h (__pointer_type): New macro.
26296 (__integer_if_pointer_type_sub): Likewise.
26297 (__integer_if_pointer_type): Likewise.
26298 (cast_to_integer): Likewise.
26299 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26300 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26301 before casting to atomic64_t.
26302 (atomic_exchange_acq): Likewise.
26303 (__arch_exchange_and_add_body): Likewise.
26304 (__arch_add_body): Likewise.
26305 (atomic_add_negative): Likewise.
26306 (atomic_add_zero): Likewise.
26308 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26310 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26311 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26312 (add_fdes): Likewise.
26313 (linear_search_fdes): Likewise.
26314 (binary_search_unencoded_fdes): Likewise.
26316 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26318 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26320 2012-11-24 Adam Conrad <adconrad@0c3.net>
26322 * configure.in: Autodetect C++ header directories.
26323 * configure: Regenerated.
26325 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26327 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26329 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26333 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26335 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26336 LDBL_MANT_DIG == 106]: Disable some tests.
26337 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26339 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26343 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26344 input for small inputs. Return +/- pi/2 for large inputs.
26345 * math/libm-test.inc (atan_test): Add more tests.
26347 * sysdeps/generic/unwind-dw2-fde-glibc.c
26348 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26349 __attribute__ ((unused)).
26352 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26353 x * y if x and y are nonzero and z is zero.
26356 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26357 nonzero exponents with absolute value below 0x1p-117 to +/-
26361 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26362 up arguments below 2**-450, not just those below 2**-500.
26363 * math/libm-test.inc (hypot_test): Add another test.
26366 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26367 Return a+b for ratio over 2**120, not 2**60.
26368 * math/libm-test.inc (hypot_test): Add another test.
26370 * math/libm-test.inc (clog_test): Use
26371 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26372 (clog10_test): Likewise.
26375 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26377 2012-11-22 Andreas Schwab <schwab@suse.de>
26379 * sysdeps/i386/fpu/libm-test-ulps: Update.
26381 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26383 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26384 printf output with newline.
26386 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26389 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26390 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26391 -z nodlopen, -z initfirst and -z execstack support.
26392 * configure: Regenerated.
26394 * elf/elf.h (DF_1_NODIRECT): New macro.
26395 (DF_1_IGNMULDEF): Likewise.
26396 (DF_1_NOKSYMS): Likewise.
26397 (DF_1_NOHDR): Likewise.
26398 (DF_1_EDITED): Likewise.
26399 (DF_1_NORELOC): Likewise.
26400 (DF_1_SYMINTPOSE): Likewise.
26401 (DF_1_GLOBAUDIT): Likewise.
26402 (DF_1_SINGLETON): Likewise.
26403 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26404 DT_1_SUPPORTED_MASK bits.
26405 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26407 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26409 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26411 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26413 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26416 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26417 (sendmmsg): Move declarations...
26418 * socket/sys/socket.h: ... here.
26419 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26420 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26422 * socket/recvmmsg.c: ... this new file.
26423 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26424 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26425 definition of __sendmmsg hidden.
26426 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26427 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26428 Move ENOSYS stub into and include it from...
26429 * socket/sendmmsg.c: ... this new file.
26430 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26431 (sysdep_routines): Move recvmmsg and sendmmsg...
26432 * socket/Makefile (routines): ... here.
26433 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26434 (GLIBC_PRIVATE): Add __sendmmsg.
26435 * include/sys/socket.h (__sendmmsg): Add declarations.
26436 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26439 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26441 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26442 variable I1 with __attribute__ ((unused)).
26443 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26445 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26447 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26448 DUMMY variables with __attribute__ ((unused)).
26450 * bits/byteswap.h: Include <bits/types.h>.
26451 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26453 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26455 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26456 string_t. Do not manually set errno.
26457 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26458 length with __strnlen. Make sure to both set errno and return it on
26461 2012-11-19 David S. Miller <davem@davemloft.net>
26463 With help from Joseph Myers.
26464 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26465 very large arguments properly.
26466 * math/libm-test.inc (atan_test): New tests.
26467 (atan2_test): New tests.
26468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26471 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26474 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26477 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26478 [POSIX] (EADDRNOTAVAIL): Likewise.
26479 [POSIX] (EAFNOSUPPORT): Likewise.
26480 [POSIX] (EALREADY): Likewise.
26481 [POSIX] (ECONNABORTED): Likewise.
26482 [POSIX] (ECONNREFUSED): Likewise.
26483 [POSIX] (ECONNRESET): Likewise.
26484 [POSIX] (EDESTADDRREQ): Likewise.
26485 [POSIX] (EDQUOT): Likewise.
26486 [POSIX] (EHOSTUNREACH): Likewise.
26487 [POSIX] (EIDRM): Likewise.
26488 [POSIX] (EISCONN): Likewise.
26489 [POSIX] (ELOOP): Likewise.
26490 [POSIX] (EMULTIHOP): Likewise.
26491 [POSIX] (ENETDOWN): Likewise.
26492 [POSIX] (ENETUNREACH): Likewise.
26493 [POSIX] (ENOBUFS): Likewise.
26494 [POSIX] (ENODATA): Likewise.
26495 [POSIX] (ENOLINK): Likewise.
26496 [POSIX] (ENOMSG): Likewise.
26497 [POSIX] (ENOPROTOOPT): Likewise.
26498 [POSIX] (ENOSR): Likewise.
26499 [POSIX] (ENOSTR): Likewise.
26500 [POSIX] (ENOTCONN): Likewise.
26501 [POSIX] (ENOTSOCK): Likewise.
26502 [POSIX] (EOPNOTSUPP): Likewise.
26503 [POSIX] (EOVERFLOW): Likewise.
26504 [POSIX] (EPROTO): Likewise.
26505 [POSIX] (EPROTONOSUPPORT): Likewise.
26506 [POSIX] (EPROTOTYPE): Likewise.
26507 [POSIX] (ESTALE): Likewise.
26508 [POSIX] (ETIME): Likewise.
26509 [POSIX] (ETXTBSY): Likewise.
26510 [POSIX] (EWOULDBLOCK): Likewise.
26511 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26512 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26513 [POSIX] (SEEK_CUR): Likewise.
26514 [POSIX] (SEEK_END): Likewise.
26515 [POSIX || UNIX98] (mode_t): Do not require.
26516 [POSIX] (off_t): Likewise.
26517 [POSIX] (pid_t): Likewise.
26518 [POSIX] (sys/stat.h): Do not allow header.
26519 [POSIX] (unistd.h): Likewise.
26520 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26521 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26522 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26523 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26525 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26526 sigevent): Specify elements.
26527 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26529 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26530 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26532 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26533 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26534 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26535 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26536 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26537 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26538 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26539 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26540 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26541 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26542 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26543 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26544 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26545 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26547 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26549 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26551 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26553 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26554 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26555 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26556 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26557 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26558 Specify lower bound on value.
26559 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26560 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26561 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26562 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26563 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26564 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26565 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26566 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26568 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26570 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26571 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26572 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26573 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26574 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26575 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26576 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26577 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26578 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26579 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26580 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26581 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26582 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26583 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26584 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26585 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26587 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26589 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26590 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26591 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26592 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26593 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26594 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26596 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26597 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26598 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26599 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26600 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26601 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26602 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26604 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26605 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26606 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26607 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26608 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26609 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26610 specify as optional.
26611 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26612 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26613 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26614 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26615 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26616 [XPG3] (NL_LANGMAX): Likewise.
26617 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26618 [POSIX || XPG3] (NL_NMAX): Likewise.
26619 [POSIX || XPG3] (NL_SETMAX): Likewise.
26620 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26621 [XPG3] (NZERO): Likewise.
26622 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26623 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26624 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26625 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26626 (REG_ERANGE): Expect.
26627 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26629 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26630 Use (void) in prototype.
26631 [POSIX] (*_t): Allow.
26632 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26633 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26634 (WRDE_BADVAL): Expect.
26636 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26638 [XPG3 || XPG4] (O_RSYNC): Likewise.
26639 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26641 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26642 [XPG3 || XPG4] (sigqueue): Likewise.
26643 [XPG3 || XPG4] (sigtimedwait): Likewise.
26644 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26645 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26646 [XPG3 || XPG4] (vsnprintf): Likewise.
26647 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26649 [XPG3 || XPG4] (blksize_t): Likewise.
26650 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26652 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26653 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26654 [XPG3 || XPG4] (struct itimerspec): Likewise.
26655 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26656 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26657 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26658 [XPG3 || XPG4] (clockid_t): Likewise.
26659 [XPG3 || XPG4] (timer_t): Likewise.
26660 [XPG3 || XPG4] (clock_getres): Likewise.
26661 [XPG3 || XPG4] (clock_gettime): Likewise.
26662 [XPG3 || XPG4] (clock_settime): Likewise.
26663 [XPG3 || XPG4] (nanosleep): Likewise.
26664 [XPG3 || XPG4] (timer_create): Likewise.
26665 [XPG3 || XPG4] (timer_delete): Likewise.
26666 [XPG3 || XPG4] (timer_gettime): Likewise.
26667 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26668 [XPG3 || XPG4] (timer_settime): Likewise.
26669 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26670 [XPG3 || XPG4] (getlogin_r): Likewise.
26671 [XPG3 || XPG4] (pread): Likewise.
26672 [XPG3 || XPG4] (pthread_atfork): Likewise.
26673 [XPG3 || XPG4] (pwrite): Likewise.
26676 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26679 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26681 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26682 finalizing MALLSTREAM.
26684 * sysdeps/mach/hurd/syncfs.c: New file.
26686 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26689 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26690 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26691 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26692 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26693 (_nss_dns_gethostbyname4_r): Likewise.
26694 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26695 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26697 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26700 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26702 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26704 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26705 * elf/cache.c (print_entry): Print ",AArch64" for
26708 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26709 * elf/cache.c (print_entry): Print ",hard-float" for
26712 2012-11-18 David S. Miller <davem@davemloft.net>
26714 With help from Joseph Myers.
26715 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26717 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26719 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26720 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26722 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26723 * math/libm-test.inc (y0_test): New tests.
26724 (y1_test): New tests.
26725 * sysdeps/i386/fpu/libm-test-ulps: Update.
26726 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26729 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26731 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26733 * configure: Regenerated.
26735 2012-11-17 David S. Miller <davem@davemloft.net>
26738 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26739 nonzero exponents with absolute value below 0x1p-128 to +/-
26742 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26744 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26746 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26748 * posix/getconf-speclist.c: New file.
26749 * posix/posix-envs.def: Likewise.
26750 * posix/confstr.c (START_ENV_GROUP): New macro.
26751 (END_ENV_GROUP): Likewise.
26752 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26753 (KNOWN_PRESENT_ENV_STRING): Likewise.
26754 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26755 (UNKNOWN_ENVIRONMENT): Likewise.
26756 (confstr): Include posix-envs.def instead of handling
26757 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26758 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26759 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26760 (END_ENV_GROUP): Likewise.
26761 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26762 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26763 (UNKNOWN_ENVIRONMENT): Likewise.
26764 (__sysconf): Include posix-envs.def instead of handling associated
26765 cases directly here.
26766 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26767 preprocessing getconf-speclist.c rather than running getconf or
26768 generating empty file.
26770 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26772 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26774 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26777 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26779 2012-11-16 David S. Miller <davem@davemloft.net>
26781 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26782 smaller than LDBL_EPSILON/2.0L, just return xm1.
26784 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26786 * elf/tst-array1.c (init): Set constructor priority to 1000.
26787 (fini): Set destructor priority to 1000.
26788 * elf/tst-array2dep.c: Likewise.
26790 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26793 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26794 (_IO_new_file_xsputn): Also return EOF if none of the input
26795 data was written when overflow failed.
26796 * libio/iopadn.c (_IO_padn): Likewise.
26797 * libio/iowpadn.c (_IO_wpadn): Likewise.
26798 * stdio-common/tst-put-error.c: Add copyright notice.
26799 (do_test): Add case for printing padded string.
26800 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26801 _IO_padn returned error.
26802 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26803 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26806 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26808 * libio/libioP.h: Add comment note that the references to C++
26809 bits are now obsolete.
26811 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26813 * math/libm-test.inc (check_complex): Use asprintf.
26815 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26817 * debug/pcprofiledump.c (print_version): Update copyright year.
26818 * malloc/memusagestat.c (print_version): Likewise.
26820 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26823 * elf/Makefile (tests): Add tst-audit8.
26824 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26825 ($(objpfx)tst-audit8.out): New target.
26826 (tst-audit8-ENV): New variable.
26827 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26828 audit if l_reloc_result is NULL.
26829 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26830 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26831 * elf/tst-audit8.c: New file.
26833 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26835 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26836 * misc/Makefile (CFLAGS-select.c): Define.
26837 * posix/Makefile (CFLAGS-pause.c): Define.
26839 2012-11-13 David S. Miller <davem@davemloft.net>
26841 * crypt/Makefile: Move test targets after toplevel Rules
26842 inclusion. Grab any necessary sysdep routines when linking.
26843 * crypt/md5.c (md5_process_block): Remove define, we will always
26844 name it __md5_process_block.
26845 (md5_finish_ctx): Update md5_process_block call.
26846 (md5_stream): Likewise.
26847 (md5_process_bytes): Likewise.
26848 (md5_process_block): Rename to __md5_process_block and move to ...
26849 * crypt/md5-block.c: ... here.
26850 * crypt/sha256.c (sha256_process_block): Move to ...
26851 * crypt/sha256-block.c: ... here.
26852 * crypt/sha512.c (sha512_process_block): Move to ...
26853 * crypt/sha512-block.c: ... here.
26854 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26856 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26857 * sysdeps/sparc/sparc64/multiarch/Makefile
26858 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26860 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26861 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26863 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26864 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26865 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26866 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26867 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26868 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26869 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26870 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26871 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26873 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26874 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26876 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26878 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26880 * timezone/tzselect.ksh: Update from tzcode git revision
26881 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26882 * timezone/zdump.c: Likewise.
26883 * timezone/zic.c: Likewise.
26884 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26885 in TZVERSION setting, not $(PKGVERSION).
26886 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26887 REPORT_BUGS_TO settings.
26890 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26893 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26895 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26896 detection to immediately after _FP_ROUND().
26897 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26900 2012-11-11 David S. Miller <davem@davemloft.net>
26902 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26904 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26905 __close rather than their public counterparts.
26907 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26909 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26911 [UNIX98] (sem_timedwait): Do not expect.
26912 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26913 [XPG4 || UNIX98] (sockatmark): Do not expect.
26914 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26915 (clock_getcpuclockid): Do not expect.
26916 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26917 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26919 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26920 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26921 [UNIX98] (vwscanf): Likewise.
26922 [UNIX98] (vswscanf): Likewise.
26924 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26926 * timezone/version.h: Remove file.
26927 * timezone/README: Do not refer to version.h.
26928 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26929 $(objpfx)version.h.
26930 ($(objpfx)zdump.o): Likewise.
26931 ($(objpfx)version.h): New target.
26933 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26935 * timezone/README: Don't mention modification to tzselect.ksh.
26936 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26937 work on unmodified tzselect.ksh. Substitute version numbers in
26940 * Makefile (format-me): Remove.
26941 (INSTALL): Adjust indentation. Use commands directly instead of
26942 using $(format-me).
26944 * aclocal.m4 (ACX_PKGVERSION): New macro.
26945 (ACX_BUGURL): Likewise.
26946 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26947 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26948 (REPORT_BUGS_TO): Likewise.
26949 * configure: Regenerated.
26950 * config.h.in (PKGVERSION): New macro.
26951 (REPORT_BUGS_TO): Likewise.
26952 * config.make.in (PKGVERSION): New variable.
26953 (PKGVERSION_TEXI): Likewise.
26954 (REPORT_BUGS_TO): Likewise.
26955 (REPORT_BUGS_TEXI): Likewise.
26956 * Makefile (format-me): Use -I$(common-objpfx)manual.
26957 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26958 ($(common-objpfx)manual/%): New target.
26959 (manual/%): Remove target.
26960 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26961 (print_version): Use PKGVERSION.
26962 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26963 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26964 and REPORT_BUGS_TO.
26965 ($(objpfx)xtrace): Likewise.
26966 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26967 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26968 (print_version): Use PKGVERSION.
26969 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26970 (do_version): Use PKGVERSION.
26971 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26973 (common-ldd-rewrite): Likewise.
26974 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26975 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26976 (print_version): Use PKGVERSION.
26977 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26978 * elf/pldd.c (argp_program_bug_address): Remove variable.
26979 (more_help): New function.
26980 (argp): Use more_help.
26981 (print_version): Use PKGVERSION.
26982 * elf/sln.c (main): Use PKGVERSION.
26983 (usage): Use REPORT_BUGS_TO.
26984 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26985 (top level): Use PKGVERSION.
26986 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26987 (print_version): Use PKGVERSION.
26988 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26989 (print_version): Use PKGVERSION.
26990 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26991 (print_version): Use PKGVERSION.
26992 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26993 (print_version): Use PKGVERSION.
26994 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26995 (print_version): Use PKGVERSION.
26996 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26997 (print_version): Use PKGVERSION.
26998 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27000 ($(objpfx)memusage): Likewise.
27001 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27002 (do_version): Use PKGVERSION.
27003 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27004 (print_version): Use PKGVERSION.
27005 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27006 ($PKGVERSION): New variable.
27007 ($REPORT_BUGS_TO): Likewise.
27008 (usage): Use $REPORT_BUGS_TO.
27009 (top level): Use $PKGVERSION.
27010 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27011 ($(objpfx)pkgvers.texi): New rule.
27012 ($(objpfx)stamp-pkgvers): Likewise.
27013 * manual/install.texi: Include pkgvers.texi.
27014 (--with-pkgversion): Document new configure option.
27015 (--with-bugurl): Likewise.
27016 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27017 than necessarily for this particular distribution. Use
27018 REPORT_BUGS_TO for where to report bugs.
27019 * INSTALL: Regenerated.
27020 * manual/libc.texinfo: Include pkgvers.texi.
27021 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27022 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27023 (print_version): Use PKGVERSION.
27024 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27025 (print_version): Use PKGVERSION.
27026 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27027 (print_version): Use PKGVERSION.
27028 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27029 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27031 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27032 (print_version): Use PKGVERSION.
27033 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27034 (print_version): Use PKGVERSION.
27035 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27038 * timezone/checktab.awk: Update from tzcode 2012i.
27039 * timezone/ialloc.c: Likewise.
27040 * timezone/private.h: Likewise.
27041 * timezone/scheck.c: Likewise.
27042 * timezone/tzfile.h: Likewise.
27043 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27044 (TZVERSION): Hardcode tzcode version number.
27045 * timezone/zdump.c: Update from tzcode 2012i.
27046 * timezone/zic.c: Likewise.
27047 * timezone/version.h: New file.
27048 * timezone/README: Describe version.h. Update upstream location.
27051 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27052 (mktemp): Enable declaration.
27053 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27054 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27055 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27056 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27058 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27060 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27062 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27064 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27066 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27070 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27071 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27072 for copies of such integer values.
27073 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27074 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27076 2012-11-09 Andreas Jaeger <aj@suse.de>
27078 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27079 definitions and declarations that are provided by
27080 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27082 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27084 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27085 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27086 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27089 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27091 * elf/elf.h: Update comment before AArch64 relocations.
27093 2012-11-07 David S. Miller <davem@davemloft.net>
27095 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27096 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27097 (__start_context): Declare.
27098 (__makecontext_ret): Delete.
27099 (__makecontext): Hook up __start_context instead of
27101 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27102 (sysdep_routines): Add __start_context when in stdlib.
27104 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27106 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27107 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27108 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27110 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27111 (READELF): New variable. Use it instead of hardcoded "readelf".
27113 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27115 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27116 * sysdeps/x86/Makefile: Here.
27117 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27118 * sysdeps/x86/tst-xmmymm.sh: This.
27120 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27122 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27124 [UNIX98] (pthread_barrier_t): Do not expect.
27125 [UNIX98] (pthread_barrierattr_t): Likewise.
27126 [UNIX98] (pthread_spinlock_t): Likewise.
27127 [UNIX98] (pthread_barrier_destroy): Likewise.
27128 [UNIX98] (pthread_barrier_init): Likewise.
27129 [UNIX98] (pthread_barrier_wait): Likewise.
27130 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27131 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27132 [UNIX98] (pthread_barrierattr_init): Likewise.
27133 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27134 [UNIX98] (pthread_getcpuclockid): Likewise.
27135 [UNIX98] (pthread_mutex_timedlock): Likewise.
27136 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27137 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27138 [UNIX98] (pthread_sigmask): Likewise.
27139 [UNIX98] (pthread_spin_destroy): Likewise.
27140 [UNIX98] (pthread_spin_init): Likewise.
27141 [UNIX98] (pthread_spin_lock): Likewise.
27142 [UNIX98] (pthread_spin_trylock): Likewise.
27143 [UNIX98] (pthread_spin_unlock): Likewise.
27144 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27146 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27147 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27148 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27149 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27150 [XPG3 || XPG4] (pthread_key_t): Likewise.
27151 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27152 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27153 [XPG3 || XPG4] (pthread_once_t): Likewise.
27154 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27155 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27156 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27157 [XPG3 || XPG4] (pthread_t): Likewise.
27159 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27161 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27163 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27164 Change function return type to int.
27166 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27167 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27168 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27169 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27170 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27171 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27172 [!POSIX] (posix_madvise): Likewise.
27173 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27175 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27176 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27177 (mode_t): Likewise.
27178 (posix_mem_offset): Likewise.
27179 (posix_typed_mem_get_info): Likewise.
27180 (posix_typed_mem_open): Likewise.
27182 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27183 Change condition to [XOPEN2K8].
27185 * conform/conformtest.pl: Preprocess allow-header data with -x c
27186 instead of from stdin.
27187 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27188 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27189 [C99-based standards] (cerfc): Likewise.
27190 [C99-based standards] (cexp2): Likewise.
27191 [C99-based standards] (cexpm1): Likewise.
27192 [C99-based standards] (clog10): Likewise.
27193 [C99-based standards] (clog1p): Likewise.
27194 [C99-based standards] (clog2): Likewise.
27195 [C99-based standards] (clgamma): Likewise.
27196 [C99-based standards] (ctgamma): Likewise.
27197 [C99-based standards] (cerff): Likewise.
27198 [C99-based standards] (cerfcf): Likewise.
27199 [C99-based standards] (cexp2f): Likewise.
27200 [C99-based standards] (cexpm1f): Likewise.
27201 [C99-based standards] (clog10f): Likewise.
27202 [C99-based standards] (clog1pf): Likewise.
27203 [C99-based standards] (clog2f): Likewise.
27204 [C99-based standards] (clgammaf): Likewise.
27205 [C99-based standards] (ctgammaf): Likewise.
27206 [C99-based standards] (cerfl): Likewise.
27207 [C99-based standards] (cerfcl): Likewise.
27208 [C99-based standards] (cexp2l): Likewise.
27209 [C99-based standards] (cexpm1l): Likewise.
27210 [C99-based standards] (clog10l): Likewise.
27211 [C99-based standards] (clog1pl): Likewise.
27212 [C99-based standards] (clog2l): Likewise.
27213 [C99-based standards] (clgammal): Likewise.
27214 [C99-based standards] (ctgammal): Likewise.
27215 * conform/data/inttypes.h-data [C99-based standards]: Include
27216 stdint.h-data. Remove all expectations for stdint.h contents.
27217 [C99-based standards] (PRI*): Do not allow.
27218 [C99-based standards] (SCN*): Likewise.
27219 [C99-based standards] (*_t): Likewise.
27220 [C99-based-standards] (PRId8): Expect macro.
27221 [C99-based-standards] (PRIi8): Likewise.
27222 [C99-based-standards] (PRIo8): Likewise.
27223 [C99-based-standards] (PRIu8): Likewise.
27224 [C99-based-standards] (PRIx8): Likewise.
27225 [C99-based-standards] (PRIX8): Likewise.
27226 [C99-based-standards] (SCNd8): Likewise.
27227 [C99-based-standards] (SCNi8): Likewise.
27228 [C99-based-standards] (SCNo8): Likewise.
27229 [C99-based-standards] (SCNu8): Likewise.
27230 [C99-based-standards] (SCNx8): Likewise.
27231 [C99-based-standards] (PRIdLEAST8): Likewise.
27232 [C99-based-standards] (PRIiLEAST8): Likewise.
27233 [C99-based-standards] (PRIoLEAST8): Likewise.
27234 [C99-based-standards] (PRIuLEAST8): Likewise.
27235 [C99-based-standards] (PRIxLEAST8): Likewise.
27236 [C99-based-standards] (PRIXLEAST8): Likewise.
27237 [C99-based-standards] (SCNdLEAST8): Likewise.
27238 [C99-based-standards] (SCNiLEAST8): Likewise.
27239 [C99-based-standards] (SCNoLEAST8): Likewise.
27240 [C99-based-standards] (SCNuLEAST8): Likewise.
27241 [C99-based-standards] (SCNxLEAST8): Likewise.
27242 [C99-based-standards] (PRIdFAST8): Likewise.
27243 [C99-based-standards] (PRIiFAST8): Likewise.
27244 [C99-based-standards] (PRIoFAST8): Likewise.
27245 [C99-based-standards] (PRIuFAST8): Likewise.
27246 [C99-based-standards] (PRIxFAST8): Likewise.
27247 [C99-based-standards] (PRIXFAST8): Likewise.
27248 [C99-based-standards] (SCNdFAST8): Likewise.
27249 [C99-based-standards] (SCNiFAST8): Likewise.
27250 [C99-based-standards] (SCNoFAST8): Likewise.
27251 [C99-based-standards] (SCNuFAST8): Likewise.
27252 [C99-based-standards] (SCNxFAST8): Likewise.
27253 [C99-based-standards] (PRId16): Likewise.
27254 [C99-based-standards] (PRIi16): Likewise.
27255 [C99-based-standards] (PRIo16): Likewise.
27256 [C99-based-standards] (PRIu16): Likewise.
27257 [C99-based-standards] (PRIx16): Likewise.
27258 [C99-based-standards] (PRIX16): Likewise.
27259 [C99-based-standards] (SCNd16): Likewise.
27260 [C99-based-standards] (SCNi16): Likewise.
27261 [C99-based-standards] (SCNo16): Likewise.
27262 [C99-based-standards] (SCNu16): Likewise.
27263 [C99-based-standards] (SCNx16): Likewise.
27264 [C99-based-standards] (PRIdLEAST16): Likewise.
27265 [C99-based-standards] (PRIiLEAST16): Likewise.
27266 [C99-based-standards] (PRIoLEAST16): Likewise.
27267 [C99-based-standards] (PRIuLEAST16): Likewise.
27268 [C99-based-standards] (PRIxLEAST16): Likewise.
27269 [C99-based-standards] (PRIXLEAST16): Likewise.
27270 [C99-based-standards] (SCNdLEAST16): Likewise.
27271 [C99-based-standards] (SCNiLEAST16): Likewise.
27272 [C99-based-standards] (SCNoLEAST16): Likewise.
27273 [C99-based-standards] (SCNuLEAST16): Likewise.
27274 [C99-based-standards] (SCNxLEAST16): Likewise.
27275 [C99-based-standards] (PRIdFAST16): Likewise.
27276 [C99-based-standards] (PRIiFAST16): Likewise.
27277 [C99-based-standards] (PRIoFAST16): Likewise.
27278 [C99-based-standards] (PRIuFAST16): Likewise.
27279 [C99-based-standards] (PRIxFAST16): Likewise.
27280 [C99-based-standards] (PRIXFAST16): Likewise.
27281 [C99-based-standards] (SCNdFAST16): Likewise.
27282 [C99-based-standards] (SCNiFAST16): Likewise.
27283 [C99-based-standards] (SCNoFAST16): Likewise.
27284 [C99-based-standards] (SCNuFAST16): Likewise.
27285 [C99-based-standards] (SCNxFAST16): Likewise.
27286 [C99-based-standards] (PRId32): Likewise.
27287 [C99-based-standards] (PRIi32): Likewise.
27288 [C99-based-standards] (PRIo32): Likewise.
27289 [C99-based-standards] (PRIu32): Likewise.
27290 [C99-based-standards] (PRIx32): Likewise.
27291 [C99-based-standards] (PRIX32): Likewise.
27292 [C99-based-standards] (SCNd32): Likewise.
27293 [C99-based-standards] (SCNi32): Likewise.
27294 [C99-based-standards] (SCNo32): Likewise.
27295 [C99-based-standards] (SCNu32): Likewise.
27296 [C99-based-standards] (SCNx32): Likewise.
27297 [C99-based-standards] (PRIdLEAST32): Likewise.
27298 [C99-based-standards] (PRIiLEAST32): Likewise.
27299 [C99-based-standards] (PRIoLEAST32): Likewise.
27300 [C99-based-standards] (PRIuLEAST32): Likewise.
27301 [C99-based-standards] (PRIxLEAST32): Likewise.
27302 [C99-based-standards] (PRIXLEAST32): Likewise.
27303 [C99-based-standards] (SCNdLEAST32): Likewise.
27304 [C99-based-standards] (SCNiLEAST32): Likewise.
27305 [C99-based-standards] (SCNoLEAST32): Likewise.
27306 [C99-based-standards] (SCNuLEAST32): Likewise.
27307 [C99-based-standards] (SCNxLEAST32): Likewise.
27308 [C99-based-standards] (PRIdFAST32): Likewise.
27309 [C99-based-standards] (PRIiFAST32): Likewise.
27310 [C99-based-standards] (PRIoFAST32): Likewise.
27311 [C99-based-standards] (PRIuFAST32): Likewise.
27312 [C99-based-standards] (PRIxFAST32): Likewise.
27313 [C99-based-standards] (PRIXFAST32): Likewise.
27314 [C99-based-standards] (SCNdFAST32): Likewise.
27315 [C99-based-standards] (SCNiFAST32): Likewise.
27316 [C99-based-standards] (SCNoFAST32): Likewise.
27317 [C99-based-standards] (SCNuFAST32): Likewise.
27318 [C99-based-standards] (SCNxFAST32): Likewise.
27319 [C99-based-standards] (PRId64): Likewise.
27320 [C99-based-standards] (PRIi64): Likewise.
27321 [C99-based-standards] (PRIo64): Likewise.
27322 [C99-based-standards] (PRIu64): Likewise.
27323 [C99-based-standards] (PRIx64): Likewise.
27324 [C99-based-standards] (PRIX64): Likewise.
27325 [C99-based-standards] (SCNd64): Likewise.
27326 [C99-based-standards] (SCNi64): Likewise.
27327 [C99-based-standards] (SCNo64): Likewise.
27328 [C99-based-standards] (SCNu64): Likewise.
27329 [C99-based-standards] (SCNx64): Likewise.
27330 [C99-based-standards] (PRIdLEAST64): Likewise.
27331 [C99-based-standards] (PRIiLEAST64): Likewise.
27332 [C99-based-standards] (PRIoLEAST64): Likewise.
27333 [C99-based-standards] (PRIuLEAST64): Likewise.
27334 [C99-based-standards] (PRIxLEAST64): Likewise.
27335 [C99-based-standards] (PRIXLEAST64): Likewise.
27336 [C99-based-standards] (SCNdLEAST64): Likewise.
27337 [C99-based-standards] (SCNiLEAST64): Likewise.
27338 [C99-based-standards] (SCNoLEAST64): Likewise.
27339 [C99-based-standards] (SCNuLEAST64): Likewise.
27340 [C99-based-standards] (SCNxLEAST64): Likewise.
27341 [C99-based-standards] (PRIdFAST64): Likewise.
27342 [C99-based-standards] (PRIiFAST64): Likewise.
27343 [C99-based-standards] (PRIoFAST64): Likewise.
27344 [C99-based-standards] (PRIuFAST64): Likewise.
27345 [C99-based-standards] (PRIxFAST64): Likewise.
27346 [C99-based-standards] (PRIXFAST64): Likewise.
27347 [C99-based-standards] (SCNdFAST64): Likewise.
27348 [C99-based-standards] (SCNiFAST64): Likewise.
27349 [C99-based-standards] (SCNoFAST64): Likewise.
27350 [C99-based-standards] (SCNuFAST64): Likewise.
27351 [C99-based-standards] (SCNxFAST64): Likewise.
27352 [C99-based-standards] (PRIdMAX): Likewise.
27353 [C99-based-standards] (PRIiMAX): Likewise.
27354 [C99-based-standards] (PRIoMAX): Likewise.
27355 [C99-based-standards] (PRIuMAX): Likewise.
27356 [C99-based-standards] (PRIxMAX): Likewise.
27357 [C99-based-standards] (PRIXMAX): Likewise.
27358 [C99-based-standards] (SCNdMAX): Likewise.
27359 [C99-based-standards] (SCNiMAX): Likewise.
27360 [C99-based-standards] (SCNoMAX): Likewise.
27361 [C99-based-standards] (SCNuMAX): Likewise.
27362 [C99-based-standards] (SCNxMAX): Likewise.
27363 [C99-based-standards] (PRIdPTR): Likewise.
27364 [C99-based-standards] (PRIiPTR): Likewise.
27365 [C99-based-standards] (PRIoPTR): Likewise.
27366 [C99-based-standards] (PRIuPTR): Likewise.
27367 [C99-based-standards] (PRIxPTR): Likewise.
27368 [C99-based-standards] (PRIXPTR): Likewise.
27369 [C99-based-standards] (SCNdPTR): Likewise.
27370 [C99-based-standards] (SCNiPTR): Likewise.
27371 [C99-based-standards] (SCNoPTR): Likewise.
27372 [C99-based-standards] (SCNuPTR): Likewise.
27373 [C99-based-standards] (SCNxPTR): Likewise.
27374 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27376 * conform/data/stdint.h-data: Update comments to clarify
27378 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27380 [C99-based standards] (INT8_MAX): Likewise.
27381 [C99-based standards] (INT16_MIN): Likewise.
27382 [C99-based standards] (INT16_MAX): Likewise.
27383 [C99-based standards] (INT32_MIN): Likewise.
27384 [C99-based standards] (INT32_MAX): Likewise.
27385 [C99-based standards] (INT64_MIN): Likewise.
27386 [C99-based standards] (INT64_MAX): Likewise.
27387 [C99-based standards] (UINT8_MAX): Likewise.
27388 [C99-based standards] (UINT16_MAX): Likewise.
27389 [C99-based standards] (UINT32_MAX): Likewise.
27390 [C99-based standards] (UINT64_MAX): Likewise.
27391 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27392 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27393 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27394 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27395 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27396 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27397 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27398 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27399 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27400 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27401 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27402 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27403 [C99-based standards] (INT_FAST8_MIN): Likewise.
27404 [C99-based standards] (INT_FAST8_MAX): Likewise.
27405 [C99-based standards] (INT_FAST16_MIN): Likewise.
27406 [C99-based standards] (INT_FAST16_MAX): Likewise.
27407 [C99-based standards] (INT_FAST32_MIN): Likewise.
27408 [C99-based standards] (INT_FAST32_MAX): Likewise.
27409 [C99-based standards] (INT_FAST64_MIN): Likewise.
27410 [C99-based standards] (INT_FAST64_MAX): Likewise.
27411 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27412 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27413 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27414 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27415 [C99-based standards] (INTPTR_MIN): Likewise.
27416 [C99-based standards] (INTPTR_MAX): Likewise.
27417 [C99-based standards] (UINTPTR_MAX): Likewise.
27418 [C99-based standards] (INTMAX_MIN): Likewise.
27419 [C99-based standards] (INTMAX_MAX): Likewise.
27420 [C99-based standards] (UINTMAX_MAX): Likewise.
27421 [C99-based standards] (PTRDIFF_MIN): Likewise.
27422 [C99-based standards] (PTRDIFF_MAX): Likewise.
27423 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27424 [C99-based standards] (SIZE_MAX): Likewise.
27425 [C99-based standards] (WCHAR_MAX): Likewise.
27426 [C99-based standards] (WINT_MAX): Likewise.
27427 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27428 constraint on value.
27429 [C99-based standards] (WCHAR_MIN): Likewise.
27430 [C99-based standards] (WINT_MIN): Likewise.
27431 [C99-based standards] (*_t): Allow.
27432 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27433 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27434 Include math.h-data and complex.h-data. Remove all expectations
27435 of math.h and complex.h contents.
27436 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27438 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27439 (struct tm): Expect tag.
27440 [C99-based-standards] (wcstof): Expect function.
27441 [C99-based-standards] (wcstold): Likewise.
27442 [C99-based-standards] (wcstoll): Likewise.
27443 [C99-based-standards] (wcstoull): Likewise.
27444 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27445 macro-int-constant. Specify type.
27446 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27447 constraint on value.
27448 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27450 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27452 [ISO C standards]: Do not allow headers.
27453 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27454 wcs[abcdefghijklmnopqrstuvwxyz]*.
27455 [ISO C standards] (*_t): Do not allow.
27456 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27458 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27459 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27461 [ISO C standards]: Do not allow headers.
27462 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27463 is[abcdefghijklmnopqrstuvwxyz]*.
27464 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27465 to[abcdefghijklmnopqrstuvwxyz]*.
27466 [ISO C standards] (*_t): Do not allow.
27467 * conform/data/stdalign.h-data: New file.
27468 * conform/data/stdbool.h-data: Likewise.
27469 * conform/data/stdnoreturn.h-data: Likewise.
27471 2012-11-07 Roland McGrath <roland@hack.frob.com>
27474 * manual/filesys.texi (Directory Entries): Typo fix.
27475 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27477 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27479 * elf/elf.h (EM_AARCH64): New macro.
27480 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27481 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27482 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27483 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27484 (R_AARCH64_TLSDESC): Likewise.
27485 (NT_ARM_TLS): Likewise.
27486 (NT_ARM_HW_BREAK): Likewise.
27487 (NT_ARM_HW_WATCH): Likewise.
27489 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27492 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27493 (__ieee754_powl): Saturate nonzero exponents with absolute value
27494 below 0x1p-79 to +/- 0x1p-79.
27495 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27496 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27497 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27498 nonzero exponents with absolute value below 0x1p-32 to +/-
27500 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27501 (__ieee754_powl): Saturate nonzero exponents with absolute value
27502 below 0x1p-79 to +/- 0x1p-79.
27503 * math/libm-test.inc (pow_test): Add more tests.
27505 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27507 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27508 _dl_s390_cap_flags with kernel. Increase string length.
27509 (_dl_s390_platforms): Add z196 and zEC12.
27511 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27513 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27514 Change XOPEN21K to XOPEN2K.
27516 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27518 * string/memmove.c: Use memcpy when possible.
27520 2012-11-06 Andreas Jaeger <aj@suse.de>
27522 * po/eo.po: Update from translation team.
27524 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27527 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27528 exponent and small x and y exponents, scale x or y up. Increase
27529 by 2 the exponent used in scaling up.
27530 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27531 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27532 * math/libm-test.inc (fma_test): Add more tests.
27533 (fma_test_towardzero): Likewise.
27534 (fma_test_downward): Likewise.
27535 (fma_test_upward): Likewise.
27537 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27540 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27544 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27545 namespace for names of struct fields.
27546 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27548 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27549 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27551 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27554 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27556 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27558 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27562 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27565 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27569 definitely overflow as x * y not x * y + z.
27570 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27571 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27572 * math/libm-test.inc (fma_test): Add more tests.
27573 (fma_test_towardzero): Likewise.
27574 (fma_test_downward): Likewise.
27575 (fma_test_upward): Likewise.
27577 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27581 * include/stub-tag.h: Remove file.
27582 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27584 * manual/maint.texi (Porting): Don't reference it.
27585 * Makerules ($(objpfx)stubs): Likewise.
27586 * dirent/closedir.c: Don't include <stub-tag.h>.
27587 * dirent/dirfd.c: Likewise.
27588 * dirent/fdopendir.c: Likewise.
27589 * dirent/getdents.c: Likewise.
27590 * dirent/getdents64.c: Likewise.
27591 * dirent/opendir.c: Likewise.
27592 * dirent/readdir.c: Likewise.
27593 * dirent/readdir64.c: Likewise.
27594 * dirent/readdir64_r.c: Likewise.
27595 * dirent/readdir_r.c: Likewise.
27596 * dirent/rewinddir.c: Likewise.
27597 * dirent/seekdir.c: Likewise.
27598 * dirent/telldir.c: Likewise.
27599 * gmon/profil.c: Likewise.
27600 * grp/setgroups.c: Likewise.
27601 * inet/if_index.c: Likewise.
27602 * io/access.c: Likewise.
27603 * io/chdir.c: Likewise.
27604 * io/chmod.c: Likewise.
27605 * io/chown.c: Likewise.
27606 * io/close.c: Likewise.
27607 * io/dup.c: Likewise.
27608 * io/dup2.c: Likewise.
27609 * io/dup3.c: Likewise.
27610 * io/euidaccess.c: Likewise.
27611 * io/faccessat.c: Likewise.
27612 * io/fchdir.c: Likewise.
27613 * io/fchmod.c: Likewise.
27614 * io/fchmodat.c: Likewise.
27615 * io/fchown.c: Likewise.
27616 * io/fchownat.c: Likewise.
27617 * io/fcntl.c: Likewise.
27618 * io/flock.c: Likewise.
27619 * io/fstatfs.c: Likewise.
27620 * io/fstatfs64.c: Likewise.
27621 * io/fstatvfs.c: Likewise.
27622 * io/fstatvfs64.c: Likewise.
27623 * io/futimens.c: Likewise.
27624 * io/fxstat.c: Likewise.
27625 * io/fxstat64.c: Likewise.
27626 * io/fxstatat.c: Likewise.
27627 * io/fxstatat64.c: Likewise.
27628 * io/getcwd.c: Likewise.
27629 * io/isatty.c: Likewise.
27630 * io/lchmod.c: Likewise.
27631 * io/lchown.c: Likewise.
27632 * io/link.c: Likewise.
27633 * io/linkat.c: Likewise.
27634 * io/lseek.c: Likewise.
27635 * io/lseek64.c: Likewise.
27636 * io/lxstat64.c: Likewise.
27637 * io/mkdir.c: Likewise.
27638 * io/mkdirat.c: Likewise.
27639 * io/mkfifo.c: Likewise.
27640 * io/mkfifoat.c: Likewise.
27641 * io/open.c: Likewise.
27642 * io/open64.c: Likewise.
27643 * io/openat.c: Likewise.
27644 * io/openat64.c: Likewise.
27645 * io/pipe.c: Likewise.
27646 * io/pipe2.c: Likewise.
27647 * io/poll.c: Likewise.
27648 * io/posix_fadvise.c: Likewise.
27649 * io/posix_fadvise64.c: Likewise.
27650 * io/posix_fallocate.c: Likewise.
27651 * io/posix_fallocate64.c: Likewise.
27652 * io/read.c: Likewise.
27653 * io/readlink.c: Likewise.
27654 * io/readlinkat.c: Likewise.
27655 * io/rmdir.c: Likewise.
27656 * io/sendfile.c: Likewise.
27657 * io/sendfile64.c: Likewise.
27658 * io/statfs.c: Likewise.
27659 * io/statfs64.c: Likewise.
27660 * io/statvfs.c: Likewise.
27661 * io/statvfs64.c: Likewise.
27662 * io/symlink.c: Likewise.
27663 * io/symlinkat.c: Likewise.
27664 * io/ttyname.c: Likewise.
27665 * io/ttyname_r.c: Likewise.
27666 * io/umask.c: Likewise.
27667 * io/unlink.c: Likewise.
27668 * io/unlinkat.c: Likewise.
27669 * io/utime.c: Likewise.
27670 * io/utimensat.c: Likewise.
27671 * io/write.c: Likewise.
27672 * io/xmknod.c: Likewise.
27673 * io/xmknodat.c: Likewise.
27674 * io/xstat.c: Likewise.
27675 * io/xstat64.c: Likewise.
27676 * login/getpt.c: Likewise.
27677 * login/grantpt.c: Likewise.
27678 * login/unlockpt.c: Likewise.
27679 * math/e_acoshl.c: Likewise.
27680 * math/e_acosl.c: Likewise.
27681 * math/e_asinl.c: Likewise.
27682 * math/e_atan2l.c: Likewise.
27683 * math/e_atanhl.c: Likewise.
27684 * math/e_coshl.c: Likewise.
27685 * math/e_expl.c: Likewise.
27686 * math/e_fmodl.c: Likewise.
27687 * math/e_gammal_r.c: Likewise.
27688 * math/e_hypotl.c: Likewise.
27689 * math/e_j0l.c: Likewise.
27690 * math/e_j1l.c: Likewise.
27691 * math/e_jnl.c: Likewise.
27692 * math/e_lgammal_r.c: Likewise.
27693 * math/e_log10l.c: Likewise.
27694 * math/e_log2l.c: Likewise.
27695 * math/e_logl.c: Likewise.
27696 * math/e_powl.c: Likewise.
27697 * math/e_rem_pio2l.c: Likewise.
27698 * math/e_sinhl.c: Likewise.
27699 * math/e_sqrtl.c: Likewise.
27700 * math/fclrexcpt.c: Likewise.
27701 * math/fedisblxcpt.c: Likewise.
27702 * math/feenablxcpt.c: Likewise.
27703 * math/fegetenv.c: Likewise.
27704 * math/fegetexcept.c: Likewise.
27705 * math/fegetround.c: Likewise.
27706 * math/feholdexcpt.c: Likewise.
27707 * math/fesetenv.c: Likewise.
27708 * math/fesetround.c: Likewise.
27709 * math/feupdateenv.c: Likewise.
27710 * math/fgetexcptflg.c: Likewise.
27711 * math/fraiseexcpt.c: Likewise.
27712 * math/fsetexcptflg.c: Likewise.
27713 * math/ftestexcept.c: Likewise.
27714 * math/k_cosl.c: Likewise.
27715 * math/k_rem_pio2l.c: Likewise.
27716 * math/k_sinl.c: Likewise.
27717 * math/k_tanl.c: Likewise.
27718 * math/s_asinhl.c: Likewise.
27719 * math/s_atanl.c: Likewise.
27720 * math/s_cbrtl.c: Likewise.
27721 * math/s_erfl.c: Likewise.
27722 * math/s_expm1l.c: Likewise.
27723 * math/s_log1pl.c: Likewise.
27724 * math/s_tanhl.c: Likewise.
27725 * misc/acct.c: Likewise.
27726 * misc/brk.c: Likewise.
27727 * misc/chflags.c: Likewise.
27728 * misc/chroot.c: Likewise.
27729 * misc/fchflags.c: Likewise.
27730 * misc/fgetxattr.c: Likewise.
27731 * misc/flistxattr.c: Likewise.
27732 * misc/fremovexattr.c: Likewise.
27733 * misc/fsetxattr.c: Likewise.
27734 * misc/fsync.c: Likewise.
27735 * misc/ftruncate.c: Likewise.
27736 * misc/futimes.c: Likewise.
27737 * misc/futimesat.c: Likewise.
27738 * misc/getdomain.c: Likewise.
27739 * misc/getdtsz.c: Likewise.
27740 * misc/gethostid.c: Likewise.
27741 * misc/gethostname.c: Likewise.
27742 * misc/getloadavg.c: Likewise.
27743 * misc/getpagesize.c: Likewise.
27744 * misc/getsysstats.c: Likewise.
27745 * misc/getxattr.c: Likewise.
27746 * misc/gtty.c: Likewise.
27747 * misc/ioctl.c: Likewise.
27748 * misc/lgetxattr.c: Likewise.
27749 * misc/listxattr.c: Likewise.
27750 * misc/llistxattr.c: Likewise.
27751 * misc/lremovexattr.c: Likewise.
27752 * misc/lsetxattr.c: Likewise.
27753 * misc/lutimes.c: Likewise.
27754 * misc/madvise.c: Likewise.
27755 * misc/mincore.c: Likewise.
27756 * misc/mlock.c: Likewise.
27757 * misc/mlockall.c: Likewise.
27758 * misc/mmap.c: Likewise.
27759 * misc/mprotect.c: Likewise.
27760 * misc/msync.c: Likewise.
27761 * misc/munlock.c: Likewise.
27762 * misc/munlockall.c: Likewise.
27763 * misc/munmap.c: Likewise.
27764 * misc/preadv.c: Likewise.
27765 * misc/preadv64.c: Likewise.
27766 * misc/ptrace.c: Likewise.
27767 * misc/pwritev.c: Likewise.
27768 * misc/pwritev64.c: Likewise.
27769 * misc/readv.c: Likewise.
27770 * misc/reboot.c: Likewise.
27771 * misc/remap_file_pages.c: Likewise.
27772 * misc/removexattr.c: Likewise.
27773 * misc/revoke.c: Likewise.
27774 * misc/select.c: Likewise.
27775 * misc/setdomain.c: Likewise.
27776 * misc/setegid.c: Likewise.
27777 * misc/seteuid.c: Likewise.
27778 * misc/sethostid.c: Likewise.
27779 * misc/sethostname.c: Likewise.
27780 * misc/setregid.c: Likewise.
27781 * misc/setreuid.c: Likewise.
27782 * misc/setxattr.c: Likewise.
27783 * misc/sstk.c: Likewise.
27784 * misc/stty.c: Likewise.
27785 * misc/swapoff.c: Likewise.
27786 * misc/swapon.c: Likewise.
27787 * misc/sync.c: Likewise.
27788 * misc/syncfs.c: Likewise.
27789 * misc/syscall.c: Likewise.
27790 * misc/truncate.c: Likewise.
27791 * misc/ualarm.c: Likewise.
27792 * misc/usleep.c: Likewise.
27793 * misc/ustat.c: Likewise.
27794 * misc/utimes.c: Likewise.
27795 * misc/vhangup.c: Likewise.
27796 * misc/writev.c: Likewise.
27797 * posix/_exit.c: Likewise.
27798 * posix/alarm.c: Likewise.
27799 * posix/execve.c: Likewise.
27800 * posix/fexecve.c: Likewise.
27801 * posix/fork.c: Likewise.
27802 * posix/fpathconf.c: Likewise.
27803 * posix/getaddrinfo.c: Likewise.
27804 * posix/getegid.c: Likewise.
27805 * posix/geteuid.c: Likewise.
27806 * posix/getgid.c: Likewise.
27807 * posix/getgroups.c: Likewise.
27808 * posix/getlogin.c: Likewise.
27809 * posix/getlogin_r.c: Likewise.
27810 * posix/getpgid.c: Likewise.
27811 * posix/getpid.c: Likewise.
27812 * posix/getppid.c: Likewise.
27813 * posix/getresgid.c: Likewise.
27814 * posix/getresuid.c: Likewise.
27815 * posix/getsid.c: Likewise.
27816 * posix/getuid.c: Likewise.
27817 * posix/glob64.c: Likewise.
27818 * posix/nanosleep.c: Likewise.
27819 * posix/pathconf.c: Likewise.
27820 * posix/pause.c: Likewise.
27821 * posix/posix_madvise.c: Likewise.
27822 * posix/pread.c: Likewise.
27823 * posix/pread64.c: Likewise.
27824 * posix/pwrite.c: Likewise.
27825 * posix/pwrite64.c: Likewise.
27826 * posix/sched_getaffinity.c: Likewise.
27827 * posix/sched_getp.c: Likewise.
27828 * posix/sched_gets.c: Likewise.
27829 * posix/sched_primax.c: Likewise.
27830 * posix/sched_primin.c: Likewise.
27831 * posix/sched_rr_gi.c: Likewise.
27832 * posix/sched_setaffinity.c: Likewise.
27833 * posix/sched_setp.c: Likewise.
27834 * posix/sched_sets.c: Likewise.
27835 * posix/sched_yield.c: Likewise.
27836 * posix/setgid.c: Likewise.
27837 * posix/setlogin.c: Likewise.
27838 * posix/setpgid.c: Likewise.
27839 * posix/setresgid.c: Likewise.
27840 * posix/setresuid.c: Likewise.
27841 * posix/setsid.c: Likewise.
27842 * posix/setuid.c: Likewise.
27843 * posix/sleep.c: Likewise.
27844 * posix/spawni.c: Likewise.
27845 * posix/sysconf.c: Likewise.
27846 * posix/times.c: Likewise.
27847 * posix/wait.c: Likewise.
27848 * posix/wait3.c: Likewise.
27849 * posix/wait4.c: Likewise.
27850 * posix/waitpid.c: Likewise.
27851 * resolv/gai_sigqueue.c: Likewise.
27852 * resource/getpriority.c: Likewise.
27853 * resource/getrlimit.c: Likewise.
27854 * resource/getrusage.c: Likewise.
27855 * resource/nice.c: Likewise.
27856 * resource/setpriority.c: Likewise.
27857 * resource/setrlimit.c: Likewise.
27858 * resource/ulimit.c: Likewise.
27859 * rt/aio_cancel.c: Likewise.
27860 * rt/aio_fsync.c: Likewise.
27861 * rt/aio_read.c: Likewise.
27862 * rt/aio_sigqueue.c: Likewise.
27863 * rt/aio_suspend.c: Likewise.
27864 * rt/aio_write.c: Likewise.
27865 * rt/clock_getres.c: Likewise.
27866 * rt/clock_gettime.c: Likewise.
27867 * rt/clock_nanosleep.c: Likewise.
27868 * rt/clock_settime.c: Likewise.
27869 * rt/lio_listio.c: Likewise.
27870 * rt/mq_close.c: Likewise.
27871 * rt/mq_getattr.c: Likewise.
27872 * rt/mq_notify.c: Likewise.
27873 * rt/mq_open.c: Likewise.
27874 * rt/mq_receive.c: Likewise.
27875 * rt/mq_send.c: Likewise.
27876 * rt/mq_setattr.c: Likewise.
27877 * rt/mq_timedreceive.c: Likewise.
27878 * rt/mq_timedsend.c: Likewise.
27879 * rt/mq_unlink.c: Likewise.
27880 * rt/shm_open.c: Likewise.
27881 * rt/shm_unlink.c: Likewise.
27882 * rt/timer_create.c: Likewise.
27883 * rt/timer_delete.c: Likewise.
27884 * rt/timer_getoverr.c: Likewise.
27885 * rt/timer_gettime.c: Likewise.
27886 * rt/timer_settime.c: Likewise.
27887 * setjmp/__longjmp.c: Likewise.
27888 * setjmp/setjmp.c: Likewise.
27889 * signal/kill.c: Likewise.
27890 * signal/killpg.c: Likewise.
27891 * signal/raise.c: Likewise.
27892 * signal/sigaction.c: Likewise.
27893 * signal/sigaltstack.c: Likewise.
27894 * signal/sigblock.c: Likewise.
27895 * signal/sigignore.c: Likewise.
27896 * signal/sigintr.c: Likewise.
27897 * signal/signal.c: Likewise.
27898 * signal/sigpause.c: Likewise.
27899 * signal/sigpending.c: Likewise.
27900 * signal/sigqueue.c: Likewise.
27901 * signal/sigreturn.c: Likewise.
27902 * signal/sigset.c: Likewise.
27903 * signal/sigsetmask.c: Likewise.
27904 * signal/sigstack.c: Likewise.
27905 * signal/sigsuspend.c: Likewise.
27906 * signal/sigtimedwait.c: Likewise.
27907 * signal/sigvec.c: Likewise.
27908 * signal/sigwait.c: Likewise.
27909 * signal/sigwaitinfo.c: Likewise.
27910 * signal/sysv_signal.c: Likewise.
27911 * socket/accept.c: Likewise.
27912 * socket/accept4.c: Likewise.
27913 * socket/bind.c: Likewise.
27914 * socket/connect.c: Likewise.
27915 * socket/getpeername.c: Likewise.
27916 * socket/getsockname.c: Likewise.
27917 * socket/getsockopt.c: Likewise.
27918 * socket/isfdtype.c: Likewise.
27919 * socket/listen.c: Likewise.
27920 * socket/recv.c: Likewise.
27921 * socket/recvfrom.c: Likewise.
27922 * socket/recvmsg.c: Likewise.
27923 * socket/send.c: Likewise.
27924 * socket/sendmsg.c: Likewise.
27925 * socket/sendto.c: Likewise.
27926 * socket/setsockopt.c: Likewise.
27927 * socket/shutdown.c: Likewise.
27928 * socket/sockatmark.c: Likewise.
27929 * socket/socket.c: Likewise.
27930 * socket/socketpair.c: Likewise.
27931 * stdio-common/ctermid.c: Likewise.
27932 * stdio-common/cuserid.c: Likewise.
27933 * stdio-common/remove.c: Likewise.
27934 * stdio-common/rename.c: Likewise.
27935 * stdio-common/renameat.c: Likewise.
27936 * stdio-common/tempname.c: Likewise.
27937 * stdlib/getcontext.c: Likewise.
27938 * stdlib/makecontext.c: Likewise.
27939 * stdlib/setcontext.c: Likewise.
27940 * stdlib/swapcontext.c: Likewise.
27941 * stdlib/system.c: Likewise.
27942 * streams/fattach.c: Likewise.
27943 * streams/fdetach.c: Likewise.
27944 * streams/getmsg.c: Likewise.
27945 * streams/getpmsg.c: Likewise.
27946 * streams/putmsg.c: Likewise.
27947 * streams/putpmsg.c: Likewise.
27948 * sysdeps/unix/bsd/getpt.c: Likewise.
27949 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27950 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27951 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27954 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27955 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27956 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27957 * sysvipc/msgctl.c: Likewise.
27958 * sysvipc/msgget.c: Likewise.
27959 * sysvipc/msgrcv.c: Likewise.
27960 * sysvipc/msgsnd.c: Likewise.
27961 * sysvipc/semctl.c: Likewise.
27962 * sysvipc/semget.c: Likewise.
27963 * sysvipc/semop.c: Likewise.
27964 * sysvipc/semtimedop.c: Likewise.
27965 * sysvipc/shmat.c: Likewise.
27966 * sysvipc/shmctl.c: Likewise.
27967 * sysvipc/shmdt.c: Likewise.
27968 * sysvipc/shmget.c: Likewise.
27969 * termios/tcdrain.c: Likewise.
27970 * termios/tcflow.c: Likewise.
27971 * termios/tcflush.c: Likewise.
27972 * termios/tcgetattr.c: Likewise.
27973 * termios/tcgetpgrp.c: Likewise.
27974 * termios/tcsendbrk.c: Likewise.
27975 * termios/tcsetattr.c: Likewise.
27976 * termios/tcsetpgrp.c: Likewise.
27977 * time/adjtime.c: Likewise.
27978 * time/clock.c: Likewise.
27979 * time/getitimer.c: Likewise.
27980 * time/gettimeofday.c: Likewise.
27981 * time/setitimer.c: Likewise.
27982 * time/settimeofday.c: Likewise.
27983 * time/stime.c: Likewise.
27984 * time/time.c: Likewise.
27986 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27988 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27991 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27993 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27995 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27998 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27999 FE_TONEAREST before applying Dekker multiplication and Knuth
28000 addition. Clear inexact exceptions and check for exact zero
28001 results afterwards.
28002 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28003 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28004 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28005 * math/libm-test.inc (fma_test): Add more tests.
28006 (fma_test_towardzero): Likewise.
28007 (fma_test_downward): Likewise.
28008 (fma_test_upward): Likewise.
28009 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28011 (libc_fesetround): New macro.
28012 (libc_fesetroundf): Likewise.
28013 (libc_fesetroundl): Likewise.
28014 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28016 (libc_fesetround_387): Likewise.
28017 (libc_fesetroundf): New macro.
28018 (libc_fesetround): Likewise.
28019 (libc_fesetroundl): Likewise.
28020 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28022 (libc_fesetroundf): New macro.
28023 (libc_fesetround): Likewise.
28024 (libc_fesetroundl): Likewise.
28025 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28026 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28027 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28029 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28030 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28032 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28033 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28035 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28039 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28040 integer constant usable in #if and use that to give value to enum
28042 (FE_DIVBYZERO): Likewise.
28043 (FE_UNDERFLOW): Likewise.
28044 (FE_OVERFLOW): Likewise.
28045 (FE_INVALID): Likewise.
28046 (FE_INVALID_SNAN): Likewise.
28047 (FE_INVALID_ISI): Likewise.
28048 (FE_INVALID_IDI): Likewise.
28049 (FE_INVALID_ZDZ): Likewise.
28050 (FE_INVALID_IMZ): Likewise.
28051 (FE_INVALID_COMPARE): Likewise.
28052 (FE_INVALID_SOFTWARE): Likewise.
28053 (FE_INVALID_SQRT): Likewise.
28054 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28055 (FE_TONEAREST): Likewise.
28056 (FE_TOWARDZERO): Likewise.
28057 (FE_UPWARD): Likewise.
28058 (FE_DOWNWARD): Likewise.
28059 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28060 (FE_DIVBYZERO): Likewise.
28061 (FE_OVERFLOW): Likewise.
28062 (FE_UNDERFLOW): Likewise.
28063 (FE_INEXACT): Likewise.
28064 (FE_TONEAREST): Likewise.
28065 (FE_DOWNWARD): Likewise.
28066 (FE_UPWARD): Likewise.
28067 (FE_TOWARDZERO): Likewise.
28068 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28069 (FE_UNDERFLOW): Likewise.
28070 (FE_OVERFLOW): Likewise.
28071 (FE_DIVBYZERO): Likewise.
28072 (FE_INVALID): Likewise.
28073 (FE_TONEAREST): Likewise.
28074 (FE_TOWARDZERO): Likewise.
28075 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28076 (FE_OVERFLOW): Likewise.
28077 (FE_UNDERFLOW): Likewise.
28078 (FE_DIVBYZERO): Likewise.
28079 (FE_INEXACT): Likewise.
28080 (FE_TONEAREST): Likewise.
28081 (FE_TOWARDZERO): Likewise.
28082 (FE_UPWARD): Likewise.
28083 (FE_DOWNWARD): Likewise.
28084 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28085 (FE_DIVBYZERO): Likewise.
28086 (FE_OVERFLOW): Likewise.
28087 (FE_UNDERFLOW): Likewise.
28088 (FE_INEXACT): Likewise.
28089 (FE_TONEAREST): Likewise.
28090 (FE_DOWNWARD): Likewise.
28091 (FE_UPWARD): Likewise.
28092 (FE_TOWARDZERO): Likewise.
28094 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28096 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28098 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28100 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28101 commands. Quote $PWD.
28102 (blacklist_exports): Don't use remove_newlines. Replace "declare
28104 (remove_newlines): Remove.
28106 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28108 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28109 * stdlib/stdlib.h (atof): Moved to ...
28110 * include/bits/stdlib-float.h: Here. New file.
28111 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28112 * stdlib/bits/stdlib-float.h: New file.
28113 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28115 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28118 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28120 * conform/conformtest.pl (@headers): Add fenv.h.
28121 * conform/data/fenv.h-data: New file.
28122 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28123 include of <math/fenv.h>.
28125 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28126 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28127 && !UNIX98]. Enables tests for XOPEN2K8.
28128 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28129 POSIX2008]: Likewise.
28131 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28132 (struct rusage): Do not expect type or its members.
28135 * math/math.h (FP_NAN): Define macro to integer constant usable in
28136 #if and use that to give value to enum constant.
28137 (FP_INFINITE): Likewise.
28138 (FP_ZERO): Likewise.
28139 (FP_SUBNORMAL): Likewise.
28140 (FP_NORMAL): Likewise.
28142 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28144 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28145 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28148 2012-11-02 Roland McGrath <roland@hack.frob.com>
28150 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28151 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28152 autoconf-time if not.
28153 * configure.in: Remove AC_PREREQ.
28155 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28157 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28158 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28159 of the internal implementation.
28161 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28163 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28164 except include of <misc/sys/syslog.h>.
28166 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28169 function returns with a NULL context exit with zero.
28171 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28173 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28175 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28177 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28178 (run_program_cmd): This.
28179 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28180 (tst_langinfo): New variable. Use it.
28182 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28184 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28185 floating point opcodes.
28187 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28189 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28192 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28194 * sysdeps/mach/hurd/powerpc: Remove directory.
28195 * sysdeps/mach/powerpc: Likewise.
28197 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28199 * scripts/check-local-headers.sh: Ignore c++ headers.
28201 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28203 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28204 __libc_cleanup_region_start argument.
28206 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28211 x * y using scaling, not as x * y + z.
28212 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28213 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28214 * math/libm-test.inc (fma_test): Add more tests.
28215 (fma_test_towardzero): Likewise.
28216 (fma_test_downward): Likewise.
28217 (fma_test_upward): Likewise.
28219 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28221 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28223 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28225 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28228 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28230 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28232 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28239 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28242 Fix the order of the list for glibc 2.17.
28243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28246 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28250 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28253 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28254 for low part of x being zero before using __atanl (y).
28255 * math/libm-test.inc (atan2_test): Add another test.
28257 * manual/install.texi (Configuring and compiling): Document
28258 general use of test-wrapper and test-wrapper-env.
28259 * INSTALL: Regenerated.
28261 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28262 (__fma): Do not extract and scale down low bits on after-rounding
28263 systems when result rounded to normal precision would have normal
28265 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28266 (__fmal): Do not extract and scale down low bits on after-rounding
28267 systems when result rounded to normal precision would have normal
28269 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28270 (__fmal): Do not extract and scale down low bits on after-rounding
28271 systems when result rounded to normal precision would have normal
28273 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28275 (fma_test): Add more tests.
28276 (fma_test_towardzero): Likewise.
28277 (fma_test_downward): Likewise.
28278 (fma_test_upward): Likewise.
28280 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28282 * sysdeps/i386/tininess.h: Renamed to ...
28283 * sysdeps/x86/tininess.h: This.
28284 * sysdeps/x86_64/tininess.h: Removed.
28286 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28288 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28289 input. Use $(build-program-cmd).
28290 ($(objpfx)tst-array1-static.out): Likewise.
28291 ($(objpfx)tst-array2.out): Likewise.
28292 ($(objpfx)tst-array3.out): Likewise.
28293 ($(objpfx)tst-array4.out): Likewise.
28294 ($(objpfx)tst-array5.out): Likewise.
28295 ($(objpfx)tst-array5-static.out): Likewise.
28297 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28299 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28302 * nss/nsswitch.h (nss_interface_function): Provide new
28303 macro for use with NSS functions.
28304 * grp/initgroups.c: Use new macro.
28305 * nss/getXXbyYY.c: Likewise.
28306 * nss/getXXbyYY_r.c: Likewise.
28307 * nss/getXXent.c: Likewise.
28308 * nss/getXXent_r.c: Likewise.
28309 * sysdeps/posix/getaddrinfo.c: Likewise.
28311 2012-10-30 Andreas Jaeger <aj@suse.de>
28313 * po/ru.po: Update Russion translation from translation project.
28315 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28320 result and shift together with sticky bit instead of replicating
28321 round-to-nearest rounding.
28322 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28323 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28324 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28325 missing underflow exceptions.
28326 (fma_test_towardzero): Add more tests.
28327 (fma_test_downward): Likewise.
28328 (fma_test_upward): Likewise.
28331 * sysdeps/generic/tininess.h: New file.
28332 * sysdeps/i386/tininess.h: Likewise.
28333 * sysdeps/sh/tininess.h: Likewise.
28334 * sysdeps/x86_64/tininess.h: Likewise.
28335 * stdlib/tst-strtod-underflow.c: Likewise.
28336 * stdlib/tst-tininess.c: Likewise.
28337 * stdlib/strtod_l.c: Include <tininess.h>.
28338 (round_and_return): Do not set errno for exact underflow cases.
28339 Force an underflow exception when setting errno for underflow.
28340 Determine underflow based on rounding to normal precision if
28341 TININESS_AFTER_ROUNDING.
28342 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28343 ERANGE for exact underflow cases.
28344 * stdlib/Makefile (tests): Add tst-tininess and
28345 tst-strtod-underflow.
28346 ($(objpfx)tst-tininess): Use $(link-libm).
28347 ($(objpfx)tst-strtod-underflow): Likewise.
28349 2012-10-30 Andreas Jaeger <aj@suse.de>
28352 * elf/Makefile (tests): Remove conditional for have-initfini-array
28353 since this is now always required and the variable does not exist
28355 (tests-static): Likewise.
28356 (modules-names): Likewise.
28358 * po/eo.po: Add Esperanto translation from translation project.
28360 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28361 merged with constructor/destructor.
28362 (init_array): Likewise.
28363 * elf/tst-array2dep.c (fini_array): Likewise.
28364 (init_array): Likewise.
28366 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28368 * manual/message.texi: Delete @cartouche tags.
28370 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28372 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28374 * sysdeps/mach/hurd/fsync.c: Likewise.
28376 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28377 [_POSIX_REALTIME_SIGNALS]: Change condition to
28378 [_POSIX_REALTIME_SIGNALS > 0].
28380 2012-10-27 Andreas Jaeger <aj@suse.de>
28382 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28383 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28384 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28385 [__WORDSIZE != 64]: Likewise.
28387 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28389 * iconvdata/tst-table.sh: Remove ${SHELL}.
28390 * iconvdata/tst-tables.sh: Likewise.
28392 2012-10-25 David S. Miller <davem@davemloft.net>
28394 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28395 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28398 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28400 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28401 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28402 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28405 2012-10-25 Roland McGrath <roland@hack.frob.com>
28407 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28408 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28411 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28412 Jim Blandy <jimb@codesourcery.com>
28414 * scripts/cross-test-ssh.sh: New file.
28415 * manual/install.texi (Configuring and compiling): Document use of
28417 * INSTALL: Regenerated.
28419 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28421 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28424 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28426 * Makeconfig (run-program-prefix): Fix comment.
28428 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28429 Jim Blandy <jimb@codesourcery.com>
28431 * Makeconfig (test-wrapper): New variable,
28432 (test-wrapper-env): Likewise.
28433 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28434 (run-built-tests): Define to yes.
28435 (run-program-prefix): Use $(test-wrapper).
28436 (built-program-cmd): Likewise.
28437 * Rules (make-test-out): Use $(test-wrapper-env) and
28438 $(host-built-program-cmd).
28439 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28440 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28442 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28443 $(test-wrapper-env) to tst-rtld-load-self.sh.
28444 ($(objpfx)order2.out): Use $(test-wrapper).
28445 ($(objpfx)tst-initorder.out): Likewise.
28446 ($(objpfx)tst-initorder2.out): Likewise.
28447 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28448 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28449 (test_wrapper_env): New variable. Use it to run ld.so.
28450 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28451 Use it to run ld.so.
28452 (test_wrapper_env): Likewise.
28453 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28454 $(test-wrapper) to run-iconv-test.sh.
28455 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28456 (ICONV): Use $test_wrapper.
28457 * posix/Makefile ($(objpfx)globtest.out): Pass
28458 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28459 globtest.sh, not $(run-program-prefix).
28460 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28461 (test_wrapper): Likewise.
28462 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28463 set together with run_via_rtld_prefix.
28464 (run_program_prefix): Define in terms of test_wrapper and
28465 run_via_rtld_prefix.
28467 2012-10-24 Roland McGrath <roland@hack.frob.com>
28469 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28470 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28474 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28475 Declare __clock_getres, __clock_gettime, __clock_settime,
28476 __clock_nanosleep, and __clock_getcpuclockid.
28477 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28478 Remove librt_hidden_def (clock_gettime).
28479 * sysdeps/unix/clock_gettime.c: Likewise.
28480 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28481 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28482 * rt/clock_getres.c: Define __clock_getres as an alias.
28483 * sysdeps/posix/clock_getres.c: Likewise.
28484 * rt/clock_settime.c: Define __clock_settime as an alias.
28485 * sysdeps/unix/clock_settime.c: Likewise.
28486 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28487 * sysdeps/unix/clock_nanosleep.c: Likewise.
28488 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28489 * rt/clock-compat.c: New file.
28490 * rt/Makefile (librt-routines): Add clock-compat and move
28491 $(clock-routines) to ...
28492 (routines): ... here, new variable.
28493 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28494 Don't add get_clockfreq here.
28495 * rt/Versions (libc: GLIBC_2.17): New version set.
28496 Add clock_* symbols here.
28497 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28498 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28499 (GLIBC_2.17): Add clock_* symbols.
28500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28502 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28511 * NEWS: Mention the move.
28513 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28514 Use __open, __read, __close rather than their public counterparts.
28515 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28516 (__get_clockfreq_via_cpuinfo): Likewise.
28517 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28518 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28520 * config.h.in (HAVE_IFUNC): New #undef.
28521 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28523 * configure: Regenerated.
28525 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28527 * configure.in: Move READELF check to start of file.
28528 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28529 libc_cv_asm_gnu_indirect_function in the process.
28530 * configure: Regenerated.
28532 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28534 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28535 send the output to /dev/null.
28536 (libc_cv_cc_with_libunwind): Likewise.
28537 (libc_cv_as_noexecstack): Likewise.
28538 * configure: Regenerate.
28540 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28542 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28544 * posix/globtest.sh (TMPDIR): Do not set.
28545 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28546 (testout): Likewise.
28548 2012-10-24 Andreas Jaeger <aj@suse.de>
28550 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28551 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28552 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28553 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28554 posix_fadvise64, posix_fallocate64.
28556 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28557 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28558 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28560 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28562 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28564 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28565 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28566 <bits/fcntl-linux.h>.
28567 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28569 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28570 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28571 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28572 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28573 [__WORDSIZE != 64]: Likewise.
28575 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28577 * Makeconfig (run-built-tests): New variable.
28578 * Rules [$(cross-compiling) = yes]: Change condition to
28579 [$(run-built-tests) = no].
28580 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28581 to [$(run-built-tests) = yes].
28582 * elf/Makefile [$(cross-compiling) = no]: Likewise
28583 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28584 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28585 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28586 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28587 * io/Makefile [$(cross-compiling) = no]: Likewise.
28588 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28589 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28590 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28591 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28592 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28593 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28594 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28595 * string/Makefile [$(cross-compiling) = no]: Likewise.
28597 * posix/Makefile ($(objpfx)globtest.out): Pass
28598 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28599 $(rtld-installed-name).
28600 * posix/globtest.sh (elf_objpfx): Remove variable.
28601 (rtld_installed_name): Likewise.
28602 (library_path): Likewise.
28603 (run_program_prefix): New variable. Use for running globtest
28606 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28607 Joseph Myers <joseph@codesourcery.com>
28609 * Makeconfig (host-built-program-cmd): New variable.
28610 * elf/Makefile (tst-stackguard1-ARGS): Use
28611 $(host-built-program-cmd).
28612 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28613 (tst-spawn-ARGS): Likewise.
28614 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28616 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28617 Jim Blandy <jimb@codesourcery.com>
28619 * Makeconfig (run-via-rtld-prefix): New variable.
28620 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28621 (built-program-cmd): Likewise.
28623 2012-10-22 Andreas Jaeger <aj@suse.de>
28625 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28626 __O_RSYNC if it exists, otherwise to O_SYNC.
28628 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28629 Joseph Myers <joseph@codesourcery.com>
28631 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28633 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28635 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28638 2012-10-22 Andreas Jaeger <aj@suse.de>
28640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28642 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28644 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28645 bits/fcntl-linux.h.
28647 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28648 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28650 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28652 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28655 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28656 Joseph Myers <joseph@codesourcery.com>
28658 * config.make.in (NM): New variable.
28660 2012-10-21 Andreas Jaeger <aj@suse.de>
28662 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28663 definitions and declarations that are provided by
28664 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28666 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28669 * elf/Makefile (tests-static): Add tst-leaks1-static.
28670 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28671 ($(objpfx)tst-leaks1-static): New rule.
28672 ($(objpfx)tst-leaks1-static-mem): Likewise.
28673 (tst-leaks1-static-ENV): New macro.
28674 * elf/dl-open.c (dl_open_worker): Check the main application
28675 only if SHARED is defined.
28676 * elf/tst-leaks1-static.c: New file.
28678 2012-10-20 Andreas Jaeger <aj@suse.de>
28680 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28681 generic values for Linux.
28682 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28683 and declarations that are provided by <bits/fcntl-linux.h> and
28684 include <bits/fcntl-linux.h>.
28685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28686 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28688 2012-10-20 Roland McGrath <roland@hack.frob.com>
28690 * io/fcntl.h: Move include of <bits/types.h> to the top and
28691 include it unconditionally.
28693 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28695 * wcsmbs/Makefile (tests-ifunc): New variable.
28696 (tests): Add $(tests-ifunc).
28697 * wcsmbs/test-wcschr-ifunc.c: New file.
28698 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28699 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28700 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28701 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28702 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28704 * string/Makefile (tests-ifunc): New variable.
28705 (tests): Add $(tests-ifunc).
28706 * string/test-memccpy.c (TEST_NAME): New macro.
28707 * string/test-memchr.c (TEST_NAME): Likewise.
28708 * string/test-memcmp.c (TEST_NAME): Likewise.
28709 * string/test-memcpy.c (TEST_NAME): Likewise.
28710 * string/test-memmem.c (TEST_NAME): Likewise.
28711 * string/test-memmove.c (TEST_NAME): Likewise.
28712 * string/test-memset.c (TEST_NAME): Likewise.
28713 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28714 * string/test-stpcpy.c (TEST_NAME): Likewise.
28715 * string/test-stpncpy.c (TEST_NAME): Likewise.
28716 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28717 * string/test-strcasestr.c (TEST_NAME): Likewise.
28718 * string/test-strcat.c (TEST_NAME): Likewise.
28719 * string/test-strchr.c (TEST_NAME): Likewise.
28720 * string/test-strcmp.c(TEST_NAME): Likewise.
28721 * string/test-strcpy.c (TEST_NAME): Likewise.
28722 * string/test-strcspn.c (TEST_NAME): Likewise.
28723 * string/test-strlen.c (TEST_NAME): Likewise.
28724 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28725 * string/test-strncmp.c (TEST_NAME): Likewise.
28726 * string/test-strncpy.c (TEST_NAME): Likewise.
28727 * string/test-strnlen.c (TEST_NAME): Likewise.
28728 * string/test-strpbrk.c (TEST_NAME): Likewise.
28729 * string/test-strrchr.c (TEST_NAME): Likewise.
28730 * string/test-strspn.c (TEST_NAME): Likewise.
28731 * string/test-strstr.c (TEST_NAME): Likewise.
28732 * string/test-bcopy-ifunc.c: New file.
28733 * string/test-bzero-ifunc.c: Likewise.
28734 * string/test-memccpy-ifunc.c: Likewise.
28735 * string/test-memchr-ifunc.c: Likewise.
28736 * string/test-memcmp-ifunc.c: Likewise.
28737 * string/test-memcpy-ifunc.c: Likewise.
28738 * string/test-memmem-ifunc.c: Likewise.
28739 * string/test-memmove-ifunc.c: Likewise.
28740 * string/test-mempcpy-ifunc.c: Likewise.
28741 * string/test-memset-ifunc.c: Likewise.
28742 * string/test-rawmemchr-ifunc.c: Likewise.
28743 * string/test-stpcpy-ifunc.c: Likewise.
28744 * string/test-stpncpy-ifunc.c: Likewise.
28745 * string/test-strcasecmp-ifunc.c: Likewise.
28746 * string/test-strcasestr-ifunc.c: Likewise.
28747 * string/test-strcat-ifunc.c: Likewise.
28748 * string/test-strchr-ifunc.c: Likewise.
28749 * string/test-strchrnul-ifunc.c: Likewise.
28750 * string/test-strcmp-ifunc.c: Likewise.
28751 * string/test-strcpy-ifunc.c: Likewise.
28752 * string/test-strcspn-ifunc.c: Likewise.
28753 * string/test-strlen-ifunc.c: Likewise.
28754 * string/test-strncasecmp-ifunc.c: Likewise.
28755 * string/test-strncat-ifunc.c: Likewise.
28756 * string/test-strncmp-ifunc.c: Likewise.
28757 * string/test-strncpy-ifunc.c: Likewise.
28758 * string/test-strnlen-ifunc.c: Likewise.
28759 * string/test-strpbrk-ifunc.c: Likewise.
28760 * string/test-strrchr-ifunc.c: Likewise.
28761 * string/test-strspn-ifunc.c: Likewise.
28762 * string/test-strstr-ifunc.c: Likewise.
28764 * debug/Makefile (tests-ifunc): New variable.
28765 (tests): Add $(tests-ifunc).
28766 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28767 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28768 * debug/test-stpcpy_chk-ifunc.c: New file.
28769 * debug/test-strcpy_chk-ifunc.c: Likewise.
28771 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28774 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28775 header is not read in.
28777 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28779 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28780 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28781 directly. Pass built executable to script as
28782 $(built-program-cmd).
28783 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28784 $testprogram without using LD_LIBRARY_PATH and $ldso.
28786 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28787 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28788 $(rtld-installed-name).
28789 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28790 (rtld_installed_name): Likewise.
28791 (library_path): Likewise.
28792 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28793 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28794 $(run-program-prefix) to tst-tables.sh.
28795 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28796 it to run tst-table-from and tst-table-to.
28797 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28798 Pass it to tst-table.sh.
28799 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28800 $(run-program-prefix) to tst-gettext.sh.
28801 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28803 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28805 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28806 to run tst-gettext.
28807 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28808 to run tst-gettext2.
28809 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28810 to run tst-translit.
28811 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28812 $(run-program-prefix) to tst-mtrace.sh.
28813 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28815 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28816 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28817 $(rtld-installed-name).
28818 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28819 (rtld_installed_name): Likewise.
28820 (run_program_prefix): New variable. Use it to run wordexp-test.
28822 * Makeconfig (ARCH): Remove all definitions.
28823 (machine): Likewise.
28824 [ARCH]: Remove conditional code.
28825 [!objdir]: Give error.
28826 [!objdir] (objpfx): Remove.
28827 [!objdir] (common-objpfx): Likewise.
28828 [!objdir] (common-objdir): Likewise.
28829 * configure.in (config_makefile): Remove. Hardcode Makefile in
28830 AC_CONFIG_FILES call.
28831 * configure: Regenerated.
28834 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28836 (testout): Likewise.
28838 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28839 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28840 $(rtld-installed-name).
28841 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28842 (rtld_installed_name): Likwise.
28843 (runit): Remove function.
28844 (run_getconf): New variable, Use it for running getconf binary.
28846 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28849 * string/test-memmem.c (check_result): New function.
28850 (do_one_test): Use it.
28851 (check1): New function.
28852 (test_main): Use it.
28854 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28856 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28858 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28860 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28861 (_G_LSEEK64): Likewise.
28862 (_G_MMAP64): Likewise.
28863 (_G_FSTAT64): Likewise.
28864 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28865 (_G_LSEEK64): Likewise.
28866 (_G_MMAP64): Likewise.
28867 (_G_FSTAT64): Likewise.
28868 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28869 unconditional. Call __mmap64 directly.
28870 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28871 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28872 __lseek64 directly.
28873 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28874 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28876 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28877 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28878 __lseek64 directly.
28879 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28880 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28881 __lseek64 directly.
28882 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28883 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28884 __lseek64 directly.
28885 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28886 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28887 __fxstat64 directly.
28888 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28889 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28891 (freopen64) [!_G_OPEN64]: Remove conditional code.
28892 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28894 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28895 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28897 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28898 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28900 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28901 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28903 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28904 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28906 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28907 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28909 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28910 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28912 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28914 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28917 * manual/memory.texi (Malloc Tunable Parameters): Add note
28918 about free list pointers overwriting some perturb bytes.
28919 Wording suggested by Roland McGrath.
28921 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28923 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28924 (lgamma_test): Likewise.
28925 (tgamma_test): Likewise.
28927 2012-10-16 Florian Weimer <fweimer@redhat.com>
28930 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28931 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28933 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28935 * NEWS: Mention BZ #14716.
28936 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28937 when removing AVAILABLE1_USES_J macro.
28939 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28941 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28942 (__bswap_64): __uint64_t for unsigned 64-bit int.
28944 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28946 * include/string.h (memmem): Declare libc hidden alias.
28947 * string/memmem.c (memmem): Define libc hidden alias.
28948 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28949 __read, __close instead of open, read, close.
28951 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28953 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28954 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28956 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28957 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28958 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28960 (__rawmemchr_sse2): Likewise.
28961 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28962 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28963 (__strchr_sse2): Likewise.
28964 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28965 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28966 (__strcasecmp_sse2): Likewise.
28967 (__strncasecmp_sse2): Likewise.
28968 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28969 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28970 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28971 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28972 (__strrchr_sse2): Likewise.
28973 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28975 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28976 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28977 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28978 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28979 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28980 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28981 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28982 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28983 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28984 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28985 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28986 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28987 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28988 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28989 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28990 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28991 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28992 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28993 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28994 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28995 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28996 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28997 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28998 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28999 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29000 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29001 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29002 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29003 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29004 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29006 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29008 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29009 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29010 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29011 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29013 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29015 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29016 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29017 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29018 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29020 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29021 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29022 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29023 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29024 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29025 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29026 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29027 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29028 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29029 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29030 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29031 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29032 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29033 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29034 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29035 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29036 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29037 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29038 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29039 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29040 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29041 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29042 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29043 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29044 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29045 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29046 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29047 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29048 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29049 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29050 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29051 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29052 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29053 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29054 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29055 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29056 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29057 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29058 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29059 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29060 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29062 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29063 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29064 * include/ifunc-impl-list.h: New file.
29065 * misc/ifunc-impl-list.c: Likewise.
29066 * misc/Makefile (routines): Add ifunc-impl-list.
29067 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29068 * string/test-string.h: Include <ifunc-impl-list.h>.
29069 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29070 TEST_NAME]: New variables.
29071 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29073 (test_init): Call __libc_ifunc_impl_list to initialize
29074 func_list if TEST_IFUNC and TEST_NAME are defined.
29076 * string/Makefile (strop-tests): Add bcopy and bzero.
29077 * string/test-bcopy.c: New file.
29078 * string/test-bzero.c: Likewise.
29079 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29081 * string/test-memset.c: Support bzero test if TEST_BZERO is
29083 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29085 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29087 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29090 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29092 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29093 * configure: Regenerated.
29095 * Makeconfig (+link-static-before-libc): Don't include
29096 $(link-static-libc).
29098 * libio/libio.h (_IO_pos_t): Remove.
29100 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29102 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29105 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29107 * crypt/crypt-entry.c: Include fips-private.h.
29108 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29109 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29110 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29111 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29113 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29115 * crypt/crypt-private.h: Include stdbool.h.
29116 (_ufc_setup_salt_r): Return bool.
29117 * crypt/crypt-entry.c: Include errno.h.
29118 (__crypt_r): Return NULL with EINVAL for bad salt.
29119 * crypt/crypt_util.c (bad_for_salt): New.
29120 (_ufc_setup_salt_r): Check that salt is long enough and within
29121 the specified alphabet.
29122 * crypt/badsalttest.c: New file.
29123 * crypt/Makefile (tests): Add it.
29124 ($(objpfx)badsalttest): New.
29126 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29128 * NEWS: Add entry for BZ #14602.
29130 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29132 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29134 * math/libm-test.inc: Update comment listing what functions and
29136 (isgreater_test): New function.
29137 (isgreaterequal_test): Likewise.
29138 (isless_test): Likewise.
29139 (islessequal_test): Likewise.
29140 (islessgreater_test): Likewise.
29141 (isunordered_test): Likewise.
29142 (main): Call the new functions.
29144 2012-10-09 Roland McGrath <roland@hack.frob.com>
29146 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29147 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29148 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29149 * sysdeps/i386/configure: Regenerated.
29150 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29151 * sysdeps/mach/configure: Regenerated.
29152 * sysdeps/mach/hurd/configure: Regenerated.
29153 * sysdeps/powerpc/configure: Regenerated.
29154 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29155 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29156 * sysdeps/s390/s390-32/configure: Regenerated.
29157 * sysdeps/s390/s390-64/configure: Regenerated.
29158 * sysdeps/sh/configure: Regenerated.
29159 * sysdeps/sparc/configure: Regenerated.
29160 * sysdeps/unix/sysv/linux/configure: Regenerated.
29161 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29162 * sysdeps/x86_64/configure: Regenerated.
29164 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29165 defined. Don't check if MAP is NULL.
29167 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29169 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29170 (_G_stat64): Likewise.
29171 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29172 (_G_stat64): Likewise.
29173 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29174 instead of struct _G_stat64.
29175 * libio/fileops.c (mmap_remap_check): Likewise.
29176 (decide_maybe_mmap): Likewise.
29177 (_IO_new_file_seekoff): Likewise.
29178 (_IO_file_stat): Likewise.
29179 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29181 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29182 instead of struct _G_stat64.
29183 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29185 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29188 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29190 (CHECK_EOL): New macro.
29191 (two_way_short_needle): Check beginning of haystack for EOL. Use
29193 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29194 Replace with CHECK_EOL.
29195 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29196 Replace with CHECK_EOL.
29198 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29200 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29202 * math/libm-test.inc: Update comment listing what functions and
29204 (finite_test): New function.
29205 (isinf_test): Likewise.
29206 (isnan_test): Likewise.
29207 (fpclassify_test): Test subnormal input.
29208 (isfinite_test): Likewise.
29209 (isnormal_test): Likewise.
29210 (main): Call the new functions.
29212 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29215 * Makerules (%.dynsym): Force C locale when running
29216 $(OBJDUMP) --dynamic-syms.
29218 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29220 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29223 2012-10-06 David S. Miller <davem@davemloft.net>
29225 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29226 upper 32-bits of the length value in %o2 since we use branch-on-register
29227 tests which consider the entire 64-bit register.
29229 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29231 * string/test-strstr.c (check2): Add a test for page boundary.
29233 2012-10-05 David S. Miller <davem@davemloft.net>
29235 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29236 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29238 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29240 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29241 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29242 and bzero when HWCAP_SPARC_CRYPTO is present.
29244 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29247 * string/test-strstr.c (check2): New function.
29248 (test_main): Call check2.
29250 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29252 * string/bug-strcasestr1.c (do_test): Moved to ...
29253 * string/test-strcasestr.c (check1): Here. New function.
29254 (do_one_test): Break out result checking code into ...
29255 (check_result): This. New function.
29256 (do_one_test): Call check_result.
29257 (test_main): Call check1.
29258 * string/bug-strchr1.c (do_test): Moved to ...
29259 * string/test-strchr.c (check1): Here. New function.
29260 (do_one_test): Break out result checking code into ...
29261 (check_result): This. New function.
29262 (do_one_test): Call check_result.
29263 (test_main): Call check1.
29264 * string/bug-strstr1.c (main): Moved to ...
29265 * string/test-strstr.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-strcasestr1.c: Removed.
29271 * string/bug-strchr1.c: Likewise.
29272 * string/bug-strstr1.c: Likewise.
29274 * elf/Makefile (dl-routines): Add hwcaps.
29275 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29276 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29277 (_dl_important_hwcaps): Moved to ...
29278 * elf/dl-hwcaps.c: Here. New file.
29279 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29282 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29283 if IS_IN_rtld isn't defined.
29285 * elf/dl-support.c (_dl_sysinfo_map): New.
29286 Include "get-dynamic-info.h" and "setup-vdso.h".
29287 (_dl_non_dynamic_init): Call setup_vdso.
29288 * elf/dynamic-link.h: Don't include <assert.h>.
29289 (elf_get_dynamic_info): Moved to ...
29290 * elf/get-dynamic-info.h: Here. New file.
29291 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29292 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29293 * elf/setup-vdso.h: Here. New file.
29294 * elf/rtld.c: Include "setup-vdso.h".
29295 (dl_main): Call setup_vdso.
29297 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29299 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29300 creal in comment listing functions tested. List finite, isinf,
29301 isnan, isless, islessequal, isgreater, isgreaterequal,
29302 islessgreater, isunordered, lgamma_r and pow10 as functions and
29303 macros not tested. Mention which functions not tested are aliases
29304 for other functions. Fix typo. Note that signs of NaNs are not
29307 * scripts/config.guess: Update from config.git.
29308 * scripts/config.sub: Likewise.
29310 2012-10-04 Roland McGrath <roland@hack.frob.com>
29312 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29313 * misc/madvise.c (madvise): Renamed to __madvise.
29314 Make madvise a weak alias.
29315 * include/sys/mman.h: Declare __madvise.
29316 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29317 * sysdeps/unix/syscalls.list
29318 (madvise): Make __madvise the strong name, and madvise a weak alias.
29319 * sysdeps/unix/sysv/linux/syscalls.list
29320 (madvise, mmap): Remove redundant entries.
29321 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29322 * malloc/malloc.c (mtrim): Likewise.
29323 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29325 2012-10-03 Roland McGrath <roland@hack.frob.com>
29327 * sysdeps/mach/hurd/dl-cache.c: File removed.
29328 * config.h.in (USE_LDCONFIG): New #undef.
29329 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29330 * configure: Regenerated.
29331 * elf/Makefile (dl-routines): Add dl-cache only under
29332 [$(use-ldconfig) = yes].
29333 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29334 cache on [USE_LDCONFIG].
29335 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29337 * elf/rtld.c (dl_main): Likewise.
29339 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29341 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29342 _SC_LEVEL4_CACHE_LINESIZE.
29344 2012-10-03 Roland McGrath <roland@hack.frob.com>
29346 * sysdeps/unix/bsd/confstr.h: File removed.
29348 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29350 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29353 2012-10-02 Roland McGrath <roland@hack.frob.com>
29355 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29356 Make 'mapoff' field ElfW(Off) rather than off_t.
29358 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29360 * nscd/Makefile: Remove nscd-cflags and all its users.
29361 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29362 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29365 * malloc.c (malloc_printerr): Clarify error message.
29367 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29371 Set bit_FMA_Usable if FMA is supported.
29372 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29374 (bit_FMA4_Usable): Updated.
29375 (index_FMA_Usable): New macro.
29376 (CPUID_FMA): Likewise
29377 (HAS_FMA): Defined with bit_FMA_Usable.
29379 2012-10-01 Roland McGrath <roland@hack.frob.com>
29381 * bits/types.h (__swblk_t): Type removed.
29382 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29383 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29384 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29385 (__SWBLK_T_TYPE): Likewise.
29386 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29387 (__SWBLK_T_TYPE): Likewise.
29388 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29389 (__SWBLK_T_TYPE): Likewise.
29390 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29391 (__SWBLK_T_TYPE): Likewise.
29393 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29394 Honza Horak <hhorak@redhat.com>
29396 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29397 (xdr_mapname): Use YPMAXMAP as maxsize.
29398 (xdr_peername): Use YPMAXPEER as maxsize.
29399 (xdr_keydat): Use YPAXRECORD as maxsize.
29400 (xdr_valdat): Use YPMAXRECORD as maxsize.
29402 2012-10-01 Roland McGrath <roland@hack.frob.com>
29404 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29406 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29407 * csu/init-first.c: ... here.
29408 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29409 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29410 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29411 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29412 * sysdeps/i386/init-first.c: File removed.
29413 * sysdeps/sh/init-first.c: File removed.
29415 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29419 if x * y might underflow to zero and z is zero.
29420 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29421 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29422 * math/libm-test.inc (min_subnorm_value): New variable.
29423 (fma_test): Add more tests.
29424 (fma_test_towardzero): Likewise.
29425 (fma_test_downward): Likewise
29426 (fma_test_upward): Likewise.
29427 (initialize): Set min_subnorm_value.
29429 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29432 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29434 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29435 mode for addition resulting in exact zero.
29436 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29437 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29439 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29440 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29441 * math/libm-test.inc (fma_test): Add more tests.
29442 (fma_test_towardzero): New function.
29443 (fma_test_downward): Likewise.
29444 (fma_test_upward): Likewise.
29445 (main): Call the new functions.
29447 2012-09-28 David S. Miller <davem@davemloft.net>
29449 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29451 2012-09-28 Roland McGrath <roland@hack.frob.com>
29453 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29454 instead of SIGALRM.
29456 * sysdeps/gnu/_G_config.h: Moved to ...
29457 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29458 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29459 * sysdeps/generic/_G_config.h: ... here.
29461 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29463 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29465 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29466 Conditionalize target on [libnss_test1.so-version].
29468 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29470 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29471 (elfobjdir): Move out of conditionals.
29473 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29474 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29475 (__nss_lookup_function): Conditionalize label remove_from_tree on
29476 [!DO_STATIC_NSS || SHARED], matching its only use.
29478 2012-09-28 David S. Miller <davem@davemloft.net>
29480 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29481 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29483 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29485 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29486 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29487 when HWCAP_SPARC_CRYPTO is present.
29489 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29491 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29493 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29496 * stdio-common/vfprintf.c (process_string_arg): Revert
29499 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29501 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29503 * stdio-common/tst-sprintf.c: Include <locale.h>
29504 (main): Test sprintf's handling of incomplete multibyte
29507 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29509 * elf/dl-runtime.c (VERSYMIDX): Removed.
29510 * elf/dl-version.c (VERSYMIDX): Likewise.
29511 * elf/do-rel.h (VERSYMIDX): Likewise.
29512 (VALIDX): Likewise.
29513 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29514 * elf/rtld.c (VALIDX): Likewise.
29515 (ADDRIDX): Likewise.
29516 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29517 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29518 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29519 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29520 (VALIDX): Likewise.
29521 (ADDRIDX): Likewise.
29523 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29525 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29527 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29530 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29532 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29533 addresses are in the same scope as 192.0.2/24.
29534 * posix/gai.conf: Document new scope table defaults.
29536 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29539 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29540 for ftell. Compute offsets from write pointers instead.
29541 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29543 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29546 * libio/Makefile (tests): New test case tst-fseek.
29547 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29548 combination works in wide mode.
29549 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29550 state when the external buffer state changes.
29552 2012-09-27 David S. Miller <davem@davemloft.net>
29555 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29556 pass reloc->r_addend in as the 'high' argument to
29557 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29561 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29563 * rt/tst-aio2.c: Include <pthread.h>.
29564 * rt/tst-aio3.c: Likewise.
29566 2012-09-27 Steve Ellcey <sellcey@mips.com>
29568 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29570 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29572 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29573 contents on [SHARED].
29575 2012-09-26 Marek Polacek <polacek@redhat.com>
29579 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29580 for C++ and GCC <4.3 as well as for non GCC compilers.
29582 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29586 2012-09-25 Roland McGrath <roland@hack.frob.com>
29588 * Makefile.in (all, install): Declare with .PHONY.
29589 Reported by Michael Hope <michael.hope@linaro.org>.
29591 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29593 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29594 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29596 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29598 (sydep_routines): Add the new and the internal functions.
29599 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29600 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29602 (GLIBC_2.17): Add the new function.
29603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29604 (GLIBC_2.17): Likewise.
29605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29606 (GLIBC_2.17): Likewise.
29607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29608 (GLIBC_2.17): Likewise.
29609 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29611 2012-09-25 Alan Modra <amodra@gmail.com>
29613 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29614 Add release barrier before setting once_control to say
29615 initialisation is done. Add hints on lwarx. Use macro in
29617 (clear_once_control): Add release barrier.
29619 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29622 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29624 * math/s_clog10.c (__clog10): Likewise.
29625 * math/s_clog10f.c (__clog10f): Likewise.
29626 * math/s_clog10l.c (__clog10l): Likewise.
29627 * math/s_clogf.c (__clogf): Likewise.
29628 * math/s_clogl.c (__clogl): Likewise.
29629 * math/Makefile (libm-calls): Add x2y2m1.
29630 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29631 (__x2y2m1): Likewise.
29632 (__x2y2m1l): Likewise.
29633 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29634 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29635 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29636 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29637 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29638 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29639 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29640 * sysdeps/i386/fpu/libm-test-ulps: Update.
29641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29644 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29645 int as type of variable DEPTH.
29646 (glob): Use size_t instead of int as type of variables NEWCOUNT
29649 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29651 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29652 Add s_sincosf-sse2.
29653 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29654 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29655 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29656 macros for using routine as __sincosf_ia32.
29657 Use macro for function declaration and weak_alias.
29658 * sysdeps/i386/fpu/libm-test-ulps: Update.
29660 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29663 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29664 subnormal argument.
29665 * math/s_cexpf.c (__cexpf): Likewise.
29666 * math/s_csinf.c (__csinf): Likewise.
29667 * math/s_csinhf.c (__csinhf): Likewise.
29668 * math/s_ctanf.c (__ctanf): Likewise.
29669 * math/s_ctanhf.c (__ctanhf): Likewise.
29670 * math/s_ccosh.c (__ccoshf): Likewise.
29671 * math/s_cexp.c (__cexpl): Likewise.
29672 * math/s_csin.c (__csin): Likewise.
29673 * math/s_csinh.c (__csinh): Likewise.
29674 * math/s_ctan.c (__ctan): Likewise.
29675 * math/s_ctanh.c (ctanh): Likewise.
29676 * math/s_ccoshl.c (__ccoshl): Likewise.
29677 * math/s_cexpl.c (__cexpl): Likewise.
29678 * math/s_csinl.c (__csinl): Likewise.
29679 * math/s_csinhl.c (__csinhl): Likewise.
29680 * math/s_ctanl.c (__ctanl): Likewise.
29681 * math/s_ctanhl.c (__ctanhl): Likewise.
29683 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29685 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29686 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29687 (_IO_off_t): Define to __off_t, not _G_off_t.
29688 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29689 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29690 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29691 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29692 type of __dummy and __dummy2 fields.
29693 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29694 (_G_ssize_t): Likewise.
29695 (_G_off_t): Likewise.
29696 (_G_pid_t): Likewise.
29697 (_G_uid_t): Likewise.
29698 (_G_wchar_t): Likewise.
29699 (_G_wint_t): Likewise.
29700 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29701 (_G_ssize_t): Likewise.
29702 (_G_off_t): Likewise.
29703 (_G_pid_t): Likewise.
29704 (_G_uid_t): Likewise.
29705 (_G_wchar_t): Likewise.
29706 (_G_wint_t): Likewise.
29707 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29708 (_G_ssize_t): Likewise.
29709 (_G_off_t): Likewise.
29710 (_G_pid_t): Likewise.
29711 (_G_uid_t): Likewise.
29712 (_G_wchar_t): Likewise.
29713 (_G_wint_t): Likewise.
29715 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29717 * malloc/arena.c: Include malloc-sysdep.h.
29718 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29719 is sufficient to shrink the heap or an unmap is needed.
29720 * sysdeps/generic/malloc-sysdep.h: New file. Define
29721 new function check_may_shrink_heap.
29722 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29723 new function check_may_shrink_heap.
29725 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29727 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29730 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29732 * catgets/test-gencat.sh: Add "set -e".
29733 * elf/tst-pathopt.sh: Likewise.
29734 * grp/tst_fgetgrent.sh: Likewise.
29735 * iconvdata/run-iconv-test.sh: Likewise.
29736 * intl/tst-gettext.sh: Likewise.
29737 * intl/tst-gettext2.sh: Likewise.
29738 * intl/tst-gettext4.sh: Likewise.
29739 * intl/tst-gettext6.sh: Likewise.
29740 * intl/tst-translit.sh: Likewise.
29741 * io/ftwtest-sh: Likewise.
29742 * libio/test-freopen.sh: Likewise.
29743 * malloc/tst-mtrace.sh: Likewise.
29744 * posix/globtest.sh: Likewise.
29745 * posix/tst-getconf.sh: Likewise.
29746 * posix/wordexp-tst.sh: Likewise.
29747 * stdio-common/tst-printf.sh: Likewise.
29748 * stdio-common/tst-unbputc.sh: Likewise.
29749 * stdlib/tst-fmtmsg.sh: Likewise.
29750 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29751 * catgets/Makefile: Do not specify -e option when running
29752 testsuite shell scripts.
29753 * elf/Makefile: Likewise.
29754 * grp/Makefile: Likewise.
29755 * iconvdata/Makefile: Likewise.
29756 * intl/Makefile: Likewise.
29757 * io/Makefile: Likewise.
29758 * libio/Makefile: Likewise.
29759 * malloc/Makefile: Likewise.
29760 * posix/Makefile: Likewise.
29761 * stdio-common/Makefile: Likewise.
29762 * stdlib/Makefile: Likewise.
29763 * sysdeps/x86_64/Makefile: Likewise.
29765 * io/ftwtest-sh: Add copyright header.
29766 * posix/globtest.sh: Likewise.
29767 * posix/tst-getconf.sh: Likewise.
29768 * posix/wordexp-tst.sh: Likewise.
29769 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29771 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29774 * Makeconfig (+link): Defined as $(+link-static) if
29775 $(build-shared) isn't yes.
29776 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29778 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29780 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29783 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29784 new chunk size with MALLOC_ALIGN_MASK.
29786 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29789 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29791 (__printf_fphex): Determine rounding using get_rounding_mode and
29793 * stdio-common/tst-printf-round.c (struct hex_test): New
29795 (hex_tests): New variable.
29796 (test_hex_in_one_mode): New function.
29797 (do_test): Also run tests for hex float output.
29799 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29801 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29802 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29803 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29804 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29805 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29806 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29807 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29808 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29810 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29812 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29813 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29814 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29815 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29817 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29820 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29822 * elf/tst-rtld-load-self.sh: New test.
29823 * elf/Makefile: Run it.
29825 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29827 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29828 (tst-writev-ENV): Remove.
29829 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29831 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29833 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29835 2012-09-17 Joseph Myers <joseph@codesourcery.com>
29837 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29839 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29841 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29842 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29843 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29846 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29849 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29850 * config.make.in (have-cpp-asm-debuginfo): Removed.
29851 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29852 * configure: Regenerated.
29854 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29857 * stdio-common/printf_fp.c: Include <stdbool.h> and
29859 (___printf_fp): Determine rounding using get_rounding_mode and
29861 * stdio-common/tst-printf-round.c: New file.
29862 * stdio-common/Makefile (tests): Add tst-printf-round.
29863 (link-libm): New variable.
29864 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29866 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29869 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29870 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29872 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29875 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29877 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29878 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29879 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29880 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29882 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29885 * include/rounding-mode.h: New file.
29886 * sysdeps/generic/get-rounding-mode.h: Likewise.
29887 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29888 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29889 (MAX_VALUE): New macro.
29890 (MIN_VALUE): Likewise.
29891 (overflow_value): New function.
29892 (underflow_value): Likewise.
29893 (round_and_return): Use overflow_value and underflow_value to
29894 determine return values in overflow and underflow cases. Use
29895 round_away to determine rounding depending on rounding mode.
29896 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29897 determine return values in overflow and underflow cases.
29898 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29899 (struct test_results): New structure.
29900 (struct test): Use struct test_results to store expected results
29901 for all rounding modes.
29902 (TEST): Include expected results for all rounding modes.
29903 (test_in_one_mode): New function.
29904 (do_test): Use test_in_one_mode to compute and check results.
29905 Check results for all rounding modes.
29906 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29909 2012-12-09 Allan McRae <allan@archlinux.org>
29911 * sysdeps/i386/fpu/libm-test-ulps: Update
29913 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29915 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29916 (_G_int32_t): Likewise.
29917 (_G_uint16_t): Likewise.
29918 (_G_uint32_t): Likewise.
29919 (_G_HAVE_BOOL): Likewise.
29920 (_G_HAVE_ATEXIT): Likewise.
29921 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29922 (_G_HAVE_IO_FILE_OPEN): Likewise.
29923 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29924 (_G_int32_t): Likewise.
29925 (_G_uint16_t): Likewise.
29926 (_G_uint32_t): Likewise.
29927 (_G_HAVE_BOOL): Likewise.
29928 (_G_HAVE_ATEXIT): Likewise.
29929 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29930 (_G_HAVE_IO_FILE_OPEN): Likewise.
29931 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29932 (_G_int32_t): Likewise.
29933 (_G_uint16_t): Likewise.
29934 (_G_uint32_t): Likewise.
29935 (_G_HAVE_BOOL): Likewise.
29936 (_G_HAVE_ATEXIT): Likewise.
29937 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29938 (_G_HAVE_IO_FILE_OPEN): Likewise.
29940 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29942 * csu/libc-tls.c: Update copyright years.
29944 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29946 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29947 [!_G_USING_THUNKS]: Remove conditional code.
29948 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29949 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29951 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29952 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29953 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29954 (_G_VTABLE_LABEL_PREFIX): Likewise.
29955 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29956 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29957 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29958 (_G_VTABLE_LABEL_PREFIX): Likewise.
29959 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29960 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29961 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29962 (_G_VTABLE_LABEL_PREFIX): Likewise.
29963 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29965 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29967 * libio/Makefile: Include ../Makeconfig before tests.
29968 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29969 only if $(build-shared) is yes.
29971 * iconv/gconv_db.c: Update copyright years.
29973 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29975 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29976 unwind info if defined PIC. Fix special cases description.
29977 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29979 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29981 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29983 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29985 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29987 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29990 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29991 (LDLIBS-tst-chk4): This.
29992 (LDFLAGS-tst-chk5): Renamed to ...
29993 (LDLIBS-tst-chk5): This.
29994 (LDFLAGS-tst-chk6): Renamed to ...
29995 (LDLIBS-tst-chk6): This.
29996 (LDFLAGS-tst-lfschk4): Renamed to ...
29997 (LDLIBS-tst-lfschk4): This.
29998 (LDFLAGS-tst-lfschk5): Renamed to ...
29999 (LDLIBS-tst-lfschk5): This.
30000 (LDFLAGS-tst-lfschk6): Renamed to ...
30001 (LDLIBS-tst-lfschk6): This.
30003 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30004 on $(common-objpfx)soversions.mk.
30006 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30009 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30012 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30014 * malloc/arena.c (arena_get_retry): New function that gets
30015 another arena for the caller to try its request on.
30016 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30017 current arena cannot fulfill the request.
30018 (__libc_memalign): Likewise.
30019 (__libc_memalign): Likewise.
30020 (__libc_pvalloc): Likewise.
30021 (__libc_calloc): Likewise.
30023 2012-09-05 John Tobey <john.tobey@gmail.com>
30026 * manual/arith.texi (Operations on Complex): Fix description
30027 of carg branch cut.
30029 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30032 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30036 * manual/memory.texi (Memory): Make order of menu items match
30039 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30041 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30042 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30043 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30045 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30047 * csu/libc-tls.c (static_dtv): Renamed to ...
30048 (_dl_static_dtv): This. Make it global.
30049 (_dl_initial_dtv): Removed.
30050 (__libc_setup_tls): Updated.
30051 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30052 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30055 2012-09-06 Petr Machata <pmachata@redhat.com>
30057 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30058 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30059 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30060 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30062 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30065 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30066 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30069 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30072 * Makeconfig (link-static-before-libc): Replace $(+prector)
30074 (link-static-after-libc): Replace $(+postctor) with
30076 (link-bounded): Replace $(+prector)/$(+postctor) with
30077 $(+prectorT)/$(+postctorT).
30078 (+prectorT): New macro.
30079 (+postctorT): Likewise.
30081 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30083 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30084 (round_str): Handle values above the maximum for IBM long double
30086 * stdlib/tst-strtod-round.c (tests): Regenerated.
30088 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30090 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30092 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30093 zarch_nohighgprs around the zarch optimized routines.
30094 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30095 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30096 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30099 2012-09-05 David S. Miller <davem@davemloft.net>
30101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30103 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30104 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30105 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30106 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30109 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30111 * malloc/arena.c: Fold copyright years.
30112 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30114 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30116 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30118 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30120 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30122 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30124 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30125 change internal state upon failure.
30127 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30129 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30130 * malloc/memusage.c (mmap): Likewise.
30131 (mmap64, mremap): Likewise. Adjust name in comment.
30133 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30135 * libio/fileops.c: Fix typos in comments.
30136 * libio/oldfileops.c: Likewise.
30137 * libio/wfileops.c: Likewise.
30139 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30142 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30143 (tst-malloc-usable-ENV): Set environment for test case.
30144 * malloc/hooks.c (malloc_check_get_size): New function to get
30146 * malloc/malloc.c (musable): Use malloc_check_get_size.
30147 * malloc/tst-malloc-usable.c: New test case.
30149 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30151 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30153 2012-09-05 Allan McRae <allan@archlinux.org>
30156 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30157 determine header location.
30158 * configure: Regenerated.
30160 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30162 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30164 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30165 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30167 (test): Regenerate.
30169 2012-09-04 David S. Miller <davem@davemloft.net>
30171 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30172 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30173 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30175 2012-09-04 Florian Weimer <fweimer@redhat.com>
30177 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30180 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30182 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30185 * libio/iogetdelim.c: Include <limits.h>.
30186 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30187 + len + 1 would overflow.
30189 2012-09-03 Andreas Jaeger <aj@suse.de>
30191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30192 * sysdeps/i386/fpu/libm-test-ulps: Update.
30194 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30196 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30197 Add s_sinf-sse2, s_conf-sse2.
30199 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30200 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30201 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30202 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30204 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30205 for using routine as __sinf_ia32.
30206 Use macro for function declaration and weak_alias.
30207 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30208 for using routine as __cosf_ia32.
30209 Use macro for function declaration and weak_alias.
30211 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30212 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30214 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30215 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30218 * math/libm-test.inc (cos_test): Add more test cases.
30219 (sin_test): Likewise.
30220 (sincos_test): Likewise.
30222 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30224 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30225 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30227 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30229 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30232 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30233 first element of the GOT.
30234 (elf_machine_load_address): Return the difference between
30235 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30237 2012-09-01 Allan McRae <allan@archlinux.org>
30240 * configure.in (AWK): Require gawk version 3.0 or later.
30241 * configure: Regenerated.
30243 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30245 * sysdeps/unix/sysv/linux/kernel-features.h
30246 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30247 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30248 [__NR_clock_getres]: Make code unconditional.
30249 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30250 (clock_getcpuclockid): Remove code left unreachable by removal of
30252 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30253 code unconditional.
30254 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30255 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30256 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30257 Make code unconditional.
30258 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30259 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30260 * sysdeps/unix/sysv/linux/clock_settime.c
30261 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30263 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30264 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30266 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30269 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30270 scripts/test-installation.pl.
30272 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30273 and $ld_so_version if it is set.
30275 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30278 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30279 failure if reading from procfs failed.
30280 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30282 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30284 * sysdeps/unix/sysv/linux/kernel-features.h
30285 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30286 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30287 Remove conditional code.
30288 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30289 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30290 Remove conditional code.
30291 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30292 * sysdeps/unix/sysv/linux/i386/fxstat.c
30293 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30295 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30296 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30297 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30298 * sysdeps/unix/sysv/linux/i386/lxstat.c
30299 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30300 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30301 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30302 Remove conditional code.
30303 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30304 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30305 Remove conditional code.
30306 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30307 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30308 <kernel-features.h>.
30309 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30311 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30312 Remove conditional code.
30313 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30314 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30315 Remove conditional.
30317 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30320 * NEWS: Add fixed bug number.
30322 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30325 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30326 underflowing exponent in case of negative sign.
30327 * stdlib/tst-strtod-round-data: Add more tests.
30328 * stdlib/tst-strtod-round.c (tests): Regenerated.
30331 * stdlib/strtod_l.c (NDIG): Remove.
30332 (HEXNDIG): Likewise.
30333 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30334 smallest representable value.
30335 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30336 lie within an exact representation of 1/2 ulp of the result.
30337 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30339 (TENS_P9_IDX): Define unconditionally.
30340 (TENS_P9_SIZE): Likewise.
30341 (TENS_P10_IDX): Likewise.
30342 (TENS_P10_SIZE): Likewise.
30343 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30344 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30345 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30346 entries for 10^2^13 and 10^2^14.
30347 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30348 (TENS_P13_IDX): Define.
30349 (TENS_P13_SIZE): Likewise.
30350 (TENS_P14_IDX): Likewise.
30351 (TENS_P14_SIZE): Likewise.
30352 (_fpioconst_pow10): Change array size to
30353 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30355 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30356 1024]: Add entries for 10^2^13 and 10^2^14.
30357 [LAST_POW10 > _LAST_POW10]: Remove #error.
30358 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30359 (_fpioconst_pow10): Change array size to
30360 FPIOCONST_POW10_ARRAY_SIZE.
30361 * stdlib/gen-fpioconst.c: New file.
30362 * stdlib/gen-tst-strtod-round.c: Likewise.
30363 * stdlib/tst-strtod-round-data: Likewise.
30364 * stdlib/tst-strtod-round.c: Likewise.
30365 * stdlib/Makefile (tests): Add tst-strtod-round.
30368 * stdlib/strtod_l.c: Include <stdint.h>.
30369 (NDEBUG): Do not define.
30370 (round_and_return): Change EXPONENT parameter to type intmax_t.
30371 Rearrange calculations to avoid internal overflow possibilities.
30372 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30373 Rearrange calculations to avoid internal overflow possibilities.
30374 Assert that number fits inside MPNSIZE limbs.
30375 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30376 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30377 calculations and add assertions to avoid internal overflow
30378 possibilities. Add casts to avoid signed/unsigned operations.
30379 * stdlib/tst-strtod-overflow.c: New file.
30380 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30382 2012-08-25 Marek Polacek <polacek@redhat.com>
30384 * time/time.h: Fix some typos in comments.
30386 2012-08-23 Roland McGrath <roland@hack.frob.com>
30388 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30389 * posix/tst-rfc3484-2.c: Likewise.
30390 * posix/tst-rfc3484-3.c: Likewise.
30392 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30394 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30395 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30397 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30399 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30400 #include of fxstatat64.c.
30402 2012-08-22 Roland McGrath <roland@hack.frob.com>
30404 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30405 * shadow/getspent_r.c: Likewise.
30406 * shadow/getspnam.c: Likewise.
30407 * shadow/getspnam_r.c: Likewise.
30408 * gshadow/getsgent.c: Likewise.
30409 * gshadow/getsgent_r.c: Likewise.
30410 * gshadow/getsgnam.c: Likewise.
30411 * gshadow/getsgnam_r.c: Likewise.
30412 * inet/getnetbyad.c: Likewise.
30413 * inet/getnetbyad_r.c: Likewise.
30414 * inet/getnetbynm.c: Likewise.
30415 * inet/getnetbynm_r.c: Likewise.
30416 * inet/getnetent.c: Likewise.
30417 * inet/getnetent_r.c: Likewise.
30418 * inet/getproto.c: Likewise.
30419 * inet/getproto_r.c: Likewise.
30420 * inet/getprtent.c: Likewise.
30421 * inet/getprtent_r.c: Likewise.
30422 * inet/getprtname.c: Likewise.
30423 * inet/getprtname_r.c: Likewise.
30424 * inet/getrpcbyname.c: Likewise.
30425 * inet/getrpcbyname_r.c: Likewise.
30426 * inet/getrpcbynumber.c: Likewise.
30427 * inet/getrpcbynumber_r.c: Likewise.
30428 * inet/getrpcent.c: Likewise.
30429 * inet/getrpcent_r.c: Likewise.
30430 * inet/getaliasent.c: Likewise.
30431 * inet/getaliasent_r.c: Likewise.
30432 * inet/getaliasname.c: Likewise.
30433 * inet/getaliasname_r.c: Likewise.
30434 * nscd/getgrgid_r.c: Likewise.
30435 * nscd/getgrnam_r.c: Likewise.
30436 * nscd/gethstbyad_r.c: Likewise.
30437 * nscd/gethstbynm3_r.c: Likewise.
30438 * nscd/getpwnam_r.c: Likewise.
30439 * nscd/getpwuid_r.c: Likewise.
30440 * nscd/getsrvbynm_r.c: Likewise.
30441 * nscd/getsrvbypt_r.c: Likewise.
30442 * nscd/gai.c: Likewise.
30444 * configure.in (build_nscd): New substituted variable, set
30445 by --disable-build-nscd and defaults to $use_nscd.
30446 * configure: Regenerated.
30447 * config.make.in (build-nscd): New substituted variable.
30448 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30449 Change conditional to require [$(build-nscd) = yes] as well.
30450 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30453 * configure.in (use_nscd): New substituted variable, set by
30454 --disable-nscd. If enabled, define USE_NSCD.
30455 * configure: Regenerated.
30456 * config.h.in: Add USE_NSCD.
30457 * config.make.in (use-nscd): New substituted variable.
30458 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30459 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30460 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30461 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30462 (CFLAGS-getgrnam_r.c): Likewise.
30463 (CFLAGS-initgroups.c): Likewise.
30464 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30465 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30467 * inet/getnetgrent_r.c
30468 (nscd_setnetgrent): New function, broken out of ...
30469 (setnetgrent): ... here. Call it.
30470 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30471 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30472 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30473 * nscd/Makefile (routines, aux): Move definitions after include of
30474 Makeconfig. Conditionalize on [$(use-nscd) != no].
30475 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30476 Conditionalize on [USE_NSCD].
30477 (is_nscd, nscd_init_cb): Likewise.
30478 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30479 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30480 * nss/nss_db/db-init.c: Likewise.
30481 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30483 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30484 (make_request): Use it.
30485 (cache_valid_p): New function.
30486 (__check_pf): Use it.
30487 * NEWS: Add item for --disable-nscd.
30489 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30491 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30492 to support sed >= 4.2.1-20-ga9bf076.
30493 * configure: Regenerated.
30495 2012-08-22 Roland McGrath <roland@hack.frob.com>
30497 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30498 Conditionalize whole body on [IREL].
30500 2012-08-22 Jeff Law <law@redhat.com>
30503 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30504 if the family is PF_UNSPEC.
30506 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30508 * Makerules (lib-version): Rename from V.
30509 (install-lib-nosubdir): Change V to lib-version.
30511 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30514 * powerpc32/power6/wcschr.c: New file.
30515 * powerpc32/power6/wcscpy.c: New file.
30516 * powerpc32/power6/wcsrchr.c: New file.
30517 * powerpc64/power6/wcschr.c: New file.
30518 * powerpc64/power6/wcscpy.c: New file.
30519 * powerpc64/power6/wcsrchr.c: New file.
30521 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30523 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30524 (two_way_short_needle): Use it.
30525 * string/strstr.c (AVAILABLE1_USES_J): Define.
30526 * string/strcasestr.c: Likewise.
30528 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30530 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30533 * NEWS: Add an entry.
30534 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30535 define their defaults.
30536 (two_way_short_needle): Detect end-of-string on-the-fly.
30537 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30538 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30539 * string/bug-strcasestr1.c: New test.
30540 * string/Makefile: Run it.
30542 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30545 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30546 the first character.
30548 2012-08-21 Roland McGrath <roland@hack.frob.com>
30550 * csu/elf-init.c (__libc_csu_irel): Function removed.
30551 * csu/libc-start.c (apply_irel): New function.
30552 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30554 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30556 * sysdeps/unix/sysv/linux/kernel-features.h
30557 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30558 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30559 <kernel-features.h>.
30560 [__NR_fadvise64_64]: Make code unconditional.
30561 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30562 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30563 !__NR_fadvise64_64)]: Likewise.
30564 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30565 !__NR_fadvise64_64))]: Likewise.
30566 [__NR_fadvise64]: Make code unconditional.
30567 [!__NR_fadvise64]: Remove conditional code.
30568 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30569 <kernel-features.h>.
30570 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30572 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30575 not include <kernel-features.h>.
30576 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30578 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30580 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30581 include <kernel-features.h>.
30582 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30584 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30587 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30589 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30590 slight instruction rearrangements per scrollpipe analysis.
30591 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30593 2012-08-20 Roland McGrath <roland@hack.frob.com>
30595 * manual/syslog.texi (syslog; vsyslog, closelog):
30596 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30597 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30599 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30600 DSOCAPS to match condition on defining it.
30602 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30604 * sysdeps/unix/sysv/linux/kernel-features.h
30605 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30607 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30608 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30610 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30611 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30613 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30614 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30616 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30617 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30619 * sysdeps/unix/sysv/linux/kernel-features.h
30620 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30621 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30623 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30624 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30625 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30626 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30627 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30628 Make code unconditional.
30629 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30630 (__mmap64) [!__NR_mmap2]: Likewise.
30631 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30632 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30633 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30634 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30635 [__NR_mmap2]: Make code unconditional.
30636 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30637 (__mmap64) [!__NR_mmap2]: Likewise.
30639 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30641 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30643 2012-08-18 Andreas Jaeger <aj@suse.de>
30645 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30647 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30649 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30650 * include/unistd.h (__have_sock_cloexec): Likewise.
30651 (__have_pipe2): Likewise.
30652 (__have_dup3): Likewise.
30654 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30657 * include/unistd.h (__have_pipe2): Change define into an extern int.
30658 (__have_dup3): Likewise.
30659 * socket/have_sock_cloexec.c: Include fcntl.h.
30660 (__have_pipe2): New variable.
30661 (__have_dup3): Likewise.
30663 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30665 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30667 2012-08-17 Marek Polacek <polacek@redhat.com>
30669 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30670 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30672 2012-08-17 Roland McGrath <roland@hack.frob.com>
30674 * configure.in: Add AC_SUBST for sysheaders.
30675 * configure: Regenerated.
30676 * config.make.in (sysheaders): New substituted variable.
30678 * sysdeps/unix/mkfifo.c: Moved ...
30679 * sysdeps/posix/mkfifo.c: ... here.
30680 * sysdeps/unix/mkfifoat.c: Moved ...
30681 * sysdeps/posix/mkfifoat.c: ... here.
30683 * sysdeps/unix/utime.c: Moved ...
30684 * sysdeps/posix/utime.c: ... here.
30686 * sysdeps/unix/time.c: Moved ...
30687 * sysdeps/posix/time.c: ... here.
30688 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30689 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30691 * sysdeps/unix/nice.c: Moved ...
30692 * sysdeps/posix/nice.c: ... here.
30694 * sysdeps/unix/alarm.c: Moved ...
30695 * sysdeps/posix/alarm.c: ... here.
30697 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30699 2012-08-17 Jeff Law <law@redhat.com>
30701 * intl/Makefile (codeset_mo): New variable.
30702 ($(codeset_mo)): New target.
30703 (tst-codeset.out): Depend on that. Remove explicit rule.
30704 (tst-gettext3.out, tst-gettext5.out): Likewise.
30705 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30706 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30707 * intl/tst-codeset.sh: Remove.
30708 * intl/tst-gettext3.sh: Likewise.
30709 * intl/tst-gettext5.sh: Likewise.
30711 2012-08-17 Roland McGrath <roland@hack.frob.com>
30713 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30714 * sysdeps/unix/syscalls.list: ... here.
30716 * sysdeps/posix/getaddrinfo.c
30717 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30718 (gaiconf_init, gaiconf_reload): Use them.
30719 [!_STATBUF_ST_NSEC]
30720 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30721 Define using time_t rather than struct timespec.
30723 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30724 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30726 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30728 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30729 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30732 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30733 __libc_cleanup_push argument.
30735 * bits/param.h: New file.
30736 * misc/sys/param.h: New file.
30737 * include/sys/param.h: New file.
30738 * misc/Makefile (headers): Add bits/param.h.
30739 * sysdeps/generic/sys/param.h: File removed.
30740 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30741 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30742 * sysdeps/mach/hurd/bits/param.h: New file.
30743 * sysdeps/mach/hurd/sys/param.h: File removed.
30745 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30748 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30750 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30751 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30754 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30755 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30756 rather than -D_IO_MTSAFE_IO conditionally.
30757 * stdio-common/Makefile (CPPFLAGS): Likewise.
30758 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30759 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30760 Use $(libio-mtsafe).
30761 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30762 of -D_IO_MTSAFE_IO.
30763 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30764 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30765 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30766 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30767 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30768 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30769 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30770 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30771 (CFLAGS-fread_u_chk.c): Likewise.
30772 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30773 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30774 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30775 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30776 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30777 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30778 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30779 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30780 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30782 * libio/Makefile: Test [$(libc-reentrant) = yes]
30783 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30786 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30787 * sysdeps/pthread/configure: File removed.
30788 * sysdeps/pthread/Makeconfig: New file.
30789 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30790 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30792 2012-08-16 Gary Benson <gbenson@redhat.com>
30794 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30795 unmapping the first object in a namespace.
30797 2012-08-16 Roland McGrath <roland@hack.frob.com>
30799 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30800 (__internal_setnetgrent): ... this. Add internal_function to
30801 definition. Add libc_hidden_def.
30802 (setnetgrent): Update caller.
30803 (internal_endnetgrent): Renamed to ...
30804 (__internal_endnetgrent): ... this. Add internal_function to
30805 definition. Add libc_hidden_def.
30806 (endnetgrent): Update caller.
30807 (internal_getnetgrent_r): Renamed to ...
30808 (__internal_getnetgrent_r): ... this. Add internal_function to
30809 definition. Add libc_hidden_def.
30810 (__getnetgrent_r): Update caller.
30811 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30813 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30815 * stdlib/longlong.h: Update from GCC.
30817 2012-08-16 Roland McGrath <roland@hack.frob.com>
30819 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30820 on _QL, which is set by umul_ppmm but never used.
30821 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30822 variables, which are set by GMP macros but never used.
30823 * stdio-common/_itowa.c (_itowa): Likewise.
30824 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30825 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30827 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30829 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30830 struct La_sh_regs is not constant.
30831 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30832 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30833 and struct La_sparc64_regs are not constant.
30835 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30837 * sysdeps/unix/sysv/linux/kernel-features.h
30838 (__ASSUME_POSIX_TIMERS): Remove.
30839 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30840 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30841 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30842 Make code unconditional.
30843 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30844 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30845 Make code unconditional.
30846 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30847 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30848 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30849 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30850 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30851 Make code unconditional.
30852 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30853 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30854 (__libc_missing_posix_timers): Remove.
30856 2012-08-15 Roland McGrath <roland@hack.frob.com>
30858 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30859 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30861 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30863 * elf/dl-sym.c: Include <stdlib.h>.
30865 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30866 constants, which avoids warnings in 32-bit builds.
30868 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30869 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30871 * misc/lseek.c: File moved to ...
30872 * io/lseek.c: ... here.
30874 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30876 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30877 shifting LEN more than 31 bits at once.
30879 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30882 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30883 segmentation fault for a case of two empty input strings.
30884 * string/test-strncasecmp.c (check1): Renamed to...
30885 (bz12205): ...this.
30886 (bz14195): Add new testcase for two empty input strings and N > 0.
30887 (test_main): Call new testcase, adapt for renamed function.
30889 2012-08-15 Andreas Jaeger <aj@suse.de>
30892 * crypt/md5test2.c: New test, based on test supplied by Serge
30893 Belyshev <belyshev@depni.sinp.msu.ru>.
30894 * crypt/Makefile (xtests): Add md5test-giant..
30895 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30897 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30900 * crypt/md5.c (md5_process_block): Don't assume the buffer
30901 length is less than 2**32.
30902 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30903 length is less than 2**64.
30905 2012-08-15 Roland McGrath <roland@hack.frob.com>
30907 * string/str-two-way.h: Include <sys/param.h>.
30908 (MAX): Macro removed.
30910 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30911 Move #define and #undef of memmove to just before and after
30912 including <string.h>.
30914 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30915 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30916 and after including <string.h>. Move declarations of
30917 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30918 to before #include "string/memmove.c".
30920 * include/dirent.h: Declare __getdirentries.
30922 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30923 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30925 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30927 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30928 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30929 * sysdeps/i386/configure: Regenerated.
30930 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30931 STABS_CURRENT_FILE, and STABS_FUN.
30932 (END): Remove call to STABS_FUN_END.
30933 (STABS_CURRENT_FILE1): Delete.
30934 (STABS_CURRENT_FILE): Likewise.
30935 (STABS_FUN): Likewise.
30936 (STABS_FUN_END): Likewise.
30937 (STABS_FUN2): Likewise.
30938 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30939 * sysdeps/x86_64/configure: Regenerated.
30941 2012-08-14 Roland McGrath <roland@hack.frob.com>
30943 * elf/dl-open.c: Include <atomic.h>.
30944 * elf/dl-lookup.c: Likewise.
30946 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30948 * sysdeps/unix/sysv/linux/kernel-features.h
30949 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30950 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30952 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30954 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30955 condition on __ASSUME_CLONE_THREAD_FLAGS.
30957 2012-08-14 Andreas Jaeger <aj@suse.de>
30959 * sysdeps/i386/fpu/libm-test-ulps: Update.
30961 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30963 * include/atomic.h (atomic_exchange_and_add): Split into ...
30964 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30967 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30971 2012-08-13 Jeff Law <law@redhat.com>
30973 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30974 null byte in the output string.
30976 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30978 * sysdeps/unix/sysv/linux/kernel-features.h
30979 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30980 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30981 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30982 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30983 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30984 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30985 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30987 2012-08-09 Jeff Law <law@redhat.com>
30990 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30991 When avoid_arena is set, don't retry in the that arena. Pick the
30992 next one, whatever it might be.
30993 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30994 (arena_lock): Pass in new parameter to arena_get2.
30995 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30997 (__libc_malloc): Unify retrying after main arena failure with
30998 __libc_memalign version.
30999 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31001 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31004 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31005 to __redirect_strstr.
31006 (__strstr_sse42): Use typeof __redirect_strstr.
31007 (__strstr_ia32): Likewise.
31008 (__libc_strstr): New prototype.
31009 (strstr): Renamed to ...
31010 (__libc_strstr): This.
31011 (strstr): New strong alias of __libc_strstr.
31012 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31013 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31016 (__libc_time): New prototype.
31017 (time_ifunc): Replace time with __libc_time.
31018 (time): New strong alias and hidden definition of __libc_time.
31019 (__GI_time): Remove strong alias.
31020 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31021 Include <stddef.h>.
31022 (memmove): Redefined to __redirect_memmove.
31023 (__memmove_sse2): Use typeof __redirect_memmove.
31024 (__memmove_ssse3): Likewise.
31025 (__memmove_ssse3_back): Likewise.
31026 (__libc_memmove): New prototype.
31027 (memmove): Renamed to ...
31028 (__libc_memmove): This.
31029 (memmove): New strong alias of __libc_memmove.
31031 2012-08-08 Mark Salter <msalter@redhat.com>
31034 (R_MN10300_TLS_GD): Define.
31035 (R_MN10300_TLS_LD): Likewise.
31036 (R_MN10300_TLS_LDO): Likewise.
31037 (R_MN10300_TLS_GOTIE): Likewise.
31038 (R_MN10300_TLS_IE): Likewise.
31039 (R_MN10300_TLS_LE): Likewise.
31040 (R_MN10300_TLS_DTPMOD): Likewise.
31041 (R_MN10300_TLS_DTPOFF): Likewise.
31042 (R_MN10300_TLS_TPOFF): Likewise.
31043 (R_MN10300_SYM_DIFF): Likewise.
31044 (R_MN10300_ALIGN): Likewise.
31045 (R_MN10300_NUM): Update.
31047 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31049 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31052 2012-08-08 Roland McGrath <roland@hack.frob.com>
31054 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31056 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31057 sysdeps/unix -> sysdeps/posix move.
31058 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31060 2012-08-07 Allan McRae <allan@archlinux.org>
31063 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31064 (SUNOS_CPP): Likewise.
31065 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31067 (open_input): Call CPP using execvp.
31069 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31071 * sysdeps/unix/sysv/linux/kernel-features.h
31072 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31073 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31074 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31075 (__ASSUME_WAITID_SYSCALL): Likewise.
31076 * sysdeps/unix/sysv/linux/dl-execstack.c
31077 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31078 code unconditional.
31079 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31081 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31082 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31083 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31085 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31087 [__ASSUME_WAITID_SYSCALL]: Likewise.
31088 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31090 2012-08-07 Roland McGrath <roland@hack.frob.com>
31092 * sysdeps/unix/closedir.c: Renamed to ...
31093 * sysdeps/posix/closedir.c: ... here.
31094 * sysdeps/unix/dirfd.c: Renamed to ...
31095 * sysdeps/posix/dirfd.c: ... here.
31096 * sysdeps/unix/dirstream.h: Renamed to ...
31097 * sysdeps/posix/dirstream.h: ... here.
31098 * sysdeps/unix/fdopendir.c: Renamed to ...
31099 * sysdeps/posix/fdopendir.c: ... here.
31100 * sysdeps/unix/opendir.c: Renamed to ...
31101 * sysdeps/posix/opendir.c: ... here.
31102 * sysdeps/unix/readdir.c: Renamed to ...
31103 * sysdeps/posix/readdir.c: ... here.
31104 * sysdeps/unix/readdir_r.c: Renamed to ...
31105 * sysdeps/posix/readdir_r.c: ... here.
31106 * sysdeps/unix/rewinddir.c: Renamed to ...
31107 * sysdeps/posix/rewinddir.c: ... here.
31108 * sysdeps/unix/seekdir.c: Renamed to ...
31109 * sysdeps/posix/seekdir.c: ... here.
31110 * sysdeps/unix/telldir.c: Renamed to ...
31111 * sysdeps/posix/telldir.c: ... here.
31112 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31113 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31114 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31115 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31117 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31118 * bits/fcntl.h: ... here.
31120 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31122 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31123 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31124 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31125 (struct flock): Move l_start, l_len to the beginning.
31126 Use __pid_t for l_pid.
31127 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31128 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31129 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31130 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31131 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31132 [__USE_LARGEFILE64] (struct flock64): New type.
31133 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31135 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31136 * bits/dirent.h: ... here.
31138 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31139 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31141 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31143 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31144 Change from 2.6.0 to 2.6.16.
31145 * sysdeps/unix/sysv/linux/configure: Regenerated.
31146 * sysdeps/unix/sysv/linux/kernel-features.h
31147 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31148 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31150 (__ASSUME_UTIMES): Likewise.
31151 (__ASSUME_CLONE_STOPPED): Remove.
31152 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31153 architectures, not kernel version.
31154 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31155 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31156 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31157 (__ASSUME_WAITID_SYSCALL): Likewise.
31158 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31159 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31160 * README: State 2.6.16 as minimum Linux kernel version. Do not
31161 refer to older versions.
31163 2012-08-06 Roland McGrath <roland@hack.frob.com>
31165 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31166 Define alphasort64 as an alias.
31167 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31168 Define versionsort64 as an alias.
31169 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31170 Define scandir64 as an alias.
31171 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31172 Define scandirat64 as an alias.
31173 * dirent/alphasort64.c (alphasort64):
31174 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31175 * dirent/versionsort64.c: Likewise.
31176 * dirent/scandir64.c: Likewise.
31177 * dirent/scandirat64.c: Likewise.
31178 * sysdeps/wordsize-64/alphasort.c: File removed.
31179 * sysdeps/wordsize-64/alphasort64.c: File removed.
31180 * sysdeps/wordsize-64/scandir.c: File removed.
31181 * sysdeps/wordsize-64/scandir64.c: File removed.
31182 * sysdeps/wordsize-64/scandirat.c: File removed.
31183 * sysdeps/wordsize-64/scandirat64.c: File removed.
31184 * sysdeps/wordsize-64/versionsort.c: File removed.
31185 * sysdeps/wordsize-64/versionsort64.c: File removed.
31186 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31187 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31188 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31189 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31190 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31191 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31192 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31193 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31195 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31196 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31197 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31198 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31199 [defined __arch64__ || defined __sparcv9]
31200 (__INO_T_MATCHES_INO64_T): New macro.
31201 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31202 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31203 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31204 * sysdeps/unix/sysv/linux/bits/dirent.h
31205 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31206 (_DIRENT_MATCHES_DIRENT64): New macro.
31208 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31209 Define lockf64 as an alias.
31210 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31211 Define fseeko64 as an alias.
31212 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31213 Define ftello64 as an alias.
31214 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31215 Define _IO_fgetpos64 and fgetpos64 as aliases.
31216 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31217 Define _IO_fsetpos64 and fsetpos64 as aliases.
31218 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31219 Conditionalize body on this.
31220 * libio/fseeko64.c: Likewise.
31221 * libio/ftello64.c: Likewise.
31222 * libio/iofgetpos64.c: Likewise.
31223 * libio/iofsetpos64.c: Likewise.
31224 * sysdeps/wordsize-64/lockf.c: File removed.
31225 * sysdeps/wordsize-64/lockf64.c: File removed.
31226 * sysdeps/wordsize-64/fseeko.c: File removed.
31227 * sysdeps/wordsize-64/fseeko64.c: File removed.
31228 * sysdeps/wordsize-64/ftello.c: File removed.
31229 * sysdeps/wordsize-64/ftello64.c: File removed.
31230 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31231 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31232 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31233 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31234 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31235 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31236 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31237 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31238 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31239 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31240 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31241 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31242 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31243 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31245 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31246 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31247 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31248 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31249 [defined __arch64__ || defined __sparcv9]
31250 (__OFF_T_MATCHES_OFF64_T): New macro.
31251 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31252 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31253 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31254 (__OFF_T_MATCHES_OFF64_T): New macro.
31256 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31258 * stdlib/secure-getenv.c (__secure_getenv): Replace
31259 GLIBC_2_16 with GLIBC_2_17.
31261 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31263 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31264 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31266 2012-08-03 David S. Miller <davem@davemloft.net>
31268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31270 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31272 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31274 (__ASSUME_CORRECT_SI_PID): Likewise.
31275 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31276 (__ASSUME_TMPFS_NAME): Likewise.
31277 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31278 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31279 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31280 (HAVE_AUX_SECURE): Make definition unconditional.
31281 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31282 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31284 2012-08-03 Roland McGrath <roland@hack.frob.com>
31286 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31287 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31288 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31289 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31290 __eloop_threshold instead of SYMLOOP_MAX.
31292 * sysdeps/generic/eloop-threshold.h: New file.
31293 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31295 * elf/chroot_canon.c (chroot_canon): Likewise.
31297 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31300 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31301 Change to 2.6.0 everywhere.
31302 * sysdeps/unix/sysv/linux/configure: Regenerated.
31303 * sysdeps/unix/sysv/linux/kernel-features.h
31304 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31305 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31307 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31308 (__ASSUME_FUTEX_REQUEUE): Remove.
31309 (__ASSUME_STATFS64): Define unconditionally.
31310 (__ASSUME_AT_SECURE): Likewise.
31311 (__ASSUME_CORRECT_SI_PID): Likewise.
31312 (__ASSUME_TGKILL): Define without depending on kernel version for
31314 (__ASSUME_UTIMES): Likewise.
31315 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31317 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31318 (__ASSUME_TMPFS_NAME): Likewise.
31319 * README: Update reference to Linux kernel versions.
31321 2012-08-02 Marek Polacek <polacek@redhat.com>
31324 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31325 libc_cv_asm_type_prefix with %.
31326 * configure: Regenerated.
31327 * include/libc-symbols.h: Remove comment about
31328 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31329 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31330 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31331 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31332 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31333 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31334 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31335 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31336 * elf/tst-unique2mod1.c: Likewise.
31337 * elf/tst-unique1mod2.c: Likewise.
31338 * elf/tst-unique1mod1.c: Likewise.
31339 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31340 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31341 Replace ASM_TYPE_DIRECTIVE with .type.
31342 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31343 * sysdeps/i386/sysdep.h: Likewise.
31344 * sysdeps/x86_64/sysdep.h: Likewise.
31345 * sysdeps/sh/sysdep.h: Likewise.
31346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31347 Do not define ASM_TYPE_DIRECTIVE.
31348 * sysdeps/powerpc/sysdep.h: Likewise.
31349 * sysdeps/powerpc/powerpc32/sysdep.h:
31350 Replace ASM_TYPE_DIRECTIVE with .type.
31351 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31352 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31353 * sysdeps/i386/fpu/e_powf.S: Likewise.
31354 * sysdeps/i386/fpu/e_expl.S: Likewise.
31355 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31356 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31357 * sysdeps/i386/fpu/e_pow.S: Likewise.
31358 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31359 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31360 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31361 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31362 * sysdeps/i386/fpu/e_log2.S: Likewise.
31363 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31364 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31365 * sysdeps/i386/fpu/e_powl.S: Likewise.
31366 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31367 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31368 * sysdeps/i386/fpu/e_logl.S: Likewise.
31369 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31370 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31371 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31372 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31373 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31374 * sysdeps/i386/fpu/e_log.S: Likewise.
31375 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31376 * sysdeps/i386/fpu/e_logf.S: Likewise.
31377 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31378 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31379 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31380 * sysdeps/i386/fpu/e_log10.S: Likewise.
31381 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31382 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31383 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31384 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31385 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31386 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31387 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31388 * sysdeps/i386/i686/strtok.S: Likewise.
31389 * sysdeps/i386/i386-mcount.S: Likewise.
31390 * sysdeps/i386/strtok.S: Likewise.
31391 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31392 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31393 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31394 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31395 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31396 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31397 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31398 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31399 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31400 * sysdeps/x86_64/_mcount.S: Likewise.
31401 * sysdeps/x86_64/strtok.S: Likewise.
31402 * sysdeps/sh/_mcount.S: Likewise.
31404 2012-08-01 Roland McGrath <roland@hack.frob.com>
31406 * libio/iofopen.c: Include <fcntl.h>.
31407 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31408 (_IO_fopen64, fopen64): Define as aliases.
31409 * libio/iofopen64.c: Include <fcntl.h>.
31410 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31411 Conditionalize body on this.
31412 * sysdeps/wordsize-64/iofopen.c: File removed.
31413 * sysdeps/wordsize-64/iofopen64.c: File removed.
31415 2012-08-01 Marek Polacek <polacek@redhat.com>
31417 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31418 Use dlfcn directly instead of a variable.
31419 (binfmt-subdir): Do not define.
31422 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31424 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31425 Remove all definitions.
31426 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31427 <kernel-features.h>.
31428 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31429 (miss_F_GETOWN_EX): Remove all definitions.
31430 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31432 [!__ASSUME_FCNTL64]: Remove conditional code.
31433 [__ASSUME_FCNTL64]: Make code unconditional.
31434 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31435 <kernel-features.h>.
31436 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31437 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31438 (lockf64) [__NR_fcntl64]: Make code unconditional.
31439 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31441 * sysdeps/unix/sysv/linux/kernel-features.h
31442 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31443 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31444 Make code unconditional.
31445 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31446 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31448 [__NR_vfork]: Make code unconditional.
31449 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31450 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31452 [__NR_vfork]: Make code unconditional.
31453 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31454 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31456 2012-08-01 Roland McGrath <roland@hack.frob.com>
31458 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31459 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31461 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31462 Define mkstemp64 as an alias.
31463 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31464 Define mkstemps64 as an alias.
31465 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31466 Define mkostemp64 as an alias.
31467 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31468 Define mkostemps64 as an alias.
31469 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31470 Conditionalize body on this.
31471 * misc/mkostemp64.c: Likewise.
31472 * misc/mkostemps64.c: Likewise.
31473 * misc/mkstemps64.c: Likewise.
31474 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31475 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31476 * sysdeps/wordsize-64/mkostemp.c: File removed.
31477 * sysdeps/wordsize-64/mkstemp.c: File removed.
31478 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31479 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31480 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31481 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31484 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31485 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31486 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31487 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31489 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31490 compat_symbol macros from <shlib-compat.h> rather than the underlying
31491 default_symbol_version and symbol_version macros, so that DEFAULT
31492 lines in shlib-versions are respected.
31493 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31495 2012-08-01 Florian Weimer <fweimer@redhat.com>
31497 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31498 Declare with warn_unused_result.
31499 (setgid, setregid, setegid, setresgid): Likewise.
31500 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31502 * WUR-REPORT: Remove set*id functions.
31504 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31506 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31508 2012-07-31 Roland McGrath <roland@hack.frob.com>
31511 * include/sys/socket.h (__libc_accept, __libc_accept4):
31512 Add attribute_hidden.
31513 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31515 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31517 * inet/getnetgrent_r.c (setup): Likewise.
31519 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31521 2012-07-31 David S. Miller <davem@davemloft.net>
31523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31525 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31528 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31529 value between 1.0 and 2.0 and smaller part has absolute value less
31531 * math/s_clog10.c (__clog10): Likewise.
31532 * math/s_clog10f.c (__clog10f): Likewise.
31533 * math/s_clog10l.c (__clog10l): Likewise.
31534 * math/s_clogf.c (__clogf): Likewise.
31535 * math/s_clogl.c (__clogl): Likewise.
31536 * math/libm-test.inc (clog_test): Add more tests.
31537 (clog10_test): Likewise.
31538 * sysdeps/i386/fpu/libm-test-ulps: Update.
31539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31541 2012-07-31 Florian Weimer <fweimer@redhat.com>
31543 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31544 Exit with zero in case no suitable GID is found, and write a
31545 message to standard error.
31547 2012-07-30 Roland McGrath <roland@hack.frob.com>
31549 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31551 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31552 (MAXPATHLEN): Removed.
31553 (NOGROUP, NODEV): New macros.
31554 (setbit, clrbit, isset, isclr): New macros.
31555 (howmany, roundup, powerof2): New macros.
31556 (DEV_BSIZE): New macro.
31558 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31559 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31561 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31562 definition on [!__NO_LONG_DOUBLE_MATH].
31564 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31565 PTR_MANGLE and PTR_DEMANGLE.
31567 * socket/accept4.c (accept4): Rename to __libc_accept4.
31568 Define accept4 as a weak alias.
31570 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31571 on [_DIRENT_HAVE_D_TYPE].
31572 * io/ftw.c (ftw_dir): Likewise.
31574 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31576 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31578 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31579 Use the BSD numbers rather than the arbitrary ones we had.
31580 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31581 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31582 (SIGXCPU, SIGXFSZ): New macros.
31585 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31586 initializer on [_LIBC_REENTRANT].
31588 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31589 definitions inside [_POSIX_MAPPED_FILES].
31591 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31593 * dirent/opendir.c: Include <fcntl.h>.
31595 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31596 (__libc_getspecific): Likewise.
31597 (__libc_key_create): Likewise.
31599 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31600 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31601 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31602 (tmpfile64): Define as alias.
31603 * sysdeps/wordsize-64/tmpfile.c: File removed.
31604 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31605 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31606 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31608 * stdio-common/vfscanf.c: Include <stdbool.h>.
31609 * nss/makedb.c: Likewise.
31610 * stdio-common/_i18n_number.h: Likewise.
31611 * argp/argp-help.c: Likewise.
31612 * posix/wordexp.c: Likewise.
31613 * sysdeps/posix/spawni.c: Likewise.
31614 * nss/nss_files/files-initgroups.c: Likewise.
31615 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31616 * nss/nss_files/files-initgroups.c: Likewise.
31617 * nss/nss_db/db-netgrp.c: Likewise.
31618 * nss/nss_db/db-initgroups.c: Likewise.
31619 * io/fchmodat.c: Include <sys/stat.h>.
31621 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31622 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31624 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31627 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31628 Add multiple inclusion protection.
31630 2012-07-27 David S. Miller <davem@davemloft.net>
31632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31634 2012-07-27 Gary Benson <gbenson@redhat.com>
31637 * elf/rtld.c: Include <stap-probe.h>.
31638 (dl_main): Added static probes "init_start" and "init_complete".
31639 * elf/dl-load.c: Include <stap-probe.h>.
31640 (lose): Take new parameter "nsid".
31641 Added static probe "map_failed".
31642 (_dl_map_object_from_fd): Pass namespace id to lose.
31643 Added static probe "map_start".
31644 (open_verify): Pass namespace id to lose.
31645 * elf/dl-open.c: Include <stap-probe.h>.
31646 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31647 and "reloc_complete".
31648 * elf/dl-close.c: Include <stap-probe.h>.
31649 (_dl_close_worker): Added static probes "unmap_start" and
31651 * elf/rtld-debugger-interface.txt: New file documenting the above.
31653 2012-07-26 Roland McGrath <roland@hack.frob.com>
31655 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31656 rather than a string variable.
31657 * sunrpc/rpc_main.c (h_output): Likewise.
31658 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31660 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31662 * inet/check_native.c: New file.
31664 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31667 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31668 if larger part has absolute value 1.0.
31669 * math/s_clog10.c (__clog10): Likewise.
31670 * math/s_clog10f.c (__clog10f): Likewise.
31671 * math/s_clog10l.c (__clog10l): Likewise.
31672 * math/s_clogf.c (__clogf): Likewise.
31673 * math/s_clogl.c (__clogl): Likewise.
31674 * math/libm-test.inc (clog_test): Add more tests.
31675 (clog10_test): Likewise.
31676 * sysdeps/i386/fpu/libm-test-ulps: Update.
31677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31679 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31680 (pltexit): Likewise.
31681 (La_regs): Likewise.
31682 (La_retval): Likewise.
31683 (int_retval): Likewise.
31684 Update #error for removed macros to refer only to definitions in
31686 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31688 (pltexit): Likewise.
31689 (La_regs): Likewise.
31690 (La_retval): Likewise.
31691 (int_retval): Likewise.
31692 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31694 (pltexit): Likewise.
31695 (La_regs): Likewise.
31696 (La_retval): Likewise.
31697 (int_retval): Likewise.
31698 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31700 (pltexit): Likewise.
31701 (La_regs): Likewise.
31702 (La_retval): Likewise.
31703 (int_retval): Likewise.
31704 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31706 (pltexit): Likewise.
31707 (La_regs): Likewise.
31708 (La_retval): Likewise.
31709 (int_retval): Likewise.
31710 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31712 (pltexit): Likewise.
31713 (La_regs): Likewise.
31714 (La_retval): Likewise.
31715 (int_retval): Likewise.
31716 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31718 (pltexit): Likewise.
31719 (La_regs): Likewise.
31720 (La_retval): Likewise.
31721 (int_retval): Likewise.
31722 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31723 macro definitions in tst-audit.h.
31724 * sysdeps/i386/tst-audit.h: New file.
31725 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31726 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31727 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31728 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31729 * sysdeps/sh/tst-audit.h: Likewise.
31730 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31731 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31732 * sysdeps/x86_64/tst-audit.h: Likewise.
31734 2012-07-26 Andreas Jaeger <aj@suse.de>
31736 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31739 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31740 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31741 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31743 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31744 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31745 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31747 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31750 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31752 (si_call_addr, si_syscall, si_arch): Define new macro.
31753 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31755 (si_call_addr, si_syscall, si_arch): Define new marcro.
31756 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31758 (si_call_addr, si_syscall, si_arch): Define new macro.
31759 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31761 (si_call_addr, si_syscall, si_arch): Define new macro.
31763 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31766 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31767 Change to 2.4.21 where previously 2.4.1.
31768 * sysdeps/unix/sysv/linux/configure: Regenerated.
31769 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31770 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31771 Linux kernel version.
31772 (__ASSUME_STD_AUXV): Remove.
31773 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31775 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31776 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31777 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31778 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31779 (__ASSUME_NETLINK_SUPPORT): Likewise.
31780 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31781 (__no_netlink_support): Remove conditional definition.
31782 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31784 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31785 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31786 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31787 (if_nameindex_ioctl): Remove.
31788 (if_nameindex_netlink): Do not handle __no_netlink_support.
31789 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31791 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31792 Remove conditional code.
31793 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31795 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31797 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31798 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31799 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31801 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31802 [!__ASSUME_STD_AUXV]: Remove conditional code.
31803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31804 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31805 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31807 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31808 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31810 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31812 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31813 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31815 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31817 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31820 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31823 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31824 code unconditional.
31825 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31827 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31829 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31832 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31834 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31837 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31838 code unconditional.
31839 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31841 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31843 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31846 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31847 code unconditional.
31848 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31850 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31852 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31855 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31857 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31858 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31859 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31860 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31861 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31862 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31863 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31864 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31865 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31866 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31867 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31868 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31869 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31870 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31871 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31872 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31873 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31874 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31875 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31876 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31877 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31878 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31879 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31881 2012-07-25 Florian Weimer <fweimer@redhat.com>
31883 * Versions.def: Add GLIBC_2.17.
31884 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31885 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31886 Introduce __libc_secure_getenv.
31887 * stdlib/Versions (2.17): Add secure_getenv
31888 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31889 * stdlib/secure-getenv.c: Rename __secure_getenv to
31890 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31891 symbol __secure_getenv for GLIBC_2.0.
31892 * stdlib/tst-secure-getenv.c: New.
31893 * stdlib/Makefile (tests): Add testcase.
31894 * manual/startup.texi (Environment Access): Document
31896 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31897 __libc_secure_getenv.
31898 * inet/ruserpass.c (ruserpass): Likewise.
31899 * malloc/mtrace.c (mtrace): Likewise.
31900 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31901 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31902 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31903 * sysdeps/posix/tempname.c: Likewise. Evaluate
31904 HAVE_SECURE_GETENV.
31905 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31906 __secure_getenv to __libc_secure_getenv.
31907 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31914 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31920 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31922 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31923 (struct La_i86_retval): Likewise.
31924 (struct La_x86_64_regs): Likewise.
31925 (struct La_x86_64_retval): Likewise.
31926 (struct La_x32_regs): Likewise.
31927 (struct La_x32_retval): Likewise.
31928 (struct La_ppc32_regs): Likewise.
31929 (struct La_ppc32_retval): Likewise.
31930 (struct La_ppc64_regs): Likewise.
31931 (struct La_ppc64_retval): Likewise.
31932 (struct La_sh_regs): Likewise.
31933 (struct La_sh_retval): Likewise.
31934 (struct La_s390_32_regs): Likewise.
31935 (struct La_s390_32_retval): Likewise.
31936 (struct La_s390_64_regs): Likewise.
31937 (struct La_s390_64_retval): Likewise.
31938 (struct La_sparc32_regs): Likewise.
31939 (struct La_sparc32_retval): Likewise.
31940 (struct La_sparc64_regs): Likewise.
31941 (struct La_sparc64_retval): Likewise.
31942 (struct audit_ifaces): Remove architecture-specific pltenter and
31944 * sysdeps/i386/ldsodefs.h: New file.
31945 * sysdeps/powerpc/ldsodefs.h: Likewise.
31946 * sysdeps/s390/ldsodefs.h: Likewise.
31947 * sysdeps/sh/ldsodefs.h: Likewise.
31948 * sysdeps/sparc/ldsodefs.h: Likewise.
31949 * sysdeps/x86_64/ldsodefs.h: Likewise.
31951 2012-07-25 Marek Polacek <polacek@redhat.com>
31954 * math/libm-test.inc (yn_test): Add another test.
31955 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31956 to ERANGE when the result is +-Inf.
31957 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31958 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31959 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31960 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31962 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31964 * conform/data/time.h-data (NULL): Use macro-constant. Require
31966 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31968 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31970 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31972 * configure.in <sysdeps resolving>: Correct printing
31974 * configure: Regenerate.
31976 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31978 * math/w_ilogb.c: Include <limits.h>.
31979 * math/w_ilogbl.c: Likewise.
31981 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31983 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31984 va_copy. Document allowing for unavailable va_copy only as
31985 pre-C99 compatibility.
31986 * manual/string.texi (Copying and Concatenation): Use va_copy
31987 instead of __va_copy in concat example.
31989 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31991 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31992 (__sendto): Use create_address_port. Initialize APORT and deallocate
31995 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31996 with O_NOLINK passed to __file_name_lookup.
31998 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31999 with O_NOLINK passed to __file_name_lookup.
32001 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32002 negative N or less than NGIDS.
32004 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32005 type to string_t. Set ERANGE as errno and return it if NAME is not big
32006 enough. Use memcpy instead of strncpy.
32008 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32010 * elf/Makefile (check-data): Remove.
32011 (localplt.data): New vpath directive.
32012 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32013 instead of $(check-data).
32014 * scripts/data/localplt-generic.data: Move to ...
32015 * sysdeps/generic/localplt.data: ... here.
32016 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32017 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32018 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32021 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32024 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32027 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32030 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32033 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32037 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32039 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32040 PPC32 and PPC64 files.
32041 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32042 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32044 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32046 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32047 __makecontext_ret to ...
32048 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32049 ... here and call exit if uc_link is NULL. New file.
32050 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32051 __makecontext_ret.S.
32052 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32053 __makecontext_ret to ...
32054 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32055 ... here and call exit if uc_link is NULL. New file.
32056 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32057 __makecontext_ret.S.
32059 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32061 * elf/elf.h (R_390_IRELATIVE): New definition.
32062 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32063 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32064 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32065 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32066 (elf_machine_lazy_rel): Likewise.
32067 * sysdeps/s390/dl-irel.h: New file.
32068 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32069 * sysdeps/s390/s390-64/memset.S: New asm code.
32070 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32071 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32072 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32073 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32074 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32075 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32076 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32077 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32078 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32079 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32080 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32081 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32082 * sysdeps/s390/s390-32/memset.S: New asm code.
32083 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32085 2012-07-17 Marek Polacek <polacek@redhat.com>
32088 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32089 * sysdeps/s390/s390-64/configure.in: Likewise.
32090 * sysdeps/sparc/configure.in: Likewise.
32091 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32092 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32093 * sysdeps/i386/configure.in: Likewise.
32094 * sysdeps/x86_64/configure.in: Likewise.
32095 * sysdeps/sh/configure.in: Likewise.
32096 * sysdeps/s390/s390-32/configure: Regenerated.
32097 * sysdeps/s390/s390-64/configure: Likewise.
32098 * sysdeps/x86_64/configure: Likewise.
32099 * sysdeps/sh/configure: Likewise.
32100 * sysdeps/powerpc/powerpc64/configure: Likewise.
32101 * sysdeps/powerpc/powerpc32/configure: Likewise.
32102 * sysdeps/sparc/configure: Likwise.
32103 * sysdeps/i386/configure: Likewise.
32105 * elf/dl-open.c: Comment fixes.
32107 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32109 * Makefile [CXX] (check-data): Remove.
32110 [CXX] (c++-types.data): New vpath directive.
32111 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32112 vpath. Do not allow for C++ type data being missing.
32113 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32114 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32115 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32116 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32117 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32118 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32119 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32122 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32125 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32128 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32131 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32134 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32137 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32140 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32143 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32144 definitions to architecture-specific files.
32145 (TLS_IE): Likewise.
32146 (TLS_LD): Likewise.
32147 (TLS_GD): Likewise.
32148 * sysdeps/i386/tls-macros.h: New file.
32149 * sysdeps/powerpc/tls-macros.h: Likewise.
32150 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32151 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32152 * sysdeps/sh/tls-macros.h: Likewise.
32153 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32154 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32155 * sysdeps/x86_64/tls-macros.h: Likewise.
32157 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32159 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32160 zero value for regular exit case.
32162 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32163 (__start_context): Preserve zero value for regular exit case.
32165 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32166 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32168 * manual/setjmp.texi (setcontext): Clarify normal process
32169 termination when uc_link is the null pointer.
32170 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32173 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32175 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32176 preprocessor. Test for each exception mask separately.
32178 2012-07-16 Andreas Jaeger <aj@suse.de>
32180 * po/ru.po: Update from translation team.
32182 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32184 * conform/data/string.h-data (NULL): Use macro-constant. Require
32186 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32187 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32188 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32189 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32190 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32192 2012-07-13 Andreas Jaeger <aj@suse.de>
32194 * po/fr.po: Update from translation team.
32196 2012-07-12 Marek Polacek <polacek@redhat.com>
32199 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32200 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32203 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32206 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32207 Change to 2.4.1 where previously 2.4.0.
32208 * sysdeps/unix/sysv/linux/configure: Regenerated.
32209 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32210 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32212 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32213 (__ASSUME_AT_CLKTCK): Remove.
32214 (__ASSUME_AT_PAGESIZE): Likewise.
32215 (__ASSUME_AT_XID): Likewise.
32216 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32217 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32218 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32220 (HAVE_AUX_PAGESIZE): Likewise.
32221 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32222 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32223 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32225 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32229 the temporary buffer used to invoke __gethostbyname2_r,
32230 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32231 host_data / struct gaih_addrtuple.
32232 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32233 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32234 header file nss/nsswitch.h.
32235 * nss/nsswitch.h (global scope): Add definition of implementation
32236 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32237 resolv/nss_dns/dns-host.c).
32239 2012-07-11 Andreas Jaeger <aj@suse.de>
32241 * po/fr.po: Update from translation team.
32243 * po/sv.po: Update from translation team
32244 * po/fr.po: Another update from translation team.
32246 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32248 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32249 for subnormals or multiply small sinh result by itself.
32250 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32253 2012-07-11 David S. Miller <davem@davemloft.net>
32255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32257 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32260 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32261 (INTERNAL_MARK): Shift it here.
32263 2012-07-10 Marek Polacek <polacek@redhat.com>
32266 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32267 libc_cv_asm_global_directive with .globl.
32268 * configure: Regenerated.
32269 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32271 * sysdeps/i386/configure: Regenerated.
32272 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32274 * sysdeps/x86_64/configure: Regenerated.
32275 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32276 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32277 * elf/tst-unique2mod2.c: Likewise.
32278 * elf/tst-unique2mod1.c: Likewise.
32279 * elf/tst-unique1mod2.c: Likewise.
32280 * elf/tst-unique1mod1.c: Likewise.
32281 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32282 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32283 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32284 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32285 * sysdeps/mach/sysdep.h: Likewise.
32286 * sysdeps/i386/sysdep.h: Likewise.
32287 * sysdeps/i386/i386-mcount.S: Likewise.
32288 * sysdeps/x86_64/_mcount.S: Likewise.
32289 * sysdeps/x86_64/sysdep.h: Likewise.
32290 * sysdeps/sh/_mcount.S: Likewise.
32291 * sysdeps/sh/sysdep.h: Likewise.
32292 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32293 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32294 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32295 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32296 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32297 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32298 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32299 * locale/localeinfo.h: Likewise.
32300 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32301 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32303 2012-07-09 Roland McGrath <roland@hack.frob.com>
32306 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32308 * manual/message.texi (The Uniforum approach): Likewise.
32309 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32310 (glibc iconv Implementation): Likewise.
32312 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32315 * math/s_clog.c (__clog): Avoid scaling a value down where that
32316 could result in underflow.
32317 * math/s_clog10.c (__clog10): Likewise.
32318 * math/s_clog10f.c (__clog10f): Likewise.
32319 * math/s_clog10l.c (__clog10l): Likewise.
32320 * math/s_clogf.c (__clogf): Likewise.
32321 * math/s_clogl.c (__clogl): Likewise.
32322 * math/libm-test.inc (clog_test): Add more tests.
32323 (clog10_test): Likewise.
32324 * sysdeps/i386/fpu/libm-test-ulps: Update.
32325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32327 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32330 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32331 by 7 not 8 to examine high bit of fractional part.
32334 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32335 for call to __mcount_internal.
32336 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32337 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32338 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32340 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32343 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32344 approximation for values within 0x1p-13f of an odd multiple of
32346 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32347 exception. Add more tests.
32348 * sysdeps/i386/fpu/libm-test-ulps: Update.
32351 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32352 inputs and return -1 for them. Do not check for +Inf in case not
32353 reachable for +Inf.
32354 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32355 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32356 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32357 and return -1 for them. Do not check for +Inf in case not
32358 reachable for +Inf.
32359 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32361 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32362 and return -1 for them. Do not check for +Inf in case not
32363 reachable for +Inf.
32364 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32365 spurious underflow.
32366 * sysdeps/i386/fpu/libm-test-ulps: Update.
32367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32369 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32371 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32373 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32377 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32378 could result in spurious underflow. Scale down values above
32379 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32380 * math/s_csqrtf.c (__csqrtf): Likewise.
32381 * math/s_csqrtl.c (__csqrtl): Likewise.
32382 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32383 spurious underflow.
32384 * sysdeps/i386/fpu/libm-test-ulps: Update.
32385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32387 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32389 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32391 * catgets/xopen-msg.awk: New file.
32392 * catgets/xopen-msg.sed: Removed.
32394 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32396 * intl/po2test.awk: New file.
32397 * intl/po2test.sed: Removed.
32399 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32402 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32403 or multiply small sinh result by itself.
32404 * math/s_ctanf.c (__ctanf): Likewise.
32405 * math/s_ctanh.c (__ctanh): Likewise.
32406 * math/s_ctanhf.c (__ctanhf): Likewise.
32407 * math/s_ctanhl.c (__ctanhl): Likewise.
32408 * math/s_ctanl.c (__ctanl): Likewise.
32409 * math/libm-test.inc (ctan_test_tonearest): New function.
32410 (ctan_test_towardzero): Likewise.
32411 (ctan_test_downward): Likewise.
32412 (ctan_test_upward): Likewise.
32413 (ctanh_test_tonearest): Likewise.
32414 (ctanh_test_towardzero): Likewise.
32415 (ctanh_test_downward): Likewise.
32416 (ctanh_test_upward): Likewise.
32417 (main): Call these new functions.
32418 * sysdeps/i386/fpu/libm-test-ulps: Update.
32419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32421 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32423 * .gitignore: Delete /ports entry.
32425 2012-07-03 Andreas Jaeger <aj@suse.de>
32427 * po/bg.po: Update from translation team.
32428 * po/cs.po: Likewise.
32429 * po/de.po: Likewise.
32430 * po/hr.po: Likewise.
32431 * po/nl.pl: Likewise.
32432 * po/pl.po: Likewise.
32433 * po/vi.po: Likewise.
32435 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32437 * Makeconfig [!+link] (+link-before-libc): New variable.
32438 [!+link] (+link-after-libc): Likewise.
32439 [!+link] (+link-tests): Likewise.
32440 [!+link] (+link): Define in terms of $(+link-before-libc) and
32441 $(+link-after-libc).
32442 [!+link-static] (+link-static-before-libc): New variable.
32443 [!+link-static] (+link-static-after-libc): Likewise.
32444 [!+link-static] (+link-static-tests): Likewise.
32445 [!+link-static] (+link-static): Define in terms of
32446 $(+link-static-before-libc) and $(+link-static-after-libc).
32447 [build-shared] (link-libc-before-gnulib): New variable.
32448 [build-shared] (link-libc-tests): Likewise.
32449 [build-shared] (link-libc): Define in terms of
32450 $(link-libc-before-gnulib).
32451 [!build-shared] (link-libc-tests): New variable.
32452 (link-libc-static-tests): New variable.
32453 [!gnulib] (gnulib-arch): New variable.
32454 [!gnulib] (gnulib-tests): Likewise.
32455 [!gnulib] (static-gnulib-arch): Likewise.
32456 [!gnulib] (static-gnulib-tests): Likewise.
32457 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32458 Define with "=" instead of ":=".
32459 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32460 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32461 * Rules (binaries-all-notests): New variable.
32462 (binaries-all-tests): Likewise.
32463 (binaries-static-notests): Likewise.
32464 (binaries-static-tests): Likewise.
32465 (binaries-all): Define using $(binaries-all-notests) and
32466 $(binaries-all-tests).
32467 (binaries-static): Define using $(binaries-static-notests) and
32468 $(binaries-static-tests).
32469 (binaries-shared-tests): New variable.
32470 (binaries-shared-notests): Likewise.
32471 (binaries-shared): Remove variable.
32472 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32473 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32474 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32475 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32476 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32477 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32478 * elf/Makefile (sln-modules): New variable.
32479 (extra-objs): Add $(sln-modules:=.o).
32480 (ldconfig-modules): Add static-stubs.
32481 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32482 * elf/static-stubs.c: New file.
32485 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32486 by 7 not 8 to examine high bit of fractional part. Use volatile
32487 variables when splitting into final array of floats if
32488 __FLT_EVAL_METHOD__ != 0.
32489 * math/libm-test.inc (cos_test): Add another test.
32490 (sin_test): Likewise.
32491 * sysdeps/i386/fpu/libm-test-ulps: Update.
32494 * math/libm-test.inc (cosh_test): Add more tests.
32496 * version.h (RELEASE): Set to "development".
32497 (VERSION): Set to "2.16.90".
32499 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32501 * NEWS: Update copyright. Remove last-updated date.
32502 Mention math library bug fixes and timezone data changes.
32503 * README: Mention GNU/Hurd, x32, and HPPA support status.
32505 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32507 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32509 2012-06-27 Andreas Jaeger <aj@suse.de>
32511 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32513 2012-06-25 Andreas Jaeger <aj@suse.de>
32515 * sysdeps/s390/fpu/libm-test-ulps: Update.
32517 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32518 Thomas Schwinge <thomas@codesourcery.com>
32520 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32521 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32522 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32525 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32527 * sysdeps/mach/start.c: Remove file.
32528 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32529 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32530 * sysdeps/sh/init-first.c: Likewise.
32532 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32533 registers for frame unwinding purposes, add CFI directives.
32534 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32535 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32536 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32539 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32540 __fortify_fail returning.
32541 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32543 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32544 sysdeps/sh/____longjmp_chk.S.
32545 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32546 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32547 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32548 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32550 * sysdeps/sh/abort-instr.h: New file.
32551 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32552 process in case exit returns.
32554 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32555 initialize the GOT register before use.
32557 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32558 calculation of ARGC > 4.
32560 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32561 meaningful names to some local labels.
32563 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32564 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32566 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32567 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32568 (__arch_compare_and_exchange_val_16_acq): Likewise.
32569 (__arch_compare_and_exchange_val_32_acq): Likewise.
32570 (atomic_exchange_and_add): Fix gUSA sequence.
32571 (atomic_add): Likewise.
32572 (atomic_add_negative): Likewise.
32573 (atomic_add_zero): Likewise.
32574 (atomic_bit_test_set): Likewise.
32576 2012-06-22 Andreas Schwab <schwab@redhat.com>
32579 * include/link.h (struct link_map): Add l_free_initfini.
32580 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32582 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32583 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32584 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32587 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32589 * configure.in: Use AC_LANG_SOURCE.
32590 * configure: Regenerate.
32592 2012-06-22 Roland McGrath <roland@hack.frob.com>
32594 * configure.in (libc_cv_localstatedir): New substituted variable.
32595 * configure: Regenerated.
32596 * config.make.in (localstatedir): New variable, substituted from
32597 libc_cv_localstatedir.
32598 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32599 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32600 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32601 * sysdeps/gnu/configure: Regenerated.
32603 2012-06-21 Jeff Law <law@redhat.com>
32606 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32607 free. Simplify list management for _LIBC case.
32609 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32612 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32613 Clear sign bit of 64-bit integer value before comparing against
32616 * sysdeps/mach/configure: Regenerated.
32618 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32621 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32623 2012-06-21 Jeff Law <law@redhat.com>
32626 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32627 uint16_t for elements in the "seen" array to avoid char overflows.
32628 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32629 * elf/dl-open.c (dl_open_worker): Likewise.
32631 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32633 * scripts/list-sources.sh: Scan PORTS for translations.
32634 * po/libc.pot: Regenerated.
32636 2012-06-21 Andreas Jaeger <aj@suse.de>
32639 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32641 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32642 * bits/byteswap-16.h (__bswap_16): Likewise.
32643 * bits/byteswap.h (__bswap_constant_16): Likewise.
32645 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32648 * sysdeps/i386/fpu_control.h: Removed.
32649 * sysdeps/x86_64/fpu_control.h: Moved to ...
32650 * sysdeps/x86/fpu_control.h: Here.
32652 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32653 (_FPU_SETCW): Likewise.
32655 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32658 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32659 * sysdeps/x86/fpu/bits/mathinline.h: This.
32660 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32664 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32665 functions if __x86_64__ is defined.
32667 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32669 * string/endian.h: Add !__ASSEMBLER__ condition for including
32670 conversion interfaces.
32672 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32675 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32676 of ABS(x) in calculating zero to negative powers other than odd
32678 * math/libm-test.inc (pow_test): Add more tests.
32680 2012-06-15 Andreas Jaeger <aj@suse.de>
32682 * manual/contrib.texi (Contributors): Update entry of Liubov
32683 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32686 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32688 * string/string.h: Add __wur to GNU version of strerror_r.
32690 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32693 * string/Makefile (tests): Add tst-strtok_r.
32694 * string/tst-strtok_r.c: New file.
32695 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32696 RAX_LP/RDX_LP on SAVE_PTR.
32698 2012-06-14 Roland McGrath <roland@hack.frob.com>
32700 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32702 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32704 * libm_test.inc (csqrt_test): Allow more spurious underflow
32706 (j0_test): Likewise.
32707 (j1_test): Likewise.
32708 (y0_test): Likewise.
32709 (y1_test): Likewise.
32711 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32713 * po/Makefile (libc.pot): Use UTF-8 charset.
32715 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32718 Suppress sign-conversion warning from FD_SET.
32719 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32720 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32721 not unsigned long int.
32722 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32724 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32728 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32729 __extern_always_inline instead of __extern_inline.
32730 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32731 (__signbit): Likewise.
32732 (__signbitl): Support C++ namespace.
32733 (lrintf): New inline function.
32735 (llrintf): Likewise.
32736 (llrint): Likewise.
32746 (floorf): Likewise.
32747 (nearbyint): Likewise.
32748 (nearbyintf): Likewise.
32750 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32752 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32753 non-default versions.
32755 2012-06-11 Roland McGrath <roland@hack.frob.com>
32758 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32760 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32762 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32763 (FE_UPWARD, FE_DOWNWARD): Don't define.
32764 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32765 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32767 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32769 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32770 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32772 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32774 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32775 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32776 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32777 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32779 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32782 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32783 * sysdeps/i386/fpu/Implies: New file.
32784 * sysdeps/x86_64/fpu/Implies: Likewise.
32785 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32786 * sysdeps/x86/fpu/bits/fenv.h: This.
32788 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32791 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32794 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32795 character 0xffff that matches the last element of the
32798 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32800 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32803 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32805 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32806 values higher than 25.6283.
32808 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32810 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32811 subnormal exponent extraction and add some __builtin_expect.
32812 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32813 Fix for subnormal mantissa calculation.
32815 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32817 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32818 cpu2 is -1 and errno is not ENOSYS.
32820 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32823 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32824 * sysdeps/x86/bits/string.h: This.
32825 * sysdeps/x86_64/bits/string.h: Removed.
32827 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32828 if not compiling for x86-64, but compiling for >= i486.
32830 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32831 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32833 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32834 New macro from Linux kernel 3.4.0.
32835 (FP_XSTATE_MAGIC2): Likewise.
32836 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32837 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32838 (struct _fpx_sw_bytes): New struct.
32839 (struct _xsave_hdr): Likewise.
32840 (struct _ymmh_state): Likewise.
32841 (struct _xstate): Likewise.
32843 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32844 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32845 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32846 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32847 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32848 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32850 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32851 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32852 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32853 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32854 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32855 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32857 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32860 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32861 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32862 (sysdep_headers): Include sys/platform/ppc.h.
32863 * sysdeps/powerpc/test-gettimebase.c: Test for
32864 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32865 * manual/Makefile (appendices): Include platform.texi.
32866 * manual/contrib.texi (Contributors): Update @node pointers.
32867 * manual/maint.texi (Maintenance): Likewise.
32868 (Platform): New node.
32869 * manual/platform.texi: New file. Document the new features.
32871 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32872 Jakub Jelinek <jakub@redhat.com>
32875 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32876 where __builtin_expect is unavailable.
32878 2012-06-03 David S. Miller <davem@davemloft.net>
32880 * stdlib/longlong.h: Updated from GCC.
32882 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32885 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32886 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32889 (GLIBC_2.16): Likewise.
32891 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32893 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32895 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32898 (default-abi): New variable.
32899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32900 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32902 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32904 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32906 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32909 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32910 definition. Document in comment.
32912 2012-06-01 David S. Miller <davem@davemloft.net>
32914 * stdlib/longlong.h: Updated from GCC.
32916 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32919 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32920 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32921 sys/debugreg.h sys/io.h here.
32922 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32923 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32925 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32926 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32927 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32928 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32929 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32930 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32932 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32933 Define only if __x86_64__ is defined.
32935 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32938 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32939 Use int64_t for variable i.
32940 * math/libm-test.inc (fmod_test): Add more tests.
32942 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32943 z computation is not scheduled after fetestexcept.
32944 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32945 Use math_force_eval instead of asm to ensure calculation scheduled
32946 before exception test.
32947 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32948 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32950 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32953 computation is not scheduled after fetestexcept.
32955 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32958 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32959 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32961 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32963 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32964 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32966 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32969 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32971 (__WCHAR_MIN): Support __WORDSIZE == 64.
32972 (__WCHAR_MAX): Likewise.
32974 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32975 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32978 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32979 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32982 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32983 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32985 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32986 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32988 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32989 Defined to 1 if __x86_64__ isn't defined.
32990 (_STAT_VER_LINUX_OLD): New.
32991 (st_atime): Remove duplicate.
32992 (st_mtime): Likewise.
32993 (st_ctime): Likewise.
32995 2012-05-31 David S. Miller <davem@davemloft.net>
32997 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33000 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33002 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33006 * elf/dl-reloc.c: Include <_itoa.h>.
33007 (_dl_reloc_bad_type): Remove use of INTUSE.
33008 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33009 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33010 * stdio-common/psiginfo.c (psiginfo): Likewise.
33011 * stdio-common/psignal.c (psignal): Likewise.
33012 * string/strsignal.c (strsignal): Likewise.
33013 * include/signal.h (_sys_siglist): Declare hidden proto.
33014 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33015 INTVARDEF with libc_hidden_data_def.
33016 * stdio-common/itoa-udigits.c: Likewise.
33017 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33018 (_itoa_lower_digits_internal): Remove declaration.
33019 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33020 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33021 (_sys_sigabbrev_internal): Remove aliases.
33022 (_sys_siglist): Define hidden alias.
33024 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33026 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33029 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33032 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33033 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33035 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33036 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33037 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33038 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33039 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33040 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33042 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33043 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33044 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33046 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33054 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33055 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33056 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33058 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33059 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33060 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33061 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33062 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33063 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33065 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33066 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33068 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33069 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33071 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33072 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33073 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33075 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33076 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33078 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33080 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33081 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33082 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33084 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33086 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33088 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33090 * math/math.h (M_El): Use two more decimal places.
33091 (M_LOG2El): Likewise.
33092 (M_LOG10El): Likewise.
33093 (M_LN2l): Likewise.
33094 (M_LN10l): Likewise.
33096 (M_PI_2l): Likewise.
33097 (M_PI_4l): Likewise.
33098 (M_1_PIl): Likewise.
33099 (M_2_PIl): Likewise.
33100 (M_2_SQRTPIl): Likewise.
33101 (M_SQRT2l): Likewise.
33102 (M_SQRT1_2l): Likewise.
33104 2012-05-31 David S. Miller <davem@davemloft.net>
33106 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33107 values between float registers.
33108 * sysdeps/sparc/sparc64/memset.S: Likewise.
33109 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33111 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33113 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33114 -D_FORTIFY_SOURCE=1.
33115 (CPPFLAGS-tst-longjmp_chk.c): Define.
33116 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33117 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33118 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33119 CFLAGS-tst-wchar-h.c.
33121 2012-05-31 Marek Polacek <polacek@redhat.com>
33124 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33125 __endmntent_internal): Remove declaration.
33126 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33127 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33128 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33130 2012-05-30 David S. Miller <davem@davemloft.net>
33132 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33133 (___Q_simulate_exceptions): Use real FP ops rather than writing
33135 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33138 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33141 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33142 * sysdeps/x86/bits/xtitypes.h: This.
33144 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33145 * sysdeps/x86/bits/wordsize.h: This.
33147 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33148 * sysdeps/x86/bits/huge_vall.h: This.
33150 * sysdeps/i386/bits/select.h: Removed.
33151 * sysdeps/x86_64/bits/select.h: Renamed to ...
33152 * sysdeps/x86/bits/select.h: This.
33154 * sysdeps/i386/bits/setjmp.h: Removed.
33155 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33156 * sysdeps/x86/bits/setjmp.h: This.
33158 * sysdeps/i386/bits/mathdef.h: Removed.
33159 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33160 * sysdeps/x86/bits/mathdef.h: This.
33162 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33165 * include/sys/socket.h (__connect_internal)
33166 (__libc_sa_len_internal): Remove declaration.
33167 (__connect, __libc_sa_len): Declare hidden_proto.
33168 (SA_LEN): Remove use of INTUSE.
33169 * socket/connect.c: Add libc_hidden_def.
33170 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33171 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33172 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33174 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33175 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33176 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33177 of adding _internal alias.
33179 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33182 * sysdeps/i386/bits/link.h: Removed.
33183 * sysdeps/i386/bits/linkmap.h: Likewise.
33184 * sysdeps/x86_64/bits/link.h: Renamed to ...
33185 * sysdeps/x86/bits/link.h: This.
33186 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33187 * sysdeps/x86/bits/linkmap.h: This.
33189 * sysdeps/i386/bits/endian.h: Removed.
33190 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33191 * sysdeps/x86/bits/endian.h: This.
33193 * sysdeps/i386/bits/byteswap.h: Removed.
33194 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33195 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33196 * sysdeps/x86/bits/byteswap.h: This.
33197 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33198 * sysdeps/x86/bits/byteswap-16.h: This.
33199 * sysdeps/i386/Implies: Add x86.
33200 * sysdeps/x86_64/Implies: Likewise.
33202 2012-05-30 David S. Miller <davem@davemloft.net>
33204 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33205 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33206 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33207 (FP_TRAPPING_EXCEPTIONS): Define.
33208 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33209 (FP_TRAPPING_EXCEPTIONS): Define.
33210 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33211 subnormals only when inexact has been signalled or underflow
33212 exceptions are enabled.
33213 (_FP_PACK_CANONICAL): Likewise.
33215 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33218 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33219 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33221 2012-05-30 Richard Henderson <rth@twiddle.net>
33223 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33224 with #ifndef NOT_IN_libc.
33226 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33227 marked to avoid plt entry.
33229 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33232 * Makeconfig (default-abi): New macro.
33233 (abi-includes): Likewise.
33234 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33235 $(abi-$(default-abi)-lib-soname) for soname if defined.
33236 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33238 * Makefile (installed-stubs): Likewise.
33239 * include/stubs-biarch.h: Removed.
33240 * scripts/lib-names.awk: Only handle one library at a time.
33241 * scripts/soversions.awk: Remove WORDSIZE support.
33242 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33244 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33246 (syscall-list-default-condition): Likewise.
33247 (syscall-list-default-condition): Likewise.
33248 (syscall-list-includes): Likewise.
33249 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33250 syscall-list-* with abi-*. Handle undefined abi-variants.
33251 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33252 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33253 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33254 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33255 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33256 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33258 (syscall-list-32-options): Likewise.
33259 (syscall-list-32-condition): Likewise.
33260 (syscall-list-64-options): Likewise.
33261 (syscall-list-64-condition): Likewise.
33262 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33264 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33267 (abi-64-ld-soname): New macro.
33268 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33269 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33272 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33273 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33275 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33277 * sysdeps/unix/sysv/linux/kernel-features.h
33278 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33279 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33280 include <kernel-features.h>.
33281 [!__NR_ftruncate64]: Remove conditional code.
33282 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33283 [__NR_ftruncate64]: Make code unconditional.
33284 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33285 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33286 include <kernel-features.h>.
33287 [!__NR_ftruncate64]: Remove conditional code.
33288 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33289 [__NR_ftruncate64]: Make code unconditional.
33290 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/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/powerpc/powerpc32/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.
33304 * configure.in (libc_cv_fpie): Weaken to a compile test using
33305 LIBC_TRY_CC_OPTION.
33306 * configure: Regenerated.
33308 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33323 2012-05-27 David S. Miller <davem@davemloft.net>
33325 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33327 (__Q_simulate_exceptions): Return void. Change to simulate
33328 exceptions by writing into the %fsr.
33329 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33330 (__Qp_handle_exceptions): Likewise.
33332 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33333 __Qp_handle_exceptions.
33334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33335 __Qp_handle_exceptions.
33336 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33337 as unused and give dummy FP_RND_NEAREST initializer.
33338 (FP_INHIBIT_RESULTS): Define.
33339 (___Q_simulate_exceptions): Update declaration.
33340 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33342 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33343 as unused and give dummy FP_RND_NEAREST initializer.
33344 (__Qp_handle_exceptions): Update declaration.
33345 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33348 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33350 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33351 the temporary FPU control word.
33352 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33353 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33354 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33355 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33356 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33357 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33358 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33359 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33360 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33361 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33362 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33364 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33366 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33369 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33371 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33372 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33373 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33374 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33376 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33377 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33380 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33382 * po/h.po: Update from translation team.
33384 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33386 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33388 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33389 handling of denormals.
33390 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33391 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33392 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33393 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33394 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33395 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33396 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33399 2012-05-26 Marek Polacek <polacek@redhat.com>
33402 * math/libm-test.inc (fma_test): Don't always expect underflow
33405 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33408 * elf/tst-execstack.c: Include stackinfo.h.
33409 (do_test): Adjust test case to ensure that pthread_getattr_np
33410 behaviour remains the same after marking stack executable.
33412 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33414 * sysdeps/unix/sysv/linux/kernel-features.h
33415 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33416 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33418 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33419 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33420 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33422 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33423 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33425 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33427 * configure.in: Define the default includes to being none.
33428 * configure: Regenerated.
33430 2012-05-25 Roland McGrath <roland@hack.frob.com>
33432 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33433 * sysdeps/x86_64/setjmp.S: Likewise.
33434 * sysdeps/i386/bsd-setjmp.S: Likewise.
33435 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33436 * sysdeps/i386/setjmp.S: Likewise.
33437 * sysdeps/i386/__longjmp.S: Likewise.
33438 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33439 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33441 * include/stap-probe.h: New file.
33442 * configure.in: Handle --enable-systemtap.
33443 * configure: Regenerated.
33444 * config.h.in (USE_STAP_PROBE): New #undef.
33445 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33446 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33447 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33449 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33452 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33453 to 2.4.0 where earlier.
33454 * sysdeps/unix/sysv/linux/configure: Regenerated.
33455 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33456 <kernel-features.h>.
33457 [__ASSUME_32BITUIDS]: Make code unconditional.
33458 [!__ASSUME_32BITUIDS]: Remove conditional code.
33459 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33460 <kernel-features.h>.
33461 [__ASSUME_32BITUIDS]: Make code unconditional.
33462 [!__ASSUME_32BITUIDS]: Remove conditional code.
33463 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33464 [__ASSUME_32BITUIDS]: Make code unconditional.
33465 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33466 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33467 <kernel-features.h>.
33468 [__ASSUME_32BITUIDS]: Make code unconditional.
33469 [!__ASSUME_32BITUIDS]: Remove conditional code.
33470 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33471 <kernel-features.h>.
33472 [__ASSUME_32BITUIDS]: Make code unconditional.
33473 [!__ASSUME_32BITUIDS]: Remove conditional code.
33474 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33475 <kernel-features.h>.
33476 [__ASSUME_32BITUIDS]: Make code unconditional.
33477 [!__ASSUME_32BITUIDS]: Remove conditional code.
33478 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
33507 <kernel-features.h>.
33508 [__NR_setresgid] (__setresgid): Do not declare.
33509 [__ASSUME_32BITUIDS]: Make code unconditional.
33510 [!__ASSUME_32BITUIDS]: Remove conditional code.
33511 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33512 <kernel-features.h>.
33513 [__NR_setresuid] (__setresuid): Do not declare.
33514 [__ASSUME_32BITUIDS]: Make code unconditional.
33515 [!__ASSUME_32BITUIDS]: Remove conditional code.
33516 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33517 <kernel-features.h>.
33518 [__ASSUME_32BITUIDS]: Make code unconditional.
33519 [!__ASSUME_32BITUIDS]: Remove conditional code.
33520 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33521 <kernel-features.h>.
33522 [__ASSUME_32BITUIDS]: Make code unconditional.
33523 [!__ASSUME_32BITUIDS]: Remove conditional code.
33524 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33525 <kernel-features.h>.
33526 [__ASSUME_32BITUIDS]: Make code unconditional.
33527 [!__ASSUME_32BITUIDS]: Remove conditional code.
33528 * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
33557 (__ASSUME_SETRESUID_SYSCALL): Remove.
33558 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33559 (__ASSUME_32BITUIDS): Likewise.
33560 (__ASSUME_LDT_WORKS): Likewise.
33561 (__ASSUME_O_DIRECTORY): Likewise.
33562 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33563 architecture but not kernel version.
33564 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33565 (__ASSUME_MMAP2_SYSCALL): Likewise.
33566 (__ASSUME_STAT64_SYSCALL): Likewise.
33567 (__ASSUME_IPC64): Likewise.
33568 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33569 <kernel-features.h>.
33570 [__ASSUME_32BITUIDS]: Make code unconditional.
33571 [!__ASSUME_32BITUIDS]: Remove conditional code.
33572 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33573 <kernel-features.h>.
33574 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33575 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33576 132096]: Remove conditional code.
33577 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33578 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33579 <kernel-features.h>.
33580 [__ASSUME_32BITUIDS]: Make code unconditional.
33581 [!__ASSUME_32BITUIDS]: Remove conditional code.
33582 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33583 <kernel-features.h>.
33584 [__ASSUME_32BITUIDS]: Make code unconditional.
33585 [!__ASSUME_32BITUIDS]: Remove conditional code.
33586 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33587 <kernel-features.h>.
33588 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33590 (__setresgid): Do not declare.
33591 [__ASSUME_32BITUIDS]: Make code unconditional.
33592 [!__ASSUME_32BITUIDS]: Remove conditional code.
33593 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33594 <kernel-features.h>.
33595 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33597 (__setresuid): Do not declare.
33598 [__ASSUME_32BITUIDS]: Make code unconditional.
33599 [!__ASSUME_32BITUIDS]: Remove conditional code.
33600 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33601 <kernel-features.h>.
33602 [__ASSUME_32BITUIDS]: Make code unconditional.
33603 [!__ASSUME_32BITUIDS]: Remove conditional code.
33604 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33605 <kernel-features.h>.
33606 [__ASSUME_32BITUIDS]: Make code unconditional.
33607 [!__ASSUME_32BITUIDS]: Remove conditional code.
33609 2012-05-25 Richard Henderson <rth@twiddle.net>
33611 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33612 dl_hwcap to ifunc resolver.
33613 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33615 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33616 dl_hwcap to ifunc resolver.
33617 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33619 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33622 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33623 for |x| <= 2**-26, not 2**-57.
33624 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33627 2012-05-24 Jeff Law <law@redhat.com>
33629 * stdio-common/Makefile (tests): Add bug25.
33630 * stdio-common/bug25.c: New test.
33632 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33635 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33636 multiple of MALLOC_ALIGNMENT in size.
33637 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33639 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33641 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33643 (FILENAME_MAX): Use macro-int-constant.
33644 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33645 (_IOFBF): Use macro-int-constant.
33646 (_IOLBF): Likewise.
33647 (_IONBF): Likewise.
33648 (SEEK_CUR): Likewise.
33649 (SEEK_END): Likewise.
33650 (SEEK_SET): Likewise.
33651 (TMP_MAX): Likewise.
33652 (EOF): Use macro-int-constant. Require < 0.
33653 (NULL): Use macro-constant. Require == 0.
33654 (stdin): Require type to be FILE *.
33655 (stdout): Likewise.
33656 (stderr): Likewise.
33657 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33658 macro-int-constant.
33659 (EXIT_SUCCESS): Likewise.
33660 (NULL): Use macro-constant. Require == 0.
33661 (RAND_MAX): Use macro-int-constant.
33662 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33663 [C99-based standards] (strtof): Require function.
33664 [C99-based standards] (strtold): Likewise.
33665 [C99-based standards] (strtoll): Likewise.
33666 [C99-based standards] (strtoull): Likewise.
33667 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33668 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33669 [ISO || ISO99 || ISO11] (math.h): Likewise.
33670 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33671 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33672 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33674 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33677 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33678 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33679 * intl/dgettext.c (DCGETTEXT): Likewise.
33680 * intl/gettext.c (DCGETTEXT): Likewise.
33681 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33682 * posix/regex_internal.h (gettext): Likewise.
33683 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33684 Remove declaration.
33685 * include/argz.h (__argz_count_internal)
33686 (__argz_stringify_internal): Remove declaration.
33687 (__argz_count, __argz_stringify): Declare hidden proto.
33688 * intl/dcgettext.c: Remove use of INTDEF.
33689 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33690 * string/argz-stringify.c: Likewise.
33691 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33692 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33693 Declare hidden proto.
33694 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33695 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33696 Declare hidden proto.
33697 * include/stdio.h (__asprintf_internal): Don't declare.
33698 (__asprintf): Don't define as macro. Declare hidden proto.
33699 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33700 (__fsetlocking): Declare hidden proto.
33701 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33702 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33704 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33705 (_IO_setlinebuf): Remove use of INTUSE.
33706 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33707 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33708 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33709 Remove declaration.
33710 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33711 (_IO_do_flush): Remove use of INTUSE.
33712 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33713 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33714 (_IO_adjust_column, _IO_least_wmarker)
33715 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33716 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33717 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33718 (_IO_default_doallocate, _IO_wdefault_doallocate)
33719 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33720 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33721 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33722 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33723 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33724 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33725 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33726 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33727 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33728 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33729 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33730 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33731 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33733 (_IO_flush_all_internal, _IO_adjust_column_internal)
33734 (_IO_default_uflow_internal, _IO_default_finish_internal)
33735 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33736 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33737 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33738 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33739 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33740 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33741 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33742 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33743 (_IO_file_close_internal, _IO_file_close_it_internal)
33744 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33745 (_IO_file_init_internal, _IO_file_attach_internal)
33746 (_IO_file_fopen_internal, _IO_file_read_internal)
33747 (_IO_file_sync_internal, _IO_file_seek_internal)
33748 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33749 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33750 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33751 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33752 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33753 (_IO_list_all_internal, _IO_link_in_internal)
33754 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33755 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33756 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33757 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33758 (_IO_do_write_internal, _IO_padn_internal)
33759 (_IO_getline_info_internal, _IO_getline_internal)
33760 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33761 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33762 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33763 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33764 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33765 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33766 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33767 with libc_hidden_ver, remove use of INTUSE.
33768 * libio/genops.c: Likewise.
33769 * libio/freopen.c: Likewise.
33770 * libio/freopen64.c: Likewise.
33771 * libio/iofclose.c: Likewise.
33772 * libio/iofdopen.c: Likewise.
33773 * libio/iofflush.c: Likewise.
33774 * libio/iofflush_u.c: Likewise.
33775 * libio/iofgets.c: Likewise.
33776 * libio/iofgets_u.c: Likewise.
33777 * libio/iofopen.c: Likewise.
33778 * libio/iofopncook.c: Likewise.
33779 * libio/iofread.c: Likewise.
33780 * libio/iofread_u.c: Likewise.
33781 * libio/ioftell.c: Likewise.
33782 * libio/iofwrite.c: Likewise.
33783 * libio/iogetline.c: Likewise.
33784 * libio/iogets.c: Likewise.
33785 * libio/iogetwline.c: Likewise.
33786 * libio/iopadn.c: Likewise.
33787 * libio/iopopen.c: Likewise.
33788 * libio/ioseekoff.c: Likewise.
33789 * libio/ioseekpos.c: Likewise.
33790 * libio/iosetbuffer.c: Likewise.
33791 * libio/iosetvbuf.c: Likewise.
33792 * libio/ioungetc.c: Likewise.
33793 * libio/ioungetwc.c: Likewise.
33794 * libio/iovdprintf.c: Likewise.
33795 * libio/iovsprintf.c: Likewise.
33796 * libio/iovsscanf.c: Likewise.
33797 * libio/memstream.c: Likewise.
33798 * libio/obprintf.c: Likewise.
33799 * libio/oldfileops.c: Likewise.
33800 * libio/oldiofclose.c: Likewise.
33801 * libio/oldiofdopen.c: Likewise.
33802 * libio/oldiofopen.c: Likewise.
33803 * libio/oldiopopen.c: Likewise.
33804 * libio/oldstdfiles.c: Likewise.
33805 * libio/putc.c: Likewise.
33806 * libio/setbuf.c: Likewise.
33807 * libio/setlinebuf.c: Likewise.
33808 * libio/stdfiles.c: Likewise.
33809 * libio/strops.c: Likewise.
33810 * libio/vasprintf.c: Likewise.
33811 * libio/vscanf.c: Likewise.
33812 * libio/vsnprintf.c: Likewise.
33813 * libio/vswprintf.c: Likewise.
33814 * libio/wfiledoalloc.c: Likewise.
33815 * libio/wfileops.c: Likewise.
33816 * libio/wgenops.c: Likewise.
33817 * libio/wmemstream.c: Likewise.
33818 * libio/wstrops.c: Likewise.
33819 * libio/__fpurge.c: Likewise.
33820 * libio/__fsetlocking.c: Likewise.
33821 * assert/assert.c: Likewise.
33822 * debug/fgets_chk.c: Likewise.
33823 * debug/fgets_u_chk.c: Likewise.
33824 * debug/fread_chk.c: Likewise.
33825 * debug/fread_u_chk.c: Likewise.
33826 * debug/gets_chk.c: Likewise.
33827 * debug/obprintf_chk.c: Likewise.
33828 * debug/vasprintf_chk.c: Likewise.
33829 * debug/vdprintf_chk.c: Likewise.
33830 * debug/vsnprintf_chk.c: Likewise.
33831 * debug/vsprintf_chk.c: Likewise.
33832 * malloc/mtrace.c: Likewise.
33833 * misc/error.c: Likewise.
33834 * misc/syslog.c: Likewise.
33835 * stdio-common/asprintf.c: Likewise.
33836 * stdio-common/fxprintf.c: Likewise.
33837 * stdio-common/getw.c: Likewise.
33838 * stdio-common/isoc99_fscanf.c: Likewise.
33839 * stdio-common/isoc99_scanf.c: Likewise.
33840 * stdio-common/isoc99_vfscanf.c: Likewise.
33841 * stdio-common/isoc99_vscanf.c: Likewise.
33842 * stdio-common/isoc99_vsscanf.c: Likewise.
33843 * stdio-common/printf-prs.c: Likewise.
33844 * stdio-common/printf_fp.c: Likewise.
33845 * stdio-common/printf_fphex.c: Likewise.
33846 * stdio-common/printf_size.c: Likewise.
33847 * stdio-common/putw.c: Likewise.
33848 * stdio-common/scanf.c: Likewise.
33849 * stdio-common/sprintf.c: Likewise.
33850 * stdio-common/tmpfile.c: Likewise.
33851 * stdio-common/vfprintf.c: Likewise.
33852 * stdio-common/vfscanf.c: Likewise.
33853 * stdlib/strfmon_l.c: Likewise.
33854 * sunrpc/openchild.c: Likewise.
33855 * sunrpc/xdr_stdio.c: Likewise.
33856 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33857 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33859 2012-05-24 Roland McGrath <roland@hack.frob.com>
33861 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33863 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33864 in the third column, to generate for the shared library an IFUNC
33865 that uses _dl_vdso_vsym.
33866 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33867 * Makeconfig (object-suffixes-noshared): New variable.
33869 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33870 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33871 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33872 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33875 * include/sys/time.h (__gettimeofday): Remove macro.
33876 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33877 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33879 (__gettimeofday): Add libc_hidden_def.
33880 (gettimeofday): Add libc_hidden_weak.
33881 * sysdeps/mach/gettimeofday.c: Likewise.
33882 * sysdeps/posix/gettimeofday.c: Likewise.
33883 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33884 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33885 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33886 (__gettimeofday_internal): Remove strong_alias.
33887 (__gettimeofday): Add libc_hidden_def.
33888 (gettimeofday): Add libc_hidden_weak.
33889 * sysdeps/unix/syscalls.list (gettimeofday):
33890 Remove __gettimeofday_internal alias.
33892 2012-05-24 Daniel Jacobowitz <drow@false.org>
33893 H.J. Lu <hongjiu.lu@intel.com>
33896 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33897 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33898 (largebin_index_32_big): New.
33899 (largebin_index): Use it for 16-byte alignment.
33900 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33901 correction with front_misalign.
33903 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33931 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33932 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33934 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33938 * math/libm-test.inc (exp_test): Add test from bug 14036.
33939 (pow_test): Add test from bug 10846.
33941 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33943 (special_function): Do not include flags in test name.
33944 (parse_args): Likewise.
33945 * sysdeps/i386/fpu/libm-test-ulps: Update.
33946 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33947 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33948 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33951 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33953 * math/libm-test.inc ("Philosophy"): Update comment about
33955 (UNDERFLOW_EXCEPTION): New macro.
33956 (UNDERFLOW_EXCEPTION_OK): Likewise.
33957 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33958 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33959 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33960 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33961 (INVALID_EXCEPTION_OK): Update value.
33962 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33963 (OVERFLOW_EXCEPTION_OK): Likewise.
33964 (IGNORE_ZERO_INF_SIGN): Likewise.
33965 (test_exceptions): Handle underflow exceptions.
33966 (acos_test): Update for underflow exception expectations.
33967 (cexp_test): Likewise.
33968 (clog_test): Likewise.
33969 (clog10_test): Likewise.
33970 (csqrt_test): Likewise.
33971 (ctan_test): Likewise.
33972 (ctanh_test): Likewise.
33973 (exp_test): Likewise.
33974 (exp10_test): Likewise.
33975 (exp2_test): Likewise.
33976 (expm1_test): Likewise.
33977 (fma_test): Likewise.
33978 (j0_test): Likewise.
33979 (jn_test): Likewise.
33980 (nexttoward_test): Likewise.
33981 (pow_test): Likewise.
33982 (scalbn_test): Likewise.
33983 (scalbln_test): Likewise.
33984 (tan_test): Likewise.
33985 (y1_test): Likewise.
33986 * sysdeps/i386/fpu/libm-test-ulps: Update.
33987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33989 2012-05-23 David S. Miller <davem@davemloft.net>
33991 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33992 (__libc_sigaction): Remove unused local variables.
33994 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33996 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33998 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34000 mktime: avoid signed integer overflow
34001 * time/mktime.c (__mktime_internal): Do not mishandle the case
34002 where diff == INT_MIN.
34004 mktime: simplify computation of average
34005 * time/mktime.c (ranged_convert): Use new time_t_avg function
34006 instead of rolling our own (probably-slower) code.
34008 mktime: do not assume signed right shift propagates sign bit
34009 * time/mktime.c (isdst_differ): New static function.
34010 (__mktime_internal): No need to normalize tm_isdst now.
34011 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34014 mktime: merge another wrapv change from gnulib
34015 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34016 from some compilers.
34018 mktime: remove incorrect attempt at unusual arithmetics
34019 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34020 The code didn't really work on such machines anyway.
34021 (TYPE_MINIMUM): Assume two's complement.
34022 (twos_complement_arithmetic): Verify that long_int and time_t
34023 are two's complement (or unsigned, in the latter case).
34025 mktime: check signed shifts on long_int and time_t, too
34026 * time/mktime.c (SHR): Check that shifts work as desired
34027 on the types long_int and time_t too, as SHR is used on
34030 mktime: do not assume 'long' is wide enough
34031 * time/mktime.c (verify): Move decl up.
34032 (long_int): New type.
34033 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34034 to remove assumption in the code that 'long' is wide enough to
34035 store year values. This assumption is not true on x32 and on
34036 some non-glibc platforms.
34038 mktime: merge wrapv change from gnulib
34039 * time/mktime.c (WRAPV): New macro.
34040 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34041 (guess_time_tm, __mktime_internal): Do not assume that signed
34042 integer overflow wraps around; modern compilers generate code
34043 where this assumption is no longer valid.
34045 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34047 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34048 Replace "jmp L(pseudo_end)" with "ret".
34049 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34052 2012-05-23 Andreas Jaeger <aj@suse.de>
34054 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34055 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34057 2012-05-23 Andreas Jaeger <aj@suse.de>
34058 Maximilian Attems <max@stro.at>
34060 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34063 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34065 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34066 code so that pseudo_end is just ret and the stack pointer is
34067 correct also for static library in error case.
34069 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34071 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34072 move to syscalls.list.
34073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34078 * manual/install.texi (Running make install): Do not mention Linux
34079 kernel version for which pt_chown is not needed.
34080 (Linux): Do not mention problems with nscd with 2.0 kernels.
34081 * INSTALL: Regenerated.
34083 2012-05-23 Andreas Jaeger <aj@suse.de>
34085 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34086 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34088 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34089 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34090 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34091 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34092 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34093 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34094 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34095 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34096 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34097 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34098 * sysdeps/unix/sysv/linux/bits/in.h
34099 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34101 2012-05-22 Roland McGrath <roland@hack.frob.com>
34103 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34104 (PREPARE_VERSION): Just use assert instead, it will be elided
34105 under [NDEBUG] anyway.
34107 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34109 * sysdeps/unix/sysv/linux/Makefile: Include
34110 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34111 (sysdep_routines): Remove sysctl.
34112 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34113 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34114 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34115 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34116 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34118 2012-05-22 Andreas Jaeger <aj@suse.de>
34120 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34121 that pseudo_end is just ret and the stack pointer is correct also
34122 for static library in error case.
34124 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34127 * nss/nsswitch.c (defconfig_entries): New variable.
34128 (__nss_database_lookup): Don't leak defconfig entries.
34129 (nss_parse_service_list): Don't leak on error paths.
34130 (free_database_entries): New function.
34131 (free_defconfig): New function.
34132 (free_mem): Move common code to free_database_entries.
34134 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34136 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34138 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34140 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34141 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34142 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34144 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34145 (INTERNAL_SYSCALL_TYPES): Likewise.
34146 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34147 (LOAD_REGS_TYPES_[1-6]): Likewise.
34148 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34149 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34151 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34153 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34154 copysignl for GLIBC_2_0.
34155 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34156 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34157 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34158 logbl for GLIBC_2_0.
34159 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34160 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34162 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34164 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34165 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34167 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34170 * time/mktime.c: Update copyright years.
34172 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34174 mktime: merge comment-quoting-style change from gnulib
34175 * time/mktime.c: Quote 'like this' in comments.
34176 The GNU coding standards suggest that we no longer quote `like this',
34177 as "`" and "'" are typically rendered asymmetrically nowadays.
34178 The typical gnulib style is to quote 'like this' when quoting
34179 code, and "like this" when quoting English.
34181 * time/mktime.c (compile-command): Add "-I.".
34183 mktime: merge mktime-internal.h change from gnulib
34184 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34186 mktime: merge time_r change from gnulib
34187 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34189 mktime: merge DEBUG change from gnulib
34190 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34191 case system <time.h> has a #define.
34193 mktime: merge <sys/types.h> change from gnulib
34194 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34195 since <time.t> is now guaranteed to define time_t.
34197 mktime: merge HAVE_CONFIG_H change from gnulib
34198 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34200 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34202 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34205 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34207 (struct rusage): Use anonymous union to pad each field to
34210 2012-05-21 David S. Miller <davem@davemloft.net>
34212 * Makefules (o-iterator): Remove .s cases.
34213 (compile-command.s): Delete.
34214 (COMPILE.s): Delete.
34215 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34217 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34219 * configure.in (libc_cv_predef_stack_protector): Only consider
34220 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34221 * configure: Regenerated.
34223 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34225 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34226 New macro. Use R*LP on int and pointer.
34227 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34228 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34229 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34230 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34232 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34233 [__WORDSIZE_TIME64_COMPAT32] instead of
34234 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34235 (struct utmp): Likewise.
34236 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34237 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34239 (__WORDSIZE_TIME64_COMPAT32): This.
34240 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34241 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34242 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34243 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34244 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34245 (__WORDSIZE_TIME64_COMPAT32): New macro.
34247 2012-05-21 Andreas Jaeger <aj@suse.de>
34249 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34250 only if [SHARED]. Add prototype for __wcschr_ia32.
34252 2012-05-21 Roland McGrath <roland@hack.frob.com>
34254 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34255 of %rbp unmolested in the jmp_buf while mangling the low bits.
34256 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34257 unmolested high bits of %rbp while demangling the low bits.
34258 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34260 2012-05-21 Andreas Jaeger <aj@suse.de>
34262 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34263 * sunrpc/svc_simple.c: Use it for registerrpc.
34264 * sunrpc/xcrypt.c: Use it for passwd2des.
34266 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34268 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34270 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34271 Don't define if [__SYSCALL_WORDSIZE != 32].
34272 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34275 2012-05-21 Bruno Haible <bruno@clisp.org>
34276 Andreas Jaeger <aj@suse.de>
34278 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34279 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34280 inptr and inend for must_buffer_ch.
34281 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34282 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34283 * stdio-common/Makefile (tests): Remove bug15.
34284 (bug15-ENV): Remove macro.
34285 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34288 2012-05-19 Andreas Jaeger <aj@suse.de>
34289 Roland McGrath <roland@hack.frob.com>
34291 * manual/contrib.texi: Completely rewritten. It contains now an
34292 alphabetical list of contributors and their contributions.
34294 2012-05-21 Richard Henderson <rth@twiddle.net>
34296 * misc/getauxval.c (__getauxval): Use unsigned long int.
34297 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34298 (getauxval): Use unsigned long int.
34300 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34302 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34304 2012-05-21 Roland McGrath <roland@hack.frob.com>
34306 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34307 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34308 __alignof__ (long double).
34310 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34314 2012-05-20 Richard Henderson <rth@twiddle.net>
34316 * misc/getauxval.c: New file.
34317 * misc/sys/auxv.h: New file.
34318 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34319 (routines): Add getauxval.
34320 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34321 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34322 * elf/dl-sysdep.c (_dl_auxv): Remove.
34323 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34324 * elf/dl-support.c (_dl_auxv): New variable.
34325 (_dl_aux_init): Initialize it.
34326 * manual/startup.texi (Auxiliary Vector): New node.
34327 * sysdeps/generic/bits/hwcap.h: New file.
34328 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34329 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34330 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34331 * sysdeps/sparc/sysdep.h: ... here. Include it.
34332 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34333 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34339 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34345 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34349 2012-05-19 David S. Miller <davem@davemloft.net>
34351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34353 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34356 * math/s_ccosh.c: Include <float.h>
34357 (__ccosh): Avoid internal overflow calculating sinh and cosh
34358 values before multiplying by sin and cos values.
34359 * math/s_ccoshf.c: Likewise.
34360 * math/s_ccoshl.c: Likewise.
34361 * math/s_csin.c: Likewise.
34362 * math/s_csinf.c: Likewise.
34363 * math/s_csinl.c: Likewise.
34364 * math/s_csinh.c: Likewise.
34365 * math/s_csinhf.c: Likewise.
34366 * math/s_csinhl.c: Likewise.
34367 * math/libm-test.inc (ccos_test): Add more tests.
34368 (ccosh_test): Likewise.
34369 (csin_test): Likewise.
34370 (csinh_test): Likewise.
34371 * sysdeps/i386/fpu/libm-test-ulps: Update.
34372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34374 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34376 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34377 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34379 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34381 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34383 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34384 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34385 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34386 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34387 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34388 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34389 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34390 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34391 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34392 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34393 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34394 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34395 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34396 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34397 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34398 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34399 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34400 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34401 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34402 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34403 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34404 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34405 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34406 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34407 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34408 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34409 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34410 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34411 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34412 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34413 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34415 2012-05-18 Andreas Jaeger <aj@suse.de>
34417 * csu/.gitignore: Delete.
34419 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34421 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34422 (timex): Use __syscall_slong_t.
34424 2012-05-18 Andreas Jaeger <aj@suse.de>
34425 Carlos O'Donell <carlos_odonell@mentor.com>
34427 * manual/install.texi (Configuring and compiling): Update
34428 description about files modified in the source directory.
34429 * INSTALL: Regenerated.
34431 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34433 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34434 value. Use "or" to set return value to -1.
34435 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34436 negate return value.
34438 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34440 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34441 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34442 failure if the compiler has Graphite support disabled.
34443 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34445 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34446 (CFLAGS-memmove.c): Likewise.
34447 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34450 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34452 * sysdeps/x86_64/x32/_itoa.h: New file.
34454 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34455 getdents system call only if kernel and user dirents have the
34456 same d_ino and d_off.
34458 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34459 LLONG_MAX != LONG_MAX.
34460 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34461 (_fitoa_word): Likewise.
34463 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34465 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34466 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34467 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34469 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34470 include <bits/wordsize.h>. Check __x86_64__ instead of
34472 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34473 if __x86_64__ is defined. Use anonymous union on fpstate.
34475 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34478 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34480 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34481 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34482 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34483 Refer to _rtld_local_ro instead of _rtld_global_ro.
34484 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34486 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34488 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34490 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34491 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34492 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34494 * sysdeps/powerpc/powerpc32/dl-machine.c
34495 (__elf_machine_runtime_setup) [PROF]: Don't reference
34498 2012-05-18 Andreas Jaeger <aj@suse.de>
34500 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34501 function only available for GCCs before 3.4 since GCC 3.4
34502 introduced a builtin.
34504 (llrintf): Likewise.
34505 (llrint): Likewise.
34512 (nearbyint): Likewise.
34513 (nearbyintf): Likewise.
34517 (floorf): Likewise.
34519 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34521 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34522 on both fields and cast pointer to __syscall_ulong_t.
34524 * bits/types.h (__fsword_t): New type.
34525 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34526 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34527 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34528 (__FSWORD_T_TYPE): Likewise.
34529 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34530 (__FSWORD_T_TYPE): Likewise.
34531 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34532 (__FSWORD_T_TYPE): Likewise.
34533 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34534 (__FSWORD_T_TYPE): Likewise.
34535 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34536 __SWORD_TYPE with __fsword_t.
34537 (statfs64): Likewise.
34539 2012-05-17 David S. Miller <davem@davemloft.net>
34541 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34543 2012-05-17 Andreas Jaeger <aj@suse.de>
34545 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34548 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34550 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34552 2012-05-17 Andreas Jaeger <aj@suse.de>
34554 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34557 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34559 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34561 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34563 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34564 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34566 2012-05-17 Andreas Jaeger <aj@suse.de>
34567 Carlos O'Donell <carlos_odonell@mentor.com>
34570 * sysdeps/x86_64/multiarch/init-arch.h
34571 (bit_YMM_Usable): Rename to...
34572 (bit_AVX_Usable): ... this.
34573 (bit_FMA4_Usable): New macro.
34574 (bit_XMM_state): New macro.
34575 (bit_YMM_state): New macro.
34576 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34577 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34578 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34579 (CPUID_OSXSAVE): New macro.
34580 (CPUID_AVX): New macro.
34581 (CPUID_FMA4): New macro.
34582 (index_YMM_Usable): Rename to...
34583 (index_AVX_Usable): ... this.
34584 (HAS_AVX): Use HAS_ARCH_FEATURE.
34585 (HAS_FMA4): Likewise.
34586 (HAS_YMM_USABLE): Remove.
34587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34588 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34590 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34591 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34592 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34593 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34594 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34596 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34598 * math/libm-test.c: Support platforms without multiple rounding modes.
34599 * math/bug-nextafter.c: Support platforms without FP exceptions.
34600 * math/bug-nexttoward.c: Likewise.
34601 * math/test-fenv.c: Likewise.
34602 * math/test-misc.c: Likewise.
34603 * stdlib/bug-getcontext.c: Likewise.
34605 2012-05-17 Andreas Jaeger <aj@suse.de>
34607 * manual/examples/search.c (critter_cmp): Change signature to
34609 * manual/string.texi (Collation Functions): Likewise.
34611 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34613 * bits/types.h: Fold copyright years.
34614 * bits/typesizes.h: Likewise.
34615 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34616 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34617 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34618 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34619 * time/time.h: Likewise.
34621 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34624 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34625 in instead of returning them. Return void.
34626 (__libc_mallinfo): Accumulate over all arenas.
34627 (__malloc_stats): Adjust for change in int_mallinfo interface.
34629 2012-05-16 Roland McGrath <roland@hack.frob.com>
34632 * configure.in (NM): Add AC_CHECK_TOOL for it.
34633 (libc_extra_cflags): New substituted variable.
34634 Check for -fstack-protector being used implicitly.
34635 * configure: Regenerated.
34636 * config.make.in (config-extra-cflags): New variable,
34637 gets @libc_extra_cflags@.
34638 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34641 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34642 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34643 * configure: Regenerated.
34644 * config.make.in (CPPUNDEFS): New substituted variable.
34645 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34646 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34647 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34649 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34651 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34652 (mq_attr): Use __syscall_slong_t.
34654 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34656 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34657 Check __x86_64__ instead of __WORDSIZE.
34658 (_STAT_VER_LINUX): Likewise.
34659 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34660 __syscall_ulong_t and __syscall_slong_t.
34661 (stat64): Likewise.
34663 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34665 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34667 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34669 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34671 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34673 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34676 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34677 include <bits/wordsize.h>. Check __x86_64__ instead of
34679 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34681 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34683 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34684 include <bits/wordsize.h>. Check __x86_64__ instead of
34686 (user_regs_struct): Use "__extension__ unsigned long long"
34687 instead of "unsigned long" if __x86_64__ is defined.
34688 (user): Likewise. Pad after pointer field if __ILP32__ is
34691 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34693 * configure.in (makeinfo): Require version 4.5 or later. Allow
34695 * configure: Regenerated.
34696 * manual/install.texi (texinfo): Increase version requirement to
34698 * INSTALL: Regenerated.
34700 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34702 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34704 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34706 * sysdeps/x86_64/x32/ffs.c: New file.
34708 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34710 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34711 defined. Use __syscall_ulong_t.
34712 (shminfo): Use __syscall_ulong_t.
34713 (shm_info): Likewise.
34715 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34718 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34720 (msgqnum_t): Use __syscall_ulong_t.
34721 (msglen_t): Likewise.
34722 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34725 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34726 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34728 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34730 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34731 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34733 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34736 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34737 include <bits/wordsize.h>. Check __x86_64__ instead of
34740 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34741 "unsigned long long int" if __x86_64__ is defined.
34742 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34744 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34745 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34746 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34748 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34750 (GET_PC): Cast to uintptr_t first.
34751 (GET_FRAME): Likewise.
34752 (GET_STACK): Likewise.
34754 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34755 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34756 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34757 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34758 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34759 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34760 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34761 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34762 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34763 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34764 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34765 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34766 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34767 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34768 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34769 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34770 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34771 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34772 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34773 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34774 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34775 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34776 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34777 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34778 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34779 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34780 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34781 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34782 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34784 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34786 * Makerules (+depfiles): Also collect depfiles from .oS in
34788 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34789 .oS, $(libnldbl-routines)).
34791 * Makerules (native-compile-mkdep-flags): Define.
34792 * sunrpc/Makefile (extra-objs): Add $(addprefix
34793 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34794 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34795 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34796 calling $(make-target-directory).
34798 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34800 * bits/types.h (__snseconds_t): Removed.
34801 * time/time.h (struct timespec): Replace __snseconds_t with
34803 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34804 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34806 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34807 (__SNSECONDS_T_TYPE): Likewise.
34808 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34809 (__SNSECONDS_T_TYPE): Likewise.
34810 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34811 (__SNSECONDS_T_TYPE): Likewise.
34813 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34815 * sysdeps/mach/hurd/bits/typesizes.h
34816 (__SYSCALL_SLONG_TYPE): New macro.
34817 (__SYSCALL_ULONG_TYPE): Likewise.
34819 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34821 * bits/types.h (__syscall_slong_t): New type.
34822 (__syscall_ulong_t): Likewise.
34824 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34825 (__SYSCALL_ULONG_TYPE): Likewise.
34826 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34827 (__SYSCALL_SLONG_TYPE): Likewise.
34828 (__SYSCALL_ULONG_TYPE): Likewise.
34829 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34830 (__SYSCALL_SLONG_TYPE): Likewise.
34831 (__SYSCALL_ULONG_TYPE): Likewise.
34832 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34833 (__SYSCALL_SLONG_TYPE): Likewise.
34834 (__SYSCALL_ULONG_TYPE): Likewise.
34836 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34838 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34839 Add sigaltstack-offsets.sym.
34840 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34841 <sigaltstack-offsets.h>.
34842 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34843 longjmp_msg pointer.
34844 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34845 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34847 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34849 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34851 * elf/stackguard-macros.h: Remove file.
34852 * sysdeps/generic/stackguard-macros.h: New file.
34853 * sysdeps/i386/stackguard-macros.h: Likewise.
34854 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34855 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34856 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34857 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34858 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34859 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34860 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34861 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34862 <elf/stackguard-macros.h>.
34865 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34866 __aligned__ in attribute.
34867 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34868 (gregset_t): Likewise.
34870 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34872 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34873 * sysdeps/x86_64/64/Implies-after: Here. New file.
34874 * sysdeps/x86_64/x32/Implies-after: New file.
34876 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34878 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34879 and access return value for _dl_profile_fixup. Use R10_LP to
34882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34884 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34886 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34888 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34889 * sysdeps/x86_64/x32/sysdep.h: New file.
34891 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34893 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34894 * sysdeps/x86_64/setjmp.S: Likewise.
34896 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34898 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34899 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34900 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34901 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34902 remove unused global constant.
34904 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34906 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34907 include of <not-cancel.h>.
34909 2012-05-15 Roland McGrath <roland@hack.frob.com>
34911 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34913 2012-05-15 Jeff Law <law@redhat.com>
34914 Andreas Jaeger <aj@suse.de>
34917 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34919 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34920 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34921 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34922 code changing __hst_map_handle.map.
34924 2012-05-15 Roland McGrath <roland@hack.frob.com>
34926 * configure.in (sysnames): Look for Implies-before and Implies-after
34928 * configure: Regenerated.
34930 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34932 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34933 8-byte data alignment with LP_SIZE alignment.
34935 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34937 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34940 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34942 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34946 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34947 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34948 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34950 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34952 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34954 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34955 (stackinfo_sub_sp): Likewise.
34957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34959 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34962 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34964 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34967 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34969 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34972 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34974 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34976 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34978 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34979 into R11_LP and load __x86_64_shared_cache_size_half into
34982 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34984 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34987 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34989 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34991 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34993 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34995 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34996 powerpc32/power7/fpu/s_logb.c via #include.
34997 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34998 powerpc32/power7/fpu/s_logbf.c via #include.
34999 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35000 powerpc32/power7/fpu/s_logbl.c via #include.
35002 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35004 * README.libm: Remove file.
35006 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35008 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35009 count for x32. Use R*_LP and omit operand-size suffix.
35011 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35013 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35014 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35015 * sysdeps/x86_64/x32/shlib-versions: New file.
35017 2012-05-14 Roland McGrath <roland@hack.frob.com>
35019 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35020 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35021 Use _dl_fatal_printf instead.
35023 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35025 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35026 set if not set by the user. Do not allow for being unset.
35027 * sysdeps/unix/sysv/linux/configure: Regenerated.
35029 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35031 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35032 the `q' suffix from lea and replace .quad with ASM_ADDR.
35034 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35036 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35037 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35039 (PTR_DEMANGLE): Likewise.
35041 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35043 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35045 (ASM_ADDR): Likewise.
35046 (RAX_LP): Likewise.
35047 (RBP_LP): Likewise.
35048 (RBX_LP): Likewise.
35049 (RCX_LP): Likewise.
35050 (RDI_LP): Likewise.
35051 (RSI_LP): Likewise.
35052 (RSP_LP): Likewise.
35055 (R10_LP): Likewise.
35056 (R10_LP): Likewise.
35057 (R11_LP): Likewise.
35058 (R12_LP): Likewise.
35059 (R13_LP): Likewise.
35060 (R14_LP): Likewise.
35061 (R15_LP): Likewise.
35063 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35065 * sysdeps/x86_64/x32/dl-machine.h: New file.
35067 2012-05-14 Andreas Jaeger <aj@suse.de>
35069 * manual/Makefile (subdir): Remove export of subdir.
35070 (all): Remove target.
35071 (.PHONY): Remove all from list.
35072 (mkinstalldirs): Remove.
35073 (.PHONY): Remove installdirs from list.
35074 ($(inst_infodir)/libc.info): Use make-target-directory.
35075 (installdirs): Remove.
35076 (subdir_%): Remove.
35077 (glibc-targets): Remove.
35080 ($(objpfx)stubs ../po/manual.pot): Remove.
35081 ($(objpfx)stamp%): Remove.
35082 (make-target-directory): Remove.
35083 (subdir_install): Remove.
35084 (routines): Remove.
35091 * manual/.gitignore: Remove, it's not needed anymore.
35092 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35094 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35096 (texis): Renamed to $(objpfx)texis.
35097 (texis-path): New, contains path to generated files.
35098 (chapters.%): Use texis-path for complete path, add extra argument
35100 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35101 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35102 (summary,texi, stamp-summary): Use complete path of
35103 files. Generate files in build dir.
35104 (dir-add.texi): Build in build dir.
35105 (libm-err.texi,stamp-libm-err): Likewise.
35106 (version.texi, stamp-version): Likewise.
35107 (.%c.texi): Likewise.
35108 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35109 (mostlyclean): Remove target.
35110 (realclean): Remove target.
35111 (generated): Add new variable with contents from mostlyclean and
35112 realclean, remove entries duplicated in common-mostlyclean, add
35113 stamp-libm-err and stamp-version.
35114 (generated-dirs): Add libc directory.
35115 ($(inst_infodir)/libc.info): Install files from build dir.
35117 * manual/install.texi (Configuring and compiling): Adjust since
35118 the info files are not part of the tar ball anymore.
35120 2012-05-14 Andreas Jaeger <aj@suse.de>
35122 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35125 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35128 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35129 to 2.2.0 where earlier.
35130 * sysdeps/unix/sysv/linux/configure: Regenerated.
35131 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35132 Remove conditional code.
35133 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35134 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35135 Remove conditional code.
35136 [!__NR_lchown]: Likewise.
35137 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35138 [__NR_lchown]: Likewise.
35139 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35140 comment referencing __ASSUME_LCHOWN_SYSCALL.
35141 * sysdeps/unix/sysv/linux/i386/sigaction.c
35142 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35143 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35144 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35145 Remove conditional code.
35146 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35147 (__protocol_available): Remove #if 0 code.
35148 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35150 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35151 * sysdeps/unix/sysv/linux/kernel-features.h
35152 (__ASSUME_GETCWD_SYSCALL): Don't define.
35153 (__ASSUME_REALTIME_SIGNALS): Likewise.
35154 (__ASSUME_PREAD_SYSCALL): Likewise.
35155 (__ASSUME_PWRITE_SYSCALL): Likewise.
35156 (__ASSUME_POLL_SYSCALL): Likewise.
35157 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35158 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35160 (__ASSUME_SIOCGIFNAME): Don't define.
35161 (__ASSUME_MSG_NOSIGNAL): Likewise.
35162 (__ASSUME_SENDFILE): Define unconditionally.
35163 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35164 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35166 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35167 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35168 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35169 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35170 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35171 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35172 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35174 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35175 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35177 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35178 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35180 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35181 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35183 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35184 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35186 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35187 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35189 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35190 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35192 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35193 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35195 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35196 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35197 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35198 Remove conditional code.
35199 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35200 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35201 Remove conditional code.
35202 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35203 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35204 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35205 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35206 Remove conditional code.
35207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35208 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35209 Remove conditional code.
35210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35211 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35212 Remove conditional code.
35213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35214 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35215 Remove conditional code.
35216 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35217 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35218 Remove conditional code.
35219 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35220 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35221 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35222 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35223 * sysdeps/unix/sysv/linux/sigaction.c
35224 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35225 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35226 * sysdeps/unix/sysv/linux/sigpending.c
35227 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35228 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35229 * sysdeps/unix/sysv/linux/sigprocmask.c
35230 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35231 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35232 * sysdeps/unix/sysv/linux/sigsuspend.c
35233 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35234 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35235 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35236 (__libc_missing_rt_sigs): Remove.
35237 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35238 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35239 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35240 Remove conditional code.
35241 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35242 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35244 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35245 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35246 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35247 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35249 2012-05-14 Andreas Jaeger <aj@suse.de>
35251 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35252 it's not used in glibc.
35253 (__coshm1): Likewise.
35254 (__acosh1p): Likewise.
35257 * manual/string.texi (Copying and Concatenation): Add missing
35258 variable in concat example.
35259 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35261 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35264 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35265 __builtin_clzl with __builtin_clzll.
35267 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35270 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35273 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35275 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35276 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35277 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35278 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35280 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35282 * NEWS: Update ia64 info.
35284 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35286 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35289 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35291 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35292 * sysdeps/unix/syscalls.list (dup3): Likewise.
35293 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35294 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35296 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35298 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35299 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35301 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35303 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35305 (TLS_IE): Use mov/add instead of movq/addq to load thread
35307 (TLS_GD_PREFIX): New.
35310 2012-05-11 David S. Miller <davem@davemloft.net>
35312 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35313 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35314 (_FPU_SETCW): Likewise.
35316 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35318 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35319 is 32-byte aligned.
35321 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35324 * iconvdata/gb18030.c: Update tables.
35325 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35326 characters specially.
35327 (BODY for TO_LOOP): Add encoding of missing ranges.
35329 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35332 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35333 * sysdeps/mach/hurd/dup3.c: Likewise.
35334 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35335 * sysdeps/powerpc/memmove.c:: Likewise.
35337 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35339 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35340 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35342 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35344 * elf/elf.h (R_X86_64_RELATIVE64): New.
35345 (R_X86_64_NUM): Updated.
35346 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35347 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35348 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35349 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35350 tst-quad1pie tst-quad2pie
35351 (modules-names): Add tst-quadmod1 tst-quadmod2.
35352 ($(objpfx)tst-quad1): New dependency.
35353 ($(objpfx)tst-quad2): Likewise.
35354 ($(objpfx)tst-quad1pie): Likewise.
35355 ($(objpfx)tst-quad2pie): Likewise.
35356 * sysdeps/x86_64/tst-quad1.c: New file.
35357 * sysdeps/x86_64/tst-quad1pie.c: New file.
35358 * sysdeps/x86_64/tst-quad2.c: Likewise.
35359 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35360 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35361 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35362 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35363 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35365 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35367 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35368 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35369 * streams/stropts.h (t_scalar_t): Define type.
35371 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35372 (_PATH_PRESERVE): Set to "/var/lib".
35373 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35375 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35378 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35379 if __dir_mkfile succeeded.
35381 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35382 checking for _hurd_dtablesize. Unlock it right after having
35383 finished _hurd_dtable allocation.
35385 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35387 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35388 * sysdeps/mach/hurd/configure: Regenerated.
35389 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35390 special-casing to...
35391 * sysdeps/gnu/configure.in: ... this new file.
35392 * sysdeps/unix/sysv/linux/configure: Regenerated.
35393 * sysdeps/gnu/configure: New generated file.
35395 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35396 for Linux: use nsec instead of usec, as well as:
35397 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35398 members of type struct timespec.
35399 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35401 (struct stat64): Likewise.
35402 (_STATBUF_ST_NSEC): New macro.
35403 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35405 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35406 __strtoul_internal rather than strtoul.
35408 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35410 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35413 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35415 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35416 which preserves existing values.
35417 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35419 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35421 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35422 TIMEOUT values. Return EINVAL for NFDS values either negative or
35423 greater than FD_SETSIZE.
35425 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35427 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35428 allocated, call __vm_protect to finish enabling the existing space, and
35429 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35430 allocate the remainder.
35432 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35434 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35435 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35437 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35439 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35440 sysdeps/mach/hurd/readlink.c.
35442 * posix/tst-sysconf.c (posix_options): Only use
35443 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35444 _POSIX_SYNCHRONIZED_IO when they are defined
35445 * sysdeps/mach/hurd/bits/posix_opt.h:
35446 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35447 (_XOPEN_REALTIME): Undefine macro.
35448 (_XOPEN_REALTIME_THREADS): Undefine macro.
35449 (_XOPEN_SHM): Undefine macro.
35450 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35452 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35454 (_POSIX_ASYNC_IO): Undefine macro.
35455 (_POSIX_PRIORITIZED_IO): Undefine macro.
35456 (_POSIX_SPIN_LOCKS): Define macro to -1.
35458 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35459 SA_NODEFER, SA_RESETHAND.
35460 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35461 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35464 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35466 * elf/Makefile (pldd-modules): Define unconditionally.
35468 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35470 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35472 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35474 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35475 Return ENOENT when name is empty.
35476 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35478 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35480 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35482 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35484 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35486 Fix mlock in all cases except non-readable pages.
35487 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35488 instead of VM_PROT_ALL as parameter to __vm_wire function.
35490 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35491 (__mkdir): When path is `/', just fail with EEXIST.
35492 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35494 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35496 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35497 <sys/uio.h> (for writev).
35498 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35499 and <sys/param.h> (for MIN).
35501 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35503 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35504 REQUESTED_TIME. Properly set the remaining time and return EINTR
35507 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35509 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35510 Depend on against $(link-rpcuserlibs).
35512 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35514 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35515 (__libc_stack_end): Do not use attribute_relro.
35516 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35517 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35518 to libthread-provided value.
35519 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35522 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35525 * bits/libc-lock.h (__libc_once_get): New macro.
35526 * sysdeps/mach/bits/libc-lock.h: Likewise.
35527 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35528 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35529 instead of using implementation details.
35531 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35532 * libio/freopen.c: Likewise.
35533 * libio/freopen64.c: Likewise.
35534 * misc/syslog.c: Likewise.
35535 * nscd/connections.c: Likewise.
35536 * nscd/netgroupcache.c: Likewise.
35537 * sysdeps/posix/getcwd.c: Likewise.
35539 2012-05-10 Roland McGrath <roland@hack.frob.com>
35541 * math/w_ilogbf.c: Add #include <limits.h>.
35543 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35545 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35546 path instead of returning without unlocking.
35548 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35549 immediate-write ioctls.
35550 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35552 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35554 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35555 __builtin_frame_address instead of making assumptions about the
35556 location of the return address relative to DATA. Force early load of
35557 the return address.
35558 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35559 __builtin_frame_address.
35562 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35563 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35564 implement dup3 and do some further code clean-ups.
35565 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35566 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35568 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35570 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35572 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35573 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35574 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35575 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35576 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35579 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35580 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35581 when handler == SIG_ERR, not when handler != SIG_ERR.
35583 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35585 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35586 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35589 accept4 for GNU Hurd.
35590 * include/sys/socket.h (__libc_accept4): New prototype.
35591 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35592 to implement __libc_accept4.
35593 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35595 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35597 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35598 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35599 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35600 signal-defines.sym.
35602 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35604 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35606 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35608 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35609 assertion on O_CLOEXEC flag.
35610 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35611 * hurd/intern-fd.c: Likewise.
35612 * hurd/port2fd.c: Likewise.
35614 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35617 * bits/in.h (IPV6_PKTINFO): Define new macro.
35618 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35620 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35625 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35626 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35627 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35628 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35629 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35630 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35631 * math/libm-test.inc (logb_test) : Additional logb tests.
35633 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35634 Andreas Jaeger <aj@suse.de>
35636 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35637 * configure: Regenerated.
35638 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35639 * config.make.in (link-obsolete-rpc): New substituted variable.
35640 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35641 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35642 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35643 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35644 so that libc.a contains the symbols.
35645 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35646 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35647 * sunrpc/auth_none.c: Likewise.
35648 * sunrpc/auth_unix.c: Likewise.
35649 * sunrpc/authdes_prot.c: Likewise.
35650 * sunrpc/authuxprot.c: Likewise.
35651 * sunrpc/clnt_gen.c: Likewise.
35652 * sunrpc/clnt_perr.c: Likewise.
35653 * sunrpc/clnt_raw.c: Likewise.
35654 * sunrpc/clnt_simp.c: Likewise.
35655 * sunrpc/clnt_tcp.c: Likewise.
35656 * sunrpc/clnt_udp.c: Likewise.
35657 * sunrpc/clnt_unix.c: Likewise.
35658 * sunrpc/des_crypt.c: Likewise.
35659 * sunrpc/des_soft.c: Likewise.
35660 * sunrpc/get_myaddr.c: Likewise.
35661 * sunrpc/key_call.c: Likewise.
35662 * sunrpc/key_prot.c: Likewise.
35663 * sunrpc/netname.c: Likewise.
35664 * sunrpc/pm_getmaps.c: Likewise.
35665 * sunrpc/pm_getport.c: Likewise.
35666 * sunrpc/pmap_clnt.c: Likewise.
35667 * sunrpc/pmap_prot.c: Likewise.
35668 * sunrpc/pmap_prot2.c: Likewise.
35669 * sunrpc/pmap_rmt.c: Likewise.
35670 * sunrpc/publickey.c: Likewise.
35671 * sunrpc/rpc_cmsg.c: Likewise.
35672 * sunrpc/rpc_common.c: Likewise.
35673 * sunrpc/rpc_dtable.c: Likewise.
35674 * sunrpc/rpc_prot.c: Likewise.
35675 * sunrpc/rpc_thread.c: Likewise.
35676 * sunrpc/rtime.c: Likewise.
35677 * sunrpc/svc.c: Likewise.
35678 * sunrpc/svc_auth.c: Likewise.
35679 * sunrpc/svc_raw.c: Likewise.
35680 * sunrpc/svc_run.c: Likewise.
35681 * sunrpc/svc_tcp.c: Likewise.
35682 * sunrpc/svc_udp.c: Likewise.
35683 * sunrpc/svc_unix.c: Likewise.
35684 * sunrpc/svcauth_des.c: Likewise.
35685 * sunrpc/xcrypt.c: Likewise.
35686 * sunrpc/xdr.c: Likewise.
35687 * sunrpc/xdr_array.c: Likewise.
35688 * sunrpc/xdr_float.c: Likewise.
35689 * sunrpc/xdr_intXX_t.c: Likewise.
35690 * sunrpc/xdr_mem.c: Likewise.
35691 * sunrpc/xdr_rec.c: Likewise.
35692 * sunrpc/xdr_ref.c: Likewise.
35693 * sunrpc/xdr_sizeof.c: Likewise.
35694 * sunrpc/xdr_stdio.c: Likewise.
35696 2012-05-10 Roland McGrath <roland@hack.frob.com>
35698 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35699 change. Update copyright years.
35701 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35703 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35705 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35706 Joseph Myers <joseph@codesourcery.com>
35707 Paul Pluzhnikov <ppluzhnikov@google.com>
35710 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35712 [cross-compiling] (extra-libs): Likewise.
35713 [cross-compiling] (extra-libs-others): Likewise.
35714 [cross-compiling] (librpcsvc-routines): Likewise.
35715 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35716 [cross-compiling] (omit-deps): Likewise.
35717 (sunrpc-CPPFLAGS): New variable.
35718 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35719 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35720 (cross-rpcgen-objs): New variable.
35721 (extra-objs): Append $(cross-rpcgen-objs).
35722 ($(cross-rpcgen-objs)): New rule.
35723 ($(objpfx)cross-rpcgen): Likewise.
35724 (rpcgen-cmd): Define to use $(built-program-file). Expand
35726 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35727 ($(objpfx)x%.stmp): Likewise.
35728 * sunrpc/proto.h [IS_IN_build] (_): Define.
35729 [IS_IN_build] (_libc_intl_domainname): Likewise.
35731 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35733 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35734 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35735 and R_X86_64_TPOFF64.
35737 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35739 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35740 sysdeps/unix/sysv/syscalls.list.
35743 * sysdeps/unix/sysv/syscalls.list: Remove file.
35745 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35748 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35749 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35750 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35751 (__LC_IDENTIFICATION): Make these macros useful in #if
35752 expressions, as required by C99.
35754 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35756 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35757 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35760 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35762 * stdlib/longlong.h: Updated from GCC.
35764 2012-05-09 Andreas Jaeger <aj@suse.de>
35766 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35767 default is first entry.
35768 (run_mode): Set type.
35769 (main): Remove informal message about syslog.
35770 (options): Fix typo.
35773 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35776 (llrintf): Likewise.
35777 (llrint): Likewise.
35780 (nearbyint): Likewise.
35781 (nearbyintf): Likewise.
35783 2012-05-09 Andreas Jaeger <aj@suse.de>
35784 Pedro Alves <palves@redhat.com>
35786 * nscd/nscd.c (run_mode): Use enum.
35787 (main): Cleanup coding style issue.
35789 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35790 Andreas Jaeger <aj@suse.de>
35792 * nscd/nscd.c (go_background): Replaced with...
35793 (run_mode): ... this.
35794 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35795 (options): Add -F --foreground.
35796 (main): Implement it.
35797 (parse_opt): Parse it.
35799 2012-05-09 Andreas Jaeger <aj@suse.de>
35802 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35803 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35804 -Wconversion warning.
35805 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35808 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35810 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35812 (LC_ALL): Use macro-int-constant.
35813 (LC_COLLATE): Likewise.
35814 (LC_CTYPE): Likewise.
35815 (LC_MESSAGES): Likewise.
35816 (LC_MONETARY): Likewise.
35817 (LC_NUMERIC): Likewise.
35818 (LC_TIME): Likewise.
35819 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35820 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35821 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35822 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35824 [C99-based standards] (float_t): Expect type.
35825 [C99-based standards] (double_t): Expect type.
35826 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35828 [C99-based standards] (HUGE_VALL): Likewise.
35829 [C99-based standards] (INFINITY): Likewise.
35830 [C99-based standards] (NAN): Likewise.
35831 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35832 [C99-based standards] (FP_NAN): Likewise.
35833 [C99-based standards] (FP_NORMAL): Likewise.
35834 [C99-based standards] (FP_SUBNORMAL): Likewise.
35835 [C99-based standards] (FP_ZERO): Likewise.
35836 [C99-based standards] (FP_FAST_FMA): Use
35837 optional-macro-int-constant. Specify type. Require == 1.
35838 [C99-based standards] (FP_FAST_FMAF): Likewise.
35839 [C99-based standards] (FP_FAST_FMAL): Likewise.
35840 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35841 [C99-based standards] (FP_ILOGBNAN): Likewise.
35842 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35844 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35845 [C99-based standards] (math_errhandling): Specify type.
35846 [ISO99 || ISO11] (signgam): Do not allow.
35847 [non-C99-based standards] (copysignf): Do not allow.
35848 [non-C99-based standards] (exp2f): Likewise.
35849 [non-C99-based standards] (log2f): Likewise.
35850 [non-C99-based standards] (modff): Allow.
35851 [non-C99-based standards] (erff): Do not allow.
35852 [non-C99-based standards] (erfcf): Likewise.
35853 [non-C99-based standards] (gammaf): Likewise.
35854 [non-C99-based standards] (hypotf): Likewise.
35855 [non-C99-based standards] (j0f): Likewise.
35856 [non-C99-based standards] (j1f): Likewise.
35857 [non-C99-based standards] (jnf): Likewise.
35858 [non-C99-based standards] (lgammaf): Likewise.
35859 [non-C99-based standards] (tgammaf): Likewise.
35860 [non-C99-based standards] (y0f): Likewise.
35861 [non-C99-based standards] (y1f): Likewise.
35862 [non-C99-based standards] (ynf): Likewise.
35863 [non-C99-based standards] (isnanf): Likewise.
35864 [non-C99-based standards] (acoshf): Likewise.
35865 [non-C99-based standards] (asinhf): Likewise.
35866 [non-C99-based standards] (atanhf): Likewise.
35867 [non-C99-based standards] (cbrtf): Likewise.
35868 [non-C99-based standards] (expm1f): Likewise.
35869 [non-C99-based standards] (ilogbf): Likewise.
35870 [non-C99-based standards] (log1pf): Likewise.
35871 [non-C99-based standards] (logbf): Likewise.
35872 [non-C99-based standards] (nextafterf): Likewise.
35873 [non-C99-based standards] (remainderf): Likewise.
35874 [non-C99-based standards] (rintf): Likewise.
35875 [non-C99-based standards] (scalbf): Likewise.
35876 [non-C99-based standards] (copysignl): Likewise.
35877 [non-C99-based standards] (exp2l): Likewise.
35878 [non-C99-based standards] (log2l): Likewise.
35879 [non-C99-based standards] (modfl): Allow.
35880 [non-C99-based standards] (erfl): Do not allow.
35881 [non-C99-based standards] (erfcl): Likewise.
35882 [non-C99-based standards] (gammal): Likewise.
35883 [non-C99-based standards] (hypotl): Likewise.
35884 [non-C99-based standards] (j0l): Likewise.
35885 [non-C99-based standards] (j1l): Likewise.
35886 [non-C99-based standards] (jnl): Likewise.
35887 [non-C99-based standards] (lgammal): Likewise.
35888 [non-C99-based standards] (tgammal): Likewise.
35889 [non-C99-based standards] (y0l): Likewise.
35890 [non-C99-based standards] (y1l): Likewise.
35891 [non-C99-based standards] (ynl): Likewise.
35892 [non-C99-based standards] (isnanl): Likewise.
35893 [non-C99-based standards] (acoshl): Likewise.
35894 [non-C99-based standards] (asinhl): Likewise.
35895 [non-C99-based standards] (atanhl): Likewise.
35896 [non-C99-based standards] (cbrtl): Likewise.
35897 [non-C99-based standards] (expm1l): Likewise.
35898 [non-C99-based standards] (ilogbl): Likewise.
35899 [non-C99-based standards] (log1pl): Likewise.
35900 [non-C99-based standards] (logbl): Likewise.
35901 [non-C99-based standards] (nextafterl): Likewise.
35902 [non-C99-based standards] (remainderl): Likewise.
35903 [non-C99-based standards] (rintl): Likewise.
35904 [non-C99-based standards] (scalbl): Likewise.
35905 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35906 [non-C99-based standards] (FP_*): Do not allow.
35907 [C99-based standards] (FP_*): Change to
35908 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35909 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35911 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35912 (SIG_ERR): Likewise.
35913 [X/Open-based standards] (SIG_HOLD): Likewise.
35914 (SIG_IGN): Likewise.
35915 (SIGABRT): Use macro-int-constant. Specify type. Require
35917 (SIGFPE): Likewise.
35918 (SIGILL): Likewise.
35919 (SIGINT): Likewise.
35920 (SIGSEGV): Likewise.
35921 (SIGTER): Likewise.
35922 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35923 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35924 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35925 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35926 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35927 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35928 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35929 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35930 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35931 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35932 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35933 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35934 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35935 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35936 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35937 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35938 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35939 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35940 [X/Open-based standards] (SIGTRAP): Likewise.
35941 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35942 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35943 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35944 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35945 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35948 2012-05-08 Ian Wienand <ianw@vmware.com>
35951 * time/tzset.c (__tzset_parse_tz): Update default rules for
35952 daylight time changes in the Energy Policy Act of 2005.
35954 2012-05-09 Andreas Jaeger <aj@suse.de>
35957 * elf/ldconfig.c (parse_conf): Change string to make clear that
35958 ldconfig only issued a warning if ld.so.conf does not exist.
35960 2012-05-08 David S. Miller <davem@davemloft.net>
35962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35963 movxtod instead of popping the value on the stack.
35965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35967 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35969 * config.h.in: Add HAVE_ARM_PCS_VFP.
35971 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35974 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35975 checking but the checks are disabled for any reason.
35977 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35979 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35980 and ELF64_R_TYPE with ELFW(R_TYPE).
35982 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35984 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35985 (ulimit): Likewise.
35987 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35988 (settimeofday): Likewise.
35990 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35992 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35993 a struct th_u2 inside the union, and move tu_block/tu_code into
35994 a new th_u3 union of tu_block/tu_code inside of that. Move
35995 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35996 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35997 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35998 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35999 (th_stuff): Change to th_u1.tu_stuff.
36001 (th_msg): Change to th_u1.th_u2.tu_data.
36003 2012-05-07 David S. Miller <davem@davemloft.net>
36005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36008 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36009 (SETUP_PIC_REG): Use it.
36010 (SETUP_PIC_REG_LEAF): Use it.
36012 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36016 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36018 (EXPL_FINITE): Likewise.
36019 (FLDLOG): Likewise.
36020 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36021 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36023 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36025 (EXPL_FINITE): Likewise.
36026 (FLDLOG): Likewise.
36027 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36028 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36030 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36031 test of -max_value argument for long double.
36032 * sysdeps/i386/fpu/libm-test-ulps: Update.
36033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36035 2012-05-06 David S. Miller <davem@davemloft.net>
36037 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36038 quad soft-float symbols whose references which are compiler
36040 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36042 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36046 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36048 (EXPL_FINITE): Likewise.
36049 (FLDLOG): Likewise.
36052 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36053 Adjust comments for base varying.
36054 (__expl_finite): Change alias to EXPL_FINITE.
36055 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36057 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36058 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36059 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36060 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36061 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36063 (EXPL_FINITE): Likewise.
36064 (FLDLOG): Likewise.
36067 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36068 Adjust comments for base varying.
36069 (__expl_finite): Change alias to EXPL_FINITE.
36070 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36072 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36075 * math/libm-test.inc (check_float_internal): Correct ulp
36076 calculation for subnormal expected results.
36078 2012-05-06 Andreas Jaeger <aj@suse.de>
36080 * Makeconfig (+math-flags): New, set to -frounding-math.
36081 (+cflags): Add +math-flags so that all of glibc gets compiled with
36084 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36086 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36088 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36094 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36095 (__ieee754_expl): Allow for and saturate large arguments.
36096 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36097 (u_threshold): Likewise.
36098 (__exp): Call __ieee754_exp before checking for overflow and
36100 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36101 (u_threshold): Likewise.
36102 (__expf): Call __ieee754_expf before checking for overflow and
36104 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36105 (u_threshold): Likewise.
36106 (__expl): Call __ieee754_expl before checking for overflow and
36108 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36109 (__ieee754_expl): Allow for and saturate large arguments.
36110 * math/libm-test.inc (exp_test): Add another test. Do not allow
36111 missing overflow exception on overflow.
36112 (expm1_test): Do not allow missing overflow exception on overflow.
36114 * sysdeps/i386/fpu/e_expl.c: Move to ...
36115 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36116 rather than using inline asm.
36117 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36118 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36119 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36121 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36124 (signal): Likewise.
36128 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36130 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36131 sysdeps/unix/common/syscalls.list.
36132 (fchmod): Likewise.
36133 (fchown): Likewise.
36134 (ftruncate): Likewise.
36135 (getrusage): Likewise.
36136 (gettimeofday): Likewise.
36137 (setpgid): Likewise.
36138 (setregid): Likewise.
36139 (setreuid): Likewise.
36140 (sigaction): Likewise.
36141 (truncate): Likewise.
36142 (vhangup): Likewise.
36143 * sysdeps/unix/common/syscalls.list: Remove file.
36144 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36145 * sysdeps/unix/sysv/linux/Implies: Likewise.
36147 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36149 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36151 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36155 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36158 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36161 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36164 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36167 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36170 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36173 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36177 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36181 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36184 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36188 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36192 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36194 * sysdeps/unix/common/bits/dirent.h: Remove file.
36195 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36197 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36198 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36199 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36200 * sysdeps/unix/bsd/isatty.c: Likewise.
36201 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36202 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36203 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36205 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36208 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36209 long double comparison inaccuracies.
36210 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36213 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36215 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36216 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36218 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36221 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36222 nonzero digits before rounding a hex value.
36223 * stdlib/tst-strtod.c (tests): Add another test.
36225 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36227 * sysdeps/s390/fpu/libm-test-ulps: Update.
36229 2012-05-03 Andreas Jaeger <aj@suse.de>
36231 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36232 does not get optimized out.
36233 (malloc_opt_barrier): New.
36235 2012-05-03 Andreas Jaeger <aj@suse.de>
36236 Roland McGrath <roland@hack.frob.com>
36238 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36239 intermediate file deletion.
36240 (generated): Add .symlist files.
36242 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36245 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36246 Redirect under this condition.
36247 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36248 [__USE_GNU] (__dprintf_chk): Not under this condition.
36249 [__USE_GNU] (__vdprintf_chk): Likewise.
36250 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36251 under this condition.
36252 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36253 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36254 [__USE_XOPEN2K8] (vdprintf): Likewise.
36255 [__USE_GNU] (__dprintf_chk): Not under this condition.
36256 [__USE_GNU] (__vdprintf_chk): Likewise.
36257 [__USE_GNU] (dprintf): Likewise.
36258 [__USE_GNU] (vdprintf): Likewise.
36260 2012-05-03 Roland McGrath <roland@hack.frob.com>
36262 * elf/Makefile (common-generated): Set this instead of generated for
36263 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36264 $(all-built-dso)-derived lists.
36266 2012-05-03 Andreas Jaeger <aj@suse.de>
36268 * sysdeps/i386/fpu/libm-test-ulps: Update.
36271 * FAQ.in: Likewise.
36272 * scripts/gen-FAQ.pl: Likewise.
36273 * manual/install.texi (Installation): Point to online location of
36275 * Makefile (files-for-dist): Remove FAQ.
36278 2012-05-02 Allan McRae <allan@archlinux.org>
36280 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36281 (LDFLAGS-reldepmod5.so): Likewise.
36282 (LDFLAGS-reldep6mod1.so): Likewise.
36283 (LDFLAGS-reldep6mod4.so): Likewise.
36284 (LDFLAGS-reldep8mod3.so): Likewise.
36285 (LDFLAGS-unload4mod1.so): Likewise.
36286 (LDFLAGS-unload4mod2.so): Likewise.
36287 (LDFLAGS-tst-initorder): Likewise.
36288 (LDFLAGS-tst-initordera2.so): Likewise.
36289 (LDFLAGS-tst-initordera3.so): Likewise.
36290 (LDFLAGS-tst-initordera4.so): Likewise.
36291 (LDFLAGS-tst-initorderb2.so): Likewise.
36292 (LDFLAGS-noload): Likewise.
36293 (LDFLAGS-next): Likewise.
36294 (LDFLAGS-order2mod1.so): Likewise.
36295 (LDFLAGS-order2mod2.so): Likewise.
36296 (LDFLAGS-tst-initorder2): Likewise.
36297 (LDFLAGS-tst-initorder2a.so): Likewise.
36298 (LDFLAGS-tst-initorder2b.so): Likewise.
36299 (LDFLAGS-tst-initorder2c.so): Likewise.
36300 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36302 2012-05-02 David S. Miller <davem@davemloft.net>
36304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36306 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36309 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36311 2012-05-02 Andreas Jaeger <aj@suse.de>
36313 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36314 since we manipulate rounding mode.
36315 (CPPFLAGS-test-idouble.c): Likewise.
36316 (CPPFLAGS-test-ifloat.c): Likewise.
36317 (CFLAGS-test-ldouble.c): Likewise.
36318 (CFLAGS-test-double.c): Likewise.
36319 (CFLAGS-test-float.c): Likewise.
36320 (CFLAGS-test-misc.c): Likewise.
36321 (CFLAGS-test-test-fenv.c): Likewise.
36323 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36327 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36328 comparisons to determine direction to adjust input.
36330 2012-05-01 Roland McGrath <roland@hack.frob.com>
36332 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36333 output to the target.
36335 * scripts/localplt.awk: New file.
36336 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36337 (check-localplt-CFLAGS): Variable removed.
36338 ($(all-built-dso:=.jmprel)): New static pattern rule.
36339 (generated): Add those targets.
36340 (localplt-built-dso): New variable.
36341 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36343 * elf/check-localplt.c: File removed.
36345 * scripts/check-execstack.awk: New file.
36346 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36347 (check-execstack-CFLAGS): Variable removed.
36348 ($(objpfx)check-execstack.h): Target removed.
36349 ($(objpfx)execstack-default): New target.
36350 (generated): Add that instead of check-execstack.h.
36351 ($(all-built-dso:=.phdr)): New static pattern rule.
36352 (generated): Add those targets.
36353 * elf/check-execstack.c: File removed.
36355 * scripts/check-textrel.awk: New file.
36356 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36357 (check-textrel-CFLAGS): Variable removed.
36358 (all-built-dso): Use := to define.o
36359 ($(all-built-dso:=.dyn)): New static pattern rule.
36360 (generated): Add those targets.
36361 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36362 * config.make.in (READELF): New substituted variable.
36363 * elf/check-textrel.c: File removed.
36365 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36367 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36369 * conform/data/ctype.h-data [C99-based standards] (isblank):
36371 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36372 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36373 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36374 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36375 Specify type. Require positive value.
36376 (EILSEQ): Likewise.
36377 (ERANGE): Likewise.
36378 [ISO || POSIX] (EILSEQ): Do not expect.
36379 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36380 Specify type. Require positive value.
36381 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36382 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36383 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36384 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36385 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36386 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36387 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36388 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36389 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36390 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36391 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36392 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36393 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36394 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36395 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36396 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36397 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36398 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36399 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36400 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36401 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36402 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36403 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36404 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36405 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36406 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36407 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36408 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36409 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36410 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36411 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36412 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36413 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36414 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36415 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36416 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36417 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36418 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36419 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36420 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36421 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36422 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36423 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36424 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36425 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36426 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36427 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36428 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36429 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36430 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36431 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36432 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36433 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36434 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36435 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36436 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36437 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36438 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36439 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36440 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36441 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36442 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36443 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36444 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36445 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36446 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36447 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36448 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36449 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36450 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36451 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36452 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36453 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36454 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36455 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36456 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36457 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36459 (FLT_ROUNDS): Expect as macro, not constant.
36460 (FLT_MANT_DIG): Use macro-int-constant.
36461 (DBL_MANT_DIG): Likewise.
36462 (LDBL_MANT_DIG): Likewise.
36463 (FLT_DIG): Likewise.
36464 (DBL_DIG): Likewise.
36465 (LDBL_DIG): Likewise.
36466 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36467 (DBL_MIN_EXP): Likewise.
36468 (LDBL_MIN_EXP): Likewise.
36469 (FLT_MAX_EXP): Use macro-int-constant.
36470 (DBL_MAX_EXP): Likewise.
36471 (LDBL_MAX_EXP): Likewise.
36472 (FLT_MAX_10_EXP): Likewise.
36473 (DBL_MAX_10_EXP): Likewise.
36474 (LDBL_MAX_10_EXP): Likewise.
36475 (FLT_MAX): Use macro-constant.
36476 (DBL_MAX): Likewise.
36477 (LDBL_MAX): Likewise.
36478 (FLT_EPSILON): Use macro-constant. Give upper bound.
36479 (DBL_EPSILON): Likewise.
36480 (LDBL_EPSILON): Likewise.
36481 (FLT_MIN): Likewise.
36482 (DBL_MIN): Likewise.
36483 (LDBL_MIN): Likewise.
36484 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36485 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36486 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36487 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36488 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36489 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36490 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36491 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36492 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36493 [ISO11] (FLT_TRUE_MIN): Likewise.
36494 [ISO11] (LDBL_TRUE_MIN): Likewise.
36495 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36496 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36497 (SCHAR_MIN): Use macro-int-constant. Specify type.
36498 (SCHAR_MAX): Likewise.
36499 (UCHAR_MAX): Likewise.
36500 (CHAR_MIN): Likewise.
36501 (CHAR_MAX): Likewise.
36502 (MB_LEN_MAX): Use macro-int-constant.
36503 (SHRT_MIN): Use macro-int-constant. Specify type.
36504 (SHRT_MAX): Likewise.
36505 (USHRT_MAX): Likewise.
36506 (INT_MAX): Likewise.
36507 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36509 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36511 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36513 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36514 bound negative. Suffix upper bound with "L".
36515 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36517 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36519 [C99-based standards] (LLONG_MAX): Likewise.
36520 [C99-based standards] (ULLONG_MAX): Likewise.
36521 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36523 [ISO11] (max_align_t): Require type.
36524 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36526 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36527 from $CFLAGS, without defining away __attribute__ calls.
36528 (checknamespace): Use $CFLAGS_namespace.
36530 * conform/conformtest.pl (@keywords): Only include C99 keywords
36531 for standards based on C99 or C11.
36533 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36535 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36538 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36539 usability of symbols in #if.
36541 * conform/conformtest.pl: If macro or constant types start
36542 "promoted:", expect the symbol to be of the following type
36543 promoted by the integer promotions.
36545 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36546 in one place. Also handle "macro-constant".
36548 * conform/conformtest.pl: Only accept expected macro values with
36549 "==". Parse all "macro" lines in one place.
36550 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36552 * conform/conformtest.pl: Handle braced types on "constant" lines
36553 instead of handling "typed-constant".
36554 * conform/data/signal.h-data: Use "constant" instead of
36557 * conform/conformtest.pl: Handle "optional-" at start of lines in
36558 one place rather than duplicating several cases. Handle each
36559 format of "macro" line with initial "optional-".
36561 * conform/conformtest.pl: Only accept expected constant or
36562 optional-constant values with "==". Parse all "constant" lines in
36563 one place. Parse all "optional-constant" lines in one place.
36564 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36565 * conform/data/fmtmsg.h-data: Likewise.
36566 * conform/data/netinet/in.h-data: Likewise.
36567 * conform/data/tar.h-data: Likewise.
36568 * conform/data/limits.h-data: Use "==" form on "constant" and
36569 "optional-constant" lines.
36571 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36572 Use -std=c99 for XOPEN2K.
36573 (@knownproblems): Remove.
36574 (newtoken): Don't check %isknown.
36576 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36577 Do not expect macro.
36578 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36579 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36580 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36581 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36582 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36583 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36584 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36585 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36586 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36587 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36588 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36589 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36590 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36591 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36592 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36593 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36594 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36595 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36596 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36597 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36598 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36599 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36600 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36601 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36602 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36603 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36604 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36605 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36606 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36607 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36608 [XPG3] (acosh): Likewise.
36609 [XPG3] (asinh): Likewise.
36610 [XPG3] (atanh): Likewise.
36611 [XPG3] (cbrt): Likewise.
36612 [XPG3] (expm1): Likewise.
36613 [XPG3] (ilogb): Likewise.
36614 [XPG3] (log1p): Likewise.
36615 [XPG3] (logb): Likewise.
36616 [XPG3] (nextafter): Likewise.
36617 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36618 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36619 [XPG3] (remainder): Likewise.
36620 [XPG3] (rint): Likewise.
36621 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36622 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36623 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36624 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36625 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36626 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36627 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36628 [UNIX98 || XOPEN2K] (scalb): Expect.
36629 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36630 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36631 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36632 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36633 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36634 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36635 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36636 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36637 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36638 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36639 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36640 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36641 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36642 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36643 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36644 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36645 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36646 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36647 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36648 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36649 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36650 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36651 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36652 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36653 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36654 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36655 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36656 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36657 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36658 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36659 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36660 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36661 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36662 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36663 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36664 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36665 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36666 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36667 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36668 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36669 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36670 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36671 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36672 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36673 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36674 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36675 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36676 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36677 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36678 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36679 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36680 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36681 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36682 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36683 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36684 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36685 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36686 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36687 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36688 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36689 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36690 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36691 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36692 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36693 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36694 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36695 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36696 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36697 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36698 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36699 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36700 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36701 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36702 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36703 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36704 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36705 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36706 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36707 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36708 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36709 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36710 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36711 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36712 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36713 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36714 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36715 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36716 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36717 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36718 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36719 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36720 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36721 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36722 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36723 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36724 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36725 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36726 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36727 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36728 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36729 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36730 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36731 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36732 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36733 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36734 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36735 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36736 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36737 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36738 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36739 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36740 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36741 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36742 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36743 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36744 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36745 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36746 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36747 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36748 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36749 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36750 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36751 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36752 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36753 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36754 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36755 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36756 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36757 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36758 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36759 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36760 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36761 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36762 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36763 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36764 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36765 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36767 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36768 _XOPEN_SOURCE_EXTENDED for XPG4.
36770 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36772 * Makeconfig (localtime): Remove variable.
36773 (inst_localtime-file): Likewise.
36775 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36796 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36800 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36801 comparisons to determine direction to adjust input.
36802 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36803 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36804 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36806 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36808 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36810 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36811 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36813 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36815 * math/libm-test.inc (nexttoward_test): Add more tests.
36817 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36820 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36821 in version GLIBC_2.1, not GLIBC_2.0.
36822 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36825 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36828 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36830 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36831 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36832 * math/libm-test.inc (acos_test): Add more tests.
36833 (asin_test): Likewise.
36834 * sysdeps/i386/fpu/libm-test-ulps: Update.
36835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36838 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36840 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36841 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36842 * math/libm-test.inc (acos_test_tonearest): New function.
36843 (acos_test_towardzero): Likewise.
36844 (acos_test_downward): Likewise.
36845 (acos_test_upward): Likewise.
36846 (asin_test_tonearest): Likewise.
36847 (asin_test_towardzero): Likewise.
36848 (asin_test_downward): Likewise.
36849 (asin_test_upward): Likewise.
36850 (main): Call the new functions.
36851 * sysdeps/i386/fpu/libm-test-ulps: Update.
36852 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36856 * math/e_exp10.c: Include <float.h>.
36857 (__ieee754_exp10): Handle underflow here rather than multiplying
36858 large negative argument by M_LN10.
36859 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36861 * math/e_exp10l.c: Include <float.h>.
36862 (__ieee754_exp10l): Handle underflow here rather than multiplying
36863 large negative argument by M_LN10l.
36864 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36865 spurious overflow exception on underflow.
36867 2012-04-29 Marek Polacek <polacek@redhat.com>
36869 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36870 (__fortify_function): New macro.
36871 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36872 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36873 __extern_always_inline.
36874 * libio/bits/stdio2.h: Likewise.
36875 * libio/bits/stdio.h: Likewise.
36876 * string/string.h: Likewise.
36877 * string/bits/string3.h: Likewise.
36878 * include/stdio.h: Likewise.
36879 * stdlib/bits/stdlib.h: Likewise.
36880 * stdlib/stdlib.h: Likewise.
36881 * rt/bits/mqueue2.h: Likewise.
36882 * rt/mqueue.h: Likewise.
36883 * posix/bits/unistd.h: Likewise.
36884 * posix/unistd.h: Likewise.
36885 * io/bits/poll2.h: Likewise.
36886 * io/bits/fcntl2.h: Likewise.
36887 * io/fcntl.h: Likewise.
36888 * io/sys/poll.h: Likewise.
36889 * misc/bits/syslog.h: Likewise.
36890 * misc/bits/syslog-ldbl.h: Likewise.
36891 * misc/sys/syslog.h: Likewise.
36892 * socket/bits/socket2.h: Likewise.
36893 * socket/sys/socket.h: Likewise.
36894 * debug/tst-chk1.c: Likewise.
36895 * wcsmbs/bits/wchar2.h: Likewise.
36896 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36897 * wcsmbs/wchar.h: Likewise.
36899 2012-04-29 Andreas Jaeger <aj@suse.de>
36901 * Makerules (tests): Remove enable-check-abi protection.
36902 (check-abi-warn): Remove.
36903 (check-abi-%): Remove check-abi-warn usage.
36905 * configure.in: Remove check-abi configure option.
36906 * configure: Regenerated.
36907 * config.make.in (enable-check-abi): Remove.
36909 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36912 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36913 double functions to double *_finite functions.
36916 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36917 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36919 * stdio-common/Makefile (tests): Add tst-sprintf3.
36920 * stdio-common/tst-sprintf3.c: New file.
36922 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36923 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36925 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36927 * conform/conformtest.pl: Remove duplicate typed-constant
36930 2012-04-28 David S. Miller <davem@davemloft.net>
36932 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36933 (check-abi-%): Remove AWK script prerequisite and explicit
36935 (check-abi): Rewrite to just diff the symlist with the abilist.
36936 (config-tls, config-abi-config): Delete, no longer used.
36937 (update-abi-%): Remove AWK script and explicit abilist directory.
36938 (update-abi): Rewrite to simply compare and conditionally copy the
36939 symlist and the sysdep abilist file. Remove update-abi-config
36941 * abilist/ld.abilist: Remove.
36942 * abilist/libBrokenLocale.abilist: Remove.
36943 * abilist/libanl.abilist: Remove.
36944 * abilist/libcrypt.abilist: Remove.
36945 * abilist/libdl.abilist: Remove.
36946 * abilist/librt.abilist: Remove.
36947 * abilist/libthread_db.abilist: Remove.
36948 * abilist/libutil.abilist: Remove.
36949 * scripts/extract-abilist.awk: Remove.
36950 * scripts/merge-abilist.awk: Remove.
36951 * sysdeps/generic/libcidn.abilist: New file.
36952 * sysdeps/generic/libnss_compat.abilist: New file.
36953 * sysdeps/generic/libnss_db.abilist: New file.
36954 * sysdeps/generic/libnss_dns.abilist: New file.
36955 * sysdeps/generic/libnss_files.abilist: New file.
36956 * sysdeps/generic/libnss_hesiod.abilist: New file.
36957 * sysdeps/generic/libnss_nis.abilist: New file.
36958 * sysdeps/generic/libnss_nisplus.abilist: New file.
36959 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36960 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36961 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36963 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36964 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36965 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36966 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36967 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36968 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36969 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36970 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36971 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36973 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36974 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36975 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36976 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36978 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36979 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36980 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36981 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36982 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36983 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36985 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36986 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36987 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36989 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37092 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37093 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37094 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37096 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37097 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37098 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37099 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37100 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37101 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37102 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37103 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37104 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37105 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37157 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37159 * conform/conformtest.pl: Fix typo in handling typed-constant from
37162 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37164 * README: Cut down references to pre-2.6 Linux kernels and
37165 Linuxthreads. Update lists of configurations in libc and ports
37166 and sort alphabetically. Say "or newer" with Linux kernel version
37169 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37171 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37174 * math/libm-test.inc (logb_test_downward): New test to expose
37175 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37178 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37181 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37183 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37184 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37186 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37188 * sysdeps/unix/i386/brk.S: Remove file.
37189 * sysdeps/unix/i386/dl-brk.S: Likewise.
37190 * sysdeps/unix/i386/pipe.S: Likewise.
37191 * sysdeps/unix/i386/sigreturn.S: Likewise.
37192 * sysdeps/unix/i386/syscall.S: Likewise.
37193 * sysdeps/unix/i386/vfork.S: Likewise.
37194 * sysdeps/unix/i386/wait.S: Likewise.
37196 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37197 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37199 * configure.in (arm*-none*): Do not allow without
37200 --enable-hacker-mode.
37201 (netbsd*): Remove case setting base_os.
37202 (386bsd*): Likewise.
37203 (freebsd*): Likewise.
37206 (sunos*): Likewise.
37207 (ultrix*): Likewise.
37208 (newsos*): Likewise.
37209 (dynix*): Likewise.
37215 (minix*): Likewise.
37216 (irix4*): Likewise.
37217 (irix6*): Likewise.
37218 (solaris[2-9]*): Likewise.
37220 * configure: Regenerated.
37222 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37225 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37226 overflow or cancellation in calculating denominator.
37227 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37228 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37229 down expression to avoid unexpected rounding in newer GCCs.
37230 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37232 2012-04-26 David S. Miller <davem@davemloft.net>
37234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37235 long-double compat symbols.
37236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37250 2012-04-25 David S. Miller <davem@davemloft.net>
37252 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37253 HWCAP_* values only after the memory barriers have been defined.
37254 (atomic_full_barrier): Define.
37255 (atomic_read_barrier): Define.
37256 (atomic_write_barrier): Define.
37258 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37260 * shlib-versions: Add libgcc_s version information.
37261 * sysdeps/generic/libgcc_s.h: Remove.
37262 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37264 * sysdeps/gnu/unwind-resume.c: Likewise.
37265 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37267 2012-04-25 David S. Miller <davem@davemloft.net>
37269 * sysdeps/unix/sparc/brk.S: Delete.
37270 * sysdeps/unix/sparc/dl-brk.S: Delete.
37271 * sysdeps/unix/sparc/pipe.S: Delete.
37272 * sysdeps/unix/sparc/sysdep.S: Delete.
37273 * sysdeps/unix/sparc/sysdep.h: Delete.
37274 * sysdeps/unix/sparc/vfork.S: Delete.
37275 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37276 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37277 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37278 (ret_ERRVAL, r0, r1, MOVE): Define.
37279 (JUMPTARGET): Remove.
37280 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37281 sysdeps/unix/sparc/sysdep.h
37282 (ENTRY, END): Remove.
37283 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37285 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37287 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37288 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37291 * timezone/README: Update upstream location and email address for
37293 * timezone/zdump.c: Update from tzcode 2012b.
37294 * timezone/zic.c: Likewise.
37296 * configure.in (libc_cv_as_needed): Remove test.
37297 * configure: Regenerated.
37298 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37299 conditional definition.
37300 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37301 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37302 * config.make.in (have-as-needed): Remove variable.
37304 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37305 Paul Pluzhnikov <ppluzhnikov@google.com>
37307 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37310 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37312 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37313 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37314 * sysdeps/sh/strlen.S: Likewise.
37316 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37318 * sysdeps/unix/fork.S: Remove file.
37319 * sysdeps/unix/i386/fork.S: Likewise.
37320 * sysdeps/unix/sparc/fork.S: Likewise.
37322 * sysdeps/unix/system.c: Remove file.
37323 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37325 * sysdeps/unix/getegid.S: Remove file.
37326 * sysdeps/unix/geteuid.S: Likewise.
37328 2012-04-24 Roland McGrath <roland@hack.frob.com>
37330 * scripts/check-localplt.awk: New file.
37331 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37333 * scripts/data/localplt-generic.data: Add a comment.
37335 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37336 NODE when __dir_mkfile failed.
37337 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37338 Reported by Ludovic Courtès <ludo@gnu.org>.
37340 2012-04-24 Andreas Jaeger <aj@suse.de>
37342 * Makerules (common-clean): Also remove gen-as-const-headers
37345 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37347 * Makerules (native-compile): Do not change working directory for
37348 build. Use $(OUTPUT_OPTION) in command.
37349 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37351 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37354 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37355 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37356 * math/libm-test.inc (floor_test): Add more tests.
37357 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37359 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37361 * sysdeps/unix/getdents.c: Remove file.
37362 * sysdeps/unix/sysv/getdents.c: Likewise.
37363 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37365 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37366 sysdeps/unix/mman/syscalls.list.
37368 (mprotect): Likewise.
37370 (munmap): Likewise.
37371 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37372 * sysdeps/unix/mman/syscalls.list: Remove.
37373 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37375 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37376 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37377 * configure: Regenerated.
37378 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37379 $(libgcc_s_suffix).
37380 * config.make.in (libgcc_s_suffix): Remove variable.
37382 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37384 * sysdeps/unix/sysv/gethostname.c: Move to ...
37385 * sysdeps/posix/gethostname.c: ... here.
37387 * sysdeps/unix/execve.S: Remove file.
37389 * sysdeps/unix/_exit.S: Remove file.
37391 2012-04-23 Andreas Jaeger <aj@suse.de>
37394 * manual/Makefile: Remove make dist support, there's no
37395 need for a stand-alone documentation tar ball.
37396 (TEXI2DVI): Define always, it's not in Makeconfig.
37399 (edition): Removed.
37400 (glibc-doc-$(edition).tar): Removed
37404 (ETAGS): Remove, it's in Makeconfig.
37405 (move-if-change): Remove, it's in Makeconfig.
37407 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37410 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37411 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37412 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37413 (strtod_l, strtof_l, strtold_l): Remove __wur.
37414 It is not necessarily an error to ignore strtol's return value.
37415 One can reliably look at the stored endptr to decide whether
37416 the number had valid syntax.
37418 2012-04-21 Andreas Jaeger <aj@suse.de>
37421 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37423 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37425 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37426 * sysdeps/unix/sysv/Versions: Remove file.
37428 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37431 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37433 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37436 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37437 version from __vm86.
37439 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37441 * sysdeps/unix/common/lxstat.c: Remove file.
37442 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37444 * sysdeps/unix/sysv/Makefile: Remove file.
37446 * sysdeps/unix/sysv/direct.h: Remove file.
37448 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37449 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37450 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37451 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37452 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37453 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37454 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37456 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37458 * sysdeps/unix/xmknod.c: Remove file.
37459 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37461 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37463 * sysdeps/unix/sysv/i386/time.S: Remove file.
37465 * sysdeps/unix/fxstat.c: Remove file.
37466 * sysdeps/unix/xstat.c: Likewise.
37467 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37469 * sysdeps/unix/sysv/sigaction.c: Remove file.
37471 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37472 (sysdep_headers): Remove variable.
37473 [termio.h not in sysdep_headers] (generated): Likewise.
37474 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37475 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37476 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37477 * sysdeps/unix/sysv/tcflow.c: Likewise.
37478 * sysdeps/unix/sysv/tcflush.c: Likewise.
37479 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37480 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37481 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37482 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37483 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37485 * sysdeps/unix/siglist.c: Remove file.
37487 * sysdeps/unix/getppid.S: Remove file.
37489 * sysdeps/unix/mkdir.c: Remove file.
37490 * sysdeps/unix/rmdir.c: Likewise.
37492 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37494 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37496 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37497 errlist-compat value.
37499 2012-04-18 David S. Miller <davem@davemloft.net>
37501 * sysdeps/generic/memcopy.h (reg_char): Delete.
37502 * debug/strcat_chk.c: Use char, not reg_char.
37503 * debug/strcpy_chk.c: Likewise.
37504 * debug/strncat_chk.c: Likewise.
37505 * debug/strncpy_chk.c: Likewise.
37506 * string/memchr.c: Likewise.
37507 * string/memrchr.c: Likewise.
37508 * string/rawmemchr.c: Likewise.
37509 * string/strcat.c: Likewise.
37510 * string/strchr.c: Likewise.
37511 * string/strchrnul.c: Likewise.
37512 * string/strcmp.c: Likewise.
37513 * string/strcpy.c: Likewise.
37514 * string/strncat.c: Likewise.
37515 * string/strncmp.c: Likewise.
37516 * string/strncpy.c: Likewise.
37518 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37520 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37521 __builtin_memcopy is called when src and dest ranges are known to not
37524 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37526 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37527 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37528 fwd_align_merge macro call.
37529 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37530 bwd_align_merge macro call.
37531 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37533 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37535 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37536 bwd_align_merge macros.
37537 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37538 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37539 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37541 2012-04-18 David S. Miller <davem@davemloft.net>
37543 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37545 2012-04-18 Andreas Jaeger <aj@suse.de>
37548 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37549 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37550 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37552 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37553 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37554 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37556 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37557 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37558 Adjust for changed ldbl-128 files.
37560 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37561 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37562 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37564 2012-04-17 David S. Miller <davem@davemloft.net>
37566 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37568 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37570 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37571 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37572 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37573 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37574 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37575 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37577 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37580 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37581 * math/libm-test.inc: Add ilogb errno and exception tests.
37582 * math/w_ilogb.c: New file: ilogb wrapper.
37583 * math/w_ilogbf.c: New file: ilogbf wrapper.
37584 * math/w_ilogbl.c: New file: ilogbl wrapper.
37585 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37586 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37587 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37588 exception being thrown with 0.0 as argument.
37589 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37590 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37591 exception being thrown with 0.0 as argument.
37592 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37593 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37594 exception being thrown with 0.0 as argument.
37595 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37596 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37597 exception being thrown with 0.0 as argument.
37598 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37599 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37600 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37601 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37602 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37603 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37604 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37605 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37606 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37608 2012-04-17 Petr Baudis <pasky@ucw.cz>
37610 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37613 2012-04-16 Marek Polacek <polacek@redhat.com>
37615 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37617 2012-04-16 Marek Polacek <polacek@redhat.com>
37619 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37620 operands of fdivp instruction.
37622 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37624 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37625 * elf/tst-auditmod3b.c: Likewise.
37626 * elf/tst-auditmod4b.c: Likewise.
37627 * elf/tst-auditmod5b.c: Likewise.
37628 * elf/tst-auditmod6b.c: Likewise.
37629 * elf/tst-auditmod6c.c: Likewise.
37630 * elf/tst-auditmod7b.c: Likewise.
37631 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37632 * sysdeps/x86_64/preconfigure.in: Likewise.
37633 * sysdeps/x86_64/preconfigure: Regenerated.
37635 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37637 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37640 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37642 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37643 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37645 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37648 * locale/iso-639.def: Fix gl language name. Spotted by
37651 2012-04-12 Roland McGrath <roland@hack.frob.com>
37654 * libio/libio.h (__io_write_fn): Update comment.
37656 2012-04-12 Petr Baudis <pasky@ucw.cz>
37659 * stdio.texi (Hook Functions): The user provided writer function
37660 is not allowed to return -1.
37662 2012-04-11 David S. Miller <davem@davemloft.net>
37664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37666 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37668 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37669 Add a leading slash to rtkaio.
37671 2012-04-11 Jim Meyering <meyering@redhat.com>
37674 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37675 It is not necessarily an error to ignore fwrite's return
37676 value. One can reliably use ferror to test for errors after
37679 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37681 * bits/types.h (__snseconds_t): New type.
37682 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37684 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37685 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37686 (__SNSECONDS_T_TYPE): Likewise.
37687 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37688 (__SNSECONDS_T_TYPE): Likewise.
37689 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37690 (__SNSECONDS_T_TYPE): Likewise.
37692 2012-04-10 Andreas Jaeger <aj@suse.de>
37695 * manual/time.texi (Processor Time): Return type of times is
37696 elapsed real time since an arbitrary point in the past.
37697 (CPU Time): Move CLK_TCK from here...
37698 (Processor Time): ...to here. Correct description.
37699 * manual/conf.texi (Constants for Sysconf): Correct description of
37702 2012-04-10 David S. Miller <davem@davemloft.net>
37705 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37706 where the is a gap between DT_REL(A) and DT_JMPREL.
37708 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37710 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37711 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37712 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37714 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37716 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37717 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37718 (dl_main): Handle --inhibit-cache.
37719 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37721 * elf/dl-load.c (_dl_map_object): Use it.
37722 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37724 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37727 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37728 (__ieee754_powl): Saturate large exponents rather than testing for
37729 overflow of y*log2(x).
37730 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37731 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37735 * math/s_ctan.c: Include <float.h>.
37736 (__ctan): Avoid internal overflow or cancellation in calculating
37738 * math/s_ctanf.c: Likewise.
37739 * math/s_ctanl.c: Likewise.
37740 * math/s_ctanh.c: Likewise.
37741 * math/s_ctanhf.c: Likewise.
37742 * math/s_ctanhl.c: Likewise.
37743 * math/libm-test.inc (ctan_test): Add more tests.
37744 (ctanh_test): Likewise.
37745 * sysdeps/i386/fpu/libm-test-ulps: Update.
37746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37748 2012-04-09 Andreas Jaeger <aj@suse.de>
37751 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37752 is an optional BSD extension.
37755 * manual/stdio.texi (Opening Streams): Document additional fopen
37758 2012-04-09 Roland McGrath <roland@hack.frob.com>
37760 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37761 %eax without telling the compiler.
37763 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37766 * manual/install.texi: Use sourceware.org.
37768 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37771 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37772 (__ieee754_pow): Generate overflow and underflow using huge*huge
37773 and tiny*tiny rather than just returning constant infinity or zero
37774 for large exponents.
37775 * math/libm-test.inc (pow_test): Require overflow exceptions for
37776 applicable cases of large exponents.
37779 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37780 (__ieee754_pow): Use iterative multiplication algorithm only for
37781 integer exponents with absolute value below 1024. Check for odd
37782 integer exponents when using algorithm for real exponents.
37783 * math/libm-test.inc (pow_test): Add more tests.
37784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37786 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37789 * math/libm-test.inc (exp_test): Do not allow overflow exception
37792 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37795 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37796 instead of __kernel_standard_f.
37798 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37800 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37801 * sysdeps/x86_64/memset_chk.S: Likewise.
37803 2012-04-08 Andreas Jaeger <aj@suse.de>
37806 * manual/startup.texi (Environment Access): Describe return value
37807 for putenv and setenv.
37810 * manual/filesys.texi (Directory Entries): Add description for
37814 * manual/filesys.texi (Directory Entries): Clarify that it's file
37815 system not operating system in the description of DT_UNKNOWN.
37818 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37820 2012-04-08 Stephen Compall <s11@member.fsf.org>
37823 * manual/llio.texi (Opening and Closing Files): Add cross
37824 reference to explain mode argument.
37826 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37828 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37829 * sysdeps/x86_64/memset_chk.S: Likewise.
37831 2012-04-07 David S. Miller <davem@davemloft.net>
37833 * elf/elf.h (R_SPARC_WDISP10): Define.
37834 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37836 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37837 R_SPARC_SIZE64 and R_SPARC_H34.
37839 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37841 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37842 conditions and remove no longer applicable assertion.
37844 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37846 * bits/byteswap.h: Include <features.h>.
37847 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37848 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37850 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37852 * bits/byteswap.h (__bswap_16): Removed.
37853 Include <bits/byteswap-16.h> to get __bswap_16.
37854 * sysdeps/i386/bits/byteswap.h: Likewise.
37855 * sysdeps/s390/bits/byteswap.h: Likewise.
37856 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37857 * bits/byteswap-16.h: New file.
37858 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37859 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37860 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37861 * string/Makefile (headers): Add bits/byteswap-16.h.
37863 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37866 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37868 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37869 * nss/tst-nss-static.c: New.
37871 2012-04-06 Robert Millan <rmh@gnu.org>
37874 * manual/llio.texi (File Position Primitive): lseek
37875 refers to WHENCE when it really means OFFSET.
37877 2012-04-06 Andreas Jaeger <aj@suse.de>
37879 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37880 strncmp declarations.
37882 * abilist/libc.abilist: Add __poll and __ppoll.
37884 2012-04-05 David S. Miller <davem@davemloft.net>
37886 * scripts/check-local-headers.sh: Accept a host triplet in the
37887 path matched by the exclude regexp.
37889 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37891 * sysdeps/powerpc/powerpc32/dl-machine.h
37892 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37893 * sysdeps/s390/s390-32/dl-machine.h
37894 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37895 * sysdeps/sparc/sparc32/dl-machine.h
37896 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37897 * sysdeps/sparc/sparc64/dl-machine.h
37898 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37900 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37902 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37903 undefined symbol errors.
37905 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37908 2012-04-05 Michael Matz <matz@suse.de>
37911 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37913 2012-04-05 Andreas Jaeger <aj@suse.de>
37916 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37919 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37921 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37922 which ROUND is no valid rounding mode.
37924 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37926 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37928 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37930 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37932 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37933 an exception using FPU order intentionally.
37935 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37937 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37938 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37939 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37940 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37942 2012-04-05 Simon Josefsson <simon@josefsson.org>
37945 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37946 EINVAL when BUFLEN is too smal.
37948 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37951 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37952 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37954 2012-04-03 Andreas Jaeger <aj@suse.de>
37957 * manual/setjmp.texi (System V contexts): Fix sentence.
37960 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37961 New macro for this case.
37962 [!__GNUC__] (__bswap_64): New inline function for this case.
37963 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37964 * bits/byteswap.h: Likewise.
37965 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37966 ull, guard with __GLIBC_HAVE_LONG_LONG.
37968 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37969 __GLIBC_HAVE_LONG_LONG.
37971 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37972 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37974 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37977 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37978 inptr and inend, rather than using last_ch.
37980 2012-04-02 David S. Miller <davem@davemloft.net>
37982 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37983 * stdio-common/printf-parse.h (read_int): Change return type to
37984 'int', return -1 on INT_MAX overflow.
37985 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37986 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37987 overflows INT_MAX. Check for overflow of in-format-string precision
37988 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37989 SIZE_MAX not INT_MAX for integer overflow test.
37990 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37991 skip the construct in the format string but do not record anything.
37992 * stdio-common/bug22.c: Adjust to test both width/prevision
37993 INT_MAX overflow as well as total length INT_MAX overflow. Check
37994 explicitly for proper errno values.
37996 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37998 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38000 * string/test-strcmp.c [! WIDE]: Likewise.
38001 * time/tst-mktime2.c: Likewise for INT_MAX.
38002 * string/test-string.h: #include <sys/param.h> for MIN.
38004 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38005 * sysdeps/i386/init-first.c (init): Likewise.
38006 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38007 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38008 * sysdeps/sh/init-first.c (init): Likewise.
38010 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38012 * po/ru.po: Update from translation team.
38013 * po/vi.po: Likewise.
38015 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38017 * resolv/nss_dns/dns-host.c: Merge copyright years.
38019 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38021 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38022 Optimize memcpy with prefetch if
38023 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38024 src, dst pointers have unequal 16 byte alignments.
38026 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38029 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38030 from a CNAME entry and return the minimum ttl for the query.
38031 (gaih_getanswer_slice): Likewise.
38033 2012-03-30 Jeff Law <law@redhat.com>
38035 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38037 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38038 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38040 * resolv/nss_dns/dns-host.c: Update copyright year.
38042 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38044 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38045 requests to save a system call. Fix check that all bytes are sent.
38047 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38048 comments for sendmmsg.
38050 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38053 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38054 with only 1 character between 0x0041 and 0x01b0.
38055 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38056 * wcsmbs/tst-mbsnrtowcs.c: New file.
38058 2012-03-29 David S. Miller <davem@davemloft.net>
38060 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38061 small copies by hand.
38063 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38066 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38067 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38070 2012-03-28 David S. Miller <davem@davemloft.net>
38072 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38073 that branches into memcpy.
38074 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38075 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38076 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38077 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38078 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38080 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38081 implementation too.
38082 * sysdeps/sparc/mempcpy.S: New file.
38084 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38085 the IFUNC routine in the libc case.
38086 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38088 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38089 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38090 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38091 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38092 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38093 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38094 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38095 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38097 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38098 loop to 256 bytes instead of 64 bytes and fix test signedness.
38100 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38101 * sysdeps/sparc/sparc32/Makefile: rather than here...
38102 * sysdeps/sparc/sparc64/Makefile: and here.
38104 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38106 * malloc/mallocbug.c: Avoid warnings about unused variables.
38108 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38111 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38112 in the right place. Discard and retry query if response is
38113 larger than input buffer size.
38115 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38120 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38121 x for large integer exponent.
38122 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38123 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38124 sign of result as needed afterwards.
38125 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38126 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38127 result for underflowing pow the same as for overflow.
38128 (__kernel_standard_l): Handle powl overflow and underflow here
38129 rather than calling __kernel_standard.
38130 * math/libm-test.inc (pow_test): Add more tests.
38145 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38146 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38147 (__kernel_standard_l): New function.
38148 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38150 * math/w_acosl.c (__acosl): Likewise.
38151 * math/w_asinl.c (__asinl): Likewise.
38152 * math/w_atan2l.c (__atan2l): Likewise.
38153 * math/w_atanhl.c (__atanhl): Likewise.
38154 * math/w_coshl.c (__coshl): Likewise.
38155 * math/w_exp10l.c (__exp10l): Likewise.
38156 * math/w_exp2l.c (__exp2l): Likewise.
38157 * math/w_fmodl.c (__fmodl): Likewise.
38158 * math/w_hypotl.c (__hypotl): Likewise.
38159 * math/w_j0l.c (__j0l, __y0l): Likewise.
38160 * math/w_j1l.c (__j1l, __y1l): Likewise.
38161 * math/w_jnl.c (__jnl, __ynl): Likewise.
38162 * math/w_lgammal.c (__lgammal): Likewise.
38163 * math/w_log10l.c (__log10l): Likewise.
38164 * math/w_log2l.c (__log2l): Likewise.
38165 * math/w_logl.c (__logl): Likewise.
38166 * math/w_powl.c (__powl): Likewise.
38167 * math/w_remainderl.c (__remainderl): Likewise.
38168 * math/w_scalbl.c (sysv_scalbl): Likewise.
38169 * math/w_sinhl.c (__sinhl): Likewise.
38170 * math/w_sqrtl.c (__sqrtl): Likewise.
38171 * math/w_tgammal.c (__tgammal): Likewise.
38172 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38173 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38174 * math/libm-test.inc (acos_test): Add more tests.
38175 (acosh_test): Likewise.
38176 (asin_test): Likewise.
38177 (atanh_test): Likewise.
38178 (exp_test): Likewise.
38179 (exp10_test): Likewise.
38180 (exp2_test): Likewise.
38181 (expm1_test): Likewise.
38182 (lgamma_test): Likewise.
38183 (log_test): Likewise.
38184 (log10_test): Likewise.
38185 (log1p_test): Likewise.
38186 (log2_test): Likewise.
38187 (pow_test): Do not allow some spurious overflow exceptions.
38188 (sqrt_test): Add more tests.
38189 (tgamma_test): Likewise.
38190 (y0_test): Likewise.
38191 (y1_test): Likewise.
38192 (yn_test): Likewise.
38194 2012-03-27 Anton Blanchard <anton@samba.org>
38196 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38198 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38199 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38200 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38202 2012-03-27 David S. Miller <davem@davemloft.net>
38204 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38206 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38207 have-as-vis3 check.
38209 2012-03-27 Andreas Jaeger <aj@suse.de>
38211 * sysdeps/x86_64/elf/configure.in: Moved to ...
38212 * sysdeps/x86_64/configure.in: ... here.
38213 * sysdeps/x86_64/elf/start.S: Moved to ...
38214 * sysdeps/x86_64/start.S: ... here.
38215 * sysdeps/x86_64/elf/configure: Delete.
38217 * sysdeps/x86_64/configure.in: Merge contents from
38218 sysdeps/i386/configure.in (without i686 check).
38220 * sysdeps/i386/elf/Versions: Merge into ...
38221 * sysdeps/i386/Versions: ... this.
38222 * sysdeps/i386/elf/Versions: Delete file.
38223 * sysdeps/i386/elf/start.S: Moved to ...
38224 * sysdeps/i386/start.S: ...here.
38225 * sysdeps/i386/elf/configure.in: Merge into...
38226 * sysdeps/i386/configure.in: ...here.
38227 * sysdeps/i386/elf/configure.in: Delete file.
38228 * sysdeps/i386/elf/configure: Delete file.
38230 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38231 * debug/backtracesyms.c: ... here.
38232 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38233 * debug/backtracesymsfd.c: ... here.
38234 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38235 * sysdeps/generic/ifunc-sel.h: ... here.
38237 * sysdeps/unix/i386/start.c: Delete file.
38238 * sysdeps/unix/sparc/start.c: Delete file.
38239 * sysdeps/unix/start.c: Delete file.
38241 * sysdeps/sh/elf/configure.in: Moved to ...
38242 * sysdeps/sh/configure.in: ... here.
38243 * sysdeps/sh/elf/start.S: Moved to ...
38244 * sysdeps/sh/start.S: ... here.
38245 * sysdeps/sh/elf/configure: Delete file.
38247 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38248 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38249 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38250 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38251 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38252 * sysdeps/powerpc/powerpc64/start.S: here.
38253 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38254 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38255 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38256 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38257 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38259 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38260 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38261 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38262 * sysdeps/powerpc/powerpc32/start.S: ... here.
38263 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38264 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38265 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38267 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38268 * sysdeps/powerpc/ifunc-sel.h: ... here.
38269 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38270 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38272 * sysdeps/sparc/elf/configure.in: Moved to ...
38273 * sysdeps/sparc/configure.in: ... here.
38274 * sysdeps/sparc/elf/configure: Delete file.
38275 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38276 * sysdeps/sparc/sparc32/start.S: ... here.
38277 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38278 * sysdeps/sparc/sparc64/start.S: ... here.
38279 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38280 * sysdeps/sparc/sparc32/Makefile: ... this.
38281 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38282 * sysdeps/sparc/sparc64/Makefile: ... this.
38284 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38285 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38286 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38287 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38288 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38289 * sysdeps/s390/s390-32/setjmp.S: ... here.
38290 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38291 * sysdeps/s390/s390-32/configure.in: ... here.
38292 * sysdeps/s390/s390-32/elf/configure: Delete file.
38293 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38294 * sysdeps/s390/s390-32/start.S: ... here.
38296 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38297 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38298 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38299 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38300 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38301 * sysdeps/s390/s390-64/setjmp.S: ... here.
38302 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38303 * sysdeps/s390/s390-64/configure.in: ... here
38304 * sysdeps/s390/s390-64/elf/configure: Delete file.
38305 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38306 * sysdeps/s390/s390-64/start.S: ... here.
38307 * sysdeps/s390/s390-64/elf/configure: Delete.
38309 * configure.in: Remove support for elf directories in sysdeps.
38311 * configure: Regenerated.
38312 * sysdeps/i386/configure: Regenerated.
38313 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38314 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38315 * sysdeps/s390/s390-32/configure: Regenerated.
38316 * sysdeps/s390/s390-64/configure: Regenerated.
38317 * sysdeps/sh/configure: Regenerated.
38318 * sysdeps/sparc/configure: Regenerated.
38319 * sysdeps/x86_64/configure: Regenerated.
38321 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38325 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38326 denormal result into account.
38328 2012-03-25 Roland McGrath <roland@hack.frob.com>
38330 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38331 Reported by Allan McRae <allan@archlinux.org>.
38333 2012-03-23 Jeff Law <law@redhat.com>
38335 * nss/getnssent.c (__nss_getent): Fix typo.
38337 2012-03-23 David S. Miller <davem@davemloft.net>
38339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38341 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38343 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38344 to pad to uint64_t for each field.
38345 (dl_tls_index): Replace unsigned long with uint64_t.
38347 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38348 Paul Pluzhnikov <ppluzhnikov@google.com>
38351 * grp/Makefile (otherlibs): Don't set it.
38352 * inet/Makefile (otherlibs): Likewise.
38353 * login/Makefile (otherlibs): Likewise.
38354 * nscd/Makefile (otherlibs): Likewise.
38355 * posix/Makefile (otherlibs): Likewise.
38356 * pwd/Makefile (otherlibs): Likewise.
38357 * rt/Makefile (otherlibs): Likewise.
38358 * sunrpc/Makefile (otherlibs): Likewise.
38359 * nss/Makefile (otherlibs): Likewise.
38360 Add libnss_files to routines and static-only-routines.
38361 ($(objpfx)getent): Remove rule.
38362 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38363 static-only-routines.
38365 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38368 * math/s_cexp.c: Include <float.h>.
38369 (__cexp): Handle exp result overflowing not necessarily
38370 overflowing both real and imaginary parts of result.
38371 * math/s_cexpf.c: Likewise.
38372 * math/s_cexpl.c: Likewise.
38373 * math/libm-test.inc (cexp_test): Add more tests.
38374 * sysdeps/i386/fpu/libm-test-ulps: Update.
38375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38377 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38379 * include/link.h (ELFW): New macro.
38380 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38381 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38383 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38385 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38388 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38390 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38392 (struct La_x32_retval): Likewise.
38394 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38396 * sysdeps/x86_64/preconfigure.in: New file.
38397 * sysdeps/x86_64/preconfigure: New generated file.
38399 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38402 * math/e_exp2l.c: Include <float.h>.
38403 (__ieee754_exp2l): Handle overflow and underflow cases
38404 separately. Only pass fractional part of argument to
38406 * math/libm-test.inc (exp2_test): Add more tests.
38408 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38409 negating x to take absolute value.
38410 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38412 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38413 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38415 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38416 computing low part if x was negated.
38417 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38419 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38421 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38422 la_x32_gnu_pltexit.
38423 (pltexit): Cast int_retval to ptrdiff_t.
38424 * elf/tst-auditmod3b.c: Likewise.
38425 * elf/tst-auditmod4b.c: Likewise.
38426 * elf/tst-auditmod5b.c: Likewise.
38427 * elf/tst-auditmod6b.c: Likewise.
38428 * elf/tst-auditmod6c.c: Likewise.
38429 * elf/tst-auditmod7b.c: Likewise.
38431 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38432 and x32_gnu_pltexit.
38434 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38435 __ELF_NATIVE_CLASS.
38436 (La_x32_regs): New macro.
38437 (La_x32_retval): Likewise.
38438 (la_x32_gnu_pltenter): New function prototype.
38439 (la_x32_gnu_pltexit): Likewise.
38441 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38443 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38448 * configure.in (libc_cv_cc_nofma): Check for option to disable
38449 generation of FMA instructions.
38450 * configure: Regenerate.
38451 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38452 * sysdeps/ieee754/dbl-64/Makefile: New file.
38453 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38454 Remove brandred-fma4.
38455 (CFLAGS-brandred-fma4.c): Remove.
38456 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38457 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38459 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38462 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38464 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38465 LLONG_MAX != LONG_MAX.
38466 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38467 (_fitoa_word): Likewise.
38468 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38469 LLONG_MAX != LONG_MAX.
38470 * stdio-common/_itowa.h: Include <_itoa.h>.
38471 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38472 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38473 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38474 only if not defined.
38475 (_ITOA_WORD_TYPE): Likewise.
38476 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38477 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38479 2012-03-21 David S. Miller <davem@davemloft.net>
38481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38483 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38485 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38486 of x86_64 when setting libc_cv_slibdir, libdir and
38488 * sysdeps/unix/sysv/linux/configure: Regenerated.
38490 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38492 * manual/lang.texi (Old Varargs): Remove section.
38493 (How Variadic): Update menu.
38494 (va_start): Do not mention varargs.h.
38496 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38497 Joseph Myers <joseph@codesourcery.com>
38499 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38501 * configure: Regenerated.
38503 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38505 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38506 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38509 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38512 * Makefile (files-for-dist): Remove NOTES.
38513 (NOTES): Remove rule.
38514 * README: Don't refer to NOTES.
38515 * manual/creature.texi: Don't include macros.texi.
38516 * manual/intro.texi (creature.texi): Remove comment referring to
38519 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38520 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38521 * configure: Regenerated.
38522 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38523 LIBC_TRY_CC_OPTION.
38524 (libc_cv_as_i686): Likewise.
38525 (libc_cv_cc_avx): Likewise.
38526 (libc_cv_cc_sse2avx): Likewise.
38527 (libc_cv_cc_fma4): Likewise.
38528 (libc_cv_cc_novzeroupper): Likewise.
38529 * sysdeps/i386/configure: Regenerated.
38532 * sysdeps/i386/fpu/s_cexp.S: Remove.
38533 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38534 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38535 * math/libm-test.inc (cexp_test): Add more tests.
38536 * sysdeps/i386/fpu/libm-test-ulps: Update.
38537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38539 2012-03-21 Allan McRae <allan@archlinux.org>
38541 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38543 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38546 * math/w_exp2.c: Do not include <float.h>.
38547 (o_threshold, u_threshold): Remove.
38548 (__exp2): Calculate result before checking finiteness and calling
38550 * math/w_exp2f.c: Likewise.
38551 * math/w_exp2l.c: Likewise.
38552 * math/libm-test.inc (exp2_test): Require overflow exception for
38556 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38557 range of signed 64-bit integers before using fistpll. Remove
38558 checks for whether integers fit in mantissa bits.
38559 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38560 the range of signed 32-bit integers before using fistpl. Remove
38561 checks for whether integers fit in mantissa bits.
38562 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38563 (__ieee754_powl): Test for y outside the range of signed 64-bit
38564 integers before using fistpll. Reduce 64-bit values to 63-bit
38566 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38567 divide-by-zero is raised for zero to large negative powers.
38568 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38569 (__ieee754_powl): Test for y outside the range of signed 64-bit
38570 integers before using fistpll. Reduce 64-bit values to 63-bit
38572 * math/libm-test.inc (pow_test): Add more tests.
38574 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38576 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38577 <stdio-common/_itoa.h>.
38578 * debug/segfault.c: Likewise.
38579 * elf/dl-cache.c: Likewise.
38580 * elf/dl-minimal.c: Likewise.
38581 * elf/dl-misc.c: Likewise.
38582 * elf/dl-sysdep.c: Likewise.
38583 * elf/dl-version.c: Likewise.
38584 * elf/rtld.c: Likewise.
38585 * hurd/hurdsock.c: Likewise.
38586 * hurd/lookup-retry.c: Likewise.
38587 * malloc/malloc.c: Likewise.
38588 * malloc/mtrace.c: Likewise.
38589 * nscd/nscd_getgr_r.c: Likewise.
38590 * nscd/nscd_getpw_r.c: Likewise.
38591 * nscd/nscd_getserv_r.c: Likewise.
38592 * posix/getopt_init.c: Likewise.
38593 * posix/wordexp.c: Likewise.
38594 * stdio-common/_itoa.c: Likewise.
38595 * stdio-common/printf_fphex.c: Likewise.
38596 * stdio-common/vfprintf.c: Likewise.
38597 * string/_strerror.c: Likewise.
38598 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38599 * sysdeps/i386/i686/hp-timing.h: Likewise.
38600 * sysdeps/mach/_strerror.c: Likewise.
38601 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38602 * sysdeps/mach/hurd/sethostid.c: Likewise.
38603 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38604 * sysdeps/mach/xpg-strerror.c: Likewise.
38605 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38606 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38607 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38608 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38609 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38610 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38611 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38612 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38613 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38614 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38615 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38616 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38617 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38618 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38619 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38620 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38621 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38622 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38623 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38624 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38625 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38627 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38629 * stdio-common/_itoa.h: Moved to ...
38630 * sysdeps/generic/_itoa.h: Here.
38632 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38634 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38635 instead of "_itoa.h" and "_itowa.h".
38636 * stdio-common/vfprintf.: Likewise.
38638 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38640 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38642 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38643 (__signbit): Likwise.
38644 (llrintf): Likwise.
38647 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38649 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38652 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38654 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38655 OVERFLOW_EXCEPTION_OK.
38656 * math/libm-test.inc ("Philosophy"): Update comment about
38658 (OVERFLOW_EXCEPTION): Define.
38659 (OVERFLOW_EXCEPTION_OK): Likewise.
38660 (INVALID_EXCEPTION_OK): Renumber.
38661 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38662 (IGNORE_ZERO_INF_SIGN): Likewise.
38663 (test_exceptions): Handle FE_OVERFLOW.
38664 (exp10_test): Expect overflow exceptions.
38665 (exp2_test): Likewise.
38666 (expm1_test): Likewise.
38667 (nextafter_test): Likewise.
38668 (pow_test): Likewise.
38669 (scalbn_test): Likewise.
38670 (scalbln_test): Likewise.
38672 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38674 * sysdeps/x86_64/bits/atomic.h
38675 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38677 (atomic_exchange_acq): Likewise.
38678 (__arch_exchange_and_add_body): Likewise.
38679 (__arch_add_body): Likewise.
38680 (atomic_add_negative): Likewise.
38681 (atomic_add_zero): Likewise.
38683 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38685 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38686 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38688 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38690 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38691 Check __x86_64__ instead of __WORDSIZE.
38693 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38695 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38697 2012-03-19 David S. Miller <davem@davemloft.net>
38699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38701 * sysdeps/sparc/fpu/fenv_private.h: New file.
38702 * sysdeps/sparc/fpu/math_private.h: Use it.
38703 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38705 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38706 (libc_feholdexcept_setroundl): Remove.
38707 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38709 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38710 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38712 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38714 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38715 int64_t instead of long int.
38716 (INSERT_WORDS64): Likwise.
38718 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38720 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38721 _Unwind_GetCFA return to _Unwind_Ptr first.
38723 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38726 * math/s_clog.c: Include <float.h>.
38727 (__clog): Scale large or subnormal inputs.
38728 * math/s_clogf.c: Likewise.
38729 * math/s_clogl.c: Likewise.
38730 * math/s_clog10.c: Include <float.h>.
38731 (M_LOG10_2): Define.
38732 (__clog10): Scale large or subnormal inputs.
38733 * math/s_clog10f.c: Likewise.
38734 * math/s_clog10l.c: Likewise.
38735 * math/libm-test.inc (clog_test): Add more tests.
38736 (clog10_test): Likewise.
38737 * sysdeps/i386/fpu/libm-test-ulps: Update.
38738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38741 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38743 * math/libm-test.inc (atan2_test): Add another test.
38745 * Makerules (common-objdir-compile): Remove.
38746 * sysdeps/unix/Makefile (config-generated): Do not add
38747 $(unix-generated) to variable.
38748 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38749 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38751 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38753 [generic bits/local_lim.h] (before-compile): Do not append to
38755 [generic bits/local_lim.h] (common-generated): Likewise.
38756 [generic sys/param.h] (before-compile): Do not append to variable.
38757 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38758 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38759 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38760 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38762 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38763 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38764 [generic sys/param.h] ($(addprefix
38765 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38766 [generic sys/param.h] (common-generated): Do not append to
38768 [generic sys/param.h] (sysdep_headers): Likewise.
38769 [generic bits/errno.h] (before-compile): Do not append to
38771 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38773 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38774 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38775 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38776 [generic bits/errno.h] (common-generated): Do not append to
38778 [generic bits/ioctls.h] (before-compile): Do not append to
38780 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38782 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38783 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38784 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38786 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38787 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38788 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38789 [generic bits/ioctls.h] (common-generated): Do not append to
38791 [generic sys/syscall.h] (syscall.h): Remove variable.
38792 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38794 [generic sys/syscall.h] (before-compile): Do not append to
38796 [generic sys/syscall.h] (common-generated): Likewise.
38797 * sysdeps/unix/errnos-tmpl.c: Remove file.
38798 * sysdeps/unix/errnos.awk: Likewise.
38799 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38800 * sysdeps/unix/ioctls.awk: Likewise.
38801 * sysdeps/unix/mk-local_lim.c: Likewise.
38802 * sysdeps/unix/snarf-ioctls: Likewise.
38804 2012-03-19 Richard Henderson <rth@twiddle.net>
38806 * sysdeps/i386/fpu/fenv_private.h: New file.
38807 * sysdeps/i386/fpu/math_private.h: Use it.
38808 (math_opt_barrier, math_force_eval): Remove.
38809 (libc_feholdexcept_setround_53bit): Remove.
38810 (libc_feupdateenv_53bit): Remove.
38811 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38812 (math_opt_barrier, math_force_eval): Remove.
38813 (libc_feholdexcept): Remove.
38814 (libc_feholdexcept_setround): Remove.
38815 (libc_fetestexcept, libc_fesetenv): Remove.
38816 (libc_feupdateenv_test): Remove.
38817 (libc_feupdateenv, libc_feholdsetround): Remove.
38818 (libc_feresetround): Remove.
38820 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38821 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38823 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38824 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38825 (libc_feupdateenv_testl): New.
38826 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38827 (libc_feupdateenv_testf): New.
38828 (libc_feupdateenv): Use libc_feupdateenv_test.
38829 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38830 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38832 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38833 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38834 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38835 (libc_feresetround_noex): New.
38836 (libc_feresetround_noexf): New.
38837 (libc_feresetround_noexl): New.
38838 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38839 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38840 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38841 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38843 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38844 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38846 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38847 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38848 SET_RESTORE_ROUND_NOEX.
38849 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38850 SET_RESTORE_ROUND_NOEXF.
38851 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38852 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38853 (libc_feholdsetroundf): New.
38854 (libc_feresetround, libc_feresetroundf): New.
38856 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38857 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38858 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38860 * sysdeps/generic/math_private.h: Include <fenv.h>.
38861 (default_libc_feholdexcept): New.
38862 (default_libc_feholdexcept_setround): New.
38863 (default_libc_fesetenv, default_libc_feupdateenv): New.
38864 (libc_feholdexcept): Only define if undefined.
38865 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38866 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38867 (libc_feholdexcept_setroundl): Likewise.
38868 (libc_feholdexcept_setround_53bit): Likewise.
38869 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38870 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38871 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38872 (libc_feupdateenv_53bit): Likewise.
38873 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38874 (libc_feholdexcept): Convert from macro to inline function.
38875 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38876 (libc_fesetenv, libc_feupdateenv): Likewise.
38878 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38879 not previously defined.
38880 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38881 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38882 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38883 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38884 * sysdeps/ieee754/flt-32/math_private.h: New file.
38885 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38886 math_private.h below SET_FLOAT_WORD.
38887 (__isnan, __isinf_ns, __finite): Remove.
38888 (__isnanf, __isinf_nsf, __finitef): Remove.
38890 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38894 2012-03-17 David S. Miller <davem@davemloft.net>
38897 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38900 2012-03-16 David S. Miller <davem@davemloft.net>
38902 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38906 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38908 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38909 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38910 sysdep_routines when subdir is sysvipc.
38911 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38912 __getshmlba helper.
38914 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38916 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38918 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38921 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38923 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38924 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38925 (__lround): Renamed to ...
38926 (__llround): This. Replace long int with long long int.
38927 Define lround functions as aliases of llround functions.
38928 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38930 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38932 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38933 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38934 adresses to uintptr_t. Replace "long int" and "unsigned long
38935 int" with "greg_t" on va_arg.
38937 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38939 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38940 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38942 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38943 Move e_machine check before EI_CLASS check. Handle x32
38944 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38945 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38946 SKIP_EM_IA_64 and include
38947 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38949 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38950 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38951 (add_system_dir): New macro.
38953 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38954 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38956 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38967 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38969 * math/w_j0f.c (j0f): Likewise.
38971 * math/w_j0l.c (__j0l): Likewise.
38973 * math/w_j1.c (j1): Likewise.
38975 * math/w_j1f.c (j1f): Likewise.
38977 * math/w_j1l.c (__j1l): Likewise.
38979 * math/w_jn.c (jn): Likewise.
38981 * math/w_jnf.c (jnf): Likewise.
38983 * math/w_jnl.c (__jnl): Likewise.
38985 * math/libm-test.inc (j0_test): Add more tests.
38986 (j1_test): Likewise.
38987 (jn_test): Likewise. Add trailing semicolon to existing test.
38988 (y0_test): Likewise.
38989 (y1_test): Likewise.
38990 * sysdeps/i386/fpu/libm-test-ulps: Update.
38991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38995 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38996 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38997 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38998 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38999 (__tanl): Set errno for infinite argument.
39000 * sysdeps/i386/fpu/mptan.c: Remove.
39001 * sysdeps/i386/fpu/s_tan.S: Likewise.
39002 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39003 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39004 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39005 * math/libm-test.inc (tan_test): Add more tests and enable more
39006 tests for double and long double.
39007 * sysdeps/i386/fpu/libm-test-ulps: Update.
39008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39010 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39012 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39013 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39015 2012-03-16 Roland McGrath <roland@hack.frob.com>
39017 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39018 * configure.in: Use it for both main tree and add-ons.
39019 * configure: Regenerated.
39021 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39023 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39025 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39027 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39031 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39032 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39033 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39034 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39035 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39037 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39038 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39039 != 0 for prec == 2.
39040 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39041 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39042 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39043 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39044 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39045 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39046 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39047 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39048 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39049 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39050 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39051 * math/libm-test.inc (cos_test): Add more tests and enable more
39052 tests for long double.
39053 (sin_test): Likewise.
39054 (sincos_test): Likewise.
39055 * sysdeps/i386/fpu/libm-test-ulps: Update.
39056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39058 2012-03-16 David S. Miller <davem@davemloft.net>
39060 * sysdeps/sparc/fpu/math_private.h: New file.
39062 2012-03-15 David S. Miller <davem@davemloft.net>
39064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39074 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39078 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39079 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39081 * sysdeps/sparc/sparc-ifunc.h: New file.
39082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39106 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39108 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39109 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39120 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39121 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39122 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39123 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39124 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39125 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39127 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39129 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39133 2012-03-15 Andreas Jaeger <aj@suse.de>
39136 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39137 ieee754/flt-32 implementation for sin, cos and sincos.
39138 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39139 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39140 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39141 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39142 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39143 ieee754/flt-32 implementation for tan.
39145 * math/libm-test.inc (cos_test): Enable some large input tests for
39147 (sin_test): Likewise.
39148 (sincos_test): Likewise.
39149 (tan_test): Add tests for large input.
39151 * sysdeps/i386/fpu/libm-test-ulps: Update.
39153 2012-03-15 Andreas Jaeger <aj@suse.de>
39156 * math/libm-test.inc (cos_test): Add more test cases.
39157 (sin_test): Likewise.
39158 (sincos_test): Likewise.
39160 2012-03-15 Andreas Jaeger <aj@suse.de>
39163 * math/libm-test.inc (cos_test): Add a test case for large input
39165 (sin_test): Likewise.
39166 (sincos_test): Likewise.
39168 2012-03-15 Andreas Jaeger <aj@suse.de>
39169 Joseph Myers <joseph@codesourcery.com>
39172 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39173 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39174 * sysdeps/i386/fpu/branred.c: Likewise.
39175 * sysdeps/i386/fpu/dosincos.c: Likewise.
39176 * sysdeps/i386/fpu/mpa.c: Likewise.
39177 * sysdeps/i386/fpu/s_cos.S: Likewise.
39178 * sysdeps/i386/fpu/s_sin.S: Likewise.
39179 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39180 * sysdeps/i386/fpu/sincos32.c: Likewise.
39182 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39184 (libc_feupdateenv_53bit): Define.
39185 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39187 (libc_feupdateenv_53bit): Define.
39189 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39190 53 bit (without extend i386 double precision).
39192 * math/libm-test.inc (sincos_test): Add tests for large input.
39196 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39198 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39202 2012-03-15 David S. Miller <davem@davemloft.net>
39204 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39205 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39206 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39207 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39231 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39232 fmin/fmax sysdep routines.
39233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39235 2012-03-14 David S. Miller <davem@davemloft.net>
39237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39238 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39241 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39242 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39243 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39244 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39248 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39257 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39258 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39259 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39260 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39261 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39262 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39263 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39264 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39265 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39309 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39314 * sysdeps/sparc/configure.in: New file.
39315 * sysdeps/sparc/configure: Generate.
39316 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39317 * configure: Regenerate.
39318 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39319 * config.make.in (have-as-vis3): New.
39320 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39321 available use -Av9d instead of -Av9a.
39322 * sysdeps/sparc/sparc64/Makefile: Likewise.
39323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39332 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39333 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39334 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39335 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39336 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39338 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39339 fzeros/fnegs to load 0x80000000 into a float register instead of
39341 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39343 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39347 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39348 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39349 ($(inst_includedir)/bits/syscall.h): Remove rule.
39350 ($(objpfx)bits/syscall.d): Include instead of
39351 $(objpfx)syscall-list.d.
39352 (generated): Change syscall-list.h and syscall-list.d to
39353 bits/syscall.h and bits/syscall.d.
39355 2012-03-14 Roland McGrath <roland@hack.frob.com>
39358 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39360 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39363 * math/s_csqrt.c: Include <float.h>.
39364 (__csqrt): Scale large or subnormal inputs.
39365 * math/s_csqrtf.c: Likewise.
39366 * math/s_csqrtl.c: Likewise.
39367 * math/libm-test.inc (csqrt_test): Add more tests.
39368 * sysdeps/i386/fpu/libm-test-ulps: Update.
39369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39372 * math/libm-test.inc (hypot_test): Add more tests.
39374 2012-03-13 David S. Miller <davem@davemloft.net>
39377 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39378 double-precision for the calculation instead of scaling.
39380 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39382 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39383 manipulate bits before adding and subtracting TWO52[sx].
39384 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39385 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39387 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39389 2012-03-13 David S. Miller <davem@davemloft.net>
39391 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39392 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39393 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39394 rtld-global-offsets.h
39395 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39397 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39400 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39402 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39403 'err' in the ifdef scope in which it is actually used.
39405 * nss/nss_db/db-init.c: Include string.h
39407 2012-03-12 David S. Miller <davem@davemloft.net>
39409 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39410 masking out of the most significant byte of random value used.
39411 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39412 Fix coding style in previous change.
39414 * sysdeps/unix/sysv/linux/kernel-features.h
39415 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39416 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39418 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39421 2012-03-11 David S. Miller <davem@davemloft.net>
39423 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39424 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39425 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39426 for 'resultvar' otherwise things get truncated on 64-bit.
39428 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39429 Fix masking out of the most significant byte of random value used.
39431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39433 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39437 2012-03-09 David S. Miller <davem@davemloft.net>
39439 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39440 variables with appropriate CPP guards.
39441 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39442 from the frame pointer, not the stack pointer. Correct layout
39443 comments. Fix test on resulting framesize and the management of
39444 the outregs buffer for pltexit. Preserve floating point return
39445 values across _dl_call_pltexit call.
39446 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39447 framesize and the management of the outregs buffer for pltexit.
39448 Preserve floating point return values across _dl_call_pltexit
39450 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39451 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39452 (la_sparc64_gnu_pltexit): New functions.
39453 (print_exit): Fix format string for return register value.
39455 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39457 * sunrpc/Makefile (others): Add rpcgen.
39458 ($(objpfx)rpcgen): Remove special build rule and dependency on
39460 * sunrpc/rpcgen.c: New file.
39462 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39465 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39466 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39467 * sysdeps/i386/crti.S: Likewise.
39468 * sysdeps/i386/crtn.S: Likewise.
39469 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39470 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39471 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39472 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39473 * sysdeps/sh/crti.S: Likewise.
39474 * sysdeps/sh/crtn.S: Likewise.
39475 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39478 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39480 * locale/programs/locfile-kw.gperf: Likewise.
39481 * locale/programs/charmap-kw.h: Regenerated.
39482 * locale/programs/locfile-kw.h: Likewise.
39485 * intl/plural.y: Replace FSF snail mail address with URL.
39486 * intl/plural.c: Regenerated.
39488 2012-03-09 Richard Henderson <rth@twiddle.net>
39490 * include/math_private.h: Remove file.
39491 * math/math_private.h: Move file ...
39492 * sysdeps/generic/math_private.h: ... here.
39494 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39495 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39496 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39498 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39499 and <math_private.h>.
39500 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39501 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39502 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39503 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39504 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39505 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39506 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39507 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39508 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39509 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39510 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39511 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39512 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39513 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39514 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39515 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39516 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39517 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39518 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39519 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39520 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39521 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39522 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39523 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39524 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39525 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39526 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39527 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39528 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39529 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39530 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39531 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39532 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39533 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39534 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39535 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39536 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39537 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39538 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39539 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39540 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39541 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39542 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39543 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39544 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39545 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39546 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39547 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39548 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39549 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39550 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39551 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39552 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39553 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39554 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39555 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39556 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39557 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39558 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39559 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39560 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39561 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39562 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39563 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39564 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39565 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39566 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39567 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39568 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39569 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39570 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39571 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39572 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39573 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39574 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39575 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39576 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39577 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39578 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39579 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39580 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39581 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39582 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39583 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39584 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39585 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39586 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39587 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39588 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39589 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39590 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39591 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39592 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39593 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39594 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39595 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39596 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39597 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39598 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39599 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39600 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39601 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39602 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39603 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39604 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39605 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39606 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39607 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39608 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39609 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39610 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39611 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39612 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39613 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39614 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39615 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39616 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39617 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39618 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39619 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39620 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39621 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39622 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39623 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39624 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39625 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39626 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39627 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39628 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39629 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39630 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39631 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39632 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39633 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39634 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39635 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39636 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39637 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39638 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39639 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39640 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39641 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39642 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39643 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39644 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39645 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39646 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39647 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39648 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39649 * sysdeps/ieee754/k_standard.c: Likewise.
39650 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39651 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39652 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39653 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39654 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39655 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39656 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39657 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39658 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39659 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39660 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39661 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39662 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39663 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39664 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39665 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39666 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39667 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39668 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39669 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39670 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39671 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39672 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39673 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39674 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39675 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39676 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39677 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39678 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39679 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39680 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39681 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39682 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39683 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39684 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39685 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39686 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39687 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39688 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39689 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39690 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39691 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39692 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39693 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39694 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39695 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39696 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39697 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39698 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39699 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39700 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39701 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39702 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39703 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39704 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39705 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39706 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39707 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39708 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39709 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39710 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39711 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39712 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39713 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39714 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39715 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39716 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39717 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39718 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39719 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39720 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39721 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39722 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39723 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39724 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39725 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39726 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39727 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39728 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39729 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39730 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39731 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39732 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39733 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39734 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39735 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39736 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39737 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39738 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39739 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39740 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39741 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39742 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39743 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39744 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39745 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39746 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39747 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39748 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39749 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39750 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39751 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39752 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39753 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39754 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39755 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39756 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39757 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39758 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39759 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39760 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39761 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39762 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39763 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39764 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39765 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39766 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39767 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39768 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39769 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39770 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39771 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39772 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39773 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39774 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39775 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39776 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39777 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39778 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39779 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39780 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39781 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39782 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39783 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39784 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39785 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39786 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39787 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39788 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39789 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39790 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39791 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39792 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39793 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39794 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39795 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39796 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39797 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39798 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39799 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39800 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39801 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39802 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39803 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39804 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39805 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39806 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39807 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39808 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39809 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39810 * sysdeps/ieee754/s_lib_version.c: Likewise.
39811 * sysdeps/ieee754/s_matherr.c: Likewise.
39812 * sysdeps/ieee754/s_signgam.c: Likewise.
39813 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39814 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39815 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39816 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39817 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39818 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39819 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39820 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39821 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39822 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39823 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39824 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39825 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39826 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39827 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39828 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39829 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39830 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39831 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39832 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39833 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39835 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39837 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39838 * sunrpc/rpc_main.c: Likewise.
39839 * sunrpc/rpc_svcout.c: Likewise.
39841 2012-03-09 David S. Miller <davem@davemloft.net>
39843 * include/math_private.h: New file.
39845 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39847 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39848 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39849 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39850 from <bits/socket_type.h>.
39851 (enum __socket_type): Don't define here.
39852 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39853 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39854 bits/socket_type.h.
39857 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39858 checking __USE_GNU.
39860 * Makerules ($(inst_includedir)/%.h): New rule.
39861 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39862 (install-others): Remove variable setting.
39863 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39865 2012-03-08 Richard Henderson <rth@twiddle.net>
39867 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39868 from macro to inline function; merge with the
39869 !__LIBC_INTERNAL_MATH_INLINES version.
39870 (__ieee754_sqrtf): Likewise.
39872 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39873 to inline function.
39874 (__rintf, __floor, __floorf): Likewise.
39876 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39877 macro to inline function.
39878 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39880 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39881 not <math/math_private.h>.
39883 2012-03-08 David S. Miller <davem@davemloft.net>
39885 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39887 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39889 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39891 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39893 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39894 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39896 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39898 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39899 be defined individually, they must be defined as a block. Define
39900 S for printing a string instead of hidint the different by using a
39901 macro for adding the 'l'.
39902 * stdio-common/tst-fphex-wide.c: Adjust.
39904 2012-03-07 Marek Polacek <polacek@redhat.com>
39906 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39908 2012-03-08 Marek Polacek <polacek@redhat.com>
39911 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39912 * stdio-common/tst-fphex.c: Define a few macros to make the
39913 test reusable. Use them.
39914 * stdio-common/tst-fphex-wide.c: New file.
39916 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39919 * manual/macros.texi (gnusystems): New macro.
39920 (nongnusystems): Likewise.
39921 (gnulinuxhurdsystems): Likewise.
39922 (gnuhurdsystems): Likewise..
39923 (gnulinuxsystems): Likewise.
39924 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39925 variants of the GNU system, not "GNU system".
39926 * manual/conf.texi: Likewise.
39927 * manual/errno.texi: Likewise. Update example of errno macro
39929 * manual/filesys.texi: Likewise.
39930 (getumask): Document as specific to GNU/Hurd.
39931 * manual/install.texi: Likewise. Reword some references to
39933 * manual/intro.texi: Likewise.
39934 * manual/io.texi: Likewise.
39935 (File Name Portability): Detail which constraints are inapplicable
39936 to all GNU systems and which are only inapplicable to GNU/Hurd.
39937 * manual/job.texi: Likewise.
39938 * manual/llio.texi: Likewise.
39939 (O_NOCTTY): Document as present on GNU/Linux.
39940 * manual/maint.texi: Likewise.
39941 * manual/memory.texi: Likewise.
39942 * manual/pattern.texi: Likewise.
39943 * manual/pipe.texi: Likewise.
39944 * manual/process.texi: Likewise.
39945 * manual/resource.texi: Likewise.
39946 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39948 * manual/setjmp.texi: Likewise.
39949 * manual/signal.texi: Likewise.
39950 * manual/startup.texi: Likewise.
39951 * manual/stdio.texi: Likewise.
39952 * manual/terminal.texi: Likewise.
39953 (ONLCR): Document as POSIX.
39954 (OXTABS): Document availability on GNU/Linux as XTABS.
39955 (ONOEOT): Document availability separately from other bits.
39956 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39957 * manual/time.texi: Likewise.
39958 * manual/users.texi: Likewise.
39959 * INSTALL: Regenerated.
39960 * sysdeps/gnu/errlist.c: Regenerated.
39962 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39963 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39964 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39966 * configure: Regenerated.
39968 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39970 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39971 default includes instead of AC_HEADER_CHECK.
39972 * sysdeps/i386/configure: Regenerated.
39975 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39976 * math/s_cacoshf.c (__cacoshf): Likewise.
39977 * math/s_cacoshl.c (__cacoshl): Likewise.
39978 * math/s_casinh.c (__casinh): Set signs of result from argument.
39979 * math/s_casinhf.c (__casinhf): Likewise.
39980 * math/s_casinhl.c (__casinhl): Likewise.
39981 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39982 (casinh_test): Add more tests.
39983 * sysdeps/i386/fpu/libm-test-ulps: Update.
39984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39986 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39988 * po/zh_TW.po: Update from translation team.
39990 * login/Makefile (distribute): Remove variable.
39991 * catgets/Makefile: Likewise.
39992 * mach/Makefile: Likewise.
39993 * malloc/Makefile: Likewise.
39994 * misc/Makefile: Likewise.
39995 * iconv/Makefile: Likewise.
39996 * nscd/Makefile: Likewise.
39997 * hurd/Makefile: Likewise.
39998 * manual/Makefile: Likewise.
39999 * locale/Makefile: Likewise.
40000 * intl/Makefile: Likewise.
40001 * conform/Makefile: Likewise.
40002 * nss/Makefile: Likewise.
40003 * time/Makefile: Likewise.
40004 * soft-fp/Makefile: Likewise.
40005 * dirent/Makefile: Likewise.
40006 * gmon/Makefile: Likewise.
40007 * po/Makefile: Likewise.
40008 * rt/Makefile: Likewise.
40009 * socket/Makefile: Likewise.
40010 * math/Makefile: Likewise.
40011 * signal/Makefile: Likewise.
40012 * debug/Makefile: Likewise.
40013 * elf/Makefile: Likewise.
40014 * timezone/Makefile: Likewise.
40015 * stdlib/Makefile: Likewise.
40016 * iconvdata/Makefile: Likewise.
40017 * sunrpc/Makefile: Likewise.
40018 * io/Makefile: Likewise.
40019 * argp/Makefile: Likewise.
40020 * inet/Makefile: Likewise.
40021 * hesiod/Makefile: Likewise.
40022 * grp/Makefile: Likewise.
40023 * csu/Makefile: Likewise.
40024 * wctype/Makefile: Likewise.
40025 * crypt/Makefile: Likewise.
40026 * libio/Makefile: Likewise.
40027 * string/Makefile: Likewise.
40028 * nis/Makefile: Likewise.
40029 * resolv/Makefile: Likewise.
40030 * stdio-common/Makefile: Likewise.
40031 * wcsmbs/Makefile: Likewise.
40032 * dlfcn/Makefile: Likewise.
40033 * posix/Makefile: Likewise.
40036 * timezone/Makefile: Don't install timezone files, just the programs
40039 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40041 * nss/databases.def: Add missing gshadow entry.
40043 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40045 2012-03-06 Marek Polacek <polacek@redhat.com>
40048 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40049 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40050 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40051 * stdio-common/tst-long-dbl-fphex.c: New file.
40053 2012-03-06 David S. Miller <davem@davemloft.net>
40055 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40056 (set_obp_int): New function.
40057 (get_obp_int): New function.
40058 (__get_clockfreq_via_dev_openprom): Likewise.
40059 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40060 Avoid unused variable warnings on 'val' and use builtin_expect.
40061 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40063 (INLINE_CLONE_SYSCALL): Likewise.
40065 2012-03-05 David S. Miller <davem@davemloft.net>
40067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40069 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40073 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40074 only for |x| >= 40.
40075 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40077 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40079 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40080 Replace gettimeofday with __vdso_gettimeofday.
40082 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40083 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40084 __vdso_clock_gettime and __vdso_getcpu.
40086 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40087 time with __vdso_time.
40089 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40091 * manual/lang.texi (size_t): Note types to which size_t may be
40092 equivalent with the GNU C Library, but do not describe when
40093 differences between them are significant.
40095 2012-03-05 Andreas Jaeger <aj@suse.de>
40097 * sysdeps/i386/fpu/libm-test-ulps: Update.
40099 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40102 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40103 (__ieee754_pow): Save and restore rounding mode and use
40104 round-to-nearest for main computations.
40105 * math/libm-test.inc (pow_test_tonearest): New function.
40106 (pow_test_towardzero): Likewise.
40107 (pow_test_downward): Likewise.
40108 (pow_test_upward): Likewise.
40109 (main): Call the new functions.
40110 * sysdeps/i386/fpu/libm-test-ulps: Update.
40111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40114 * math/libm-test.inc (cosh_test_tonearest): New function.
40115 (cosh_test_towardzero): Likewise.
40116 (cosh_test_downward): Likewise.
40117 (cosh_test_upward): Likewise.
40118 (sinh_test_tonearest): Likewise.
40119 (sinh_test_towardzero): Likewise.
40120 (sinh_test_downward): Likewise.
40121 (sinh_test_upward): Likewise.
40122 (main): Call the new functions.
40123 * sysdeps/i386/fpu/libm-test-ulps: Update.
40124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40126 2012-03-05 Tom de Vries <tom@codesourcery.com>
40128 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40129 default stack guard is set in last bytes.
40130 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40132 2012-03-05 Kees Cook <keescook@chromium.org>
40134 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40137 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40138 possibly allocate from heap instead of stack.
40139 * stdio-common/bug-vfprintf-nargs.c: New file.
40140 * stdio-common/Makefile (tests): Add nargs overflow test.
40142 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40146 2012-03-03 Marek Polacek <polacek@redhat.com>
40148 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40149 * math/math_private.h: Likewise.
40150 * stdlib/tst-strtod.c: Likewise.
40151 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40152 * sysdeps/x86_64/bits/atomic.h: Likewise.
40154 2012-03-02 David S. Miller <davem@davemloft.net>
40156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40160 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40161 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40162 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40163 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40165 2012-03-02 Roland McGrath <roland@hack.frob.com>
40168 * manual/examples/README: New file, says the example source files
40169 can be used under GPL>=2.
40170 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40171 line containing just "*/".
40172 * manual/examples/add.c: Add copyright header (GPL>=2).
40173 * manual/examples/argp-ex1.c: Likewise.
40174 * manual/examples/argp-ex2.c: Likewise.
40175 * manual/examples/argp-ex3.c: Likewise.
40176 * manual/examples/argp-ex4.c: Likewise.
40177 * manual/examples/atexit.c: Likewise.
40178 * manual/examples/db.c: Likewise.
40179 * manual/examples/dir.c: Likewise.
40180 * manual/examples/dir2.c: Likewise.
40181 * manual/examples/execinfo.c: Likewise.
40182 * manual/examples/filecli.c: Likewise.
40183 * manual/examples/filesrv.c: Likewise.
40184 * manual/examples/fmtmsgexpl.c: Likewise.
40185 * manual/examples/genpass.c: Likewise.
40186 * manual/examples/inetcli.c: Likewise.
40187 * manual/examples/inetsrv.c: Likewise.
40188 * manual/examples/isockad.c: Likewise.
40189 * manual/examples/longopt.c: Likewise.
40190 * manual/examples/memopen.c: Likewise.
40191 * manual/examples/memstrm.c: Likewise.
40192 * manual/examples/mkfsock.c: Likewise.
40193 * manual/examples/mkisock.c: Likewise.
40194 * manual/examples/mygetpass.c: Likewise.
40195 * manual/examples/pipe.c: Likewise.
40196 * manual/examples/popen.c: Likewise.
40197 * manual/examples/rprintf.c: Likewise.
40198 * manual/examples/search.c: Likewise.
40199 * manual/examples/select.c: Likewise.
40200 * manual/examples/setjmp.c: Likewise.
40201 * manual/examples/sigh1.c: Likewise.
40202 * manual/examples/sigusr.c: Likewise.
40203 * manual/examples/stpcpy.c: Likewise.
40204 * manual/examples/strdupa.c: Likewise.
40205 * manual/examples/strftim.c: Likewise.
40206 * manual/examples/strncat.c: Likewise.
40207 * manual/examples/subopt.c: Likewise.
40208 * manual/examples/swapcontext.c: Likewise.
40209 * manual/examples/termios.c: Likewise.
40210 * manual/examples/testopt.c: Likewise.
40211 * manual/examples/testpass.c: Likewise.
40212 * manual/examples/timeval_subtract.c: Likewise.
40215 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40217 * manual/timeval_subtract.c.texi: ... here, new file.
40219 2012-03-02 David S. Miller <davem@davemloft.net>
40221 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40223 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40226 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40227 (__sin): Save and restore rounding mode and use round-to-nearest
40228 for all computations.
40229 (__cos): Save and restore rounding mode and use round-to-nearest
40230 for all computations.
40231 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40233 (tan): Save and restore rounding mode and use round-to-nearest for
40235 * math/libm-test.inc (cos_test_tonearest): New function.
40236 (cos_test_towardzero): Likewise.
40237 (cos_test_downward): Likewise.
40238 (cos_test_upward): Likewise.
40239 (sin_test_tonearest): Likewise.
40240 (sin_test_towardzero): Likewise.
40241 (sin_test_downward): Likewise.
40242 (sin_test_upward): Likewise.
40243 (tan_test_tonearest): Likewise.
40244 (tan_test_towardzero): Likewise.
40245 (tan_test_downward): Likewise.
40246 (tan_test_upward): Likewise.
40247 (main): Call the new functions.
40248 * sysdeps/i386/fpu/libm-test-ulps: Update.
40249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40252 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40253 small n, then large n, before computing and testing k+n.
40254 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40255 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40257 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40259 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40260 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40261 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40262 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40263 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40264 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40265 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40266 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40267 * math/libm-test.inc (scalbn_test): Add more tests.
40268 (scalbln_test): Likewise.
40270 * manual/filesys.texi (mode_t): Describe constraints on size and
40271 signedness, not exact equivalence to a particular type.
40273 (ino64_t): Likewise.
40275 (nlink_t): Likewise.
40276 (blkcnt_t): Likewise.
40277 (blkcnt64_t): Likewise.
40278 * manual/llio.texi (off_t): Likewise.
40281 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40282 (__ieee754_exp): Save and restore rounding mode and use
40283 round-to-nearest for all computations.
40284 * math/libm-test.inc (exp_test_tonearest): New function.
40285 (exp_test_towardzero): Likewise.
40286 (exp_test_downward): Likewise.
40287 (exp_test_upward): Likewise.
40288 (main): Call the new functions.
40289 * sysdeps/i386/fpu/libm-test-ulps: Update.
40290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40292 2012-03-01 Chris Demetriou <cgd@google.com>
40294 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40295 have predictable order.
40297 2012-03-01 David S. Miller <davem@davemloft.net>
40299 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40301 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40302 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40303 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40304 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40306 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40307 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40308 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40310 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40311 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40312 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40313 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40314 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40318 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40319 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40320 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40322 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40323 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40324 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40325 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40326 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40327 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40328 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40329 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40330 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40331 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40332 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40333 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40334 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40335 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40336 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40337 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40338 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40339 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40340 * sysdeps/sparc/elf/configure: Regenerated.
40342 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40344 * configure.in (AS, LD): Require binutils 2.20 or later.
40345 * configure: Regenerated.
40346 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40347 as required minimum version.
40348 * INSTALL: Regenerated.
40352 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40353 before squaring exponent.
40354 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40355 bottom long double and 27 bits of top long double before squaring
40357 * math/libm-test.inc (erfc_test): Add more tests.
40358 * sysdeps/i386/fpu/libm-test-ulps: Update.
40359 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40362 2012-03-01 Kai Tietz <ktietz@redhat.com>
40364 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40365 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40366 containing bit-fields.
40367 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40368 * soft-fp/single.h (_FP_UNION_S): Likewise.
40369 * soft-fp/double.h (_FP_UNION_D): Likewise.
40371 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40374 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40375 not include ../strcmp.S.
40376 [USE_AS_STRNCASECMP_L]: Likewise.
40377 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40378 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40379 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40380 (__strncasecmp_l_ia32): Define as alias to
40381 __strncasecmp_l_nonascii.
40384 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40385 * sysdeps/i386/fpu/libm-test-ulps: Update.
40386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40388 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40391 2012-02-29 Jeff Law <law@redhat.com>
40393 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40394 out of bounds read.
40396 2012-02-29 Marek Polacek <polacek@redhat.com>
40399 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40400 * elf/Makefile: Add rules to run tst-unused-dep.out.
40402 2012-02-28 David S. Miller <davem@davemloft.net>
40404 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40405 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40406 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40407 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40408 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40409 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40411 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40413 * math/libm-test.inc (llround_test): Move one test from
40414 lround_test. Use TEST_f_L in moved test.
40415 (lround_test): Move misplaced test to llround_test. Add testcase
40418 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40420 * sysdeps/x86_64/fpu/e_expf.S: New file.
40421 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40423 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40426 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40427 of remain_len that may cause incomplete multi-byte character and
40429 * posix/bug-regex33.c: New file.
40430 * posix/Makefile (tests): Add bug-regex33.
40432 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40434 * manual/macros.texi: New file.
40435 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40436 * manual/libc.texinfo: Include macros.texi.
40437 * manual/creatute.texi: Likewise.
40438 * manual/install.texi: Likewise.
40439 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40440 @glibcadj{} in references to the GNU C Library.
40441 * manual/charset.texi: Likewise.
40442 * manual/conf.texi: Likewise.
40443 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40444 when not using those macros.
40445 * manual/creature.texi: Likewise.
40446 * manual/crypt.texi: Likewise.
40447 * manual/errno.texi: Likewise.
40448 * manual/filesys.texi: Likewise.
40449 * manual/header.texi: Likewise.
40450 * manual/install.texi: Likewise.
40451 * manual/intro.texi: Likewise.
40452 * manual/io.texi: Likewise.
40453 * manual/job.texi: Likewise.
40454 * manual/lang.texi: Likewise.
40455 * manual/libc.texiinfo: Likewise.
40456 * manual/llio.texi: Likewise.
40457 * manual/locale.texi: Likewise.
40458 * manual/maint.texi: Likewise.
40459 * manual/math.texi: Likewise.
40460 * manual/memory.texi: Likewise.
40461 * manual/message.texi: Likewise.
40462 * manual/nss.texi: Likewise.
40463 * manual/pattern.texi: Likewise.
40464 * manual/process.texi: Likewise.
40465 * manual/resource.texi: Likewise.
40466 * manual/search.texi: Likewise.
40467 * manual/setjmp.texi: Likewise.
40468 * manual/signal.texi: Likewise.
40469 * manual/socket.texi: Likewise.
40470 * manual/startup.texi: Likewise.
40471 * manual/stdio.texi: Likewise.
40472 * manual/string.texi: Likewise.
40473 * manual/sysinfo.texi: Likewise.
40474 * manual/syslog.texi: Likewise.
40475 * manual/terminal.texi: Likewise.
40476 * manual/time.texi: Likewise.
40477 * manual/users.texi: Likewise.
40478 * INSTALL: Regenerated.
40479 * NOTES: Regenerated.
40480 * sysdeps/gnu/errlist.c: Regenerated.
40482 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40484 * include/dirent.h: Include <dirstream.h> before
40487 2012-02-28 David S. Miller <davem@davemloft.net>
40489 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40490 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40491 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40492 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40494 2012-02-27 David S. Miller <davem@davemloft.net>
40496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40498 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40499 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40502 frame pointer instead of stack pointer relative arg slot.
40503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40504 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40505 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40507 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40510 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40512 2012-02-27 David S. Miller <davem@davemloft.net>
40514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40518 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40519 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40520 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40521 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40523 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40525 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40526 later. Allow versions 5-9.
40527 * configure: Regenerated.
40528 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40529 required minimum version and 4.6 as recommended version. Do not
40530 mention bugs in GCC 2.7 and 2.8.
40531 * INSTALL: Regenerated.
40533 2012-02-27 David S. Miller <davem@davemloft.net>
40535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40539 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40540 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40541 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40542 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40544 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40545 manipulate bits before adding and subtracting TWO112[sx].
40546 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40548 2012-02-27 Roland McGrath <roland@hack.frob.com>
40551 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40552 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40553 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40554 being in POSIX, because they are in 1003.1-2008.
40556 * rt/tst-aio.c: Include <fcntl.h>.
40557 * rt/tst-aio7.c: Likewise.
40558 * rt/tst-aio64.c: Likewise.
40560 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40562 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40564 * manual/install.texi (--with-headers): Describe headers as
40565 interface headers, not private headers.
40566 (Specific advice for GNU/Linux systems): Describe use of headers
40567 from "make headers_install", not private headers from older
40569 * INSTALL: Regenerated.
40570 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40572 * sysdeps/unix/sysv/linux/configure: Regenerated.
40574 * manual/llio.texi (fclean): Remove documentation.
40576 * manual/Makefile (libc-texi-generated): New variable. Include
40578 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40579 $(libc-texi-generated), not duplicated list of files.
40580 (version.texi, stamp-version): New rules.
40581 (realclean): Remove $(libc-texi-generated), not individual files
40582 from that list. Do not remove dir-add.texinfo.
40583 * manual/libc.texinfo: Comment out uses of edition numbers and
40584 references to printed manual. Remove last-updated dates.
40585 (EDITION): Comment out.
40587 (VERSION, UPDATED): Remove.
40588 (version.texi): Include.
40590 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40592 * sysdeps/posix/spawni.c: Include <signal.h>.
40593 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40594 * sysdeps/pthread/aio_fsync.c: Likewise.
40596 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40598 * conform/Makefile (tests): Run only when not cross-compiling and
40599 when fast-check is not defined.
40601 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40602 * conform/data/limits.h-data: Fixes for POSIX2008.
40603 * conform/run-conformtest.sh: Run all tests.
40604 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40606 * include/bits/dlfcn.h: Likewise.
40607 * include/langinfo.h: Likewise.
40608 * include/monetary.h: Likewise.
40609 * include/sys/poll.h: Likewise.
40611 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40613 * posix/spawn.h: Define __need_sigset_t.
40614 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40615 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40616 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40617 to get sigevent_t only.
40618 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40619 only for __USE_GNU.
40620 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40621 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40622 process_vm_writev only for __USE_GNU.
40623 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40625 * conform/Makefile: For now ignore errors from run-conformtest.
40626 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40627 POSIX to avoid namespace pollution. Don't prepend headers.
40628 * conform/data/aio.h-data: Fixes for POSIX testing.
40629 * conform/data/fcntl.h-data: Likewise.
40630 * conform/data/glob.h-data: Likewise.
40631 * conform/data/grp.h-data: Likewise.
40632 * conform/data/pthread.h-data: Likewise.
40633 * conform/data/pwd.h-data: Likewise.
40634 * conform/data/signal.h-data: Likewise.
40635 * conform/data/spawn.h-data: Likewise.
40636 * conform/data/stdio.h-data: Likewise.
40637 * conform/data/stdlib.h-data: Likewise.
40638 * conform/data/stropts.h-data: Likewise.
40639 * conform/data/sys/mman.h-data: Likewise.
40640 * conform/data/sys/stat.h-data: Likewise.
40641 * conform/data/sys/types.h-data: Likewise.
40642 * conform/data/sys/wait.h-data: Likewise.
40643 * conform/data/time.h-data: Likewise.
40644 * conform/data/unistd.h-data: Likewise.
40645 * conform/data/utime.h-data: Likewise.
40647 * io/sys/stat.h: fchmod was always in POSIX.
40648 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40649 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40650 * rt/aio.h: Define __need_timespec before including <time.h>.
40651 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40652 struct. Add forward declaration of pthread_attr_t and use it in
40654 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40655 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40656 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40657 always remove CLK_TCK definition.
40659 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40661 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40663 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40665 * conform/run-conformtest.sh: New file.
40666 * conform/Makefile: Run run-conformtest for tests.
40667 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40670 * conform/data/uchar.h-data: New file.
40671 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40672 * conform/data/arpa/inet.h-data: Likewise.
40673 * conform/data/assert.h-data: Likewise.
40674 * conform/data/complex.h-data: Likewise.
40675 * conform/data/cpio.h-data: Likewise.
40676 * conform/data/ctype.h-data: Likewise.
40677 * conform/data/dirent.h-data: Likewise.
40678 * conform/data/dlfcn.h-data: Likewise.
40679 * conform/data/errno.h-data: Likewise.
40680 * conform/data/fcntl.h-data: Likewise.
40681 * conform/data/float.h-data: Likewise.
40682 * conform/data/fmtmsg.h-data: Likewise.
40683 * conform/data/fnmatch.h-data: Likewise.
40684 * conform/data/ftw.h-data: Likewise.
40685 * conform/data/glob.h-data: Likewise.
40686 * conform/data/grp.h-data: Likewise.
40687 * conform/data/iconv.h-data: Likewise.
40688 * conform/data/inttypes.h-data: Likewise.
40689 * conform/data/langinfo.h-data: Likewise.
40690 * conform/data/libgen.h-data: Likewise.
40691 * conform/data/limits.h-data: Likewise.
40692 * conform/data/locale.h-data: Likewise.
40693 * conform/data/math.h-data: Likewise.
40694 * conform/data/monetary.h-data: Likewise.
40695 * conform/data/mqueue.h-data: Likewise.
40696 * conform/data/ndbm.h-data: Likewise.
40697 * conform/data/net/if.h-data: Likewise.
40698 * conform/data/netdb.h-data: Likewise.
40699 * conform/data/netinet/in.h-data: Likewise.
40700 * conform/data/nl_types.h-data: Likewise.
40701 * conform/data/poll.h-data: Likewise.
40702 * conform/data/pthread.h-data: Likewise.
40703 * conform/data/pwd.h-data: Likewise.
40704 * conform/data/regex.h-data: Likewise.
40705 * conform/data/sched.h-data: Likewise.
40706 * conform/data/search.h-data: Likewise.
40707 * conform/data/semaphore.h-data: Likewise.
40708 * conform/data/setjmp.h-data: Likewise.
40709 * conform/data/signal.h-data: Likewise.
40710 * conform/data/spawn.h-data: Likewise.
40711 * conform/data/stdarg.h-data: Likewise.
40712 * conform/data/stdio.h-data: Likewise.
40713 * conform/data/stdlib.h-data: Likewise.
40714 * conform/data/string.h-data: Likewise.
40715 * conform/data/strings.h-data: Likewise.
40716 * conform/data/stropts.h-data: Likewise.
40717 * conform/data/sys/ipc.h-data: Likewise.
40718 * conform/data/sys/mman.h-data: Likewise.
40719 * conform/data/sys/msg.h-data: Likewise.
40720 * conform/data/sys/resource.h-data: Likewise.
40721 * conform/data/sys/select.h-data: Likewise.
40722 * conform/data/sys/sem.h-data: Likewise.
40723 * conform/data/sys/shm.h-data: Likewise.
40724 * conform/data/sys/socket.h-data: Likewise.
40725 * conform/data/sys/stat.h-data: Likewise.
40726 * conform/data/sys/statvfs.h-data: Likewise.
40727 * conform/data/sys/time.h-data: Likewise.
40728 * conform/data/sys/timeb.h-data: Likewise.
40729 * conform/data/sys/times.h-data: Likewise.
40730 * conform/data/sys/types.h-data: Likewise.
40731 * conform/data/sys/uio.h-data: Likewise.
40732 * conform/data/sys/un.h-data: Likewise.
40733 * conform/data/sys/utsname.h-data: Likewise.
40734 * conform/data/sys/wait.h-data: Likewise.
40735 * conform/data/syslog.h-data: Likewise.
40736 * conform/data/tar.h-data: Likewise.
40737 * conform/data/termios.h-data: Likewise.
40738 * conform/data/utime.h-data: Likewise.
40739 * conform/data/utmpx.h-data: Likewise.
40740 * conform/data/varargs.h-data: Likewise.
40741 * conform/data/wchar.h-data: Likewise.
40742 * conform/data/wctype.h-data: Likewise.
40743 * conform/data/wordexp.h-data: Likewise.
40745 * include/stropts.h: New file.
40746 * include/uchar.h: New file.
40747 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40748 * include/assert.h: Likewise.
40749 * include/ctype.h: Likewise.
40750 * include/dirent.h: Likewise.
40751 * include/dlfcn.h: Likewise.
40752 * include/fcntl.h: Likewise.
40753 * include/fnmatch.h: Likewise.
40754 * include/glob.h: Likewise.
40755 * include/grp.h: Likewise.
40756 * include/libio.h: Likewise.
40757 * include/locale.h: Likewise.
40758 * include/math.h: Likewise.
40759 * include/net/if.h: Likewise.
40760 * include/netdb.h: Likewise.
40761 * include/netinet/in.h: Likewise.
40762 * include/pthread.h: Likewise.
40763 * include/pwd.h: Likewise.
40764 * include/regex.h: Likewise.
40765 * include/sched.h: Likewise.
40766 * include/search.h: Likewise.
40767 * include/setjmp.h: Likewise.
40768 * include/signal.h: Likewise.
40769 * include/stdio.h: Likewise.
40770 * include/stdlib.h: Likewise.
40771 * include/string.h: Likewise.
40772 * include/sys/cdefs.h: Likewise.
40773 * include/sys/mman.h: Likewise.
40774 * include/sys/msg.h: Likewise.
40775 * include/sys/resource.h: Likewise.
40776 * include/sys/select.h: Likewise.
40777 * include/sys/socket.h: Likewise.
40778 * include/sys/stat.h: Likewise.
40779 * include/sys/statvfs.h: Likewise.
40780 * include/sys/time.h: Likewise.
40781 * include/sys/times.h: Likewise.
40782 * include/sys/uio.h: Likewise.
40783 * include/sys/utsname.h: Likewise.
40784 * include/sys/wait.h: Likewise.
40785 * include/termios.h: Likewise.
40786 * include/time.h: Likewise.
40787 * include/ulimit.h: Likewise.
40788 * include/unistd.h: Likewise.
40789 * include/utime.h: Likewise.
40790 * include/wchar.h: Likewise.
40791 * include/wctype.h: Likewise.
40792 * include/wordexp.h: Likewise.
40794 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40796 * time/time.h: TIME_UTC must be a macro.
40797 Make timespec_get available for ISO C11 only as well.
40799 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40801 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40802 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40804 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40806 * configure.in: Use -o not -a in test for unsupported multi-arch.
40808 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40810 * manual/texinfo.tex: Update to version 2012-01-19.16.
40812 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40814 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40816 2012-02-24 Roland McGrath <roland@hack.frob.com>
40819 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40820 * manual/fdl-1.3.texi: New file.
40821 * manual/fdl-1.1.texi: File removed.
40824 * manual/libc.texinfo (FDL_VERSION): New @set.
40825 Use it for mention of FDL in cover text.
40826 (Documentation License): Use it in @include file name.
40828 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40829 Roland McGrath <roland@hack.frob.com>
40832 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40833 (not LONG_LONG_MAX and LONG_LONG_MIN.
40834 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40835 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40837 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40839 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40843 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40844 manipulate bits before adding and subtracting TWO23[sx].
40845 * math/libm-test.inc (nearbyint_test): Add more tests.
40847 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40850 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40851 bits before adding and subtracting TWO23[sx].
40852 * math/libm-test.inc (rint_test): Add more tests.
40853 (rint_test_tonearest): Likewise.
40854 (rint_test_towardzero): Likewise.
40855 (rint_test_downward): Likewise.
40856 (rint_test_upward: Likewise.
40858 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40861 * include/stdc-predef.h: New file. Extracted from features.h.
40862 * include/features.h: Include stdc-predef.h.
40863 * Makefile (headers): Add stdc-predef.h.
40864 * CONFORMANCE (Compiler limitations): Update.
40866 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40868 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40870 2012-02-21 David S. Miller <davem@davemloft.net>
40872 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40873 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40875 2012-02-20 David S. Miller <davem@davemloft.net>
40877 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40878 using a normal save/restore sequence, rather than allocating a
40879 dummy stack frame just to store a frame pointer and restore.
40880 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40882 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40884 * manual/install.texi: Fix stray word in line-wrapped comment.
40886 2012-02-20 David S. Miller <davem@davemloft.net>
40888 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40889 both binutils and gcc support GOTDATA.
40891 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40892 "rd %pc" in the PIC register setup sequences.
40894 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40895 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40896 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40897 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40898 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40899 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40900 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40901 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40902 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40903 (SYSCALL_ERROR_HANDLER): Likewise.
40904 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40905 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40906 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40907 (SYSCALL_ERROR_HANDLER): Likewise.
40909 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40910 (HAVE_GCC_GOTDATA): New.
40911 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40912 relocation support in both binutils and gcc.
40913 * sysdeps/sparc/elf/configure: Regenerate.
40915 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40916 * sysdeps/sparc/sparc32/elf/configure: Delete.
40917 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40918 * sysdeps/sparc/sparc64/elf/configure: Delete.
40919 * sysdeps/sparc/elf/configure.in: New file.
40920 * sysdeps/sparc/elf/configure: Generate.
40922 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40923 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40924 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40925 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40926 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40928 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40930 * manual/install.texi: Do not mention specific glibc version
40932 * manual/libc.texinfo (VERSION, UPDATED): Update.
40933 (@copying): Use @copyright{} and range of years.
40935 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40938 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40939 [crti.S not in sysdirs] (generated): Do not append.
40940 [crti.S not in sysdirs] (omit-deps): Likewise.
40941 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40942 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40943 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40944 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40945 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40947 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40948 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40949 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40950 * csu/defs.awk: Remove file.
40951 * sysdeps/generic/initfini.c: Likewise.
40952 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40954 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40957 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40959 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40960 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40961 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40962 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40963 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40964 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40966 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40967 (__EPOLL_PACKED): Define to empty if not defined by
40969 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40973 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40975 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40976 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40977 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40978 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40980 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40984 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40986 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40988 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40989 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40990 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40993 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40995 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40996 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40998 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41000 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41001 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41003 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41005 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41008 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41010 * math/w_acos.c: Use non-signaling floating-point comparisons.
41011 * math/w_acosf.c: Likewise.
41012 * math/w_acosh.c: Likewise.
41013 * math/w_acoshf.c: Likewise.
41014 * math/w_acoshl.c: Likewise.
41015 * math/w_acosl.c: Likewise.
41016 * math/w_asin.c: Likewise.
41017 * math/w_asinf.c: Likewise.
41018 * math/w_asinl.c: Likewise.
41019 * math/w_atanh.c: Likewise.
41020 * math/w_atanhf.c: Likewise.
41021 * math/w_atanhl.c: Likewise.
41022 * math/w_exp2.c: Likewise.
41023 * math/w_exp2f.c: Likewise.
41024 * math/w_exp2l.c: Likewise.
41025 * math/w_j0.c: Likewise.
41026 * math/w_j0f.c: Likewise.
41027 * math/w_j0l.c: Likewise.
41028 * math/w_j1.c: Likewise.
41029 * math/w_j1f.c: Likewise.
41030 * math/w_j1l.c: Likewise.
41031 * math/w_jn.c: Likewise.
41032 * math/w_jnf.c: Likewise.
41033 * math/w_log.c: Likewise.
41034 * math/w_log10.c: Likewise.
41035 * math/w_log10f.c: Likewise.
41036 * math/w_log10l.c: Likewise.
41037 * math/w_log2.c: Likewise.
41038 * math/w_log2f.c: Likewise.
41039 * math/w_log2l.c: Likewise.
41040 * math/w_logf.c: Likewise.
41041 * math/w_logl.c: Likewise.
41042 * math/w_sqrt.c: Likewise.
41043 * math/w_sqrtf.c: Likewise.
41044 * math/w_sqrtl.c: Likewise.
41045 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41046 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41047 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41048 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41049 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41051 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41054 * manual/string.texi (strnlen): Use correct parameter name in
41055 equivalent expression.
41057 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41060 * manual/users.texi (seteuid): Consistently use neweuid for
41063 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41066 * manual/nss.texi (Services in the NSS configuration): Correct
41067 list of services in example configuration file.
41069 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41072 * manual/arith.texi: Remove statements about negative zero
41073 behaving identically to zero.
41075 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41078 * manual/install.texi: Do not document upgrading from libc5.
41080 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41083 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41085 2012-02-18 David S. Miller <davem@davemloft.net>
41087 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41088 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41089 %o7 across the call.
41090 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41092 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41093 SETUP_PIC_REG_LEAF.
41094 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41095 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41096 * sysdeps/sparc/crtn.S: Likewise.
41098 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41100 * aout/Makefile: Remove.
41102 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41105 * manual/examples/argp-ex1.c (main): Format definition in GNU
41107 * manual/examples/argp-ex2.c (main): Likewise.
41108 * manual/examples/argp-ex3.c (main): Likewise.
41109 * manual/examples/argp-ex4.c (main): Likewise.
41110 * manual/examples/longopt.c (main): Use new-style prototype
41112 * manual/examples/strncat.c (main): Specify return type and use
41113 (void) for arguments.
41114 * manual/examples/subopt.c (main): Use char **argv argument.
41116 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41119 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41122 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41125 * manual/string.texi (strchr): Change when strchrnul is
41128 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41131 * manual/locale.texi (setlocale): Document LOCPATH.
41133 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41136 * manual/process.texi (execle): Move @dots{} before last argument.
41138 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41141 * manual/charset.texi (Generic Charset Conversion): Fix typo
41142 (LC_TYPE -> LC_CTYPE).
41144 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41147 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41148 (scalbnf): Likewise.
41149 (scalbnl): Likewise.
41150 (scalbln): Likewise.
41151 (scalblnf): Likewise.
41152 (scalblnl): Likewise.
41153 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41154 (vwarnx): Likewise.
41157 * manual/filesys.texi (telldir): Use braces around return type.
41158 * manual/llio.texi (mmap): Add space after comma.
41159 (mmap64): Likewise.
41160 * manual/math.texi (jn): Use @var{} on parameter names.
41166 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41168 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41170 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41171 (sched_get_priority_max): Likewise.
41172 * manual/signal.texi (sigvec): Add space after comma.
41173 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41175 (if_indextoname): Likewise.
41176 (if_freenameindex): Likewise.
41177 (sendto): Use ',' instead of '.' in prototype.
41178 * manual/startup.texi (syscall): Use @dots{} instead of literal
41180 * manual/stdio.texi (__fpending): Separate initial words of
41181 paragraph from @deftypefun line.
41182 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41184 (vsyslog): Use @var{} on parameter names.
41185 * manual/terminal.texi (stty): Use @var{} on parameter names.
41186 * manual/users.texi (getutmp): Use @var{} on parameter names.
41187 (getutmpx): Likewise.
41189 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41192 * manual/stdio.texi (fopen): Fix typos in description of
41195 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41198 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41199 get clock_id definition.
41201 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41204 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41205 (madvise): Cast every argument to void on its own.
41207 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41210 * manual/startup.texi (Exit Status): Fix typo.
41212 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41215 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41216 * manual/examples/argp-ex2.c: Likewise.
41217 * manual/examples/argp-ex3.c: Likewise.
41219 2012-02-16 Richard Henderson <rth@redhat.com>
41221 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41222 * sysdeps/s390/s390-32/initfini.c: Remove.
41223 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41224 * sysdeps/s390/s390-64/initfini.c: Remove.
41226 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41228 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41229 compiler output for sysdeps/generic/initfini.c.
41230 * sysdeps/sh/elf/initfini.c: Remove file.
41232 2012-02-16 David S. Miller <davem@davemloft.net>
41235 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41237 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41238 * sysdeps/sparc/crti.S: New file.
41239 * sysdeps/sparc/crtn.S: New file.
41240 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41241 * sysdeps/sparc/sparc64/Makefile: Likewise.
41243 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41246 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41248 2012-02-15 Roland McGrath <roland@hack.frob.com>
41251 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41253 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41254 (write, read, close): Likewise.
41255 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41257 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41259 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41260 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41261 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41262 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41264 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41268 2012-02-14 Marek Polacek <polacek@redhat.com>
41270 * sysdeps/x86_64/crti.S: New file.
41271 * sysdeps/x86_64/crtn.S: New file.
41272 * sysdeps/x86_64/elf/initfini.c: Remove file.
41274 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41276 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41277 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41278 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41279 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41281 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41282 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41285 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41287 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41288 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41289 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41290 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41292 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41296 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41298 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41299 __feraiseexcept instead of feraiseexcept.
41301 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41302 nanosleep invocations.
41303 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41304 strings, and add error checking for a nanosleep invocations.
41306 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41308 Replace FSF snail mail address with URLs, as per GNU coding standards.
41309 Most of the snail mail addresses were wrong anyway, and omitting
41310 them makes the source code easier to maintain. Almost all of the
41311 changes are to license notices and to locale LC_IDENTIFICATION
41312 addresses, except for this one:
41313 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41314 not its snail mail address.
41316 2012-02-09 Richard Henderson <rth@twiddle.net>
41318 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41319 of kernel-features.h.
41321 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41323 2012-02-08 Marek Polacek <polacek@redhat.com>
41325 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41326 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41327 * sysdeps/gnu/_G_config.h: Likewise.
41328 * sysdeps/generic/_G_config.h: Likewise.
41330 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41332 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41336 * sysdeps/powerpc/powerpc32/crti.S: New file.
41337 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41338 * sysdeps/powerpc/powerpc64/crti.S: New file.
41339 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41341 * Makeconfig (have-initfini): Don't set.
41342 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41343 * configure.in (nopic_initfini): Don't substitute.
41344 * config.h.in (HAVE_INITFINI): Don't #undef.
41345 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41346 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41348 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41350 Support crti.S and crtn.S provided directly by architectures.
41351 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41352 [crti.S in sysdirs] (omit-deps): Likewise.
41353 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41354 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41355 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41356 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41357 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41358 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41359 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41360 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41361 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41362 compiler output for sysdeps/generic/initfini.c.
41363 * sysdeps/i386/elf/Makefile: Remove file.
41364 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41366 2012-02-07 Marek Polacek <polacek@redhat.com>
41368 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41369 * sysdeps/gnu/_G_config.h: Likewise.
41370 * sysdeps/mach/hurd/_G_config.h: Likewise.
41372 2012-02-07 Marek Polacek <polacek@redhat.com>
41374 * math/Makefile (tests): Add tst-CMPLX2.
41375 * math/tst-CMPLX2.c: New file.
41377 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41379 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41381 * math/libm-test.inc (jn_test): Add missing L suffix.
41383 2012-02-06 Marek Polacek <polacek@redhat.com>
41385 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41386 * sysdeps/i386/fpu/e_powf.S: Likewise.
41387 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41388 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41389 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41390 * sysdeps/i386/fpu/e_pow.S: Likewise.
41391 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41392 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41393 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41394 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41395 * sysdeps/i386/fpu/e_log2.S: Likewise.
41396 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41397 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41398 * sysdeps/i386/fpu/e_powl.S: Likewise.
41399 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41400 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41401 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41402 * sysdeps/i386/fpu/e_logl.S: Likewise.
41403 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41404 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41405 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41406 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41407 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41408 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41409 * sysdeps/i386/fpu/e_log.S: Likewise.
41410 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41411 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41412 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41413 * sysdeps/i386/fpu/e_logf.S: Likewise.
41414 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41415 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41416 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41417 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41418 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41419 * sysdeps/i386/fpu/e_log10.S: Likewise.
41420 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41421 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41422 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41423 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41424 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41425 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41426 * sysdeps/i386/asm-syntax.h: Likewise.
41427 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41428 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41429 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41430 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41431 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41432 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41433 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41434 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41435 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41436 * sysdeps/powerpc/sysdep.h: Likewise.
41437 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41438 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41440 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41443 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41445 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41447 * sysdeps/i386/sysdep.h: Include <features.h>.
41448 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41451 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41453 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41455 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41458 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41460 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41461 (SETUP_PIC_REG): Use GET_PC_THUNK.
41462 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41465 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41467 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41468 for non-PIC compilation.
41469 (SETUP_PIC_REG): Add .p2align directive.
41470 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41471 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41472 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41473 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41474 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41475 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41476 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41477 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41478 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41479 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41480 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41481 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41482 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41483 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41484 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41485 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41486 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41487 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41488 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41489 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41490 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41491 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41492 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41493 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41494 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41495 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41496 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41497 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41498 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41499 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41500 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41501 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41502 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41503 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41504 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41505 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41506 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41507 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41508 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41509 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41510 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41512 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41514 * math/tst-CMPLX.c: Include <stdio.h>.
41516 2012-01-31 Joseph Myers <joseph@codesourcery.com>
41518 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41520 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41521 * sysdeps/sparc/bits/mathdef.h: Likewise.
41523 2012-01-31 Marek Polacek <polacek@redhat.com>
41525 * libio/libio.h: Don't define _PARAMS.
41526 * locale/programs/config.h: Don't define PARAMS.
41527 * stdlib/strtol_l.c: Likewise.
41528 (__strtol_l): Remove PARAMS from the prototype.
41530 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41532 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41533 names. Just use the correct names. Remove unnecessary wrapper
41535 * malloc/arena.c: Likewise.
41536 * malloc/hooks.c: Likewise.
41538 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41539 ARENA_TEST says not to. Simplify test for creation of a new arena.
41540 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41542 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41544 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41546 (update_get_addr): New function.
41547 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41548 GET_ADDR_MODULE parameter.
41550 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41552 * crypt/cert.c: Remove __STDC__ conditionals.
41553 * crypt/crypt-entry.c: Likewise.
41554 * crypt/crypt_util.c: Likewise.
41555 * libio/filedoalloc.c: Likewise.
41556 * libio/fileops.c: Likewise.
41557 * libio/genops.c: Likewise.
41558 * libio/iofclose.c: Likewise.
41559 * libio/iofdopen.c: Likewise.
41560 * libio/iofopen.c: Likewise.
41561 * libio/iofopen64.c: Likewise.
41562 * libio/iogetdelim.c: Likewise.
41563 * libio/iopopen.c: Likewise.
41564 * libio/obprintf.c: Likewise.
41565 * libio/oldfileops.c: Likewise.
41566 * libio/oldiofclose.c: Likewise.
41567 * libio/oldiofdopen.c: Likewise.
41568 * libio/oldiofopen.c: Likewise.
41569 * libio/oldiopopen.c: Likewise.
41570 * libio/wfiledoalloc.c: Likewise.
41571 * libio/wgenops.c: Likewise.
41572 * locale/programs/xmalloc.c: Likewise.
41573 * misc/syslog.c: Likewise.
41574 * stdio-common/xbug.c: Likewise.
41575 * string/memchr.c: Likewise.
41576 * string/memcmp.c: Likewise.
41577 * string/memrchr.c: Likewise.
41578 * string/rawmemchr.c: Likewise.
41579 * sysdeps/posix/getcwd.c: Likewise.
41580 * time/strftime_l.c: Likewise.
41582 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41584 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41585 * config.make.in (config-cflags-sse2avx): Define.
41586 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41589 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41591 * scripts/config.guess: Update from upstream config git repository.
41592 * scripts/config.sub: Likewise.
41594 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41596 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41598 (R_TILEPRO_*, R_TILEGX_*): New macros.
41600 * scripts/firstversions.awk: Fix bug in version range handling.
41602 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41604 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41606 * include/sys/epoll.h: New file.
41607 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41610 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41612 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41613 Avoid unnecessary __WORDSIZE == 64 test.
41614 (fmaxf): Use VEX format if possible.
41619 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41620 * math/math_private.h: Remove libc_fegetround* and
41622 * sysdeps/i386/configure.in: Check for -msse2avx.
41623 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41624 also if SSE2AVX is defined.
41625 Remove libc_fegetround* and libc_fesetround*.
41626 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41627 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41628 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41630 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41631 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41632 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41633 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41634 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41636 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41638 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41640 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41642 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41644 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41647 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41649 * Makeconfig (libm): Define.
41650 * elf/Makefile: Add rules to build and run tst-relsort1.
41651 * elf/tst-relsort1.c: New file.
41652 * elf/tst-relsort1mod1.c: New file.
41653 * elf/tst-relsort1mod2.c: New file.
41655 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41657 * math/s_ldexp.c: Remove __STDC__ conditionals.
41658 * math/s_ldexpf.c: Likewise.
41659 * math/s_ldexpl.c: Likewise.
41660 * math/s_nextafter.c: Likewise.
41661 * math/s_nexttowardf.c: Likewise.
41662 * math/s_significand.c: Likewise.
41663 * math/s_significandf.c: Likewise.
41664 * math/s_significandl.c: Likewise.
41665 * math/w_jnl.c: Likewise.
41666 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41667 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41668 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41669 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41670 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41671 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41672 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41673 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41674 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41675 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41676 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41677 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41678 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41679 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41680 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41681 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41682 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41683 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41684 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41685 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41686 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41687 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41688 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41689 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41690 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41691 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41692 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41693 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41694 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41695 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41696 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41697 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41698 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41699 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41700 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41701 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41702 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41703 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41704 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41705 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41706 * sysdeps/ieee754/k_standard.c: Likewise.
41707 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41708 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41709 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41710 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41711 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41712 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41713 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41714 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41715 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41716 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41717 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41718 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41719 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41720 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41721 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41722 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41723 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41724 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41725 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41726 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41727 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41728 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41729 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41730 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41731 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41732 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41733 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41734 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41735 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41736 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41737 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41738 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41739 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41740 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41741 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41742 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41743 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41744 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41745 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41746 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41747 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41748 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41749 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41750 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41751 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41752 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41753 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41754 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41755 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41756 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41757 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41758 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41759 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41760 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41761 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41762 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41763 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41764 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41765 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41766 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41767 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41768 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41769 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41770 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41771 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41772 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41773 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41774 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41775 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41776 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41777 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41778 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41779 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41780 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41781 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41782 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41783 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41784 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41785 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41786 * sysdeps/ieee754/s_matherr.c: Likewise.
41787 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41788 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41789 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41790 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41792 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41794 * crypt/md5.h: Remove __STDC__ conditionals.
41795 * libio/libioP.h: Likewise.
41796 * locale/programs/config.h: Likewise.
41797 * sysdeps/generic/sysdep.h: Likewise.
41798 * sysdeps/i386/asm-syntax.h: Likewise.
41799 * sysdeps/s390/asm-syntax.h: Likewise.
41800 * sysdeps/unix/sysdep.h: Likewise.
41801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41804 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41806 * libio/libio.h: Remove __STDC__ conditionals.
41807 * malloc/obstack.h: Likewise.
41808 * math/complex.h: Likewise.
41809 * math/math.h: Likewise.
41810 * sysdeps/generic/_G_config.h: Likewise.
41811 * sysdeps/gnu/_G_config.h: Likewise.
41812 * sysdeps/mach/hurd/_G_config.h: Likewise.
41813 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41814 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41815 * sysdeps/sparc/bits/mathdef.h: Likewise.
41817 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41820 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41821 Clean up HAS_* macros.
41822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41823 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41825 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41827 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41828 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41829 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41830 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41831 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41833 2012-01-25 Joseph Myers <joseph@codesourcery.com>
41835 * elf/tst-unique3.cc (gets): Remove declaration.
41836 * elf/tst-unique3lib.cc (gets): Likewise.
41837 * elf/tst-unique3lib2.cc (gets): Likewise.
41838 * elf/tst-unique4.cc (gets): Likewise.
41840 2012-01-24 Ulrich Drepper <drepper@gmail.com>
41842 * include/stdio.h: Add C++ protection. Add gets declarations and
41844 * debug/tst-chk1.c: Don't declare gets here.
41845 * stdio-common/tst-gets.c: Likewise.
41847 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41849 * posix/glob: Remove directory.
41851 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41853 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41855 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41857 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41858 of the non-standard EPFNOSUPPORT.
41860 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41862 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41863 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41864 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41866 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41868 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41870 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41872 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41874 * nscd/grpcache.c (cache_addgr): Likewise.
41875 * nscd/hstcache.c (cache_addhst): Likewise.
41876 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41877 * nscd/pwdcache.c (cache_addpw): Likewise.
41878 * nscd/servicescache.c (cache_addserv): Likewise.
41880 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41882 * malloc/malloc.c: Various cleanups.
41883 * malloc/hooks.c: Likewise.
41885 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41886 * stdlib/bug-fmtmsg1.c: New file.
41888 * stdlib/fmtmsg.c (init): Add missing unlock.
41889 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41891 2012-01-12 Marek Polacek <polacek@redhat.com>
41893 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41896 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41898 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41899 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41900 macro to ensure uniqueness of label name.
41901 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41902 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41904 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41906 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41908 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41909 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41910 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41911 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41913 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41915 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41917 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41918 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41919 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41921 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41923 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41924 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41925 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41926 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41928 * math/bits/math-finite.h: Add ldexp support.
41930 2012-01-10 Marek Polacek <polacek@redhat.com>
41932 * locale/programs/localedef.h (show_archive_content): Add noreturn
41935 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41937 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41939 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41941 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41943 * io/Makefile (headers): Add bits/poll2.h.
41945 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41948 typo #include statement.
41950 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41952 * include/sys/cdefs.h: Define __attribute_alloc_size.
41953 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41954 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41955 * elf/pldd.c: Likewise.
41956 * iconv/iconv_charmap.c: Likewise.
41957 * iconv/iconvconfig.c: Likewise.
41958 * iconv/strtab.c: Likewise.
41959 * locale/programs/locale.c: Likewise.
41960 * locale/programs/localedef.h: Likewise.
41961 * locale/programs/simple-hash.c: Likewise.
41962 * nscd/nscd.h: Likewise.
41963 * nss/makedb.c: Likewise.
41964 * sysdeps/generic/ldconfig.h: Likewise.
41965 * locale/programs/localedef.c: Remove xmalloc prototype.
41966 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41968 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41970 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41973 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41975 * math/Makefile (tests): Add tst-CMPLX.
41976 * math/tst-CMPLX.c: New file.
41978 * math/complex.h (CMPLXL): Fix typo.
41980 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41981 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41983 * debug/tst-chk1.c: Add poll and ppoll tests.
41984 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41985 * include/sys/poll.h: Add hidden proto for ppoll.
41986 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41987 * sysdeps/mach/hurd/ppoll.c: Likewise.
41988 * io/ppoll.c: Likewise.
41989 * debug/poll_chk.c: New file.
41990 * debug/ppoll_chk.c: New file.
41991 * include/bits/poll2.h: New file.
41992 * io/bits/poll2.h: New file.
41995 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41997 * configure.in: static is always set to yes. Remove.
41998 * config.make.in: Don't set build-static.
41999 * Makeconfig: Remove use of build-static.
42000 * dlfcn/Makefile: Likewise.
42001 * elf/Makefile: Likewise.
42002 * math/Makefile: Likewise.
42003 * misc/Makefile: Likewise.
42004 * nptl/Makefile: Likewise.
42005 * sysdeps/mach/hurd/Makefile: Likewise.
42007 * configure.in: PWD_P is not used anymore.
42008 * config.make.in: Remove PWD_P entry.
42010 * configure.in: Remove last remnants of RANLIB.
42011 No need to check for signed size_t anymore.
42012 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42014 Remove __builtin_expect test because we require at least gcc 3.4.
42015 * aclocal.m4: Likewise.
42017 * wcsmbs/mbrtoc16.c: Implement using towc function.
42018 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42019 * wcsmbs/wcsmbsload.c: Likewise.
42020 * iconv/gconv_simple.c: Likewise.
42021 * iconv/gconv_int.h: Likewise.
42022 * iconv/gconv_builtin.h: Likewise.
42023 * iconv/iconv_prog.c: Remove CHAR16 handling.
42025 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42027 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42029 * configure.in: Remove --with-elf and --enable-bounded options.
42030 Dont set base_machine for ia64. More non-ELF conditions removed.
42031 Remove testing and setting of leading underscore information.
42032 * config.make.in (build-bounded): Set to no.
42033 * config.h.in: Remove NO_UNDERSCORES entry.
42034 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42036 * csu/start.c: Remove !NO_UNDERSCORE code.
42037 * locale/localeinfo.h: Likewise.
42038 * sysdeps/generic/machine-gmon.h: Likewise.
42039 * sysdeps/generic/sysdep.h: Likewise.
42040 * sysdeps/i386/sysdep.h: Likewise.
42041 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42042 * sysdeps/mach/sysdep.h: Likewise.
42043 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42044 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42045 * sysdeps/sh/sysdep.h: Likewise.
42046 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42047 * sysdeps/unix/i386/sysdep.S: Likewise.
42048 * sysdeps/unix/sparc/start.c: Likewise.
42049 * sysdeps/unix/sparc/sysdep.S: Likewise.
42050 * sysdeps/unix/sparc/sysdep.h: Likewise.
42051 * sysdeps/unix/start.c: Likewise.
42052 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42053 * sysdeps/x86_64/sysdep.h: Likewise.
42055 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42058 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42060 * argp/argp-fmtstream.h: Use const instead __const.
42061 * argp/argp.h: Likewise.
42062 * assert/assert.h: Likewise.
42063 * bits/fenv.h: Likewise.
42064 * bits/sched.h: Likewise.
42065 * bits/sigset.h: Likewise.
42066 * bits/sigthread.h: Likewise.
42067 * catgets/nl_types.h: Likewise.
42068 * conform/data/pthread.h-data: Likewise.
42069 * crypt/crypt-private.h: Likewise.
42070 * crypt/crypt.h: Likewise.
42071 * crypt/crypt_util.c: Likewise.
42072 * ctype/ctype.h: Likewise.
42073 * debug/execinfo.h: Likewise.
42074 * debug/mbsnrtowcs_chk.c: Likewise.
42075 * debug/mbsrtowcs_chk.c: Likewise.
42076 * debug/wcsnrtombs_chk.c: Likewise.
42077 * debug/wcsrtombs_chk.c: Likewise.
42078 * debug/wcstombs_chk.c: Likewise.
42079 * dirent/dirent.h: Likewise.
42080 * dlfcn/dlfcn.h: Likewise.
42081 * elf/neededtest4.c: Likewise.
42082 * grp/grp.h: Likewise.
42083 * gshadow/gshadow.h: Likewise.
42084 * iconv/gconv.h: Likewise.
42085 * iconv/gconv_int.h: Likewise.
42086 * iconv/gconv_simple.c: Likewise.
42087 * iconv/iconv.h: Likewise.
42088 * iconv/loop.c: Likewise.
42089 * iconv/skeleton.c: Likewise.
42090 * include/aio.h: Likewise.
42091 * include/aliases.h: Likewise.
42092 * include/argz.h: Likewise.
42093 * include/arpa/inet.h: Likewise.
42094 * include/assert.h: Likewise.
42095 * include/dirent.h: Likewise.
42096 * include/dlfcn.h: Likewise.
42097 * include/execinfo.h: Likewise.
42098 * include/fcntl.h: Likewise.
42099 * include/fenv.h: Likewise.
42100 * include/glob.h: Likewise.
42101 * include/grp.h: Likewise.
42102 * include/libintl.h: Likewise.
42103 * include/mntent.h: Likewise.
42104 * include/netdb.h: Likewise.
42105 * include/pwd.h: Likewise.
42106 * include/rpc/netdb.h: Likewise.
42107 * include/sched.h: Likewise.
42108 * include/search.h: Likewise.
42109 * include/shadow.h: Likewise.
42110 * include/signal.h: Likewise.
42111 * include/stdio.h: Likewise.
42112 * include/stdlib.h: Likewise.
42113 * include/string.h: Likewise.
42114 * include/sys/socket.h: Likewise.
42115 * include/sys/stat.h: Likewise.
42116 * include/sys/statfs.h: Likewise.
42117 * include/sys/statvfs.h: Likewise.
42118 * include/sys/syslog.h: Likewise.
42119 * include/sys/time.h: Likewise.
42120 * include/sys/uio.h: Likewise.
42121 * include/time.h: Likewise.
42122 * include/unistd.h: Likewise.
42123 * include/utmp.h: Likewise.
42124 * include/wchar.h: Likewise.
42125 * include/wctype.h: Likewise.
42126 * inet/aliases.h: Likewise.
42127 * inet/arpa/inet.h: Likewise.
42128 * inet/netinet/ether.h: Likewise.
42129 * inet/netinet/in.h: Likewise.
42130 * intl/libintl.h: Likewise.
42131 * io/bits/fcntl2.h: Likewise.
42132 * io/fcntl.h: Likewise.
42133 * io/ftw.h: Likewise.
42134 * io/sys/poll.h: Likewise.
42135 * io/sys/stat.h: Likewise.
42136 * io/sys/statfs.h: Likewise.
42137 * io/sys/statvfs.h: Likewise.
42138 * io/utime.h: Likewise.
42139 * libio/bits/stdio.h: Likewise.
42140 * libio/bits/stdio2.h: Likewise.
42141 * libio/libio.h: Likewise.
42142 * libio/libioP.h: Likewise.
42143 * libio/stdio.h: Likewise.
42144 * locale/lc-ctype.c: Likewise.
42145 * locale/locale.h: Likewise.
42146 * login/utmp.h: Likewise.
42147 * malloc/arena.c: Likewise.
42148 * malloc/malloc.c: Likewise.
42149 * malloc/malloc.h: Likewise.
42150 * malloc/mcheck.c: Likewise.
42151 * malloc/mtrace.c: Likewise.
42152 * math/bits/mathcalls.h: Likewise.
42153 * math/fenv.h: Likewise.
42154 * math/math_private.h: Likewise.
42155 * misc/bits/error.h: Likewise.
42156 * misc/bits/syslog.h: Likewise.
42157 * misc/err.h: Likewise.
42158 * misc/error.h: Likewise.
42159 * misc/fstab.h: Likewise.
42160 * misc/mntent.h: Likewise.
42161 * misc/regexp.h: Likewise.
42162 * misc/search.h: Likewise.
42163 * misc/sgtty.h: Likewise.
42164 * misc/sys/mman.h: Likewise.
42165 * misc/sys/syslog.h: Likewise.
42166 * misc/sys/uio.h: Likewise.
42167 * misc/sys/xattr.h: Likewise.
42168 * misc/ttyent.h: Likewise.
42169 * nis/rpcsvc/ypclnt.h: Likewise.
42170 * nss/nss.h: Likewise.
42171 * posix/bits/unistd.h: Likewise.
42172 * posix/fnmatch.h: Likewise.
42173 * posix/glob.h: Likewise.
42174 * posix/sched.h: Likewise.
42175 * posix/spawn.h: Likewise.
42176 * posix/sys/wait.h: Likewise.
42177 * posix/unistd.h: Likewise.
42178 * posix/wordexp.h: Likewise.
42179 * pwd/pwd.h: Likewise.
42180 * resolv/netdb.h: Likewise.
42181 * resource/sys/resource.h: Likewise.
42182 * rt/aio.h: Likewise.
42183 * rt/bits/mqueue2.h: Likewise.
42184 * rt/mqueue.h: Likewise.
42185 * shadow/shadow.h: Likewise.
42186 * signal/signal.h: Likewise.
42187 * socket/send.c: Likewise.
42188 * socket/sendto.c: Likewise.
42189 * socket/sys/socket.h: Likewise.
42190 * stdio-common/printf.h: Likewise.
42191 * stdlib/bits/stdlib.h: Likewise.
42192 * stdlib/fmtmsg.h: Likewise.
42193 * stdlib/monetary.h: Likewise.
42194 * stdlib/stdlib.h: Likewise.
42195 * stdlib/ucontext.h: Likewise.
42196 * streams/stropts.h: Likewise.
42197 * string/argz.h: Likewise.
42198 * string/bits/string2.h: Likewise.
42199 * string/string.h: Likewise.
42200 * string/strings.h: Likewise.
42201 * sunrpc/rpc/auth.h: Likewise.
42202 * sunrpc/rpc/auth_des.h: Likewise.
42203 * sunrpc/rpc/clnt.h: Likewise.
42204 * sunrpc/rpc/netdb.h: Likewise.
42205 * sunrpc/rpc/pmap_clnt.h: Likewise.
42206 * sunrpc/rpc/xdr.h: Likewise.
42207 * sysdeps/generic/inttypes.h: Likewise.
42208 * sysdeps/generic/net/if.h: Likewise.
42209 * sysdeps/generic/sys/swap.h: Likewise.
42210 * sysdeps/gnu/net/if.h: Likewise.
42211 * sysdeps/gnu/utmpx.h: Likewise.
42212 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42213 * sysdeps/i386/i486/bits/string.h: Likewise.
42214 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42215 * sysdeps/s390/bits/string.h: Likewise.
42216 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42217 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42218 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42219 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42220 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42221 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42222 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42223 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42224 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42225 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42226 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42227 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42228 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42229 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42230 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42231 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42232 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42233 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42234 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42235 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42236 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42237 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42238 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42239 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42240 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42241 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42242 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42243 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42244 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42245 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42246 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42247 * sysvipc/sys/ipc.h: Likewise.
42248 * sysvipc/sys/msg.h: Likewise.
42249 * sysvipc/sys/sem.h: Likewise.
42250 * sysvipc/sys/shm.h: Likewise.
42251 * termios/termios.h: Likewise.
42252 * time/sys/time.h: Likewise.
42253 * time/time.h: Likewise.
42254 * wcsmbs/bits/wchar2.h: Likewise.
42255 * wcsmbs/uchar.h: Likewise.
42256 * wcsmbs/wchar.h: Likewise.
42257 * wctype/wctype.h: Likewise.
42260 * Makeconfig: Remove all but ELF support including AIX support.
42261 * Makerules: Likewise.
42262 * config.h.in: Likewise.
42263 * config.make.in: Likewise.
42264 * configure: Likewise.
42265 * configure.in: Likewise.
42266 * csu/Makefile: Likewise.
42267 * csu/version.c: Likewise.
42268 * debug/Makefile: Likewise.
42269 * dlfcn/Makefile: Likewise.
42270 * elf/Makefile: Likewise.
42271 * extra-lib.mk: Likewise.
42272 * iconv/Makefile: Likewise.
42273 * include/libc-symbols.h: Likewise.
42274 * include/shlib-compat.h: Likewise.
42275 * resolv/Makefile: Likewise.
42276 * resolv/res_libc.c: Likewise.
42277 * rt/Makefile: Likewise.
42278 * sysdeps/i386/asm-syntax.h: Likewise.
42279 * sysdeps/i386/sysdep.h: Likewise.
42280 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42281 * sysdeps/mach/sysdep.h: Likewise.
42282 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42283 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42284 * sysdeps/s390/asm-syntax.h: Likewise.
42285 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42286 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42287 * sysdeps/sh/sysdep.h: Likewise.
42288 * sysdeps/unix/sparc/sysdep.h: Likewise.
42289 * sysdeps/wordsize-32/divdi3.c: Likewise.
42290 * sysdeps/x86_64/sysdep.h: Likewise.
42292 * argp/Versions: Remove _argp_unlock_xxx.
42295 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42296 * abilist/libBrokenLocale.abilist: Likewise.
42297 * abilist/libanl.abilist: Likewise.
42298 * abilist/libc.abilist: Likewise.
42299 * abilist/libcrypt.abilist: Likewise.
42300 * abilist/libdl.abilist: Likewise.
42301 * abilist/libm.abilist: Likewise.
42302 * abilist/libnsl.abilist: Likewise.
42303 * abilist/libpthread.abilist: Likewise.
42304 * abilist/libresolv.abilist: Likewise.
42305 * abilist/librt.abilist: Likewise.
42306 * abilist/libthread_db.abilist: Likewise.
42307 * abilist/libutil.abilist: Likewise.
42308 * abilist/libnss_db.abilist: New file.
42310 * scripts/abilist.awk: Add support for indirect functions.
42312 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42314 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42316 * shlib-versions: Remove entries for ports architectures.
42318 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42320 * elf/stackguard-macros.h: Remove support for IA-64.
42321 * elf/tst-auditmod1.c: Likewise.
42322 * sysdeps/generic/ldsodefs.h: Likewise.
42324 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42325 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42329 * configure.in: Remove --enable-omitfp support.
42331 * config.make.in: Likewise.
42332 * Makeconfig: Likewise.
42333 * manual/install.texi: Likewise.
42335 In case anyone cares, the IA-64 architecture could move to ports.
42336 * sysdeps/ia64/*: Removed.
42337 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42338 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42341 * configure.in: Remove entries for unsupported architectures.
42344 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42345 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42347 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42348 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42349 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42350 fall back to using wcrtomb.
42351 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42352 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42354 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42355 * wcsmbs/tst-c16c32-1.c: New file.
42357 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42360 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42362 * elf/tst-unique3.cc: Add explicit declaration of gets.
42363 * elf/tst-unique3lib.cc: Likewise.
42364 * elf/tst-unique3lib2.cc: Likewise.
42365 * elf/tst-unique4.cc: Likewise.
42367 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42369 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42372 * assert/assert.h (static_assert): Don't define for C++.
42373 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42374 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42376 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42378 * iconv/loop.c (single loop): Fix assertion in storing of
42381 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42383 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42385 * posix/getconf.c: Update copyright year.
42386 * nss/getent.c: Likewise.
42387 * nss/makedb.c: Likewise.
42388 * iconv/iconvconfig.c: Likewise.
42389 * iconv/iconv_prog.c: Likewise.
42390 * elf/ldconfig.c: Likewise.
42391 * elf/pldd.c: Likewise.
42392 * elf/sotruss.ksh: Likewise.
42393 * catgets/gencat.c: Likewise.
42394 * csu/version.c: Likewise.
42395 * elf/ldd.bash.in: Likewise.
42396 * elf/sprof.c (print_version): Likewise.
42397 * locale/programs/locale.c: Likewise.
42398 * locale/programs/localedef.c: Likewise.
42399 * login/programs/pt_chown.c: Likewise.
42400 * nscd/nscd.c (print_version): Likewise.
42401 * debug/xtrace.sh: Likewise.
42402 * malloc/memusage.sh: Likewise.
42403 * malloc/mtrace.pl: Likewise.
42404 * debug/catchsegv.sh: Likewise.
42406 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42408 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42411 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42414 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42415 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42417 * iconv/gconv_int.h: Likewise.
42418 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42419 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42420 from libc for GLIBC_2.16.
42421 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42422 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42423 * wcsmbs/uchar.h: Really define mbstate_t.
42424 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42425 * wcsmbs/c16rtomb.c: New file.
42426 * wcsmbs/mbrtoc16.c: New file.
42427 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42428 for C/POSIX locale.
42429 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42430 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42432 * wcsmbs/wchar.h: Add missing __restrict.
42434 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42437 * time/Makefile (routines): Add timespec_get.
42438 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42439 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42440 timespec for ISO C11.
42441 * time/timespec_get.c: New file.
42442 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42443 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42446 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42447 * stdlib/stdlib.h: Declare aligned_alloc.
42448 * Versions.def: Add GLIBC_2.16 for libc.
42449 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42452 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42455 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42459 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42462 * assert/assert.h (static_assert): Define.
42464 * version.h: Update for 2.16 development version.
42467 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42470 * version.h (RELEASE): Bump for 2.15 release.
42471 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42473 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42474 Patch by Marek Polacek <mpolacek@redhat.com>.
42476 * bits/byteswap.h: Protect long long constants with __extension__.
42477 * sysdeps/i386/bits/byteswap.h: Likewise.
42478 * sysdeps/ia64/bits/byteswap.h: Likewise.
42479 * sysdeps/s390/bits/byteswap.h: Likewise.
42480 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42482 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42485 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42486 destination buffer.
42487 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42489 2011-12-23 Marek Polacek <polacek@redhat.com>
42491 * elf/dl-addr.c (determine_info): Add inline keyword.
42492 * elf/tst-auditmod4b.c (check_avx): Likewise.
42493 * elf/tst-auditmod6b.c (check_avx): Likewise.
42494 * elf/tst-auditmod6c.c (check_avx): Likewise.
42495 * elf/tst-auditmod7b.c (check_avx): Likewise.
42497 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42499 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42502 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42505 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42506 processing for last bytes.
42508 2011-08-06 Bruno Haible <bruno@clisp.org>
42511 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42512 U+0385, not to U+1FEE.
42515 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42516 entry for U+00A5 U+0301.
42518 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42521 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42522 buffer for the output is too small.
42524 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42528 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42529 SSE flags if possible.
42531 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42534 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42535 processing for last bytes.
42537 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42539 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42540 (syscall-list-default-options, syscall-list-default-condition)
42541 (syscall-list-includes): Define.
42542 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42543 list of ABIs and options and #if conditions for each ABI. Do not
42544 handle common syscalls between ABIs specially.
42545 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42547 (syscall-list-variants, syscall-list-32bit-options)
42548 (syscall-list-32bit-condition, syscall-list-64bit-options)
42549 (syscall-list-64bit-condition): Define.
42550 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42551 (syscall-list-variants, syscall-list-32bit-options)
42552 (syscall-list-32bit-condition, syscall-list-64bit-options)
42553 (syscall-list-64bit-condition): Define.
42554 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42556 (syscall-list-variants, syscall-list-32bit-options)
42557 (syscall-list-32bit-condition, syscall-list-64bit-options)
42558 (syscall-list-64bit-condition): Define.
42559 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42561 (syscall-list-variants, syscall-list-32bit-options)
42562 (syscall-list-32bit-condition, syscall-list-64bit-options)
42563 (syscall-list-64bit-condition): Define.
42565 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42567 * locale/iso-639.def: Add brx entry.
42570 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42571 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42573 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42574 __feraiseexcept_renamed.
42576 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42579 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42580 EPOLLET with unsigned values.
42581 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42582 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42584 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42585 to large cancellation.
42586 * math/s_cacoshf.c: Likewise.
42587 * math/s_cacoshl.c: Likewise.
42589 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42593 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42594 * math/s_cacoshf.c: Likewise.
42595 * math/s_cacoshl.c: Likewise.
42597 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42600 * iconv/gconv.h: Define __GCONV_SWAP.
42601 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42602 * iconvdata/utf-16.c: Likewise.
42603 * iconvdata/utf-32.c: Likewise.
42605 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42608 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42609 numerator after shifting it by one limb.
42611 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42613 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42614 under [__USE_EXTERN_INLINES].
42616 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42619 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42621 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42623 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42624 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42626 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42627 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42628 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42629 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42630 for strncasecmp/strncasecmp_l compilation.
42631 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42632 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42634 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42637 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42640 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42643 * time/tzfile.c (__tzfile_read): Check values from file header.
42645 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42647 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42648 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42649 * powerpc/powerpc32/dl-start.S: Likewise.
42650 * powerpc/powerpc32/elf/start.S: Likewise.
42651 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42652 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42653 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42654 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42655 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42656 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42657 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42658 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42659 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42660 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42661 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42662 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42663 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42664 * powerpc/powerpc32/memset.S: Likewise.
42665 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42666 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42667 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42668 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42669 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42670 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42671 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42672 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42673 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42674 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42675 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42676 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42677 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42679 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42681 * math/libm-test.inc: Added more nearbyint tests.
42682 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42683 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42684 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42685 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42687 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42689 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42692 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42694 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42695 Add wcscpy-ssse3 wcscpy-c.
42696 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42697 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42698 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42699 * sysdeps/x86_64/wcschr.S: New file.
42700 * sysdeps/x86_64/wcsrchr.S: New file.
42701 * string/test-strcmp.c: Remove checking of wcscmp function for
42703 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42704 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42705 wcsrchr-sse2 wcsrchr-c.
42706 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42707 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42708 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42709 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42710 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42711 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42712 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42713 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42714 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42715 * wcsmbc/wcschr.c (WCSCHR): New macro.
42717 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42719 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42720 * wcsmbs/test-wcsrchr.c: New file.
42721 * string/test-strrchr.c: Add wcsrchr support.
42723 * wcsmbs/test-wcscpy.c: New file.
42724 * string/test-strcpy.c: Add wcscpy support.
42727 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42729 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42732 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42735 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42737 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42739 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42740 Minor optimizations.
42742 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42743 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42744 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42746 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42748 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42749 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42750 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42751 for gcc to avoid warnings.
42752 * inet/Makefile (tests): Add tst-checks.
42753 * inet/tst-checks.c: New file.
42755 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42758 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42761 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42762 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42764 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42766 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42768 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42771 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42773 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42775 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42776 conditional on GCC version.
42777 (__arch_compare_and_exchange_val_8_acq)
42778 (__arch_compare_and_exchange_val_16_acq)
42779 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42780 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42781 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42783 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42785 * sysdeps/sh/backtrace.c: New file.
42787 2011-12-02 Andreas Schwab <schwab@redhat.com>
42789 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42792 2011-12-01 Andreas Schwab <schwab@redhat.com>
42794 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42795 falling back to utime.
42797 2011-11-30 Andreas Schwab <schwab@redhat.com>
42799 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42800 expectations for float.
42802 2011-11-29 Andreas Schwab <schwab@redhat.com>
42804 * locale/weight.h (findidx): Add parameter len.
42805 * locale/weightwc.h (findidx): Likewise.
42806 * posix/fnmatch_loop.c (FCT): Adjust caller.
42807 * posix/regcomp.c (build_equiv_class): Likewise.
42808 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42809 * posix/regexec.c (check_node_accept_bytes): Likewise.
42810 * string/strcoll_l.c (STRCOLL): Likewise.
42811 * string/strxfrm_l.c (STRXFRM): Likewise.
42813 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42815 * Makefile.in: Remove CVSOPT handling.
42816 * configure.in: Remove use of AC_REVISION.
42817 * iconvdata/Makefile (distribute): No need to filter out CVS.
42818 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42821 2011-11-16 Andreas Schwab <schwab@redhat.com>
42823 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42824 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42825 [USE_AS_STRNCASECMP_L]: Likewise.
42826 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42827 NO_TLS_DIRECT_SEG_REFS.
42828 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42829 Fix argument offsets for non-PIC.
42830 [USE_AS_STRNCASECMP_L]: Likewise.
42831 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42832 NO_TLS_DIRECT_SEG_REFS.
42834 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42836 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42838 * locale/loadlocale.c (_nl_load_locale): Likewise.
42840 2011-11-15 Andreas Schwab <schwab@redhat.com>
42842 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42843 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42844 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42845 (SYSCALL_GETTIME): Set errno on error.
42847 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42848 count references to noai6ai_cached.
42850 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42852 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42854 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42855 FD_CLOEXEC for /proc/self/maps.
42857 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42858 FD_CLOEXEC for /proc/meminfo.
42860 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42863 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42864 FD_CLOEXEC for given file.
42866 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42868 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42869 FD_CLOEXEC for /etc/hosts.
42870 (_gethtent): Likewise.
42872 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42874 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42875 cancellation and set FD_CLOEXEC for /etc/netgroup.
42877 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42878 reading /etc/publickey.
42880 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42881 allow cancellation when reading /etc/group.
42883 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42885 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42887 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42888 when using data file.
42890 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42892 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42893 (write_nis_obj): Use "c" and "e" in fopen.
42895 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42897 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42899 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42901 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42903 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42906 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42908 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42910 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42912 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42913 file parsing and set FD_CLOEXEC.
42915 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42917 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42919 2011-11-14 Andreas Schwab <schwab@redhat.com>
42921 * malloc/arena.c (arena_get2): Don't call reused_arena when
42922 _int_new_arena failed.
42924 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42926 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42927 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42928 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42929 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42930 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42931 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42932 to compile strcasecmp and strncasecmp.
42933 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42934 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42936 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42938 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42940 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42941 locale-defines.sym to gen-as-const-headers.
42942 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42943 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42944 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42945 to compile strcasecmp and strncasecmp.
42946 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42947 strcasecmp_l and strncasecmp_l.
42948 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42949 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42950 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42951 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42952 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42953 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42954 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42955 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42956 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42957 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42958 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42960 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42962 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42963 result of SYSDEP_GETTIME_CPU to retval.
42964 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42965 parameter list to macro. Remove trailing semicolon. Adjust users.
42967 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42970 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42972 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42974 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42975 from unused variable.
42977 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42979 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42982 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42985 * sunrpc/rpc_prot.c (rejected): Fix case value.
42987 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42988 unsigned long long int to avoid warnings in shift.
42990 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42992 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42995 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42996 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42997 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42999 * nis/nis_table.c (nis_list): Use variable of correct type for
43000 result of __follow_path call.
43002 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43004 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43005 of math functions ceil, trunc, floor, round, and sqrt, when
43006 avaliable on the platform.
43007 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43009 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43010 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43011 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43013 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43015 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43016 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43018 2011-11-11 Roland McGrath <roland@hack.frob.com>
43020 * include/unistd.h: Fix __readlink return type.
43021 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43023 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43025 * stdlib/ucontext.h: Undo last change for makecontext.
43027 2011-11-11 Andreas Schwab <schwab@redhat.com>
43029 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43031 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43032 * setjmp/setjmp.h: Mark functions as non-leaf.
43033 * setjmp/bits/setjmp2.h: Likewise.
43034 * stdlib/ucontext.h: Likewise.
43036 2011-11-10 Andreas Schwab <schwab@redhat.com>
43038 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43039 (reused_arena): Don't check arena limit.
43040 (arena_get2): Atomically check arena limit.
43042 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43044 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43045 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43047 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43050 2011-11-07 Andreas Schwab <schwab@redhat.com>
43052 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43053 handler when locking.
43055 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43056 Fix size of allocated buffer.
43058 2011-11-04 Andreas Schwab <schwab@redhat.com>
43061 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43062 declarations for long double functions.
43063 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43065 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43067 2011-11-03 Andreas Schwab <schwab@redhat.com>
43069 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43072 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43075 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43077 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43079 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43081 * include/alloca.h (stackinfo_alloca_round): Define.
43082 (extend_alloca): Use it.
43083 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43084 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43087 * scripts/check-local-headers.sh: Ignore libaudit.h.
43089 * nscd/Makefile (extra-objs): Make recursively expanded.
43091 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43093 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43094 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43096 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43097 * posix/tst-rfc3484-2.c: Likewise.
43098 * posix/tst-rfc3484-3.c: Likewise.
43100 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43102 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43104 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43105 process_vm_writev from libc using GLIBC_2.15 version.
43107 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43109 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43111 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43114 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43117 * nss/getent.c (initgroups_keys): Show error message in case no group
43120 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43121 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43122 __bump_nl_timestamp.
43123 * nscd/connections (nscd_init): When host database is served open
43124 netlink socket and request notification about configuration changes.
43125 (main_loop_poll): Track netlink file descriptor and bump timestamp
43126 in case data becomes available.
43127 (main_loop_epoll): Likewise.
43128 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43129 (database_pers_head): Add extra_data fileds.
43130 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43131 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43132 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43134 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43135 in6ai data, call __free_in6ai.
43136 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43137 Add -DHAVE_NETLINK.
43138 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43139 interface information. Reuse previous data if netlink timestamp
43141 (__bump_nl_timestamp): New function.
43142 (__free_in6ai): New function.
43144 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43146 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43147 close_not_cancel_no_status here.
43148 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43150 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43153 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43156 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43157 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43158 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43160 2011-07-03 Andreas Jaeger <aj@suse.de>
43163 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43164 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43165 * math/libm-test.inc (sin_test): Add test case.
43167 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43170 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43171 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43173 * elf/chroot_canon.c (chroot_canon): Cleanups.
43175 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43178 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43179 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43181 * string/test-strchr.c: Make usable for strchrnul testing.
43182 * string/test-strchrnul.c: New file.
43183 * string/Makefile (strop-tests): Add strchrnul.
43185 * po/it.po: Update from translation team.
43186 * po/es.po: Likewise.
43188 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43190 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43191 the three constants needed as parameters. Drop the others.
43192 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43193 __m128i_strloadu_tolower.
43194 Create and initialize variable zero and use it in all the places
43195 where _mm_setzero_si128 was used.
43197 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43198 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43199 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43200 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43202 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43203 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43204 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43205 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43206 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43207 __mpranred, __mptan.
43208 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43209 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43210 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43211 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43212 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43213 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43214 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43215 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43216 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43218 2011-10-28 Andreas Schwab <schwab@redhat.com>
43220 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43221 redefine if SHARED.
43222 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43224 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43225 wide char related routines to wcsmbs subdir.
43227 2011-10-27 Andreas Schwab <schwab@redhat.com>
43230 * misc/sys/cdefs.h (__THROWNL): Define.
43231 * posix/unistd.h: Use __THREADNL instead of __THREAD
43232 for memory synchronization functions.
43234 2011-10-26 Roland McGrath <roland@hack.frob.com>
43237 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43239 * manual/stdio.texi (Obstack Streams): Node removed.
43241 2011-10-26 Andreas Schwab <schwab@redhat.com>
43243 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43244 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43245 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43247 * math/math_private.h (math_force_eval): Allow non-addressable
43249 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43251 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43253 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43254 file is not needed.
43256 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43257 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43258 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43259 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43260 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43261 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43262 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43263 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43265 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43266 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43267 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43268 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43269 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43270 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43271 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43272 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43273 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43274 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43275 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43276 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43277 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43278 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43279 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43280 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43281 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43282 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43283 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43285 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43286 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43288 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43289 place. Use VEX encoding when compiling for AVX.
43291 2011-10-25 Andreas Schwab <schwab@redhat.com>
43293 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43294 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43296 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43298 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43300 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43301 useless if() expression.
43302 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43303 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43304 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43305 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43306 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43307 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43308 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43309 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43310 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43311 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43312 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43313 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43314 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43315 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43316 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43317 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43318 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43319 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43320 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43322 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43324 2011-10-25 Andreas Schwab <schwab@redhat.com>
43326 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43328 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43330 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43332 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43333 .text section. Avoid duplicate constants.
43334 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43335 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43336 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43337 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43338 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43339 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43340 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43341 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43342 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43343 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43344 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43345 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43346 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43347 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43348 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43349 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43350 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43351 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43352 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43353 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43354 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43355 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43356 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43357 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43358 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43359 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43360 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43361 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43362 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43363 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43364 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43365 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43366 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43367 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43368 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43369 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43370 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43371 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43372 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43373 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43374 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43375 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43376 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43377 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43378 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43380 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43382 * sysdeps/x86_64/dla.h: Move to ...
43383 * sysdeps/x86_64/fpu/dla.h: ...here.
43384 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43385 situations. Use __builtin_fma only for gcc 4.6 and up.
43387 * config.make.in: Add have-mfma4 entry.
43388 * configure.in: Substitute libc_cv_cc_fma4.
43389 * math/Makefile (dbl-only-routines): Add sincostab.
43390 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43391 Use __sincostab not sincos.
43392 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43394 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43395 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43396 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43397 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43399 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43400 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43401 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43402 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43404 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43405 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43407 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43408 define aliases when function name is a macro.
43409 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43410 sysdeps/ieee754/dbl-64/sincos.tbl.
43411 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43412 fma4-enabled routines.
43413 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43414 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43415 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43416 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43417 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43418 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43419 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43420 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43421 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43422 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43423 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43424 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43425 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43426 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43427 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43428 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43429 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43430 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43431 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43432 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43433 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43434 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43435 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43436 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43437 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43438 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43439 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43440 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43441 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43442 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43444 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43446 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43447 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43448 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43449 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43450 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43451 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43452 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43453 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43455 2011-10-24 Andreas Schwab <schwab@redhat.com>
43457 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43459 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43461 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43463 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43465 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43467 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43468 Remove unused variable magic_bits.
43469 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43471 * string/strnlen.c: Define and use STRNLEN macro.
43472 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43473 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43474 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43475 * wcsmbs/wcslen.c: Define and use WCSLEN.
43476 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43477 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43478 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43479 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43480 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43481 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43482 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43484 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43486 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43487 strnlen-sse2-no-bsf.
43488 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43489 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43490 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43491 Add strnlen support.
43492 (USE_AS_STRNLEN): New macro.
43493 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43494 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43495 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43496 * sysdeps/x86_64/wcslen.S: New file.
43498 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43500 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43501 XMM-moves are used for copying on small sizes.
43503 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43505 * wcsmbs/Makefile (strop-tests): Add wcschr.
43506 * wcsmbs/test-wcschr.c: New file.
43507 * string/test-strchr.c: Update.
43508 Add wcschr support.
43511 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43513 * wcsmbs/Makefile (strop-tests): Add wcslen.
43514 * wcsmbs/test-wcslen.c: New file.
43515 * string/test-strlen.c: Update.
43516 Add wcslen support.
43519 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43521 * po/it.po: Update from translation team.
43523 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43525 * sysdeps/x86_64/wcscmp.S: Update.
43526 Fix wrong comparison semantics.
43527 wcscmp shall use signed comparison not unsigned.
43528 Don't use substraction to avoid overflow bug.
43529 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43530 * wcsmbc/wcscmp.c: Likewise.
43531 * string/test-strcmp.c: Likewise.
43532 Add new tests to check cases with negative values.
43534 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43536 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43537 * sysdeps/x86_64/dla.h: ...here. New file.
43538 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43539 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43540 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43541 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43542 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43543 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43544 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43545 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43546 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43548 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43550 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43551 __ynl_finite aliases.
43553 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43557 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43559 [DLA_FMA] (EMULV): Use DLA_FMA.
43560 [DLA_FMA] (MUL12): Use EMULV.
43561 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43562 that are not needed.
43563 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43564 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43565 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43566 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43567 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43568 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43569 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43571 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43573 * math/s_nan.c: Undef __nan.
43574 * math/s_nanf.c: Undef __nanf.
43575 * math/s_nanl.c: Undef __nanl.
43576 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43579 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43581 * math/s_catan.c: Add branch predictions.
43582 * math/s_catanf.c: Likewise.
43583 * math/s_catanh.c: Likewise.
43584 * math/s_catanhf.c: Likewise.
43585 * math/s_catanhl.c: Likewise.
43586 * math/s_catanl.c: Likewise.
43587 * math/s_cexp.c: Likewise.
43588 * math/s_cexpf.c: Likewise.
43589 * math/s_cexpl.c: Likewise.
43590 * math/s_clog.c: Likewise.
43591 * math/s_clog10.c: Likewise.
43592 * math/s_clog10f.c: Likewise.
43593 * math/s_clog10l.c: Likewise.
43594 * math/s_clogf.c: Likewise.
43595 * math/s_clogl.c: Likewise.
43596 * math/s_csqrt.c: Likewise.
43597 * math/s_csqrtf.c: Likewise.
43598 * math/s_csqrtl.c: Likewise.
43599 * math/s_ctanf.c: Likewise.
43600 * math/s_ctanh.c: Likewise.
43601 * math/s_ctanhf.c: Likewise.
43602 * math/s_ctanhl.c: Likewise.
43603 * math/s_ctanl.c: Likewise.
43605 * math/math_private.h: Define __nan, __nanf, __nanl.
43606 * math/s_cacosh.c: Include <math_private.h>.
43607 * math/s_cacoshl.c: Likewise.
43608 * math/s_casinh.c: Likewise.
43609 * math/s_casinhf.c: Likewise.
43610 * math/s_casinhl.c: Likewise.
43611 * math/s_ccos.c: Rely entire on ccosh.
43612 * math/s_ccosf.c: Rely entire on ccoshf.
43613 * math/s_ccosl.c: Rely entirely on ccoshl.
43614 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43615 Remove tests for FE_INVALID.
43616 * math/s_ccoshf.c: Likewise.
43617 * math/s_ccoshl.c: Likewise.
43618 * math/s_csin.c: Likewise.
43619 * math/s_csinf.c: Likewise.
43620 * math/s_csinh.c Likewise.
43621 * math/s_csinhf.c: Likewise.
43622 * math/s_csinhl.c: Likewise.
43623 * math/s_csinl.c: Likewise.
43624 * math/s_ctan.c: Likewise.
43625 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43626 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43627 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43629 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43632 compilation problems.
43634 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43637 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43639 * sysdeps/i386/configure.in: Test for -mfma4 option.
43640 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43641 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43642 COMMON_CPUID_INDEX_80000001.
43643 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43644 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43645 use it if FMA3 is not supported.
43646 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43648 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43649 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43651 2011-10-20 Andreas Schwab <schwab@redhat.com>
43654 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43655 it would create a cycle with a link time dependency.
43657 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43659 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43661 * string/Makefile (strop-tests): Add rawmemchr.
43662 * string/test-rawmemchr.c: New file.
43664 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43665 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43666 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43667 when compiling str{,n}casecmp and when AVX is available. Hook up
43668 new optimized code in initializers.
43670 2011-10-19 Andreas Schwab <schwab@redhat.com>
43672 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43673 __feraiseexcept instead of feraiseexcept.
43675 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43677 * math/math_private.h: Define defaults for libc_fetestexcept and
43679 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43680 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43681 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43682 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43683 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43684 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43685 libc_fetestexcept and libc_feupdateenv.
43687 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43688 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43689 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43690 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43691 libc_feholdexcept_setround.
43693 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43694 Add s_nearbyint-c and s_nearbyintf-c.
43695 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43696 nearbyintf inlines.
43697 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43698 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43699 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43700 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43702 * math/math_private.h: Define defaults for libc_fegetround,
43703 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43704 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43705 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43706 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43707 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43708 standard functions.
43709 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43710 Remove comments and hacks for old compiler versions.
43711 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43712 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43713 libc_feholdexceptl.
43715 2011-10-18 Andreas Schwab <schwab@redhat.com>
43717 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43718 (__feraiseexcept_renamed): Add __NTH.
43719 (feraiseexcept): Add __NTH. Rename local variables to fix
43720 namespace violations.
43722 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43724 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43726 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43728 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43729 recently added interfaces.
43730 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43732 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43733 about macro parameter expansion.
43735 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43736 __NO_MATH_INLINES is defined. Cleanups.
43738 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43739 and __floorf is target has SSE4.1.
43740 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43741 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43742 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43743 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43745 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43747 (floorf): Likewise.
43749 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43751 2011-10-17 Andreas Schwab <schwab@redhat.com>
43753 * misc/sys/cdefs.h: Fix last change.
43755 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43758 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43760 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43762 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43763 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43764 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43765 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43766 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43767 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43768 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43769 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43770 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43771 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43772 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43773 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43774 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43775 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43776 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43777 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43778 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43779 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43780 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43781 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43782 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43783 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43785 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43786 ceil, ceilf, floor, floorf.
43788 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43789 Perform IRELATIVE relocations last.
43791 * elf/do-rel.h: Add another parameter nrelative, replacing the
43792 local variable with the same name. Change name of the function
43793 to end in Rel or Rela (uppercase).
43794 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43795 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43796 elf_dynamic_do_##reloc function.
43798 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43800 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43801 is sufficient, at least on modern CPUs.
43803 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43805 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43806 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43808 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43810 * math/bits/math-finite.h: Add entries for exp.
43811 * math/e_expl.c: Add __*_finite alias.
43812 * sysdeps/i386/fpu/e_exp.S: Likewise.
43813 * sysdeps/i386/fpu/e_expf.S: Likewise.
43814 * sysdeps/i386/fpu/e_expl.c: Likewise.
43815 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43816 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43817 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43818 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43819 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43820 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43821 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43823 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43824 is sufficient, at least on modern CPUs.
43826 * ctype/ctype-info.c (__ctype_init): Define.
43827 * include/ctype.h (__ctype_init): Declare.
43828 (__ctype_b_loc): The variable is always initialized.
43829 (__ctype_toupper_loc): Likewise.
43830 (__ctype_tolower_loc): Likewise.
43831 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43832 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43834 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43836 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43838 * configure.in: Also look in $cxxmachine/include for C++ system
43841 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43843 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43844 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43845 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43846 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43847 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43848 (USE_AS_WMEMCMP): New macro.
43850 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43851 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43852 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43853 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43854 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43855 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43856 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43857 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43858 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43859 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43860 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43861 (USE_AS_WMEMCMP): New macro.
43862 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43863 * sysdeps/string/test-memcmp.c: Update.
43864 Fix simple_wmemcmp.
43866 * wcsmbs/wmemcmp.c: Update.
43867 (WMEMCMP): New macro.
43870 2011-10-12 Andreas Jaeger <aj@suse.de>
43873 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43875 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43877 * libio/iofwide.c (do_length): Avoid warning.
43879 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43881 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43883 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43885 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43886 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43887 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43888 * sysdeps/i386/i686/fpu/e_log.S: New file.
43889 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43890 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43892 * ctype/ctype.h: Add support for inlined isXXX functions when
43893 compiling C++ code.
43895 2011-10-14 Andreas Schwab <schwab@redhat.com>
43897 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43899 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43901 2011-10-13 Roland McGrath <roland@hack.frob.com>
43904 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43906 2011-10-13 Andreas Schwab <schwab@redhat.com>
43908 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43909 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43912 * sysdeps/x86_64/memrchr.S: Check for zero size.
43914 * string/stratcliff.c: Add memrchr tests.
43916 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43918 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43919 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43920 rawmemchr-sse2 rawmemchr-sse2-bsf.
43921 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43922 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43923 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43924 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43925 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43926 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43927 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43928 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43929 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43930 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43931 * string/memrchr.c (MEMRCHR): New macro.
43933 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43935 Add integration with gcc's -ffinite-math-only and optimize wrapper
43937 * Versions.def: Define GLIBC_2.15 version for libm.
43938 * math/Makefile (headers): Add bits/math-finite.h.
43939 * math/bits/math-finite.h: New file.
43940 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43941 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43942 * math/e_acoshl.c: Add __*_finite alias.
43943 * math/e_acosl.c: Likewise.
43944 * math/e_asinl.c: Likewise.
43945 * math/e_atan2l.c: Likewise.
43946 * math/e_atanhl.c: Likewise.
43947 * math/e_coshl.c: Likewise.
43948 * math/e_exp10.c: Likewise.
43949 * math/e_exp10f.c: Likewise.
43950 * math/e_exp10l.c: Likewise.
43951 * math/e_exp2l.c: Likewise.
43952 * math/e_fmodl.c: Likewise.
43953 * math/e_gammal_r.c: Likewise.
43954 * math/e_hypotl.c: Likewise.
43955 * math/e_j0l.c: Likewise.
43956 * math/e_j1l.c: Likewise.
43957 * math/e_jnl.c: Likewise.
43958 * math/e_lgammal_r.c: Likewise.
43959 * math/e_log10l.c: Likewise.
43960 * math/e_log2l.c: Likewise.
43961 * math/e_logl.c: Likewise.
43962 * math/e_powl.c: Likewise.
43963 * math/e_sinhl.c: Likewise.
43964 * math/e_sqrtl.c: Likewise.
43965 * math/e_scalb.c: Completely rewritten and optimized.
43966 * math/e_scalbf.c: Likewise.
43967 * math/e_scalbl.c: Likewise.
43968 * math/w_acos.c: Likewise.
43969 * math/w_acosf.c: Likewise.
43970 * math/w_acosl.c: Likewise.
43971 * math/w_acosh.c: Likewise.
43972 * math/w_acoshf.c: Likewise.
43973 * math/w_acoshl.c: Likewise.
43974 * math/w_asin.c: Likewise.
43975 * math/w_asinf.c: Likewise.
43976 * math/w_asinl.c: Likewise.
43977 * math/w_atan2.c: Likewise.
43978 * math/w_atan2f.c: Likewise.
43979 * math/w_atan2l.c: Likewise.
43980 * math/w_atanh.c: Likewise.
43981 * math/w_atanhf.c: Likewise.
43982 * math/w_atanhl.c: Likewise.
43983 * math/w_exp10.c: Likewise.
43984 * math/w_exp10f.c: Likewise.
43985 * math/w_exp10l.c: Likewise.
43986 * math/w_fmod.c: Likewise.
43987 * math/w_fmodf.c: Likewise.
43988 * math/w_fmodl.c: Likewise.
43989 * math/w_j0.c: Likewise.
43990 * math/w_j0f.c: Likewise.
43991 * math/w_j0l.c: Likewise.
43992 * math/w_j1.c: Likewise.
43993 * math/w_j1f.c: Likewise.
43994 * math/w_j1l.c: Likewise.
43995 * math/w_jn.c: Likewise.
43996 * math/w_jnf.c: Likewise.
43997 * math/w_log.c: Likewise.
43998 * math/w_logf.c: Likewise.
43999 * math/w_logl.c: Likewise.
44000 * math/w_log10.c: Likewise.
44001 * math/w_log10f.c: Likewise.
44002 * math/w_log10l.c: Likewise.
44003 * math/w_log2.c: Likewise.
44004 * math/w_log2f.c: Likewise.
44005 * math/w_log2l.c: Likewise.
44006 * math/w_pow.c: Likewise.
44007 * math/w_powf.c: Likewise.
44008 * math/w_powl.c: Likewise.
44009 * math/w_remainder.c: Likewise.
44010 * math/w_remainderf.c: Likewise.
44011 * math/w_remainderl.c: Likewise.
44012 * math/w_scalb.c: Likewise.
44013 * math/w_scalbf.c: Likewise.
44014 * math/w_scalbl.c: Likewise.
44015 * math/w_sqrt.c: Likewise.
44016 * math/w_sqrtf.c: Likewise.
44017 * math/w_sqrtl.c: Likewise.
44018 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44019 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44021 * math/math_private.h: Declare __kernel_standard_f.
44022 * math/w_cosh.c: Remove cruft and optimize a bit.
44023 * math/w_coshf.c: Likewise.
44024 * math/w_coshl.c: Likewise.
44025 * math/w_exp2.c: Likewise.
44026 * math/w_exp2f.c: Likewise.
44027 * math/w_exp2l.c: Likewise.
44028 * math/w_hypot.c: Likewise.
44029 * math/w_hypotf.c: Likewise.
44030 * math/w_hypotl.c: Likewise.
44031 * math/w_lgamma.c: Likewise.
44032 * math/w_lgamma_r.c: Likewise.
44033 * math/w_lgammaf.c: Likewise.
44034 * math/w_lgammaf_r.c: Likewise.
44035 * math/w_lgammal.c: Likewise.
44036 * math/w_lgammal_r.c: Likewise.
44037 * math/w_sinh.c: Likewise.
44038 * math/w_sinhf.c: Likewise.
44039 * math/w_sinhl.c: Likewise.
44040 * math/w_tgamma.c: Likewise.
44041 * math/w_tgammaf.c: Likewise.
44042 * math/w_tgammal.c: Likewise.
44043 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44044 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44045 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44046 Minor optimizations. Pretty printing. Remove cruft.
44047 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44048 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44049 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44050 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44051 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44052 * sysdeps/i386/fpu/e_asin.S: Likewise.
44053 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44054 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44055 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44056 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44057 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44058 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44059 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44060 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44061 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44062 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44063 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44064 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44065 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44066 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44067 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44068 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44069 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44070 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44071 * sysdeps/i386/fpu/e_log.S: Likewise.
44072 * sysdeps/i386/fpu/e_log10.S: Likewise.
44073 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44074 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44075 * sysdeps/i386/fpu/e_log2.S: Likewise.
44076 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44077 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44078 * sysdeps/i386/fpu/e_logf.S: Likewise.
44079 * sysdeps/i386/fpu/e_logl.S: Likewise.
44080 * sysdeps/i386/fpu/e_pow.S: Likewise.
44081 * sysdeps/i386/fpu/e_powf.S: Likewise.
44082 * sysdeps/i386/fpu/e_powl.S: Likewise.
44083 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44084 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44085 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44086 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44087 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44088 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44089 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44090 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44091 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44092 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44093 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44094 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44095 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44096 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44097 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44098 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44099 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44100 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44101 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44102 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44103 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44104 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44105 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44106 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44107 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44108 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44109 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44110 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44111 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44112 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44113 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44114 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44115 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44116 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44117 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44118 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44119 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44120 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44121 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44122 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44123 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44124 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44125 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44126 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44127 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44128 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44129 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44130 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44131 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44132 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44133 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44134 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44135 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44136 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44137 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44138 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44139 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44140 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44141 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44142 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44143 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44144 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44145 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44146 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44147 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44148 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44149 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44150 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44151 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44152 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44153 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44154 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44155 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44156 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44157 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44158 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44159 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44160 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44161 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44162 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44163 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44164 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44165 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44166 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44167 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44168 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44169 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44170 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44171 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44172 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44173 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44174 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44175 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44176 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44177 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44178 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44179 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44180 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44181 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44182 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44183 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44184 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44185 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44186 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44187 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44188 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44189 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44190 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44191 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44192 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44193 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44194 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44195 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44196 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44197 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44198 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44199 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44200 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44201 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44202 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44203 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44204 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44205 (__isnanf): Likewise.
44206 (__isinf_ns): Likewise.
44207 (__isinf_nsf): Likewise.
44208 (__finite): Likewise.
44209 (__finitef): Likewise.
44210 (__ieee754_sqrt): Define as macro.
44211 (__ieee754_sqrtf): Define as macro.
44212 (__ieee754_sqrtl): Define as macro.
44213 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44215 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44216 __FINITE_MATH_ONLY__ consistent.
44217 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44219 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44221 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44224 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44226 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44228 * po/ja.po: Update from translation team.
44230 2011-10-08 Roland McGrath <roland@hack.frob.com>
44232 * locale/programs/locarchive.c (prepare_address_space): New function.
44233 (create_archive, enlarge_archive, open_archive): Use it.
44235 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44236 inside [SHARED], where it is used.
44238 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44240 * nss/getent.c (netgroup_keys): Remove unused variable.
44241 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44243 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44245 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44246 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44247 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44248 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44249 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44250 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44251 * math/Makefile (libm-calls): Add s_isinf_ns.
44252 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44253 * math/multc3.c: Likewise.
44254 * math/s_casin.c: Likewise.
44255 * math/s_casinf.c: Likewise.
44256 * math/s_casinl.c: Likewise.
44257 * math/s_ccos.c: Likewise.
44258 * math/s_ccosf.c: Likewise.
44259 * math/s_ccosl.c: Likewise.
44260 * math/s_ctan.c: Likewise.
44261 * math/s_ctanf.c: Likewise.
44262 * math/s_ctanh.c: Likewise.
44263 * math/s_ctanhf.c: Likewise.
44264 * math/s_ctanhl.c: Likewise.
44265 * math/s_ctanl.c: Likewise.
44266 * math/w_fmod.c: Likewise.
44267 * math/w_fmodf.c: Likewise.
44268 * math/w_fmodl.c: Likewise.
44269 * math/w_remainder.c: Likewise.
44270 * math/w_remainderf.c: Likewise.
44271 * math/w_remainderl.c: Likewise.
44272 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44273 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44274 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44275 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44276 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44277 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44278 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44279 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44281 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44283 * stdio-common/printf_fphex.c: Likewise.
44284 * stdio-common/printf_size.c: Likewise.
44286 * math/e_exp10.c: Include math_private.h using <...> not "...".
44287 * math/e_exp10f.c: Likewise.
44288 * math/e_exp10l.c: Likewise.
44289 * math/e_exp2l.c: Likewise.
44290 * math/e_j0l.c: Likewise.
44291 * math/e_j1l.c: Likewise.
44292 * math/e_jnl.c: Likewise.
44293 * math/e_lgammal_r.c: Likewise.
44294 * math/e_rem_pio2l.c: Likewise.
44295 * math/e_scalb.c: Likewise.
44296 * math/e_scalbf.c: Likewise.
44297 * math/e_scalbl.c: Likewise.
44298 * math/k_cosl.c: Likewise.
44299 * math/k_sinl.c: Likewise.
44300 * math/k_tanl.c: Likewise.
44301 * math/s_cacoshf.c: Likewise.
44302 * math/s_catan.c: Likewise.
44303 * math/s_catanf.c: Likewise.
44304 * math/s_catanh.c: Likewise.
44305 * math/s_catanhf.c: Likewise.
44306 * math/s_catanhl.c: Likewise.
44307 * math/s_catanl.c: Likewise.
44308 * math/s_ccosh.c: Likewise.
44309 * math/s_ccoshf.c: Likewise.
44310 * math/s_ccoshl.c: Likewise.
44311 * math/s_cexp.c: Likewise.
44312 * math/s_cexpf.c: Likewise.
44313 * math/s_cexpl.c: Likewise.
44314 * math/s_clog.c: Likewise.
44315 * math/s_clog10.c: Likewise.
44316 * math/s_clog10f.c: Likewise.
44317 * math/s_clog10l.c: Likewise.
44318 * math/s_clogf.c: Likewise.
44319 * math/s_clogl.c: Likewise.
44320 * math/s_csin.c: Likewise.
44321 * math/s_csinf.c: Likewise.
44322 * math/s_csinh.c: Likewise.
44323 * math/s_csinhf.c: Likewise.
44324 * math/s_csinhl.c: Likewise.
44325 * math/s_csinl.c: Likewise.
44326 * math/s_csqrt.c: Likewise.
44327 * math/s_csqrtf.c: Likewise.
44328 * math/s_csqrtl.c: Likewise.
44329 * math/s_ctan.c: Likewise.
44330 * math/s_ctanf.c: Likewise.
44331 * math/s_ctanh.c: Likewise.
44332 * math/s_ctanhf.c: Likewise.
44333 * math/s_ctanhl.c: Likewise.
44334 * math/s_ctanl.c: Likewise.
44335 * math/s_ldexp.c: Likewise.
44336 * math/s_ldexpf.c: Likewise.
44337 * math/s_ldexpl.c: Likewise.
44338 * math/s_significand.c: Likewise.
44339 * math/s_significandf.c: Likewise.
44340 * math/s_significandl.c: Likewise.
44341 * math/w_acos.c: Likewise.
44342 * math/w_acosf.c: Likewise.
44343 * math/w_acosh.c: Likewise.
44344 * math/w_acoshf.c: Likewise.
44345 * math/w_acoshl.c: Likewise.
44346 * math/w_acosl.c: Likewise.
44347 * math/w_asin.c: Likewise.
44348 * math/w_asinf.c: Likewise.
44349 * math/w_asinl.c: Likewise.
44350 * math/w_atan2.c: Likewise.
44351 * math/w_atan2f.c: Likewise.
44352 * math/w_atan2l.c: Likewise.
44353 * math/w_atanh.c: Likewise.
44354 * math/w_atanhf.c: Likewise.
44355 * math/w_atanhl.c: Likewise.
44356 * math/w_cosh.c: Likewise.
44357 * math/w_coshf.c: Likewise.
44358 * math/w_coshl.c: Likewise.
44359 * math/w_dremf.c: Likewise.
44360 * math/w_exp10.c: Likewise.
44361 * math/w_exp10f.c: Likewise.
44362 * math/w_exp10l.c: Likewise.
44363 * math/w_exp2.c: Likewise.
44364 * math/w_exp2f.c: Likewise.
44365 * math/w_fmod.c: Likewise.
44366 * math/w_fmodf.c: Likewise.
44367 * math/w_fmodl.c: Likewise.
44368 * math/w_hypot.c: Likewise.
44369 * math/w_hypotf.c: Likewise.
44370 * math/w_hypotl.c: Likewise.
44371 * math/w_j0.c: Likewise.
44372 * math/w_j0f.c: Likewise.
44373 * math/w_j0l.c: Likewise.
44374 * math/w_j1.c: Likewise.
44375 * math/w_j1f.c: Likewise.
44376 * math/w_j1l.c: Likewise.
44377 * math/w_jn.c: Likewise.
44378 * math/w_jnf.c: Likewise.
44379 * math/w_jnl.c: Likewise.
44380 * math/w_lgamma.c: Likewise.
44381 * math/w_lgamma_r.c: Likewise.
44382 * math/w_lgammaf.c: Likewise.
44383 * math/w_lgammaf_r.c: Likewise.
44384 * math/w_lgammal.c: Likewise.
44385 * math/w_lgammal_r.c: Likewise.
44386 * math/w_log.c: Likewise.
44387 * math/w_log10.c: Likewise.
44388 * math/w_log10f.c: Likewise.
44389 * math/w_log10l.c: Likewise.
44390 * math/w_log2.c: Likewise.
44391 * math/w_log2f.c: Likewise.
44392 * math/w_log2l.c: Likewise.
44393 * math/w_logf.c: Likewise.
44394 * math/w_logl.c: Likewise.
44395 * math/w_pow.c: Likewise.
44396 * math/w_powf.c: Likewise.
44397 * math/w_powl.c: Likewise.
44398 * math/w_remainder.c: Likewise.
44399 * math/w_remainderf.c: Likewise.
44400 * math/w_remainderl.c: Likewise.
44401 * math/w_scalb.c: Likewise.
44402 * math/w_scalbf.c: Likewise.
44403 * math/w_scalbl.c: Likewise.
44404 * math/w_sinh.c: Likewise.
44405 * math/w_sinhf.c: Likewise.
44406 * math/w_sinhl.c: Likewise.
44407 * math/w_sqrt.c: Likewise.
44408 * math/w_sqrtf.c: Likewise.
44409 * math/w_sqrtl.c: Likewise.
44410 * math/w_tgamma.c: Likewise.
44411 * math/w_tgammaf.c: Likewise.
44412 * math/w_tgammal.c: Likewise.
44414 * po/ja.po: Update from translation team.
44416 2011-09-29 Andreas Jaeger <aj@suse.de>
44419 * sunrpc/netname.c (netname2host): Fix logic.
44423 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44425 * math/w_remainder.c (__remainder): Likewise.
44426 * math/w_remainderf.c (__remainderf): Likewise.
44427 * math/libm-test.inc (remainder_test): Add test cases.
44429 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44431 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44434 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44436 * string/test-memcmp.c: Avoid unncessary #defines.
44437 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44439 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44441 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44442 Use new sse2 version for core i3 - i7 as it's faster
44443 than sse42 version.
44444 (bit_Prefer_PMINUB_for_stringop): New.
44445 * sysdeps/x86_64/rawmemchr.S: Update.
44446 Replace with faster SSE2 version.
44447 * sysdeps/x86_64/memrchr.S: New file.
44448 * sysdeps/x86_64/memchr.S: Update.
44449 Replace with faster SSE2 version.
44451 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44453 * elf/dl-load.c (lose): Add cast to avoid warning.
44455 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44457 * po/ca.po: Update from translation team.
44459 * inet/getnetgrent_r.c: Hook up nscd.
44460 * nscd/Makefile (routines): Add nscd_netgroup.
44461 (nscd-modules): Add netgroupcache.
44462 (CFLAGS-netgroupcache.c): Define.
44463 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44464 (cache_search): Add const to second parameter.
44465 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44467 (dbs): Add netgrdb entry.
44468 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44469 (verify_persistent_db): Handle netgrdb.
44470 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44471 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44473 (netgroup_response_header): Define.
44474 (innetgroup_response_header): Define.
44475 (datahead): Add netgroup_response_header and innetgroup_response_header
44477 * nscd/nscd.conf: Add entries for netgroup cache.
44478 * nscd/nscd.h (dbtype): Add netgrdb.
44479 (_PATH_NSCD_NETGROUP_DB): Define.
44480 (netgroup_iov_disabled): Declare.
44481 (xmalloc, xcalloc, xrealloc): Move declarations here.
44482 (cache_search): Adjust prototype.
44483 Add netgroup-related prototypes.
44484 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44485 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44486 (__nscd_innetgr): Declare.
44487 * nscd/selinux.c (perms): Use access_vector_t as element type and
44488 add netgroup-related initializers.
44489 * nscd/netgroupcache.c: New file.
44490 * nscd/nscd_netgroup.c: New file.
44491 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44492 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44493 For four parameters use innetgr.
44494 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44495 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44496 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44497 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44499 * nscd/connections.c (register_traced_file): Don't register file
44500 for disabled databases.
44502 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44504 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44506 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44507 from tree and freeing node.
44509 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44511 * nss/nsswitch.c (__nss_database_lookup): Handle
44512 nss_parse_service_list out of memory case.
44514 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44516 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44517 out of memory case.
44519 2011-10-04 Andreas Schwab <schwab@redhat.com>
44521 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44522 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44524 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44525 elf_machine_rela, elf_machine_lazy_rel.
44526 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44527 (ELF_DYNAMIC_DO_REL): Likewise.
44528 (ELF_DYNAMIC_DO_RELA): Likewise.
44529 (ELF_DYNAMIC_RELOCATE): Likewise.
44530 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44531 to ELF_DYNAMIC_DO_REL.
44532 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44533 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44534 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44536 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44537 skip_ifunc, don't call ifunc function if non-zero.
44538 (elf_machine_rela): Likewise.
44539 (elf_machine_lazy_rel): Likewise.
44540 (elf_machine_lazy_rela): Likewise.
44541 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44542 (elf_machine_lazy_rel): Likewise.
44543 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44545 (elf_machine_lazy_rel): Likewise.
44546 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44548 (elf_machine_lazy_rel): Likewise.
44549 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44550 (elf_machine_lazy_rel): Likewise.
44551 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44552 (elf_machine_lazy_rel): Likewise.
44553 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44554 (elf_machine_lazy_rel): Likewise.
44555 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44556 (elf_machine_lazy_rel): Likewise.
44557 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44558 (elf_machine_lazy_rel): Likewise.
44559 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44560 (elf_machine_lazy_rel): Likewise.
44562 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44564 * nss/nss_files/files-init.c (_nss_files_init): Use static
44565 initialization for all the *_traced_file variables.
44567 2011-09-28 Andreas Schwab <schwab@redhat.com>
44569 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44571 2011-09-27 Roland McGrath <roland@hack.frob.com>
44574 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44576 2011-09-27 Andreas Schwab <schwab@redhat.com>
44578 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44579 Reread the line before reparsing it.
44581 2011-09-26 Andreas Schwab <schwab@redhat.com>
44583 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44585 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44586 Maxim Kuvyrkov <maxim@codesourcery.com>
44587 Joseph Myers <joseph@codesourcery.com>
44589 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44590 if needed for __stack_chk_guard.
44592 2011-09-19 Roland McGrath <roland@hack.frob.com>
44594 * sysdeps/posix/spawni.c (script_execute): Always define it.
44595 It will be optimized away if unused.
44596 (maybe_script_execute): New function.
44597 (__spawni): Call it.
44599 * Makerules: Don't include tls.make.
44600 (config-tls): Always set to thread.
44601 * tls.make.c: File removed.
44603 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44605 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44606 * config.make.in (CPPFLAGS-config): New substituted variable.
44608 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44610 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44613 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44614 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44616 2011-09-15 Roland McGrath <roland@hack.frob.com>
44618 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44619 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44620 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44621 (CALL_FAIL): Likewise.
44622 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44623 (CALL_FAIL): Macro removed.
44624 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44626 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44628 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44629 for __FINITE_MATH_ONLY__ == 1.
44631 2011-09-15 Andreas Schwab <schwab@redhat.com>
44633 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44634 __ieee754_sqrt instead of sqrt.
44635 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44636 __ieee754_sqrtf instead of sqrtf.
44637 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44638 __floorf instead of floorf.
44639 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44640 __floorf, __truncf instead of floorf, truncf.
44642 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44644 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44646 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44647 __extern_always_inline.
44648 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44651 2011-09-14 Andreas Schwab <schwab@redhat.com>
44653 * elf/rtld.c (dl_main): Also relocate in dependency order when
44654 doing symbol dependency testing.
44656 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44658 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44659 Always define `refsym'.
44661 2011-09-13 Andreas Schwab <schwab@redhat.com>
44663 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44664 (__FD_ELT): Renamed from __FDELT.
44665 * misc/bits/select2.h (__FD_ELT): Likewise.
44666 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44667 __FD_MASK instead of __FDELT, __FDMASK.
44668 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44670 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44673 * elf/Makefile (gen-ldd): Fix pattern.
44675 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44676 (init_tls): Likewise.
44678 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44680 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44682 2011-09-12 Andreas Schwab <schwab@redhat.com>
44684 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44685 `struct cmsghdr *' instead of `void *'.
44686 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44689 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44691 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44693 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44694 ldd_rewrite_script.
44696 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44698 * configure.in: Remove --with-tls option.
44699 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44700 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44701 out in case it is missing.
44702 * sysdeps/ia64/elf/configure.in: Likewise.
44703 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44704 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44705 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44706 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44707 * sysdeps/sh/elf/configure.in: Likewise.
44708 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44709 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44710 * sysdeps/x86_64/elf/configure.in: Likewise.
44711 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44712 * sysdeps/mach/hurd/tls.h: Likewise.
44715 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44718 * configure.in: Fix use of AC_INIT.
44720 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44722 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44724 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44726 * malloc/hooks.c: Likewise.
44729 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44730 variables statically.
44731 (narenas): Initialize.
44732 (list_lock): Initialize.
44733 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44734 initializtion of main_arena and list_lock. Small cleanups.
44735 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44736 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44737 Add initializers to main_arena and mp_.
44738 (malloc_state): Remove pagesize member. Change all users to use
44741 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44742 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44743 is always initialized.
44745 * malloc/malloc.c: Removed unused configurations and dead code.
44746 * malloc/arena.c: Likewise.
44747 * malloc/hooks.c: Likewise.
44748 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44750 * include/tls.h: Removed. USE___THREAD must always be defined.
44751 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44752 * elf/dl-libc.c: Likewise.
44753 * elf/dl-tsd.c: Likewise.
44754 * include/errno.h: Likewise.
44755 * include/netdb.h: Likewise.
44756 * include/resolv.h: Likewise.
44757 * inet/herrno-loc.c: Likewise.
44758 * inet/herrno.c: Likewise.
44759 * malloc/arena.c: Likewise.
44760 * malloc/hooks.c: Likewise.
44761 * malloc/malloc.c: Likewise.
44762 * resolv/res-state.c: Likewise.
44763 * resolv/res_libc.c: Likewise.
44764 * sysdeps/i386/dl-machine.h: Likewise.
44765 * sysdeps/ia64/dl-machine.h: Likewise.
44766 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44767 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44768 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44769 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44770 * sysdeps/sh/dl-machine.h: Likewise.
44771 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44772 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44773 * sysdeps/unix/i386/sysdep.S: Likewise.
44774 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44775 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44776 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44777 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44778 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44779 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44780 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44781 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44782 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44783 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44784 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44785 * sysdeps/x86_64/dl-machine.h: Likewise.
44786 * tls.make.c: Likewise.
44788 * configure.in: Remove --with-__thread option. Make tests for
44789 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44790 tls_model attribute fail if no support is available. Remove
44792 * Makeconfig: Adjust for dropped configure option. All features are
44794 * Makerules: Likewise.
44795 * Versions.def: Likewise.
44796 * argp/argp-fmtstream.c: Likewise.
44797 * argp/argp-fmtstream.h: Likewise.
44798 * argp/argp-help.c: Likewise.
44799 * assert/assert.c: Likewise.
44800 * config.h.in: Likewise.
44801 * config.make.in: Likewise.
44802 * configure: Likewise.
44803 * configure.in: Likewise.
44804 * csu/Versions: Likewise.
44805 * csu/init.c: Likewise.
44806 * elf/tst-audit2.c: Likewise.
44807 * elf/tst-tls10.c: Likewise.
44808 * elf/tst-tls10.h: Likewise.
44809 * elf/tst-tls11.c: Likewise.
44810 * elf/tst-tls12.c: Likewise.
44811 * elf/tst-tls14.c: Likewise.
44812 * elf/tst-tlsmod11.c: Likewise.
44813 * elf/tst-tlsmod12.c: Likewise.
44814 * elf/tst-tlsmod13.c: Likewise.
44815 * elf/tst-tlsmod13a.c: Likewise.
44816 * elf/tst-tlsmod14a.c: Likewise.
44817 * elf/tst-tlsmod15b.c: Likewise.
44818 * elf/tst-tlsmod16a.c: Likewise.
44819 * elf/tst-tlsmod16b.c: Likewise.
44820 * elf/tst-tlsmod7.c: Likewise.
44821 * elf/tst-tlsmod8.c: Likewise.
44822 * elf/tst-tlsmod9.c: Likewise.
44823 * gmon/gmon.c: Likewise.
44824 * grp/fgetgrent_r.c: Likewise.
44825 * grp/putgrent.c: Likewise.
44826 * hurd/fopenport.c: Likewise.
44827 * include/libc-symbols.h: Likewise.
44828 * include/tls.h: Likewise.
44829 * intl/gettextP.h: Likewise.
44830 * intl/loadinfo.h: Likewise.
44831 * locale/global-locale.c: Likewise.
44832 * locale/localeinfo.h: Likewise.
44833 * mach/devstream.c: Likewise.
44834 * malloc/arena.c: Likewise.
44835 * malloc/set-freeres.c: Likewise.
44836 * misc/err.c: Likewise.
44837 * misc/getttyent.c: Likewise.
44838 * misc/mntent_r.c: Likewise.
44839 * posix/getopt.c: Likewise.
44840 * posix/wordexp.c: Likewise.
44841 * pwd/fgetpwent_r.c: Likewise.
44842 * resolv/Versions: Likewise.
44843 * resolv/res_hconf.c: Likewise.
44844 * shadow/fgetspent_r.c: Likewise.
44845 * shadow/putspent.c: Likewise.
44846 * stdio-common/printf_fphex.c: Likewise.
44847 * stdio-common/tmpfile.c: Likewise.
44848 * stdlib/abort.c: Likewise.
44849 * stdlib/fmtmsg.c: Likewise.
44850 * sunrpc/auth_unix.c: Likewise.
44851 * sunrpc/clnt_perr.c: Likewise.
44852 * sunrpc/clnt_tcp.c: Likewise.
44853 * sunrpc/clnt_udp.c: Likewise.
44854 * sunrpc/clnt_unix.c: Likewise.
44855 * sunrpc/openchild.c: Likewise.
44856 * sunrpc/svc_simple.c: Likewise.
44857 * sunrpc/svc_tcp.c: Likewise.
44858 * sunrpc/svc_udp.c: Likewise.
44859 * sunrpc/svc_unix.c: Likewise.
44860 * sunrpc/xdr.c: Likewise.
44861 * sunrpc/xdr_array.c: Likewise.
44862 * sunrpc/xdr_rec.c: Likewise.
44863 * sunrpc/xdr_ref.c: Likewise.
44864 * sunrpc/xdr_stdio.c: Likewise.
44866 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44868 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44870 2011-07-03 Andreas Jaeger <aj@suse.de>
44872 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44873 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44874 regenerate with gen-libm-tests.pl.
44876 2010-05-12 Petr Baudis <pasky@suse.cz>
44879 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44880 around j0() zero points by switching to j1().
44881 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44882 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44883 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44884 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44886 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44888 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44890 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44892 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44893 Patch in part by Pavel Roskin <proski@gnu.org>.
44896 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44898 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44899 Free memory block if necessary.
44902 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44903 be NULL. Don't lock in this case.
44905 2011-09-09 Roland McGrath <roland@hack.frob.com>
44907 * elf/elf.h (ELFOSABI_GNU): New macro.
44908 (ELFOSABI_LINUX): Define to that.
44910 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44912 * string/strncat.c (strncat): Undef the symbol in case it has been
44913 defined in bits/string.h.
44915 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44917 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44919 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44922 2011-08-17 Andreas Jaeger <aj@suse.de>
44924 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44926 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44927 Ian Lance Taylor <iant@google.com>
44929 * math/libm-test.inc (lround_test): New testcase.
44930 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44932 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44934 * Makefile: Remove support for automatic cvs check-ins.
44935 * Makerules: Likewise.
44936 * config.make.in: Likewise.
44937 * configure.in: Likewise.
44938 * intl/Makefile: Likewise.
44939 * locale/Makefile: Likewise.
44940 * po/Makefile: Likewise.
44941 * posix/Makefile: Likewise.
44942 * sysdeps/gnu/Makefile: Likewise.
44943 * sysdeps/mach/hurd/Makefile: Likewise.
44944 * sysdeps/sparc/sparc32/Makefile: Likewise.
44947 * posix/Makefile (bug-regex32-ENV): Define.
44948 Patch by John Stanley <jpsinthemix@verizon.net>.
44950 * misc/Makefile (headers): Add bits/select2.h.
44951 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44952 * misc/bits/select2.h: New file.
44953 * include/bits/select2.h: New file.
44954 * debug/Makefile (routines): Add fdelt_chk.
44955 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44956 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44958 * debug/fdelt_chk.c: New file.
44960 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44961 * wcsmbs/test-wmemcmp.c: Likewise.
44962 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44963 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44965 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44967 * string/Makefile (strop-tests): Add memcmp.
44968 * string/test-wmemcmp.c: New file.
44969 * string/test-memcmp.c: Add wmemcmp support.
44971 2011-09-08 Roland McGrath <roland@hack.frob.com>
44974 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44977 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44978 garbage value in a __mach_port_mod_refs call in the cases of the
44979 task-self and thread-self ports.
44981 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44983 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44985 2011-09-08 Andreas Schwab <schwab@redhat.com>
44987 * elf/dl-load.c (lose): Check for non-null L.
44989 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44991 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44993 * elf/dl-libc.c (dlerror_run): Pass back error code from
44997 * elf/dl-load.c (lose): Free l_origin if it is valid.
44999 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45001 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45002 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45003 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45004 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45005 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45006 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45008 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45010 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45011 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45012 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45013 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45014 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45015 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45016 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45017 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45018 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45019 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45021 2011-08-15 Alan Modra <amodra@gmail.com>
45024 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45025 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45026 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45027 ppc_mcount to static-only-routines.
45028 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45030 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45031 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45033 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45035 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45036 for finite and infinity parameters.
45038 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45040 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45041 and add nop instructions for throughput optimization.
45042 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45044 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45046 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45047 aligned copy for power7 with vector-scalar instructions.
45048 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45050 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45052 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45055 2011-09-07 Andreas Schwab <schwab@redhat.com>
45058 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45061 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45063 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45064 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45065 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45066 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45069 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45071 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45072 Forgot to demangle the pointer.
45074 * sysdeps/i386/sysdep.h: Define atom_text_section.
45075 * sysdeps/x86_64/sysdep.h: Likewise.
45076 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45077 section with atom_text_section.
45078 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45079 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45080 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45081 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45082 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45084 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45085 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45086 already be defined. Change to take two parameters and don't assign
45087 result to variable. Adjust all users.
45088 Define INTERNAL_GETTIME if not already defined.
45089 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45091 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45092 HAVE_CLOCK_GETTIME_VSYSCALL.
45093 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45095 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45096 gettimeofday vsyscall, just use time.
45098 2011-09-06 Andreas Schwab <schwab@redhat.com>
45100 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45103 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45105 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45107 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45109 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45110 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45111 syscall if possible.
45113 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45115 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45116 e_ident. Don't pass to find_mapsXX.
45117 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45119 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45122 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45123 * sysdeps/x86_64/multiarch/strchr.S: Update.
45124 Check bit_slow_BSF bit.
45125 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45126 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45127 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45129 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45132 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45134 (tryshell): Define.
45135 (__spawni): Change last parameter to be flag. Test
45136 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45137 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45138 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45139 * posix/spawni.c: Likewise.
45140 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45141 * posix/spawnp.c: Likewise. Change normal version to use
45142 SPAWN_XFLAGS_USE_PATH.
45143 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45144 SPAWN_XFLAGS_TRY_SHELL.
45147 * posix/glob.h: Remove gcc 1.x support.
45150 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45152 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45154 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45155 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45157 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45158 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45159 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45160 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45161 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45162 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45164 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45166 * sysdeps/x86_64/wcscmp.S: New file.
45168 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45169 wcscmp-c wcscmp-sse2
45170 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45171 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45172 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45173 * wcsmbs/wcscmp.c: Allow renaming.
45175 2011-09-05 David S. Miller <davem@davemloft.net>
45177 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45178 stack slot, rather than the struct return pointer slot.
45179 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45180 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45182 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45184 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45186 * po/ja.po: Update from translation team.
45189 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45190 kernel in 64-bit binaries.
45192 2011-09-01 David S. Miller <davem@davemloft.net>
45194 * elf/elf.h (HWCAP_SPARC_*): Move to..
45195 * sysdeps/sparc/sysdep.h: this new file and add new values.
45196 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45197 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45198 _DL_HWCAP_COUNT to 24.
45199 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45201 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45202 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45203 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45204 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45205 instead of magic constants.
45206 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45208 2011-08-31 David S. Miller <davem@davemloft.net>
45210 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45211 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45212 Reimplement to do errno handling inline.
45213 (SYSCALL_ERROR_HANDLER): New macro.
45214 (__SYSCALL_STRING): Do not do errno handling in asm.
45215 (__CLONE_SYSCALL_STRING): Delete.
45216 (__INTERNAL_SYSCALL_STRING): Delete.
45217 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45218 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45219 (PSEUDO): Reimplement to do errno handling inline.
45220 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45221 (SYSCALL_ERROR_HANDLER): New macro.
45222 (__SYSCALL_STRING): Do not do errno handling in asm.
45223 (__CLONE_SYSCALL_STRING): Delete.
45224 (__INTERNAL_SYSCALL_STRING): Delete.
45225 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45226 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45228 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45229 (inline_syscall*): Add 'err' argument.
45230 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45231 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45232 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45233 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45235 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45236 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45238 2011-08-30 Andreas Schwab <schwab@redhat.com>
45240 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45242 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45244 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45247 2011-08-24 David S. Miller <davem@davemloft.net>
45249 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45251 2011-08-24 Andreas Schwab <schwab@redhat.com>
45253 * elf/Makefile: Add rules to build and run unload8 test.
45254 * elf/unload8.c: New file.
45255 * elf/unload8mod1.c: New file.
45256 * elf/unload8mod1x.c: New file.
45257 * elf/unload8mod2.c: New file.
45258 * elf/unload8mod3.c: New file.
45260 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45263 2011-08-23 David S. Miller <davem@davemloft.net>
45265 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45266 subtract stack bias.
45267 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45268 %sp not %fp in calculations.
45269 (_JMPBUF_UNWINDS_ADJ): Likewise.
45271 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45272 (aio_suspend): Call it to force an exception region around the
45273 AIO_MISC_WAIT() invocation.
45275 2011-08-23 Andreas Schwab <schwab@redhat.com>
45277 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45280 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45282 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45284 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45285 and <dl-machine.h>.
45286 (Elf64_FuncDesc): Remove.
45288 2011-08-22 David S. Miller <davem@davemloft.net>
45290 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45291 sigaltstack check, add missing cfi directives.
45292 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45293 missing cfi directives, and sigaltstack handling.
45295 2011-08-16 Andreas Schwab <schwab@redhat.com>
45298 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45299 object is seen twice.
45300 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45302 * elf/Makefile (distribute): Add tst-initorder2.c.
45303 (tests): Add tst-initorder2.
45304 (modules-names): Add tst-initorder2a tst-initorder2b
45305 tst-initorder2c tst-initorder2d. Add rules to build them.
45306 ($(objpfx)tst-initorder2.out): New rule.
45307 * elf/tst-initorder2.c: New file.
45308 * elf/tst-initorder2.exp: New file.
45310 2011-08-22 Andreas Schwab <schwab@redhat.com>
45312 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45314 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45315 dependencies back to end of function.
45317 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45318 $(elfobjdir)/ld.so.
45320 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45322 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45323 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45324 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45325 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45326 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45327 of __vdso_gettimeofday.
45328 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45329 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45331 (_libc_vdso_platform_setup): Remove initialization of
45332 __vdso_gettimeofday and __vdso_time.
45334 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45336 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45337 and fgetc_unlocked.
45338 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45341 * elf/dl-open.c (add_to_global): Report additions to the global scope
45342 for LD_DEBUG=scopes.
45343 (dl_open_worker): Also print scope of newly loaded dependencies.
45344 (_dl_show_scope): Indicate if there is no scope.
45347 * stdio-common/Makefile (tests): Add bug24.
45348 * stdio-common/bug24.c: New file.
45350 2011-08-19 Andreas Jaeger <aj@suse.de>
45353 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45354 non-existant file when using close-on-exec mode.
45356 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45358 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45359 the very first instruction.
45361 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45362 the CFI state in the end.
45363 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45364 inclusion of dl-trampoline.h.
45365 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45367 2011-08-19 Andreas Schwab <schwab@redhat.com>
45369 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45370 expectations for long double.
45372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45373 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45375 2011-08-14 David S. Miller <davem@davemloft.net>
45377 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45378 artificual limit depends upon the system page size.
45380 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45382 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45383 * resolv/Makefile: Define CFLAGS-libresolv.
45385 2011-08-17 Andreas Schwab <schwab@redhat.com>
45387 * nss/makedb.c (compute_tables): Make variables used in nested
45390 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45392 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45393 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45394 if buffer was too small.
45396 * elf/pldd.c (main): Attach to all threads in the process.
45397 Rewrite /proc handling to use *at functions.
45399 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45401 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45402 specifies first scope to show.
45403 (dl_open_worker): Update callers. Move printing scope of new
45404 object to before the relocation.
45405 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45406 * sysdeps/generic/ldsodefs.h: Update declaration.
45408 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45409 string for the scope number.
45411 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45413 * nscd/servicescache.c (cache_addserv): Make sure written is always
45416 2011-08-14 Roland McGrath <roland@hack.frob.com>
45418 * sysdeps/i386/i486/bits/atomic.h
45419 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45420 statement expression, so as to suppress "set but not used" warning.
45421 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45423 * string/strncat.c (STRNCAT): Use prototype definition.
45425 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45426 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45428 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45429 (localedef-modules): Add localedef.
45430 (locale-modules): Add locale.
45432 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45433 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45434 to avoid a warning.
45436 2011-08-14 David S. Miller <davem@davemloft.net>
45438 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45439 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45441 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45443 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45444 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45445 * elf/rtld.c (dl_main): Set l_name of vDSO.
45446 Call _dl_show_scope when DL_DEBUG_SCOPES.
45447 (process_dl_debug): Recognize scopes flag and also set it for all.
45448 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45449 Declare _dl_show_scope.
45451 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45452 (do_dlopen): Pass caller_dlopen to dl_open.
45453 (__libc_dlopen_mode): Initialize caller_dlopen.
45455 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45456 of libc. Make tolower call locale-independent. Optimize a bit by
45457 using isdigit instead of isalnum.
45458 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45460 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45462 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45463 was a dependency or dynamically loaded.
45465 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45467 * intl/l10nflist.c: Allow architecture-specific pop function.
45468 * sysdeps/x86_64/l10nflist.c: New file.
45470 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45473 2011-08-10 Andreas Schwab <schwab@redhat.com>
45475 * include/dirent.h: Add libc_hidden_proto for scandirat and
45476 scandirat64. Don't declare __scandirat64.
45477 * dirent/scandirat.c: Add libc_hidden_def.
45478 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45479 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45481 2011-08-10 David S. Miller <davem@davemloft.net>
45483 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45485 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45486 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45487 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45489 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45491 * Versions.def [libc]: Add GLIBC_2.15.
45492 * dirent/Makefile (routines): Add scandirat and scandirat64.
45493 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45495 * dirent/dirent.h: Declare scandirat and scandirat64.
45496 * dirent/scandirat.c: New file.
45497 * dirent/scandirat64.c: New file.
45498 * sysdeps/wordsize-64/scandirat.c: New file.
45499 * sysdeps/wordsize-64/scandirat64.c: New file.
45500 * dirent/opendir.c: Define opendirat.
45501 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45503 * dirent/scandir64.c: Adjust for scandir.c change.
45504 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45505 __scandirat64, and __scandir_cancel_handler.
45506 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45507 additional parameter and use openat instead of open (outside of ld.so).
45508 Add new __opendir as wrapper around __opendirat.
45509 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45510 here without requiring old scandirat implementation.
45512 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45514 * dirent/scandir.c (cancel_handler): Renamed to
45515 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45516 defined. Adjust users.
45517 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45518 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45520 2011-08-04 Ulrich Drepper <drepper@gmail.com>
45522 * string/test-string.h (IMPL): Use __STRING to expand name and then
45525 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45528 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45530 * string/Makefile: Update.
45531 (strop-tests): Append strncat.
45532 * string/test-wcscmp.c: New file.
45533 New comprehensive test for wcscmp.
45534 * string/test-strcmp.c: Update.
45535 (WIDE): New define.
45537 2011-07-22 Andreas Schwab <schwab@redhat.com>
45539 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45542 2011-07-26 Andreas Schwab <schwab@redhat.com>
45544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45545 encoding to ACE if AI_IDN.
45547 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45549 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45550 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45552 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45554 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45555 Fix overflow bug in strncat.
45556 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45558 * string/test-strncat.c: Update.
45559 Add new tests for checking overflow bugs.
45561 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45563 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45564 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45565 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45566 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45567 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45568 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45569 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45570 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45571 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45573 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45574 (USE_AS_STRCAT): Define.
45575 Add strcat and strncat support.
45576 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45578 2011-07-25 Andreas Schwab <schwab@redhat.com>
45580 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45581 __n bigger than INT_MAX+1.
45582 (__strncmp_g): Likewise.
45584 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45586 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45587 * libio/stido.h: Likewise.
45589 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45591 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45594 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45595 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45596 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45597 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45598 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45601 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45604 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45606 (_dl_x86_64_save_sse): Likewise.
45608 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45610 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45612 (_dl_x86_64_save_sse): Likewise.
45614 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45616 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45618 2011-07-21 Andreas Schwab <schwab@redhat.com>
45620 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45622 (_dl_x86_64_save_sse): Use correct AVX check.
45624 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45626 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45627 bug in strncpy/strncat.
45628 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45630 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45632 * string/tester.c (test_strcat): Add tests for different alignments
45633 of source and destination.
45634 (test_strncat): Likewise.
45636 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45639 * posix/glob.c (glob): Check passed in values before using them in
45640 expressions to avoid some overflows.
45641 (glob_in_dir): Likewise.
45644 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45645 check for AVX enablement so that we don't crash with old kernels and
45647 * elf/tst-audit4.c: Add same checks here.
45648 * elf/tst-audit6.c: Likewise.
45650 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45652 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45654 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45656 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45658 * po/cs.po: Update from translation team.
45659 * po/bg.po: Likewise.
45661 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45663 * misc/sys/cdefs.h: Add support for const attribute.
45664 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45665 to gnu_dev_{major,minor,makedev} functions.
45667 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45669 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45671 2011-07-20 Andreas Schwab <schwab@redhat.com>
45673 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45676 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45678 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45679 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45680 register in order to avoid conflicts with the soft frame pointer
45681 being held in r11 when necessary.
45682 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45683 (INTERNAL_VSYSCALL_NCS): Likewise.
45685 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45687 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45688 * elf/dl-fini.c (_dl_fini): Adjust caller.
45689 * elf/dl-close.c (_dl_close_worker): Likewise.
45690 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45692 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45694 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45695 "aux_cache->nlibs < 0".
45697 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45698 in the reload-count case.
45700 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45702 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45703 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45704 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45705 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45706 * sysdeps/x86_64/multiarch/strcat.S: New file.
45707 * sysdeps/x86_64/multiarch/strncat.S: New file.
45708 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45709 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45710 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45711 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45712 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45713 (USE_AS_STRCAT): Define.
45714 Add strcat and strncat support.
45715 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45716 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45717 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45718 * string/strncat.c: Update.
45719 (USE_AS_STRNCAT): Define.
45720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45721 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45723 * sysdeps/x86_64/multiarch/init-arch.h
45724 (bit_Prefer_PMINUB_for_stringop): New.
45725 (index_Prefer_PMINUB_for_stringop): Likewise.
45726 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45727 bit_Prefer_PMINUB_for_stringop.
45729 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45731 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45733 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45734 of casting of buffer.
45735 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45736 buffer32 and buffer64.
45737 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45738 writes instead of casting of buffer.
45739 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45741 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45744 2011-07-19 Andreas Schwab <schwab@redhat.com>
45746 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45748 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45750 * nscd/nscd.c (termination_handler): Don't do anything for a database
45751 if it has not yet been initialized.
45753 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45755 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45757 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45759 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45761 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45763 * po/nl.po: Update from translation team.
45764 * po/sv.po: Likewise.
45766 2011-07-16 Roland McGrath <roland@hack.frob.com>
45768 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45769 now disallowed by GCC.
45771 * configure.in (use-default-link): Default to yes if a test -shared
45772 link meets our qualifications.
45773 * configure: Regenerated.
45775 * config.make.in (output-format): New variable.
45776 * configure.in: Check for ld --print-output-format support.
45777 * configure: Regenerated.
45778 * Makerules ($(common-objpfx)format.lds)
45779 [$(output-format) != unknown]: Just use $(output-format),
45780 instead of the linker-script munging.
45782 2011-07-14 Roland McGrath <roland@hack.frob.com>
45784 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45785 of $(common-objpfx)shlib.lds.
45786 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45788 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45789 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45791 * configure.in (-z relro check): Adjust test code to add a large
45792 writable data section after it.
45793 * configure: Regenerated.
45795 2011-07-11 Roland McGrath <roland@hack.frob.com>
45797 * configure.in (-z relro check): Fix test code to make the variable
45799 * configure: Regenerated.
45801 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45803 * nscd/nscd.h (struct traced_file): Define.
45804 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45805 elements. Add traced_files.
45806 (inotify_fd): Declare.
45807 (register_traced_file): Declare.
45808 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45809 (inotify_fd): Export.
45810 (resolv_conf_descr): Remove.
45811 (nscd_init): Move inotify descriptor creation to main.
45812 Don't register files for notification here.
45813 (register_traced_file): New function.
45814 (invalidate_cache): Don't use reset_res to determine whether to call
45815 res_init, go through the list of registered files.
45816 (main_loop_poll): The inotify descriptors are now stored in the
45817 structures for the traced files.
45818 (main_loop_epoll): Likewise
45819 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45820 to __nss_disable_nscd.
45821 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45822 for a database anymore. Check the records for all the registered
45824 * nss/Makefile (libnss_files-routines): Add files-init.
45825 (libnss_db-routines): Add db-init.
45826 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45827 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45828 * nss/nss_db/db-init.c: New file.
45829 * nss/nss_files/files-init.c: New file.
45830 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45831 __nss_lookup_function.
45832 (__nss_lookup_function): Call nss_load_library.
45833 (nss_load_all_libraries): New function.
45834 (__nss_disable_nscd): Take parameter with callback function for files
45835 to register. Set is_nscd. Load all the DSOs for the NSS modules
45836 used for the cached services.
45837 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45838 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45839 options for features to all the files in nscd.
45841 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45843 2011-07-10 Roland McGrath <roland@hack.frob.com>
45845 * csu/elf-init.c (__libc_csu_init): Comment typo.
45847 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45849 * po/pl.po: Update from translation team.
45850 * po/ja.po: Likewise.
45851 * po/ru.po: Likewise.
45852 * po/ko.po: Likewise.
45853 * po/fr.po: Likewise.
45855 2011-07-09 Roland McGrath <roland@hack.frob.com>
45857 * configure.in (.ctors/.dtors header and trailer check):
45858 Use an empirical test on a built program.
45859 * configure: Regenerated.
45861 * configure.in (-z relro check): Use an empirical test on a built DSO.
45862 Detect, but do not require, on ia64.
45863 * configure: Regenerated.
45865 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45866 Update tests that use readelf to use $READELF instead.
45867 * configure: Regenerated.
45869 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45871 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45872 if the result is not used.
45874 2011-07-05 Andreas Jaeger <aj@suse.de>
45877 * stdlib/tst-strtod.c: Add testcase.
45879 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45881 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45882 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45883 The latter has a higher limit. Take additional parameter to pass to
45885 (__pathconf): Pass file to __statfs_link_max.
45886 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45888 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45892 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45893 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45895 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45896 (__statfs_filesize_max): Likewise.
45897 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45899 2011-07-05 Andreas Jaeger <aj@suse.de>
45901 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45903 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45905 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45907 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45910 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45912 * Makefile (strop-tests): Add strncat.
45913 * string/test-strncat.c: New file.
45915 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45917 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45919 2011-06-21 Andreas Jaeger <aj@suse.de>
45921 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45922 Copy rule from iconvdata/Makefile.
45924 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45927 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45928 but no long options are defined, just return 'W'.
45930 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45933 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45935 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45937 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45939 (innetgr): Likewise.
45941 2011-07-05 Roland McGrath <roland@hack.frob.com>
45943 * config.make.in (install_root): Default to $(DESTDIR).
45945 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45947 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45949 2011-07-02 Roland McGrath <roland@hack.frob.com>
45951 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45953 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45954 containing directory rather than embedding absolute directory names.
45956 * scripts/check-local-headers.sh: Rewritten using awk.
45957 Match by word, not by line. Print error messages for matches.
45958 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45960 * Makerules [shlib-lds-flags empty]:
45961 ($(common-objpfx)libc_pic.opts): New target.
45962 ($(common-objpfx)libc_pic.os.clean): New target.
45963 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45965 * config.make.in (OBJCOPY): New variable.
45966 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45967 * configure: Regenerated.
45969 * config.make.in (use-default-link): New variable.
45970 * configure.in (use_default_link): Grok --with-default-link to set it.
45971 * configure: Regenerated.
45972 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45973 (shlib-lds, shlib-lds-flags): Define to empty.
45975 * Makerules (shlib-lds): New variable.
45976 (shlib-lds-flags): New variable.
45977 (build-shlib, build-moduile, build-module-asneeded): Use it.
45978 ($(common-objpfx)libc.so): Use $(shlib-lds).
45979 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45980 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45982 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45983 DT_FLAGS/DT_FLAGS_1 with zero flags.
45985 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45986 linker script munging.
45988 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45990 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45992 * crypt/sha512.c (sha512_process_block): Perform total addition using
45993 128-bit if possible.
45994 (__sha512_finish_ctx): Likewise.
45995 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45997 * crypt/sha256.c (SWAP64): Define.
45998 (sha256_process_block): Perform total addition using 64-bit if
46000 (__sha256_finish_ctx): Likewise.
46002 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46004 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46005 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46006 * nscd/hstcache.c (cache_addhst): Likewise.
46007 * nscd/grpcache.c (cache_addgr): Likewise.
46008 * nscd/aicache.c (addhstaiX): Likewise
46009 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46011 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46013 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46014 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46015 * nscd/hstcache.c (cache_addhst): Likewise.
46016 * nscd/grpcache.c (cache_addgr): Likewise.
46017 * nscd/aicache.c (addhstaiX): Likewise
46019 2011-07-01 Andreas Schwab <schwab@redhat.com>
46021 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46022 domain only when needed.
46024 2011-06-30 Andreas Schwab <schwab@redhat.com>
46026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46027 is always restored.
46029 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46031 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46032 are re-adding the entry.
46033 * nscd/servicescache.c (cache_addserv): Likewise.
46035 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46037 * sysdeps/generic/dl-irel.h: fix protection against multiple
46039 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46041 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46044 * malloc/memusage.sh: Fix quoting in message.
46045 * debug/xtrace.sh: Likewise.
46047 * configure.in: Remove support for --experimental-malloc option, make
46049 * config.make.in: Likewise.
46050 * malloc/Makefile: Likewise.
46052 2011-06-27 Andreas Schwab <schwab@redhat.com>
46054 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46055 two-byte characters.
46057 2011-06-27 Roland McGrath <roland@hack.frob.com>
46059 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46060 AC_CACHE_CHECK invocation.
46061 * configure: Regenerated.
46063 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46065 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46068 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46069 bit from old_res_options.
46071 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46073 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46074 value type for setfct.
46076 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46078 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46079 __gettimeofday instead of gettimeofday.
46081 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46083 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46085 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46087 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46089 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46092 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46094 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46095 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46096 strcpy-sse2-unaligned strncpy-sse2-unaligned
46097 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46098 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46099 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46100 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46101 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46102 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46103 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46104 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46105 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46106 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46107 (STRCPY): Support SSE2 and SSSE3 versions.
46109 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46112 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46113 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46114 kernels which artificially limit size of requests.
46116 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46119 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46120 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46121 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46122 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46123 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46124 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46125 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46126 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46127 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46128 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46129 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46130 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46131 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46132 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46133 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46134 Enable unaligned load optimization for Intel Core i3, i5 and i7
46136 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46138 (index_Fast_Unaligned_Load): Define.
46139 (HAS_FAST_UNALIGNED_LOAD): Define.
46141 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46143 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46145 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46148 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46149 until it is clear that the information is realy needed.
46150 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46152 2011-06-22 Andreas Schwab <schwab@redhat.com>
46154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46156 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46158 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46159 /sys/devices/system/cpu/online if it is usable.
46161 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46162 reading the information from the /proc filesystem to once a second.
46164 2011-06-21 Andreas Jaeger <aj@suse.de>
46166 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46167 NULL after inclusion of kernel headers.
46169 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46171 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46172 calls to internal_setent.
46175 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46176 addresses using gethostbyname4_r ignore IPv4 addresses.
46178 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46179 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46181 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46183 2011-06-20 David S. Miller <davem@davemloft.net>
46185 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46187 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46189 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46190 (elf_irel): Use it.
46191 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46192 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46193 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46194 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46195 * sysdeps/x86_64/dl-irel.h: Likewise.
46197 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46198 * elf/dl-sym.c: Likewise.
46200 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46202 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46203 need to dereference resplen2.
46205 2011-06-14 Andreas Schwab <schwab@redhat.com>
46207 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46209 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46211 * Makeconfig: Define vardbdir and inst_vardbdir.
46212 * nss/Makefile: Add rules to install db-Makefile.
46214 * nss/nss_db/db-XXX.c: Cleanup.
46216 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46217 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46219 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46220 * nss/makedb.c: Implement -g option to specify that value strings
46221 are generated and should not be added to table iterated over for
46223 * nss/nss_db/db-initgroups.c: New file.
46225 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46228 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46229 (internal_getgrouplist): Adjust to name change.
46230 Update use_initgroups_entry if this is not the first call.
46231 * nss/databases.def: Add initgroups entry.
46233 * nss/makedb.c (compute_tables): Check result of multiple hash table
46234 sizes to minimize maximum chain length.
46236 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46238 * Versions.def: Add entry for libnss_db.
46239 * shlib-versions: Likewise.
46240 * nss/Makefile: Add rules to build libnss_db.
46241 * nss/Versions: Add libnss_db information. Organize libnss_files
46243 * nss/db-Makefile: Add gshadow support. Change rules for the new
46244 makedb progra. Some minor improvements to generate smaller files.
46245 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46247 * nss/makedb.c: ...here.
46248 Improve database format to be smaller and require less memory at
46250 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46252 * nss/nss_db/db-netgrp.c: Likewise.
46253 * nss/nss_db/db-open.c: Likewise.
46254 * nss/nss_files/flies-XXX.x: Adjust comments.
46255 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46256 * nss/nss_files/files-grp.c: Likewise.
46257 * nss/nss_files/files-hosts.c: Likewise.
46258 * nss/nss_files/files-network.c: Likewise.
46259 * nss/nss_files/files-proto.c: Likewise.
46260 * nss/nss_files/files-pwd.c: Likewise.
46261 * nss/nss_files/files-rpc.c: Likewise.
46262 * nss/nss_files/files-service.c: Likewise.
46263 * nss/nss_files/files-sgrp.c: Likewise.
46264 * nss/nss_files/files-spwd.c: Likewise.
46265 * nss/nss_db/db-alias.c: Removed.
46266 * nss/nss_db/dummy-db.h: Removed.
46268 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46270 * nss/makedb.c: Rewritten to not use database library.
46271 * nss/Makefile: Update to build new makedb program.
46273 2011-06-14 Andreas Jaeger <aj@suse.de>
46275 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46276 memset declaration.
46278 2011-06-10 Andreas Schwab <schwab@redhat.com>
46280 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46283 2011-06-10 Roland McGrath <roland@hack.frob.com>
46285 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46286 * elf/Makefile ($(objpfx)ld.so): Likewise.
46288 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46289 Don't list ld.so twice in dependencies.
46291 * posix/bug-regex31.c: Include <stdlib.h>.
46293 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46295 * nis/nss_compat/compat-spwd.c
46296 (getspent_next_nss_netgr): Remove unused variable.
46297 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46299 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46300 nonmembers" output to use the right array.
46302 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46304 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46306 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46307 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46308 * catgets/gencat.c (read_input_file): Likewise.
46309 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46311 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46312 variable definition inside #if's controlling its use.
46314 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46316 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46318 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46320 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46323 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46325 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46326 * configure: Regenerated.
46328 * Makerules: Revert last change.
46329 * elf/Makefile: Likewise.
46331 2011-06-09 Roland McGrath <roland@hack.frob.com>
46333 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46334 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46335 (reloc-link): Likewise.
46337 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46339 * elf/Makefile: Add rules to build pldd.
46340 * elf/pldd.c: New file.
46341 * elf/pldd-xx.c: New file.
46343 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46345 * version.h: Update for 2.15 development version.
46347 2011-06-07 David S. Miller <davem@davemloft.net>
46349 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46351 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46352 elf_machine_lazy_rel): Likewise.
46353 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46354 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46355 elf_machine_lazy_rel): Likewise.
46356 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46357 dl_hwcap via passed in argument.
46358 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46361 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46363 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46365 2011-06-06 Roland McGrath <roland@hack.frob.com>
46368 * manual/fdl-1.1.texi: New file, verbatim from:
46369 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46370 * manual/lgpl-2.1.texi: New file, verbatim from:
46371 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46372 * manual/Makefile (licenses): New variable, list those new file names.
46374 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46376 * manual/fdl.texi: File removed.
46377 * manual/lesser.texi: File removed.
46378 * manual/libc.texinfo (Copying, Documentation License):
46379 Use new @include file names, put @appendix directive before @include.
46381 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46384 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46385 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46386 (mq_open): Add __NTH.
46388 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46390 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46391 Assume Intel Core i3/i5/i7 processor if AVX is available.
46393 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46395 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46398 2011-05-31 Andreas Schwab <schwab@redhat.com>
46400 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46401 memory. Use alloca_account. Fix memory leak when retrying.
46403 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46405 * version.h (RELEASE): Bump for 2.14 release.
46406 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46408 * config.make.in (RANLIB): Remove entry.
46410 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46412 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46413 (libc.pot): Work around missing support for .ksh extension in xgettext.
46416 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46417 if both request failed.
46418 (send_dg): In case of server errors clear resplen or *resplen2.
46421 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46422 when there are multiple maps.
46423 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46424 (_dl_fini): Remove test here.
46426 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46428 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46431 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46432 bit from old_res_options.
46433 (gaih_inet): Likewise.
46436 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46439 * resolv/res_init.c (res_setoptions): Make the code more compact.
46442 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46446 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46448 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46451 * malloc/malloc.h: Declare malloc hook variables as volatile.
46453 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46457 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46458 raise in the comment.
46459 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46460 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46461 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46463 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46466 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46467 grow the buffers more if it already has to be sufficient.
46468 (build_wcs_upper_buffer): Likewise.
46469 * posix/regexec.c (check_matching): Likewise.
46470 (clean_state_log_if_needed): Likewise.
46471 (extend_buffers): Don't enlarge buffers beyond size of the input
46473 Patches mostly by Emil Wojak <emil@wojak.eu>.
46474 * posix/bug-regex32.c: New file.
46475 * posix/Makefile (tests): Add bug-regex32.
46477 * locale/findlocale.c (_nl_find_locale): Return right away if
46478 _nl_explode_name failed.
46479 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46481 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46483 * debug/xtrace.sh: Unify messages.
46484 * malloc/memusage.sh: Likewise.
46487 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46488 time symbol from vDSO. Substitute with vsyscall if not available.
46489 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46492 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46493 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46494 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46495 Add sendmmsg and internal_sendmmsg.
46496 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46497 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46498 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46500 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46501 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46502 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46504 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46507 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46508 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46510 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46514 * iconvdata/Makefile (tests): Add bug-iconv9.
46515 * iconvdata/bug-iconv9.c: New file.
46517 2011-05-27 Andreas Schwab <schwab@redhat.com>
46520 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46522 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46524 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46525 (struct user_regs_struct): Change intcs field back to cs.
46527 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46529 * po/ja.po: Update from translation team.
46531 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46534 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46535 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46537 2011-05-20 Andreas Schwab <schwab@redhat.com>
46539 * stdlib/longlong.h: Update from GCC.
46541 2011-05-23 Andreas Schwab <schwab@redhat.com>
46543 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46545 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46546 Add parameter name.
46547 (__sysconf): Pass it down.
46549 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46552 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46554 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46555 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46556 add in in __libc_use_alloca calls. Adjust callers.
46557 (glob): Use malloc in some situations.
46559 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46560 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46563 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46565 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46566 and CLOCK_BOOTTIME_ALARM.
46569 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46572 * string/_strerror.c (__strerror_r): Print negative errors as signed
46576 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46577 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46578 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46580 * configure.in: Fix typo in redirection and correct removal of test
46581 files in two cases.
46584 * locale/setlocale.c (new_composite_name): Fix test to check for
46585 identical name of all categories.
46588 * libio/filedoalloc.c (local_isatty): New function.
46589 (_IO_file_doallocate): Use local_isatty.
46590 * stdio-common/perror.c (perror): In case a new stream is used
46591 forward the stream error.
46592 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46595 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46598 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46600 * include/alloca.h (extend_alloca_account): Define.
46603 * posix/regex.h: Fix comments with documentation of user-accessible
46604 fields after compilation and describe correct free'ing of pattern
46605 after re_compile_pattern.
46606 Patch by Reuben Thomas <rrt@sc3d.org>.
46608 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46610 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46611 and -mno-altivec to prevent the compiler from using Altivec and/or
46612 VSX instructions when the corresponding registers are not available.
46614 2011-05-19 Andreas Schwab <schwab@redhat.com>
46616 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46618 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46620 * libio/freopen.c (freopen): Use __dup2, not dup2.
46621 * libio/freopen64.c (freopen64): Likewise.
46623 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46626 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46627 * math/Makefile (tests): Add test-powl.
46628 (CFLAGS-test-powl.c): Define.
46629 * math/test-powl.c: New file.
46631 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46633 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46635 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46638 * iconvdata/gb18030.c: Update to GB18020-2005.
46640 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46642 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46643 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46644 Patch by Aharon Robbins <arnold@skeeve.com>.
46647 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46651 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46652 through underflows.
46655 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46656 point to strings before performing equality test for error_one_per_line
46660 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46663 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46664 (struct user_fpregs_struct): Avoid __uint*_t types.
46667 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46668 symbol info. Use it instead of calling _dl_addr locally.
46669 (lock_and_info): New function.
46670 (tr_freehook): Call lock_and_info and pass symbol info as additional
46671 parameter to tr_where.
46672 (tr_mallochook): Likewise.
46673 (tr_reallochook): Likewise.
46674 (tr_memalignhook): Likewise.
46676 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46677 used and couldn't be at all thread-safe.
46679 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46681 * libio/freopen.c (freopen): Don't close old file descriptor
46682 before the new one is opened. Instead dup the new file descriptor
46683 to the old one after the new stream is created.
46684 * libio/freopen64.c (freopen64): Likewise.
46685 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46686 * libio/fileops.c (_IO_new_file_close_it): Handle new
46687 _IO_FLAGS2_NOCLOSE flag.
46688 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46689 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46690 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46691 _IO_FLAGS2_NOCLOSE flag.
46692 * include/unistd.h: Add hidden_proto for dup3.
46693 Define __have_dup3.
46694 * io/dup3.c: Define hidden symbol.
46695 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46698 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46699 when an incomplete long option is used.
46700 * posix/tst-getopt_long1.c: New file.
46701 * posix/Makefile (tests): Add tst-getopt_long1.
46704 * scripts/config.guess: Update from autoconf-2.68.
46705 * scripts/config.sub: Likewise.
46708 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46710 (has_cpuclock): ...this. New function.
46711 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46712 macro here based on has_cpuclock code.
46715 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46716 First byte (not low byte) is now always NUL.
46717 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46719 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46720 Use non-cancelable interfaces.
46723 * locale/iso-639.def: Add entry for Sorani.
46726 * include/stdlib.h: Move include protection to the right place.
46727 Define abort_msg_s. Declare __abort_msg with it.
46728 * stdlib/abort.c (__abort_msg): Adjust type.
46729 * assert/assert.c (__assert_fail_base): New function. Majority
46730 of code from __assert_fail. Allocate memory for __abort_msg with
46732 (__assert_fail): Now call __assert_fail_base.
46733 * assert/assert-perr.c: Remove bulk of implementation. Use
46734 __assert_fail_base.
46735 * include/assert.hL Declare __assert_fail_base.
46736 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46738 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46740 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46744 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46745 until all modules are registered in the DTV.
46746 * elf/Makefile: Add rules to build and run tst-tls19.
46747 * elf/tst-tls19.c: New file.
46748 * elf/tst-tls19mod1.c: New file.
46749 * elf/tst-tls19mod2.c: New file.
46750 * elf/tst-tls19mod3.c: New file.
46751 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46754 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46758 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46759 two-byte sequence errors.
46760 * iconvdata/Makefile (tests): Add bug-iconv8.
46761 * iconvdata/bug-iconv8.c: New file.
46764 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46767 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46770 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46771 (dummy_getcfa): New function.
46772 (init): Get _Unwind_GetCFA address, use dummy if not found.
46773 (backtrace_helper): In recursion check, also check whether CFA changes.
46774 (__backtrace): Completely initialize arg.
46776 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46777 storing incomplete byte sequence in state object. Avoid testing for
46778 guaranteed too small input if we know there is enough data available.
46780 2011-05-11 Andreas Schwab <schwab@redhat.com>
46782 * Makeconfig (+link-pie): Indent.
46783 * Rules (binaries-pie): Define if $(have-fpie) and
46785 (binaries-shared): Also filter out $(binaries-pie).
46786 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46787 * nscd/Makefile (others-pie): Add nscd.
46788 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46789 ($(objpfx)nscd): Remove command override.
46790 * login/Makefile (others-pie): Add pt_chown.
46791 ($(objpfx)pt_chown): Remove command override.
46792 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46793 remove command overrides.
46795 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46797 * libio/tst_putwc.c: Fix error messages.
46800 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46801 currently writing and seek to current position when not.
46802 * libio/Makefile (tests): Add bug-fclose1.
46803 * libio/bug-fclose1.c: New file.
46805 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46808 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46809 don't set DF_1_NODELETE here.
46810 (do_lookup_x): When entering new entry test for copy relocation
46811 and if necessary set DF_1_NODELETE flag.
46812 * elf/tst-unique4.cc: New file.
46813 * elf/tst-unique4.h: New file.
46814 * elf/tst-unique4lib.cc: New file.
46815 * elf/Makefile: Add rules to build and run tst-unique4.
46816 Patch by Piotr Bury <pbury@goahead.com>.
46818 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46821 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46824 * misc/mntent_r.c (addmntent): Flush the stream after the output
46827 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46828 (is_trusted_path_normalize): Skip initial colon. Append slash
46829 to empty buffer. Duplicate is_trusted_path code but allow
46830 constructed patch to be prefix.
46831 (is_dst): Allow $ORIGIN followed by /.
46832 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46833 Correct testing of result of is_trusted_path_normalize
46834 (decompose_rpath): Fix warning.
46836 2011-05-10 Ulrich Drepper <drepper@gmail.com>
46839 * grp/initgroups.c (internal_getgrouplist): When we found the service
46840 list through the initgroups entry in nsswitch.conf do not always
46841 continue on a successful lookup. Don't always use the
46842 __nss_group_database value if it is set.
46843 * nss/nsswitch.conf (initgroups): Change action for successful db
46844 lookup to continue for compatibility.
46846 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46849 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46851 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46853 * iconvdata/tst-tables.sh: Likewise.
46854 * iconvdata/cp770.c: New file.
46855 * iconvdata/cp771.c: New file.
46856 * iconvdata/cp772.c: New file.
46857 * iconvdata/cp773.c: New file.
46858 * iconvdata/cp774.c: New file.
46859 * iconvdata/testdata/CP770: New file.
46860 * iconvdata/testdata/CP770..UTF8: New file.
46861 * iconvdata/testdata/CP771: New file.
46862 * iconvdata/testdata/CP771..UTF8: New file.
46863 * iconvdata/testdata/CP772: New file.
46864 * iconvdata/testdata/CP772..UTF8: New file.
46865 * iconvdata/testdata/CP773: New file.
46866 * iconvdata/testdata/CP773..UTF8: New file.
46867 * iconvdata/testdata/CP774: New file.
46868 * iconvdata/testdata/CP774..UTF8: New file.
46870 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46872 * iconvdata/gen-8bit-gap.sh: Likewise.
46873 * iconvdata/gen-8bit.sh: Likewise.
46875 * locale/iso-639.def: Add ary entry.
46878 * locale/C-translit.h.in: Add U20A1 transliteration.
46881 * locale/iso-639.def: Add wae entry.
46882 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46885 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46889 * locale/C-translit.h.in: Add entry for U20B9.
46890 Patch by pravin.d.s@gmail.com.
46892 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46895 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46896 ENAMETOOLONG use generic getcwd.
46897 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46898 in rtld. Use *stat64.
46899 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46900 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46901 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46902 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46903 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46904 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46905 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46906 __fstatat64 macros.
46907 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46908 * dirent/rewinddir.c: Add libc_hidden_def.
46909 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46910 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46912 * include/dirent.h (__alloc_dir): Add flags parameter.
46913 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46914 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46916 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46917 from fdopendir if O_CLOEXEC is already set.
46919 2011-03-15 Alan Modra <amodra@gmail.com>
46921 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46922 l_tls_firstbyte_offset non-zero. Save padding offset in
46923 l_tls_firstbyte_offset for later use.
46924 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46925 freeing static tls block.
46927 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46929 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46930 where #ifdef was intended. The intent is to prevent ARG_MAX from
46931 being defined by the kernel headers.
46933 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46936 * resolv/resolv.h: Define RES_NOTLDQUERY.
46937 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46938 no-tld-query and set RES_NOTLDQUERY.
46939 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46940 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46941 modern BIND to search name as TLD unless forbidden.
46943 2011-05-07 Petr Baudis <pasky@suse.cz>
46944 Ulrich Drepper <drepper@gmail.com>
46947 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46948 (is_trusted_path): ...to here.
46949 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46950 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46951 using is_trusted_path_normalize() in setuid scripts.
46953 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46955 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46956 __BEGIN/__END_DECLS.
46958 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46960 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46961 NSS_STATUS_NOTFOUND if no record was found.
46963 2011-05-05 Andreas Schwab <schwab@redhat.com>
46965 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46966 (headers-not-in-tirpc): Remove rpc/netdb.h
46967 * resolv/netdb.h: Revert last change.
46969 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46971 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46972 circular dependency between libgcc.a and libc.a.
46974 2011-05-05 Andreas Schwab <schwab@redhat.com>
46976 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46977 * nis/Makefile: Don't install rpcsvc/*.
46978 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46979 instead of <rpc/types.h>.
46980 (MAXHOSTNAMELEN): Define.
46982 2011-05-03 Andreas Schwab <schwab@redhat.com>
46984 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46986 2011-04-28 Maciej Babinski <mbabinski@google.com>
46989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46990 gethostbyname4_r when IPv6 results are possible.
46992 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46995 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46996 _PC_PIPE_BUF handling.
46998 2011-04-30 Bruno Haible <bruno@clisp.org>
47001 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47002 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47004 * inet/getnameinfo.c (getnameinfo): Likewise.
47006 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47008 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47009 to groups setting in database lookup.
47010 * nss/nsswitch.conf: Add initgroups entry.
47012 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47015 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47017 Patch by Eric Blake <eblake@redhat.com>.
47019 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47021 * sunrpc/Makefile (need-export-routines): Add svc_run.
47022 (routines): Remove svc_run.
47023 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47024 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47025 * sunrpc/svc_run.c (svc_run): Likewise.
47026 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47028 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47030 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47031 problem in reallocation in last patch.
47033 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47035 * sunrpc/Makefile: Move inclusion of Rules.
47037 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47039 * nss/nss_files/files-initgroups.c: New file.
47040 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47041 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47042 _nss_files_initgroups_dyn.
47044 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47046 * elf/elf.h (R_ARM_IRELATIVE): Define.
47048 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47050 * po/ru.po: Update from translation team.
47052 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47054 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47057 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47060 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47061 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47062 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47063 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47064 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47066 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47068 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47070 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47071 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47072 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47074 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47077 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47079 * stdlib/bug-getcontext.c: New file.
47080 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47082 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47084 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47085 instructions into .machine "z9-109".
47086 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47087 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47089 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47091 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47092 between environment variables and auxiliary vector.
47094 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47096 * Makefile: Add rules to build linkobj/libc.so.
47097 * include/libc-symbols.h: Define libc_hidden_nolink.
47098 * include/rpc/auth.h: Mark functions which are to be hidden.
47099 * include/rpc/auth_des.h: Likewise.
47100 * include/rpc/auth_unix.h: Likewise.
47101 * include/rpc/clnt.h: Likewise.
47102 * include/rpc/des_crypt.h: Likewise.
47103 * include/rpc/key_prot.h: Likewise.
47104 * include/rpc/pmap_clnt.h: Likewise.
47105 * include/rpc/pmap_prot.h: Likewise.
47106 * include/rpc/pmap_rmt.h: Likewise.
47107 * include/rpc/rpc_msg.h: Likewise.
47108 * include/rpc/svc.h: Likewise.
47109 * include/rpc/svc_auth.h: Likewise.
47110 * include/rpc/xdr.h: Likewise.
47111 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47112 * nss/Makefile: Likewise.
47113 * sunrpc/Makefile: Don't install headers. Build library with normal
47114 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47115 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47116 for the compat linking library. Remove use of INTDEF/INTUSE.
47117 * sunrpc/auth_none.c: Likewise.
47118 * sunrpc/auth_unix.c: Likewise.
47119 * sunrpc/authdes_prot.c: Likewise.
47120 * sunrpc/authuxprot.c: Likewise.
47121 * sunrpc/clnt_gen.c: Likewise.
47122 * sunrpc/clnt_perr.c: Likewise.
47123 * sunrpc/clnt_raw.c: Likewise.
47124 * sunrpc/clnt_simp.c: Likewise.
47125 * sunrpc/clnt_tcp.c: Likewise.
47126 * sunrpc/clnt_udp.c: Likewise.
47127 * sunrpc/clnt_unix.c: Likewise.
47128 * sunrpc/des_crypt.c: Likewise.
47129 * sunrpc/des_soft.c: Likewise.
47130 * sunrpc/get_myaddr.c: Likewise.
47131 * sunrpc/key_call.c: Likewise.
47132 * sunrpc/key_prot.c: Likewise.
47133 * sunrpc/netname.c: Likewise.
47134 * sunrpc/pm_getmaps.c: Likewise.
47135 * sunrpc/pm_getport.c: Likewise.
47136 * sunrpc/pmap_clnt.c: Likewise.
47137 * sunrpc/pmap_prot.c: Likewise.
47138 * sunrpc/pmap_prot2.c: Likewise.
47139 * sunrpc/pmap_rmt.c: Likewise.
47140 * sunrpc/publickey.c: Likewise.
47141 * sunrpc/rpc_cmsg.c: Likewise.
47142 * sunrpc/rpc_common.c: Likewise.
47143 * sunrpc/rpc_dtable.c: Likewise.
47144 * sunrpc/rpc_prot.c: Likewise.
47145 * sunrpc/rpc_thread.c: Likewise.
47146 * sunrpc/rtime.c: Likewise.
47147 * sunrpc/svc.c: Likewise.
47148 * sunrpc/svc_auth.c: Likewise.
47149 * sunrpc/svc_authux.c: Likewise.
47150 * sunrpc/svc_raw.c: Likewise.
47151 * sunrpc/svc_run.c: Likewise.
47152 * sunrpc/svc_simple.c: Likewise.
47153 * sunrpc/svc_tcp.c: Likewise.
47154 * sunrpc/svc_udp.c: Likewise.
47155 * sunrpc/svc_unix.c: Likewise.
47156 * sunrpc/svcauth_des.c: Likewise.
47157 * sunrpc/xcrypt.c: Likewise.
47158 * sunrpc/xdr.c: Likewise.
47159 * sunrpc/xdr_array.c: Likewise.
47160 * sunrpc/xdr_float.c: Likewise.
47161 * sunrpc/xdr_intXX_t.c: Likewise.
47162 * sunrpc/xdr_mem.c: Likewise.
47163 * sunrpc/xdr_rec.c: Likewise.
47164 * sunrpc/xdr_ref.c: Likewise.
47165 * sunrpc/xdr_sizeof.c: Likewise.
47166 * sunrpc/xdr_stdio.c: Likewise.
47168 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47171 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47172 * sysdeps/ia64/dl-tls.h: Likewise.
47173 * sysdeps/powerpc/dl-tls.h: Likewise.
47174 * sysdeps/s390/dl-tls.h: Likewise.
47175 * sysdeps/sh/dl-tls.h: Likewise.
47176 * sysdeps/sparc/dl-tls.h: Likewise.
47177 * sysdeps/x86_64/dl-tls.h: Likewise.
47178 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47180 2011-03-14 Andreas Schwab <schwab@redhat.com>
47182 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47183 rpath element also skip the following colon.
47184 (expand_dynamic_string_token): Add is_path parameter and pass
47185 down to DL_DST_REQUIRED and _dl_dst_substitute.
47186 (decompose_rpath): Call expand_dynamic_string_token with
47187 non-zero is_path. Ignore empty rpaths.
47188 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47191 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47196 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47199 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47200 Patch by Filipe David Manana <fdmanana@apache.org>.
47202 2011-04-07 Andreas Schwab <schwab@redhat.com>
47204 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47205 Maintain aligned stack.
47206 (CHECK_RSP): Remove unused macro.
47208 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47210 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47211 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47213 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47215 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47217 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47219 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47222 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47223 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47224 * sysdeps/x86_64/memmove.c: New file.
47225 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47226 (memcpy): Renamed to ...
47227 (__new_memcpy): This.
47228 (memcpy): Provide GLIBC_2_14 memcpy.
47229 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47230 (memcpy): Provide GLIBC_2_2_5 memcpy.
47232 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47235 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47237 2011-03-30 Andreas Schwab <schwab@redhat.com>
47239 * misc/syncfs.c: New file.
47240 * misc/Makefile (routines): Add syncfs.
47241 * posix/unistd.h: Declare syncfs.
47242 * sysdeps/unix/syscalls.list: Add syncfs.
47244 2011-04-01 Andreas Schwab <schwab@redhat.com>
47246 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47248 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47249 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47250 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47251 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47252 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47253 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47254 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47256 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47258 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47259 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47260 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47261 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47262 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47263 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47264 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47266 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47267 sync_file_range.c with -fexceptions.
47268 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47269 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47270 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47271 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47272 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47273 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47274 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47275 sync_file_range as cancellation point
47276 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47277 now a wrapper around __call_sync_file_range with cancellation handling.
47278 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47279 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47280 function name to __call_sync_file_range.
47281 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47282 Add call_sync_file_range.
47284 2011-04-01 Andreas Schwab <schwab@redhat.com>
47286 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47289 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47291 * iconv/iconv.h: Fix typo in comment.
47292 * io/fcntl.h: Likewise.
47293 * libio/stdio.h: Likewise.
47294 * posix/spawn.h: Likewise.
47295 * posix/unistd.h: Likewise.
47296 * stdlib/stdlib.h: Likewise.
47297 * time/time.h: Likewise.
47298 * wcsmbs/wchar.h: Likewise.
47300 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47301 open_by_handle): Add.
47302 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47303 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47304 Augment a few comments.
47305 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47306 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47307 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47308 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47309 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47310 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47313 * io/fcntl.h (AT_EMPTY_PATH): Define.
47315 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47317 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47318 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47319 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47321 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47322 * Versions.def: Add GLIBC_2.14.
47323 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47326 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47328 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47330 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47332 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47335 * string/test-strncmp.c (do_page_test): New function.
47336 (check2): Likewise.
47337 (test_main): Call check2.
47338 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47340 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47343 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47344 Handle cache information in CPU leaf 4.
47345 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47347 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47350 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47351 character representation.
47352 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47354 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47356 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47357 END(__isnan) to END(__isnanf) to match function entry point/label
47358 EALIGN(__isnanf,...).
47360 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47362 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47364 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47367 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47368 copy from the symbol referenced in the relocation to initialize the
47370 Patch by Piotr Bury <pbury@goahead.com>.
47371 * elf/Makefile: Add rules to build and tst-unique3.
47372 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47373 * elf/tst-unique3.cc: New file.
47374 * elf/tst-unique3.h: New file.
47375 * elf/tst-unique3lib.cc: New file.
47376 * elf/tst-unique3lib2.cc: New file.
47378 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47380 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47382 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47383 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47386 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47388 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47389 to-be-loaded object along a path to loader is ld.so.
47391 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47392 Ulrich Drepper <drepper@gmail.com>
47394 * sysdeps/x86_64/memset.S: After aligning destination, code
47395 branches to different locations depending on the value of
47396 misalignment, when multiarch is enabled. Fix this.
47398 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47400 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47401 Set _x86_64_preferred_memory_instruction for AMD processsors.
47402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47403 Set bit_Prefer_SSE_for_memop for AMD processors.
47405 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47407 * libio/fmemopen.c (fmemopen): Optimize a bit.
47409 2011-03-03 Andreas Schwab <schwab@redhat.com>
47411 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47413 2011-03-03 Roland McGrath <roland@redhat.com>
47415 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47417 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47419 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47420 __bzero_ultra1 instead of __memset_ultra1.
47422 2011-02-23 Andreas Schwab <schwab@redhat.com>
47423 Ulrich Drepper <drepper@gmail.com>
47426 * include/link.h (struct link_map): Add l_orig_initfini.
47427 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47428 returning unsuccessfully.
47429 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47430 close of a file loaded at startup, restore the original l_initfini
47432 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47433 list, store the pointer.
47434 * elf/Makefile ($(objpfx)noload-mem): New rule.
47435 (noload-ENV): Define.
47436 (tests): Add $(objpfx)noload-mem.
47437 * elf/noload.c: Include <memcheck.h>.
47438 (main): Call mtrace. Close all opened handles.
47440 2011-02-17 Andreas Schwab <schwab@redhat.com>
47443 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47444 dependencies are missing.
47446 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47448 Fix __if_freereq crash: Unlike the generic version which uses free,
47450 * sysdeps/mach/hurd/ifreq.h: New file.
47452 2011-01-27 Petr Baudis <pasky@suse.cz>
47453 Ulrich Drepper <drepper@gmail.com>
47456 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47457 to extend_alloca().
47458 * stdio-common/bug23.c: New file.
47459 * stdio-common/Makefile (tests): Add bug23.
47461 2010-09-28 Andreas Schwab <schwab@redhat.com>
47462 Ulrich Drepper <drepper@gmail.com>
47465 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47466 before performing relro protection. At old place add assertion
47467 to make sure nothing changed.
47469 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47470 Glauber de Oliveira Costa <glommer@gmail.com>
47472 * elf/elf.h: Add new ARM TLS relocs.
47474 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47477 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47479 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47481 * sysdeps/wordsize-64/tst-writev.c: New file.
47483 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47485 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47486 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47487 insns in _dl_start to prevent a TOC reference before relocs are
47490 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47493 * Makeconfig: Remove RANLIB definition.
47494 * Makerules: Don't use RANLIB.
47495 * aclocal.m4: Remove ranlib test.
47496 * configure.in: No need to check for ranlib.
47497 * elf/rtld-Rules: Don't use RANLIB.
47499 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47501 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47503 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47504 inclusion protection macro.
47506 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47507 SIGRTMIN and SIGRTMAX and print information in that case only when
47508 SIGRTMIN is defined.
47510 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47512 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47513 arginfo fn returning -1.
47515 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47516 and thousands string is zero terminated.
47518 2011-02-03 Andreas Schwab <schwab@redhat.com>
47520 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47521 sysdeps/unix/sysv/linux/bits/socket.h.
47523 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47525 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47526 (__CPU_COUNT): Remove old macros.
47527 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47528 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47529 (__CPU_ALLOC, __CPU_FREE): Add macros.
47530 (__sched_cpualloc, __sched_cpufree): Add declarations.
47532 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47534 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47535 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47536 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47537 (readdhstai): Return value of addhstaiX call.
47538 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47539 (addgrbyX): Return value returned by cache_addgr.
47540 (readdgrbyname): Return value returned by addgrbyX.
47541 (readdgrbygid): Likewise.
47542 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47543 (addpwbyX): Return value returned by cache_addpw.
47544 (readdpwbyname): Return value returned by addhstbyX.
47545 (readdpwbyuid): Likewise.
47546 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47547 (addservbyX): Return value returned by cache_addserv.
47548 (readdservbyname): Return value returned by addservbyX:
47549 (readdservbyport): Likewise.
47550 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47551 (addhstbyX): Return value returned by cache_addhst.
47552 (readdhstbyname): Return value returned by addhstbyX.
47553 (readdhstbyaddr): Likewise.
47554 (readdhstbynamev6): Likewise.
47555 (readdhstbyaddrv6): Likewise.
47556 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47557 (readdinitgroups): Return value returned by addinitgroupsX.
47558 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47559 (prune_cache): Keep track of timeout value of re-added entries.
47560 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47561 * nscd/nscd.h: Adjust prototypes of readd* functions.
47563 2011-02-04 Roland McGrath <roland@redhat.com>
47565 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47566 (nis_stats): Likewise.
47567 * nis/nis_modify.c (nis_modify): Likewise.
47568 * nis/nis_remove.c (nis_remove): Likewise.
47569 * nis/nis_add.c (nis_add): Likewise.
47571 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47573 * posix/fnmatch_loop.c: Add some consts.
47575 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47577 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47580 * config.make.in (config-cflags-novzeroupper): Define.
47581 * configure.in: Substitute libc_cv_cc_novzeroupper.
47582 * elf/Makefile (AVX-CFLAGS): Define.
47583 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47584 (CFLAGS-tst-auditmod4a.c): Likewise.
47585 (CFLAGS-tst-auditmod4b.c): Likewise.
47586 (CFLAGS-tst-auditmod6b.c): Likewise.
47587 (CFLAGS-tst-auditmod6c.c): Likewise.
47588 (CFLAGS-tst-auditmod7b.c): Likewise.
47589 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47591 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47593 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47594 function to the callback.
47595 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47597 2011-02-02 Andreas Schwab <schwab@redhat.com>
47599 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47602 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47605 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47607 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47609 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47612 * elf/Makefile: Add rules to build and run new test.
47613 * elf/tst-initorder.c: New file.
47614 * elf/tst-initorder.exp: New file.
47615 * elf/tst-initordera1.c: New file.
47616 * elf/tst-initordera2.c: New file.
47617 * elf/tst-initordera3.c: New file.
47618 * elf/tst-initordera4.c: New file.
47619 * elf/tst-initorderb1.c: New file.
47620 * elf/tst-initorderb2.c: New file.
47621 * elf/tst-order-a1.c: New file.
47622 * elf/tst-order-a2.c: New file.
47623 * elf/tst-order-a3.c: New file.
47624 * elf/tst-order-a4.c: New file.
47625 * elf/tst-order-b1.c: New file.
47626 * elf/tst-order-b2.c: New file.
47627 * elf/tst-order-main.c: New file.
47628 New test case by George Gensure <werkt0@gmail.com>.
47630 2010-10-01 Andreas Schwab <schwab@redhat.com>
47632 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47633 decoding ACE if AI_CANONIDN.
47635 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47637 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47639 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47641 * version.h (RELEASE): Bump for 2.13 release.
47642 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47644 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47646 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47648 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47649 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47650 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47651 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47652 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47653 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47655 * posix/getconf.c: Update copyright year.
47656 * catgets/gencat.c: Likewise.
47657 * csu/version.c: Likewise.
47658 * debug/catchsegv.sh: Likewise.
47659 * debug/xtrace.sh: Likewise.
47660 * elf/ldconfig.c: Likewise.
47661 * elf/ldd.bash.in: Likewise.
47662 * elf/sprof.c (print_version): Likewise.
47663 * iconv/iconv_prog.c: Likewise.
47664 * iconv/iconvconfig.c: Likewise.
47665 * locale/programs/locale.c: Likewise.
47666 * locale/programs/localedef.c: Likewise.
47667 * malloc/memusage.sh: Likewise.
47668 * malloc/mtrace.pl: Likewise.
47669 * nscd/nscd.c (print_version): Likewise.
47670 * nss/getent.c: Likewise.
47672 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47673 PF_CAIF, and PF_ALG.
47674 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47676 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47678 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47679 (modules-names): Use them.
47680 (ifunc-test-modules, ifunc-pie-tests): Define.
47681 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47682 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47683 (test-extras): Likewise.
47684 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47685 $(compile-command.c).
47686 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47687 (all-built-dso): Define.
47688 (check-textrel.out, check-execstack.out): Depend on it.
47690 * configure.in: Don't override --enable-multi-arch.
47692 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47695 * nscd/hstcache.c (tryagain): Define.
47696 (cache_addhst): Return tryagain not notfound for temporary errors.
47697 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47700 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47703 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47704 to make the syscall.
47705 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47708 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47709 and fall back to matching as normal character if the string ends before
47710 the matching ']' is found. This is what POSIX requires.
47711 * posix/testfnm.c: Adjust test result.
47712 * posix/globtest.sh: Adjust test result. Add new test.
47713 * posix/tst-fnmatch.input: Likewise.
47714 * posix/tst-fnmatch2.c: Add new test.
47716 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47718 * elf/Makefile (check-execstack): Revert last change. Depend on
47720 (check-execstack.h): New target.
47721 (generated): Add check-execstack.h.
47722 * elf/check-execstack.c: Include "check-execstack.h".
47723 (main): Revert last change.
47724 (handle_file): Return zero if GNU_STACK is absent and
47725 DEFAULT_STACK_PERMS doesn't include PF_X.
47727 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47729 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47730 in child fails because the descriptor is already closed.
47731 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47732 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47733 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47736 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47740 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47741 temporary buffer used to handle multi lookups locally.
47742 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47744 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47746 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47749 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47751 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47752 alignment for SSE2.
47754 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47757 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47758 characters. When rounding increased number of integer digits recompute
47760 * stdio-common/tst-grouping.c: New file.
47761 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47763 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47765 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47766 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47768 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47770 * bits/select.h: Likewise.
47772 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47774 * po/ja.po: Update from translation team.
47776 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47779 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47780 implementation just like for lxstat, fxstatat, et al.
47782 2010-12-27 Jim Meyering <meyering@redhat.com>
47785 * posix/regexec.c (build_trtable): Return failure indication upon
47786 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47788 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47791 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47792 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47793 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47794 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47797 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47800 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47801 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47803 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47805 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47806 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47807 script has SORT_BY_INIT_PRIORITY.
47808 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47809 NO_CTORS_DTORS_SECTIONS is defined.
47810 * elf/soinit.c: Likewise.
47811 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47812 NO_CTORS_DTORS_SECTIONS is defined.
47813 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47814 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47815 * sysdeps/sh/init-first.c: Likewise.
47816 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47818 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47820 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47821 always use the slow path.
47823 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47825 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47826 similar rule which adds the sysdep directories to the header search in
47827 order to pick up the correct platform stackinfo.h.
47828 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47829 perform test if it is, otherwise return successfully without testing.
47830 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47831 DEFAULT_STACK_PERMS define in stackinfo.h.
47832 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47833 defined in stackinfo.h.
47834 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47835 DEFAULT_STACK_PERMS defined in stackinfo.h.
47836 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47837 * sysdeps/ia64/stackinfo.h: Likewise.
47838 * sysdeps/s390/stackinfo.h: Likewise.
47839 * sysdeps/sh/stackinfo.h: Likewise.
47840 * sysdeps/sparc/stackinfo.h: Likewise.
47841 * sysdeps/x86_64/stackinfo.h: Likewise.
47842 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47843 PF_X for powerpc64. Retain PF_X for powerpc32.
47845 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47847 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47849 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47850 GETDENTS_64BIT_ALIGNED.
47852 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47854 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47856 2010-12-10 Andreas Schwab <schwab@redhat.com>
47858 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47861 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47862 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47864 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47865 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47867 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47870 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47873 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47875 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47877 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47879 * po/it.po: Update from translation team.
47881 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47883 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47886 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47888 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47890 2010-11-24 Andreas Schwab <schwab@redhat.com>
47892 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47894 (gaih_getanswer_slice): Likewise.
47896 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47898 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47900 2010-05-31 Petr Baudis <pasky@suse.cz>
47903 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47904 silently even in the chroot mode.
47906 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47908 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47909 last patch a bit. Pretty printing
47911 2010-05-31 Petr Baudis <pasky@suse.cz>
47914 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47915 initialization of skip_initgroups_dyn.
47917 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47919 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47920 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47922 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47924 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47926 2010-11-11 Andreas Schwab <schwab@redhat.com>
47928 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47929 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47930 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47931 ($(objpfx)tst-fnmatch-mem): New rule.
47932 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47933 * posix/tst-fnmatch.c (main): Call mtrace.
47935 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47938 Support Intel processor model 6 and model 0x2c.
47940 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47942 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47945 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47948 * string/test-strncasecmp.c (check_result): New function.
47949 (do_one_test): Use it.
47950 (check1): New function.
47951 (test_main): Use it.
47952 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47953 Support strcasecmp and strncasecmp.
47955 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47958 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47959 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47961 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47963 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47965 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47967 * sysdeps/x86_64/multiarch/bzero.S: New file.
47968 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47969 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47970 * sysdeps/x86_64/multiarch/memset.S: New file.
47971 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47973 Set bit_Prefer_SSE_for_memop for Intel processors.
47974 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47976 (index_Prefer_SSE_for_memop): Define.
47977 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47979 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47981 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47982 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47984 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47987 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47988 (__x86_64_raw_data_cache_size_half): Likewise.
47989 (__x86_64_raw_shared_cache_size): Likewise.
47990 (__x86_64_raw_shared_cache_size_half): Likewise.
47992 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47993 (__x86_64_raw_data_cache_size_half): Likewise.
47994 (__x86_64_raw_shared_cache_size): Likewise.
47995 (__x86_64_raw_shared_cache_size_half): Likewise.
47996 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47997 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47998 and __x86_64_raw_shared_cache_size_half. Round
47999 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48000 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48001 to multiple of 256 bytes.
48003 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48006 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48007 of inacessible symlinks. Verify result of symlink before returning it.
48008 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48009 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48011 2010-10-28 Erich Ritz <erichritz@gmail.com>
48013 * math/math.h (isinf): Fix typo in comment.
48015 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48017 * po/da.po: Update from translation team.
48019 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48021 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48022 is added to the list.
48024 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48025 Ulrich Drepper <drepper@gmail.com>
48027 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48028 the global list here. Move code to...
48029 (_dl_add_to_namespace_list): ...here. New function.
48030 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48031 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48032 * elf/dl-load.c (lose): Don't remove the element from the list.
48033 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48034 (_dl_map_object): Likewise.
48036 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48039 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48040 into all bytes of SSE register.
48041 Patch by Richard Li <richardpku@gmail.com>.
48043 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48046 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48049 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48051 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48052 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48053 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48054 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48059 2010-10-22 Andreas Schwab <schwab@redhat.com>
48061 * include/dlfcn.h (__RTLD_SECURE): Define.
48062 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48063 mode & __RTLD_SECURE instead.
48064 (open_path): Rename preloaded parameter to secure.
48065 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48066 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48067 * elf/dl-deps.c (openaux): Likewise.
48068 * elf/rtld.c (struct map_args): Remove is_preloaded.
48069 (map_doit): Don't use it.
48070 (dl_main): Likewise.
48071 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48072 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48074 2010-09-09 Andreas Schwab <schwab@redhat.com>
48076 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48077 (sysd-rules-targets): Remove duplicates.
48078 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48079 rtld-%.$o dependency.
48081 2010-10-18 Andreas Schwab <schwab@redhat.com>
48083 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48084 _dl_map_object do it.
48086 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48088 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48089 fast fma builtins, define the macros in the C99 standard.
48090 (FP_FAST_FMAF): Likewise.
48091 (FP_FAST_FMAL): Likewise.
48092 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48094 * bits/mathdef.h: Update copyright year.
48095 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48097 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48099 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48100 builtins, define the macros in the C99 standard.
48101 (FP_FAST_FMAF): Likewise.
48102 (FP_FAST_FMAL): Likewise.
48103 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48105 (FP_FAST_FMAF): Likewise.
48107 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48110 * math/libm-test.inc (fma_test): Some new testcases.
48111 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48112 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48113 y and infinite z. Do multiplication by C already in long double.
48114 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48115 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48116 y and infinite z. Do bitwise or of inexact bit into u.d.
48117 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48118 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48119 * sysdeps/i386/fpu/s_fma.S: Removed.
48120 * sysdeps/i386/fpu/s_fmal.S: Removed.
48122 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48125 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48126 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48127 computation is not scheduled after fetestexcept. Fix value
48128 of minimum denormal long double.
48130 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48133 * math/libm-test.inc (fma_test): Add some more tests.
48134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48137 2010-10-15 Andreas Schwab <schwab@redhat.com>
48139 * scripts/data/localplt-s390-linux-gnu.data: New file.
48140 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48142 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48145 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48146 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48148 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48150 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48152 if one of x and y is very large and the other is subnormal.
48153 * sysdeps/s390/fpu/s_fmaf.c: New file.
48154 * sysdeps/s390/fpu/s_fma.c: New file.
48155 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48156 * sysdeps/powerpc/fpu/s_fma.S: New file.
48157 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48158 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48159 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48161 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48164 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48166 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48167 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48168 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48169 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48170 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48171 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48172 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48174 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48177 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48178 * posix/bug-regex31.input: Add test case.
48180 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48182 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48183 * posix/bug-regex31.input: New file.
48186 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48187 (parse_sub_exp): Fix last change, use postorder.
48189 * posix/bug-regex31.c: New file.
48190 * posix/Makefile: Add rules to build and run bug-regex31.
48192 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48195 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48198 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48199 to have entries in sys_siglist.
48202 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48205 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48208 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48209 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48210 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48211 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48212 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48213 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48214 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48215 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48216 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48217 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48218 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48219 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48220 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48221 * math/ftestexcept.c (fetestexcept): Likewise.
48222 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48223 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48224 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48225 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48226 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48227 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48228 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48230 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48233 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48236 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48238 * string/bug-strstr1.c: New file.
48239 * string/Makefile: Add rules to build and run bug-strstr1.
48241 2010-10-05 Eric Blake <eblake@redhat.com>
48244 * string/str-two-way.h (two_way_long_needle): Always clear memory
48245 when skipping input due to the shift table.
48247 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48250 * malloc/mcheck.c: Handle large requests.
48253 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48254 for strncmp and strncasecmp.
48255 * string/stratcliff.c: Add tests for strcmp and strncmp.
48256 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48258 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48260 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48263 2010-09-30 Andreas Jaeger <aj@suse.de>
48265 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48266 (CGROUP_SUPER_MAGIC): Define.
48267 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48268 Handle btrfs and cgroup file systems.
48269 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48272 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48274 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48275 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48277 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48280 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48281 trying to locate the ELF header.
48283 2010-09-27 Andreas Schwab <schwab@redhat.com>
48286 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48287 Mask out sign-bit copies when constructing f_fsid.
48289 2010-09-24 Petr Baudis <pasky@suse.cz>
48291 * debug/stack_chk_fail_local.c: Add missing licence exception.
48292 * debug/warning-nop.c: Likewise.
48294 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48296 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48297 implementing getdents64 using getdents syscall, set d_type if
48298 __ASSUME_GETDENTS32_D_TYPE.
48300 2010-09-16 Andreas Schwab <schwab@redhat.com>
48302 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48303 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48305 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48308 * posix/unistd.h: Undo change of feature selection for ftruncate from
48311 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48313 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48316 2010-09-20 Andreas Schwab <schwab@redhat.com>
48318 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48320 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48322 2010-09-14 Andreas Schwab <schwab@redhat.com>
48324 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48325 variables after CHECK_SP call.
48326 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48328 2010-09-13 Andreas Schwab <schwab@redhat.com>
48329 Ulrich Drepper <drepper@redhat.com>
48331 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48332 re-relocationg ld.so.
48333 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48334 _dl_init_paths call.
48335 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48338 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48340 * resolv/res_init.c (__res_vinit): Count the default server we added.
48342 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48343 Ulrich Drepper <drepper@redhat.com>
48346 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48347 (____longjmp_chk): Use %ebx for saving value across system call.
48350 2010-09-06 Andreas Schwab <schwab@redhat.com>
48352 * manual/Makefile: Don't mix pattern rules with normal rules.
48354 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48356 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48358 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48359 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48360 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48361 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48362 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48365 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48368 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48369 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48371 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48373 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48374 * sysdeps/x86_64/addmul_1.S: Likewise.
48375 * sysdeps/x86_64/lshift.S: Likewise.
48376 * sysdeps/x86_64/mul_1.S: Likewise.
48377 * sysdeps/x86_64/rshift.S: Likewise.
48378 * sysdeps/x86_64/sub_n.S: Likewise.
48379 * sysdeps/x86_64/submul_1.S: Likewise.
48381 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48383 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48384 Define __sched_param instead of SCHED_* and sched_param when
48385 <bits/sched.h> is included with __need_schedparam defined.
48386 * bits/sched.h [__need_schedparam]
48387 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48388 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48389 (__defined_schedparam): Define to 1.
48390 (__sched_param): New structure, identical to sched_param.
48391 (__need_schedparam): Undefine.
48393 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48395 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48396 (epoll_create1): Declare.
48398 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48400 2010-08-31 Andreas Schwab <schwab@redhat.com>
48403 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48404 shifting retval into place.
48406 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48408 * nis/rpcsvc/nis.h: Update copyright notice.
48409 * nis/rpcsvc/nis.x: Likewise.
48410 * nis/rpcsvc/nis_callback.h: Likewise.
48411 * nis/rpcsvc/nis_callback.x: Likewise.
48412 * nis/rpcsvc/nis_object.x: Likewise.
48413 * nis/rpcsvc/nis_tags.h: Likewise.
48414 * nis/rpcsvc/yp.h: Likewise.
48415 * nis/rpcsvc/yp.x: Likewise.
48416 * nis/rpcsvc/ypupd.h: Likewise.
48417 * nis/yp_xdr.c: Likewise.
48418 * nis/ypupdate_xdr.c: Likewise.
48420 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48421 mainly the body of pmap_getport. Add parameters to specify timeouts.
48422 (pmap_getport): Use __libc_rpc_getport.
48423 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48424 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48425 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48427 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48432 2010-08-27 Roland McGrath <roland@redhat.com>
48434 * sysdeps/i386/i686/multiarch/Makefile
48435 (CFLAGS-varshift.c): New variable.
48437 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48439 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48440 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48442 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48444 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48446 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48448 * sysdeps/x86_64/strlen.S: Unroll the loop.
48449 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48450 strlen-sse2 strlen-sse2-bsf.
48451 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48452 __strlen_no_bsf if bit_Slow_BSF is set.
48453 (__strlen_sse42): Removed.
48454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48455 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48457 2010-08-25 Roland McGrath <roland@redhat.com>
48459 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48460 * sysdeps/x86_64/multiarch/varshift.c: New file.
48461 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48462 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48463 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48464 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48466 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48468 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48469 strlen-sse2 strlen-sse2-bsf.
48470 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48471 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48472 (__strlen_sse2): Removed.
48473 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48474 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48476 bit_Slow_BSF for Atom.
48477 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48478 (index_Slow_BSF): Define.
48479 (HAS_SLOW_BSF): Define.
48481 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48484 * resolv/res_init.c (__res_vinit): When no server address at all
48485 is given default to loopback.
48487 2010-08-24 Roland McGrath <roland@redhat.com>
48489 * configure.in: Remove config-name.h generation.
48490 * configure: Regenerated.
48491 * config-name.in: File removed.
48492 * scripts/config-uname.sh: New file.
48493 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48494 ($(objdir)config-name.h): New target.
48496 * sunrpc/rpc_parse.h: Avoid nested comment.
48498 2010-08-24 Richard Henderson <rth@redhat.com>
48499 Ulrich Drepper <drepper@redhat.com>
48500 H.J. Lu <hongjiu.lu@intel.com>
48502 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48503 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48504 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48505 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48506 _mm_alignr_epi8 with _mm_loadu_si128.
48507 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48508 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48509 (__m128i_shift_right): Removed.
48510 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48511 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48512 * sysdeps/x86_64/multiarch/varshift.h: New file.
48513 * sysdeps/x86_64/multiarch/varshift.S: New file.
48515 2010-08-21 Mike Frysinger <vapier@gentoo.org>
48517 * configure.in: Move assembler checks to before sysdep dir checking.
48519 2010-08-20 Petr Baudis <pasky@suse.cz>
48521 * LICENSES: Sync the sunrpc license.
48523 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48525 * sunrpc/auth_des.c: Update copyright notice once again.
48526 * sunrpc/auth_none.c: Likewise.
48527 * sunrpc/auth_unix.c: Likewise.
48528 * sunrpc/authdes_prot.c: Likewise.
48529 * sunrpc/authuxprot.c: Likewise.
48530 * sunrpc/bindrsvprt.c: Likewise.
48531 * sunrpc/clnt_gen.c: Likewise.
48532 * sunrpc/clnt_perr.c: Likewise.
48533 * sunrpc/clnt_raw.c: Likewise.
48534 * sunrpc/clnt_simp.c: Likewise.
48535 * sunrpc/clnt_tcp.c: Likewise.
48536 * sunrpc/clnt_udp.c: Likewise.
48537 * sunrpc/clnt_unix.c: Likewise.
48538 * sunrpc/des_crypt.c: Likewise.
48539 * sunrpc/des_soft.c: Likewise.
48540 * sunrpc/get_myaddr.c: Likewise.
48541 * sunrpc/getrpcport.c: Likewise.
48542 * sunrpc/key_call.c: Likewise.
48543 * sunrpc/key_prot.c: Likewise.
48544 * sunrpc/openchild.c: Likewise.
48545 * sunrpc/pm_getmaps.c: Likewise.
48546 * sunrpc/pm_getport.c: Likewise.
48547 * sunrpc/pmap_clnt.c: Likewise.
48548 * sunrpc/pmap_prot.c: Likewise.
48549 * sunrpc/pmap_prot2.c: Likewise.
48550 * sunrpc/pmap_rmt.c: Likewise.
48551 * sunrpc/rpc/auth.h: Likewise.
48552 * sunrpc/rpc/auth_unix.h: Likewise.
48553 * sunrpc/rpc/clnt.h: Likewise.
48554 * sunrpc/rpc/des_crypt.h: Likewise.
48555 * sunrpc/rpc/key_prot.h: Likewise.
48556 * sunrpc/rpc/netdb.h: Likewise.
48557 * sunrpc/rpc/pmap_clnt.h: Likewise.
48558 * sunrpc/rpc/pmap_prot.h: Likewise.
48559 * sunrpc/rpc/pmap_rmt.h: Likewise.
48560 * sunrpc/rpc/rpc.h: Likewise.
48561 * sunrpc/rpc/rpc_des.h: Likewise.
48562 * sunrpc/rpc/rpc_msg.h: Likewise.
48563 * sunrpc/rpc/svc.h: Likewise.
48564 * sunrpc/rpc/svc_auth.h: Likewise.
48565 * sunrpc/rpc/types.h: Likewise.
48566 * sunrpc/rpc/xdr.h: Likewise.
48567 * sunrpc/rpc_clntout.c: Likewise.
48568 * sunrpc/rpc_cmsg.c: Likewise.
48569 * sunrpc/rpc_common.c: Likewise.
48570 * sunrpc/rpc_cout.c: Likewise.
48571 * sunrpc/rpc_dtable.c: Likewise.
48572 * sunrpc/rpc_hout.c: Likewise.
48573 * sunrpc/rpc_main.c: Likewise.
48574 * sunrpc/rpc_parse.c: Likewise.
48575 * sunrpc/rpc_parse.h: Likewise.
48576 * sunrpc/rpc_prot.c: Likewise.
48577 * sunrpc/rpc_sample.c: Likewise.
48578 * sunrpc/rpc_scan.c: Likewise.
48579 * sunrpc/rpc_scan.h: Likewise.
48580 * sunrpc/rpc_svcout.c: Likewise.
48581 * sunrpc/rpc_tblout.c: Likewise.
48582 * sunrpc/rpc_util.c: Likewise.
48583 * sunrpc/rpc_util.h: Likewise.
48584 * sunrpc/rpcinfo.c: Likewise.
48585 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48586 * sunrpc/rpcsvc/key_prot.x: Likewise.
48587 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48588 * sunrpc/rpcsvc/mount.x: Likewise.
48589 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48590 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48591 * sunrpc/rpcsvc/rex.x: Likewise.
48592 * sunrpc/rpcsvc/rstat.x: Likewise.
48593 * sunrpc/rpcsvc/rusers.x: Likewise.
48594 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48595 * sunrpc/rpcsvc/spray.x: Likewise.
48596 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48597 * sunrpc/rtime.c: Likewise.
48598 * sunrpc/svc.c: Likewise.
48599 * sunrpc/svc_auth.c: Likewise.
48600 * sunrpc/svc_authux.c: Likewise.
48601 * sunrpc/svc_raw.c: Likewise.
48602 * sunrpc/svc_run.c: Likewise.
48603 * sunrpc/svc_simple.c: Likewise.
48604 * sunrpc/svc_tcp.c: Likewise.
48605 * sunrpc/svc_udp.c: Likewise.
48606 * sunrpc/svc_unix.c: Likewise.
48607 * sunrpc/svcauth_des.c: Likewise.
48608 * sunrpc/xcrypt.c: Likewise.
48609 * sunrpc/xdr.c: Likewise.
48610 * sunrpc/xdr_array.c: Likewise.
48611 * sunrpc/xdr_float.c: Likewise.
48612 * sunrpc/xdr_mem.c: Likewise.
48613 * sunrpc/xdr_rec.c: Likewise.
48614 * sunrpc/xdr_ref.c: Likewise.
48615 * sunrpc/xdr_sizeof.c: Likewise.
48616 * sunrpc/xdr_stdio.c: Likewise.
48618 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48621 2010-08-19 Andreas Schwab <schwab@redhat.com>
48623 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48625 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48627 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48628 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48629 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48630 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48631 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48632 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48633 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48634 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48635 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48636 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48637 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48638 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48639 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48640 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48642 2010-07-26 Anton Blanchard <anton@samba.org>
48644 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48645 * malloc/arena.c (heap_trim): Likewise.
48647 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48649 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48651 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48652 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48654 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48656 * sysdeps/i386/elf/Makefile: New file.
48658 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48660 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48661 from fanotify_init.
48662 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48663 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48665 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48667 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48669 * sysdeps/multiarch/strcmp.S: Likewise.
48671 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48673 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48674 strncase_l-nonascii.
48675 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48676 Add strncase_l-ssse3.
48677 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48678 * sysdeps/x86_64/strcmp.S: Likewise.
48679 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48680 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48681 * sysdeps/x86_64/strncase.S: New file.
48682 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48683 * sysdeps/x86_64/strncase_l.S: New file.
48684 * string/Makefile (strop-tests): Add strncasecmp.
48685 * string/test-strncasecmp.c: New file.
48687 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48690 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48691 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48693 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48695 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48697 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48699 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48700 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48701 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48703 2010-05-01 Alan Modra <amodra@gmail.com>
48705 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48706 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48707 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48708 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48709 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48710 tidying. Don't tail-call __sigjmp_save for static lib.
48711 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48713 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48714 (CALL_MCOUNT): Add eh info, and nop after bl.
48715 (TAIL_CALL_SYSCALL_ERROR): New macro.
48716 (PSEUDO_RET): Use it.
48717 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48718 Correct save location of integer regs and cr.
48719 (_dl_profile_resolve): Correct cr save location. Delete nops
48720 after bl when SHARED. Reduce cfi size a little by better
48721 placement of cfi directives.
48722 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48723 make a stack frame. Instead use parm save area as a temp.
48724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48725 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48727 Don't make a stack frame for parent, use parm save area.
48728 Increase child stack frame to 112 bytes. Don't save unused reg,
48729 and adjust reg usage. Set up cfi on error recovery and
48730 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48732 (__makecontext): Add dummy nop after jump to exit.
48733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48734 Use correct parm save area and cr save, reduce stack frame.
48735 Correct cfi for possible PSEUDO_RET frame setup.
48736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48737 Branch to local label emitted by PSEUDO_RET rather than
48740 2010-08-12 Andreas Schwab <schwab@redhat.com>
48743 * locale/programs/locale.c (print_assignment): New function.
48744 (show_locale_vars): Use it.
48746 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48748 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48750 (struct statfs64): Likewise.
48751 (_STATFS_F_FLAGS): Define.
48752 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48753 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48754 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48755 (ST_VALID): Define locally.
48756 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48757 __statvfs_getflags, use the provided value.
48758 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48759 __ASSUME_STATFS_F_FLAGS.
48761 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48763 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48764 Add sys/fanotify.h.
48765 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48766 fanotify_mask for GLIBC_2.13.
48767 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48768 fanotify_init and fanotify_mark.
48769 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48770 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48772 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48774 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48775 prlimit64 for GLIBC_2.13.
48776 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48778 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48781 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48782 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48783 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48784 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48786 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48789 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48790 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48792 * nss/Makefile: Add rules to build and run tst-nss-test1.
48793 * shlib-versions: Add entry for libnss_test1.
48794 * nss/nss_test1.c: New file.
48795 * nss/tst-nss-test1.c: New file.
48797 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48798 (__nss_configure_lookup): Set appropriate entry in
48799 __nss_configure_lookup to true.
48800 * nss/nsswitch.h: Define enum with indeces of databases in
48801 databases and __nss_database_custom arrays. Declare
48802 __nss_database_custom.
48803 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48804 to avoid using nscd when custom rules are installed.
48805 * nss/getXXbyYY_r.c: Likewise.
48806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48808 * nss/nss_files/files-parse.c: Whitespace fixes.
48810 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48813 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48814 * posix/fnmatch_loop.c: Likewise.
48816 2010-07-17 Andi Kleen <ak@linux.intel.com>
48818 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48819 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48820 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48821 * Versions.def [GLIBC_2.13]: Add.
48823 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48825 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48826 Also fail if tpwd after pwuid call is NULL.
48828 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48830 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48831 when converting to ms.
48833 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48835 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48836 EOPNOTSUPP errors with ENOTTY.
48837 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48838 EOPNOTSUPP errors with ENOTTY.
48840 2010-07-31 Ulrich Drepper <drepper@redhat.com>
48842 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48843 Add strcasecmp_l-ssse3.
48844 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48846 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48847 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48848 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48850 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48852 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48854 * string/Makefile (strop-tests): Add strcasecmp.
48855 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48856 strcasecmp_l-nonascii.
48857 (gen-as-const-headers): Add locale-defines.sym.
48858 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48859 * sysdeps/x86_64/strcasecmp.S: New file.
48860 * sysdeps/x86_64/strcasecmp_l.S: New file.
48861 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48862 * sysdeps/x86_64/locale-defines.sym: New file.
48863 * string/test-strcasecmp.c: New file.
48865 * string/test-strcasestr.c: Test both ends of the range of characters.
48866 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48868 2010-07-29 Roland McGrath <roland@redhat.com>
48871 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48873 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48875 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48878 2010-07-27 Andreas Schwab <schwab@redhat.com>
48880 * manual/memory.texi (Malloc Tunable Parameters): Document
48883 2010-07-26 Roland McGrath <roland@redhat.com>
48886 * configure.in (-fgnu89-inline check): Set and substitute
48887 gnu89_inline, not libc_cv_gnu89_inline.
48888 * configure: Regenerated.
48889 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48891 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48893 * string/test-strnlen.c: New file.
48894 * string/Makefile (strop-tests): Add strnlen.
48895 * string/tester.c (test_strnlen): Add a few more test cases.
48896 * string/tst-strlen.c: Better error reporting.
48898 * sysdeps/x86_64/strnlen.S: New file.
48900 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48902 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48903 lower-latency instructions.
48905 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48907 * string/test-strcasestr.c: New file.
48908 * string/test-strstr.c: New file.
48909 * string/Makefile (strop-tests): Add strstr and strcasestr.
48910 * string/str-two-way.h: Don't undefine MAX.
48911 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48913 2010-07-21 Andreas Schwab <schwab@redhat.com>
48915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48916 strcasestr-nonascii.
48917 (CFLAGS-strcasestr-nonascii.c): Define.
48918 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48919 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48920 Remove unused attribute.
48922 2010-07-20 Roland McGrath <roland@redhat.com>
48924 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48925 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48926 ld.so.cache was broken. With it, there is no way to disable dsocaps
48927 like LD_HWCAP_MASK can disable hwcaps.
48929 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48931 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48933 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48935 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48936 call in strcasestr.
48937 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48938 __strcasestr_sse42_nonascii.
48939 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48940 strcasestr-nonascii.c.
48941 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48943 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48945 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48946 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48947 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48948 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48950 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48952 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48955 2010-07-06 Andreas Schwab <schwab@redhat.com>
48958 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48961 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48963 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48964 _PC_PIPE_BUF using F_GETPIPE_SZ.
48966 2010-07-05 Roland McGrath <roland@redhat.com>
48968 * manual/arith.texi (Rounding Functions): Fix rint description
48969 implicit in round description.
48971 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48973 * elf/Makefile: Fix linking for a few tests to make recent linker
48976 2010-06-30 Andreas Schwab <schwab@redhat.com>
48978 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48979 $(common-objpfx)libc_nonshared.a.
48981 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48983 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48984 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48985 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48986 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48987 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48988 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48989 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48990 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49005 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49006 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49007 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49008 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49009 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49010 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49011 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49012 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49013 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49014 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49015 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49016 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49032 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49034 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49035 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49036 * string/memmove.c (memmove): Renamed to ...
49037 (MEMMOVE): ...this. Default to memmove.
49038 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49039 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49042 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49043 mempcpy-ssse3-back memmove-ssse3-back.
49044 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49045 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49046 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49047 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49048 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49049 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49050 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49051 * sysdeps/x86_64/multiarch/memmove.c: New file.
49052 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49053 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49054 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49055 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49056 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49057 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49059 (index_Fast_Copy_Backward): Define.
49060 (HAS_ARCH_FEATURE): Define.
49061 (HAS_FAST_REP_STRING): Define.
49062 (HAS_FAST_COPY_BACKWARD): Define.
49064 2010-06-21 Andreas Schwab <schwab@redhat.com>
49066 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49067 Restore proper fallback handling.
49069 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49072 * posix/group_member.c (__group_member): Correct checking loop.
49074 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49075 OOM in getpwuid_r correctly. Return error number when the caller
49076 should return, otherwise -1.
49077 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49078 call returning > 0 value.
49079 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49081 2010-06-07 Andreas Schwab <schwab@redhat.com>
49083 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49084 libc_nonshared.a from targets in modules-names.
49086 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49088 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49091 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49093 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49094 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49095 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49096 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49098 2010-06-02 Andreas Schwab <schwab@redhat.com>
49100 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49102 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49104 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49106 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49107 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49108 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49110 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49111 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49113 2010-06-14 Roland McGrath <roland@redhat.com>
49115 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49117 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49119 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49120 __REDIRECT followed by __THROW.
49121 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49122 * posix/getopt.h (getopt): Likewise.
49124 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49126 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49127 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49128 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49130 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49131 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49133 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49135 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49137 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49141 Properly check family and model.
49143 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49145 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49147 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49149 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49151 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49153 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49156 2010-05-19 Andreas Schwab <schwab@redhat.com>
49158 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49161 2010-05-21 Andreas Schwab <schwab@redhat.com>
49163 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49164 and internal_recvmmsg.
49165 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49166 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49167 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49168 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49170 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49171 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49172 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49174 2010-05-20 Andreas Schwab <schwab@redhat.com>
49176 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49178 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49180 POWER7 optimizations.
49181 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49182 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49184 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49186 * version.h: Update for 2.13 development version.
49188 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49190 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49191 exceptions. Return 0.
49193 2010-05-07 Roland McGrath <roland@redhat.com>
49195 * elf/ldconfig.c (main): Add a const.
49197 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49199 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49200 (args_options): Add no-idn option.
49201 (ahosts_keys_int): Add idn_flags to ai_flags.
49202 (parse_option): Handle 'i' option to clear idn_flags.
49204 * malloc/malloc.c (_int_free): Possible race in the most recently
49205 added check. Only act on the data if no current modification
49208 See ChangeLog.17 for earlier changes.