1 2014-07-17 Joseph Myers <joseph@codesourcery.com>
3 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
5 cases for individual architectures.
6 * sysdeps/gnu/configure: Regenerated.
7 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
9 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
10 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
17 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
18 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
20 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
21 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
23 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
24 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
25 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
26 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28 * sysdeps/aarch64/shlib-versions: Move to ...
29 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30 * sysdeps/alpha/shlib-versions: Move to ...
31 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
32 * sysdeps/arm/shlib-versions: Move to ...
33 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
34 * sysdeps/hppa/shlib-versions: Move all contents except for
36 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
38 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
39 * sysdeps/ia64/shlib-versions: Move to ...
40 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
42 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
43 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
44 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
45 * sysdeps/microblaze/shlib-versions: Move to ...
46 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
47 * sysdeps/mips/shlib-versions: Move to ...
48 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
50 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
51 * sysdeps/tile/shlib-versions: Move to ...
52 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
53 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
55 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
56 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
58 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
60 2014-07-17 Will Newton <will.newton@linaro.org>
62 * sysdeps/arm/bits/atomic.h
63 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
64 (__arch_compare_and_exchange_bool_16_int): Likewise.
65 (__arch_compare_and_exchange_bool_64_int): Likewise.
67 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
70 2014-07-16 Roland McGrath <roland@hack.frob.com>
72 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
73 just Linux configurations. Test empirically that the compiler sets
74 __ARM_EABI__, rather than using the tuple to decide.
75 * sysdeps/arm/preconfigure: Regenerated.
76 * sysdeps/unix/sysv/linux/arm/configure: File removed.
77 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
79 * sysdeps/arm/configure.ac: ... here.
80 * sysdeps/arm/configure: Regenerated.
82 2014-07-15 Roland McGrath <roland@hack.frob.com>
84 * nptl/pthread_kill.c: New file.
85 * nptl/pthread_sigmask.c: New file.
86 * nptl/pthread_sigqueue.c: New file.
88 * sysdeps/nptl/lowlevellock.h: New file.
89 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
90 * sysdeps/nptl/lowlevellock-futex.h: New file.
92 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
93 Remove dead declarations.
95 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
97 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
98 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
100 * sysdeps/x86_64/configure.ac: Likewise.
101 * sysdeps/i386/configure: Regenerated.
102 * sysdeps/x86_64/configure: Likewise.
103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
104 memset-avx2 only if config-cflags-avx2 is yes.
105 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
106 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
108 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
109 only if HAVE_AVX2_SUPPORT is defined.
110 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
112 2014-07-14 Alan Modra <amodra@gmail.com>
115 * elf/elf.h (DT_PPC64_NUM): Correct value.
116 * NEWS: Add to fixed bug list.
118 2014-07-13 Jim Meyering <meyering@fb.com>
121 regex: don't deref NULL upon heap allocation failure
122 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
123 failure in one more place.
124 To trigger the segfault, configure grep -with-included-regex,
125 build it, and run these commands:
126 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
128 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
130 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
132 2014-07-11 Richard Henderson <rth@redhat.com>
134 * sysdeps/aarch64/libm-test-ulps: Update.
136 2014-07-10 Florian Weimer <fweimer@redhat.com>
139 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
140 * nptl/allocatestack.c (__nptl_setxid_error): New function.
141 (__nptl_setxid): Initialize error member. Call
143 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
144 * nptl/descr.h (struct xid_command): Add error member.
145 * nptl/tst-setuid3.c: New file.
146 * nptl/Makefile (tests): Add it.
148 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
150 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
152 (__lll_trylock): Use __lll_base_trylock.
153 (__lll_cond_trylock): Likewise.
155 2014-07-10 Roland McGrath <roland@hack.frob.com>
157 * nptl/pthread_create.c (start_thread): Use atomic_or and
158 lll_futex_wake directly rather than lll_robust_dead.
159 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
160 (lll_robust_dead): Macro removed.
161 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
162 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
163 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
164 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
165 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
166 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
167 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
168 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
169 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
170 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
171 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
172 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
173 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
174 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
175 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
177 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
178 Use atomic_compare_and_exchange_val_acq directly rather than
180 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
181 (__lll_robust_trylock, lll_robust_trylock): Removed.
182 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
183 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
184 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
185 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
186 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
187 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
188 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
189 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
190 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
191 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
192 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
193 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
194 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
195 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
197 2014-07-02 Florian Weimer <fweimer@redhat.com>
199 * manual/locale.texi (Locale Names): New section documenting
200 locale name syntax. Adjust menu and node chaining accordingly.
201 (Choosing Locale): Reference Locale Names, Locale Categories.
202 Mention setting LC_ALL=C. Reflect that name syntax is now
204 (Locale Categories): New section title. Reference Locale Names.
205 LC_ALL is an environment variable, but not a category.
206 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
207 description, now in Locale Name. Reference that section. Locale
208 name syntax is now documented.
210 2014-07-02 Florian Weimer <fweimer@redhat.com>
213 * locale/findlocale.c (name_present, valid_locale_name): New
215 (_nl_find_locale): Use the loc_name variable to store name
216 candidates. Call name_present and valid_locale_name to check and
217 validate locale names. Return an error if the locale is invalid.
219 2014-07-02 Florian Weimer <fweimer@redhat.com>
221 * locale/setlocale.c (setlocale): Use strdup for allocating
224 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
227 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
228 [!_LIBC && ENABLE_NLS]: Include gettext.h.
229 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
231 [USE_UNLOCKED_IO]: Include unlocked-io.h.
232 [!_LIBC]: Include code for Windows and Cygwin.
233 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
234 Include prototype for int strerror_r.
235 [!_LIBC] (is_open): New function.
236 (flush_stdout): New function.
237 (print_errno_message): Use it.
239 (error_at_line): Likewise.
240 (error_tail) Add function attribute macros. Use
243 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
245 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
247 * io/ftw.c: Include sys/param.h unconditionally.
249 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
252 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
254 (freecache): New function to free CACHE on exit.
256 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
259 2014-07-09 David S. Miller <davem@davemloft.net>
261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
263 * sysdeps/sparc/nptl/internaltypes.h: Delete.
264 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
265 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
266 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
267 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
268 * sysdeps/sparc/nptl/sem_init.c: Likewise.
269 * sysdeps/sparc/nptl/sem_post.c: Likewise.
270 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
271 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
272 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
273 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
274 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
275 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
277 2014-07-09 Andreas Schwab <schwab@suse.de>
279 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
281 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
284 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
286 2014-07-09 Will Newton <will.newton@linaro.org>
288 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
289 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
290 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
291 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
292 * sysdeps/hppa/start.S (_start): Likewise.
294 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
296 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
298 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
301 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
303 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
304 after checking that it is non-NULL.
306 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
308 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
310 * sysdeps/powerpc/memmove.c: Remove file.
311 * sysdeps/powerpc/powerpc32/power4/memcopy.h
312 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
313 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
314 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
315 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
316 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
317 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
318 string memmove instead of removed powerpc one.
320 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
321 [weak_alias]: Fix compiler warning due trailing data.
322 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
323 [weak_alias]: Likewise.
324 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
325 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
327 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
328 (__libc_ifunc_impl_list): Add memmove functions.
330 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
332 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
334 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
336 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
338 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
340 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
342 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
344 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
346 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
348 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
350 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
352 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
354 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
356 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
358 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
360 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
362 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
364 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
367 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
369 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
370 to avoid alignment traps in non-cacheable memory.
371 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
373 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
375 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
376 file: multiarch power7 memmove.
377 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
378 multiarch default memmove.
379 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
380 multiarch memove for powerpc32/power4.
382 * string/bcopy.c: Use full path to include memmove.c.
383 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
385 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
387 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
390 and memmove implementations.
391 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
392 optimized multiarch memmove for POWER7/powerpc64.
393 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
394 default multiarch memmove for powerpc64.
395 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
396 multiarch for powerpc64.
397 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
398 for POWER7/powerpc64.
399 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
400 memmove for POWER7/powerpc64.
402 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
405 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
406 __ELF_NATIVE_CLASS equal to 64.
408 2014-07-07 Roland McGrath <roland@hack.frob.com>
410 * sysdeps/nptl/lowlevellock.h: File removed.
412 * NEWS: NPTL is no longer an add-on!
413 * nptl/internaltypes.h: Moved ...
414 * sysdeps/nptl/internaltypes.h: ... here.
415 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
416 * sysdeps/nptl/fork.c: Likewise.
417 * sysdeps/nptl/gai_misc.h: Likewise.
418 * sysdeps/nptl/librt-cancellation.c: Likewise.
419 * sysdeps/nptl/jmp-unwind.c: Likewise.
420 * sysdeps/nptl/setxid.h: Likewise.
421 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
422 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
423 * sysdeps/unix/sysv/linux/arm/Implies: New file.
424 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
425 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
426 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
427 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
428 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
429 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
430 * sysdeps/unix/sysv/linux/mips/Implies: New file.
431 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
432 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
433 * sysdeps/unix/sysv/linux/sh/Implies: New file.
434 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
435 * sysdeps/unix/sysv/linux/tile/Implies: New file.
436 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
437 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
438 * nptl/Makeconfig: Moved ...
439 * sysdeps/nptl/Makeconfig: ... here.
440 * nptl/configure: File removed.
441 * nptl/ANNOUNCE: File removed.
442 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
443 * sysdeps/unix/sysv/linux/configure: Regenerated.
445 * nptl/Makefile (routines): Add libc_pthread_init,
446 libc_multiple_threads, register-atfork and unregister-atfork.
447 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
448 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
449 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
450 pthread-pi-defines.sym, structsem.sym.
451 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
452 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
453 [$(subdir) = nptl] (tests): Add tst-setgetname.
454 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
455 * sysdeps/unix/sysv/linux/sigaction.c: Just include
456 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
457 [!LIBC_SIGACTION]: Remove aliases.
458 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
459 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
460 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
461 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
462 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
463 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
464 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
465 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
466 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
467 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
468 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
469 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
470 __libc_allocate_rtsig_private.
471 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
472 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
473 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
474 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
475 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
476 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
477 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
478 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
479 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
480 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
481 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
482 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
483 * nptl/internaltypes.h: ... here.
484 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
485 * sysdeps/nptl/jmp-unwind.c: ... here.
486 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
487 * nptl/libc-lowlevellock.c: ... here.
488 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
489 * nptl/libc_multiple_threads.c: ... here.
490 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
491 * nptl/libc_pthread_init.c: ... here.
492 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
493 * nptl/lowlevelbarrier.sym: ... here.
494 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
495 * nptl/lowlevelcond.sym: ... here.
496 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
497 * nptl/lowlevellock.c: ... here.
498 * nptl/lowlevellock.h: Moved ...
499 * sysdeps/nptl/lowlevellock.h: ... here.
500 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
501 * nptl/lowlevelrobustlock.c: ... here.
502 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
503 * nptl/lowlevelrobustlock.sym: ... here.
504 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
505 * nptl/lowlevelrwlock.sym: ... here.
506 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
507 * nptl/pt-fork.c: ... here.
508 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
509 * nptl/pthread-pi-defines.sym: ... here.
510 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
511 * nptl/pthread_attr_getaffinity.c: ... here.
512 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
513 * nptl/pthread_attr_setaffinity.c: ... here.
514 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
515 * nptl/pthread_mutex_cond_lock.c: ... here.
516 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
518 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
519 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
520 * nptl/pthread_once.c: ... here, replacing old file.
521 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
522 * nptl/pthread_yield.c: ... here.
523 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
524 * nptl/register-atfork.c: ... here.
525 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
526 * nptl/sem_post.c: ... here.
527 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
528 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
529 * nptl/sem_timedwait.c: ... here.
530 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
531 * nptl/sem_trywait.c: ... here.
532 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
533 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
534 * nptl/sem_wait.c: ... here.
535 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
536 * nptl/structsem.sym: ... here.
537 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
538 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
539 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
540 * nptl/unregister-atfork.c: ... here.
541 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
542 * nptl/unwindbuf.sym: ... here.
543 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
544 * sysdeps/nptl/fork.c: ... here.
545 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
546 * sysdeps/nptl/fork.h: ... here.
547 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
548 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
549 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
550 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
551 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
552 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
553 * sysdeps/unix/sysv/linux/getpid.c: ... here.
554 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
555 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
556 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
557 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
558 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
559 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
560 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
561 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
562 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
563 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
564 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
565 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
566 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
567 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
568 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
569 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
570 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
571 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
572 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
573 * sysdeps/unix/sysv/linux/raise.c: ... here.
574 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
575 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
576 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
577 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
578 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
579 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
580 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
581 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
582 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
583 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
584 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
585 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
586 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
587 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
588 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
590 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
592 * sysdeps/generic/memcopy.h: Add comment for
593 MEMCPY_OK_FOR_FWD_MEMMOVE.
595 2014-07-04 Will Newton <will.newton@linaro.org>
597 * string/memchr.c: Merge from gnulib.
598 [_LIBC]: Remove conditionals.
599 (__ptr_t): Remove define.
600 (LONG_MAX_32_BITS): Likewise.
601 (LONG_MAX): Likewise.
602 (MEMCHR): Use ANSI prototype and optimize algorithm.
604 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
606 2014-07-03 Roland McGrath <roland@hack.frob.com>
608 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
609 (lll_futex_timed_wait_bitset): Fix syscall argument count.
611 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
612 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
613 in a bare environment with no <stdlib.h> installed.
614 * sysdeps/nptl/configure: Regenerated.
616 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
618 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
619 AC_EGREP_CPP for kernel header checks, so they only succeed if
620 including <linux/version.h> actually works right.
621 * sysdeps/unix/sysv/linux/configure: Regenerated.
623 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
624 value so it's not diagnosed as unused.
626 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
627 thing) with "ifeq ($(subdir),rt)".
629 2014-07-03 Richard Henderson <rth@redhat.com>
631 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
632 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
633 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
635 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
636 (math_force_eval): New.
638 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
639 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
641 * sysdeps/alpha/fpu/s_round.c: Remove file.
642 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
644 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
645 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
646 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
647 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
648 (_dl_start, print_statistics): Likewise.
649 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
650 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
652 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
653 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
654 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
655 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
656 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
657 (HP_SMALL_TIMING_AVAIL): Define.
658 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
659 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
660 (HP_SMALL_TIMING_AVAIL): Define.
661 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
662 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
664 * sysdeps/aarch64/hp-timing.h: New file.
666 * sysdeps/generic/hp-timing.h: Remove dead comment.
667 * sysdeps/generic/hp-timing-common.h: New file.
668 * sysdeps/alpha/hp-timing.h: Include it.
669 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
670 * sysdeps/i386/i686/hp-timing.h: Likewise.
671 * sysdeps/ia64/hp-timing.h: Likewise.
672 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
673 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
674 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
675 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
676 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
677 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
680 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
681 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
682 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
683 * elf/rtld.c (_dl_start_final): Likewise.
684 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
685 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
686 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
687 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
688 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
689 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
690 (HP_TIMING_DIFF_INIT): Remove.
691 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
692 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
693 (HP_TIMING_DIFF_INIT): Remove.
694 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
695 * sysdeps/i386/i686/hp-timing.c: Remove file.
696 * sysdeps/x86_64/hp-timing.c: Remove file.
697 * sysdeps/ia64/hp-timing.c: Remove file.
698 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
699 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
700 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
701 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
703 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
704 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
705 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
706 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
707 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
708 (HP_TIMING_ACCUM): Remove.
709 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
710 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
711 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
713 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
714 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
715 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
716 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
717 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
718 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
719 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
720 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
722 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
724 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
726 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
728 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
730 Sync up with gettext.
731 * intl/loadmsgcat.c: Define O_BINARY if not defined.
732 [_MSC_VER]: Include malloc.h
733 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
734 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
735 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
736 TEMP_FAILURE_RETRY. Cast return of alloca.
737 [!_LIBC] Call gl_rwlock_init.
738 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
740 2014-07-02 Roland McGrath <roland@hack.frob.com>
742 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
743 before checking its value.
745 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
747 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
749 * debug/memcpy_chk.c: Don't include pagecopy.h.
750 * debug/mempcpy_chk.c: Likewise.
751 * string/memcpy.c: Likewise.
752 * string/memmove.c: Likewise.
753 * sysdeps/powerpc/memmove.c: Likewise.
754 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
755 definition of PAGE_COPY_FWD_MAYBE here...
756 * sysdeps/generic/pagecopy.h: ... from here.
757 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
759 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
760 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
762 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
766 (__libc_ifunc_impl_list): Likewise.
767 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
768 multiarch strcat for PPC64.
769 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
770 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
772 2014-07-02 Roland McGrath <roland@hack.frob.com>
774 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
776 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
778 * intl/loadmsgcat.c: Remove declaration of
779 get_sysdep_segment_value.
780 (get_sysdep_segment_value): Use ISO C style.
781 (_nl_load_domain): Use ISO C style. Get rid of redundant
782 semicolon. Fix typo and formatting in comment.
783 (_nl_unload_domain): Use ISO C style.
785 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
787 2014-07-02 Will Newton <will.newton@linaro.org>
789 * malloc/obstack.c: Merge from gnulib master.
790 [HAVE_CONFIG_H]: Remove conditional code.
791 [!_LIBC]: Include config.h.
792 [!ELIDE_CODE]: Don't include inttypes.h, include
793 stdint.h unconditionally.
794 (print_and_abort): Mark as _Noreturn.
795 (_obstack_allocated_p): Mark as __attribute_pure__.
796 (obstack_free): Rename to __obstack_free.
797 [!__attribute__]: Remove conditional code.
798 * malloc/obstack.h: Merge from gnulib master.
799 [__cplusplus]: Move conditional down.
800 [!__attribute_pure__]: Define __attribute_pure__ here
801 if it is not already defined.
802 (_obstack_memory_used): Mark as __attribute_pure__.
803 [!__obstack_free]: Define as obstack_free.
804 [__GNUC__]: Remove check for ancient NeXT gcc.
806 2014-07-02 Will Newton <will.newton@linaro.org>
807 Paul Eggert <eggert@cs.ucla.edu>
809 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
811 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
813 * resolv/gethnamaddr.c: Add comment warning that the file is
816 2014-07-01 Carlos O'Donell <carlos@redhat.com>
818 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
821 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
822 entry for aio_cancel and aio_cancel64.
823 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
824 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
825 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
826 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
827 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
828 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
829 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
830 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
831 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
832 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
833 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
834 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
835 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
837 2014-07-01 Roland McGrath <roland@hack.frob.com>
839 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
840 * nptl/pthread_mutex_lock.c: Likewise.
841 * nptl/pthread_mutex_timedlock.c: Likewise.
842 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
844 2014-07-01 Richard henderson <rth@redhat.com>
846 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
847 (__isnan, __isnanl): Remove.
848 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
850 * sysdeps/alpha/fpu/libm-test-ulps: Update.
852 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
854 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
856 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
858 * resolv/nss_dns/dns-host.c (getanswer_r)
859 [MULTI_PTRS_ARE_ALIASES]: Remove code.
861 2014-07-01 Joseph Myers <joseph@codesourcery.com>
863 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
864 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
866 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
867 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
869 2014-07-01 Roland McGrath <roland@hack.frob.com>
871 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
872 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
874 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
875 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
877 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
878 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
880 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
881 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
883 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
884 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
885 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
886 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
888 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
889 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
890 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
891 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
892 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
894 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
896 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
897 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
898 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
899 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
900 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
901 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
902 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
903 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
904 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
905 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
906 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
907 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
908 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
909 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
910 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
911 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
912 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
913 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
914 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
915 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
917 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
918 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
919 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
920 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
921 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
922 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
923 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
924 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
926 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
928 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
929 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
930 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
933 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
937 2014-06-30 Joseph Myers <joseph@codesourcery.com>
939 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
940 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
942 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
944 * sysdeps/arm/libm-test-ulps: Regenerated.
946 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
947 Roland McGrath <roland@hack.frob.com>
949 * test-skeleton.c (signal_handler): Kill the whole process group
950 before killing the child individually.
951 (main): Report any failure on `setpgid'.
953 2014-06-30 Roland McGrath <roland@hack.frob.com>
955 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
956 from _TLS_H to _ARM_NPTL_TLS_H.
957 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
958 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
960 2014-06-30 Joseph Myers <joseph@codesourcery.com>
963 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
964 (__expm1l): Return argument unchanged when small but not
967 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
969 (_FP_UNPACK_RAW_1_P): Likewise.
970 (_FP_PACK_RAW_1): Likewise.
971 (_FP_PACK_RAW_1_P): Likewise.
972 (_FP_MUL_MEAT_1_wide): Likewise.
973 (_FP_MUL_MEAT_DW_1_hard): Likewise.
974 (_FP_MUL_MEAT_1_hard): Likewise.
975 (_FP_DIV_MEAT_1_imm): Likewise.
976 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
977 (_FP_DIV_MEAT_1_udiv): Likewise.
978 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
979 (_FP_UNPACK_RAW_2): Likewise.
980 (_FP_UNPACK_RAW_2_P): Likewise.
981 (_FP_PACK_RAW_2): Likewise.
982 (_FP_PACK_RAW_2_P): Likewise.
983 (_FP_MUL_MEAT_DW_2_wide): Likewise.
984 (_FP_MUL_MEAT_2_wide): Likewise.
985 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
986 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
987 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
988 (_FP_MUL_MEAT_2_gmp): Likewise.
989 (_FP_DIV_MEAT_2_udiv): Likewise.
990 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
991 (_FP_FRAC_SRL_4): Likewise.
992 (_FP_FRAC_SRST_4): Likewise.
993 (_FP_FRAC_SRS_4): Likewise.
994 (_FP_UNPACK_RAW_4): Likewise.
995 (_FP_UNPACK_RAW_4_P): Likewise.
996 (_FP_PACK_RAW_4): Likewise.
997 (_FP_PACK_RAW_4_P): Likewise.
998 (_FP_MUL_MEAT_DW_4_wide): Likewise.
999 (_FP_MUL_MEAT_4_wide): Likewise.
1000 (_FP_MUL_MEAT_4_gmp): Likewise.
1001 (umul_ppppmnnn): Likewise.
1002 (_FP_DIV_MEAT_4_udiv): Likewise.
1003 (__FP_FRAC_ADD_4): Likewise.
1004 (__FP_FRAC_SUB_3): Likewise.
1005 (__FP_FRAC_SUB_4): Likewise.
1006 (__FP_FRAC_DEC_3): Likewise.
1007 (__FP_FRAC_DEC_4): Likewise.
1008 (__FP_FRAC_ADDI_4): Likewise.
1009 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1010 (_FP_FRAC_SRL_8): Likewise.
1011 (_FP_FRAC_SRS_8): Likewise.
1013 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1015 (FP_UNPACK_RAW_EP): Likewise.
1016 (FP_PACK_RAW_E): Likewise.
1017 (FP_PACK_RAW_EP): Likewise.
1018 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1019 (_FP_ISSIGNAN): Likewise.
1020 (_FP_ADD_INTERNAL): Likewise.
1021 (_FP_FMA): Likewise.
1022 (_FP_CMP): Likewise.
1023 (_FP_SQRT): Likewise.
1024 (_FP_TO_INT): Likewise.
1025 (_FP_FROM_INT): Likewise.
1026 (FP_EXTEND): Likewise.
1027 (_FP_DIV_MEAT_N_loop): Likewise.
1029 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1031 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1034 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1037 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1038 result with correct sign in case of exponents that produce
1039 overflow except for X very close to 1.
1041 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1043 mktime: merge #if/#ifdef usage from glibc
1044 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1045 as that works with both Glibc's and Gnulib's style.
1046 See thread starting at Siddhesh Poyarekar's bug report at:
1047 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1049 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1051 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1052 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1053 * sysdeps/tile/tilegx/memmove.c: Remove file.
1055 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1057 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1058 abi-name definition.
1059 * scripts/soversions.awk: Do not handle or generate ABI lines.
1060 * shlib-versions: Remove ABI entries.
1061 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1062 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1064 2014-06-27 Roland McGrath <roland@hack.frob.com>
1066 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1067 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1068 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1069 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1070 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1071 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1072 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1074 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1076 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1077 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1078 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1079 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1080 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1081 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1082 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1083 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1084 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1085 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1086 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1087 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1088 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1090 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1091 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1092 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1093 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1094 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1095 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1097 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1098 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1100 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1101 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1102 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1103 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1105 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1106 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1107 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1108 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1109 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1110 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1111 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1112 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1114 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1115 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1116 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1117 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1119 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1120 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1122 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1123 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1124 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1125 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1127 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1129 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1130 Identical file removed.
1131 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1133 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1134 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1135 Identical file removed.
1136 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1137 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1138 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1140 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1141 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1142 Identical file removed.
1143 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1144 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1145 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1146 Identical file removed.
1147 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1148 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1149 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1150 Identical file removed.
1151 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1152 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1153 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1154 Identical file removed.
1155 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1157 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1158 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1159 Identical file removed.
1160 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1162 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1163 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1164 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1165 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1166 Identical file removed.
1167 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1169 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1171 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1172 Identical file removed.
1173 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1175 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1177 Identical file removed.
1178 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1180 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1181 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1182 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1183 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1184 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1185 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1187 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1188 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1189 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1191 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1192 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1193 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1194 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1195 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1197 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1200 * nscd/nscd.c (monitor_child): Return exit status of child
1201 instead of return value from wait syscall.
1203 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1205 * configure.ac (libc_commonpagesize): Remove variable.
1206 (libc_relro_required): Likewise.
1207 (libc_cv_z_relro): Remove configure test.
1208 * configure: Regenerated.
1209 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1211 (libc_relro_required): Likewise.
1212 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1213 (libc_relro_required): Likewise.
1214 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1215 (libc_relro_required): Likewise.
1216 * sysdeps/arm/preconfigure: Regenerated.
1217 * sysdeps/ia64/preconfigure: Remove file.
1218 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1220 (libc_relro_required): Likewise.
1224 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1225 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1226 recompute overflowing results in original rounding mode.
1227 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1228 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1229 recompute overflowing results in original rounding mode.
1230 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1231 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1232 recompute overflowing results in original rounding mode.
1233 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1234 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1235 recompute overflowing results in original rounding mode.
1236 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1237 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1238 recompute overflowing results in original rounding mode.
1239 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1240 (libc_feholdsetround_ctx): New macro.
1241 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1242 * sysdeps/i386/fpu/libm-test-ulps: Update.
1243 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1245 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1247 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1248 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1249 corresponding .cpsetup call.
1251 2014-06-26 Roland McGrath <roland@hack.frob.com>
1253 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1254 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1255 * sysdeps/arm/Makefile [$(subdir) = csu]
1256 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1257 (static-only-routines): Add aeabi_read_tp here.
1258 (shared-only-routines): Add libc-aeabi_read_tp here.
1259 (CFLAGS-libc-start.c): Add -fexceptions here.
1260 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1261 (sysdep_routines, static-only-routines, shared-only-routines):
1262 Don't add to these here.
1263 (CFLAGS-libc-start.c): Likewise.
1265 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1266 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1267 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1268 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1269 * sysdeps/arm/Makefile [$(subdir) = rt]
1270 (librt-sysdep_routines, librt-shared-only-routines):
1271 Append rt-aeabi_unwind_cpp_pr1 here.
1272 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1273 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1274 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1275 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1276 Append nptl-aeabi_unwind_cpp_pr1 here.
1277 (tests): Filter out tst-cleanupx4 here.
1278 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1279 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1280 Don't do those here.
1282 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1284 * scripts/list-sources.sh: Do not handle ports specially.
1286 2014-06-26 Roland McGrath <roland@hack.frob.com>
1288 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1289 * sysdeps/arm/feupdateenv.c: Likewise.
1291 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1293 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1295 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1296 trailing whitespace removed.
1297 * scripts/config.guess: Update to version 2014-03-23.
1298 * scripts/config.sub: Update to version 2014-05-01
1299 * scripts/install-sh: Update to version 2013-12-25.23.
1300 * scripts/move-if-change: Update from gnulib.
1302 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1304 * debug/memmove_chk.c: Remove pagecopy.h include.
1306 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1308 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1309 identical to gnulib mktime.
1311 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1313 * configure.ac: Do not test for machine being rs6000. Do not test
1315 * configure: Regenerated.
1317 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1319 * configure: Regenerated.
1320 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1321 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1322 Remove configure test.
1323 * sysdeps/arm/configure: Regenerated.
1324 * sysdeps/nptl/configure.ac: Do not check
1325 libc_cv_asm_cfi_directives.
1326 * sysdeps/nptl/configure: Regenerated.
1327 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1328 * sysdeps/x86_64/nptl/configure: Remove generated file.
1329 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1331 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1333 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1335 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1336 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1337 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1340 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1341 instead of whether it is defined.
1342 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1343 * sysdeps/hppa/dl-machine.h: Likewise.
1344 * sysdeps/ia64/dl-machine.h: Likewise.
1345 * sysdeps/m68k/dl-machine.h: Likewise.
1346 * sysdeps/microblaze/dl-machine.h: Likewise.
1347 * sysdeps/mips/dl-machine.: Likewise.
1348 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1349 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1350 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1351 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1352 * sysdeps/sh/dl-machine.h: Likewise.
1353 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1354 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1355 * sysdeps/tile/dl-machine.h: Likewise.
1356 * sysdeps/x86_64/dl-machine.h: Likewise.
1358 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1360 (verify_persistent_db): Likewise.
1362 2014-06-26 Roland McGrath <roland@hack.frob.com>
1364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1365 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1367 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1370 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1373 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1375 Identical file removed.
1376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1377 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1379 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1381 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1383 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1385 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1388 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1390 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1392 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1395 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1397 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1399 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1401 Identical file removed.
1402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1403 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1405 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1408 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1411 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1413 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1415 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1417 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1419 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1422 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1425 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1427 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1430 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1432 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1434 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1436 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1437 * sysdeps/unix/sysv/linux/s390/Versions
1438 (libpthread: GLIBC_2.19): New version set.
1439 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1440 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1441 (librt: GLIBC_2.3.3): New version set.
1442 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1443 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1444 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1445 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1446 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1447 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1448 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1449 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1450 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1451 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1452 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1453 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1454 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1455 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1456 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1457 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1458 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1459 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1460 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1461 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1462 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1463 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1464 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1465 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1466 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1467 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1468 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1469 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1470 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1471 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1472 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1473 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1474 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1475 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1476 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1477 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1478 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1479 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1480 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1481 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1482 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1483 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1484 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1485 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1486 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1488 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1489 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1490 (__libc_vfork): Define the function under this name.
1491 [!NOT_IN_libc] (__vfork): Make this an alias.
1492 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1493 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1494 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1495 (__libc_vfork): Define the function under this name.
1496 [!NOT_IN_libc] (__vfork): Make this an alias.
1497 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1498 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1499 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1500 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1501 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1502 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1504 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1505 code that was previously under [RESET_PID].
1506 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1507 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1508 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1510 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1511 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1512 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1513 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1514 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1515 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1516 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1517 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1518 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1519 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1520 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1522 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1523 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1524 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1525 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1526 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1527 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1528 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1529 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1530 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1531 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1532 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1533 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1534 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1535 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1536 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1537 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1538 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1539 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1540 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1541 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1542 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1543 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1544 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1545 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1546 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1547 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1548 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1549 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1550 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1552 2014-06-25 Roland McGrath <roland@hack.frob.com>
1554 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1555 that was previously under [RESET_PID].
1556 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1558 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1560 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1561 not undefine and redefine.
1562 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1563 [O_CLOEXEC]: Make code unconditional.
1564 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1565 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1566 <kernel-features.h>.
1567 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1568 conditional variable definition.
1569 (shm_open) [O_CLOEXEC]: Make code unconditional.
1570 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1573 * configure.ac (USE_REGPARMS): Don't define here.
1574 * configure: Regenerated.
1575 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1576 * sysdeps/i386/configure: Regenerated.
1578 * nptl/createthread.c: Don't include kernel-features.h.
1579 * nptl/pthread_cancel.c: Likewise.
1580 * nptl/pthread_condattr_setclock.c: Likewise.
1581 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1582 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1583 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1584 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1585 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1586 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1587 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1588 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1589 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1590 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1591 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1592 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1593 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1594 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1595 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1596 * nscd/gai.c: Likewise.
1597 * nss/nss_db/db-open.c: Likewise.
1598 * sysdeps/generic/ldsodefs.h: Likewise.
1599 * sysdeps/sh/nptl/tls.h: Likewise.
1600 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1601 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1602 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1603 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1604 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1605 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1606 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1607 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1608 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1609 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1610 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1611 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1612 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1613 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1614 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1615 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1616 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1617 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1618 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1619 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1620 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1621 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1622 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1623 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1624 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1625 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1626 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1627 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1628 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1629 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1630 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1631 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1632 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1633 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1634 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1635 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1636 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1637 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1638 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1639 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1640 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1641 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1642 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1643 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1644 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1645 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1646 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1647 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1648 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1649 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1650 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1651 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1652 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1653 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1654 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1655 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1656 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1657 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1680 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1681 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1682 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1683 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1684 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1685 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1686 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1687 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1688 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1689 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1690 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1691 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1692 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1693 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1694 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1695 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1696 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1697 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1698 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1699 * sysdeps/unix/sysv/linux/system.c: Likewise.
1700 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1701 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1702 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1703 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1704 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1705 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1706 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1708 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1709 * configure: Regenerated.
1710 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1712 * configure.ac (base_machine): Do not set specially for particular
1714 * configure: Regenerated.
1715 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1716 settings from configure.ac.
1717 * sysdeps/i386/preconfigure: New file.
1718 * sysdeps/s390/preconfigure: Likewise.
1719 * sysdeps/sh/preconfigure: Likewise.
1720 * sysdeps/sparc/preconfigure: Likewise.
1722 2014-06-25 Roland McGrath <roland@hack.frob.com>
1724 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1725 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1726 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1727 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1728 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1729 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1730 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1731 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1732 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1733 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1734 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1735 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1736 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1737 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1738 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1739 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1740 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1741 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1742 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1744 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1745 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1746 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1747 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1748 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1749 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1750 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1751 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1752 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1753 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1754 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1755 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1756 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1757 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1758 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1759 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1760 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1761 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1762 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1763 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1764 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1765 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1766 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1767 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1768 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1769 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1770 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1771 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1772 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1773 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1774 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1775 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1776 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1777 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1778 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1779 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1780 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1781 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1784 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1786 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1789 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1792 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1794 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1797 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1799 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1801 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1803 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1806 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1809 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1811 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1814 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1816 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1818 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1820 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1822 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1825 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1828 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1830 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1833 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1835 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1837 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1839 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1842 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1845 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1847 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1850 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1852 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1854 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1856 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1858 * timezone/checktab.awk: Update from tzcode 2014e.
1859 * timezone/private.h: Likewise.
1860 * timezone/tzfile.h: Likewise.
1861 * timezone/zdump.c: Likewise.
1862 * timezone/zic.c: Likewise.
1864 * sysdeps/unix/sysv/linux/kernel-features.h
1865 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1866 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1867 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1868 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1869 Remove conditional code.
1871 2014-06-25 Will Newton <will.newton@linaro.org>
1873 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1874 (_dl_arm_cap_flags): Add HWCAP2 values.
1875 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1876 (_DL_HWCAP_COUNT): Increase to 37.
1877 (_DL_HWCAP_LAST): New define.
1878 (_DL_HWCAP2_LAST): New define.
1879 (_dl_procinfo): Add support for printing
1881 (_dl_string_hwcap): Use _dl_hwcap_string.
1883 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1887 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1889 * README: Do not mention ports directory.
1891 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1893 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1894 <kernel-features.h>.
1895 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1896 conditional variable definition.
1897 (__futimes): Update comment.
1898 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1899 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1902 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1903 arguments close to 0.
1904 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1906 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1908 * math/auto-libm-test-in: Add more tests of exp10.
1909 * math/auto-libm-test-out: Regenerated.
1910 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1912 * sysdeps/unix/sysv/linux/kernel-features.h
1913 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1914 * sysdeps/unix/sysv/linux/readv.c: Do not include
1915 <kernel-features.h>.
1916 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1917 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1918 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1920 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1922 * sysdeps/unix/sysv/linux/writev.c: Do not include
1923 <kernel-features.h>.
1924 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1925 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1926 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1928 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1931 2014-06-25 Will Newton <will.newton@linaro.org>
1933 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1934 comment changes throughout the file. Remove checks
1935 for HAVE_*_H definitions that are not required.
1936 (__gen_tempname): Call abort if an unknown kind value is
1939 2014-06-25 Andreas Schwab <schwab@suse.de>
1942 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1943 scalbln, scalblnf, scalblnl in libc.
1945 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1948 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1949 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1950 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1952 2014-06-24 Roland McGrath <roland@hack.frob.com>
1954 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1955 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1956 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1957 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1959 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1960 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1962 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1963 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1964 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1965 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1966 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1967 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1968 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1969 * sysdeps/x86/bits/semaphore.h: ... here.
1970 * sysdeps/x86/nptl/elide.h: Moved ...
1971 * sysdeps/x86/elide.h: ... here.
1972 * sysdeps/x86_64/nptl/Implies: File removed.
1973 * sysdeps/i386/nptl/Implies: File removed.
1975 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1978 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1979 return the argument for normal arguments with exponent below -64.
1980 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1982 * math/auto-libm-test-in: Add another test of expm1.
1983 * math/auto-libm-test-out: Regenerated.
1986 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1987 calling __erfcl for arguments at least 16.
1988 * math/auto-libm-test-in: Add more tests of erf.
1989 * math/auto-libm-test-out: Regenerated.
1991 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1992 individual architectures.
1993 * sysdeps/unix/sysv/linux/configure: Regenerated.
1994 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1995 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1996 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1997 (ldd_rewrite_script): Define variable.
1998 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2003 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2004 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2005 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2006 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2007 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2008 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2009 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2010 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2012 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2015 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2016 Rename member __data.d to __data.__elision_data.
2018 2014-06-24 Wilco <wdijkstr@arm.com>
2020 * NEWS: Add 16918 to fixed bug list.
2022 2014-06-24 Wilco <wdijkstr@arm.com>
2024 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2026 2014-06-24 Wilco <wdijkstr@arm.com>
2028 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2029 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2030 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2031 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2032 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2033 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2034 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2037 2014-06-24 Wilco <wdijkstr@arm.com>
2039 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2041 2014-06-24 Wilco <wdijkstr@arm.com>
2043 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2044 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2045 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2046 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2048 2014-06-24 Wilco <wdijkstr@arm.com>
2051 * sysdeps/arm/feupdateenv.c (feupdateenv):
2052 Rewrite to reduce FPSCR accesses and fix return value.
2054 2014-06-24 Wilco <wdijkstr@arm.com>
2056 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2057 Optimize to avoid unnecessary FPSCR writes.
2058 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2059 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2060 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2061 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2063 2014-06-24 Wilco <wdijkstr@arm.com>
2065 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2066 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2067 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2068 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2069 Call libc_fetestexcept_vfp.
2070 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2071 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2072 __SOFTFP__ ifdef so that they can be built for softfp.
2074 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2076 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2077 argument type signed char.
2079 * Makerules (check-abi): Dump diff of symlist if the test
2082 2014-06-23 Roland McGrath <roland@hack.frob.com>
2084 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2087 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2088 Remove unused variable ST.
2090 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2094 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2095 small arguments before calling __expm1.
2096 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2097 small arguments before calling __expm1f.
2098 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2099 small arguments before calling __expm1l.
2100 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2102 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2103 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2104 spurious underflow for some cosh tests.
2105 * math/auto-libm-test-out: Regenerated.
2106 * sysdeps/i386/fpu/libm-test-ulps: Update.
2109 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2110 (__ieee754_y1): Set errno if return value overflows.
2111 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2112 (__ieee754_y1f): Set errno if return value overflows.
2113 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2114 (__ieee754_y1l): Set errno if return value overflows.
2115 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2116 (__ieee754_y1l): Set errno if return value overflows.
2117 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2118 * math/auto-libm-test-out: Regenerated.
2120 * math/gen-auto-libm-tests.c: Document use of
2121 ignore-zero-inf-sign.
2122 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2123 (input_flags): Add ignore-zero-inf-sign.
2124 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2125 * math/gen-libm-test.pl (generate_testfile): Handle
2126 ignore-zero-inf-sign.
2127 * math/auto-libm-test-in: Mark some cpow tests with
2128 ignore-zero-inf-sign and some with xfail-rounding.
2129 * math/auto-libm-test-out: Regenerated.
2130 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2131 * sysdeps/i386/fpu/libm-test-ulps: Update.
2132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2135 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2136 overflowing or underflowing operations take place with sign of
2138 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2139 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2140 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2141 (__ieee754_pow): Recompute overflowing and underflowing results in
2142 original rounding mode.
2143 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2144 (__powl_helper): Allow negative argument X and scale negated value
2145 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2146 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2147 overflowing or underflowing operations take place with sign of
2149 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2151 * math/auto-libm-test-in: Add more tests of pow.
2152 * math/auto-libm-test-out: Regenerated.
2153 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2154 (pow_tonearest_test_data): Remove.
2155 (pow_test_tonearest): Likewise.
2156 (pow_towardzero_test_data): Likewise.
2157 (pow_test_towardzero): Likewise.
2158 (pow_downward_test_data): Likewise.
2159 (pow_test_downward): Likewise.
2160 (pow_upward_test_data): Likewise.
2161 (pow_test_upward): Likewise.
2162 (main): Don't call removed functions.
2163 * sysdeps/i386/fpu/libm-test-ulps: Update.
2164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2166 2014-06-23 Roland McGrath <roland@hack.frob.com>
2168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2342 2014-06-23 Will Newton <will.newton@linaro.org>
2343 Wilco <wdijkstr@arm.com>
2345 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2346 implementation. Include get-rounding-mode.h.
2347 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2348 [!libc_feholdsetround_noex_ctx]: Define
2349 libc_feholdsetround_noex_ctx.
2350 [!libc_feholdsetround_noexf_ctx]: Define
2351 libc_feholdsetround_noexf_ctx.
2352 [!libc_feholdsetround_noexl_ctx]: Define
2353 libc_feholdsetround_noexl_ctx.
2354 (libc_feholdsetround_ctx): New function.
2355 (libc_feresetround_ctx): New function.
2356 (libc_feholdsetround_noex_ctx): New function.
2357 (libc_feresetround_noex_ctx): New function.
2359 2014-06-23 Roland McGrath <roland@hack.frob.com>
2361 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2362 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2363 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2364 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2365 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2366 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2368 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2369 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2370 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2371 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2372 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2373 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2374 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2375 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2376 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2377 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2378 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2380 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2382 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2383 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2384 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2385 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2386 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2388 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2389 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2390 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2391 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2392 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2393 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2394 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2395 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2397 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2398 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2400 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2401 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2402 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2403 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2405 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2406 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2407 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2408 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2409 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2410 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2411 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2412 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2413 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2414 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2416 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2418 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2419 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2420 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2421 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2422 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2423 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2424 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2425 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2426 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2427 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2428 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2429 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2430 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2432 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2433 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2434 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2435 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2436 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2437 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2439 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2440 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2441 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2442 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2443 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2445 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2446 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2447 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2448 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2449 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2450 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2451 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2452 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2453 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2454 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2455 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2456 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2457 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2458 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2459 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2460 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2461 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2462 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2463 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2464 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2465 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2466 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2467 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2468 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2469 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2470 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2471 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2472 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2474 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2476 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2477 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2478 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2479 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2480 (IPV6_PMTUDISC_INTERFACE): Likewise.
2481 (IPV6_PMTUDISC_OMIT): Likewise.
2483 2014-06-23 Andreas Schwab <schwab@suse.de>
2485 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2486 Remove unused errout label.
2488 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2490 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2491 macro: hardware supports Vector Crypto instructions.
2493 2014-06-23 Will Newton <will.newton@linaro.org>
2495 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2496 rather than __builtin_expect.
2498 * elf/dl-lookup.c (undefined_msg): Remove variable.
2499 (_dl_lookup_symbol_x): Replace undefined_msg with string
2502 * elf/dl-lookup.c (do_lookup_unique): New function.
2503 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2504 to a separate function.
2506 2014-06-23 Andreas Schwab <schwab@suse.de>
2509 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2510 before reading the next line.
2512 2014-06-23 Will Newton <will.newton@linaro.org>
2514 * test-skeleton.c (signal_handler): Use printf and %m
2515 rather than perror. Use printf rather than fprintf to
2516 stderr. Use puts rather than fputs to stderr.
2519 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2521 * nscd/nscd.c (thread_info_t): Remove typedef.
2522 (thread_info): Remove variable.
2524 2014-06-21 Allan McRae <allan@archlinux.org>
2526 * NEWS: Mention CVE-2014-4043.
2528 2014-06-20 Roland McGrath <roland@hack.frob.com>
2530 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2531 * nptl/smp.h: ... here.
2533 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2535 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2536 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2537 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2538 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2540 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2541 * nptl/stack-aliasing.h: New file.
2542 * sysdeps/i386/i686/stack-aliasing.h: New file.
2543 * sysdeps/i386/i686/nptl/Makefile: File removed.
2544 * sysdeps/x86_64/stack-aliasing.h: New file.
2545 * sysdeps/x86_64/nptl/Makefile
2546 (CFLAGS-pthread_create.c): Variable removed.
2548 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2549 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2551 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2552 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2555 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2557 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2558 (__ASSUME_SIGFRAME_V2): Remove macro.
2559 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2560 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2561 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2562 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2563 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2564 Declare as function. Remove conditional macro definitions.
2565 (__default_rt_sa_restorer): Likewise.
2566 (__default_sa_restorer_v1): Remove declaration.
2567 (__default_sa_restorer_v2): Likewise.
2568 (__default_rt_sa_restorer_v1): Likewise.
2569 (__default_rt_sa_restorer_v2): Likewise.
2570 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2571 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2572 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2574 2014-06-20 Roland McGrath <roland@hack.frob.com>
2576 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2577 (libpthread-routines): Add sysdep.
2578 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2579 * sysdeps/unix/sysv/linux/sparc/Versions
2580 (libpthread: GLIBC_2.3.3): New version set.
2581 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2582 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2583 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2584 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2585 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2586 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2588 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2589 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2590 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2591 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2592 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2593 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2594 * sysdeps/sparc/nptl/sem_init.c: ... here.
2595 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2596 * sysdeps/sparc/nptl/sem_post.c: ... here.
2597 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2598 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2599 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2600 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2601 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2602 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2603 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2604 (libpthread-routines): Add cpu_relax.
2605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2607 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2608 (librt: GLIBC_2.3.3): New version set.
2609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2610 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2611 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2612 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2614 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2615 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2616 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2618 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2619 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2620 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2622 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2624 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2626 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2629 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2633 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2635 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2637 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2639 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2641 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2643 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2645 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2647 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2649 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2651 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2652 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2653 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2654 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2656 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2658 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2659 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2660 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2661 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2663 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2664 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2665 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2666 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2667 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2669 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2671 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2672 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2673 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2674 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2675 * nscd/nscd.c: Likewise.
2676 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2677 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2678 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2679 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2681 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2682 <kernel-features.h>.
2683 (init_mq_netlink): Remove conditional have_sock_cloexec
2684 definitions. Remove code conditional on have_sock_cloexec < 0.
2685 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2686 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2687 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2688 <kernel-features.h>.
2689 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2690 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2692 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2694 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2695 Add tests for memset_chk and memset.
2697 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2700 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2703 * elf/tst-dl-iter-static.c: New file.
2704 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2706 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2709 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2711 * sysdeps/unix/sysv/linux/kernel-features.h
2712 (__ASSUME_F_GETOWN_EX): Remove macro.
2713 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2714 <kernel-features.h>.
2715 (miss_F_GETOWN_EX): Remove variable or macro.
2716 (do_fcntl): Do not check miss_F_GETOWN_EX.
2717 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2719 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2721 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2722 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2723 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2725 * sysdeps/unix/sysv/linux/kernel-features.h
2726 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2727 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2728 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2729 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2731 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2734 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2735 Fix calculation of the symbol's value.
2736 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2737 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2738 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2739 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2740 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2741 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2742 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2743 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2744 (modules-names): Add `tst-armtlsdescmod',
2745 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2746 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2747 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2748 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2749 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2750 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2751 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2752 ($(objpfx)tst-armtlsdescloc): New dependency.
2753 ($(objpfx)tst-armtlsdescextnow): Likewise.
2754 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2755 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2757 * sysdeps/arm/configure: Regenerate.
2759 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2761 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2762 (__atfct_seterrno_2): Likewise.
2763 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2764 <kernel-features.h>.
2765 (__ASSUME_ATFCTS): Do not undefine and redefine.
2766 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2767 (__have_atfcts): Remove conditional definition.
2768 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2769 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2770 unreachable if [__ASSUME_ATFCTS].
2771 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2772 not undefine and redefine.
2773 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2774 <kernel-features.h>.
2775 (faccessat) [__NR_faccessat]: Make code unconditional.
2776 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2777 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2778 <kernel-features.h>.
2779 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2780 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2781 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2782 <kernel-features.h>.
2783 (fchownat) [__NR_fchownat]: Make code unconditional.
2784 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2785 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2786 <kernel-features.h>.
2787 (futimesat) [__NR_futimesat]: Make code unconditional.
2788 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2789 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2790 <kernel-features.h>.
2791 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2792 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2793 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2794 <kernel-features.h>.
2795 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2796 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2797 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2798 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2799 <kernel-features.h>.
2800 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2801 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2802 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2803 <kernel-features.h>.
2804 (linkat) [__NR_linkat]: Make code unconditional.
2805 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2806 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2807 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2808 <kernel-features.h>.
2809 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2810 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2811 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2812 <kernel-features.h>.
2813 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2814 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2815 * sysdeps/unix/sysv/linux/openat.c: Do not include
2816 <kernel-features.h>.
2817 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2818 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2819 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2820 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2821 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2822 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2823 <kernel-features.h>.
2824 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2825 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2826 result of INLINE_SYSCALL directly, not via int variable.
2827 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2828 <kernel-features.h>.
2829 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2830 (renameat) [__NR_renameat]: Make code unconditional.
2831 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2832 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2833 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2834 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2835 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2836 (__ASSUME_ATFCTS): Do not undefine and redefine.
2837 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2838 <kernel-features.h>.
2839 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2840 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2841 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2842 <kernel-features.h>.
2843 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2844 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2845 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2846 (__ASSUME_ATFCTS): Do not undefine and redefine.
2847 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2848 <kernel-features.h>.
2849 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2850 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2851 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2852 <kernel-features.h>.
2853 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2854 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2856 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2858 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2860 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2863 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2864 constructed tree before returning error.
2865 * posix/bug-regexp36.c: Expand test case.
2867 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2870 * math/libm-test.inc (scalbln_test_date):
2871 Add errno expectations.
2872 * math/w_scalblnf.c: New File.
2873 Add wrapper which checks for setting errno to ERANGE.
2874 Add weak_alias for corresponding scalbln function.
2875 * math/w_scalbln.c: Likewise.
2876 * math/w_scalblnl.c: Likewise.
2877 * math/Makefile (libm-calls): Add w_scalbln.
2878 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2879 Remove weak_alias for corresponding scalbln function.
2880 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2881 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2882 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2883 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2884 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2885 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2886 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2887 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2888 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2889 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2890 Remove long_double_symbol for scalblnl function in libm, libc.
2891 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2892 Add wrapper which checks for setting errno to ERANGE.
2893 Add long_double_symbol for scalblnl function in libm, libc.
2894 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2895 Remove long_double_symbol for scalblnl in libm.
2896 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2897 Add wrapper which checks for setting errno to ERANGE.
2898 Add long_double_symbol for scalblnl function in libm.
2899 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2900 Do not use wrapper because of own implementation.
2902 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2904 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2905 3 bytes for __pad1 for x32.
2906 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2908 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2909 H.J. Lu <hongjiu.lu@intel.com>
2911 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2912 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2913 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2914 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2915 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2917 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2920 * posix/regcomp.c (parse_expression): Deallocate partially
2921 constructed tree before returning error.
2922 * posix/Makefile.c (tests): Add bug-regex36.
2923 (generated): Add bug-regex36.mtrace.
2924 (tests-special): Add $(objpfx)bug-regex36-mem.out
2925 (bug-regex36-ENV): New variable.
2926 ($(objpfx)bug-regex36-mem.out): New rule.
2927 * posix/bug-regex36.c: New file.
2929 2014-06-19 Will Newton <will.newton@linaro.org>
2931 * malloc/malloc.c (systrim): If extra is zero then return
2934 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2936 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2938 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2940 * sysdeps/aarch64/strchr.S: New file.
2942 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2945 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2946 from arguments -2 or below.
2947 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2948 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2950 2014-06-18 Andreas Schwab <schwab@suse.de>
2953 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2954 of a bracket expr not to run off the end of the string.
2955 * posix/Makefile (tests): Add tst-fnmatch3.
2956 * posix/tst-fnmatch3.c: New file.
2958 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2960 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2961 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2962 [$(cross-compiling) = no]: Likewise.
2963 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2964 [$(cross-compiling) = no]: Likewise.
2966 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2969 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2970 double, adjusted for any remainder from the high double.
2971 * math/libm-test.inc (nearbyint): Add tests.
2974 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2976 * nptl/sysdeps/powerpc/Makefile: Moved ...
2977 * sysdeps/powerpc/nptl/Makefile: ... here.
2978 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2979 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2980 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2981 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2982 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2983 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2984 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2985 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2986 * nptl/sysdeps/powerpc/tls.h: Moved ...
2987 * sysdeps/powerpc/nptl/tls.h: ... here.
2989 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2992 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2993 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2994 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2995 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2996 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2997 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2998 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2999 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3000 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3002 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3004 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3006 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3008 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3011 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3014 2014-06-16 Florian Weimer <fweimer@redhat.com>
3017 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3018 non-executed part of the test.
3020 2014-06-16 Andreas Schwab <schwab@suse.de>
3022 * string/bits/string2.h (strdup, strndup): Update feature guard.
3024 2014-06-14 David S. Miller <davem@davemloft.net>
3026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3028 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3030 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3031 that was previously under [RESET_PID].
3032 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3034 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3035 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3036 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3037 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3038 (__libc_vfork): New strong alias.
3039 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3041 2014-06-14 Andi Kleen <ak@linux.intel.com>
3043 * sysdeps/generic/elide.h: New file.
3045 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3047 * Makefile (installed-headers): Adjust path of pthread.h header.
3049 2014-06-13 Roland McGrath <roland@hack.frob.com>
3051 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3052 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3053 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3054 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3056 * nptl/sysdeps/s390/Makefile: Moved ...
3057 * sysdeps/s390/nptl/Makefile: ... here.
3058 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3059 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3060 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3061 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3062 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3063 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3064 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3065 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3066 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3067 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3068 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3069 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3070 * nptl/sysdeps/s390/tls.h: Moved ...
3071 * sysdeps/s390/nptl/tls.h: ... here.
3073 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3074 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3076 2014-06-13 David S. Miller <davem@davemloft.net>
3078 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3079 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3080 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3081 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3082 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3083 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3084 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3085 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3086 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3087 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3088 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3089 Remove RESET_PID cpp guards.
3090 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3091 Remove RESET_PID cpp guards.
3092 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3094 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3096 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3099 2014-06-13 Andi Kleen <ak@linux.intel.com>
3101 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3102 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3103 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3104 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3105 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3106 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3107 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3108 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3109 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3110 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3111 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3112 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3113 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3114 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3115 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3116 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3117 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3118 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3119 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3120 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3122 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3123 (pthread_rwlock_rdlock): Add elision.
3124 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3125 (pthread_rwlock_wrlock): Add elision.
3126 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3127 (pthread_rwlock_trywrlock): Add elision.
3128 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3129 (pthread_rwlock_tryrdlock): Add elision.
3130 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3131 (pthread_rwlock_tryrdlock): Add elision unlock.
3132 * nptl/sysdeps/pthread/pthread.h:
3133 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3134 (PTHREAD_RWLOCK_INITIALIZER,
3135 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3136 Handle new elision field.
3137 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3138 * sysdeps/arm/nptl/bits/pthreadtypes.h
3139 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3140 * sysdeps/sh/nptl/bits/pthreadtypes.h
3141 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3142 * sysdeps/tile/nptl/bits/pthreadtypes.h
3143 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3144 * sysdeps/a/nptl/bits/pthreadtypes.h
3145 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3146 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3147 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3148 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3149 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3150 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3151 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3152 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3153 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3154 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3155 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3156 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3157 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3158 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3159 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3160 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3161 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3162 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3163 (elision_init): Set try_xbegin to zero when no RTM.
3164 * sysdeps/x86/nptl/bits/pthreadtypes.h
3165 (pthread_rwlock_t): Change __pad1 to __rwelision.
3166 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3168 2014-06-13 Andi Kleen <ak@linux.intel.com>
3170 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3171 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3172 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3173 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3175 2014-06-13 Meador Inge <meadori@codesourcery.com>
3178 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3179 that the cached result has been set before returning it.
3181 2014-06-12 Roland McGrath <roland@hack.frob.com>
3183 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3184 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3185 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3186 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3187 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3188 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3190 * nptl/sysdeps/sparc/Makefile: Moved ...
3191 * sysdeps/sparc/nptl/Makefile: ... here.
3192 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3193 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3194 * nptl/sysdeps/sparc/tls.h: Moved ...
3195 * sysdeps/sparc/nptl/tls.h: ... here.
3196 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3197 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3198 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3199 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3200 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3201 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3202 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3203 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3204 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3205 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3206 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3207 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3208 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3209 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3210 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3211 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3212 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3213 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3215 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3216 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3218 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3219 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3221 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3222 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3225 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3227 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3228 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3230 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3231 (struct list_links): Type removed.
3232 (struct thread_node, struct timer_node): Replace struct list_links
3233 with struct list_head.
3234 (list_unlink_ip): Likewise.
3235 * sysdeps/pthread/timer_routines.c
3236 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3237 (list_append, list_insbefore): Likewise.
3238 (list_init): Function removed.
3239 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3240 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3241 * sysdeps/pthread/Makefile: ... here, new file.
3243 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3244 * sysdeps/nptl/Implies: ... here.
3245 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3246 * nptl/sysdeps/pthread/list.h: Moved ...
3247 * include/list.h: ... here.
3248 * nptl/sysdeps/pthread/createthread.c: Moved ...
3249 * nptl/createthread.c: ... here.
3250 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3251 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3252 * nptl/pt-longjmp.c: ... here.
3253 * nptl/sysdeps/pthread/Makefile: Moved ...
3254 * sysdeps/nptl/Makefile: ... here.
3255 * nptl/sysdeps/pthread/Subdirs: Moved ...
3256 * sysdeps/nptl/Subdirs: ... here.
3257 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3258 * sysdeps/nptl/aio_misc.h: ... here.
3259 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3260 * sysdeps/nptl/bits/libc-lock.h: ... here.
3261 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3262 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3263 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3264 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3265 * nptl/sysdeps/pthread/configure: Moved ...
3266 * sysdeps/nptl/configure: ... here.
3267 * nptl/sysdeps/pthread/configure.ac: Moved ...
3268 * sysdeps/nptl/configure.ac: ... here.
3269 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3270 * sysdeps/nptl/gai_misc.h: ... here.
3271 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3272 * sysdeps/nptl/librt-cancellation.c: ... here.
3273 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3274 * sysdeps/nptl/malloc-machine.h: ... here.
3275 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3276 * sysdeps/nptl/pthread-functions.h: ... here.
3277 * nptl/sysdeps/pthread/pthread.h: Moved ...
3278 * sysdeps/nptl/pthread.h: ... here.
3279 * nptl/sysdeps/pthread/setxid.h: Moved ...
3280 * sysdeps/nptl/setxid.h: ... here.
3281 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3282 * sysdeps/nptl/sigfillset.c: ... here.
3283 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3284 * sysdeps/nptl/tcb-offsets.h: ... here.
3285 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3286 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3287 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3288 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3289 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3290 * sysdeps/pthread/allocalim.h: ... here.
3291 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3292 * sysdeps/pthread/bits/sigthread.h: ... here.
3293 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3294 * sysdeps/pthread/flockfile.c: ... here.
3295 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3296 * sysdeps/pthread/ftrylockfile.c: ... here.
3297 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3298 * sysdeps/pthread/funlockfile.c: ... here.
3299 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3300 * sysdeps/pthread/posix-timer.h: ... here.
3301 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3302 * sysdeps/pthread/timer_create.c: ... here.
3303 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3304 * sysdeps/pthread/timer_delete.c: ... here.
3305 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3306 * sysdeps/pthread/timer_getoverr.c: ... here.
3307 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3308 * sysdeps/pthread/timer_gettime.c: ... here.
3309 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3310 * sysdeps/pthread/timer_routines.c: ... here.
3311 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3312 * sysdeps/pthread/timer_settime.c: ... here.
3313 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3314 * sysdeps/pthread/tst-timer.c: ... here.
3315 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3316 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3318 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3319 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3321 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3322 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3323 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3324 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3325 Update #include target.
3326 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3327 * sysdeps/i386/i686/nptl/Makefile: ... here.
3328 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3329 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3330 Update #include target.
3331 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3332 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3333 * nptl/sysdeps/i386/Makefile: Moved ...
3334 * sysdeps/i386/nptl/Makefile: ... here.
3335 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3336 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3337 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3338 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3339 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3340 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3341 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3342 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3343 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3344 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3345 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3346 * nptl/sysdeps/i386/tls.h: Moved ...
3347 * sysdeps/i386/nptl/tls.h: ... here.
3349 * sysdeps/sh/Makefile [$(subdir) = csu]
3350 (gen-as-const-headers): Add tcb-offsets.sym.
3351 * nptl/sysdeps/sh/Makefile: File removed.
3352 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3353 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3354 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3355 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3356 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3357 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3358 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3359 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3360 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3361 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3362 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3363 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3364 * nptl/sysdeps/sh/tls.h: Moved ...
3365 * sysdeps/sh/nptl/tls.h: ... here.
3366 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3367 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3368 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3369 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3370 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3371 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3372 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3373 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3374 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3375 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3376 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3377 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3378 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3379 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3380 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3381 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3382 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3383 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3384 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3385 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3386 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3387 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3388 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3389 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3390 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3392 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3393 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3395 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3396 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3397 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3398 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3399 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3400 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3401 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3402 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3403 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3404 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3405 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3406 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3407 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3408 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3409 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3410 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3411 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3412 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3413 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3415 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3417 * posix/spawn_faction_addopen.c: Include string.h.
3419 2014-06-11 Roland McGrath <roland@hack.frob.com>
3421 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3422 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3423 * nptl/sysdeps/x86_64/Makefile: Moved ...
3424 * sysdeps/x86_64/nptl/Makefile: ... here.
3425 * nptl/sysdeps/x86_64/configure: Moved ...
3426 * sysdeps/x86_64/nptl/configure: ... here.
3427 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3428 * sysdeps/x86_64/nptl/configure.ac: ... here.
3429 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3430 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3431 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3432 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3433 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3434 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3435 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3436 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3437 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3438 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3439 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3440 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3441 * nptl/sysdeps/x86_64/tls.h: Moved ...
3442 * sysdeps/x86_64/nptl/tls.h: ... here.
3443 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3444 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3445 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3446 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3448 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3450 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3454 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3456 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3458 [POSIX] (off_t): Likewise.
3459 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3460 [POSIX] (S_ISBLK): Require macro.
3461 [POSIX] (S_ISCHR): Likewise.
3462 [POSIX] (S_ISDIR): Likewise.
3463 [POSIX] (S_ISFIFO): Likewise.
3464 [POSIX] (S_ISREG): Likewise.
3465 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3467 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3469 [POSIX] (time_t): Likewise.
3470 [POSIX] (timer_t): Likewise.
3472 2014-06-11 Florian Weimer <fweimer@redhat.com>
3475 * posix/spawn_int.h (struct __spawn_action): Make the path string
3476 non-const to support deallocation.
3477 * posix/spawn_faction_addopen.c
3478 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3479 * posix/spawn_faction_destroy.c
3480 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3481 path in all spawn_do_open actions.
3482 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3483 posix_spawn_file_actions_addopen.
3485 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3487 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3488 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3489 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3490 conditional code always true.
3491 (__libc_vfork): New alias.
3493 2014-06-11 Roland McGrath <roland@hack.frob.com>
3495 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3496 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3498 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3500 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3501 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3503 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3504 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3506 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3507 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3509 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3511 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3512 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3513 multiarch strcmp for PPC64.
3514 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3515 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3517 multiarch optimizations.
3518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3519 (__libc_ifunc_impl_list): Likewise.
3521 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3523 * benchtests/scripts/validate_benchout.py: New script.
3524 * benchtests/Makefile (bench-func): Call it.
3525 * benchtests/scripts/benchout.schema.json: New file.
3527 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3529 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3530 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3531 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3532 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3533 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3534 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3535 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3536 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3537 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3538 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3539 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3540 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3541 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3542 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3543 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3544 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3648 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3649 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3650 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3651 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3652 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3654 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3656 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3657 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3658 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3659 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3660 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3661 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3662 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3663 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3664 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3665 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3666 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3667 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3668 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3670 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3671 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3673 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3674 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3675 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3676 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3678 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3679 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3680 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3681 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3682 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3683 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3684 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3686 2014-06-10 Wilco <wdijkstr@arm.com>
3688 * math/test-fenv-return.c: New file.
3689 * math/Makefile: Add new test test-fenv-return.
3691 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3694 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3696 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3697 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3698 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3699 0.0L for an argument of 1.0L.
3700 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3702 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3703 value when x - 1 is zero.
3704 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3705 * sysdeps/i386/fpu/libm-test-ulps: Update.
3706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3708 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3711 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3713 2014-06-09 Roland McGrath <roland@hack.frob.com>
3715 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3716 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3718 2014-06-09 Roland McGrath <roland@hack.frob.com>
3720 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3721 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3723 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3724 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3726 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3727 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3729 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3730 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3732 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3733 if not already defined.
3734 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3735 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3736 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3737 (TLS_INIT_TP): Use it.
3738 (TLS_DEFINE_INIT_TP): New macro.
3739 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3741 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3743 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3745 [POSIX] (IXANY): Likewise.
3746 [POSIX] (OLCUC): Likewise.
3747 [POSIX || POSIX2008] (CBAUD): Do not allow.
3748 [POSIX || POSIX2008] (DEFECHO): Likewise.
3749 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3750 [POSIX || POSIX2008] (ECHOKE): Likewise.
3751 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3752 [POSIX || POSIX2008] (EXTA): Likewise.
3753 [POSIX || POSIX2008] (EXTB): Likewise.
3754 [POSIX || POSIX2008] (FLUSHO): Likewise.
3755 [POSIX || POSIX2008] (LOBLK): Likewise.
3756 [POSIX || POSIX2008] (PENDIN): Likewise.
3757 [POSIX || POSIX2008] (SWTCH): Likewise.
3758 [POSIX || POSIX2008] (VDISCARD): Likewise.
3759 [POSIX || POSIX2008] (VDSUSP): Likewise.
3760 [POSIX || POSIX2008] (VLNEXT): Likewise.
3761 [POSIX || POSIX2008] (VREPRINT): Likewise.
3762 [POSIX || POSIX2008] (VSTATUS): Likewise.
3763 [POSIX || POSIX2008] (VWERASE): Likewise.
3764 (B*): Change to B[0123456789]*.
3765 * conform/data/time.h-data [POSIX || UNIX98]
3766 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3767 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3768 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3769 [POSIX] (tm_*): Do not allow.
3771 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3773 * Makefile (install): Don't set LANGUAGE.
3774 * Makefile.in (install): Likewise.
3775 * assert/Makefile (test-assert-ENV): Remove variable.
3776 (test-assert-perr-ENV): Likewise.
3777 * elf/Makefile (neededtest4-ENV): Likewise.
3778 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3779 [$(cross-compiling) = no]: Don't set LANGUAGE.
3780 * io/ftwtest-sh (LANG): Remove variable.
3781 * libio/Makefile (tst-widetext-ENV): Likewise.
3782 * manual/install.texi (Running make install): Don't refer to
3783 environment settings for make install.
3784 * INSTALL: Regenerated.
3785 * nptl/tst-tls6.sh: Don't set LANG.
3786 * posix/globtest.sh (LANG): Remove variable.
3787 * string/Makefile (tester-ENV): Likewise.
3788 (inl-tester-ENV): Likewise.
3789 (noinl-tester-ENV): Likewise.
3790 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3791 [$(cross-compiling) = no]: Don't set LANGUAGE.
3792 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3793 without explicit environment settings.
3795 2014-06-06 Roland McGrath <roland@hack.frob.com>
3797 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3798 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3799 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3800 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3802 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3804 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3805 other files in the crypt directory.
3806 * crypt/crypt.c: Remove duplicate includes.
3807 * crypt/crypt-entry.c: Likewise.
3808 * crypt/crypt_util.c: Likewise.
3810 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3812 * Makeconfig (run-program-env): New variable.
3813 (run-program-prefix-before-env): Likewise.
3814 (run-program-prefix-after-env): Likewise.
3815 (run-program-prefix): Define in terms of new variables.
3816 (built-program-cmd-before-env): New variable.
3817 (built-program-cmd-after-env): Likewise.
3818 (built-program-cmd): Define in terms of new variables.
3819 (test-program-prefix-before-env): New variable.
3820 (test-program-prefix-after-env): Likewise.
3821 (test-program-prefix): Define in terms of new variables.
3822 (test-program-cmd-before-env): New variable.
3823 (test-program-cmd-after-env): Likewise.
3824 (test-program-cmd): Define in terms of new variables.
3825 * Rules (make-test-out): Use $(run-program-env).
3826 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3827 (help): Do not mention environment variables. Mention
3828 --timeoutfactor option.
3829 (timeoutfactor): New variable.
3830 (blacklist_exports): Remove function.
3831 (exports): Remove variable.
3832 (command): Do not include ${exports}.
3833 * manual/install.texi (Configuring and compiling): Do not mention
3834 test wrappers preserving environment variables. Mention that last
3835 assignment to a variable must take precedence.
3836 * INSTALL: Regenerated.
3837 * benchtests/Makefile (run-bench): Use $(run-program-env).
3838 * catgets/Makefile ($(objpfx)test1.cat): Use
3839 $(built-program-cmd-before-env), $(run-program-env) and
3840 $(built-program-cmd-after-env).
3841 ($(objpfx)test2.cat): Do not specify environment variables
3843 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3844 $(run-program-env) and $(built-program-cmd-after-env).
3845 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3846 $(run-program-env) and $(test-program-cmd-after-env).
3847 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3849 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3850 run_program_env and test_program_cmd_after_env arguments.
3851 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3852 * elf/tst-pathopt.sh: Use run_program_env argument.
3853 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3854 $(test-wrapper-env) and $(run-program-env).
3855 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3856 run_program_env arguments.
3857 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3858 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3859 $(test-program-prefix-before-env), $(run-program-env) and
3860 $(test-program-prefix-after-env).
3861 ($(objpfx)tst-gettext2.out): Likewise.
3862 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3863 run_program_env and test_program_prefix_after_env arguments.
3864 * intl/tst-gettext2.sh: Likewise.
3865 * intl/tst-gettext4.sh: Do not set environment variables
3867 * intl/tst-gettext6.sh: Likewise.
3868 * intl/tst-translit.sh: Likewise.
3869 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3870 $(test-program-prefix-before-env), $(run-program-env) and
3871 $(test-program-prefix-after-env).
3872 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3873 run_program_env and test_program_prefix_after_env arguments.
3874 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3875 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3876 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3877 explicitly with each use of ${test_wrapper_env}.
3878 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3879 $(test-program-prefix-before-env), $(run-program-env) and
3880 $(test-program-prefix-after-env).
3881 * posix/tst-getconf.sh: Do not set environment variables
3883 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3884 run_program_env and test_program_prefix_after_env arguments.
3885 * stdio-common/tst-printf.sh: Do not set environment variables
3887 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3888 $(test-program-prefix-before-env), $(run-program-env) and
3889 $(test-program-prefix-after-env).
3890 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3891 run_program_env and test_program_prefix_after_env arguments.
3892 Split $test calls into $test_pre and $test.
3893 * timezone/Makefile (build-testdata): Use
3894 $(built-program-cmd-before-env), $(run-program-env) and
3895 $(built-program-cmd-after-env).
3897 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3899 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3900 strlen for non SHARED builds.
3902 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3904 * nptl/allocatestack.c (check_list): Inlined function...
3905 (__reclaim_stacks): ... here.
3907 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3910 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3913 2014-06-05 Joseph Myers <joseph@codesourcery.com>
3915 * Rules (make-test-out): Include
3916 LOCPATH=$(common-objpfx)localedata in default environment.
3917 * debug/Makefile (tst-chk1-ENV): Remove variable.
3918 (tst-chk2-ENV): Likewise.
3919 (tst-chk3-ENV): Likewise.
3920 (tst-chk4-ENV): Likewise.
3921 (tst-chk5-ENV): Likewise.
3922 (tst-chk6-ENV): Likewise.
3923 (tst-lfschk1-ENV): Likewise.
3924 (tst-lfschk2-ENV): Likewise.
3925 (tst-lfschk3-ENV): Likewise.
3926 (tst-lfschk4-ENV): Likewise.
3927 (tst-lfschk5-ENV): Likewise.
3928 (tst-lfschk6-ENV): Likewise.
3929 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3930 (tst-iconv7-ENV): Likewise.
3931 * intl/Makefile (LOCPATH-ENV): Likewise.
3932 (tst-codeset-ENV): Likewise.
3933 (tst-gettext3-ENV): Likewise.
3934 (tst-gettext5-ENV): Likewise.
3935 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3936 (tst-fopenloc-ENV): Likewise.
3937 (tst-fgetws-ENV): Remove variable.
3938 (tst-ungetwc1-ENV): Likewise.
3939 (tst-ungetwc2-ENV): Likewise.
3940 (bug-ungetwc2-ENV): Likewise.
3941 (tst-swscanf-ENV): Likewise.
3942 (bug-ftell-ENV): Likewise.
3943 (tst-fgetwc-ENV): Likewise.
3944 (tst-fseek-ENV): Likewise.
3945 (tst-ftell-partial-wide-ENV): Likewise.
3946 (tst-ftell-active-handler-ENV): Likewise.
3947 (tst-ftell-append-ENV): Likewise.
3948 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3949 (tst-regexloc-ENV): Likewise.
3950 (bug-regex1-ENV): Likewise.
3951 (tst-regex-ENV): Likewise.
3952 (tst-regex2-ENV): Likewise.
3953 (bug-regex5-ENV): Likewise.
3954 (bug-regex6-ENV): Likewise.
3955 (bug-regex17-ENV): Likewise.
3956 (bug-regex18-ENV): Likewise.
3957 (bug-regex19-ENV): Likewise.
3958 (bug-regex20-ENV): Likewise.
3959 (bug-regex22-ENV): Likewise.
3960 (bug-regex23-ENV): Likewise.
3961 (bug-regex25-ENV): Likewise.
3962 (bug-regex26-ENV): Likewise.
3963 (bug-regex30-ENV): Likewise.
3964 (bug-regex32-ENV): Likewise.
3965 (bug-regex33-ENV): Likewise.
3966 (bug-regex34-ENV): Likewise.
3967 (bug-regex35-ENV): Likewise.
3968 (tst-rxspencer-ENV): Likewise.
3969 (tst-rxspencer-no-utf8-ENV): Likewise.
3970 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3971 (tst-sscanf-ENV): Likewise.
3972 (tst-swprintf-ENV): Likewise.
3973 (tst-swscanf-ENV): Likewise.
3974 (test-vfprintf-ENV): Likewise.
3975 (scanf13-ENV): Likewise.
3976 (bug14-ENV): Likewise.
3977 (tst-grouping-ENV): Likewise.
3978 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3979 (tst-strtod3-ENV): Likewise.
3980 (tst-strtod4-ENV): Likewise.
3981 (tst-strtod5-ENV): Likewise.
3982 (testmb2-ENV): Likewise./
3983 * string/Makefile (tst-strxfrm-ENV): Likewise.
3984 (tst-strxfrm2-ENV): Likewise.
3985 (bug-strcoll1-ENV): Likewise.
3986 (test-strcasecmp-ENV): Likewise.
3987 (test-strncasecmp-ENV): Likewise.
3988 * time/Makefile (tst-strptime-ENV): Likewise.
3989 (tst-ftime_l-ENV): Likewise.
3990 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3991 (tst-mbrtowc-ENV): Likewise.
3992 (tst-wcrtomb-ENV): Likewise.
3993 (tst-mbrtowc2-ENV): Likewise.
3994 (tst-c16c32-1-ENV): Likewise.
3995 (tst-mbsnrtowcs-ENV): Likewise.
3997 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3999 * manual/resource.texi (How to get information about the memory
4000 subsystem?): Fix typo.
4001 Reported by Peon de la Parra Ivan <peon@keba.com>
4003 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4006 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4007 (pthread_spin_lock): Branch out of spin loop to proper location.
4008 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4009 (pthread_spin_lock): Likewise.
4011 * nptl/tst-spin4.c: New test.
4012 * nptl/Makefile (tests): Add tst-spin4.
4014 2014-06-03 Andreas Schwab <schwab@suse.de>
4017 * resolv/res_send.c (send_dg): Reload file descriptor after
4020 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4022 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4024 2014-06-03 Richard Henderson <rth@redhat.com>
4026 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4027 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4028 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4029 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4030 in the SAVE_PID block.
4031 (__libc_vfork): New alias.
4032 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4034 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4035 child in registers, not on the stack. Remove RESET_PID conditionals.
4036 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4038 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4040 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4042 2014-06-03 Wilco <wdijkstr@arm.com>
4044 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4045 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4046 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4047 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4048 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4051 2014-06-03 Wilco <wdijkstr@arm.com>
4053 * sysdeps/aarch64/fpu/math_private.h
4054 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4055 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4056 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4057 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4060 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4062 * crypt/crypt-private.h: Include ufc-crypt.h.
4063 (__b64_from_24bit): Declare extern.
4064 * crypt/crypt_util.c(__b64_from_24bit): New function.
4065 (b64t): New static const variable.
4066 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4067 (b64t): Remove variable.
4068 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4069 * crypt/sha256-crypt.c: Include crypt-private.h.
4070 (b64t): Remove variable.
4071 (__sha256_crypt_r): Remove b64_from_24bit and replace
4072 with __b64_from_24bit.
4073 * crypt/sha512-crypt.c: Likewise.
4075 2014-06-02 Roland McGrath <roland@hack.frob.com>
4077 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4078 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4079 Label the code __libc_vfork rather than __vfork.
4080 [!NOT_IN_libc] (vfork): Define as weak alias.
4081 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4082 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4083 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4085 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4087 * malloc/malloc.c (malloc_info): Fix format specifier for
4090 2014-06-02 Wilco <wdijkstr@arm.com>
4092 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4095 2014-06-02 Wilco <wdijkstr@arm.com>
4098 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4099 Rewrite to reduce FPCR/FPSR accesses.
4101 2014-06-01 David S. Miller <davem@davemloft.net>
4103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4105 2014-05-31 David S. Miller <davem@davemloft.net>
4107 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4108 to occur in round to nearest mode when |x| >= 2.0
4110 2014-05-30 Richard Henderson <rth@twiddle.net>
4112 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4113 (PSEUDO_RET_NOERRNO): Remove.
4114 (ret): Don't redefine.
4115 (ret_NOERRNO): Define in terms of ret.
4116 (ret_ERRVAL): Likewise.
4118 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4119 use of PSEUDO_RET; perform the error check directly.
4121 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4123 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4126 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4128 * malloc/malloc (malloc_info): Fix formatting.
4130 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4131 Roland McGrath <roland@hack.frob.com>
4133 * malloc/malloc (malloc_info): Also print mmapped statistics.
4135 2014-05-30 Roland McGrath <roland@hack.frob.com>
4137 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4138 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4140 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4142 * malloc/malloc.c (malloc_info): Inline mi_arena.
4144 2014-05-29 Richard Henderson <rth@twiddle.net>
4146 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4147 Remove comma before expanding ASM_ARGS_##nr.
4148 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4149 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4151 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4152 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4153 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4154 (ASM_ARGS_1): Add leading comma.
4156 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4157 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4158 to __errno_location.
4159 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4160 Remove the expected plt for __errno_location.
4162 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4163 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4166 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4167 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4168 it and break it down.
4169 (DOCARGS_0, DOCARGS_1): Do nothing.
4170 (DOCARGS_2): Update to store into the new stack frame.
4171 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4172 (UNDOCARGS_1): Update to restore from the new stack frame.
4173 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4174 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4176 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4177 (SINGLE_THREAD_P): New parameter for result regno.
4178 (PSEUDO): Update to match; use cbz instead of beq.
4180 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4181 Use ENTRY to define the _nocancel entry point. Share the syscall
4182 and syscall error check paths with the cancel path.
4185 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4186 whitespace; tabs before and after asm mnemonics.
4188 2014-05-29 Eric Wong <normalperson@yhbt.net>
4191 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4192 Call fstat64 or stat64 internally, depending on arguments passed.
4193 Replace stat buffer argument with file descriptor argument.
4194 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4195 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4196 Pass fd to __internal_statvfs instead of calling fstat64.
4197 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4198 Pass fd to __internal_statvfs64 instead of calling fstat64.
4199 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4200 Pass -1 to __internal_statvfs instead of calling stat64.
4201 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4202 Pass -1 to __internal_statvfs64 instead of calling stat64.
4204 2014-05-28 Roland McGrath <roland@hack.frob.com>
4206 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4207 that was previously under [RESET_PID].
4208 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4210 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4211 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4213 2014-05-27 Roland McGrath <roland@hack.frob.com>
4215 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4217 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4218 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4220 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4222 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4224 2014-05-27 Andreas Schwab <schwab@suse.de>
4226 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4228 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4229 * elf/rtld.c (init_tls, dl_main): Likewise.
4230 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4231 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4232 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4233 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4234 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4235 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4236 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4237 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4238 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4239 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4240 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4241 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4242 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4243 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4244 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4245 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4246 * sysdeps/generic/tls.h: Update description.
4248 2014-05-27 Will Newton <will.newton@linaro.org>
4251 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4252 and restore r2 rather than just restoring.
4254 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4257 * libio/tst-ftell-append.c: New test case.
4258 * libio/Makefile (tests): Add test case.
4259 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4261 * libio/wfileops.c (do_ftell_wide): Likewise.
4263 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4267 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4271 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4272 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4273 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4274 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4275 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4276 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4277 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4280 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4283 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4284 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4285 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4286 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4287 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4289 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4290 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4292 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4294 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4296 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4297 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4298 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4300 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4301 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4302 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4303 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4305 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4308 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4311 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4314 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4318 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4321 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4326 conditional [RESET_PID].
4327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4328 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4330 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4335 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4336 (__libc_vfork): New strong alias.
4337 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4339 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4344 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4345 (__libc_vfork): New strong alias.
4346 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4348 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4351 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4353 * malloc/malloc.c (mi_arena): New function.
4354 (malloc_info): Remove nested function mi_arena. Call non-nosted
4357 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4359 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4361 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4362 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4363 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4364 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4365 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4366 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4367 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4369 2014-05-26 Andreas Schwab <schwab@suse.de>
4372 * locale/programs/repertoire.c (repertoire_read): Add slash
4373 between I18NPATH element and file name.
4374 * locale/programs/locfile.c (locfile_read): Likewise.
4376 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4378 * nptl/pthread_mutexattr_settype.c
4379 (__pthread_mutexattr_settype):
4380 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4382 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4384 * nptl/tst-mutex5 (do_test):
4385 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4387 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4389 * benchtests/README: Document 'init' directive.
4390 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4392 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4393 (parse_file): Recognize 'init' directive.
4395 2014-05-26 Kyle McMartin <kyle@redhat.com>
4398 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4399 alignment of struct pthread.
4401 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4404 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4405 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4406 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4407 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4409 2014-05-25 Richard Henderson <rth@twiddle.net>
4411 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4412 (SINGLE_THREAD_P_PIC): Remove.
4413 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4414 (SINGLE_THREAD_P_PIC): Remove.
4416 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4417 branch to syscall error ...
4419 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4420 from __local_syscall_error to .Lsyscall_error.
4421 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4422 (SYSCALL_ERROR): Update label name.
4424 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4425 Do not use DOARGS/UNDOARGS.
4426 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4427 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4428 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4429 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4430 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4432 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4435 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4436 define if !NOT_IN_libc.
4437 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4438 define with non-default symbol versions.
4440 2014-05-23 Richard Henderson <rth@twiddle.net>
4442 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4443 (vfork, __vfork): Define via compat_symbol.
4445 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4446 [!HAVE_IFUNC] (vfork_compat): Remove.
4447 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4449 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4452 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4453 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4456 2014-05-23 Richard Henderson <rth@twiddle.net>
4458 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4459 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4460 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4461 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4463 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4464 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4465 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4466 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4467 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4468 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4469 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4470 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4471 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4472 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4473 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4474 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4475 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4476 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4477 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4478 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4479 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4480 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4481 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4482 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4483 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4484 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4485 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4486 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4487 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4488 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4489 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4490 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4491 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4492 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4493 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4494 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4495 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4496 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4497 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4498 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4499 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4500 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4501 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4502 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4503 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4504 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4505 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4506 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4507 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4508 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4509 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4510 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4511 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4512 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4513 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4514 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4515 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4516 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4517 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4518 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4520 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4521 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4522 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4523 before exiting on error.
4524 (__libc_vfork): New strong alias.
4525 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4526 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4528 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4529 that was previously under [RESET_PID].
4530 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4532 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4534 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4537 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4538 value when x - 1 is zero.
4539 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4540 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4541 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4542 0.0L for an argument of 1.0L.
4543 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4545 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4546 value when x - 1 is zero.
4547 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4548 * sysdeps/i386/fpu/libm-test-ulps: Update.
4549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4551 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4553 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4554 alphasort and versionsort.
4556 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4558 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4560 [copysignf]: Likewise.
4562 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4564 * crypt/md5-crypt.c: Fix formatting.
4566 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4568 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4569 (b64_from_24bit): New function.
4571 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4573 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4574 libc_hidden_builtin_def to ifunc.
4575 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4576 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4578 2014-05-21 Roland McGrath <roland@hack.frob.com>
4580 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4581 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4583 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4585 * nscd/Depend (linuxthreads): Remove.
4587 * resolv/Depend (linuxthreads): Remove.
4588 * rt/Depend (linuxthreads): Remove.
4590 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4591 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4592 $(common-objpfx)elf/.
4593 (link-libc-before-gnulib): Likewise.
4594 (elfobjdir): Remove variable.
4595 * Makefile (install): Use $(elf-objpfx) instead of
4596 $(common-objpfx)elf/.
4597 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4599 (link-libc-deps): Likewise.
4600 ($(common-objpfx)libc.so): Likewise.
4601 ($(common-objpfx)linkobj/libc.so): Likewise.
4602 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4603 instead of $(common-objpfx)elf/.
4604 (symbolic-link-list): Likewise.
4605 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4606 [$(cross-compiling) = no]: Likewise.
4607 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4609 (static-gnulib-arch): Likewise.
4610 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4611 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4612 $(common-objpfx)elf/.
4614 2014-05-21 Richard Henderson <rth@redhat.com>
4616 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4617 (SINGLE_THREAD_P): Use the correct width load. Fold
4618 into the ldr offset.
4620 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4621 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4623 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4625 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4626 (libgcc_s_resume): Use __attribute_used__.
4627 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4630 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4632 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4633 optimization when used with float constants.
4635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4637 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4640 * locale/nl_langinfo_l.c: Make direct reference to every
4641 _nl_current_CATEGORY symbol.
4642 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4643 (tests-static): Add tst-langinfo-static.
4644 (tests-special): Add tst-langinfo-static.out.
4645 ($(objpfx)tst-langinfo.out): Redirect output.
4646 ($(objpfx)tst-langinfo-static.out): New.
4647 * localedata/tst-langinfo.sh: Send output to stdout.
4648 * localedata/tst-langinfo-static.c: New file.
4651 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4652 when the shift amount is modulo the limb size.
4654 2014-05-20 Richard Henderson <rth@redhat.com>
4657 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4658 Change type of sa_flags from unsigned int to int.
4661 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4663 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4665 2014-05-20 Will Newton <will.newton@linaro.org>
4667 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4668 Test the return value of the system call in the nocancel case.
4670 2014-05-20 Will Newton <will.newton@linaro.org>
4671 Yvan Roux <yvan.roux@linaro.org>
4673 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4674 #include of asm/ptrace.h.
4675 (PTRACE_GET_THREAD_AREA): Remove #undef.
4676 (PTRACE_GETHBPREGS): Likewise.
4677 (PTRACE_SETHBPREGS): Likewise.
4678 (struct user_regs_struct): New structure.
4679 (struct user_fpsimd_struct): New structure.
4680 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4681 #include of asm/ptrace.h and second #include of sys/user.h.
4682 (PTRACE_GET_THREAD_AREA): Remove #undef.
4683 (PTRACE_GETHBPREGS): Likewise.
4684 (PTRACE_SETHBPREGS): Likewise.
4685 (ELF_NGREG): Use new struct user_regs_struct.
4686 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4688 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4690 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4691 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4693 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4696 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4697 membar to avoid block loads/stores to overlap previous stores.
4699 2014-05-17 Richard Henderson <rth@redhat.com>
4701 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4702 Create the __##syscall_name##_nocancel entry point.
4703 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4704 Remove; let the sysdep-cancel.h code create it.
4706 2014-05-17 David S. Miller <davem@davemloft.net>
4708 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4709 Protect with __USE_GNU.
4710 (TIOCSET_TEMPT): Likewise.
4711 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4712 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4713 these are already provided in bits/ioctl-types.h
4715 2014-05-16 Roland McGrath <roland@hack.frob.com>
4717 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4718 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4720 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4721 Use wait4 regardless of [__NR_waitpid].
4723 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4726 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4727 (_FP_NANSIGN_Q): Set the quiet bit.
4729 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4731 * benchtests/Makefile
4732 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4733 not $(common-objpfx)math/libm.so.
4734 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4735 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4736 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4737 $(common-objpfx)dlfcn/libdl.so.
4738 ($(objpfx)tst-audit8): Depend on $(libm), not
4739 $(common-objpfx)math/libm.so.
4740 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4741 not $(common-objpfx)dlfcn/libdl.so.
4743 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4744 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4745 [$(build-shared) = yes].
4746 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4747 $(common-objpfx)nptl/libpthread.so.
4748 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4749 $(common-objpfx)math/libm.so$(libm.so-version) or
4750 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4751 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4752 $(common-objpfx)dlfcn/libdl.so.
4753 * setjmp/Makefile (link-libm): Remove variable.
4754 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4755 * stdio-common/Makefile (link-libm): Remove variable.
4756 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4757 * stdlib/Makefile (link-libm): Remove variable.
4758 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4759 ($(objpfx)tst-strtod-round): Likewise.
4760 ($(objpfx)tst-tininess): Likewise.
4761 ($(objpfx)tst-strtod-underflow): Likewise.
4762 ($(objpfx)tst-strtod6): Likewise.
4763 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4764 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4765 $(common-objpfx)dlfcn/libdl.so.
4767 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4769 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4770 BSD terminal modes definitions.
4772 2014-05-16 Roland McGrath <roland@hack.frob.com>
4774 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4775 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4777 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4778 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4779 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4780 Don't do #include_next.
4781 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4782 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4783 Don't do #include_next.
4784 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4785 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4786 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4787 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4789 2014-05-16 Allan McRae <allan@archlinux.org>
4791 * po/sv.po: Update Swedish translation from translation project.
4793 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4796 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4799 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4800 errno if the TIOCGPTN ioctl fails with an error different than
4802 * login/tst-ptsname.c: New file.
4803 * login/Makefile (tests): Add tst-ptsname.
4806 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4809 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4813 herrno to return EAI_AGAIN.
4815 2014-05-14 Roland McGrath <roland@hack.frob.com>
4817 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4818 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4819 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4820 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4821 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4822 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4823 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4824 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4825 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4826 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4827 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4828 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4829 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4830 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4831 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4832 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4833 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4834 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4835 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4836 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4837 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4838 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4839 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4840 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4841 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4842 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4843 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4844 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4845 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4846 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4848 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4850 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4853 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4855 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4857 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4859 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4861 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4863 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4865 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4867 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4869 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4871 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4873 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4875 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4877 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4879 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4882 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4884 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4886 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4888 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4890 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4892 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4894 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4896 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4898 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4900 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4903 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4905 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4907 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4908 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4909 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4910 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4911 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4912 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4913 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4914 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4915 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4916 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4917 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4918 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4919 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4920 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4921 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4922 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4923 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4924 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4925 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4926 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4927 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4928 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4929 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4930 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4931 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4932 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4933 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4934 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4935 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4936 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4937 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4939 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4940 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4942 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4943 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4944 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4945 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4946 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4947 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4949 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4950 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4952 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4953 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4955 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4956 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4958 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4959 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4960 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4961 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4963 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4964 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4965 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4966 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4967 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4968 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4969 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4970 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4972 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4973 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4975 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4977 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4978 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4979 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4980 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4981 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4983 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4985 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4987 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4988 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4989 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4990 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4991 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4992 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4994 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4995 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4997 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4998 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5000 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5001 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5003 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5004 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5005 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5006 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5008 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5009 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5010 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5011 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5012 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5013 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5014 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5015 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5017 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5018 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5020 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5022 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5023 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5024 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5025 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5026 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5028 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5030 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5032 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5033 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5034 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5035 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5036 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5037 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5038 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5039 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5040 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5041 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5043 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5044 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5046 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5047 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5049 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5050 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5052 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5053 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5054 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5055 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5056 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5057 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5059 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5060 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5061 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5062 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5063 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5064 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5065 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5066 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5068 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5069 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5071 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5073 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5074 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5075 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5076 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5077 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5079 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5081 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5083 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5084 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5085 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5086 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5087 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5088 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5089 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5090 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5091 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5092 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5093 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5095 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5096 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5098 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5099 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5101 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5102 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5103 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5104 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5105 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5106 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5107 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5108 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5109 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5110 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5111 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5112 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5113 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5114 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5115 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5116 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5117 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5118 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5120 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5121 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5122 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5123 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5125 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5126 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5127 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5128 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5129 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5130 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5131 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5132 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5134 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5135 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5137 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5138 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5139 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5140 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5141 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5142 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5143 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5144 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5145 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5146 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5147 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5148 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5149 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5150 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5151 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5152 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5153 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5155 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5156 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5157 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5158 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5159 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5161 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5162 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5163 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5164 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5165 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5166 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5167 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5168 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5169 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5170 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5172 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5173 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5175 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5176 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5177 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5178 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5179 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5180 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5181 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5182 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5183 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5184 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5185 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5186 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5187 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5188 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5189 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5191 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5193 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5195 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5197 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5199 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5201 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5203 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5205 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5207 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5209 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5210 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5211 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5212 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5213 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5214 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5215 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5216 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5217 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5218 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5219 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5220 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5221 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5222 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5223 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5225 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5226 that was previously under [RESET_PID].
5227 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5228 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5229 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5231 * sysdeps/i386/nptl/Implies: New file.
5232 * sysdeps/x86_64/nptl/Implies: New file.
5233 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5234 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5235 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5236 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5238 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5239 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5240 (__libc_vfork): New strong alias.
5241 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5242 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5244 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5245 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5246 (__libc_vfork): New strong alias.
5247 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5248 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5250 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5251 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5252 (__libc_vfork): New strong alias.
5253 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5254 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5255 * nptl/pt-vfork.c: New file.
5256 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5257 (libpthread: GLIBC_2.20): New version set (empty).
5259 2014-05-14 Will Newton <will.newton@linaro.org>
5261 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5264 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5267 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5268 arguments with exponent 65 or above.
5269 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5270 arguments 0x1p113L or above.
5271 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5272 to arguments 0x1p107L or above.
5273 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5274 positive arguments with exponent 65 or above.
5275 * math/auto-libm-test-in: Add more tests of log1p.
5276 * math/auto-libm-test-out: Regenerated.
5279 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5280 non-finite arguments is +0.
5281 * math/s_cacosf.c (__cacosf): Likewise.
5282 * math/s_cacosl.c (__cacosl): Likewise.
5283 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5284 * sysdeps/i386/fpu/libm-test-ulps: Update.
5285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5288 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5290 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5291 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5292 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5293 for explicit high bit of mantissa when testing for argument equal
5295 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5296 * sysdeps/i386/fpu/libm-test-ulps: Update.
5297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5300 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5301 (__erf): Scale by 16 instead of 8 in potentially underflowing
5302 case. Ensure exception if result actually underflows.
5303 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5304 (__erff): Scale by 16 instead of 8 in potentially underflowing
5305 case. Ensure exception if result actually underflows.
5306 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5307 (efx8): Remove variable.
5308 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5309 case. Ensure exception if result actually underflows.
5310 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5311 (efx8): Remove variable.
5312 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5313 case. Ensure exception if result actually underflows.
5314 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5315 (efx8): Remove variable.
5316 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5317 case. Ensure exception if result actually underflows.
5318 * math/auto-libm-test-in: Add more tests of erf.
5319 * math/auto-libm-test-out: Regenerated.
5321 2014-05-14 Andreas Schwab <schwab@suse.de>
5323 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5324 Remove code conditionalized on USE___THREAD.
5326 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5327 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5330 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5332 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5333 Define unconditionally.
5334 (__ASSUME_O_CLOEXEC): Likewise.
5335 (__ASSUME_SOCK_CLOEXEC): Likewise.
5336 (__ASSUME_IN_NONBLOCK): Likewise.
5337 (__ASSUME_PIPE2): Likewise.
5338 (__ASSUME_EVENTFD2): Likewise.
5339 (__ASSUME_SIGNALFD4): Likewise.
5340 (__ASSUME_DUP3): Likewise.
5341 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5342 (__ASSUME_DUP3): Do not define.
5343 (__ASSUME_EVENTFD2): Likewise.
5344 (__ASSUME_IN_NONBLOCK): Likewise.
5345 (__ASSUME_O_CLOEXEC): Likewise.
5346 (__ASSUME_PIPE2): Likewise.
5347 (__ASSUME_SIGNALFD4): Likewise.
5348 (__ASSUME_SOCK_CLOEXEC): Likewise.
5349 (__ASSUME_UTIMES): Undefine.
5350 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5351 (__ASSUME_UTIMES): Do not define.
5352 (__ASSUME_O_CLOEXEC): Likewise.
5353 (__ASSUME_SOCK_CLOEXEC): Likewise.
5354 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5355 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5357 (__ASSUME_PIPE2): Likewise.
5358 (__ASSUME_EVENTFD2): Likewise.
5359 (__ASSUME_SIGNALFD4): Likewise.
5360 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5361 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5363 (__ASSUME_EVENTFD2): Likewise.
5364 (__ASSUME_SIGNALFD4): Likewise.
5365 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5366 (__ASSUME_32BITUIDS): Likewise.
5367 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5368 (__ASSUME_IPC64): Likewise.
5369 (__ASSUME_ST_INO_64_BIT): Likewise.
5370 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5371 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5372 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5373 (__ASSUME_UTIMES): Do not define.
5374 (__ASSUME_PSELECT): Likewise.
5375 (__ASSUME_PPOLL): Likewise.
5376 (__ASSUME_O_CLOEXEC): Likewise.
5377 (__ASSUME_SOCK_CLOEXEC): Likewise.
5378 (__ASSUME_IN_NONBLOCK): Likewise.
5379 (__ASSUME_PIPE2): Likewise.
5380 (__ASSUME_EVENTFD2): Likewise.
5381 (__ASSUME_SIGNALFD4): Likewise.
5382 (__ASSUME_DUP3): Likewise.
5383 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5384 (__ASSUME_UTIMES): Likewise.
5385 (__ASSUME_O_CLOEXEC): Likewise.
5386 (__ASSUME_SOCK_CLOEXEC): Likewise.
5387 (__ASSUME_IN_NONBLOCK): Likewise.
5388 (__ASSUME_PIPE2): Likewise.
5389 (__ASSUME_EVENTFD2): Likewise.
5390 (__ASSUME_SIGNALFD4): Likewise.
5391 (__ASSUME_DUP3): Likewise.
5392 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5393 (__ASSUME_UTIMES): Likewise.
5394 (__ASSUME_O_CLOEXEC): Likewise.
5395 (__ASSUME_SOCK_CLOEXEC): Likewise.
5396 (__ASSUME_IN_NONBLOCK): Likewise.
5397 (__ASSUME_PIPE2): Likewise.
5398 (__ASSUME_EVENTFD2): Likewise.
5399 (__ASSUME_SIGNALFD4): Likewise.
5400 (__ASSUME_DUP3): Likewise.
5401 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5403 (__ASSUME_UTIMES): Likewise.
5404 (__ASSUME_EVENTFD2): Likewise.
5405 (__ASSUME_SIGNALFD4): Likewise.
5406 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5407 (__ASSUME_O_CLOEXEC): Likewise.
5408 (__ASSUME_SOCK_CLOEXEC): Likewise.
5409 (__ASSUME_IN_NONBLOCK): Likewise.
5410 (__ASSUME_PIPE2): Likewise.
5411 (__ASSUME_EVENTFD2): Likewise.
5412 (__ASSUME_SIGNALFD4): Likewise.
5413 (__ASSUME_DUP3): Likewise.
5414 (__ASSUME_UTIMES): Undefine.
5416 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5417 feclearexcept. Remove symbol versioning code.
5418 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5419 symbol versioning code.
5420 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5421 symbol versioning code.
5422 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5423 feupdateenv. Remove symbol versioning code.
5424 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5425 fegetexceptflag. Remove symbol versioning code.
5426 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5427 fesetexceptflag. Remove symbol versioning code.
5428 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5429 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5430 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5431 (__posix_fadvise64_l32): Remove prototype.
5432 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5435 2014-05-13 Roland McGrath <roland@hack.frob.com>
5437 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5438 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5439 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5440 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5442 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5444 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5445 current working directory
5447 2014-05-13 Roland McGrath <roland@hack.frob.com>
5449 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5450 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5451 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5452 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5453 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5454 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5455 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5456 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5457 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5458 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5459 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5460 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5461 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5462 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5463 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5464 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5465 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5466 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5467 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5468 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5469 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5470 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5471 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5472 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5473 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5474 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5475 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5476 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5477 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5478 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5479 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5480 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5481 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5482 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5483 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5484 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5485 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5486 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5487 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5488 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5489 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5490 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5492 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5493 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5495 * sysdeps/unix/sysv/linux/arm/Makefile
5496 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5497 Add rt-aeabi_unwind_cpp_pr1.
5498 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5499 Add nptl-aeabi_unwind_cpp_pr1.
5500 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5501 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5502 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5503 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5504 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5505 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5507 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5508 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5509 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5510 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5512 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5513 Deconditionalize the code that was previously under [RESET_PID].
5514 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5516 * sysdeps/generic/exit-thread.h: New file.
5517 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5518 * include/unistd.h (__exit_thread): Remove declaration.
5519 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5520 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5521 * csu/libc-start.c: Include <exit-thread.h>.
5522 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5523 * nptl/pthread_create.c: Include <exit-thread.h>.
5524 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5525 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5526 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5527 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5528 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5529 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5530 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5531 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5532 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5533 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5534 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5535 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5536 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5537 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5538 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5539 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5540 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5542 2014-05-13 Andreas Schwab <schwab@suse.de>
5544 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5546 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5548 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5549 (__ASSUME_UTIMES): Do not condition on kernel version.
5550 (__ASSUME_PSELECT): Define unconditionally.
5551 (__ASSUME_PPOLL): Likewise.
5552 (__ASSUME_ATFCTS): Likewise.
5553 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5554 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5555 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5556 (__ASSUME_UTIMENSAT): Define unconditionally.
5557 (__ASSUME_PRIVATE_FUTEX): Likewise.
5558 (__ASSUME_FALLOCATE): Likewise.
5559 (__ASSUME_O_CLOEXEC): Likewise.
5560 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5561 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5562 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5563 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5564 (__ASSUME_IN_NONBLOCK): Likewise.
5565 (__ASSUME_PIPE2): Likewise.
5566 (__ASSUME_EVENTFD2): Likewise.
5567 (__ASSUME_SIGNALFD4): Likewise.
5568 (__ASSUME_DUP3): Likewise.
5569 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5570 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5571 (__ASSUME_AT_RANDOM): Likewise.
5572 (__ASSUME_PREADV): Likewise.
5573 (__ASSUME_PWRITEV): Likewise.
5574 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5575 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5576 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5577 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5578 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5579 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5580 (__ASSUME_O_CLOEXEC): Define unconditionally.
5581 (__ASSUME_PSELECT): Do not undefine conditionally.
5582 (__ASSUME_PPOLL): Likewise.
5583 (__ASSUME_ATFCTS): Likewise.
5584 (__ASSUME_SET_ROBUST_LIST): Likewise.
5585 (__ASSUME_UTIMENSAT): Likewise.
5586 (__ASSUME_FDATASYNC): Define unconditionally.
5587 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5588 (__ASSUME_SIGFRAME_V2): Likewise.
5589 )__ASSUME_EVENTFD2): Likewise.
5590 (__ASSUME_SIGNALFD4): Likewise.
5591 (__ASSUME_PSELECT): Do not undefine conditionally.
5592 (__ASSUME_PPOLL): Likewise.
5593 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5594 (__ASSUME_PSELECT): Define unconditionally.
5595 (__ASSUME_PPOLL): Likewise.
5596 (__ASSUME_O_CLOEXEC): Likewise.
5597 (__ASSUME_SOCK_CLOEXEC): Likewise.
5598 (__ASSUME_IN_NONBLOCK): Likewise.
5599 (__ASSUME_PIPE2): Likewise.
5600 (__ASSUME_EVENTFD2): Likewise.
5601 (__ASSUME_SIGNALFD4): Likewise.
5602 (__ASSUME_DUP3): Likewise.
5603 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5604 (__ASSUME_O_CLOEXEC): Likewise.
5605 (__ASSUME_SOCK_CLOEXEC): Likewise.
5606 (__ASSUME_IN_NONBLOCK): Likewise.
5607 (__ASSUME_PIPE2): Likewise.
5608 (__ASSUME_EVENTFD2): Likewise.
5609 (__ASSUME_SIGNALFD4): Likewise.
5610 (__ASSUME_DUP3): Likewise.
5611 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5612 (__ASSUME_EVENTFD2): Likewise.
5613 (__ASSUME_SIGNALFD4): Likewise.
5614 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5616 2014-05-12 Andreas Schwab <schwab@suse.de>
5619 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5620 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5621 than maximum RPC packet size.
5622 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5623 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5624 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5625 (_nss_nis_getservbyport_r): Likewise.
5627 2014-05-12 Will Newton <will.newton@linaro.org>
5629 * malloc/Makefile (tests): Add tst-mallopt.
5630 * malloc/tst-mallopt.c: New file.
5632 2014-05-09 Roland McGrath <roland@hack.frob.com>
5634 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5635 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5637 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5639 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5640 (tst-tlsmod6.so): Likewise.
5642 2014-05-09 Roland McGrath <roland@hack.frob.com>
5644 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5646 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5649 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5650 and <dl-procinfo.h>.
5651 (__fegetenv): Save SSE state in envp->__eip if supported.
5652 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5653 envp->__eip if supported.
5654 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5655 and <dl-procinfo.h>.
5656 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5657 __data_offset and __data_selector in environment to 0. Set SSE
5659 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5661 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5663 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5665 2014-05-09 Will Newton <will.newton@linaro.org>
5667 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5668 and libc_relro_required for ARM.
5669 * sysdeps/arm/preconfigure: Regenerate.
5671 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5672 Stefan Liebler <stli@linux.vnet.ibm.com>
5674 * config.make.in (enable-lock-elision): New Makefile variable.
5675 * configure.ac: Likewise.
5676 * configure: Regenerate.
5677 * sysdeps/s390/configure.ac:
5678 Add check for gcc transactions support.
5679 * sysdeps/s390/configure: Regenerate.
5680 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5681 Build elision files if enabled.
5682 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5683 Add lock elision support for s390.
5684 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5685 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5686 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5687 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5688 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5689 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5690 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5692 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5694 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5696 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5698 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5699 (__lll_timedlock_elision, __lll_lock_elision)
5700 (__lll_unlock_elision, __lll_trylock_elision)
5701 (lll_timedlock_elision, lll_lock_elision)
5702 (lll_unlock_elision, lll_trylock_elision): Add.
5703 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5704 (pthread_mutex_t): Add lock elision support for s390.
5706 2014-05-14 Wilco <wdijkstr@arm.com>
5708 * sysdeps/arm/fclrexcpt.c: Cleanup.
5709 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5710 * sysdeps/arm/feenablxcpt.c: Cleanup.
5711 * sysdeps/arm/fegetenv.c: Cleanup.
5712 * sysdeps/arm/fegetexcept.c: Cleanup.
5713 * sysdeps/arm/fegetround.c: Cleanup.
5714 * sysdeps/arm/feholdexcpt.c: Cleanup.
5715 * sysdeps/arm/fesetenv.c: Cleanup.
5716 * sysdeps/arm/fesetround.c: Cleanup.
5717 * sysdeps/arm/feupdateenv.c: Cleanup.
5718 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5719 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5720 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5721 * sysdeps/arm/ftestexcept.c: Cleanup.
5722 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5723 * sysdeps/arm/setfpucw.c: Cleanup.
5725 2014-05-09 Will Newton <will.newton@linaro.org>
5727 * sysdeps/arm/armv7/strcmp.S: New file.
5728 * NEWS: Mention addition of ARMv7 optimized strcmp.
5730 2014-05-08 Roland McGrath <roland@hack.frob.com>
5732 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5733 look for %.ac rather than %.in.
5735 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5736 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5737 * sysdeps/mach/hurd/configure: Regenerated.
5738 * sysdeps/unix/sysv/linux/configure: Regenerated.
5740 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5742 2014-05-07 Steve Ellcey <sellcey@mips.com>
5745 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5749 2014-05-07 Andreas Schwab <schwab@suse.de>
5751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5752 when skipping over non-matching result from nscd.
5754 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5757 * nptl/sockperf.c (client): Check socket return value.
5760 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5761 nscd security class.
5763 2014-05-06 Roland McGrath <roland@hack.frob.com>
5765 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5766 * sysdeps/arm/unwind.h: ... here.
5768 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5771 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5774 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5776 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5777 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5778 multiarch strncpy for PPC64.
5779 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5780 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5781 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5782 multiarch optimizations.
5783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5784 (__libc_ifunc_impl_list): Likewise.
5785 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5786 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5787 multiarch stpncpy for PPC64.
5788 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5789 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5791 2014-05-06 Andreas Schwab <schwab@suse.de>
5794 * gmon/mcount.c (_MCOUNT_DECL): Use
5795 atomic_compare_and_exchange_bool_acq instead of
5796 catomic_compare_and_exchange_bool_acq.
5798 2014-05-05 Roland McGrath <roland@hack.frob.com>
5800 * elf/Makefile (others, install-bin): Remove pldd.
5801 (pldd-modules): Variable removed.
5802 ($(objpfx)pldd): Target removed.
5803 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5804 (others, install-bin): Append pldd here.
5805 ($(objpfx)pldd): New target.
5807 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5808 to 0, so the first #if test emitted later doesn't see it undefined.
5809 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5810 * sysdeps/gnu/errlist.c: Regenerated.
5812 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5814 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5815 [libc_hidden_builtin_def]: Define to empty value.
5816 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5817 [libc_hidden_builtin_def]: Likewise.
5818 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5819 [libc_hidden_builtin_def]: Likewise.
5820 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5821 [libc_hidden_builtin_def]: Likewise.
5822 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5823 __redirect_memcpy and define ifunc as default hidden symbol.
5824 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5825 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5827 2014-05-04 Adam Conrad <adconrad@0c3.net>
5829 * locale/iso-4217.def: Reintroduce XDR currency.
5831 2014-05-04 Allan McRae <allan@archlinux.org>
5833 * po/eo.po: Update Esperanto translation from translation project.
5835 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5837 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5838 and FEATURE_INDEX_MAX to 1.
5839 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5841 2014-05-01 Steve Ellcey <sellcey@mips.com>
5843 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5844 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5845 * iconvdata/big5.c (ONE_DIRECTION): Define.
5846 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5847 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5848 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5849 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5850 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5851 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5852 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5853 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5854 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5855 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5856 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5857 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5858 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5859 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5860 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5861 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5862 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5863 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5864 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5865 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5866 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5867 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5868 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5869 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5870 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5871 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5872 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5873 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5874 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5875 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5876 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5877 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5878 * iconvdata/johab.c (ONE_DIRECTION): Define.
5879 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5880 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5881 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5882 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5883 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5884 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5885 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5886 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5887 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5888 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5890 2014-05-01 Roland McGrath <roland@hack.frob.com>
5892 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5893 (_IO_JUMPS_OFFSET): Define to 0.
5895 * nptl/sysdeps/pthread/bits/libc-lock.h
5896 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5897 (__libc_lock_define_initialized_recursive): Always define using
5898 initializer. Modern compilers treat uninitialized (implicit zero) and
5899 explicit zero initializers the same (i.e. put the datum in bss).
5901 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5903 * nscd/nscd-client.h: Include <string.h>.
5905 2014-05-01 David S. Miller <davem@davemloft.net>
5908 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5909 multiple zero bytes exist at the end of a string.
5910 Reported by Aurelien Jarno <aurelien@aurel32.net>
5912 * string/test-strcmp.c (check): Add explicit test for situations where
5913 there are multiple zero bytes after the first.
5915 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5918 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5919 when compiling wprintf.
5920 * stdio-common/tstdiomisc.c (t3): New function.
5923 2014-05-01 Steve Ellcey <sellcey@mips.com>
5925 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5926 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5927 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5928 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5930 2014-05-01 Steve Ellcey <sellcey@mips.com>
5932 * stdlib/longlong.h: Updated from GCC.
5934 2014-05-01 Will Newton <will.newton@linaro.org>
5935 Bernard Ogden <bernie.ogden@linaro.org>
5937 * NEWS: Update fixed bug list.
5940 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5942 2014-04-30 David S. Miller <davem@davemloft.net>
5944 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5945 (libc_feholdexcept_setround_sparc_ctx): New function.
5946 (libc_fesetenv_sparc_ctx): Likewise.
5947 (libc_feupdateenv_sparc_ctx): Likewise.
5948 (libc_feholdsetround_sparc_ctx): Likewise.
5949 (libc_feholdexcept_setround_ctx): Define.
5950 (libc_feholdexcept_setroundf_ctx): Likewise.
5951 (libc_feholdexcept_setroundl_ctx): Likewise.
5952 (libc_fesetenv_ctx): Likewise.
5953 (libc_fesetenvf_ctx): Likewise.
5954 (libc_fesetenvl_ctx): Likewise.
5955 (libc_feupdateenv_ctx): Likewise.
5956 (libc_feupdateenvf_ctx): Likewise.
5957 (libc_feupdateenvl_ctx): Likewise.
5958 (libc_feresetround_ctx): Likewise.
5959 (libc_feresetroundf_ctx): Likewise.
5960 (libc_feresetroundl_ctx): Likewise.
5961 (libc_feholdsetround_ctx): Likewise.
5962 (libc_feholdsetroundf_ctx): Likewise.
5963 (libc_feholdsetroundl_ctx): Likewise.
5965 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5966 with __USE_GNU instead of XOPEN cpp guards.
5968 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5971 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5972 with XOPEN cpp guards.
5974 2014-04-30 Julian Brown <julian@codesourcery.com>
5977 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5980 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5983 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5985 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5986 * sysdeps/unix/sysv/linux/configure: Regenerated.
5987 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5988 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5989 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5990 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5991 * README: Update reference to required Linux kernel version.
5992 * manual/install.texi (Linux): Update reference to required Linux
5993 kernel headers version.
5994 * INSTALL: Regenerated.
5996 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5998 [POSIX] (limits.h): Likewise.
5999 [POSIX] (math.h): Likewise.
6000 [POSIX] (sys/wait.h): Likewise.
6001 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6003 [POSIX] (stddef.h): Do not allow header inclusion.
6005 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6007 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6009 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6011 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6012 Return immediately after lll_futex_wake.
6014 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6017 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6019 (datahead_init_pos): Call datahead_init_common early.
6020 (datahead_init_neg): Likewise.
6022 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6023 datahead_init_neg): New functions.
6024 * nscd/aicache.c (addhstaiX): Use them.
6025 * nscd/grpcache.c (cache_addgr): Likewise.
6026 * nscd/hstcache.c (cache_addhst): Likewise.
6027 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6028 * nscd/netgroupcache.c (do_notfound): Likewise.
6029 (addgetnetgrentX): Likewise.
6030 (addinnetgrX): Likewise.
6031 * nscd/pwdcache.c (cache_addpw): Likewise.
6032 * nscd/servicescache.c (cache_addserv): Likewise.
6034 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6035 Atsushi Onoe <atsushi@onoe.org>
6040 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6041 one response is valid.
6042 * resolv/res_send.c (send_dg): Check for validity of other
6043 response if the current response is a referral.
6045 2014-04-29 Steve Ellcey <sellcey@mips.com>
6047 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6049 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6052 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6053 Always divide by positive zero when computing -Inf result.
6054 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6055 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6057 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6059 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6060 FPSCR if value do not change.
6061 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6062 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6063 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6064 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6065 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6066 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6069 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6071 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6072 * sysdeps/unix/sysv/linux/hppa: Move directory from
6073 ports/systeps/unix/sysv/linux/hppa.
6074 * README: Update listing for hppa-*-linux-gnu.
6076 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6079 * manual/stdio.texi (Hook functions): Fix types of stream hook
6082 * socket/sys/socket.h: Fix typo in comment.
6084 2014-04-28 Wilco <wdijkstr@arm.com>
6086 * sysdeps/arm/fenv_private.h: New file.
6087 * sysdeps/arm/math_private.h: New file.
6088 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6090 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6092 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6094 (La_x86_64_retval): Likewise.
6096 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6098 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6099 fpsr if value didn't change.
6100 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6101 to fpcr if value didn't change.
6102 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6103 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6104 fpsr or fpcr if value didn't change.
6105 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6106 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6107 fpcr if value didn't change.
6108 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6109 to fpsr if value didn't change.
6111 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6113 * nptl/tst-sem3.c: Use test-skeleton.c
6114 (main): Rename to do_test. Use return instead of
6116 * nptl/tst-sem4.c: Use test-skeleton.c
6117 (main): Rename to do_test.
6119 2014-04-22 David S. Miller <davem@davemloft.net>
6121 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6122 (struct sigaction): New struct member __glibc_reserved0, change
6123 type of sa_flags to int.
6125 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6127 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6128 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6130 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6132 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6133 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6135 2014-04-22 Will Newton <will.newton@linaro.org>
6136 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6138 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6139 (__longjmp): Add longjmp and longjmp_target SystemTap
6141 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6142 (__sigsetjmp): Add setjmp SystemTap probe.
6144 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6146 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6149 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6151 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6153 * sysdeps/powerpc/fpu/fenv_private.h
6154 (libc_feholdexcept_setroundl_ctx): Define to
6155 libc_feholdexcept_setround_ppc_ctx.
6156 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6157 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6158 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6159 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6161 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6163 * sysdeps/aarch64/math-tests.h: New file.
6165 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6167 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6170 Check and set bit_AVX2_Usable.
6171 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6173 (bit_AVX2): Likewise.
6174 (index_AVX2_Usable): Likewise.
6175 (CPUID_AVX2): Likewise.
6176 (HAS_AVX2): Likewise.
6178 2014-04-17 Will Newton <will.newton@linaro.org>
6180 * manual/setjmp.texi (System V contexts): Add note that
6181 calling setcontext on a context created by a call to a
6182 signal handler is undefined. Update text to note that
6183 setcontext from a signal handler is possible but not
6187 * stdlib/tst-setcontext.c: Include signal.h.
6188 (main): Check that the signal stack before and
6189 after swapcontext is the same.
6191 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6192 Re-implement to restore registers in user code and avoid
6193 rt_sigreturn system call.
6195 2014-04-17 Wilco <wdijkstr@arm.com>
6197 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6198 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6199 * math/test-fenv.c: Skip exception trap tests on targets which only
6200 support non-stop mode.
6202 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6203 Wilco Dijkstra <wilco.dijkstra@arm.com>
6205 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6206 (libc_feholdsetround_aarch64_ctx)
6207 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6208 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6209 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6210 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6211 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6212 (libc_feresetround_noexl_ctx): Define.
6214 2014-04-16 Richard Henderson <rth@redhat.com>
6216 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6218 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6221 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6222 const from the non-libc, non-ldso copy.
6224 * sysdeps/alpha/libm-test-ulps: Regenerate.
6226 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6227 Wilco Dijkstra <wilco.dijkstra@arm.com>
6229 * sysdeps/aarch64/fpu/math_private.h: New file.
6231 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6233 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6235 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6237 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6238 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6239 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6240 Intel MPX bound registers before _dl_profile_fixup.
6241 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6242 registers after _dl_profile_fixup. Save and restore bound
6243 registers bnd0/bnd1 when calling _dl_call_pltexit.
6244 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6245 (LR_BND_OFFSET): Likewise.
6246 (LRV_BND0_OFFSET): Likewise.
6247 (LRV_BND1_OFFSET): Likewise.
6249 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6251 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6253 * sysdeps/mach/hurd/i386/tls.h: ... here.
6254 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6255 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6258 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6260 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6262 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6264 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6266 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6269 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6270 * sysdeps/s390/configure: Regenerate.
6273 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6274 Set round-to-nearest internally to reduce error accumulation.
6276 2014-04-16 Alan Modra <amodra@gmail.com>
6280 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6281 * math/libm-test.inc (frexp_test_data): Add tests.
6282 * NEWS: Update fixed bug list.
6284 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6286 * benchtests/Makefile: Depend on libraries in build directory.
6287 (bench-math): Separate out math tests.
6288 (bench-pthread): Separate out pthread tests.
6289 (bench): Include math and pthread tests.
6291 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6294 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6295 _dl_debug_initialize.
6297 * configure.ac: Remove SELinux header check.
6298 * configure: Regenerate.
6299 * nscd/selinux.c (perms): Array of const char* to permission names.
6300 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6301 default policy. Call string_to_security_class and string_to_av_perm to
6302 translate strings. Enforce default policy and call avs_has_perm with
6303 results of translated strings.
6305 2014-04-13 David S. Miller <davem@davemloft.net>
6307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6309 2014-04-12 Allan McRae <allan@archlinux.org>
6312 * manual/string.texi (Collation Functions): Fix qsort argument
6314 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6316 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6318 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6319 Make the test a no-op if there are no exceptions defined.
6321 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6323 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6324 enable-hardcoded-path-in-tests
6326 2014-04-11 Will Newton <will.newton@linaro.org>
6328 * benchtests/Makefile (extra-objs): Add json-lib.o.
6329 (bench-func): Tidy up JSON output.
6330 * benchtests/bench-skeleton.c: Include json-lib.h.
6331 (main): Use JSON library functions to do output of
6333 * benchtests/bench-timing-type.c (main): Output the
6334 timing type simply, leaving formatting to the user.
6335 * benchtests/json-lib.c: New file.
6336 * benchtests/json-lib.h: Likewise.
6338 2014-04-11 Torvald Riegel <triegel@redhat.com>
6341 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6342 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6343 memory barriers. Add comments.
6344 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6345 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6346 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6347 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6348 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6349 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6351 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6353 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6354 * sysdeps/s390/s390-64/configure.ac: ... this ...
6355 * sysdeps/s390/configure.ac: ... to here.
6356 * sysdeps/s390/s390-32/configure: Delete file.
6357 * sysdeps/s390/s390-64/configure: Delete file.
6358 * sysdeps/s390/configure: Regenerate.
6360 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6362 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6364 2014-04-11 Will Newton <will.newton@linaro.org>
6366 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6367 to zero if it is not defined elsewhere. (mtrim): Test
6368 the value of MALLOC_DEBUG with #if rather than #ifdef.
6370 2014-04-10 Torvald Riegel <triegel@redhat.com>
6372 * benchtests/pthread_once-inputs: New file.
6373 * benchtests/pthread_once-source.c: New file.
6374 * benchtests/README: Update documentation.
6376 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6377 H.J. Lu <hongjiu.lu@intel.com>
6379 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6380 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6381 * sysdeps/x86_64/configure: Regenerated.
6382 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6384 (REGISTER_SAVE_RAX): Likewise.
6385 (REGISTER_SAVE_RCX): Likewise.
6386 (REGISTER_SAVE_RDX): Likewise.
6387 (REGISTER_SAVE_RSI): Likewise.
6388 (REGISTER_SAVE_RDI): Likewise.
6389 (REGISTER_SAVE_R8): Likewise.
6390 (REGISTER_SAVE_R9): Likewise.
6391 (REGISTER_SAVE_BND0): Likewise.
6392 (REGISTER_SAVE_BND1): Likewise.
6393 (REGISTER_SAVE_BND2): Likewise.
6394 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6395 bound registers when calling _dl_fixup.
6397 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6399 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6400 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6402 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6403 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6404 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6405 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6406 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6407 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6408 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6410 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6413 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6414 pathconf(_PC_NAME_MAX).
6416 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6418 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6420 (__PTHREAD_SPINS): Move definition to ...
6421 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6422 (__PTHREAD_SPINS): ... here.
6423 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6424 (__PTHREAD_SPIN): Likewise.
6425 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6426 (__PTHREAD_SPIN): Likewise.
6427 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6428 (__PTHREAD_SPIN): Likewise.
6429 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6430 (__PTHREAD_SPIN): Likewise.
6431 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6432 (__PTHREAD_SPIN): Likewise.
6433 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6434 (__PTHREAD_SPIN): Likewise.
6435 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6436 (__PTHREAD_SPIN): Likewise.
6437 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6438 (__PTHREAD_SPIN): Likewise.
6439 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6440 (__PTHREAD_SPIN): Likewise.
6441 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6442 (__PTHREAD_SPIN): Likewise.
6443 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6444 (__PTHREAD_SPIN): Likewise.
6445 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6446 (__PTHREAD_SPIN): Likewise.
6448 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6449 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6450 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6451 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6453 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6454 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6455 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6456 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6458 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6459 strlen symbol for non multi-arch builds.
6460 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6461 missing hidden_def and weak_alias.
6463 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6465 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6467 2014-04-07 Will Newton <will.newton@linaro.org>
6469 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6470 and contents. [!_LIBC] Remove #ifndef and contents.
6471 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6472 * string/memccpy.c (__memccpy): Use ANSI prototype.
6473 * string/memfrob.c (memfrob): Likewise.
6474 * string/strcoll.c (STRCOLL): Likewise.
6475 * string/strlen.c (strlen): Likewise.
6476 * string/strtok.c (STRTOK): Likewise.
6477 * string/strcat.c: Remove unused #include of memcopy.h.
6478 (strcat): Use ANSI prototype.
6479 * string/strchr.c: Remove unused #include of memcopy.h.
6480 (strchr): Use ANSI prototype.
6481 * string/strcmp.c: Remove unused #include of memcopy.h.
6482 (strcmp): Use ANSI prototype.
6483 * string/strcpy.c: Remove unused #include of memcopy.h.
6484 (strcpy): Use ANSI prototype.
6486 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6488 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6489 * config.make.in (config-extra-cppflags): Set it from
6490 libc_extra_cppflags.
6491 * configure.ac (libc_extra_cflags): Make it accumulate over
6492 configure fragments.
6493 (libc_extra_cppflags): New flag.
6494 * configure. Regenerate.
6495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6496 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6497 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6501 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6502 result for FE_DOWNWARD rounding mode.
6503 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6507 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6509 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6510 in function argument name.
6512 2014-04-03 David Svoboda <svoboda@cert.org>
6515 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6518 2014-04-03 Roland McGrath <roland@hack.frob.com>
6520 * elf/dl-unmap-segments.h: New file.
6521 * sysdeps/generic/ldsodefs.h
6522 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6523 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6524 * elf/dl-fptr.c: Likewise.
6525 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6526 * sysdeps/aarch64/tlsdesc.c: Likewise.
6527 * sysdeps/arm/tlsdesc.c: Likewise.
6528 * sysdeps/i386/tlsdesc.c: Likewise.
6529 * sysdeps/tile/dl-runtime.c: Likewise.
6530 * sysdeps/x86_64/tlsdesc.c: Likewise.
6531 * elf/dl-load.h: New file.
6532 * elf/dl-load.c: Include it.
6533 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6534 Macros moved to dl-load.h.
6535 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6536 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6537 Use _dl_unmap_segments in place of __munmap.
6538 Break out segment-mapping loop into ...
6539 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6541 2014-04-03 Will Newton <will.newton@linaro.org>
6543 * elf/dl-lookup.c (do_lookup_x): Remove comment
6544 referring to nested function and move variable
6545 declarations down to before first use.
6547 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6551 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6553 * math/s_catanf.c (__catanf): Likewise.
6554 * math/s_catanh.c (__catanh): Likewise.
6555 * math/s_catanhf.c (__catanhf): Likewise.
6556 * math/s_catanhl.c (__catanhl): Likewise.
6557 * math/s_catanl.c (__catanl): Likewise.
6558 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6559 by positive zero when computing -Inf result.
6560 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6561 (catanh_test): Likewise.
6562 * sysdeps/i386/fpu/libm-test-ulps: Update.
6563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6566 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6567 instead of using underflowing value in computing result.
6568 * math/s_clog10.c (__clog10): Likewise.
6569 * math/s_clog10f.c (__clog10f): Likewise.
6570 * math/s_clog10l.c (__clog10l): Likewise.
6571 * math/s_clogf.c (__clogf): Likewise.
6572 * math/s_clogl.c (__clogl): Likewise.
6573 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6574 (clog10_test): Likewise.
6575 * sysdeps/i386/fpu/libm-test-ulps: Update.
6576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6578 2014-04-02 Alan Modra <amodra@gmail.com>
6581 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6582 output when value is near a power of two. Use int64_t for lx and
6583 remove casts. Use decimal rather than hex exponent constants.
6584 Don't use long double multiplication when double will suffice.
6585 * math/libm-test.inc (nextafter_test_data): Add tests.
6586 * NEWS: Add 16739 and 16786 to bug list.
6588 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6590 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6592 2014-04-01 Will Newton <will.newton@linaro.org>
6594 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6595 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6597 2014-04-01 Florian Weimer <fweimer@redhat.com>
6600 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6601 * nptl/tst-setuid2.c: New file.
6602 * nptl/Makefile (xtests): Add tst-setuid2.
6604 2014-04-01 Alan Modra <amodra@gmail.com>
6607 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6609 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6613 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6614 set errno as appropriate.
6615 * math/w_scalbf.c (__scalbf): Likewise.
6616 * math/w_scalbl.c (__scalbl): Likewise.
6617 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6618 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6619 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6623 * math/w_atan2.c: Include <errno.h>.
6624 (__atan2): Set errno for result underflowing to zero.
6625 * math/w_atan2f.c: Include <errno.h>.
6626 (__atan2f): Set errno for result underflowing to zero.
6627 * math/w_atan2l.c: Include <errno.h>.
6628 (__atan2l): Set errno for result underflowing to zero.
6629 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6631 * math/auto-libm-test-out: Regenerated.
6633 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6635 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6636 Encode instruction correctly in little endian.
6637 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6639 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6641 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6643 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6646 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6649 * sysdeps/unix/sysv/linux/kernel-features.h
6650 [__sparc__ && !__arch64__ && !__sparc_v9__]
6651 (__ASSUME_SET_ROBUST_LIST): Do not define.
6652 [__sparc__ && !__arch64__ && !__sparc_v9__]
6653 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6654 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6656 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6657 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6658 (__ASSUME_REQUEUE_PI): Likewise.
6659 (__ASSUME_SET_ROBUST_LIST): Likewise.
6660 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6661 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6663 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6664 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6666 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6668 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6670 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6671 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6673 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6674 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6678 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6679 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6680 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6682 2014-03-31 Will Newton <will.newton@linaro.org>
6684 * benchtests/Makefile (bench): Add ffs and ffsll to list
6686 * benchtests/ffs-inputs: New file.
6687 * benchtests/ffsll-inputs: Likewise.
6689 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6692 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6693 too large before casting to int.
6694 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6695 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6696 * math/libm-test.inc (scalb_test_data): Add more tests.
6698 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6700 * benchtests/Makefile (DETAILED_OPT): New make option.
6701 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6703 * benchtests/bench-skeleton.c: Include stdbool.h.
6704 (main): Store and print timings per input.
6705 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6706 member to each argument value.
6707 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6708 (_print_arg_data): Initialize per-input timing to 0.
6710 * benchtests/Makefile (timing-type): New binary.
6711 (bench-clean): Also remove bench-timing-type.
6712 (bench): New target for timing-type.
6713 (bench-func): Print output in JSON format.
6714 * benchtests/bench-skeleton.c (main): Print output in JSON
6716 * benchtests/bench-timing-type.c: New file.
6717 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6718 (TIMING_PRINT_STATS): Remove.
6719 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6722 * benchtests/bench-modf.c: Remove.
6723 * benchtests/modf-inputs: New inputs file.
6725 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6728 * math/s_clog10.c (M_PI_LOG10E): New macro.
6729 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6730 imaginary parts are 0.
6731 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6732 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6733 imaginary parts are 0.
6734 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6735 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6736 imaginary parts are 0.
6737 * math/libm-test.inc (clog10_test_data): Update expected results
6738 for when real and imaginary parts are 0.
6740 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6742 * elf/dl-load.c: Finish conversion of __builtin_expect into
6745 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6748 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6749 1+x for argument with exponent below -67.
6750 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6752 * math/auto-libm-test-in: Add more tests of exp.
6753 * math/auto-libm-test-out: Regenerated.
6755 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6758 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6759 (nscd_getnetgrent): Use it.
6762 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6765 2014-03-27 Andi Kleen <ak@linux.intel.com>
6767 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6768 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6769 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6770 (lll_robust_unlock): Remove out of line section. Use cfi
6772 (LLL_STUB_UNWIND_INFO*): Remove.
6773 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6774 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6775 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6776 (lll_robust_unlock): Remove out of line section. Use cfi
6778 (LLL_STUB_UNWIND_INFO*): Remove.
6780 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6783 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6786 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6788 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6790 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6793 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6795 * math/test-fenv-preserve.c: New file.
6796 * math/Makefile (tests): Add test-fenv-preserve.
6798 2014-03-26 Will Newton <will.newton@linaro.org>
6800 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6802 2014-03-25 Roland McGrath <roland@hack.frob.com>
6804 * scripts/versionlist.awk: Partition the version sets and emit all
6805 GLIBC_* (sorted) before all others (sorted).
6807 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6809 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6810 GLIBC_2.2.5 version.
6812 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6814 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6817 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6822 2014-03-25 Andreas Schwab <schwab@suse.de>
6824 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6825 label to be used after in6ailist is initialized.
6827 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6829 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6830 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6832 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6836 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6838 (fp_formats): Update initializers.
6839 (init_fp_formats): Initialize new field.
6840 (output_for_one_input_case): Allow underflow for results up to
6842 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6843 * math/auto-libm-test-in: Don't mark some underflows from asin and
6845 * math/auto-libm-test-out: Regenerated.
6846 * sysdeps/i386/fpu/libm-test-ulps: Update.
6847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6849 2014-03-25 Andreas Schwab <schwab@suse.de>
6851 * libio/Makefile (tst-ftell-partial-wide-ENV)
6852 (tst-ftell-active-handler-ENV): Define.
6854 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6856 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6858 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6860 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6862 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6864 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6865 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6866 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6868 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6871 * elf/dl-load.c (open_verify): Add mode parameter.
6872 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6873 (open_path): Change from boolean 'secure' to complete flag 'mode'
6874 (_dl_map_object): Adjust.
6875 * elf/Makefile (tests): Add tst-dlopen-aout.
6876 * elf/tst-dlopen-aout.c: New test.
6878 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6881 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6882 (struct stat): Rename member pad0 to __glibc_reserved0.
6885 * sysdeps/s390/s390-32/bits/wordsize.h
6886 (__WORDSIZE32_SIZE_ULONG): New define.
6887 * sysdeps/s390/s390-64/bits/wordsize.h
6888 (__WORDSIZE32_SIZE_ULONG): Likewise.
6889 * sysdeps/generic/stdint.h (SIZE_MAX):
6890 Define as UL if __WORDSIZE32_SIZE_ULONG.
6893 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6894 (__glibc_reserved0): New variable.
6895 (sa_flags): Change type to int.
6897 * posix/Makefile (before-compile): Use += before-compile instead
6900 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6901 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6903 2014-03-20 Andreas Schwab <schwab@suse.de>
6906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6907 non-matching result from nscd.
6909 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6911 * scripts/bench.py: Moved to ...
6912 * benchtests/scripts/bench.py: ... here.
6913 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6915 2014-03-24 Andreas Schwab <schwab@suse.de>
6918 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6919 alloca_account and account alloca use for struct in6ailist.
6921 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6924 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6925 rounding mode to recompute results that overflow to infinity or
6927 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6929 * math/auto-libm-test-out: Regenerated.
6930 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6931 (ccosh_test): Likewise.
6932 (csin_test_data): Use plus_oflow.
6933 (csin_test): Use ALL_RM_TEST.
6934 (csinh_test_data): Use plus_oflow.
6935 (csinh_test): Use ALL_RM_TEST.
6936 * sysdeps/i386/fpu/libm-test-ulps: Update.
6937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6939 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6941 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6942 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6943 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6946 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6948 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6949 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6950 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6951 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6953 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6954 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6956 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6957 * sysdeps/i386/fpu/libm-test-ulps: Update.
6958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6960 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6962 * scripts/bench.pl: Remove file.
6963 * scripts/bench.py: New benchmark script.
6964 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6965 * benchtests/README: Mention python dependency.
6966 * scripts/pylintrc: New file.
6967 * scripts/pylint: New file.
6969 * bits/mathdef.h: Use #ifdef instead of #if.
6970 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6971 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6972 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6973 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6974 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6975 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6977 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6978 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6980 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6981 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6982 and strpbrk-ppc64 objects.
6983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6984 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6985 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6986 multiarch strpbrk for POWER7.
6987 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6988 multiarch strpbrk for PPC64.
6989 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6991 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6994 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6996 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6997 (atan_test): Likewise.
6998 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6999 (atanh_test): Use ALL_RM_TEST.
7000 (atan2_test_data): Likewise.
7001 (cabs_test): Likewise.
7002 (cacosh_test): Likewise.
7003 (carg_test): Likewise.
7004 (casin_test): Likewise.
7005 (casinh_test): Likewise.
7006 (cbrt_test): Likewise.
7007 (csqrt_test): Likewise.
7008 (erf_test): Likewise.
7009 (erfc_test): Likewise.
7010 (pow10_test): Likewise.
7011 (exp2_test): Likewise.
7012 (hypot_test): Likewise.
7013 (j0_test): Likewise.
7014 (j1_test): Likewise.
7015 (lgamma_test): Likewise.
7016 (gamma_test): Likewise.
7017 (sincos_test): Likewise.
7018 (tanh_test): Likewise.
7019 (y0_test): Likewise.
7020 (y1_test): Likewise.
7021 * sysdeps/i386/fpu/libm-test-ulps: Update.
7022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7024 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7026 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7028 and strcspn-ppc64 objects.
7029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7030 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7031 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7032 multiarch strcspn for POWER7.
7033 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7034 multiarch strcspn for PPC64.
7035 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7037 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7040 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7042 * math/gen-libm-test.pl (generate_testfile): Expect only function
7043 name as argument to AUTO_TESTS_* and pass results for all rounding
7044 modes to parse_args.
7045 (parse_auto_input): Separate inputs of automatic tests from
7046 outputs before storing in %auto_tests.
7047 * math/libm-test.inc (acos_test_data): Update call to
7049 (acos_test): Use ALL_RM_TEST.
7050 (acos_tonearest_test_data): Remove.
7051 (acos_test_tonearest): Likewise.
7052 (acos_towardzero_test_data): Likewise.
7053 (acos_test_towardzero): Likewise.
7054 (acos_downward_test_data): Likewise.
7055 (acos_test_downward): Likewise.
7056 (acos_upward_test_data): Likewise.
7057 (acos_test_upward): Likewise.
7058 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7059 (asin_test_data): Likewise.
7060 (asin_test): Use ALL_RM_TEST.
7061 (asin_tonearest_test_data): Remove.
7062 (asin_test_tonearest): Likewise.
7063 (asin_towardzero_test_data): Likewise.
7064 (asin_test_towardzero): Likewise.
7065 (asin_downward_test_data): Likewise.
7066 (asin_test_downward): Likewise.
7067 (asin_upward_test_data): Likewise.
7068 (asin_test_upward): Likewise.
7069 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7070 (atan_test_data): Likewise.
7071 (atanh_test_data): Likewise.
7072 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7073 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7074 (carg_test_data): Likewise.
7075 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7076 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7077 (ccosh_test_data): Likewise.
7078 (cexp_test_data): Likewise.
7079 (clog_test_data): Likewise.
7080 (clog10_test_data): Likewise.
7081 (cos_test_data): Update call to AUTO_TESTS_f_f.
7082 (cos_test): Use ALL_RM_TEST.
7083 (cos_tonearest_test_data): Remove.
7084 (cos_test_tonearest): Likewise.
7085 (cos_towardzero_test_data): Likewise.
7086 (cos_test_towardzero): Likewise.
7087 (cos_downward_test_data): Likewise.
7088 (cos_test_downward): Likewise.
7089 (cos_upward_test_data): Likewise.
7090 (cos_test_upward): Likewise.
7091 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7092 (cosh_test): Use ALL_RM_TEST.
7093 (cosh_tonearest_test_data): Remove.
7094 (cosh_test_tonearest): Likewise.
7095 (cosh_towardzero_test_data): Likewise.
7096 (cosh_test_towardzero): Likewise.
7097 (cosh_downward_test_data): Likewise.
7098 (cosh_test_downward): Likewise.
7099 (cosh_upward_test_data): Likewise.
7100 (cosh_test_upward): Likewise.
7101 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7102 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7103 (ctan_test_data): Likewise.
7104 (ctan_test): Use ALL_RM_TEST.
7105 (ctan_tonearest_test_data): Remove.
7106 (ctan_test_tonearest): Likewise.
7107 (ctan_towardzero_test_data): Likewise.
7108 (ctan_test_towardzero): Likewise.
7109 (ctan_downward_test_data): Likewise.
7110 (ctan_test_downward): Likewise.
7111 (ctan_upward_test_data): Likewise.
7112 (ctan_test_upward): Likewise.
7113 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7114 (ctanh_test): Use ALL_RM_TEST.
7115 (ctanh_tonearest_test_data): Remove.
7116 (ctanh_test_tonearest): Likewise.
7117 (ctanh_towardzero_test_data): Likewise.
7118 (ctanh_test_towardzero): Likewise.
7119 (ctanh_downward_test_data): Likewise.
7120 (ctanh_test_downward): Likewise.
7121 (ctanh_upward_test_data): Likewise.
7122 (ctanh_test_upward): Likewise.
7123 (erf_test_data): Update call to AUTO_TESTS_f_f.
7124 (erfc_test_data): Likewise.
7125 (exp_test_data): Likewise.
7126 (exp_test): Use ALL_RM_TEST.
7127 (exp_tonearest_test_data): Remove.
7128 (exp_test_tonearest): Likewise.
7129 (exp_towardzero_test_data): Likewise.
7130 (exp_test_towardzero): Likewise.
7131 (exp_downward_test_data): Likewise.
7132 (exp_test_downward): Likewise.
7133 (exp_upward_test_data): Likewise.
7134 (exp_test_upward): Likewise.
7135 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7136 (exp10_test): Use ALL_RM_TEST.
7137 (exp10_tonearest_test_data): Remove.
7138 (exp10_test_tonearest): Likewise.
7139 (exp10_towardzero_test_data): Likewise.
7140 (exp10_test_towardzero): Likewise.
7141 (exp10_downward_test_data): Likewise.
7142 (exp10_test_downward): Likewise.
7143 (exp10_upward_test_data): Likewise.
7144 (exp10_test_upward): Likewise.
7145 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7146 (expm1_test_data): Likewise.
7147 (expm1_test): Use ALL_RM_TEST.
7148 (expm1_tonearest_test_data): Remove.
7149 (expm1_test_tonearest): Likewise.
7150 (expm1_towardzero_test_data): Likewise.
7151 (expm1_test_towardzero): Likewise.
7152 (expm1_downward_test_data): Likewise.
7153 (expm1_test_downward): Likewise.
7154 (expm1_upward_test_data): Likewise.
7155 (expm1_test_upward): Likewise.
7156 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7157 (fma_test): Use ALL_RM_TEST.
7158 (fma_towardzero_test_data): Remove.
7159 (fma_test_towardzero): Likewise.
7160 (fma_downward_test_data): Likewise.
7161 (fma_test_downward): Likewise.
7162 (fma_upward_test_data): Likewise.
7163 (fma_test_upward): Likewise.
7164 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7165 (j0_test_data): Update call to AUTO_TESTS_f_f.
7166 (j1_test_data): Likewise.
7167 (jn_test_data): Update call to AUTO_TESTS_if_f.
7168 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7169 (log_test_data): Update call to AUTO_TESTS_f_f.
7170 (log10_test_data): Likewise.
7171 (log1p_test_data): Likewise.
7172 (log2_test_data): Likewise.
7173 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7174 (pow_tonearest_test_data): Likewise.
7175 (sin_test_data): Update call to AUTO_TESTS_f_f.
7176 (sin_test): Use ALL_RM_TEST.
7177 (sin_tonearest_test_data): Remove.
7178 (sin_test_tonearest): Likewise.
7179 (sin_towardzero_test_data): Likewise.
7180 (sin_test_towardzero): Likewise.
7181 (sin_downward_test_data): Likewise.
7182 (sin_test_downward): Likewise.
7183 (sin_upward_test_data): Likewise.
7184 (sin_test_upward): Likewise.
7185 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7186 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7187 (sinh_test): Use ALL_RM_TEST.
7188 (sinh_tonearest_test_data): Remove.
7189 (sinh_test_tonearest): Likewise.
7190 (sinh_towardzero_test_data): Likewise.
7191 (sinh_test_towardzero): Likewise.
7192 (sinh_downward_test_data): Likewise.
7193 (sinh_test_downward): Likewise.
7194 (sinh_upward_test_data): Likewise.
7195 (sinh_test_upward): Likewise.
7196 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7197 (sqrt_test): Use ALL_RM_TEST.
7198 (sqrt_tonearest_test_data): Remove.
7199 (sqrt_test_tonearest): Likewise.
7200 (sqrt_towardzero_test_data): Likewise.
7201 (sqrt_test_towardzero): Likewise.
7202 (sqrt_downward_test_data): Likewise.
7203 (sqrt_test_downward): Likewise.
7204 (sqrt_upward_test_data): Likewise.
7205 (sqrt_test_upward): Likewise.
7206 (tan_test_data): Update call to AUTO_TESTS_f_f.
7207 (tan_test): Use ALL_RM_TEST.
7208 (tan_tonearest_test_data): Remove.
7209 (tan_test_tonearest): Likewise.
7210 (tan_towardzero_test_data): Likewise.
7211 (tan_test_towardzero): Likewise.
7212 (tan_downward_test_data): Likewise.
7213 (tan_test_downward): Likewise.
7214 (tan_upward_test_data): Likewise.
7215 (tan_test_upward): Likewise.
7216 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7217 (tgamma_test_data): Likewise.
7218 (y0_test_data): Likewise.
7219 (y1_test_data): Likewise.
7220 (yn_test_data): Update call to AUTO_TESTS_if_f.
7221 (main): Do not call removed functions.
7223 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7225 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7226 (ldexp_test_data): Remove.
7227 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7229 (scalb_test): Use ALL_RM_TEST.
7231 2014-03-19 Andreas Schwab <schwab@suse.de>
7233 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7235 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7238 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7239 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7240 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7241 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7242 (__ASSUME_PREADV): Undefine.
7243 (__ASSUME_PWRITEV): Likewise.
7245 2014-03-18 Roland McGrath <roland@hack.frob.com>
7247 * bits/mman-linux.h: Add comment about non-Linux use.
7248 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7249 bits/mman-linux.h resting place.
7251 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7252 * bits/mman-linux.h: ... here.
7254 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7256 * conform/conformtest.pl: Add standard definition when calling C
7257 preprocessor on data files.
7258 (checknamespace): Remove unused variable.
7260 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7262 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7263 minus_oflow, plus_uflow and minus_uflow in expected results.
7264 * math/libm-test.inc (scalbn_test_data): Add more tests of
7265 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7267 (scalbn_test): Use ALL_RM_TEST.
7268 (scalbln_test_data): Add more tests of negative arguments. Use
7269 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7270 (scalbln_test): Use ALL_RM_TEST.
7272 2014-03-18 Roland McGrath <roland@hack.frob.com>
7274 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7276 2014-03-18 Will Newton <will.newton@linaro.org>
7278 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7281 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7283 * Makerules [!subdir] (check-abi): Exit with error status if a
7286 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7288 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7289 for rint. Include results for all rounding modes.
7290 (nearbyint_test): Use ALL_RM_TEST.
7291 (rint_test_data): Include all tests used for nearbyint.
7293 2014-03-17 Will Newton <will.newton@linaro.org>
7295 * nptl/sysdeps/pthread/pthread.h: Revert previous
7298 * sysdeps/generic/ldsodefs.h: Revert previous
7301 * libio/genops.c: Revert previous change.
7302 * libio/libioP.h: Likewise.
7303 * stdio-common/vfprintf.c: Likewise.
7305 * sysdeps/generic/math_private.h: Revert previous
7308 * sysdeps/generic/math_private.h: Check whether
7309 HAVE_RM_CTX is defined with #ifdef rather
7312 * argp/argp-fmtstream.h: Check whether
7313 __STRICT_ANSI__ is defined with #ifdef rather
7315 * argp/argp.h: Likewise.
7317 * libio/genops.c: Check whether
7318 _IO_JUMPS_OFFSET is defined with #ifdef rather
7320 * libio/libioP.h: Likewise.
7321 * stdio-common/vfprintf.c: Likewise.
7323 * sysdeps/generic/ldsodefs.h: Check whether
7324 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7327 * nptl/sysdeps/pthread/pthread.h: Check
7328 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7331 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7333 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7335 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7339 * libio/fileops.c (_IO_file_open): Seek to end of file but
7340 don't cache the offset.
7341 (get_file_offset): Remove function.
7342 (do_ftell): Use cached offset when available.
7343 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7344 don't cache the offset.
7345 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7347 (do_one_test): Call it.
7348 (do_ftell_test): Fix up expected old offset for a+ mode.
7349 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7352 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7353 up test status with function return status.
7354 (do_write_test): Likewise.
7355 (do_append_test): Likewise.
7357 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7358 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7361 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7363 * math/gen-libm-test.pl (parse_args): Handle results specified for
7364 each rounding mode separately.
7365 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7366 tests and results from lrint_tonearest_test_data,
7367 lrint_towardzero_test_data, lrint_downward_test_data and
7368 lrint_upward_test_data.
7369 (lrint_test): Use ALL_RM_TEST.
7370 (lrint_tonearest_test_data): Remove.
7371 (lrint_test_tonearest): Likewise.
7372 (lrint_towardzero_test_data): Likewise.
7373 (lrint_test_towardzero): Likewise.
7374 (lrint_downward_test_data): Likewise.
7375 (lrint_test_downward): Likewise.
7376 (lrint_upward_test_data): Likewise.
7377 (lrint_test_upward): Likewise.
7378 (llrint_test_data): Merge in per-rounding-mode tests and results
7379 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7380 llrint_downward_test_data and llrint_upward_test_data.
7381 (llrint_test): Use ALL_RM_TEST.
7382 (llrint_tonearest_test_data): Remove.
7383 (llrint_test_tonearest): Likewise.
7384 (llrint_towardzero_test_data): Likewise.
7385 (llrint_test_towardzero): Likewise.
7386 (llrint_downward_test_data): Likewise.
7387 (llrint_test_downward): Likewise.
7388 (llrint_upward_test_data): Likewise.
7389 (llrint_test_upward): Likewise.
7390 (rint_test_data): Merge in per-rounding-mode tests and results
7391 from rint_tonearest_test_data, rint_towardzero_test_data,
7392 rint_downward_test_data and rint_upward_test_data. Add
7393 per-rounding-mode results for tests not in those arrays.
7394 (rint_test): Use ALL_RM_TEST.
7395 (rint_tonearest_test_data): Remove.
7396 (rint_test_tonearest): Likewise.
7397 (rint_towardzero_test_data): Likewise.
7398 (rint_test_towardzero): Likewise.
7399 (rint_downward_test_data): Likewise.
7400 (rint_test_downward): Likewise.
7401 (rint_upward_test_data): Likewise.
7402 (rint_test_upward): Likewise.
7403 (main): Don't call removed functions.
7405 2014-03-14 Roland McGrath <roland@hack.frob.com>
7407 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7408 "Compiled on ..." crapola. It is anti-useful.
7410 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7412 * scripts/evaluate-test.sh: Handle fourth argument to determine
7413 whether test run should stop on failure.
7414 * Makeconfig (stop-on-test-failure): New variable.
7415 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7416 $(stop-on-test-failure).
7417 * Makefile (tests): Give a summary of results from testing and
7418 exit with failure status if they include an ERROR or FAIL.
7420 * manual/install.texi (Configuring and compiling): Mention
7421 stop-on-test-failure=y.
7422 * INSTALL: Regenerated.
7424 2014-03-14 Roland McGrath <roland@hack.frob.com>
7426 * scripts/versionlist.awk: New file.
7427 * Makerules [$(build-shared) = yes]
7428 (postclean-generated): Add Versions.def, not Versions.def.v and
7430 ($(common-objpfx)Versions.def.v.i): Target removed.
7431 ($(common-objpfx)Versions.def): New target.
7432 ($(common-objpfx)Versions.all): Depend on that rather that
7433 $(common-objpfx)Versions.def.v.
7434 * Versions.def: File removed.
7436 * Makeconfig (+gccwarn): Add -Wundef.
7437 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7438 a dl-sysdep.h breaking its contract.
7439 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7440 * include/stackinfo.h: New file.
7441 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7442 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7443 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7444 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7445 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7446 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7447 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7448 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7449 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7450 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7451 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7452 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7453 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7454 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7455 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7457 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7460 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7462 * math/libm-test.inc (round_test_data): Add more tests.
7465 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7467 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7470 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7472 * math/libm-test.inc (ceil_test_data): Add more tests.
7474 * math/libm-test.inc (trunc_test_data): Add more tests related to
7477 2014-03-14 Roland McGrath <roland@hack.frob.com>
7479 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7480 with #if rather than #ifdef.
7481 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7483 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7485 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7486 first. Disable AVX-512 GCC support if assembler doesn't support
7488 * sysdeps/x86_64/configure: Regenerated.
7490 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7492 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7493 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7494 (__old_pthread_attr_setstack): Likewise.
7495 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7496 [!_STACK_GROWS_DOWN]: Likewise.
7498 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7500 * config.make.in (have-bash2): Delete.
7501 * configure.ac (libc_cv_have_bash2): Delete.
7502 * configure: Regenerate.
7503 * elf/Makefile (common-ldd-rewrite): Rename to ...
7504 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7505 (sh-ldd-rewrite): Delete.
7506 (bash-ldd-rewrite): Delete.
7507 (have-bash2): Delete checks.
7508 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7511 * config.make.in (have-ksh): Delete.
7513 * configure.ac (libc_cv_have_ksh): Delete.
7514 * configure: Regenerate.
7516 * elf/Makefile: Delete $(have-ksh) check.
7517 ($(objpfx)sotruss): Change KSH to BASH.
7518 * elf/sotruss.ksh: Rename to ...
7519 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7520 function style to match POSIX. Drop ksh vim mode setting.
7522 * manual/time.texi (Specifying the Time Zone with TZ): Change
7523 Tuesday to Thursday.
7525 * debug/tst-longjmp_chk2.c: Update header comment.
7526 (stackoverflow_handler): Add comment. Call assert on pass value.
7528 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7530 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7531 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7532 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7533 (La_x86_64_vector): Add zmm.
7534 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7535 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7536 ($(objpfx)tst-audit10): New target.
7537 ($(objpfx)tst-audit10.out): Likewise.
7538 (tst-audit10-ENV): New.
7539 (AVX512-CFLAGS): Likewise.
7540 (CFLAGS-tst-audit10.c): Likewise.
7541 (CFLAGS-tst-auditmod10a.c): Likewise.
7542 (CFLAGS-tst-auditmod10b.c): Likewise.
7543 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7544 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7545 * sysdeps/x86_64/configure: Regenerated.
7546 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7547 AVX-512 zmm register support.
7548 (_dl_x86_64_save_sse): Likewise.
7549 (_dl_x86_64_restore_sse): Likewise.
7550 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7551 size vector registers.
7552 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7553 (ZMM_SIZE): Likewise.
7554 * sysdeps/x86_64/tst-audit10.c: New file.
7555 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7556 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7558 2014-03-13 Roland McGrath <roland@hack.frob.com>
7560 * configure.ac (HAVE_EHDR_START): New check.
7561 * configure: Regenerated.
7562 * config.h.in (HAVE_EHDR_START): New #undef.
7563 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7564 assuming the lowest-addressed segment maps the start of the file.
7566 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7568 * INSTALL: Regenerated.
7570 2014-03-13 Will Newton <will.newton@linaro.org>
7572 * manual/setjmp.texi (System V contexts): Improve
7573 clarity and grammar of documentation.
7575 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7578 * elf/Makefile (tests): Add tst-pie2.
7579 (tests-pie): Add tst-pie2.
7580 * elf/tst-pie2.c: New file.
7581 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7583 * elf/rtld.c (map_doit): Load executable as lt_executable.
7584 (dl_main): Likewise.
7586 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7589 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7590 (__ASSUME_PSELECT): Undefine.
7592 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7595 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7596 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7598 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7599 selector for static builds.
7601 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7604 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7607 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7609 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7610 IFUNC selector for static builds.
7612 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7614 * sysdeps/mips/math_private.h [__mips_hard_float]
7615 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7616 libc_feresetround_mips_ctx.
7617 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7618 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7619 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7622 * math/s_nextafter.c (__nextafter): Do not return value from
7623 overflowing computation.
7624 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7625 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7626 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7628 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7630 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7631 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7633 2014-03-11 Roland McGrath <roland@hack.frob.com>
7635 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7636 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7637 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7638 the new mov targetting sp.
7640 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7643 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7644 Define it for static builds as well.
7645 (NO_BZERO_IMPL): Likewise.
7647 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7649 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7650 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7651 multiarch strspn for PPC64.
7652 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7653 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7655 (__libc_ifunc_impl_list): Likewise.
7656 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7657 multiarch optimizations
7658 * string/strspn.c (strspn): Using macro to redefine symbol name.
7660 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7661 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7663 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7664 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7665 multiarch strncat for PPC64.
7666 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7667 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7669 (__libc_ifunc_impl_list): Likewise.
7670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7671 multiarch optimizations
7673 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7676 * nscd/nscd.service: Make service type forking.
7678 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7680 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7681 sign in non default rounding modes.
7682 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7684 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7686 * math/libm-test.inc (ALL_RM_TEST): New macro.
7687 (ceil_test): Use ALL_RM_TEST.
7688 (cimag_test): Likewise.
7689 (conj_test): Likewise.
7690 (copysign_test): Likewise.
7691 (cproj_test): Likewise.
7692 (creal_test): Likewise.
7693 (fabs_test): Likewise.
7694 (floor_test): Likewise.
7695 (fmax_test): Likewise.
7696 (fmin_test): Likewise.
7697 (fmod_test): Likewise.
7698 (fpclassify_test): Likewise.
7699 (frexp_test): Likewise.
7700 (ilogb_test): Likewise.
7701 (isfinite_test): Likewise.
7702 (finite_test): Likewise.
7703 (isgreater_test): Likewise.
7704 (isgreaterequal_test): Likewise.
7705 (isinf_test): Likewise.
7706 (isless_test): Likewise.
7707 (islessequal_test): Likewise.
7708 (islessgreater_test): Likewise.
7709 (isnan_test): Likewise.
7710 (isnormal_test): Likewise.
7711 (issignaling_test): Likewise.
7712 (isunordered_test): Likewise.
7713 (logb_test): Likewise.
7714 (logb_downward_test_data): Remove.
7715 (logb_test_downward): Likewise.
7716 (lround_test): Use ALL_RM_TEST.
7717 (llround_test): Likewise.
7718 (modf_test): Likewise.
7719 (nexttoward_test): Likewise.
7720 (remainder_test): Likewise.
7721 (drem_test): Likewise.
7722 (remainder_tonearest_test_data): Likewise.
7723 (remainder_test_tonearest): Likewise.
7724 (drem_test_tonearest): Likewise.
7725 (remainder_towardzero_test_data): Likewise.
7726 (remainder_test_towardzero): Likewise.
7727 (drem_test_towardzero): Likewise.
7728 (remainder_downward_test_data): Likewise.
7729 (remainder_test_downward): Likewise.
7730 (drem_test_downward): Likewise.
7731 (remainder_upward_test_data): Likewise.
7732 (remainder_test_upward): Likewise.
7733 (drem_test_upward): Likewise.
7734 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7735 (round_test): Use ALL_RM_TEST.
7736 (signbit_test): Likewise.
7737 (trunc_test): Likewise.
7738 (significand_test): Likewise.
7739 (main): Don't call removed functions.
7741 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7744 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7746 (ILL_ILLOPN): Likewise.
7747 (ILL_ILLADR): Likewise.
7748 (ILL_ILLTRP): Likewise.
7749 (ILL_PRVOPC): Likewise.
7750 (ILL_PRVREG): Likewise.
7751 (ILL_COPROC): Likewise.
7752 (ILL_BADSTK): Likewise.
7753 (FPE_INTDIV): Likewise.
7754 (FPE_INTOVF): Likewise.
7755 (FPE_FLTDIV): Likewise.
7756 (FPE_FLTOVF): Likewise.
7757 (FPE_FLTUND): Likewise.
7758 (FPE_FLTRES): Likewise.
7759 (FPE_FLTINV): Likewise.
7760 (FPE_FLTSUB): Likewise.
7761 (SEGV_MAPERR): Likewise.
7762 (SEGV_ACCERR): Likewise.
7763 (BUS_ADRALN): Likewise.
7764 (BUS_ADRERR): Likewise.
7765 (BUS_OBJERR): Likewise.
7766 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7767 (TRAP_TRACE): Likewise.
7768 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7770 (CLD_KILLED): Likewise.
7771 (CLD_DUMPED): Likewise.
7772 (CLD_TRAPPED): Likewise.
7773 (CLD_STOPPED): Likewise.
7774 (CLD_CONTINUED): Likewise.
7775 (POLL_IN): Likewise.
7776 (POLL_OUT): Likewise.
7777 (POLL_MSG): Likewise.
7778 (POLL_ERR): Likewise.
7779 (POLL_PRI): Likewise.
7780 (POLL_HUP): Likewise.
7781 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7783 (ILL_ILLOPN): Likewise.
7784 (ILL_ILLADR): Likewise.
7785 (ILL_ILLTRP): Likewise.
7786 (ILL_PRVOPC): Likewise.
7787 (ILL_PRVREG): Likewise.
7788 (ILL_COPROC): Likewise.
7789 (ILL_BADSTK): Likewise.
7790 (FPE_INTDIV): Likewise.
7791 (FPE_INTOVF): Likewise.
7792 (FPE_FLTDIV): Likewise.
7793 (FPE_FLTOVF): Likewise.
7794 (FPE_FLTUND): Likewise.
7795 (FPE_FLTRES): Likewise.
7796 (FPE_FLTINV): Likewise.
7797 (FPE_FLTSUB): Likewise.
7798 (SEGV_MAPERR): Likewise.
7799 (SEGV_ACCERR): Likewise.
7800 (BUS_ADRALN): Likewise.
7801 (BUS_ADRERR): Likewise.
7802 (BUS_OBJERR): Likewise.
7803 (BUS_MCEERR_AR): Likewise.
7804 (BUS_MCEERR_AO): Likewise.
7805 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7806 (TRAP_TRACE): Likewise.
7807 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7809 (CLD_KILLED): Likewise.
7810 (CLD_DUMPED): Likewise.
7811 (CLD_TRAPPED): Likewise.
7812 (CLD_STOPPED): Likewise.
7813 (CLD_CONTINUED): Likewise.
7814 (POLL_IN): Likewise.
7815 (POLL_OUT): Likewise.
7816 (POLL_MSG): Likewise.
7817 (POLL_ERR): Likewise.
7818 (POLL_PRI): Likewise.
7819 (POLL_HUP): Likewise.
7820 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7821 (ILL_ILLOPN): Likewise.
7822 (ILL_ILLADR): Likewise.
7823 (ILL_ILLTRP): Likewise.
7824 (ILL_PRVOPC): Likewise.
7825 (ILL_PRVREG): Likewise.
7826 (ILL_COPROC): Likewise.
7827 (ILL_BADSTK): Likewise.
7828 (FPE_INTDIV): Likewise.
7829 (FPE_INTOVF): Likewise.
7830 (FPE_FLTDIV): Likewise.
7831 (FPE_FLTOVF): Likewise.
7832 (FPE_FLTUND): Likewise.
7833 (FPE_FLTRES): Likewise.
7834 (FPE_FLTINV): Likewise.
7835 (FPE_FLTSUB): Likewise.
7836 (SEGV_MAPERR): Likewise.
7837 (SEGV_ACCERR): Likewise.
7838 (BUS_ADRALN): Likewise.
7839 (BUS_ADRERR): Likewise.
7840 (BUS_OBJERR): Likewise.
7841 (BUS_MCEERR_AR): Likewise.
7842 (BUS_MCEERR_AO): Likewise.
7843 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7844 (TRAP_TRACE): Likewise.
7845 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7847 (CLD_KILLED): Likewise.
7848 (CLD_DUMPED): Likewise.
7849 (CLD_TRAPPED): Likewise.
7850 (CLD_STOPPED): Likewise.
7851 (CLD_CONTINUED): Likewise.
7852 (POLL_IN): Likewise.
7853 (POLL_OUT): Likewise.
7854 (POLL_MSG): Likewise.
7855 (POLL_ERR): Likewise.
7856 (POLL_PRI): Likewise.
7857 (POLL_HUP): Likewise.
7858 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7860 (ILL_ILLOPN): Likewise.
7861 (ILL_ILLADR): Likewise.
7862 (ILL_ILLTRP): Likewise.
7863 (ILL_PRVOPC): Likewise.
7864 (ILL_PRVREG): Likewise.
7865 (ILL_COPROC): Likewise.
7866 (ILL_BADSTK): Likewise.
7867 (ILL_BADIADDR): Likewise.
7868 (ILL_BREAK): Likewise.
7869 (FPE_INTDIV): Likewise.
7870 (FPE_INTOVF): Likewise.
7871 (FPE_FLTDIV): Likewise.
7872 (FPE_FLTOVF): Likewise.
7873 (FPE_FLTUND): Likewise.
7874 (FPE_FLTRES): Likewise.
7875 (FPE_FLTINV): Likewise.
7876 (FPE_FLTSUB): Likewise.
7877 (FPE_DECOVF): Likewise.
7878 (FPE_DECDIV): Likewise.
7879 (FPE_DECERR): Likewise.
7880 (FPE_INVASC): Likewise.
7881 (FPE_INVDEC): Likewise.
7882 (SEGV_MAPERR): Likewise.
7883 (SEGV_ACCERR): Likewise.
7884 (SEGV_PSTKOVF): Likewise.
7885 (BUS_ADRALN): Likewise.
7886 (BUS_ADRERR): Likewise.
7887 (BUS_OBJERR): Likewise.
7888 (BUS_MCEERR_AR): Likewise.
7889 (BUS_MCEERR_AO): Likewise.
7890 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7891 (TRAP_TRACE): Likewise.
7892 (TRAP_BRANCH): Likewise.
7893 (TRAP_HWBKPT): Likewise.
7894 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7896 (CLD_KILLED): Likewise.
7897 (CLD_DUMPED): Likewise.
7898 (CLD_TRAPPED): Likewise.
7899 (CLD_STOPPED): Likewise.
7900 (CLD_CONTINUED): Likewise.
7901 (POLL_IN): Likewise.
7902 (POLL_OUT): Likewise.
7903 (POLL_MSG): Likewise.
7904 (POLL_ERR): Likewise.
7905 (POLL_PRI): Likewise.
7906 (POLL_HUP): Likewise.
7907 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7908 (ILL_ILLOPN): Likewise.
7909 (ILL_ILLADR): Likewise.
7910 (ILL_ILLTRP): Likewise.
7911 (ILL_PRVOPC): Likewise.
7912 (ILL_PRVREG): Likewise.
7913 (ILL_COPROC): Likewise.
7914 (ILL_BADSTK): Likewise.
7915 (FPE_INTDIV): Likewise.
7916 (FPE_INTOVF): Likewise.
7917 (FPE_FLTDIV): Likewise.
7918 (FPE_FLTOVF): Likewise.
7919 (FPE_FLTUND): Likewise.
7920 (FPE_FLTRES): Likewise.
7921 (FPE_FLTINV): Likewise.
7922 (FPE_FLTSUB): Likewise.
7923 (SEGV_MAPERR): Likewise.
7924 (SEGV_ACCERR): Likewise.
7925 (BUS_ADRALN): Likewise.
7926 (BUS_ADRERR): Likewise.
7927 (BUS_OBJERR): Likewise.
7928 (BUS_MCEERR_AR): Likewise.
7929 (BUS_MCEERR_AO): Likewise.
7930 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7931 (TRAP_TRACE): Likewise.
7932 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7934 (CLD_KILLED): Likewise.
7935 (CLD_DUMPED): Likewise.
7936 (CLD_TRAPPED): Likewise.
7937 (CLD_STOPPED): Likewise.
7938 (CLD_CONTINUED): Likewise.
7939 (POLL_IN): Likewise.
7940 (POLL_OUT): Likewise.
7941 (POLL_MSG): Likewise.
7942 (POLL_ERR): Likewise.
7943 (POLL_PRI): Likewise.
7944 (POLL_HUP): Likewise.
7945 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7946 (ILL_ILLOPN): Likewise.
7947 (ILL_ILLADR): Likewise.
7948 (ILL_ILLTRP): Likewise.
7949 (ILL_PRVOPC): Likewise.
7950 (ILL_PRVREG): Likewise.
7951 (ILL_COPROC): Likewise.
7952 (ILL_BADSTK): Likewise.
7953 (FPE_INTDIV): Likewise.
7954 (FPE_INTOVF): Likewise.
7955 (FPE_FLTDIV): Likewise.
7956 (FPE_FLTOVF): Likewise.
7957 (FPE_FLTUND): Likewise.
7958 (FPE_FLTRES): Likewise.
7959 (FPE_FLTINV): Likewise.
7960 (FPE_FLTSUB): Likewise.
7961 (SEGV_MAPERR): Likewise.
7962 (SEGV_ACCERR): Likewise.
7963 (BUS_ADRALN): Likewise.
7964 (BUS_ADRERR): Likewise.
7965 (BUS_OBJERR): Likewise.
7966 (BUS_MCEERR_AR): Likewise.
7967 (BUS_MCEERR_AO): Likewise.
7968 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7969 (TRAP_TRACE): Likewise.
7970 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7972 (CLD_KILLED): Likewise.
7973 (CLD_DUMPED): Likewise.
7974 (CLD_TRAPPED): Likewise.
7975 (CLD_STOPPED): Likewise.
7976 (CLD_CONTINUED): Likewise.
7977 (POLL_IN): Likewise.
7978 (POLL_OUT): Likewise.
7979 (POLL_MSG): Likewise.
7980 (POLL_ERR): Likewise.
7981 (POLL_PRI): Likewise.
7982 (POLL_HUP): Likewise.
7983 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7984 (ILL_ILLOPN): Likewise.
7985 (ILL_ILLADR): Likewise.
7986 (ILL_ILLTRP): Likewise.
7987 (ILL_PRVOPC): Likewise.
7988 (ILL_PRVREG): Likewise.
7989 (ILL_COPROC): Likewise.
7990 (ILL_BADSTK): Likewise.
7991 (FPE_INTDIV): Likewise.
7992 (FPE_INTOVF): Likewise.
7993 (FPE_FLTDIV): Likewise.
7994 (FPE_FLTOVF): Likewise.
7995 (FPE_FLTUND): Likewise.
7996 (FPE_FLTRES): Likewise.
7997 (FPE_FLTINV): Likewise.
7998 (FPE_FLTSUB): Likewise.
7999 (SEGV_MAPERR): Likewise.
8000 (SEGV_ACCERR): Likewise.
8001 (BUS_ADRALN): Likewise.
8002 (BUS_ADRERR): Likewise.
8003 (BUS_OBJERR): Likewise.
8004 (BUS_MCEERR_AR): Likewise.
8005 (BUS_MCEERR_AO): Likewise.
8006 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8007 (TRAP_TRACE): Likewise.
8008 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8010 (CLD_KILLED): Likewise.
8011 (CLD_DUMPED): Likewise.
8012 (CLD_TRAPPED): Likewise.
8013 (CLD_STOPPED): Likewise.
8014 (CLD_CONTINUED): Likewise.
8015 (POLL_IN): Likewise.
8016 (POLL_OUT): Likewise.
8017 (POLL_MSG): Likewise.
8018 (POLL_ERR): Likewise.
8019 (POLL_PRI): Likewise.
8020 (POLL_HUP): Likewise.
8021 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8022 (ILL_ILLOPN): Likewise.
8023 (ILL_ILLADR): Likewise.
8024 (ILL_ILLTRP): Likewise.
8025 (ILL_PRVOPC): Likewise.
8026 (ILL_PRVREG): Likewise.
8027 (ILL_COPROC): Likewise.
8028 (ILL_BADSTK): Likewise.
8029 (ILL_DBLFLT): Likewise.
8030 (ILL_HARDWALL): Likewise.
8031 (FPE_INTDIV): Likewise.
8032 (FPE_INTOVF): Likewise.
8033 (FPE_FLTDIV): Likewise.
8034 (FPE_FLTOVF): Likewise.
8035 (FPE_FLTUND): Likewise.
8036 (FPE_FLTRES): Likewise.
8037 (FPE_FLTINV): Likewise.
8038 (FPE_FLTSUB): Likewise.
8039 (SEGV_MAPERR): Likewise.
8040 (SEGV_ACCERR): Likewise.
8041 (BUS_ADRALN): Likewise.
8042 (BUS_ADRERR): Likewise.
8043 (BUS_OBJERR): Likewise.
8044 (BUS_MCEERR_AR): Likewise.
8045 (BUS_MCEERR_AO): Likewise.
8046 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8047 (TRAP_TRACE): Likewise.
8048 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8050 (CLD_KILLED): Likewise.
8051 (CLD_DUMPED): Likewise.
8052 (CLD_TRAPPED): Likewise.
8053 (CLD_STOPPED): Likewise.
8054 (CLD_CONTINUED): Likewise.
8055 (POLL_IN): Likewise.
8056 (POLL_OUT): Likewise.
8057 (POLL_MSG): Likewise.
8058 (POLL_ERR): Likewise.
8059 (POLL_PRI): Likewise.
8060 (POLL_HUP): Likewise.
8061 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8062 (ILL_ILLOPN): Likewise.
8063 (ILL_ILLADR): Likewise.
8064 (ILL_ILLTRP): Likewise.
8065 (ILL_PRVOPC): Likewise.
8066 (ILL_PRVREG): Likewise.
8067 (ILL_COPROC): Likewise.
8068 (ILL_BADSTK): Likewise.
8069 (FPE_INTDIV): Likewise.
8070 (FPE_INTOVF): Likewise.
8071 (FPE_FLTDIV): Likewise.
8072 (FPE_FLTOVF): Likewise.
8073 (FPE_FLTUND): Likewise.
8074 (FPE_FLTRES): Likewise.
8075 (FPE_FLTINV): Likewise.
8076 (FPE_FLTSUB): Likewise.
8077 (SEGV_MAPERR): Likewise.
8078 (SEGV_ACCERR): Likewise.
8079 (BUS_ADRALN): Likewise.
8080 (BUS_ADRERR): Likewise.
8081 (BUS_OBJERR): Likewise.
8082 (BUS_MCEERR_AR): Likewise.
8083 (BUS_MCEERR_AO): Likewise.
8084 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8085 (TRAP_TRACE): Likewise.
8086 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8088 (CLD_KILLED): Likewise.
8089 (CLD_DUMPED): Likewise.
8090 (CLD_TRAPPED): Likewise.
8091 (CLD_STOPPED): Likewise.
8092 (CLD_CONTINUED): Likewise.
8093 (POLL_IN): Likewise.
8094 (POLL_OUT): Likewise.
8095 (POLL_MSG): Likewise.
8096 (POLL_ERR): Likewise.
8097 (POLL_PRI): Likewise.
8098 (POLL_HUP): Likewise.
8099 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8100 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8103 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8104 before #include of <time.h>.
8105 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8106 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8107 (test-xfail-UNIX98/sched.h/conform): Likewise.
8109 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8111 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8112 error absence of trapping exception support.
8113 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8115 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8117 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8118 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8119 * timezone/Makefile (testdata): Move definition above include of
8121 (test-zones): New variable.
8122 (tests-special): Add zone files.
8123 (build-testdata): Use $(evaluate-test).
8125 * elf/Makefile (tests-special): Rename tests to end with .out.
8126 ($(objpfx)noload-mem): Likewise.
8127 ($(objpfx)tst-leaks1-mem): Likewise.
8128 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8129 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8130 $(objpfx)test-iconvconfig.out.
8131 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8132 set -e inside subshell and redirect output to file.
8133 * iconvdata/Makefile (generated): Rename tests to end with .out.
8135 (tests-special): Rename tests to end with .out.
8136 ($(objpfx)mtrace-tst-loading): Likewise.
8137 * intl/Makefile (generated): Likewise.
8138 (tests-special): Likewise.
8139 ($(objpfx)mtrace-tst-gettext): Likewise.
8140 * misc/Makefile (generated): Likewise.
8141 (tests-special): Likewise.
8142 ($(objpfx)tst-error1-mem): Likewise.
8143 * nptl/Makefile (tests-special): Likewise.
8144 ($(objpfx)tst-stack3-mem): Likewise.
8145 (generated): Likewise.
8146 * posix/Makefile (generated): Likewise.
8147 (tests-special): Likewise.
8148 (xtests-special): Likewise.
8149 ($(objpfx)tst-fnmatch-mem): Likewise.
8150 ($(objpfx)bug-regex2-mem): Likewise.
8151 ($(objpfx)bug-regex14-mem): Likewise.
8152 ($(objpfx)bug-regex21-mem): Likewise.
8153 ($(objpfx)bug-regex31-mem): Likewise.
8154 ($(objpfx)tst-vfork3-mem): Likewise.
8155 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8156 ($(objpfx)tst-pcre-mem): Likewise.
8157 ($(objpfx)tst-boost-mem): Likewise.
8158 ($(objpfx)bug-ga2-mem): Likewise.
8159 ($(objpfx)bug-glob2-mem): Likewise.
8160 * resolv/Makefile (generate): Likewise.
8161 (tests-special): Likewise.
8162 (xtests-special): Likewise.
8163 (generated): Likewise.
8164 ($(objpfx)mtrace-tst-leaks): Likewise.
8165 ($(objpfx)mtrace-tst-leaks2): Likewise.
8167 * scripts/merge-test-results.sh: New file.
8168 * Makefile (tests-special-notdir): New variable.
8169 (tests): Run merge-test-results.sh.
8171 * Rules (tests-special-notdir): New variable.
8172 (xtests-special-notdir): Likewise.
8173 (tests): Run merge-test-results.sh
8176 * Makeconfig (test-xfail-name): New variable.
8177 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8178 compute variable name for expected failures.
8179 * conform/Makefile (conformtest-headers-data): New variable.
8180 (conformtest-standards): Likewise.
8181 (conformtest-headers-ISO): Likewise.
8182 (conformtest-headers-ISO99): Likewise.
8183 (conformtest-headers-ISO11): Likewise.
8184 (conformtest-headers-POSIX): Likewise.
8185 (conformtest-headers-XPG3): Likewise.
8186 (conformtest-headers-XPG4): Likewise.
8187 (conformtest-headers-UNIX98): Likewise.
8188 (conformtest-headers-XOPEN2K): Likewise.
8189 (conformtest-headers-POSIX2008): Likewise.
8190 (conformtest-headers-XOPEN2K8): Likewise.
8191 (conformtest-header-list-base): Likewise.
8192 (conformtest-header-list-tests): Likewise.
8193 (conformtest-header-base): Likewise.
8194 (conformtest-header-tests): Likewise.
8195 (tests-special): Add $(conformtest-header-list-tests). If
8196 [$(fast-check) && !$(cross-compiling)], add
8197 $(conformtest-header-tests) instead of
8198 $(objpfx)run-conformtest.out.
8199 (generated): Add $(conformtest-header-list-base). If
8200 [$(fast-check) && !$(cross-compiling)], add
8201 $(conformtest-header-base). Remove previous setting.
8202 ($(conformtest-header-list-tests)): New target.
8203 (test-xfail-run-conformtest): Remove variable.
8204 ($(objpfx)run-conformtest.out): Remove target.
8205 (test-xfail-ISO11/complex.h/conform): New variable.
8206 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8207 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8208 (test-xfail-XPG3/varargs.h/conform): Likewise.
8209 (test-xfail-XPG4/varargs.h/conform): Likewise.
8210 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8211 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8212 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8213 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8214 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8215 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8216 (test-xfail-XPG3/ftw.h/conform): Likewise.
8217 (test-xfail-XPG3/grp.h/conform): Likewise.
8218 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8219 (test-xfail-XPG3/limits.h/conform): Likewise.
8220 (test-xfail-XPG3/pwd.h/conform): Likewise.
8221 (test-xfail-XPG3/search.h/conform): Likewise.
8222 (test-xfail-XPG3/signal.h/conform): Likewise.
8223 (test-xfail-XPG3/stdio.h/conform): Likewise.
8224 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8225 (test-xfail-XPG3/string.h/conform): Likewise.
8226 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8227 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8228 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8229 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8230 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8231 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8232 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8233 (test-xfail-XPG3/termios.h/conform): Likewise.
8234 (test-xfail-XPG3/time.h/conform): Likewise.
8235 (test-xfail-XPG3/unistd.h/conform): Likewise.
8236 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8237 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8238 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8239 (test-xfail-XPG4/netdb.h/conform): Likewise.
8240 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8241 (test-xfail-XPG4/signal.h/conform): Likewise.
8242 (test-xfail-XPG4/stdio.h/conform): Likewise.
8243 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8244 (test-xfail-XPG4/stropts.h/conform): Likewise.
8245 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8246 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8247 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8248 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8249 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8250 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8251 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8252 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8253 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8254 (test-xfail-XPG4/termios.h/conform): Likewise.
8255 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8256 (test-xfail-XPG4/unistd.h/conform): Likewise.
8257 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8258 (test-xfail-POSIX/sched.h/conform): Likewise.
8259 (test-xfail-POSIX/signal.h/conform): Likewise.
8260 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8261 (test-xfail-POSIX/tar.h/conform): Likewise.
8262 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8263 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8264 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8265 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8266 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8267 (test-xfail-UNIX98/sched.h/conform): Likewise.
8268 (test-xfail-UNIX98/signal.h/conform): Likewise.
8269 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8270 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8271 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8272 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8273 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8274 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8275 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8276 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8277 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8278 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8279 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8280 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8281 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8282 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8283 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8284 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8285 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8286 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8287 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8288 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8289 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8290 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8291 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8292 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8293 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8294 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8295 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8296 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8297 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8298 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8299 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8300 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8301 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8302 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8303 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8304 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8305 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8306 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8307 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8308 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8309 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8310 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8311 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8312 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8313 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8314 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8315 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8316 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8317 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8318 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8319 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8320 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8321 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8322 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8323 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8324 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8325 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8326 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8327 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8328 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8329 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8330 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8331 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8332 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8333 (conformtest-cc-flags): Likewise.
8334 ($(conformtest-header-tests): New target.
8335 * conform/check-header-lists.sh: New file.
8336 * conform/run-conformtest.sh: Remove.
8338 * conform/conformtest.pl: Allow ' and \ in values given for
8340 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8342 [POSIX] (sys/types.h): Likewise.
8343 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8345 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8347 * conform/data/signal.h-data (SIGIO): Remove expectation.
8348 [XPG3] (SIGBUS): Do not expect.
8349 [POSIX || XPG3] (SIGPOLL): Likewise.
8350 [POSIX || XPG3] (SIGPROF): Likewise.
8351 [POSIX || XPG3] (SIGSYS): Likewise.
8352 [XPG3] (SIGTRAP): Likewise.
8353 [POSIX || XPG3] (SIGURG): Likewise.
8354 [POSIX || XPG3] (SIGVTALRM): Likewise.
8355 [POSIX || XPG3] (SIGXCPU): Likewise.
8356 [POSIX || XPG3] (SIGXFSZ): Likewise.
8357 [POSIX] (SA_SIGINFO): Expect.
8358 [XPG3] (siginfo_t): Do not expect type or contents.
8359 [POSIX] (si_pid): Do not expect element.
8360 [POSIX] (si_uid): Likewise.
8361 [POSIX] (si_addr): Likewise.
8362 [POSIX] (si_status): Likewise.
8363 [POSIX] (si_band): Likewise.
8364 [XPG4] (si_value): Likewise.
8365 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8366 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8367 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8368 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8369 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8370 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8371 [POSIX || XPG3] (ILL_COPROC): Likewise.
8372 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8373 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8374 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8375 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8376 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8377 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8378 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8379 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8380 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8381 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8382 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8383 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8384 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8385 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8386 [POSIX || XPG3] (CLD_EXITED): Likewise.
8387 [POSIX || XPG3] (CLD_KILLED): Likewise.
8388 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8389 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8390 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8391 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8392 [POSIX || XPG3] (POLL_IN): Likewise.
8393 [POSIX || XPG3] (POLL_OUT): Likewise.
8394 [POSIX || XPG3] (POLL_MSG): Likewise.
8395 [POSIX || XPG3] (POLL_ERR): Likewise.
8396 [POSIX || XPG3] (POLL_PRI): Likewise.
8397 [POSIX || XPG3] (POLL_HUP): Likewise.
8398 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8399 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8400 (SIG*): Do not allow.
8401 [XPG3] (si_*): Likewise.
8402 [XPG3] (SI_*): Likewise.
8403 [XPG3 || XPG4] (sigev_*): Likewise.
8404 [XPG3 || XPG4] (SIGEV_*): Likewise.
8405 [XPG3 || XPG4] (sival_*): Likewise.
8406 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8407 [POSIX || XPG3] (BUS_*): Likewise.
8408 [POSIX || XPG3] (CLD_*): Likewise.
8409 [POSIX || XPG3] (FPE_*): Likewise.
8410 [POSIX || XPG3] (ILL_*): Likewise.
8411 [POSIX || XPG3] (POLL_*): Likewise.
8412 [POSIX || XPG3] (SEGV_*): Likewise.
8413 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8414 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8415 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8416 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8417 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8418 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8419 Specify type and value.
8420 (TVERSLEN): Likewise.
8421 (REGTYPE): Likewise.
8422 (AREGTYPE): Likewise.
8423 (LNKTYPE): Likewise.
8424 (SYMTYPE): Likewise.
8425 (CHRTYPE): Likewise.
8426 (BLKTYPE): Likewise.
8427 (DIRTYPE): Likewise.
8428 (FIFOTYPE): Likewise.
8429 (CONTTYPE): Likewise.
8434 (TUWRITE): Likewise.
8437 (TGWRITE): Likewise.
8440 (TOWRITE): Likewise.
8442 [POSIX] (TSVTX): Expect constant.
8444 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8446 * Makefile (tests): Change dependencies to ....
8447 (tests-special): ... additions to this variable.
8448 (tests): Depend on $(tests-special).
8449 * Makerules (check-abi-list): New variable.
8450 (check-abi): Depend on $(check-abi-list).
8451 [$(subdir) = elf] (tests-special): Add
8452 $(objpfx)check-abi-libc.out.
8453 [$(build-shared) = yes && subdir] (tests-special): Add
8455 [$(build-shared) = yes && subdir] (tests): Do not depend on
8457 * Rules (tests): Depend on $(tests-special).
8458 (xtests): Depend on $(xtests-special).
8459 * catgets/Makefile (tests): Change dependencies to ....
8460 (tests-special): ... additions to this variable.
8461 * conform/Makefile (tests): Change dependencies to ....
8462 (tests-special): ... additions to this variable.
8463 * elf/Makefile (tests): Change dependencies to ....
8464 (tests-special): ... additions to this variable.
8465 * grp/Makefile (tests): Change dependencies to ....
8466 (tests-special): ... additions to this variable.
8467 * iconv/Makefile (xtests): Change dependencies to ....
8468 (xtests-special): ... additions to this variable.
8469 * iconvdata/Makefile (tests): Change dependencies to ....
8470 (tests-special): ... additions to this variable.
8471 * intl/Makefile (tests): Change dependencies to ....
8472 (tests-special): ... additions to this variable. Also add
8473 $(objpfx)tst-gettext.out.
8474 * io/Makefile (tests): Change dependencies to ....
8475 (tests-special): ... additions to this variable.
8476 * libio/Makefile (tests): Change dependencies to ....
8477 (tests-special): ... additions to this variable.
8478 * malloc/Makefile (tests): Change dependencies to ....
8479 (tests-special): ... additions to this variable.
8480 * misc/Makefile (tests): Change dependencies to ....
8481 (tests-special): ... additions to this variable.
8482 * nptl/Makefile (tests): Change dependencies to ....
8483 (tests-special): ... additions to this variable.
8484 * nptl_db/Makefile (tests): Change dependencies to ....
8485 (tests-special): ... additions to this variable.
8486 * posix/Makefile (tests): Change dependencies to ....
8487 (tests-special): ... additions to this variable.
8488 (xtests): Change dependencies to ....
8489 (xtests-special): ... additions to this variable.
8490 * resolv/Makefile (tests): Change dependencies to ....
8491 (tests-special): ... additions to this variable.
8492 (xtests): Change dependencies to ....
8493 (xtests-special): ... additions to this variable.
8494 * stdio-common/Makefile (tests): Change dependencies to ....
8495 (tests-special): ... additions to this variable.
8496 (do-tst-unbputc): Remove target.
8497 (do-tst-printf): Likewise.
8498 * stdlib/Makefile (tests): Change dependencies to ....
8499 (tests-special): ... additions to this variable.
8500 * string/Makefile (tests): Change dependencies to ....
8501 (tests-special): ... additions to this variable.
8502 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8503 (tests-special): ... additions to this variable.
8505 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8507 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8509 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8510 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8512 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8513 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8514 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8515 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8516 * conform/data/libgen.h-data [XPG3]: Likewise.
8517 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8518 * conform/data/ndbm.h-data [XPG3]: Likewise.
8519 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8520 * conform/data/netdb.h-data [XPG3]: Likewise.
8521 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8522 * conform/data/poll.h-data [XPG3]: Likewise.
8523 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8524 * conform/data/strings.h-data [XPG3]: Likewise.
8525 * conform/data/stropts.h-data [XPG3]: Likewise.
8526 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8527 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8528 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8530 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8531 * conform/data/sys/time.h-data [XPG3]: Likewise.
8532 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8533 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8534 * conform/data/sys/un.h-data [XPG3]: Likewise.
8535 * conform/data/syslog.h-data [XPG3]: Likewise.
8536 * conform/data/ucontext.h-data [XPG3]: Likewise.
8537 * conform/data/utmpx.h-data [XPG3]: Likewise.
8538 * conform/data/varargs.h-data [UNIX98]: Enable file.
8540 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8542 * math/libm-test.inc (struct test_f_f_data): Move expected results
8543 into structure for each rounding mode.
8544 (struct test_ff_f_data): Likewise.
8545 (struct test_ff_f_data_nexttoward): Likewise.
8546 (struct test_fi_f_data): Likewise.
8547 (struct test_fl_f_data): Likewise.
8548 (struct test_if_f_data): Likewise.
8549 (struct test_fff_f_data): Likewise.
8550 (struct test_c_f_data): Likewise.
8551 (struct test_f_f1_data): Likewise.
8552 (struct test_fF_f1_data): Likewise.
8553 (struct test_ffI_f1_data): Likewise.
8554 (struct test_c_c_data): Likewise.
8555 (struct test_cc_c_data): Likewise.
8556 (struct test_f_i_data): Likewise.
8557 (struct test_ff_i_data): Likewise.
8558 (struct test_f_l_data): Likewise.
8559 (struct test_f_L_data): Likewise.
8560 (struct test_fFF_11_data): Likewise.
8562 (RM_FE_DOWNWARD): Likewise.
8563 (RM_FE_TONEAREST): Likewise.
8564 (RM_FE_TOWARDZERO): Likewise.
8565 (RM_FE_UPWARD): Likewise.
8566 (RUN_TEST_LOOP_f_f): Update references to expected results.
8567 (RUN_TEST_LOOP_2_f): Likewise.
8568 (RUN_TEST_LOOP_fff_f): Likewise.
8569 (RUN_TEST_LOOP_c_f): Likewise.
8570 (RUN_TEST_LOOP_f_f1): Likewise.
8571 (RUN_TEST_LOOP_fF_f1): Likewise.
8572 (RUN_TEST_LOOP_fI_f1): Likewise.
8573 (RUN_TEST_LOOP_ffI_f1): Likewise.
8574 (RUN_TEST_LOOP_c_c): Likewise.
8575 (RUN_TEST_LOOP_cc_c): Likewise.
8576 (RUN_TEST_LOOP_f_i): Likewise.
8577 (RUN_TEST_LOOP_f_i_tg): Likewise.
8578 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8579 (RUN_TEST_LOOP_f_b): Likewise.
8580 (RUN_TEST_LOOP_f_b_tg): Likewise.
8581 (RUN_TEST_LOOP_f_l): Likewise.
8582 (RUN_TEST_LOOP_f_L): Likewise.
8583 (RUN_TEST_LOOP_fFF_11): Likewise.
8584 * math/gen-libm-test.pl (parse_args): Output four copies of
8585 expected results for each test.
8587 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8588 (__ASSUME_UTIMES): Remove.
8589 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8590 (__ASSUME_UTIMES): Likewise.
8592 * math/gen-auto-libm-tests.c: Update comment on output format.
8593 (output_for_one_input_case): Generate before-rounding and
8594 after-rounding information as conditions on output flags not
8595 floating-point format.
8596 * math/auto-libm-test-out: Regenerated.
8597 * math/gen-libm-test.pl (cond_value): New function.
8598 (or_cond_value): Use cond_value.
8599 (generate_testfile): Handle conditional exceptions.
8601 2014-03-05 Joseph Myers <joseph@codesourcery.com>
8603 * math/libm-test.inc (max_valid_error): New variable.
8604 (init_max_error): Take new argument specifying whether function
8605 results are exactly determined. Set max_valid_error and bound
8606 other variables for errors based on this argument.
8607 (set_max_error): Do not record results above max_valid_error.
8608 (check_float_internal): Only accept errors of up to 0.5ulps if
8609 also at most max_valid_error.
8610 (START): Take new argument EXACT and pass it to init_max_error.
8611 (acos_test): Update call to START.
8612 (acos_test_tonearest): Likewise.
8613 (acos_test_towardzero): Likewise.
8614 (acos_test_downward): Likewise.
8615 (acos_test_upward): Likewise.
8616 (acosh_test): Likewise.
8617 (asin_test): Likewise.
8618 (asin_test_tonearest): Likewise.
8619 (asin_test_towardzero): Likewise.
8620 (asin_test_downward): Likewise.
8621 (asin_test_upward): Likewise.
8622 (asinh_test): Likewise.
8623 (atan_test): Likewise.
8624 (atanh_test): Likewise.
8625 (atan2_test): Likewise.
8626 (cabs_test): Likewise.
8627 (cacos_test): Likewise.
8628 (cacosh_test): Likewise.
8629 (carg_test): Likewise.
8630 (casin_test): Likewise.
8631 (casinh_test): Likewise.
8632 (catan_test): Likewise.
8633 (catanh_test): Likewise.
8634 (cbrt_test): Likewise.
8635 (ccos_test): Likewise.
8636 (ccosh_test): Likewise.
8637 (ceil_test): Likewise.
8638 (cexp_test): Likewise.
8639 (cimag_test): Likewise.
8640 (clog_test): Likewise.
8641 (clog10_test): Likewise.
8642 (conj_test): Likewise.
8643 (copysign_test): Likewise.
8644 (cos_test): Likewise.
8645 (cos_test_tonearest): Likewise.
8646 (cos_test_towardzero): Likewise.
8647 (cos_test_downward): Likewise.
8648 (cos_test_upward): Likewise.
8649 (cosh_test): Likewise.
8650 (cosh_test_tonearest): Likewise.
8651 (cosh_test_towardzero): Likewise.
8652 (cosh_test_downward): Likewise.
8653 (cosh_test_upward): Likewise.
8654 (cpow_test): Likewise.
8655 (cproj_test): Likewise.
8656 (creal_test): Likewise.
8657 (csin_test): Likewise.
8658 (csinh_test): Likewise.
8659 (csqrt_test): Likewise.
8660 (ctan_test): Likewise.
8661 (ctan_test_tonearest): Likewise.
8662 (ctan_test_towardzero): Likewise.
8663 (ctan_test_downward): Likewise.
8664 (ctan_test_upward): Likewise.
8665 (ctanh_test): Likewise.
8666 (ctanh_test_tonearest): Likewise.
8667 (ctanh_test_towardzero): Likewise.
8668 (ctanh_test_downward): Likewise.
8669 (ctanh_test_upward): Likewise.
8670 (erf_test): Likewise.
8671 (erfc_test): Likewise.
8672 (exp_test): Likewise.
8673 (exp_test_tonearest): Likewise.
8674 (exp_test_towardzero): Likewise.
8675 (exp_test_downward): Likewise.
8676 (exp_test_upward): Likewise.
8677 (exp10_test): Likewise.
8678 (exp10_test_tonearest): Likewise.
8679 (exp10_test_towardzero): Likewise.
8680 (exp10_test_downward): Likewise.
8681 (exp10_test_upward): Likewise.
8682 (pow10_test): Likewise.
8683 (exp2_test): Likewise.
8684 (expm1_test): Likewise.
8685 (expm1_test_tonearest): Likewise.
8686 (expm1_test_towardzero): Likewise.
8687 (expm1_test_downward): Likewise.
8688 (expm1_test_upward): Likewise.
8689 (fabs_test): Likewise.
8690 (fdim_test): Likewise.
8691 (floor_test): Likewise.
8692 (fma_test): Likewise.
8693 (fma_test_towardzero): Likewise.
8694 (fma_test_downward): Likewise.
8695 (fma_test_upward): Likewise.
8696 (fmax_test): Likewise.
8697 (fmin_test): Likewise.
8698 (fmod_test): Likewise.
8699 (fpclassify_test): Likewise.
8700 (frexp_test): Likewise.
8701 (hypot_test): Likewise.
8702 (ilogb_test): Likewise.
8703 (isfinite_test): Likewise.
8704 (finite_test): Likewise.
8705 (isgreater_test): Likewise.
8706 (isgreaterequal_test): Likewise.
8707 (isinf_test): Likewise.
8708 (isless_test): Likewise.
8709 (islessequal_test): Likewise.
8710 (islessgreater_test): Likewise.
8711 (isnan_test): Likewise.
8712 (isnormal_test): Likewise.
8713 (issignaling_test): Likewise.
8714 (isunordered_test): Likewise.
8715 (j0_test): Likewise.
8716 (j1_test): Likewise.
8717 (jn_test): Likewise.
8718 (ldexp_test): Likewise.
8719 (lgamma_test): Likewise.
8720 (gamma_test): Likewise.
8721 (lrint_test): Likewise.
8722 (lrint_test_tonearest): Likewise.
8723 (lrint_test_towardzero): Likewise.
8724 (lrint_test_downward): Likewise.
8725 (lrint_test_upward): Likewise.
8726 (llrint_test): Likewise.
8727 (llrint_test_tonearest): Likewise.
8728 (llrint_test_towardzero): Likewise.
8729 (llrint_test_downward): Likewise.
8730 (llrint_test_upward): Likewise.
8731 (log_test): Likewise.
8732 (log10_test): Likewise.
8733 (log1p_test): Likewise.
8734 (log2_test): Likewise.
8735 (logb_test): Likewise.
8736 (logb_test_downward): Likewise.
8737 (lround_test): Likewise.
8738 (llround_test): Likewise.
8739 (modf_test): Likewise.
8740 (nearbyint_test): Likewise.
8741 (nextafter_test): Likewise.
8742 (nexttoward_test): Likewise.
8743 (pow_test): Likewise.
8744 (pow_test_tonearest): Likewise.
8745 (pow_test_towardzero): Likewise.
8746 (pow_test_downward): Likewise.
8747 (pow_test_upward): Likewise.
8748 (remainder_test): Likewise.
8749 (drem_test): Likewise.
8750 (remainder_test_tonearest): Likewise.
8751 (drem_test_tonearest): Likewise.
8752 (remainder_test_towardzero): Likewise.
8753 (drem_test_towardzero): Likewise.
8754 (remainder_test_downward): Likewise.
8755 (drem_test_downward): Likewise.
8756 (remainder_test_upward): Likewise.
8757 (drem_test_upward): Likewise.
8758 (remquo_test): Likewise.
8759 (rint_test): Likewise.
8760 (rint_test_tonearest): Likewise.
8761 (rint_test_towardzero): Likewise.
8762 (rint_test_downward): Likewise.
8763 (rint_test_upward): Likewise.
8764 (round_test): Likewise.
8765 (scalb_test): Likewise.
8766 (scalbn_test): Likewise.
8767 (scalbln_test): Likewise.
8768 (signbit_test): Likewise.
8769 (sin_test): Likewise.
8770 (sin_test_tonearest): Likewise.
8771 (sin_test_towardzero): Likewise.
8772 (sin_test_downward): Likewise.
8773 (sin_test_upward): Likewise.
8774 (sincos_test): Likewise.
8775 (sinh_test): Likewise.
8776 (sinh_test_tonearest): Likewise.
8777 (sinh_test_towardzero): Likewise.
8778 (sinh_test_downward): Likewise.
8779 (sinh_test_upward): Likewise.
8780 (sqrt_test): Likewise.
8781 (sqrt_test_tonearest): Likewise.
8782 (sqrt_test_towardzero): Likewise.
8783 (sqrt_test_downward): Likewise.
8784 (sqrt_test_upward): Likewise.
8785 (tan_test): Likewise.
8786 (tan_test_tonearest): Likewise.
8787 (tan_test_towardzero): Likewise.
8788 (tan_test_downward): Likewise.
8789 (tan_test_upward): Likewise.
8790 (tanh_test): Likewise.
8791 (tgamma_test): Likewise.
8792 (trunc_test): Likewise.
8793 (y0_test): Likewise.
8794 (y1_test): Likewise.
8795 (yn_test): Likewise.
8796 (significand_test): Likewise.
8798 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8799 individual tests in comment.
8800 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8801 (prev_max_error): New variable.
8802 (prev_real_max_error): Likewise.
8803 (prev_imag_max_error): Likewise.
8804 (compare_ulp_data): Don't refer to test names in comment.
8805 (find_test_ulps): Remove function.
8806 (find_function_ulps): Likewise.
8807 (find_complex_function_ulps): Likewise.
8808 (init_max_error): Take function name as argument. Look up ulps
8810 (print_ulps): Remove function.
8811 (print_max_error): Use prev_max_error instead of calling
8813 (print_complex_max_error): Use prev_real_max_error and
8814 prev_imag_max_error instead of calling find_complex_function_ulps.
8815 (check_float_internal): Take max_ulp parameter instead of calling
8816 find_test_ulps. Don't call print_ulps.
8817 (check_float): Update call to check_float_internal.
8818 (check_complex): Update calls to check_float_internal.
8819 (START): Pass argument to init_max_error.
8820 * math/gen-libm-test.pl (%results): Don't include "kind"
8822 (parse_ulps): Don't handle ulps of individual tests.
8823 (print_ulps_file): Likewise.
8824 (output_ulps): Likewise.
8825 * math/README.libm-test: Update.
8826 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8828 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8829 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8830 * sysdeps/arm/libm-test-ulps: Likewise.
8831 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8832 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8833 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8834 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8835 * sysdeps/microblaze/libm-test-ulps: Likewise.
8836 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8837 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8838 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8839 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8840 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8841 * sysdeps/sh/libm-test-ulps: Likewise.
8842 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8843 * sysdeps/tile/libm-test-ulps: Likewise.
8844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8846 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8848 * math/libm-test.inc (print_complex_max_error): Check separately
8849 whether real and imaginary errors are within allowed range and
8850 pass 0 to print_complex_function_ulps instead of value within
8853 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8855 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8857 (get_handles_fopen): Likewise.
8858 (do_write_test): Likewise.
8860 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8862 * libio/fileops.c (do_ftell): Use cached offset when
8864 * libio/iofwide.c (do_ftell_wide): Likewise.
8865 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8867 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8870 * libio/libioP.h (get_file_offset): New function.
8871 * libio/fileops.c (get_file_offset): Likewise.
8872 (do_ftell): Likewise.
8873 (_IO_new_file_seekoff): Split out ftell logic.
8874 * libio/wfileops.c (do_ftell_wide): Likewise.
8875 (_IO_wfile_seekoff): Split out ftell logic.
8876 * libio/tst-ftell-active-handler.c: New test case.
8877 * libio/Makefile (tests): Add it.
8879 2014-03-03 Roland McGrath <roland@hack.frob.com>
8881 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8882 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8884 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8887 * nscd/connections.c (nscd_init): Call do_exit.
8888 (start_threads): Call do_exit and notify_parent.
8889 (begin_drop_privileges): Call do_exit.
8890 (finish_drop_privileges): Likewise.
8891 * nscd/selinux.c (preserve_capabilities): Likewise.
8892 (install_real_capabilities): Likewise.
8893 (nscd_selinux_enabled): Likewise.
8894 (avc_create_thread): Likewise.
8895 (avc_alloc_lock): Likewise.
8896 (nscd_avc_init): Likewise.
8897 * nscd/nscd.c (parent_fd): New static variable.
8898 (main): Create a pipe between parent and child processes.
8899 Skip closing parent_fd.
8900 (monitor_child): New function.
8901 (do_exit): Likewise.
8902 (notify_parent): Likewise.
8903 * nscd/nscd.h (notify_parent): Likewise.
8904 (do_exit): Likewise.
8906 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8908 * malloc/malloc.c (__libc_calloc): Revert last change.
8910 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8914 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8916 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8917 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8919 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8920 (__libc_ifunc_impl_list): Likewise.
8921 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8922 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8923 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8924 * string/strrchr.c: Define STRRCHR.
8926 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8928 * benchtest/bench-strtok.c (simple_strtok): Delete.
8929 (strtok_string): Use as benchmark.
8930 * string/strtok (STRTOK): New macro.
8932 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8934 * manual/threads.texi: Add header and standard comments to all
8937 * elf/dl-lookup.c (check_match): New function.
8938 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8939 (do_lookup_x): Remove nested function check_match. Use non-nested
8940 function check_match.
8942 2014-02-28 Roland McGrath <roland@hack.frob.com>
8944 * csu/Makefile (generated, before-compile): Use += rather than =.
8945 * catgets/Makefile (generated, generated-dirs): Likewise.
8946 * debug/Makefile (generated): Likewise.
8947 * dlfcn/Makefile (generated): Likewise.
8948 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8949 * iconvdata/Makefile (before-compile, generated): Likewise.
8950 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8951 * libio/Makefile (generated): Likewise.
8952 * malloc/Makefile (generated): Likewise.
8953 * manual/Makefile (generated, generated-dirs): Likewise.
8954 * misc/Makefile (generated): Likewise.
8955 * posix/Makefile (generated): Likewise.
8956 * resolv/Makefile (generated): Likewise.
8957 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8958 * timezone/Makefile (generated, generated-dirs): Likewise.
8960 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8962 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8964 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8965 power8 implementation.
8966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8967 file: POWER8 llround ifunc implementation.
8968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8969 (__lllround): Add POWER8 implementation.
8970 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8971 POWER8 llround implementation.
8973 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8974 power8 implementation.
8975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8976 file: POWER8 llrint ifunc implementation.
8977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8978 Add POWER8 implementation.
8979 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8980 POWER8 llrint implementation.
8982 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8983 power8 implementation.
8984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8985 file: POWER8 finite ifunc implementation.
8986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8987 Add POWER8 implementation.
8988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8990 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8991 POWER8 finite implementation.
8992 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8994 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8995 power8 implementation.
8996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8997 file: POWER8 isinf ifunc implementation.
8998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8999 POWER8 implementation.
9000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9002 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9003 isinf implementation.
9004 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9006 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9007 (INIT_ARCH): Add hwcap2 initialization.
9008 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9009 power8 implementation.
9010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9011 file: POWER8 isnan ifunc implementation.
9012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9013 POWER8 implementation.
9014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9016 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9017 isnan implementation.
9018 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9020 2014-02-27 Joey Ye <joey.ye@arm.com>
9022 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9023 (_FP_NANFRAC_Q): Set to zero.
9025 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9028 * math/auto-libm-test-in: New test inputs.
9029 * math/auto-libm-test-out: Regenerate.
9030 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9033 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9035 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9037 * scripts/evaluate-test.sh: Take new argument indicating whether
9038 failure is expected.
9039 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9040 indicating whether failure is expected.
9041 * conform/Makefile (test-xfail-run-conformtest): New variable.
9042 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9044 * posix/Makefile (test-xfail-annexc): New variable.
9045 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9047 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9049 * argp/Makefile: Include Makeconfig immediately after defining
9051 * assert/Makefile: Likewise.
9052 * benchtests/Makefile: Likewise.
9053 * catgets/Makefile: Likewise.
9054 * conform/Makefile: Likewise.
9055 * crypt/Makefile: Likewise.
9056 * csu/Makefile: Likewise.
9057 (all): Remove target.
9058 * ctype/Makefile: Include Makeconfig immediately after defining
9060 * debug/Makefile: Likewise.
9061 * dirent/Makefile: Likewise.
9062 * dlfcn/Makefile: Likewise.
9063 * gmon/Makefile: Likewise.
9064 * gnulib/Makefile: Likewise.
9065 * grp/Makefile: Likewise.
9066 * gshadow/Makefile: Likewise.
9067 * hesiod/Makefile: Likewise.
9068 * hurd/Makefile: Likewise.
9069 (all): Remove target.
9070 * iconvdata/Makefile: Include Makeconfig immediately after
9072 * inet/Makefile: Likewise.
9073 * intl/Makefile: Likewise.
9074 * io/Makefile: Likewise.
9075 * libio/Makefile: Likewise.
9076 (all): Remove target.
9077 * locale/Makefile: Include Makeconfig immediately after defining
9079 * login/Makefile: Likewise.
9080 * mach/Makefile: Likewise.
9081 (all): Remove target.
9082 * malloc/Makefile: Include Makeconfig immediately after defining
9084 (all): Remove target.
9085 * manual/Makefile: Include Makeconfig immediately after defining
9087 * math/Makefile: Likewise.
9088 * misc/Makefile: Likewise.
9089 * nis/Makefile: Likewise.
9090 * nss/Makefile: Likewise.
9091 * po/Makefile: Likewise.
9092 (all): Remove target.
9093 * posix/Makefile: Include Makeconfig immediately after defining
9095 * pwd/Makefile: Likewise.
9096 * resolv/Makefile: Likewise.
9097 * resource/Makefile: Likewise.
9098 * rt/Makefile: Likewise.
9099 * setjmp/Makefile: Likewise.
9100 * shadow/Makefile: Likewise.
9101 * signal/Makefile: Likewise.
9102 * socket/Makefile: Likewise.
9103 * soft-fp/Makefile: Likewise.
9104 * stdio-common/Makefile: Likewise.
9105 * stdlib/Makefile: Likewise.
9106 * streams/Makefile: Likewise.
9107 * string/Makefile: Likewise.
9108 * sunrpc/Makefile: Likewise.
9109 (all): Remove target.
9110 * sysvipc/Makefile: Include Makeconfig immediately after defining
9112 * termios/Makefile: Likewise.
9113 * time/Makefile: Likewise.
9114 * timezone/Makefile: Likewise.
9115 (all): Remove target.
9116 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9118 * wctype/Makefile: Likewise.
9120 2014-02-26 Steve Ellcey <sellcey@mips.com>
9122 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9123 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9124 (libc_feholdexcept_setround_mips): Ditto.
9125 (libc_feholdsetround): New.
9126 (libc_feholdsetroundf): New.
9127 (libc_feholdsetroundl): New.
9128 (libc_feupdateenv_test_mips): New.
9129 (libc_feupdateenv_test): New.
9130 (libc_feupdateenv_testf): New.
9131 (libc_feupdateenv_testl): New.
9132 (libc_feresetround): New.
9133 (libc_feresetroundf): New.
9134 (libc_feresetroundl): New.
9135 (libc_fetestexcept_mips): New.
9136 (libc_fetestexcept): New.
9137 (libc_fetestexceptf): New.
9138 (libc_fetestexceptl): New.
9140 (libc_feholdexcept_setround_mips_ctx): New.
9141 (libc_feholdexcept_setround_ctx): New.
9142 (libc_feholdexcept_setroundf_ctx): New.
9143 (libc_feholdexcept_setroundl_ctx): New.
9144 (libc_fesetenv_mips_ctx): New.
9145 (libc_fesetenv_ctx): New.
9146 (libc_fesetenv_ctxf): New.
9147 (libc_fesetenv_ctxl): New.
9148 (libc_feupdateenv_mips_ctx): New.
9149 (libc_feupdateenv_ctx): New.
9150 (libc_feupdateenvf_ctx): New.
9151 (libc_feupdateenvl_ctx): New.
9152 (libc_feholdsetround_mips_ctx): New.
9153 (libc_feholdsetround_ctx): New.
9154 (libc_feholdsetroundf_ctx): New.
9155 (libc_feholdsetroundl_ctx): New.
9156 (libc_feresetround_mips_ctx): New.
9157 (libc_feresetround_ctx): New.
9158 (libc_feresetroundf_ctx): New.
9159 (libc_feresetroundl_ctx): New.
9161 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9163 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9165 * manual/ipc.texi: New file.
9166 * manual/Makefile (chapters): Add ipc.
9167 * manual/job.texi: Add "Inter-Process Communication" to next.
9168 * manual/process.texi: Add "Inter-Process Communication" to prev.
9170 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9174 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9176 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9178 * manual/arith.texi: Fix spaces after sentences.
9179 * manual/charset.texi: Likewise.
9180 * manual/errno.texi: Likewise.
9181 * manual/install.texi: Likewise.
9182 * manual/llio.texi: Likewise.
9183 * manual/locale.texi: Likewise.
9184 * manual/maint.texi: Likewise.
9185 * manual/math.texi: Likewise.
9186 * manual/memory.texi: Likewise.
9187 * manual/message.texi: Likewise.
9188 * manual/probes.texi: Likewise.
9189 * manual/resource.texi: Likewise.
9190 * manual/signal.texi: Likewise.
9191 * manual/socket.texi: Likewise.
9192 * manual/stdio.texi: Likewise.
9193 * manual/string.texi: Likewise.
9194 * manual/time.texi: Likewise.
9195 * manual/users.texi: Likewise.
9197 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9200 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9201 _DEFAULT_SOURCE is defined.
9203 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9204 Carlos O'Donell <carlos@redhat.com>
9207 * elf/dl-tls.c (_dl_count_modids): New function.
9208 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9209 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9210 audit library and increment generation counter.
9211 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9212 * elf/tst-audit9.c: New file.
9213 * elf/tst-auditmod9a.c: New file.
9214 * elf/tst-auditmod9b.c: New file.
9215 * elf/Makefile: Add rules to build and run tst-audit9.
9217 2014-02-25 Florian Weimer <fweimer@redhat.com>
9220 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9222 2014-02-25 Will Newton <will.newton@linaro.org>
9224 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9225 (__longjmp): Restore sp and lr before restoring callee
9226 saved registers. Add longjmp and longjmp_target
9227 SystemTap probe point.
9228 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9229 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9230 Define to zero to match jmpbuf layout.
9231 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9232 (__sigsetjmp): Save sp and lr before saving callee
9233 saved registers. Add setjmp SystemTap probe point.
9235 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9237 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9239 2014-02-24 Andreas Schwab <schwab@suse.de>
9242 * elf/pldd.c (wait_for_ptrace_stop): New function.
9243 (main): Call it after attaching.
9245 2014-02-22 Roland McGrath <roland@hack.frob.com>
9247 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9248 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9249 Versions files is now verboten.
9250 * hurd/Versions (libc: GLIBC_2.0):
9251 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9252 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9253 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9254 * mach/Versions: Likewise.
9256 * csu/Versions: Remove unused %include.
9257 * resolv/Versions: Likewise.
9259 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9261 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9262 ($(objpfx)check-local-headers.out): Likewise.
9263 ($(objpfx)begin-end-check.out): Likewise.
9264 * Makerules (check-abi-%.out): Likewise.
9265 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9266 ($(objpfx)test2.cat): Likewise.
9267 ($(objpfx)de/libc.cat): Likewise.
9268 ($(objpfx)test-gencat.out): Likewise.
9269 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9270 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9271 ($(objpfx)noload-mem): Likewise.
9272 ($(objpfx)tst-pathopt.out): Likewise.
9273 ($(objpfx)tst-rtld-load-self.out): Likewise.
9274 ($(objpfx)tst-array1-cmp.out): Likewise.
9275 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9276 ($(objpfx)tst-array2-cmp.out): Likewise.
9277 ($(objpfx)tst-array3-cmp.out): Likewise.
9278 ($(objpfx)tst-array4-cmp.out): Likewise.
9279 ($(objpfx)tst-array5-cmp.out): Likewise.
9280 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9281 ($(objpfx)check-textrel.out): Likewise.
9282 ($(objpfx)check-execstack.out): Likewise.
9283 ($(objpfx)check-localplt.out): Likewise.
9284 ($(objpfx)order2-cmp.out): Likewise.
9285 ($(objpfx)tst-leaks1-mem): Likewise.
9286 ($(objpfx)tst-leaks1-static-mem): Likewise.
9287 ($(objpfx)tst-initorder-cmp.out): Likewise.
9288 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9289 ($(objpfx)tst-unused-dep.out): Likewise.
9290 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9291 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9292 * iconv/Makefile (test-iconvconfig): Likewise.
9293 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9294 ($(objpfx)iconv-test.out): Likewise.
9295 ($(objpfx)tst-tables.out): Likewise.
9296 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9297 ($(objpfx)tst-gettext.out): Likewise.
9298 ($(objpfx)tst-translit.out): Likewise.
9299 ($(objpfx)tst-gettext2.out): Likewise.
9300 ($(objpfx)tst-gettext4.out): Likewise.
9301 ($(objpfx)tst-gettext6.out): Likewise.
9302 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9303 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9304 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9305 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9306 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9307 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9308 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9309 ($(objpfx)wordexp-tst.out): Likewise.
9310 ($(objpfx)annexc.out): Likewise.
9311 ($(objpfx)tst-fnmatch-mem): Likewise.
9312 ($(objpfx)bug-regex2-mem): Likewise.
9313 ($(objpfx)bug-regex14-mem): Likewise.
9314 ($(objpfx)bug-regex21-mem): Likewise.
9315 ($(objpfx)bug-regex31-mem): Likewise.
9316 ($(objpfx)tst-vfork3-mem): Likewise.
9317 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9318 ($(objpfx)tst-pcre-mem): Likewise.
9319 ($(objpfx)tst-boost-mem): Likewise.
9320 ($(objpfx)tst-getconf.out): Likewise.
9321 ($(objpfx)bug-ga2-mem): Likewise.
9322 ($(objpfx)bug-glob2-mem): Likewise.
9323 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9324 ($(objpfx)mtrace-tst-leaks2): Likewise.
9325 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9326 ($(objpfx)tst-printf.out): Likewise.
9327 ($(objpfx)tst-setvbuf1.out): Likewise.
9328 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9329 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9330 ($(objpfx)tst-fmtmsg.out): Likewise.
9331 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9332 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9334 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9335 * bits/sigaction.h [__USE_MISC]: Likewise.
9336 * bits/waitstatus.h: Update #endif comments.
9337 * ctype/ctype.h: Likewise.
9338 * dirent/dirent.h: Likewise.
9339 [__USE_MISC]: Remove redundant conditionals.
9340 * grp/grp.h: Update #endif comments.
9341 [__USE_GNU]: Remove redundant conditionals.
9342 [__USE_MISC]: Likewise.
9343 * inet/netinet/in.h [__USE_GNU]: Likewise.
9344 * io/sys/stat.h [__USE_MISC]: Likewise.
9345 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9346 * libio/bits/stdio.h: Update #endif comments.
9347 [__USE_MISC]: Remove redundant conditionals.
9348 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9349 * libio/stdio.h: Update #endif comments.
9350 [__USE_MISC]: Remove redundant conditionals.
9351 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9352 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9353 * math/math.h: Update #else and #endif comments.
9354 [__USE_MISC]: Remove redundant conditionals.
9355 * misc/sys/uio.h: Update #endif comments.
9356 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9357 * posix/glob.h [__USE_MISC]: Likewise.
9358 * posix/sys/types.h: Update #endif comments.
9359 [__USE_MISC]: Remove redundant conditionals.
9360 * posix/sys/wait.h: Update #endif comments.
9361 [__USE_MISC]: Remove redundant conditionals.
9362 * posix/unistd.h: Update #endif comments.
9363 [__USE_MISC]: Remove redundant conditionals.
9364 * pwd/pwd.h [__USE_GNU]: Likewise.
9365 [__USE_MISC]: Likewise.
9366 * resolv/netdb.h [__USE_GNU]: Likewise.
9367 * signal/signal.h: Update #endif comments.
9368 [__USE_MISC]: Remove redundant conditionals.
9369 * stdlib/stdlib.h: Update #else and #endif comments.
9370 [__USE_MISC]: Remove redundant conditionals.
9371 [__USE_GNU]: Likewise.
9372 * string/bits/string2.h [__USE_MISC]: Likewise.
9373 * string/string.h: Update #endif comments.
9374 [__USE_MISC]: Remove redundant conditionals.
9375 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9377 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9378 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9379 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9381 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9383 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9385 [__USE_MISC]: Remove redundant conditionals.
9386 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9387 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9388 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9389 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9390 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9392 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9393 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9395 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9396 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9398 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9400 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9401 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9403 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9405 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9406 * sysdeps/x86/bits/string.h: Update #endif comments.
9407 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9409 * time/sys/time.h: Update #endif comments.
9410 * time/time.h: Likewise.
9411 [__USE_MISC]: Remove redundant conditionals.
9413 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9416 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9418 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9420 * Versions.def (librt): Add GLIBC_2.17.
9422 2014-02-21 Adam Conrad <adconrad@0c3.net>
9424 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9425 synonym for _SYS_AUXV_H to allow direct inclusion.
9426 * sysdeps/sparc/bits/hwcap.h: Likewise.
9427 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9428 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9429 * sysdeps/sparc/sysdep.h: Likewise.
9431 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9433 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9435 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9437 * benchtests/bench-strrchr.c: Print length instead of position.
9439 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9442 * sysdeps/unix/sysv/linux/kernel-features.h
9443 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9444 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9445 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9446 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9448 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9449 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9450 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9451 (__ASSUME_SENDMMSG): Define instead of using previous
9452 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9453 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9454 (__ASSUME_SENDMMSG_SYSCALL): Define.
9455 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9456 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9458 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9459 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9461 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9462 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9464 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9465 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9466 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9467 [__ASSUME_SENDMMSG]: Change conditionals to
9468 [__ASSUME_SENDMMSG_SOCKETCALL].
9469 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9470 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9472 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9473 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9475 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9476 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9477 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9478 [!__ASSUME_SENDMMSG]: Change conditional to
9479 [!__ASSUME_SENDMMSG_SOCKETCALL].
9480 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9481 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9485 * sysdeps/unix/sysv/linux/kernel-features.h
9486 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9487 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9488 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9489 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9490 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9491 [__i386__ || __sparc__]
9492 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9493 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9494 (__ASSUME_RECVMMSG): Define instead of using previous
9495 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9496 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9497 (__ASSUME_RECVMMSG_SYSCALL): Define.
9498 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9499 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9501 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9502 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9504 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9505 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9507 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9508 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9509 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9510 [__ASSUME_RECVMMSG]: Change condition to
9511 [__ASSUME_RECVMMSG_SOCKETCALL].
9512 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9513 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9515 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9516 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9517 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9519 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9520 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9521 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9522 [!__ASSUME_RECVMMSG]: Change condition to
9523 [!__ASSUME_RECVMMSG_SOCKETCALL].
9524 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9525 (__ASSUME_RECVMMSG_SYSCALL): Define.
9528 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9529 __powerpc__ || __s390__ || __sh__ || __sparc__]
9530 (__ASSUME_SOCKETCALL): Define.
9531 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9532 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9533 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9534 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9535 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9536 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9537 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9538 (__ASSUME_ACCEPT4): Define instead of using previous
9539 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9540 __powerpc__ || __sparc__ || __s390__)] condition.
9541 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9542 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9543 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9544 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9545 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9546 [!__ASSUME_ACCEPT4]: Change condition to
9547 [!__ASSUME_ACCEPT4_SOCKETCALL].
9548 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9549 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9550 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9551 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9552 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9553 __ASSUME_ACCEPT4_SYSCALL.
9554 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9555 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9556 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9557 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9558 __ASSUME_ACCEPT4_SYSCALL.
9559 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9560 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9561 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9562 [__ASSUME_ACCEPT4]: Change condition to
9563 [__ASSUME_ACCEPT4_SOCKETCALL].
9564 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9565 (__ASSUME_SOCKETCALL): Define.
9566 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9567 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9568 (__ASSUME_SOCKETCALL): Define.
9569 (__ASSUME_ACCEPT4): Remove.
9570 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9572 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9573 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9575 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9576 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9578 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9580 (HWCAP_ARM_LPAE): Likewise.
9581 (HWCAP_ARM_EVTSTRM): Likewise.
9582 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9583 Add vpfd32, lpae and evtstrm.
9584 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9587 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9589 * math/auto-libm-test-in: Add tests of clog10.
9590 * math/auto-libm-test-out: Regenerated.
9591 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9592 * sysdeps/i386/fpu/libm-test-ulps: Update.
9593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9595 2014-02-18 Andreas Schwab <schwab@suse.de>
9598 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9599 Store non-zero if the second buffer was newly allocated.
9600 (send_dg): Likewise.
9601 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9602 to send_vc and send_dg.
9603 (res_nsend): Pass NULL for ansp2_malloced.
9604 * resolv/res_query.c (__libc_res_nquery): Add parameter
9605 answerp2_malloced and pass it down to __libc_res_nsend.
9606 (res_nquery): Pass additional NULL to __libc_res_nquery.
9607 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9608 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9609 second answer buffer if answerp2_malloced was set.
9610 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9611 (__libc_res_nquerydomain): Add parameter
9612 answerp2_malloced and pass it down to __libc_res_nquery.
9613 (res_nquerydomain): Pass additional NULL to
9614 __libc_res_nquerydomain.
9615 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9616 additional NULL to __libc_res_nsend and __libc_res_nquery.
9617 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9618 additional NULL to __libc_res_nsearch.
9619 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9620 parameter of __libc_res_nsearch to check for separately allocated
9622 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9624 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9625 additional NULL to __libc_res_nquery.
9626 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9628 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9629 * include/resolv.h: Update prototypes of __libc_res_nquery,
9630 __libc_res_nsearch, __libc_res_nsend.
9632 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9634 * math/auto-libm-test-in: Add tests of fma.
9635 * math/auto-libm-test-out: Regenerated.
9636 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9637 (fma_towardzero_test_data): Likewise.
9638 (fma_downward_test_data): Likewise.
9639 (fma_upward_test_data): Likewise.
9640 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9642 (rounding_modes): Add values for new field.
9643 (func_calc_method): Add value mpfr_fff_f.
9644 (func_calc_desc): Add mpfr_fff_f union field.
9645 (test_function): Add field exact_args.
9646 (FUNC): Add macro argument EXACT_ARGS.
9647 (FUNC_mpfr_f_f): Update call to FUNC.
9648 (FUNC_mpfr_f_f): Likewise.
9649 (FUNC_mpfr_ff_f): Likewise.
9650 (FUNC_mpfr_if_f): Likewise.
9651 (FUNC_mpc_c_f): Likewise.
9652 (FUNC_mpc_c_c): Likewise.
9653 (test_functions): Add fma. Update calls to FUNC.
9654 (handle_input_arg): Add argument exact_args.
9655 (add_test): Update call to handle_input_arg.
9656 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9657 (output_for_one_input_case): Update call to calc_generic_results.
9658 Recalculate exact zero results in each rounding mode.
9660 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9661 non-negative before setting low bit.
9662 * math/auto-libm-test-in: Mark one asin test possibly having
9664 * math/auto-libm-test-out: Regenerated.
9665 * sysdeps/i386/fpu/libm-test-ulps: Update.
9666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9668 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9670 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9671 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9672 ports/sysdeps/unix/sysv/linux/microblaze.
9673 * README: Add missing listing for microblaze*-*-linux-gnu.
9675 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9677 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9678 * sysdeps/unix/sysv/linux/ia64: Move directory from
9679 ports/sysdeps/unix/sysv/linux/ia64.
9680 * README: Update listing for ia64-*-linux-gnu.
9682 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9683 Joseph Myers <joseph@codesourcery.com>
9685 * Makeconfig (test-name): New variable.
9686 (evaluate-test): Likewise.
9687 * Makerules (do-test-clean): Remove .test-result files.
9688 (common-mostlyclean): Likewise.
9689 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9690 * scripts/evaluate-test.sh: New file.
9692 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9694 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9695 separate $(objpfx)tst-fopenloc-cmp.out and
9696 $(objpfx)tst-fopenloc-mem.out targets.
9697 (tests): Update dependencies.
9698 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9699 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9700 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9701 (tst-rxspencer-no-utf8-ARGS): New variable.
9702 (tst-rxspencer-no-utf8-ENV): Likewise.
9703 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9704 instead of $(objpfx)tst-rxspencer-mem.
9705 ($(objpfx)tst-rxspencer-mem): Change target to
9706 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9707 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9708 * posix/tst-rxspencer-no-utf8.c: New file.
9710 * elf/Makefile ($(objpfx)order.out): Remove rule.
9711 [$(run-built-tests) = yes] (tests): Depend on
9712 $(objpfx)order-cmp.out.
9713 ($(objpfx)order-cmp.out): New rule.
9714 [$(run-built-tests) = yes] (tests): Depend on
9715 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9716 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9717 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9718 $(objpfx)tst-array5-static-cmp.out.
9719 ($(objpfx)tst-array1.out): Remove rule.
9720 ($(objpfx)tst-array1-cmp.out): New rule.
9721 ($(objpfx)tst-array1-static.out): Remove rule.
9722 ($(objpfx)tst-array1-static-cmp.out): New rule.
9723 ($(objpfx)tst-array2.out): Remove rule.
9724 ($(objpfx)tst-array2-cmp.out): New rule.
9725 ($(objpfx)tst-array3.out): Remove rule.
9726 ($(objpfx)tst-array3-cmp.out): New rule.
9727 ($(objpfx)tst-array4.out): Remove rule.
9728 ($(objpfx)tst-array4-cmp.out): New rule.
9729 ($(objpfx)tst-array5.out): Remove rule.
9730 ($(objpfx)tst-array5-cmp.out): New rule.
9731 ($(objpfx)tst-array5-static.out): Remove rule.
9732 ($(objpfx)tst-array5-static-cmp.out): New rule.
9733 [$(run-built-tests) = yes] (tests): Depend on
9734 $(objpfx)order2-cmp.out.
9735 ($(objpfx)order2.out): Remove rule.
9736 ($(objpfx)order2-cmp.out): New rule.
9737 ($(objpfx)tst-initorder.out): Remove rule.
9738 [$(run-built-tests) = yes] (tests): Depend on
9739 $(objpfx)tst-initorder-cmp.out.
9740 ($(objpfx)tst-initorder-cmp.out): New rule.
9741 ($(objpfx)tst-initorder2.out): Remove rule.
9742 [$(run-built-tests) = yes] (tests): Depend on
9743 $(objpfx)tst-initorder2-cmp.out.
9744 ($(objpfx)tst-initorder2-cmp.out): New rule.
9745 [$(run-built-tests) = yes] (tests): Depend on
9746 $(objpfx)tst-unused-dep-cmp.out.
9747 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9748 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9749 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9750 on $(objpfx)tst-setvbuf1-cmp.out.
9751 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9752 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9753 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9754 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9755 ($(objpfx)tst-svc.out): Remove rule.
9756 ($(objpfx)tst-svc-cmp.out): New rule.
9758 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9760 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9761 * ctype/ctype.h [__USE_MISC]: Likewise.
9762 * dirent/dirent.h [__USE_MISC]: Likewise.
9763 * grp/grp.h [__USE_MISC]: Likewise.
9764 * io/fcntl.h [__USE_MISC]: Likewise.
9765 * io/sys/stat.h [__USE_MISC]: Likewise.
9766 * libio/stdio.h [__USE_MISC]: Likewise.
9767 * posix/unistd.h [__USE_MISC]: Likewise.
9768 * pwd/pwd.h [__USE_MISC]: Likewise.
9769 * stdlib.h [__USE_MISC]: Likewise.
9770 * string/bits/string2.h [__USE_MISC]: Likewise.
9771 * string/string.h [__USE_MISC]: Likewise.
9772 * time/time.h [__USE_MISC]: Likewise.
9774 2014-02-13 Andreas Schwab <schwab@suse.de>
9777 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9778 second answer buffer if it was separately allocated.
9780 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9782 * sysdeps/mips/math-tests.h: Include <features.h>.
9783 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9784 (ROUNDING_TESTS_long_double): Do not define.
9785 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9786 (EXCEPTION_TESTS_long_double): Likewise.
9787 * sysdeps/mips/mips64/libm-test-ulps: Update.
9789 * include/features.h (__USE_BSD): Remove macro definitions.
9790 (__USE_SVID): Likewise.
9791 (_BSD_SOURCE): Likewise.
9792 (_SVID_SOURCE): Likewise.
9793 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9794 from definition of _DEFAULT_SOURCE.
9795 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9797 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9798 * bits/mman.h [__USE_BSD]: Likewise.
9799 * bits/termios.h [__USE_BSD]: Likewise.
9800 * bits/waitstatus.h [__USE_BSD]: Likewise.
9801 * ctype/ctype.h [__USE_SVID]: Likewise.
9802 * dirent/dirent.h [__USE_BSD]: Likewise.
9803 * grp/grp.h [__USE_SVID]: Likewise.
9804 [__USE_BSD]: Likewise.
9805 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9806 * io/fcntl.h [__USE_BSD]: Likewise.
9807 * io/ftw.h [__USE_BSD]: Likewise.
9808 * io/sys/stat.h [__USE_BSD]: Likewise.
9809 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9810 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9811 * libio/stdio.h [__USE_SVID]: Likewise.
9812 [__USE_BSD]: Likewise.
9813 * math/math.h [__USE_SVID]: Likewise.
9814 [__USE_BSD]: Likewise.
9815 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9816 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9817 * misc/search.h [__USE_SVID]: Likewise.
9818 * misc/sys/mman.h [__USE_BSD]: Likewise.
9819 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9820 * misc/sys/uio.h [__USE_BSD]: Likewise.
9821 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9822 * posix/glob.h [__USE_BSD]: Likewise.
9823 * posix/regex.h [__USE_BSD]: Likewise.
9824 * posix/sys/types.h [__USE_BSD]: Likewise.
9825 [__USE_SVID]: Likewise.
9826 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9827 * posix/sys/wait.h [__USE_BSD]: Likewise.
9828 [__USE_SVID]: Likewise.
9829 * posix/unistd.h [__USE_BSD]: Likewise.
9830 [__USE_SVID]: Likewise.
9831 * pwd/pwd.h [__USE_SVID]: Likewise.
9832 * resolv/netdb.h [__USE_BSD]: Likewise.
9833 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9834 * signal/signal.h [__USE_BSD]: Likewise.
9835 [__USE_SVID]: Likewise.
9836 * socket/sys/socket.h [__USE_BSD]: Likewise.
9837 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9838 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9839 [__USE_SVID]: Likewise.
9840 * string/bits/string2.h [__USE_BSD]: Likewise.
9841 [__USE_SVID]: Likewise.
9842 * string/bits/string3.h [__USE_BSD]: Likewise.
9843 * string/endian.h [__USE_BSD]: Likewise.
9844 * string/string.h [__USE_SVID]: Likewise.
9845 [__USE_BSD]: Likewise.
9846 * string/strings.h [__USE_BSD]: Likewise.
9847 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9848 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9849 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9850 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9851 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9852 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9854 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9856 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9857 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9859 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9860 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9862 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9864 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9865 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9866 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9868 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9870 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9871 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9872 * termios/termios.h [__USE_BSD]: Likewise.
9873 * time/sys/time.h [__USE_BSD]: Likewise.
9874 * time/time.h [__USE_BSD]: Likewise.
9875 [__USE_SVID]: Likewise.
9877 * Makefile (subdir_targets): Remove subdir_lint.out.
9879 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9880 (do-tst-printf): Likewise.
9881 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9882 $(objpfx)tst-printf.out.
9884 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9886 * Makerules (check-abi-%): Change target to
9887 $(objpfx)check-abi-%.out.
9888 (check-abi target): Update dependencies.
9889 (check-abi-pattern variable): Redirect output of diff to $@.
9890 (check-abi variable): Likewise.
9891 * elf/Makefile (check-abi): Update dependencies.
9893 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9895 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9896 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9898 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9899 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9900 value has largest subnormal exponent.
9901 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9902 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9903 * sysdeps/aarch64/soft-fp/sfp-machine.h
9904 (_FP_TININESS_AFTER_ROUNDING): New macro.
9905 * sysdeps/alpha/soft-fp/sfp-machine.h
9906 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9907 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9909 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9910 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9911 * sysdeps/mips/soft-fp/sfp-machine.h
9912 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9913 * sysdeps/powerpc/soft-fp/sfp-machine.h
9914 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9915 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9917 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9918 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9919 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9920 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9921 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9924 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9927 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9930 2014-02-12 Richard Henderson <rth@redhat.com>
9932 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9933 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9934 * sysdeps/unix/sysv/linux/alpha: Move directory from
9935 ports/sysdeps/unix/sysv/linux/alpha.
9936 * README: Update listing for alpha-*-linux-gnu.
9938 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9940 * include/features.h: Update comment documenting feature test
9942 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9944 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9945 (_SVID_SOURCE): Likewise.
9946 (_DEFAULT_SOURCE): Update description of default features.
9947 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9949 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9950 (S_ISVTX): Likewise.
9951 * manual/math.texi (Mathematical Constants): Likewise.
9952 * manual/signal.texi (Interrupted Primitives): Likewise.
9953 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9954 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9955 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9956 Don't refer to _SVID_SOURCE in warning text.
9958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9960 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9962 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9963 * sysdeps/mips/dl-lookup.c: Remove.
9964 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9966 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9969 * math/auto-libm-test-in: Add testcase for expl.
9970 * math/auto-libm-test-out: Regenerate.
9971 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9972 calculation of unsafe.
9973 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9975 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9977 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9978 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9979 ports/sysdeps/unix/sysv/linux/aarch64.
9980 * README: Update listing for aarch64*-*-linux-gnu.
9982 2014-02-11 Will Newton <will.newton@linaro.org>
9984 * manual/probes.texi (Mathematical Function Probes): Use
9985 "triggered" instead of "hit".
9987 * manual/probes.texi (Internal Probes): Add documentation
9988 of setjmp, longjmp and longjmp_target probes.
9990 * include/stap-probe.h: Add comment about probe argument
9993 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9994 definition. (tr_where, tr_freehook, tr_mallochook,
9995 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9997 2014-02-11 David S. Miller <davem@davemloft.net>
9999 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10000 processing int_tests.
10002 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10004 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10005 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10006 * sysdeps/unix/sysv/linux/mips: Move directory from
10007 ports/sysdeps/unix/sysv/linux/mips.
10008 * README: Update listing for mips-*-linux-gnu and
10009 mips64-*-linux-gnu.
10011 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10013 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10014 * sysdeps/unix/sysv/linux/m68k: Move directory from
10015 ports/sysdeps/unix/sysv/linux/m68k.
10016 * README: Update listing for m68k-*-linux-gnu.
10018 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10020 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10021 * sysdeps/unix/sysv/linux/generic: Move directory from
10022 ports/sysdeps/unix/sysv/linux/generic.
10023 * sysdeps/unix/sysv/linux/tile: Move directory from
10024 ports/sysdeps/unix/sysv/linux/tile.
10025 * README: Update listing for tile*-*-linux-gnu.
10027 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10029 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10031 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10032 * catgets/open_catalog.c (__open_catalog): Likewise.
10033 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10034 * debug/confstr_chk.c: Likewise.
10035 * debug/fread_chk.c (__fread_chk): Likewise.
10036 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10037 * debug/getgroups_chk.c: Likewise.
10038 * debug/mbsnrtowcs_chk.c: Likewise.
10039 * debug/mbsrtowcs_chk.c: Likewise.
10040 * debug/mbstowcs_chk.c: Likewise.
10041 * debug/memcpy_chk.c: Likewise.
10042 * debug/memmove_chk.c: Likewise.
10043 * debug/mempcpy_chk.c: Likewise.
10044 * debug/memset_chk.c: Likewise.
10045 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10046 * debug/strcat_chk.c (__strcat_chk): Likewise.
10047 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10048 * debug/strncat_chk.c (__strncat_chk): Likewise.
10049 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10050 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10051 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10052 * debug/wcpncpy_chk.c: Likewise.
10053 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10054 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10055 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10056 * debug/wcsncpy_chk.c: Likewise.
10057 * debug/wcsnrtombs_chk.c: Likewise.
10058 * debug/wcsrtombs_chk.c: Likewise.
10059 * debug/wcstombs_chk.c: Likewise.
10060 * debug/wmemcpy_chk.c: Likewise.
10061 * debug/wmemmove_chk.c: Likewise.
10062 * debug/wmempcpy_chk.c: Likewise.
10063 * debug/wmemset_chk.c: Likewise.
10064 * dirent/scandirat.c (SCANDIRAT): Likewise.
10065 * dlfcn/dladdr1.c (dladdr1): Likewise.
10066 * dlfcn/dladdr.c (dladdr): Likewise.
10067 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10068 * dlfcn/dlerror.c (__dlerror): Likewise.
10069 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10070 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10071 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10072 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10073 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10074 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10075 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10076 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10078 * elf/dl-conflict.c: Likewise.
10079 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10080 * elf/dl-dst.h: Likewise.
10081 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10082 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10083 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10084 * elf/dl-init.c (call_init, _dl_init): Likewise.
10085 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10086 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10087 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10089 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10091 * elf/dl-minimal.c (__libc_memalign): Likewise.
10092 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10093 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10094 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10095 * elf/dl-sym.c (do_sym): Likewise.
10096 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10097 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10098 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10099 * elf/dl-writev.h (_dl_writev): Likewise.
10100 * elf/ldconfig.c (search_dir): Likewise.
10101 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10102 (dl_main): Likewise.
10103 * elf/setup-vdso.h (setup_vdso): Likewise.
10104 * grp/compat-initgroups.c (compat_call): Likewise.
10105 * grp/fgetgrent.c (fgetgrent): Likewise.
10106 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10107 * grp/putgrent.c (putgrent): Likewise.
10108 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10110 * hurd/hurdinit.c: Likewise.
10111 * iconvdata/8bit-gap.c (struct): Likewise.
10112 * iconvdata/ansi_x3.110.c : Likewise.
10113 * iconvdata/big5.c : Likewise.
10114 * iconvdata/big5hkscs.c : Likewise.
10115 * iconvdata/cp1255.c: Likewise.
10116 * iconvdata/cp1258.c : Likewise.
10117 * iconvdata/cp932.c : Likewise.
10118 * iconvdata/euc-cn.c: Likewise.
10119 * iconvdata/euc-jisx0213.c : Likewise.
10120 * iconvdata/euc-jp.c: Likewise.
10121 * iconvdata/euc-jp-ms.c : Likewise.
10122 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10123 * iconvdata/gb18030.c : Likewise.
10124 * iconvdata/gbbig5.c (const): Likewise.
10125 * iconvdata/gbgbk.c: Likewise.
10126 * iconvdata/gbk.c : Likewise.
10127 * iconvdata/ibm1364.c : Likewise.
10128 * iconvdata/ibm930.c : Likewise.
10129 * iconvdata/ibm932.c: Likewise.
10130 * iconvdata/ibm933.c : Likewise.
10131 * iconvdata/ibm935.c : Likewise.
10132 * iconvdata/ibm937.c : Likewise.
10133 * iconvdata/ibm939.c : Likewise.
10134 * iconvdata/ibm943.c: Likewise.
10135 * iconvdata/iso_11548-1.c: Likewise.
10136 * iconvdata/iso-2022-cn.c : Likewise.
10137 * iconvdata/iso-2022-cn-ext.c : Likewise.
10138 * iconvdata/iso-2022-jp-3.c: Likewise.
10139 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10140 * iconvdata/iso-2022-kr.c : Likewise.
10141 * iconvdata/iso646.c (gconv_end): Likewise.
10142 * iconvdata/iso_6937-2.c : Likewise.
10143 * iconvdata/iso_6937.c : Likewise.
10144 * iconvdata/iso8859-1.c: Likewise.
10145 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10146 * iconvdata/shift_jisx0213.c : Likewise.
10147 * iconvdata/sjis.c : Likewise.
10148 * iconvdata/t.61.c : Likewise.
10149 * iconvdata/tcvn5712-1.c : Likewise.
10150 * iconvdata/tscii.c: Likewise.
10151 * iconvdata/uhc.c : Likewise.
10152 * iconvdata/unicode.c (gconv_end): Likewise.
10153 * iconvdata/utf-16.c (gconv_end): Likewise.
10154 * iconvdata/utf-32.c (gconv_end): Likewise.
10155 * iconvdata/utf-7.c (base64): Likewise.
10156 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10157 * iconv/gconv_close.c (__gconv_close): Likewise.
10158 * iconv/gconv_open.c (__gconv_open): Likewise.
10159 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10160 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10161 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10162 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10163 (ucs4le_internal_loop_single): Likewise.
10164 * iconv/iconv.c (iconv): Likewise.
10165 * iconv/iconv_close.c: Likewise.
10166 * iconv/loop.c (SINGLE): Likewise.
10167 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10168 * include/atomic.h: Likewise.
10169 * inet/inet6_option.c (option_alloc): Likewise.
10170 * intl/bindtextdom.c (set_binding_values): Likewise.
10171 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10172 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10173 * intl/localealias.c (read_alias_file): Likewise.
10174 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10175 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10176 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10177 * libio/fmemopen.c (fmemopen): Likewise.
10178 * libio/iofgets.c (_IO_fgets): Likewise.
10179 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10180 * libio/iofgetws.c (fgetws): Likewise.
10181 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10182 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10183 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10184 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10185 * locale/findlocale.c (_nl_find_locale): Likewise.
10186 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10187 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10189 * locale/setlocale.c (setlocale): Likewise.
10190 * login/programs/pt_chown.c (main): Likewise.
10191 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10192 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10193 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10194 (mmap, mmap64, mremap, munmap): Likewise.
10195 * math/e_exp2l.c: Likewise.
10196 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10197 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10198 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10199 * math/s_catan.c (__catan): Likewise.
10200 * math/s_catanf.c (__catanf): Likewise.
10201 * math/s_catanh.c (__catanh): Likewise.
10202 * math/s_catanhf.c (__catanhf): Likewise.
10203 * math/s_catanhl.c (__catanhl): Likewise.
10204 * math/s_catanl.c (__catanl): Likewise.
10205 * math/s_ccosh.c (__ccosh): Likewise.
10206 * math/s_ccoshf.c (__ccoshf): Likewise.
10207 * math/s_ccoshl.c (__ccoshl): Likewise.
10208 * math/s_cexp.c (__cexp): Likewise.
10209 * math/s_cexpf.c (__cexpf): Likewise.
10210 * math/s_cexpl.c (__cexpl): Likewise.
10211 * math/s_clog10.c (__clog10): Likewise.
10212 * math/s_clog10f.c (__clog10f): Likewise.
10213 * math/s_clog10l.c (__clog10l): Likewise.
10214 * math/s_clog.c (__clog): Likewise.
10215 * math/s_clogf.c (__clogf): Likewise.
10216 * math/s_clogl.c (__clogl): Likewise.
10217 * math/s_csin.c (__csin): Likewise.
10218 * math/s_csinf.c (__csinf): Likewise.
10219 * math/s_csinh.c (__csinh): Likewise.
10220 * math/s_csinhf.c (__csinhf): Likewise.
10221 * math/s_csinhl.c (__csinhl): Likewise.
10222 * math/s_csinl.c (__csinl): Likewise.
10223 * math/s_csqrt.c (__csqrt): Likewise.
10224 * math/s_csqrtf.c (__csqrtf): Likewise.
10225 * math/s_csqrtl.c (__csqrtl): Likewise.
10226 * math/s_ctan.c (__ctan): Likewise.
10227 * math/s_ctanf.c (__ctanf): Likewise.
10228 * math/s_ctanh.c (__ctanh): Likewise.
10229 * math/s_ctanhf.c (__ctanhf): Likewise.
10230 * math/s_ctanhl.c (__ctanhl): Likewise.
10231 * math/s_ctanl.c (__ctanl): Likewise.
10232 * math/w_pow.c: Likewise.
10233 * math/w_powf.c: Likewise.
10234 * math/w_powl.c: Likewise.
10235 * math/w_scalb.c (sysv_scalb): Likewise.
10236 * math/w_scalbf.c (sysv_scalbf): Likewise.
10237 * math/w_scalbl.c (sysv_scalbl): Likewise.
10238 * misc/error.c (error_tail): Likewise.
10239 * misc/pselect.c (__pselect): Likewise.
10240 * nis/nis_callback.c (__nis_create_callback): Likewise.
10241 * nis/nis_call.c (__nisfind_server): Likewise.
10242 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10243 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10244 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10245 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10246 * nis/nis_lookup.c (nis_lookup): Likewise.
10247 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10248 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10249 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10250 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10251 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10252 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10253 * nis/nss_compat/compat-initgroups.c (add_group)
10254 (internal_getgrent_r): Likewise.
10255 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10256 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10257 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10258 (internal_getspnam_r): Likewise.
10259 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10260 (_nss_nis_getaliasbyname_r): Likewise.
10261 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10262 (_nss_nis_getntohost_r): Likewise.
10263 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10264 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10265 (_nss_nis_getgrgid_r): Likewise.
10266 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10267 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10268 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10269 (_nss_nis_gethostbyname4_r): Likewise.
10270 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10271 (initgroups_netid): Likewise.
10272 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10273 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10274 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10275 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10276 (_nss_nis_getprotobynumber_r): Likewise.
10277 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10278 (_nss_nis_getsecretkey): Likewise.
10279 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10280 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10281 (_nss_nis_getpwuid_r): Likewise.
10282 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10283 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10284 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10285 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10286 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10287 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10288 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10290 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10291 (_nss_nisplus_getntohost_r): Likewise.
10292 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10293 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10294 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10295 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10297 * nis/nss_nisplus/nisplus-initgroups.c
10298 (_nss_nisplus_initgroups_dyn): Likewise.
10299 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10300 (_nss_nisplus_getnetbyaddr_r): Likewise.
10301 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10302 (_nss_nisplus_getprotobynumber_r): Likewise.
10303 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10304 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10305 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10307 * nis/nss_nisplus/nisplus-service.c
10308 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10309 (_nss_nisplus_getservbyport_r): Likewise.
10310 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10311 (_nss_nisplus_getspnam_r): Likewise.
10312 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10314 * nscd/aicache.c (addhstaiX): Likewise.
10315 * nscd/cache.c (cache_search, prune_cache): Likewise.
10316 * nscd/connections.c (register_traced_file, send_ro_fd)
10317 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10318 (main_loop_epoll): Likewise.
10319 * nscd/grpcache.c (addgrbyX): Likewise.
10320 * nscd/hstcache.c (addhstbyX): Likewise.
10321 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10322 * nscd/mem.c (gc, mempool_alloc): Likewise.
10323 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10324 (addinnetgrX): Likewise.
10325 * nscd/nscd-client.h (__nscd_acquire_maplock)
10326 (__nscd_drop_map_ref): Likewise.
10327 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10328 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10329 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10331 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10332 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10333 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10334 (__nscd_get_map_ref): Likewise.
10335 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10336 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10338 * nscd/pwdcache.c (addpwbyX): Likewise.
10339 * nscd/selinux.c (preserve_capabilities): Likewise.
10340 * nscd/servicescache.c (addservbyX): Likewise.
10341 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10342 * posix/fnmatch.c (fnmatch): Likewise.
10343 * posix/getopt.c (_getopt_internal_r): Likewise.
10344 * posix/glob.c (glob, glob_in_dir): Likewise.
10345 * posix/wordexp.c (exec_comm_child): Likewise.
10346 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10347 (getanswer_r, gaih_getanswer_slice): Likewise.
10348 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10349 * resolv/res_init.c: Likewise.
10350 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10351 * resolv/res_query.c (__libc_res_nquery): Likewise.
10352 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10354 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10355 * stdio-common/perror.c (perror): Likewise.
10356 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10357 * stdio-common/tmpnam.c (tmpnam): Likewise.
10358 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10359 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10360 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10362 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10363 * stdlib/putenv.c (putenv): Likewise.
10364 * stdlib/setenv.c (__add_to_environ): Likewise.
10365 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10366 * stdlib/strtol_l.c (INTERNAL): Likewise.
10367 * string/memmem.c (memmem): Likewise.
10368 * string/strerror.c (strerror): Likewise.
10369 * string/strnlen.c (__strnlen): Likewise.
10370 * string/test-memmem.c (simple_memmem): Likewise.
10371 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10372 * sunrpc/pm_getport.c (__get_socket): Likewise.
10373 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10374 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10375 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10376 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10378 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10379 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10380 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10381 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10382 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10383 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10385 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10387 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10388 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10389 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10390 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10391 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10392 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10393 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10394 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10395 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10396 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10397 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10398 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10400 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10402 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10404 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10405 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10406 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10407 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10408 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10409 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10410 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10411 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10412 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10413 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10414 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10415 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10416 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10417 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10418 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10419 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10421 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10423 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10425 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10427 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10428 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10429 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10431 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10432 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10433 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10434 * sysdeps/posix/sleep.c: Likewise.
10435 * sysdeps/posix/tempname.c: Likewise.
10436 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10437 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10439 * sysdeps/powerpc/powerpc32/dl-machine.h
10440 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10441 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10442 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10443 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10444 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10446 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10447 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10448 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10449 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10450 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10451 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10452 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10453 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10454 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10455 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10456 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10457 (elf_machine_lazy_rel): Likewise.
10458 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10459 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10460 (elf_machine_lazy_rel): Likewise.
10461 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10462 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10463 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10464 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10465 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10466 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10467 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10468 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10470 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10471 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10472 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10473 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10474 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10475 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10476 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10477 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10478 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10479 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10480 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10482 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10483 (__posix_fallocate64_l64): Likewise.
10484 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10485 (posix_fallocate): Likewise.
10486 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10488 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10489 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10490 (getifaddrs_internal): Likewise.
10491 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10492 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10493 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10494 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10495 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10496 (__posix_fallocate64_l64): Likewise.
10497 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10499 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10500 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10501 (__get_clockfreq): Likewise.
10502 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10503 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10504 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10505 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10506 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10507 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10508 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10509 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10511 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10512 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10513 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10514 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10515 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10516 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10517 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10519 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10520 (posix_fallocate): Likewise.
10521 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10522 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10523 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10524 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10525 (elf_machine_rela, elf_machine_rela_relative)
10526 (elf_machine_lazy_rel): Likewise.
10527 * time/asctime.c (asctime_internal): Likewise.
10528 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10529 * time/tzset.c (__tzset_parse_tz): Likewise.
10530 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10531 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10532 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10533 * wcsmbs/wcsmbsload.h: Likewise.
10536 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10538 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10539 (arena_get2): Remove THREAD_STATS conditionals.
10540 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10541 (__malloc_stats, int): Likewise.
10543 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10545 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10546 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10548 * manual/setjmp.texi: Fix typos/grammar errors.
10550 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10551 Only return early when n is <= 0. Delete unused return statement.
10553 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10554 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10555 * debug/tst-longjmp_chk3.c: New file.
10557 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10558 (test_main): Replace code with set_fortify_handler call.
10559 * debug/test-strcpy_chk.c: Likewise.
10560 * debug/tst-chk1.c: Likewise.
10561 * debug/tst-longjmp_chk.c: Likewise.
10562 * test-skeleton.c: Include fcntl.h & paths.h
10563 (set_fortify_handler): Define.
10565 * debug/tst-longjmp_chk.c: Add header comment and include
10566 ../test-skeleton.c.
10567 (do_test): Mark static.
10568 (TEST_FUNCTION): Define.
10570 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10571 (IP_PMTUDISC_INTERFACE): Likewise.
10572 (IP_MULTICAST_IF): Likewise.
10573 (IP_MULTICAST_TTL): Likewise.
10574 (IP_MULTICAST_LOOP): Likewise.
10575 (IP_ADD_MEMBERSHIP): Likewise.
10576 (IP_DROP_MEMBERSHIP): Likewise.
10577 (IP_UNBLOCK_SOURCE): Likewise.
10578 (IP_BLOCK_SOURCE): Likewise.
10579 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10580 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10581 (IP_MSFILTER): Likewise.
10582 (MCAST_JOIN_GROUP): Likewise.
10583 (MCAST_BLOCK_SOURCE): Likewise.
10584 (MCAST_UNBLOCK_SOURCE): Likewise.
10585 (MCAST_LEAVE_GROUP): Likewise.
10586 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10587 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10588 (MCAST_MSFILTER): Likewise.
10589 (IP_MULTICAST_ALL): Likewise.
10590 (IP_UNICAST_IF): Likewise.
10592 * timezone/Makefile: Delete $(have-ksh) check.
10593 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10594 * timezone/tzselect.ksh: Add +x mode bits.
10596 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10597 (ANON_INODE_FS_MAGIC): Likewise.
10598 (BDEVFS_MAGIC): Likewise.
10599 (BINFMTFS_MAGIC): Likewise.
10600 (BTRFS_TEST_MAGIC): Likewise.
10601 (CRAMFS_MAGIC_WEND): Likewise.
10602 (DEBUGFS_MAGIC): Likewise.
10603 (ECRYPTFS_SUPER_MAGIC): Likewise.
10604 (EXT3_SUPER_MAGIC): Likewise.
10605 (EXT4_SUPER_MAGIC): Likewise.
10606 (FUTEXFS_SUPER_MAGIC): Likewise.
10607 (HOSTFS_SUPER_MAGIC): Likewise.
10608 (HUGETLBFS_MAGIC): Likewise.
10609 (MINIX3_SUPER_MAGIC): Likewise.
10610 (MTD_INODE_FS_MAGIC): Likewise.
10611 (NILFS_SUPER_MAGIC): Likewise.
10612 (OPENPROM_SUPER_MAGIC): Likewise.
10613 (PIPEFS_MAGIC): Likewise.
10614 (PSTOREFS_MAGIC): Likewise.
10615 (QNX6_SUPER_MAGIC): Likewise.
10616 (RAMFS_MAGIC): Likewise.
10617 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10618 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10619 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10620 (SECURITYFS_MAGIC): Likewise.
10621 (SELINUX_MAGIC): Likewise.
10622 (SMACK_MAGIC): Likewise.
10623 (SOCKFS_MAGIC): Likewise.
10624 (SQUASHFS_MAGIC): Likewise.
10625 (STACK_END_MAGIC): Likewise.
10626 (TMPFS_MAGIC): Likewise.
10627 (USBDEVICE_SUPER_MAGIC): Likewise.
10628 (V9FS_MAGIC): Likewise.
10629 (XENFS_SUPER_MAGIC): Likewise.
10630 (CRAMFS_MAGIC): Fix typo in comment.
10631 (EXT2_SUPER_MAGIC): Update comment.
10632 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10634 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10636 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10637 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10638 * sysdeps/unix/sysv/linux/arm: Move directory from
10639 ports/sysdeps/unix/sysv/linux/arm.
10640 * README: Update listing for arm-*-linux-gnueabi.
10642 * README: Remove mention of am33.
10644 2014-02-07 Roland McGrath <roland@hack.frob.com>
10646 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10647 than the comma operator, to avoid "rhs of comma has no effect"
10649 (__sigfillset, __sigandset, __sigorset): Likewise.
10650 * include/signal.h (__sigemptyset): Likewise.
10651 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10653 2014-02-07 Allan McRae <allan@archlinux.org>
10655 * version.h (RELEASE): Set to "development".
10656 (VERSION): Set to "2.19.90"
10657 * NEWS: Add 2.20 section.
10659 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10662 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10664 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10666 * manual/contrib.texi: Update entry for Carlos O'Donell,
10667 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10669 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10671 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10673 * sysdeps/unix/sysv/linux/kernel-features.h
10674 [__LINUX_KERNEL_VERSION >= 0x020621]
10675 (__ASSUME_PROC_PID_TASK_COMM): Define.
10677 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10680 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10681 conversion when destination buffer does not have enough space.
10682 * libio/tst-ftell-partial-wide.c: New test case.
10683 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10685 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10686 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10687 Leonard and Allan McRae.
10689 2014-02-04 David S. Miller <davem@davemloft.net>
10691 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10694 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10723 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10725 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10726 * shlib-versions: Likewise.
10728 2014-02-04 Roland McGrath <roland@hack.frob.com>
10729 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10731 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10732 (abilist-pattern): New variable, set to %-le.abilist.
10734 * Makerules (abilist-pattern): New variable.
10735 (vpath): Use $(abilist-pattern) in place of %.abilist.
10736 (check-abi-% pattern rule): Likewise.
10737 (check-abi, update-abi): Likewise.
10739 2014-02-04 Eric Wong <normalperson@yhbt.net>
10741 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10743 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10745 * manual/startup.texi: Add next, previous, and top entries for
10746 the `Program Arguments' and `Environment Variables' nodes.
10748 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10750 * manual/macros.texi: Add comments before MTASC-safety macros.
10752 * manual/users.texi: Document MTASC-safety properties.
10754 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10755 (pthread_getspecific, pthread_setspecific): Format with
10756 @deftypefun, and add @safety note.
10757 * manual/signal.texi: Move comments that analyze the above
10758 functions to their home place.
10760 2014-02-03 Allan McRae <allan@archlinux.org>
10762 * po/sl.po: Update Slovenian translation from translation project.
10764 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10766 * manual/time.texi (timegm): Add missing blank after @c.
10767 Reported by Joseph Myers <joseph@codesourcery.com>.
10769 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10771 * manual/check-safety.sh: New.
10772 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10774 * manual/terminal.texi: Document MTASC-safety properties.
10776 * manual/filesys.texi: Document MTASC-safety properties.
10778 * manual/errno.texi: Document MTASC-safety properties.
10780 * manual/intro.texi: Document safety identifiers and
10783 * manual/string.texi (wcstok): Fix prototype.
10784 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10786 * manual/time.texi: Document MTASC-safety properties.
10788 * manual/string.texi: Document MTASC-safety properties.
10790 * manual/threads.texi: Document MTASC-safety properties.
10792 * manual/stdio.texi: Document MTASC-safety properties.
10794 * manual/syslog.texi: Document MTASC-safety properties.
10796 * manual/sysinfo.texi: Document MTASC-safety properties.
10798 * manual/startup.texi: Document MTASC-safety properties.
10800 * manual/socket.texi: Document MTASC-safety properties.
10802 * manual/signal.texi: Document MTASC-safety properties.
10804 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10806 * manual/setjmp.texi: Document MTASC-safety properties.
10808 * manual/search.texi: Document MTASC-safety properties.
10810 * manual/resource.texi: Document MTASC-safety properties.
10812 * manual/process.texi: Document MTASC-safety properties.
10814 * manual/platform.texi: Document MTASC-safety properties.
10816 * manual/pipe.texi: Document MTASC-safety properties.
10818 * manual/pattern.texi: Document MTASC-safety properties.
10820 * manual/message.texi: Document MTASC-safety properties.
10823 * manual/memory.texi: Document MTASC-safety properties.
10825 * manual/math.texi: Document MTASC-safety properties.
10827 * manual/locale.texi: Document MTASC-safety properties.
10829 * manual/llio.texi: Document MTASC-safety properties.
10831 * manual/libdl.texi: New.
10833 * manual/lang.texi: Document MTASC-safety properties.
10835 * manual/job.texi: Document MTASC-safety properties.
10837 * manual/getopt.texi: Document MTASC-safety properties.
10839 * manual/ctype.texi: Document MTASC-safety properties.
10841 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10844 * csu/libc-tls.c (static_map): Remove variable.
10845 (__libc_setup_tls): Use main executable's link map for TLS data.
10846 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10847 casing for LM_ID_BASE and GL(dl_nns).
10848 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10849 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10850 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10851 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10852 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10854 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10857 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10859 * manual/debug.texi: Document MTASC-safety properties.
10861 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10864 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10865 of __x86_64__ when disabling x87 inline functions.
10867 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10869 * manual/charset.texi: Document MTASC-safety properties.
10871 * manual/crypt.texi: Document MTASC-safety properties.
10873 * manual/conf.texi: Document MTASC-safety properties.
10875 * manual/arith.texi: Document MTASC-safety properties.
10877 * manual/argp.texi: Document MTASC-safety properties.
10879 * manual/macros.texi: Introduce macros to document multi
10880 thread, asynchronous signal and asynchronous cancellation
10882 * manual/intro.texi: Introduce the properties themselves.
10884 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10886 * sysdeps/sh/sh4/Makefile: New file.
10888 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10890 * math/gen-libm-test.pl ($srcdir): New variable.
10891 ($auto_input): Use it.
10893 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10896 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10897 access beyond array bounds when parsing netgroups file.
10899 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10900 the old buffer before realloc.
10902 2014-01-27 Allan McRae <allan@archlinux.org>
10904 * po/fr.po: Update French translation from translation project.
10906 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10908 * sysdeps/sh/libm-test-ulps: Regenerate.
10910 2014-01-24 David S. Miller <davem@davemloft.net>
10912 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10914 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10916 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10917 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10919 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10922 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10923 string pointers after reallocation.
10925 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10927 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10928 __SH4A__ instead of __SH_FPU_ANY__.
10930 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10932 * sysdeps/sh/fpu_control.h: New file.
10933 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10934 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10935 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10936 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10937 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10938 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10939 * sysdeps/sh/sys/ucontext.h: Remove.
10940 * sysdeps/sh/sys: Remove directory.
10942 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10944 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10945 s390/sys/ucontext.h.
10946 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10947 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10949 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10952 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10954 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10957 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10958 Adjust the vDSO correctly for internal calls.
10959 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10961 2014-01-20 Allan McRae <allan@archlinux.org>
10963 * po/ca.po: Update Catalan translation from translation project.
10965 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10967 * sysdeps/s390/sotruss-lib.c: New file.
10969 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10972 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10973 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10974 local calls issues by not having a PLT stub required for IFUNC calls.
10975 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10977 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10979 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10980 * math/test-fpucw-static.c: Likewise.
10982 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10985 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10987 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10989 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10990 implementation for powerpc.
10992 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10995 * sysdeps/posix/system.c (__libc_system): Do not enable
10996 asynchronous cancellation.
10998 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11001 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11002 handling only for numbers special also in the IEEE case.
11004 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11006 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11008 2014-01-11 Allan McRae <allan@archlinux.org>
11010 * po/bg.po: Update Bulgarian translation from translation project.
11012 * po/de.po: Update German translation from translation project.
11014 2014-01-10 Roland McGrath <roland@hack.frob.com>
11016 * sysdeps/generic/gcc-compat.h: New file.
11018 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11020 * benchtests/asin-inputs: Correct slow inputs.
11021 * benchtests/acos-inputs: Likewise.
11023 2014-01-10 Allan McRae <allan@archlinux.org>
11025 * po:sv.po: Update Swedish translation from translation project.
11027 * po/vi.po: Update Vietnamese translation from translation project.
11029 * po/eo.po: Update Esperanto translation from translation project.
11031 * po/cs.po: Update Czech translation from translation project.
11033 * po/nl.po: Update Dutch translation from translation project.
11035 * po/pl.po: Update Polish translation from translation project.
11037 * po/ru.po: Update Russian translation from translation project.
11039 * po/uk.po: Update Ukrainian translation from translation project.
11041 2014-01-08 Brooks Moses <bmoses@google.com>
11043 * elf/dl-load.c: Fix comment typo.
11045 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11047 * po/header.pot: Rename to...
11048 * po/pot.header: ... this.
11049 * po/Makefile: Use pot.header.
11051 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11052 Maxim Kuvyrkov <maxim@kugelworks.com>
11055 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11056 SRC and DEST against LEN.
11058 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11061 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11063 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11065 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11069 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11072 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11073 for large positive arguments.
11075 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11077 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11079 * math/auto-libm-test-in: Mark various tests with
11080 xfail-rounding:ldbl-128ibm.
11081 * math/auto-libm-test-out: Regenerated.
11084 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11085 Increase overflow threshold.
11087 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11090 * stdio-common/vfprintf.c: Check for integer overflow.
11092 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11094 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11095 the first argument and return value of __tls_get_addr_internal.
11097 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11099 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11100 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11102 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11104 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11105 * sysdeps/s390/rtld-global-offsets.sym: New file.
11106 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11108 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11109 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11110 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11112 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11113 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11119 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11120 halfs of GPRs for high_gprs contexts.
11121 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11122 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11124 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11126 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11128 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11129 for high GPRs (uc_high_gprs) and for future extensions
11131 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11132 for future extensions (__reserved).
11133 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11135 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11136 SC_HIGHGPRS offset definition.
11137 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11138 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11140 * Versions.def: Add GLIBC_2.19 for libpthread.
11141 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11142 siglongjmp for libpthread with GLIBC_2.19 symver.
11143 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11144 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11145 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11146 * sysdeps/s390/__longjmp.c: New file.
11147 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11148 * sysdeps/s390/longjmp.c: New file.
11149 * sysdeps/s390/setjmp.S: New file.
11150 * sysdeps/s390/sigjmp.S: New file.
11151 * sysdeps/s390/v1-longjmp.c: New file.
11152 * sysdeps/s390/v1-setjmp.h: New file.
11153 * sysdeps/s390/v1-sigjmp.c: New file.
11154 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11155 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11156 GLIBC_2.19 version.
11157 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11158 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11159 versioned symbols for ____longjmp_chk.
11160 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11170 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11171 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11172 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11173 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11174 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11175 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11176 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11177 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11178 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11179 * sysdeps/s390/rtld-__longjmp.c: New file.
11180 * sysdeps/s390/rtld-setjmp.S: New file.
11182 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11185 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11186 Return -__logl (x) for small positive arguments without evaluating
11189 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11191 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11193 (__ptrace_peeksiginfo_args): ... this.
11194 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11195 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11196 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11198 2014-01-06 Allan McRae <allan@archlinux.org>
11200 * inet/netinet/in.h: Fix typo in comment.
11202 2014-01-05 Andreas Jaeger <aj@suse.de>
11204 * sysdeps/i386/fpu/libm-test-ulps: Update.
11206 2014-01-05 Allan McRae <allan@archlinux.org>
11208 * po/libc.pot: Regenerated.
11210 * malloc/memusagestat.c: Fix gettext call formatting.
11212 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11214 * nscd/nscd.c: Improve usage() output.
11216 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11218 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11219 * sysdeps/unix/sysv/linux/configure: Regenerated.
11220 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11221 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11223 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11226 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11227 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11229 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11231 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11232 extra tokens at end of #undef directive.
11233 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11234 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11235 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11237 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11239 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11241 * math/auto-libm-test-in: Mark various tests with
11242 xfail-rounding:ldbl-128ibm.
11243 * math/auto-libm-test-out: Regenerated.
11245 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11248 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11249 numbers with subnormal high part when calculating exponent.
11252 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11256 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11258 (__ieee754_acoshl): Use __log1pl not __log1p.
11260 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11262 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11263 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11264 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11265 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11266 (reused_arena, arena_get2): Convert to GNU style.
11267 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11268 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11269 (memalign_check, __malloc_set_state): Likewise.
11270 * malloc/mallocbug.c (main): Likewise.
11271 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11272 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11273 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11274 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11275 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11276 (__posix_memalign, malloc_info): Likewise.
11277 * malloc/malloc.h: Likewise.
11278 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11279 (mallochook, memalignhook, reallochook, mabort): Likewise.
11280 * malloc/mcheck.h: Likewise.
11281 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11282 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11283 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11284 * malloc/morecore.c (__default_morecore): Likewise.
11285 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11286 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11287 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11288 (print_and_abort): Likewise.
11289 * malloc/obstack.h: Likewise.
11290 * malloc/set-freeres.c (__libc_freeres): Likewise.
11291 * malloc/tst-mallocstate.c (main): Likewise.
11292 * malloc/tst-mtrace.c (main): Likewise.
11293 * malloc/tst-realloc.c (do_test): Likewise.
11295 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11298 * nscd/netgroupcache.c (do_notfound): New function.
11299 (addgetnetgrentX): Use it.
11302 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11303 NSS_STATUS_NOTFOUND.
11305 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11307 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11310 2014-01-01 Allan McRae <allan@archlinux.org>
11312 * scripts/update-copyrights: Update configure input file suffix.
11314 * NEWS: Update copyright year.
11315 * catgets/gencat.c: Likewise.
11316 * csu/version.c: Likewise.
11317 * debug/catchsegv.sh: Likewise.
11318 * debug/pcprofiledump.c: Likewise.
11319 * debug/xtrace.sh: Likewise.
11320 * elf/ldconfig.c: Likewise.
11321 * elf/ldd.bash.in: Likewise.
11322 * elf/pldd.c: Likewise.
11323 * elf/sotruss.ksh: Likewise.
11324 * elf/sprof.c: Likewise.
11325 * iconv/iconv_prog.c: Likewise.
11326 * iconv/iconvconfig.c: Likewise.
11327 * locale/programs/locale.c: Likewise.
11328 * locale/programs/localedef.c: Likewise.
11329 * login/programs/pt_chown.c: Likewise.
11330 * malloc/memusage.sh: Likewise.
11331 * malloc/memusagestat.c: Likewise.
11332 * malloc/mtrace.pl: Likewise.
11333 * manual/libc.texinfo: Likewise.
11334 * nscd/nscd.c: Likewise.
11335 * nss/getent.c: Likewise.
11336 * nss/makedb.c: Likewise.
11337 * posix/getconf.c: Likewise.
11338 * scripts/test-installation.pl: Likewise.
11340 * All files with FSF copyright notices: Update copyright dates
11341 using scripts/update-copyrights.
11342 * intl/plural.c: Regenerated.
11343 * locale/programs/charmap-kw.h: Likewise.
11344 * locale/programs/locfile-kw.h: Likewise.
11346 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11348 * sysdeps/unix/sysv/linux/configure: Regenerated.
11349 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11350 the linux/fanotify.h header.
11351 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11352 HAVE_LINUX_FANOTIFY_H is defined.
11354 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11356 * benchtests/cos-inputs: New inputs.
11357 * benchtests/sin-inputs: Likewise.
11359 * benchtests/atan-inputs: New inputs. Fix name of multiple
11360 precision fallback inputs.
11362 * benchtests/atanh-inputs: New inputs.
11363 * benchtests/tanh-inputs: Likewise.
11365 * benchtests/acosh-inputs: New inputs.
11366 * benchtests/asinh-inputs: Likewise.
11368 * benchtests/cosh-inputs: New inputs.
11369 * benchtests/sinh-inputs: Likewise.
11371 * benchtests/acos-inputs: Add more inputs.
11372 * benchtests/asin-inputs: Likewise.
11374 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11377 * manual/arith.texi: Fix spelling.
11378 * manual/charset.texi: Likewise.
11379 * manual/errno.texi: Likewise.
11380 * manual/filesys.texi: Likewise.
11381 * manual/lang.texi: Likewise.
11382 * manual/llio.texi: Likewise.
11383 * manual/locale.texi: Likewise.
11384 * manual/message.texi: Likewise.
11385 * manual/resource.texi: Likewise.
11386 * manual/search.texi: Likewise.
11387 * manual/setjmp.texi: Likewise.
11388 * manual/stdio.texi: Likewise.
11389 * manual/string.texi: Likewise.
11390 * manual/sysinfo.texi: Likewise.
11391 * manual/time.texi: Likewise.
11393 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11395 * po/sl.po: New file.
11397 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11399 * .gitignore: Add core/.gdbinit/.gdb_history.
11401 2013-12-27 Allan McRae <allan@archlinux.org>
11404 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11405 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11407 2013-12-24 Brooks Moses <bmoses@google.com>
11409 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11410 all compilers that claim C++98 compliance, not just GCC.
11411 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11414 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11416 * NEWS: Restore accidentally deleted bug-fix entries.
11418 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11419 Ondřej Bílka <neleai@seznam.cz>
11422 * malloc/malloc.c (_int_free): Perform sanity check only if we
11425 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11428 * manual/stdio.texi (String Input Conversions): Clarify that character
11429 classes are not supported.
11431 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11435 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11438 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11439 Calculate results for small negative arguments directly rather
11440 than using reflection formula with special underflow handling.
11442 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11443 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11444 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11445 (fchflags): Likewise.
11446 (revoke): Likewise.
11447 (setlogin): Likewise.
11448 (sigaltstack): Likewise.
11450 (sigblock): Remove.
11451 (sigsetmask): Likewise.
11453 (waitpid): Likewise.
11454 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11455 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11457 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11458 * sysdeps/unix/bsd/Makefile: ... here.
11459 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11460 * sysdeps/unix/bsd/Versions: ... here.
11461 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11462 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11463 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11464 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11465 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11466 * sysdeps/unix/bsd/sigblock.c: ... here.
11467 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11468 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11469 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11470 * sysdeps/unix/bsd/sigvec.c: ... here.
11471 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11472 * sysdeps/unix/bsd/tcdrain.c: ... here.
11473 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11474 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11475 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11476 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11477 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11478 * sysdeps/unix/bsd/wait.c: ... here.
11479 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11480 * sysdeps/unix/bsd/wait3.c: ... here.
11481 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11482 * sysdeps/unix/bsd/waitpid.c: ... here.
11484 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11487 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11488 round-to-nearest for [!USE_AS_EXPM1L].
11489 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11490 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11491 more tests of exp and exp10. Expect some exp10 tests to miss
11492 exceptions or fail in directed rounding modes.
11493 * math/auto-libm-test-out: Regenerated.
11494 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11495 (exp10_test_tonearest): New function.
11496 (exp10_towardzero_test_data): New array.
11497 (exp10_test_towardzero): New function.
11498 (exp10_downward_test_data): New array.
11499 (exp10_test_downward): New function.
11500 (exp10_upward_test_data): New array.
11501 (exp10_test_upward): New function.
11502 (main): Call the new functions.
11503 * sysdeps/i386/fpu/libm-test-ulps: Update.
11504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11506 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11508 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11509 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11510 * math/auto-libm-test-out: Regenerated.
11511 * math/libm-test.inc (acosh_test_data): Add more tests.
11512 (atanh_test_data): Likewise.
11513 (ceil_test_data): Likewise.
11514 (copysign_test_data): Likewise.
11515 * sysdeps/i386/fpu/libm-test-ulps: Update.
11516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11518 * timezone/checktab.awk: Update from tzcode 2013i.
11519 * timezone/private.h: Likewise.
11520 * timezone/scheck.c: Likewise.
11521 * timezone/tzfile.h: Likewise.
11522 * timezone/tzselect.ksh: Likewise.
11523 * timezone/zdump.c: Likewise.
11524 * timezone/zic.c: Likewise.
11526 * math/auto-libm-test-in: Add tests of cpow.
11527 * math/auto-libm-test-out: Regenerated.
11528 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11529 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11531 (func_calc_desc): Add mpc_cc_c union field.
11532 (test_functions): Add cpow.
11533 (special_fill_2pi): New function.
11534 (special_real_inputs): Add 2pi.
11535 (calc_generic_results): Handle mpc_cc_c.
11536 * sysdeps/i386/fpu/libm-test-ulps: Update.
11537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11539 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11540 csqrt, ctan and ctanh.
11541 * math/auto-libm-test-out: Regenerated.
11542 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11543 (TEST_COND_x86): Likewise.
11544 (ccos_test_data): Use AUTO_TESTS_c_c.
11545 (ccosh_test_data): Likewise.
11546 (cexp_test_data): Likewise.
11547 (clog_test_data): Likewise.
11548 (csqrt_test_data): Likewise.
11549 (ctan_test_data): Likewise.
11550 (ctan_tonearest_test_data): Likewise.
11551 (ctan_towardzero_test_data): Likewise.
11552 (ctan_downward_test_data): Likewise.
11553 (ctan_upward_test_data): Likewise.
11554 (ctanh_test_data): Likewise.
11555 (ctanh_tonearest_test_data): Likewise.
11556 (ctanh_towardzero_test_data): Likewise.
11557 (ctanh_downward_test_data): Likewise.
11558 (ctanh_upward_test_data): Likewise.
11559 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11561 (func_calc_desc): Add mpc_c_c union field.
11562 (FUNC_mpc_c_c): New macro.
11563 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11564 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11566 (special_fill_min_subnorm_p120): New function.
11567 (special_real_inputs): Add min_subnorm_p120.
11568 (calc_generic_results): Handle mpc_c_c.
11569 * sysdeps/i386/fpu/libm-test-ulps: Update.
11570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11572 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11574 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11575 (do_sin_slow): New functions.
11576 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11577 (cslow2, csloww1, csloww2): Use the new functions.
11579 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11580 Use M to change sign of result instead of X. Assume X is
11582 (csloww1): Likewise.
11586 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11587 arguments A and DA.
11591 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11593 (sloww1): Don't adjust sign of DX.
11594 (csloww1): Likewise.
11595 (sloww2): Use X directly and don't adjust sign of DX.
11596 (csloww2): Likewise.
11598 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11600 * math/auto-libm-test-in: Add tests of cabs and carg.
11601 * math/auto-libm-test-out: Regenerated.
11602 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11603 (carg_test_data): Likewise.
11604 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11606 (func_calc_desc): Add mpc_c_f union field.
11607 (test_functions): Add cabs and carg.
11608 (calc_generic_results): Handle mpc_c_f.
11610 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11611 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11612 as a macro and a compat symbol.
11613 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11614 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11615 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11616 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11617 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11618 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11620 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11622 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11624 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11626 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11628 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11630 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11631 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11634 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11638 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11640 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11641 trailing whitespace removed.
11642 * scripts/config.guess: Update to version 2013-11-29.
11643 * scripts/config.sub: Update to version 2013-10-01.
11645 * math/auto-libm-test-in: Add tests of sincos.
11646 * math/auto-libm-test-out: Regenerated.
11647 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11648 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11650 (func_calc_desc): Add mpfr_f_11 union field.
11651 (test_functions): Add sincos.
11652 (calc_generic_results): Handle mpfr_f_11.
11653 * sysdeps/i386/fpu/libm-test-ulps: Update.
11654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11656 2013-12-19 Andreas Schwab <schwab@suse.de>
11658 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11660 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11661 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11662 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11664 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11666 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11667 * sysdeps/i386/fpu/libm-test-ulps: Update.
11668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11671 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11672 round-to-nearest mode when using frndint.
11673 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11674 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11675 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11677 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11679 * math/auto-libm-test-out: Regenerated.
11680 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11681 (TEST_COND_x86): Likewise.
11682 (expm1_tonearest_test_data): New array.
11683 (expm1_test_tonearest): New function.
11684 (expm1_towardzero_test_data): New array.
11685 (expm1_test_towardzero): New function.
11686 (expm1_downward_test_data): New array.
11687 (expm1_test_downward): New function.
11688 (expm1_upward_test_data): New array.
11689 (expm1_test_upward): New function.
11690 (main): Run the new test functions.
11691 * sysdeps/i386/fpu/libm-test-ulps: Update.
11692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11694 * include/features.h: Update comment documenting feature test
11695 macros. Mention _DEFAULT_SOURCE in comment.
11696 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11697 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11698 _BSD_SOURCE and _SVID_SOURCE.
11699 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11700 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11701 !_SVID_SOURCE]: Likewise.
11702 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11703 (__USE_POSIX_IMPLICITLY): Define.
11704 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11705 (_POSIX_SOURCE): Undefine and redefine.
11706 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11707 (_POSIX_C_SOURCE): Likewise.
11708 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11709 (Feature Test Macros): Update documentation of default features.
11711 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11713 * benchtests/Makefile: Add bench-strtok.
11714 * benchtests/bench-strtok.c: New file: strtok benchtest.
11716 2013-12-19 Allan McRae <allan@archlinux.org>
11718 * manual/install.texi: Suppress menu for plain text output.
11719 * INSTALL: Regenerated.
11721 2013-12-18 Brooks Moses <bmoses@google.com>
11724 * misc/getauxval.c: Include errno.h.
11725 (__getauxval): Set errno to ENOENT if the requested type is not
11727 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11728 don't declare with __attribute_const__.
11729 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11730 * manual/startup.texi: Document that getauxval sets errno.
11732 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11734 * math/auto-libm-test-in: Add tests of jn and yn.
11735 * math/auto-libm-test-out: Regenerated.
11736 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11737 (yn_test_data): Likewise.
11738 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11740 (func_calc_desc): Add mpfr_if_f union field.
11741 (FUNC_mpfr_if_f): New macro.
11742 (test_functions): Add jn and yn.
11743 (calc_generic_results): Assert type of second input for
11744 mpfr_ff_f. Handle mpfr_if_f.
11745 (output_for_one_input_case): Disable all checking for arguments
11746 fitting floating-point types in case of an integer argument.
11747 * sysdeps/i386/fpu/libm-test-ulps: Update.
11748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11751 Don't expect fegetround reference in libm.so.
11753 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11755 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11756 $(config-cflags-nofma).
11758 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11760 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11761 * math/auto-libm-test-out: Regenerated.
11764 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11765 to determine exponent and adjust argument to have exponent of -1.
11766 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11768 * math/auto-libm-test-out: Regenerated.
11769 * sysdeps/i386/fpu/libm-test-ulps: Update.
11770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11772 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11774 * manual/probes.texi: Remove cases when per-thread arenas are
11777 2013-12-18 Andreas Schwab <schwab@suse.de>
11779 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11780 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11781 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11782 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11783 * sysdeps/i386/i686/multiarch/Makefile: Update.
11784 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11786 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11788 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11789 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11791 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11794 Support TZ transition times < 00:00:00.
11795 This is needed for version-3 tz-format files; it supports time
11796 stamps past 2037 for America/Godthab (the only entry in the tz
11797 database for which this change is relevant).
11798 * manual/time.texi (TZ Variable): Document transition times
11799 from -167:59:59 through -00:00:01.
11800 * time/tzset.c (tz_rule): Time of day is now signed.
11801 (__tzset_parse_tz): Parse negative time of day.
11803 Document TZ transition times >= 25:00:00.
11804 * manual/time.texi (TZ Variable): Document transition times from
11805 25:00:00 through 167:59:59. These are already supported, and this
11806 support will help with version-3 tz-format files.
11808 * manual/time.texi (TZ Variable): Modernize North America example
11809 to reflect current (i.e., 2007-and-later) daylight saving rules.
11811 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11813 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11815 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11816 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11817 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11818 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11819 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11820 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11821 * sysdeps/unix/bsd/clock.c: Likewise.
11822 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11823 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11824 * sysdeps/unix/bsd/init-posix.c: Likewise.
11825 * sysdeps/unix/bsd/poll.c: Likewise.
11826 * sysdeps/unix/bsd/ptsname.c: Likewise.
11827 * sysdeps/unix/bsd/seekdir.c: Likewise.
11828 * sysdeps/unix/bsd/setegid.c: Likewise.
11829 * sysdeps/unix/bsd/seteuid.c: Likewise.
11830 * sysdeps/unix/bsd/setgid.c: Likewise.
11831 * sysdeps/unix/bsd/setrgid.c: Likewise.
11832 * sysdeps/unix/bsd/setruid.c: Likewise.
11833 * sysdeps/unix/bsd/setsid.c: Likewise.
11834 * sysdeps/unix/bsd/setuid.c: Likewise.
11835 * sysdeps/unix/bsd/sigaction.c: Likewise.
11836 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11837 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11838 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11839 * sysdeps/unix/bsd/telldir.c: Likewise.
11840 * sysdeps/unix/bsd/times.c: Likewise.
11841 * sysdeps/unix/bsd/usleep.c: Likewise.
11843 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11844 ($(objpfx)libbsd-compat.a): Remove rule.
11846 * include/features.h (__FAVOR_BSD): Do not define.
11847 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11848 features conflicting with POSIX.
11849 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11850 (_BSD_SOURCE): Remove description of not being a subset of other
11851 feature test macros.
11852 * manual/job.texi (getpgrp): Do not document BSD version.
11853 (getpgid): Do not document by reference to BSD getpgrp.
11854 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11855 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11856 * signal/signal.h [__FAVOR_BSD]: Likewise.
11857 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11858 instead of making contents conditional on [__FAVOR_BSD].
11859 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11861 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11865 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11868 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11869 values below 2**-450, not 2**-500.
11870 * math/auto-libm-test-in: Don't allow spurious underflow from
11872 * math/auto-libm-test-out: Regenerated.
11876 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11877 values of ha and hb and sort them after adjusting subnormal
11879 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11881 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11882 values of ea and eb and sort them after adjusting subnormal
11884 * math/auto-libm-test-in: Do not expect some hypot tests of
11885 subnormals to fail. Add more hypot tests.
11886 * math/auto-libm-test-out: Regenerated.
11888 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11891 * sysdeps/sh/s_fma.c: New file.
11892 * sysdeps/sh/s_fmaf.c: New file.
11893 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11895 * sysdeps/sh/Implies: Add sh/soft-fp.
11897 2013-12-16 Roland McGrath <roland@hack.frob.com>
11899 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11900 level of indirection to members `objname', `errstring', `malloced'.
11901 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11902 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11903 it as the __longjmp argument (just pass 1 instead).
11904 (_dl_catch_error): Initialize C with argument pointers and address of
11905 volatile local ERRCODE rather than copying values out of C at return.
11907 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11909 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11910 * math/auto-libm-test-out: Regenerated.
11911 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11912 (hypot_test_data): Likewise.
11913 (pow_test_data): Likewise.
11914 (pow_tonearest_test_data): Likewise.
11915 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11917 (func_calc_desc): Add mpfr_ff_f union field.
11918 (FUNC_mpfr_ff_f): New macro.
11919 (test_functions): Add atan2, hypot and pow.
11920 (special_fill_min): New function.
11921 (special_fill_minus_min): Likewise.
11922 (special_fill_min_subnorm): Likewise.
11923 (special_fill_minus_min_subnorm): Likewise.
11924 (special_real_inputs): Add min, -min, min_subnorm and
11926 (calc_generic_results): Handle mpfr_ff_f.
11927 * sysdeps/i386/fpu/libm-test-ulps: Update.
11928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11930 2013-12-16 Will Newton <will.newton@linaro.org>
11932 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11933 (Aligned Memory Blocks): Add documentation for aligned_alloc
11934 and suggest it as an alternative to posix_memalign.
11935 (Hooks for Malloc): Document __memalign_hook is also called
11936 for aligned_alloc. (Summary of Malloc): Add summary for
11937 aligned alloc. Document __memalign_hook is also called
11940 2013-12-16 Will Newton <will.newton@linaro.org>
11942 * manual/memory.texi (Malloc Examples): Clarify default
11943 alignment documentation. Suggest posix_memalign rather
11944 than memalign or valloc.
11945 (Aligned Memory Blocks): Remove suggestion to use memalign
11946 or valloc. Remove obsolete comment about BSD.
11947 Document memalign errno values and mark the function obsolete.
11948 Document posix_memalign returned error codes. Mark valloc
11949 as obsolete. (Hooks for Malloc): __memalign_hook is also
11950 called for posix_memalign and valloc.
11951 (Summary of Malloc): Add posix_memalign to function summary.
11952 __memalign_hook is also called for posix_memalign and valloc.
11954 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11956 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11960 (sloww): Use mynumber union. Expand ternary operator into
11961 if-else statements.
11962 (cslow): use mynumber union.
11964 2013-12-16 Allan McRae <allan@archlinux.org>
11966 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11967 * configure: Regenerated.
11969 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11972 * configure.ac: Added --enable-maintainer-mode. Check for
11973 autoconf when enabled.
11974 * configure: Regenerated.
11976 * nscd/nscd.service: New file.
11977 * nscd/nscd.tmpfiles: New file.
11979 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11982 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11983 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11984 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11985 (strstr): Add __strstr_sse2_unaligned ifunc.
11986 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11987 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11988 (strcasestr): Remove __strcasestr_sse42 ifunc.
11989 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11990 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11991 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11993 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11995 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11996 * sysdeps/sh/bits/fenv.h: ... here.
11997 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11999 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12001 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12003 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12004 hypotf multiarch implementations.
12005 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12006 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12007 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12008 multiarch hypot for PPC64.
12009 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12010 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12011 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12012 multiarch hypotf for PPC64.
12014 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12015 modff multiarch implementations.
12016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12019 multiarch modf for PPC64.
12020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12023 multiarch modff for PPC64.
12025 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12026 and logl multiarch implementations.
12027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12030 multiarch logb for PPC64.
12031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12034 multiarch logb for PPC64.
12035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12038 multiarch logb for PPC64.
12040 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12041 isinff multiarch implementation.
12042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12046 multiarch isinf for PPC64.
12047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12050 multiarch isinff for PPC64.
12052 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12053 finitef multiarch implementation.
12054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12058 multiarch finite for PPC64.
12059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12062 multiarch finitef for PPC64.
12064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12065 lrint multiarch implementation.
12066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12070 multiarch llrint for PPC64.
12071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12072 multiarch lrint for PPC64.
12074 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12075 copysignf multiarch implementation.
12076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12081 multiarch copysign for PPC64.
12082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12083 multiarch copysignf for PPC64.
12085 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12086 multiarch implementation.
12087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12095 multiarch llround for PPC64.
12096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12097 multiarch trunc for PPC64.
12098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12099 multiarch truncf for PPC64.
12101 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12102 multiarch implementation.
12103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12111 multiarch llround for PPC64.
12112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12113 multiarch round for PPC64.
12114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12115 multiarch roundf for PPC64.
12117 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12118 multiarch implementation.
12119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12127 multiarch llround for PPC64.
12128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12129 multiarch floor for PPC64.
12130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12131 multiarch floorf for PPC64.
12133 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12134 multiarch implementation.
12135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12143 multiarch llround for PPC64.
12144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12145 multiarch ceil for PPC64.
12146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12147 multiarch ceilf for PPC64.
12149 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12150 multiarch implementation.
12151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12158 multiarch llround for PPC64.
12159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12160 multiarch lround for PPC64.
12162 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12163 multiarch implementation.
12164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12171 multiarch isnan for PPC64.
12172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12173 multiarch isnanf for PPC64.
12175 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12176 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12177 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12178 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12179 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12182 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12183 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12184 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12185 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12187 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12188 multiarch implementations.
12189 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12190 (__libc_ifunc_impl_list): Likewise.
12191 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12192 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12193 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12194 multiarch stpcpy for PPC64.
12196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12197 multiarch implementations.
12198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12199 (__libc_ifunc_impl_list): Likewise.
12200 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12201 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12202 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12203 multiarch strcpy for PPC64.
12205 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12206 redefine function name.
12207 (_wordcopy_fwd_dest_aligned): Likewise.
12208 (_wordcopy_bwd_aligned): Likewise.
12209 (_wordcopy_bwd_dest_aligned): Likewise.
12210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12211 multiarch implementations.
12212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12213 (__libc_ifunc_impl_list): Likewise.
12214 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12215 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12216 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12217 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12218 multiarch wcscpy for PPC64.
12220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12221 multiarch implementations.
12222 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12223 (__libc_ifunc_impl_list): Likewise.
12224 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12225 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12226 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12227 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12228 multiarch wcscpy for PPC64.
12230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12231 multiarch implementations.
12232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12233 (__libc_ifunc_impl_list): Likewise.
12234 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12235 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12236 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12237 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12238 multiarch wcsrchr for PPC64.
12240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12241 multiarch implementations.
12242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12243 (__libc_ifunc_impl_list): Likewise.
12244 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12245 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12246 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12247 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12248 multiarch wcschr for PPC64.
12250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12251 multiarch implementations.
12252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12253 (__libc_ifunc_impl_list): Likewise.
12254 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12255 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12256 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12257 multiarch strchrnul for PPC64.
12259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12262 (__libc_ifunc_impl_list): Likewise.
12263 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12264 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12265 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12266 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12272 (__libc_ifunc_impl_list): Likewise.
12273 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12274 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12275 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12276 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12280 multiarch implementations.
12281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12282 (__libc_ifunc_impl_list): Likewise.
12283 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12284 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12285 strncasecmp for PPC64.
12286 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12287 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12288 multiarch strncasecmp_l for PPC64.
12290 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12291 multiarch implementations.
12292 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12293 (__libc_ifunc_impl_list): Likewise.
12294 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12295 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12296 multiarch strcasecmp for PPC64.
12297 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12299 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12300 multiarch strcasecmp_l for PPC64.
12302 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12305 (__libc_ifunc_impl_list): Likewise.
12306 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12307 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12308 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12314 (__libc_ifunc_impl_list): Likewise.
12315 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12316 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12317 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12323 (__libc_ifunc_impl_list): Likewise.
12324 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12325 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12326 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12327 rawmemrchr for PPC64.
12329 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12332 (__libc_ifunc_impl_list): Likewise.
12333 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12334 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12335 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12341 (__libc_ifunc_impl_list): Likewise.
12342 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12343 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12344 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12350 (__libc_ifunc_impl_list): Likewise.
12351 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12352 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12353 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12356 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12357 avoid cretion of __bzero symbol.
12358 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12360 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12362 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12364 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12365 multiarch implementations.
12366 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12367 (__libc_ifunc_impl_list): Likewise.
12368 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12369 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12370 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12371 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12373 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12374 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12375 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12376 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12377 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12379 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12381 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12382 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12385 (__libc_ifunc_impl_list): Likewise.
12386 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12387 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12388 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12389 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12392 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12393 multiarch for POWER/PPC64.
12394 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12395 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12396 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12397 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12398 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12399 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12400 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12401 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12402 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12405 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12406 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12407 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12408 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12409 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12410 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12411 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12412 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12413 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12414 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12415 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12416 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12417 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12418 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12419 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12428 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12430 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12432 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12434 * benchtests/Makefile (bench): Add exp2 and log2.
12435 (LDLIBS-bench-exp2): Add -lm.
12436 (LDLIBS-bench-log2): Likewise.
12437 * benchtests/exp2-inputs: New inputs file.
12438 * benchtests/log2-inputs: New inputs file.
12439 * benchtests/log-inputs: Add new inputs.
12440 * benchtests/tan-inputs: Likewise.
12442 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12444 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12446 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12447 (csloww2): ... from here.
12449 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12450 instead of structures.
12451 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12452 (POLYNOMIAL): Likewise.
12453 (TAYLOR_SLOW): Likewise.
12459 (sloww1); Likewise.
12460 (sloww2): Likewise.
12461 (bsloww1): Likewise.
12462 (bsloww2): Likewise.
12463 (cslow2): Likewise.
12464 (csloww): Likewise.
12465 (csloww1): Likewise.
12466 (csloww2): Likewise.
12468 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12470 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12471 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12472 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12473 * malloc/hooks.c (realloc_check): Likewise.
12475 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12476 * malloc/arena.c: Remove PER_THREAD conditional.
12477 [!PER_THREAD]: Remove code.
12478 (ptmalloc_unlock_all2): Likewise.
12479 (ptmalloc_init): Likewise.
12480 (_int_new_arena): Likewise.
12481 (arena_get2): Likewise.
12482 * malloc/hooks.c (__malloc_get_state): Likewise.
12483 (__malloc_set_state): Likewise.
12484 * malloc/malloc.c: Likewise.
12485 (struct malloc_state): Likewise.
12486 (struct malloc_par): Likewise.
12487 (__libc_realloc): Likewise.
12488 (__libc_mallopt): Likewise.
12490 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12492 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12494 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12496 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12497 macro to a function. Check for zero perturb_byte.
12498 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12500 * malloc/malloc.c: (force_reg): Remove.
12501 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12502 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12503 force_reg by atomic_forced_read.
12504 * malloc/arena.c (ptmalloc_init): Likewise.
12505 * malloc/hooks.c (top_check): Likewise.
12507 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12511 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12513 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12515 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12517 * math/auto-libm-test-in: Add tests of lgamma.
12518 * math/auto-libm-test-out: Regenerated.
12519 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12520 (M_LOG_2_SQRT_PIl): Likewise.
12521 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12522 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12524 (func_calc_desc): Add mpfr_f_f1 union field.
12525 (ARGS1): New macro.
12533 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12534 (test_functions): Add lgamma.
12535 (calc_generic_results): Handle mpfr_f_f1.
12536 * sysdeps/i386/fpu/libm-test-ulps: Update.
12537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12539 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12541 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12542 __mpn_add_n for PowerPC64/POWER7.
12543 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12544 __mpn_sub_n for PowerPC64/POWER7.
12546 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12547 __mpn_addmul_1 for PowerPC64.
12548 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12549 __mpn_submul_1 for PowerPC64.
12550 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12552 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12555 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12558 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12560 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12562 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12564 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12565 add multiarch folders.
12566 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12567 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12568 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12569 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12570 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12571 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12572 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12573 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12574 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12575 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12576 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12585 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12591 multiarch __ieee754_hypot for PowerPC32.
12592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12597 multiarch __ieee754_hypotf for PowerPC32.
12599 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12600 long_double_symbol only if __logbl is defined.
12601 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12602 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12603 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12604 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12605 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12606 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12607 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12608 path for implementation.
12609 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12610 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12612 logb, and logbl multiarch implementations for PowerPC32.
12613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12618 multiarch logb for PowerPC32.
12619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12624 multiarch logbf for PowerPC32.
12625 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12629 multiarch logbl implementation for PowerPC32.
12631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12632 and modff multiarch implementations.
12633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12638 multiarch modf for PowerPC32.
12639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12644 multiarch modff for PowerPC32.
12646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12647 and lrintf multiarch implementations.
12648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12653 multiarch lrint for PowerPC32.
12654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12655 file: multiarch lrintf for PowerPC32.
12657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12658 and lroundf multiarch implementations.
12659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12666 multiarch lround for PowerPC32.
12667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12668 file: multiarch lroundf for PowerPC32.
12670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12671 copysign and copysignf multiarch implementations.
12672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12677 file: multiarch copysign for PowerPC32.
12678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12679 file: multiarch copysignf for PowerPC32.
12681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12682 and truncf multiarch implementations.
12683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12688 multiarch trunc for PowerPC32.
12689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12694 multiarch truncf for PowerPC32.
12696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12697 and roundf multiarch implementations.
12698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12703 multiarch round for PowerPC32.
12704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12709 multiarch roundf for PowerPC32.
12711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12712 and floorf multiarch implementations.
12713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12718 multiarch floor for PowerPC32.
12719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12724 multiarch floorf for PowerPC32.
12726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12727 and ceilf multiarch implementations.
12728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12733 multiarch ceil for PowerPC32.
12734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12739 multiarch ceilf for PowerPC32.
12741 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12743 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12744 FINITEF is defined.
12745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12746 and finitef multiarch implementations.
12747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12752 multiarch finite for PowerPC32.
12753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12756 file: multiarch finitef for PowerPC32.
12758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12759 and isinff multiarch implementations.
12760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12765 multiarch isinf for PowerPC32.
12766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12769 multiarch isinff for PowerPC32.
12771 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12772 alias when __isnan is defined.
12773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12774 and isnanf multiarch implementations.
12775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12784 multiarch isnan for PowerPC32.
12785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12790 multiarch isnanf for PowerPC32.
12792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12793 and sqrtf multiarch implementations.
12794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12799 multiarch sqrt for PowerPC32.
12800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12805 multiarch sqrtf for PowerPC32.
12807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12808 and llroundf multiarch implementations.
12809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12816 file: multiarch llround for PowerPC32.
12817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12818 file: multiarch llroundf for PowerPC32.
12820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12821 multiarch PowerPC32 fpu implementations.
12822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12827 multiarch llrint for PowerPC32.
12828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12837 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12839 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12841 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12843 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12844 multiarch wordcopy for PPC32.
12845 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12847 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12848 (__libc_ifunc_impl_list): Likewise.
12849 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12850 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12851 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12852 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12853 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12854 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12856 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12857 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12859 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12861 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12863 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12864 multiarch wcscpy for PPC32.
12865 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12867 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12868 (__libc_ifunc_impl_list): Likewise.
12869 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12870 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12871 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12872 sysdeps/powerpc/power6/wcscpy.c.
12874 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12875 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12877 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12879 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12881 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12882 multiarch wcsrchr for PPC32.
12883 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12885 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12886 (__libc_ifunc_impl_list): Likewise.
12887 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12888 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12889 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12890 sysdeps/powerpc/power6/wcsrchr.c.
12892 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12894 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12896 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12897 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12898 multiarch wcschr for PPc32.
12899 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12901 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12902 (__libc_ifunc_impl_list): Likewise.
12903 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12904 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12905 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12906 sysdeps/powerpc/power6/wcschr.c.
12908 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12909 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12911 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12912 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12913 file: multiarch strchr for PPC32.
12914 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12916 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12917 (__libc_ifunc_impl_list): Likewise.
12919 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12921 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12923 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12925 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12926 multiarch strchrnul for PPC32.
12927 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12929 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12930 (__libc_ifunc_impl_list): Likewise.
12932 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12934 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12935 multiarch strncasecmp for PPC32.
12936 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12938 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12939 multiarch strncasecmp_l for PPC32.
12940 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12941 strncasecmp multiarch objects.
12942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12943 (__libc_ifunc_impl_list): Likewise.
12945 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12947 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12948 multiarch strncasecmp for PPC32.
12949 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12951 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12952 multiarch strcasecmp_l for PPC32.
12953 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12955 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12956 (__libc_ifunc_impl_list): Likewise.
12958 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12960 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12962 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12963 multiarch strncmp for PPC32.
12964 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12966 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12967 (__libc_ifunc_impl_list): Likewise.
12969 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12970 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12972 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12973 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12974 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12976 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12977 (__libc_ifunc_impl_list): Likewise.
12979 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12981 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12983 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12984 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12986 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12987 (__libc_ifunc_impl_list): Likewise.
12989 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12991 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12993 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12994 multiarch rawmemchr for PPC32.
12995 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12997 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12998 (__libc_ifunc_impl_list): Likewise.
13000 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13002 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13004 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13005 file: memrchr multiarch for PPC32.
13006 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13008 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13009 (__libc_ifunc_impl_list): Likewise.
13011 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13012 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13014 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13015 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13016 multiarch memchr for PPC32.
13017 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13019 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13020 (__libc_ifunc_impl_list): Likewise.
13022 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13023 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13025 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13027 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13028 file: multiarch mempcpy for PPC32.
13029 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13031 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13032 (__libc_ifunc_impl_list): Likewise.
13034 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13035 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13036 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13037 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13038 multiarch bzero for PPC32.
13039 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13041 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13043 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13044 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13045 file: multiarch memset for PPC32.
13046 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13047 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13048 memset multiarch objects.
13049 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13050 (__libc_ifunc_impl_list): Likewise.
13052 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13054 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13055 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13057 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13058 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13060 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13061 (__libc_ifunc_impl_list): Likewise.
13063 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13064 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13065 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13067 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13069 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13071 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13072 multiarch memcpy for PPC32.
13073 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13075 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13076 (__libc_ifunc_impl_list): Likewise.
13078 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13079 support multiarch for POWER/PPC32.
13080 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13082 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13084 Implies file to make multiarch folder appers before the fpu and
13085 default folder for power4 configuration.
13087 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13089 * scripts/bench.pl: Append volatile keyword to type.
13091 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13093 * sysdeps/sh/sotruss-lib.c: New file.
13094 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13096 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13100 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13103 * math/w_tgamma.c: Include <errno.h>.
13104 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13105 * math/w_tgammaf.c: Include <errno.h>.
13106 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13107 * math/w_tgammal.c: Include <errno.h>.
13108 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13109 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13110 underflow. Add more tgamma tests.
13111 * math/auto-libm-test-out: Regenerated.
13112 * sysdeps/i386/fpu/libm-test-ulps: Update.
13113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13115 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13116 sin, sinh, tan, tanh, tgamma, y0 and y1.
13117 * math/auto-libm-test-out: Regenerated.
13118 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13119 (TEST_COND_x86): Likewise.
13120 (M_E2l): Remove macro.
13122 (M_2_SQRT_PIl): Likewise.
13123 (M_SQRT_PIl): Likewise.
13124 (M_1_DIV_El): Likewise.
13125 (log_test_data): Use AUTO_TESTS_f_f.
13126 (log10_test_data): Likewise.
13127 (log1p_test_data): Likewise.
13128 (log2_test_data): Likewise.
13129 (sin_test_data): Likewise.
13130 (sin_tonearest_test_data): Likewise.
13131 (sin_towardzero_test_data): Likewise.
13132 (sin_downward_test_data): Likewise.
13133 (sin_upward_test_data): Likewise.
13134 (sinh_test_data): Likewise.
13135 (sinh_tonearest_test_data): Likewise.
13136 (sinh_towardzero_test_data): Likewise.
13137 (sinh_downward_test_data): Likewise.
13138 (sinh_upward_test_data): Likewise.
13139 (tan_test_data): Likewise.
13140 (tan_tonearest_test_data): Likewise.
13141 (tan_towardzero_test_data): Likewise.
13142 (tan_downward_test_data): Likewise.
13143 (tan_upward_test_data): Likewise.
13144 (tanh_test_data): Likewise.
13145 (tgamma_test_data): Likewise.
13146 (y0_test_data): Likewise.
13147 (y1_test_data): Likewise.
13148 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13149 (special_real_inputs): Add pi/4.
13150 * sysdeps/i386/fpu/libm-test-ulps: Update.
13151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13153 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13155 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13156 "longjmp_target" static probes.
13157 (__longjmp): Rename to __longjmp_symbol.
13158 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13159 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13160 on which longjmp to generate.
13161 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13162 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13164 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13165 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13166 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13167 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13168 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13169 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13171 __longjmp_symbol based on which __longjmp to generate.
13172 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13174 (setjmp): Rename to setjmp_symbol.
13175 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13176 (_setjmp): Rename to _setjmp_symbol.
13177 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13178 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13179 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13180 which setjmp to generate.
13181 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13182 "longjmp_target" static probes.
13184 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13186 * benchtests/README: Add note about output arguments.
13187 * benchtests/bench-sincos.c: Remove file.
13188 * benchtests/sincos-inputs: New file.
13189 * scripts/bench.pl: Identify output arguments and define
13190 static variables for them.
13192 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13195 * Makefile (INSTALL): Add install-plain.texi as the primary
13197 * manual/install-plain.texi: New file.
13198 * manual/install.texi: Include node directive only for
13199 non-plaintext output.
13201 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13203 * stdlib/longlong.h: Update from GCC.
13207 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13208 * math/w_j0f.c (y0f): Likewise.
13209 * math/w_j0l.c (__y0l): Likewise.
13210 * math/w_j1.c (y1): Likewise.
13211 * math/w_j1f.c (y1f): Likewise.
13212 * math/w_j1l.c (__y1l): Likewise
13213 * math/w_jn.c (yn): Likewise.
13214 * math/w_jnf.c (ynf): Likewise.
13215 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13216 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13217 value for Bessel function domain errors outside _SVID_ mode.
13218 Adjust sign of return value for yn (negative integer, 0).
13219 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13220 by zero in return for negative x and set sign appropriately for
13222 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13223 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13224 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13225 expectations in error cases.
13226 (y1_test_data): Likewise.
13227 (yn_test_data): Likewise.
13228 * sysdeps/i386/fpu/libm-test-ulps: Update.
13229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13231 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13233 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13234 "64" to "64-v1". Add "64-v2".
13235 (abi-64-options): Rename to ...
13236 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13237 (abi-64-condition): Rename to ...
13238 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13239 (abi-64-ld-soname): Rename to ...
13240 (abi-64-v1-ld-soname): ... this.
13241 (abi-64-v2-options): Define.
13242 (abi-64-v2-condition): Likewise.
13243 (abi-64-v2-ld-soname): Likewise.
13244 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13245 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13250 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13251 Alan Modra <amodra@gmail.com>
13253 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13254 New versions for use with the ELFv2 ABI.
13255 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13256 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13258 (struct La_ppc64v2_retval): Likewise.
13259 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13260 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13261 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13262 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13263 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13264 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13265 Do not save or restore CR.
13266 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13267 (_dl_profile_resolve): Do no save or restore CR. Support extended
13268 return values for ELFv2 ABI. Fix location of FPR return registers.
13269 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13270 updated values for _CALL_ELF == 2.
13271 (La_regs, La_retval, int_retval): Likewise.
13273 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13275 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13276 (FRAME_MIN_SIZE_PARM): Likewise.
13277 (FRAME_BACKCHAIN): Likewise.
13278 (FRAME_CR_SAVE): Likewise.
13279 (FRAME_LR_SAVE): Likewise.
13280 (FRAME_TOC_SAVE): Likewise.
13281 (FRAME_PARM_SAVE): Likewise.
13282 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13283 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13284 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13285 (call_mcount_parm_offset): New macro.
13286 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13287 (PROF): Use symbolic stack frame offsets.
13288 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13289 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13290 Redefine in terms of FRAME_MIN_SIZE.
13291 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13292 (_dl_profile_resolve): Likewise. Update comment.
13293 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13294 symbols stack frame offsets.
13295 (__sigsetjmp): Likewise.
13296 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13297 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13298 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13299 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13302 (FRAME_BACKCHAIN): Remove.
13303 (FRAME_CR_SAVE): Likewise.
13304 (FRAME_LR_SAVE): Likewise.
13305 (FRAME_COMPILER_DW): Likewise.
13306 (FRAME_LINKER_DW): Likewise.
13307 (FRAME_TOC_SAVE): Likewise.
13308 (FRAME_PARM_SAVE): Likewise.
13309 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13310 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13311 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13313 (CHECK_SP): Use symbolic stack frame offsets.
13314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13315 zone" instead of caller's parameter save area for temp storage.
13316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13317 Likewise. Also, use symbolic stack frame offsets.
13318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13319 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13320 our own stack frame instead of the caller's.
13321 (__socket): Use symbolic stack frame offsets.
13323 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13324 Alan Modra <amodra@gmail.com>
13326 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13328 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13329 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13330 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13332 (elf_machine_fixup_plt): Call it.
13333 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13335 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13336 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13337 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13338 r2 before calling target.
13340 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13341 Alan Modra <amodra@gmail.com>
13343 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13344 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13345 versions of macros to support ELFv2 ABI.
13346 (LOCALENTRY): New macro.
13347 (ENTRY, EALIGN): Use it.
13348 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13349 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13350 fall through into ENTRY entry point.
13351 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13352 Only define if _CALL_ELF != 2.
13354 (elf_machine_matches_host): Verify ABI version matches.
13355 (RTLD_START): Use LOCALENTRY.
13356 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13357 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13358 (PLT_ENTRY_WORDS): New macro.
13359 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13360 (elf_machine_runtime_setup): Support ELFv2 ABI.
13361 (elf_machine_fixup_plt): Likewise.
13362 (elf_machine_plt_conflict): Likewise.
13363 (resolve_ifunc): Likewise.
13364 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13365 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13368 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13370 (makecontext): Support ELFv2 ABI.
13371 * elf/elf.h (EF_PPC64_ABI): Define.
13373 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13375 * sysdeps/powerpc/powerpc64/sysdep.h
13376 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13377 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13378 (ENTRY) [ASSEMBLER]: ... but instead here ...
13379 (EALIGN) [ASSEMBLER]: ... and here.
13380 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13381 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13382 (ENTRY_2) [!ASSEMBLER]: Use it.
13383 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13384 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13385 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13386 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13387 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13389 Use PPC64_LOAD_FUNCPTR.
13391 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13393 2013-12-04 Alan Modra <amodra@gmail.com>
13395 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13396 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13397 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13398 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13400 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13401 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13402 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13403 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13404 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13405 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13407 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13410 (__makecontext): Fix incorrect CFI when backtracing out of
13411 context created via makecontext.
13412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13413 (__setcontext): Fix incorrect CFI during switch to new context.
13414 (__novec_setcontext): Likewise.
13416 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13419 * time/strptime_l.c (__strptime_internal): Allow modifiers
13421 * time/tst-strptime.c (day_tests): Add testcase.
13423 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13425 * scripts/bench.pl: Skip over blank lines.
13427 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13430 * manual/time.texi (Calendar Time): Clarify what timezone functions
13433 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13437 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13439 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13441 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13442 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13443 * debug/memset_chk.c (__memset_chk): Likewise.
13444 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13445 * debug/strncpy_chk.c: Likewise.
13447 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13451 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13452 (__ieee754_exp): For possibly underflowing results, check size of
13453 result and force underflow exception if required.
13454 * math/auto-libm-test-in: Add more tests of exp.
13455 * math/auto-libm-test-out: Regenerated.
13456 * sysdeps/i386/fpu/libm-test-ulps: Update.
13457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13460 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13461 * math/w_exp2f.c (__exp2f): Likewise.
13462 * math/w_exp2l.c (__exp2l): Likewise.
13463 * math/auto-libm-test-in: Do not allow missing errno on exp2
13465 * math/auto-libm-test-out: Regenerated.
13467 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13470 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13471 handle filename validation.
13472 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13475 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13478 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13479 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13480 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13482 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13483 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13484 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13485 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13486 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13487 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13488 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13489 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13490 Add more erfc tests.
13491 * math/auto-libm-test-out: Regenerated.
13492 * sysdeps/i386/fpu/libm-test-ulps: Update.
13493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13495 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13496 exp2, expm1, j0 and j1.
13497 * math/auto-libm-test-out: Regenerated.
13498 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13499 (erfc_test_data): Likewise.
13500 (exp_test_data): Likewise.
13501 (exp_tonearest_test_data): Likewise.
13502 (exp_towardzero_test_data): Likewise.
13503 (exp_downward_test_data): Likewise.
13504 (exp_upward_test_data): Likewise.
13505 (exp10_test_data): Likewise.
13506 (exp2_test_data): Likewise.
13507 (expm1_test_data): Likewise.
13508 (j0_test_data): Likewise.
13509 (j1_test_data): Likewise.
13510 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13511 (input_flag_type): Add flag_xfail_rounding.
13512 (input_flags): Add xfail-rounding.
13513 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13514 (output_for_one_input_case): Handle flag_xfail_rounding.
13515 * sysdeps/i386/fpu/libm-test-ulps: Update.
13516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13518 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13521 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13524 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13527 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13528 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13529 (STAP_PROBE0): New macro.
13530 (STAP_PROBE1): Likewise.
13531 (STAP_PROBE2): Likewise.
13532 (STAP_PROBE3): Likewise.
13533 (STAP_PROBE4): Likewise.
13535 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13537 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13539 2013-12-02 Steve Ellcey <sellcey@mips.com>
13541 * benchtests/Makefile (bench): Add sqrt.
13542 (LDLIBS-bench-sqrt): New.
13543 * benchtests/sqrt-input: New.
13545 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13547 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13548 (GAIH_EAI): Likewise.
13549 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13550 (gaih_inet): Likewise.
13551 (getaddrinfo): Don't use GAIH_EAI.
13553 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13554 (struct gaih): Remove definition.
13556 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13558 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13559 Use HERRNOP directly.
13561 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13565 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13567 * math/gen-auto-libm-tests.c (test_functions): Add more
13568 single-argument functions.
13569 (special_fill_pi_2): New function.
13570 (special_fill_minus_pi_2): Likewise.
13571 (special_fill_pi_6): Likewise.
13572 (special_fill_minus_pi_6): Likewise.
13573 (special_fill_pi_3): Likewise.
13574 (special_fill_2pi_3): Likewise.
13575 (special_fill_e): Likewise.
13576 (special_fill_1_e): Likewise.
13577 (special_fill_e_minus_1): Likewise.
13578 (special_real_inputs): Add more special inputs.
13579 (output_for_one_input_case): Do not require ERANGE on underflow to
13580 zero if round-to-nearest result does not underflow to zero, unless
13581 exact results required.
13582 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13583 atan, atanh, cbrt, cos and cosh.
13584 * math/auto-libm-test-out: Regenerated.
13585 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13586 (acos_tonearest_test_data): Likewise.
13587 (acos_towardzero_test_data): Likewise.
13588 (acos_downward_test_data): Likewise.
13589 (acos_upward_test_data): Likewise.
13590 (acosh_test_data): Likewise.
13591 (asin_test_data): Likewise.
13592 (asin_tonearest_test_data): Likewise.
13593 (asin_towardzero_test_data): Likewise.
13594 (asin_upward_test_data): Likewise.
13595 (asinh_test_data): Likewise.
13596 (atan_test_data): Likewise.
13597 (atanh_test_data): Likewise.
13598 (cbrt_test_data): Likewise.
13599 (cos_test_data): Likewise.
13600 (cos_tonearest_test_data): Likewise.
13601 (cos_towardzero_test_data): Likewise.
13602 (cos_downward_test_data): Likewise.
13603 (cos_upward_test_data): Likewise.
13604 (cosh_test_data): Likewise.
13605 (cosh_tonearest_test_data): Likewise.
13606 (cosh_towardzero_test_data): Likewise.
13607 (cosh_downward_test_data): Likewise.
13608 (cosh_upward_test_data): Likewise.
13609 * sysdeps/i386/fpu/libm-test-ulps: Update.
13610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13612 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13615 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13616 * math/w_exp10f.c (__exp10f): Likewise.
13617 * math/w_exp10l.c (__exp10l): Likewise.
13618 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13619 errno settings in existing tests.
13622 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13623 precision control set to double precision.
13624 * sysdeps/i386/fpu/w_sqrt.c: New file.
13625 * math/auto-libm-test-in: Add more tests.
13626 * math/auto-libm-test-out: Update.
13628 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13629 (sqrt_test_tonearest): New function.
13630 (sqrt_towardzero_test_data): New variable.
13631 (sqrt_test_towardzero): New function.
13632 (sqrt_downward_test_data): New variable.
13633 (sqrt_test_downward): New function.
13634 (sqrt_upward_test_data): New variable.
13635 (sqrt_test_upward): New function.
13636 (main): Call the new functions.
13638 * math/gen-auto-libm-tests.c: New file.
13639 * math/auto-libm-test-in: Likewise.
13640 * math/auto-libm-test-out: New generated file.
13641 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13643 (%beautify): Add generated representations of zero.
13644 (top level): Set $auto_input and call parse_auto_input.
13645 (beautify): Remove trailing "f" from hex float constants.
13646 (parse_args): Handle XFAIL_TEST.
13647 (convert_condition): New function.
13648 (or_value): Likewise.
13649 (or_cond_value): Likewise.
13650 (generate_testfile): Handle AUTO_TESTS_* lines.
13651 (parse_auto_input): New function.
13652 * math/libm-test.inc (XFAIL_TEST): New macro.
13653 (ERRNO_UNCHANGED): Update value.
13654 (ERRNO_EDOM): Likewise.
13655 (ERRNO_ERANGE): Likewise.
13656 (IGNORE_RESULT): Likewise.
13657 (TEST_COND_flt_32): New macro.
13658 (TEST_COND_dbl_64): Likewise.
13659 (TEST_COND_ldbl_96_intel): Likewise.
13660 (TEST_COND_ldbl_96_m68k): Likewise.
13661 (TEST_COND_ldbl_128): Likewise.
13662 (TEST_COND_ldbl_128ibm): Likewise.
13663 (TEST_COND_long32): Likewise.
13664 (TEST_COND_long64): Likewise.
13665 (TEST_COND_before_rounding): Likewise.
13666 (TEST_COND_after_rounding): Likewise.
13667 (enable_test): Handle XFAIL_TEST flag.
13668 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13669 with finite results.
13670 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13671 auto-libm-test-out.
13673 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13674 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13677 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13678 __tls_get_addr_internal instead of __tls_get_offset in order to
13679 avoid GOT pointer dependency. Make rtld export
13680 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13681 __tls_get_addr since we are a __tls_get_offset platform.
13682 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13683 GOT pointer being set up before.
13684 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13686 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13688 * manual/math.texi (Errors in Math Functions): Document accuracy
13692 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13693 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13694 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13695 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13696 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13697 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13698 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13699 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13700 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13701 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13702 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13703 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13704 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13705 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13706 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13707 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13709 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13710 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13711 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13712 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13713 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13715 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13717 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13719 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13720 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13721 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13722 atomic-feupdateenv and flt-rounds.
13723 * sysdeps/powerpc/nofpu/Versions (libc): Add
13724 __atomic_feholdexcept, __atomic_feclearexcept,
13725 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13726 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13727 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13728 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13729 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13734 * manual/arith.texi (FP Exceptions): Document that exceptions may
13735 not be raised when matherr is used.
13736 (Math Error Reporting): Document overflow in directed rounding
13737 modes. Document that errno may not be set when finite values are
13738 returned on overflow. Document intent to set errno on underflow
13739 only for underflow to zero.
13742 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13743 round-to-nearest then adjust result for other rounding modes.
13744 * include/fenv.h (fegetround): Use libm_hidden_proto.
13745 * math/fegetround.c (fegetround): Use libm_hidden_def.
13746 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13747 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13748 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13749 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13751 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13752 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13753 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13754 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13756 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13759 * nss/Versions (libnss_files): Add
13760 _nss_files_gethostbyname3_r.
13761 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13763 (HOST_DB_LOOKUP): Remove macro.
13764 (_nss_files_gethostbyname_r): Implement function without the
13765 HOST_DB_LOOKUP macro.
13766 (_nss_files_gethostbyname2_r): Likewise.
13768 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13770 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13772 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13774 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13775 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13778 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13780 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13781 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13782 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13783 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13784 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13785 __fe_nomask_env_priv and attribute_hidden.
13786 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13787 (libc_feupdateenv_test_ppc): Likewise.
13788 (libc_feresetround_ppc): Likewise.
13789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13790 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13791 compat_symbol macro.
13792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13793 (__fe_nomask_env): Likewise.
13794 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13796 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13798 * string/Makefile: Remove ifunc tests.
13799 * string/test-string.h: Define TEST_IFUNC.
13800 * string/test-bcopy-ifunc.c: Remove.
13801 * string/test-bzero-ifunc.c: Likewise.
13802 * string/test-memccpy-ifunc.c: Likewise.
13803 * string/test-memchr-ifunc.c: Likewise.
13804 * string/test-memcmp-ifunc.c: Likewise.
13805 * string/test-memcpy-ifunc.c: Likewise.
13806 * string/test-memmem-ifunc.c: Likewise.
13807 * string/test-memmove-ifunc.c: Likewise.
13808 * string/test-mempcpy-ifunc.c: Likewise.
13809 * string/test-memrchr-ifunc.c: Likewise.
13810 * string/test-memset-ifunc.c: Likewise.
13811 * string/test-rawmemchr-ifunc.c: Likewise.
13812 * string/test-stpcpy-ifunc.c: Likewise.
13813 * string/test-stpncpy-ifunc.c: Likewise.
13814 * string/test-strcasecmp-ifunc.c: Likewise.
13815 * string/test-strcasestr-ifunc.c: Likewise.
13816 * string/test-strcat-ifunc.c: Likewise.
13817 * string/test-strchr-ifunc.c: Likewise.
13818 * string/test-strchrnul-ifunc.c: Likewise.
13819 * string/test-strcmp-ifunc.c: Likewise.
13820 * string/test-strcpy-ifunc.c: Likewise.
13821 * string/test-strcspn-ifunc.c: Likewise.
13822 * string/test-strlen-ifunc.c: Likewise.
13823 * string/test-strncasecmp-ifunc.c: Likewise.
13824 * string/test-strncat-ifunc.c: Likewise.
13825 * string/test-strncmp-ifunc.c: Likewise.
13826 * string/test-strncpy-ifunc.c: Likewise.
13827 * string/test-strnlen-ifunc.c: Likewise.
13828 * string/test-strpbrk-ifunc.c: Likewise.
13829 * string/test-strrchr-ifunc.c: Likewise.
13830 * string/test-strspn-ifunc.c: Likewise.
13831 * string/test-strstr-ifunc.c: Likewise.
13833 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13835 * benchtests/Makefile: Remove ifunc tests.
13836 * benchtests/bench-string.h: Define TEST_IFUNC.
13837 * benchtests/bench-bcopy-ifunc.c: Remove.
13838 * benchtests/bench-bzero-ifunc.c: Likewise.
13839 * benchtests/bench-memccpy-ifunc.c: Likewise.
13840 * benchtests/bench-memchr-ifunc.c: Likewise.
13841 * benchtests/bench-memcmp-ifunc.c: Likewise.
13842 * benchtests/bench-memcpy-ifunc.c: Likewise.
13843 * benchtests/bench-memmem-ifunc.c: Likewise.
13844 * benchtests/bench-memmove-ifunc.c: Likewise.
13845 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13846 * benchtests/bench-memrchr-ifunc.c: Likewise.
13847 * benchtests/bench-memset-ifunc.c: Likewise.
13848 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13849 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13850 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13851 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13852 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13853 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13854 * benchtests/bench-strcat-ifunc.c: Likewise.
13855 * benchtests/bench-strchr-ifunc.c: Likewise.
13856 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13857 * benchtests/bench-strcmp-ifunc.c: Likewise.
13858 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13859 * benchtests/bench-strcpy-ifunc.c: Likewise.
13860 * benchtests/bench-strcspn-ifunc.c: Likewise.
13861 * benchtests/bench-strlen-ifunc.c: Likewise.
13862 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13863 * benchtests/bench-strncat-ifunc.c: Likewise.
13864 * benchtests/bench-strncmp-ifunc.c: Likewise.
13865 * benchtests/bench-strncpy-ifunc.c: Likewise.
13866 * benchtests/bench-strnlen-ifunc.c: Likewise.
13867 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13868 * benchtests/bench-strrchr-ifunc.c: Likewise.
13869 * benchtests/bench-strsep-ifunc.c: Likewise.
13870 * benchtests/bench-strspn-ifunc.c: Likewise.
13871 * benchtests/bench-strstr-ifunc.c: Likewise.
13873 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13875 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13877 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13879 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13880 * rt/aio.h: Likewise.
13881 * sysdeps/gnu/bits/utmp.h: Likewise.
13882 * sysdeps/gnu/bits/utmpx.h: Likewise.
13883 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13884 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13885 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13886 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13887 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13888 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13889 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13890 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13891 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13892 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13893 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13894 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13895 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13897 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13898 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13899 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13900 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13901 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13902 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13903 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13904 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13905 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13906 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13907 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13908 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13909 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13910 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13911 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13912 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13913 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13914 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13915 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13916 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13917 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13918 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13919 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13920 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13921 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13922 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13923 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13924 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13926 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13929 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13930 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13932 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13934 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13935 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13938 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13940 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13941 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13942 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13943 (__fesetround): Remove define.
13944 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13945 rounding and exceptions handling.
13946 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13947 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13948 (__fe_nomask_env): Likewise.
13949 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13950 __fegetround instead of fegetround.
13951 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13952 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13954 2013-11-21 Roland McGrath <roland@hack.frob.com>
13956 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13959 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13961 2013-11-21 Meador Inge <meadori@codesourcery.com>
13964 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13965 (encrypt_r): Likewise.
13966 * malloc/obstack.h (obstack_free): Likewise.
13967 * posix/unistd.h (encrypt): Likewise.
13969 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13971 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13972 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13973 DL_CALL_DT_FINI() that call the functions directly.
13974 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13975 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13976 * elf/dl-fini.c: Likewise.
13978 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13980 * malloc/hooks.c (memalign_check): Add alignment rounding.
13981 * malloc/malloc.c (_mid_memalign): New function.
13982 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13983 Implement by calling _mid_memalign.
13984 * manual/probes.texi (Memory Allocation Probes): Remove
13985 memory_valloc_retry and memory_pvalloc_retry.
13987 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13989 * locale/programs/locarchive.c (open_archive): Add const
13990 qualifier to ARCHIVEFNAME and copy default fname to
13994 * libio/tst-widetext.input: Rename Oriya to Odia.
13995 * locale/iso-639.def: Likewise.
13997 * manual/probes.texi (Mathematical Function Probes): Add
13998 documentation for sin, cos, asin and acos probes.
13999 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14000 (__sin32): Add slowasin probe.
14001 (__cos32): Add slowacos probe.
14002 (__mpsin): Add slowsin probe.
14003 (__mpcos): Add slowcos probe.
14005 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14008 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14009 thread-local __sim_exceptions_thread and global
14010 __sim_exceptions_global.
14011 (__sim_disabled_exceptions): Change to thread-local
14012 __sim_disabled_exceptions_thread and global
14013 __sim_disabled_exceptions_global.
14014 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14015 and global __sim_round_mode_global.
14016 (__simulate_exceptions): Use thread-local floating-point state and
14017 set global state from it as needed.
14018 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14019 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14020 __sim_round_mode_thread.
14021 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14022 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14023 and global __sim_exceptions_global.
14024 (__sim_disabled_exceptions): Change to thread-local
14025 __sim_disabled_exceptions_thread and global
14026 __sim_disabled_exceptions_global.
14027 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14028 and global __sim_round_mode_global.
14029 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14030 (SIM_SET_GLOBAL): Likewise.
14031 * sysdeps/powerpc/soft-fp/sfp-machine.h
14032 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14033 __sim_round_mode_thread.
14034 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14035 __sim_disabled_exceptions_thread.
14036 (__sim_exceptions): Change to __sim_exceptions_thread.
14037 (__sim_disabled_exceptions): Change to
14038 __sim_disabled_exceptions_thread.
14039 (__sim_round_mode): Change to __sim_round_mode_thread.
14040 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14041 thread-local floating-point state and set global state from it as
14043 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14044 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14045 (__sim_disabled_exceptions): Remove extern declaration.
14046 (feenableexcept): Use thread-local floating-point state and set
14047 global state from it as needed.
14048 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14049 extern declaration.
14050 (__sim_disabled_exceptions): Likewise.
14051 (__sim_round_mode): Likewise.
14052 (__fegetenv): Use thread-local floating-point state.
14053 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14054 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14055 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14056 floating-point state and set global state from it as needed.
14057 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14058 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14059 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14061 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14062 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14064 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14065 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14066 Use __sim_round_mode_thread.
14067 * math/test-fenv-tls.c: New file.
14068 * math/Makefile (tests): Add test-fenv-tls.
14069 ($(objpfx)test-fenv-tls): Depend on
14070 $(common-objpfx)nptl/libpthread.so.
14072 2013-11-19 Andreas Schwab <schwab@suse.de>
14074 * locale/programs/locale.c (show_info): Decode wordarray elements.
14075 * locale/categories.def (LC_MONETARY): Add element for
14076 _NL_MONETARY_CRNCYSTR.
14077 * locale/C-monetary.c (conversion_rate): New variable.
14078 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14081 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14083 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14084 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14086 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14088 * elf/Makefile (tst-auxv): New test.
14089 * elf/tst-auxv.c: New
14090 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14092 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14094 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14095 (hidden_proto): Caller changed.
14096 (hidden_tls_proto): New macro.
14097 (libc_hidden_tls_proto): Likewise.
14098 (rtld_hidden_tls_proto): Likewise.
14099 (libm_hidden_tls_proto): Likewise.
14100 (libresolv_hidden_tls_proto): Likewise.
14101 (librt_hidden_tls_proto): Likewise.
14102 (libdl_hidden_tls_proto): Likewise.
14103 (libnss_files_hidden_tls_proto): Likewise.
14104 (libnsl_hidden_tls_proto): Likewise.
14105 (libnss_nisplus_hidden_tls_proto): Likewise.
14106 (libutil_hidden_tls_proto): Likewise.
14108 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14111 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14112 (decompose_rpath): Defer expansion to fillin_rpath.
14113 (_dl_init_paths): Pass linkmap to fillin_rpath.
14115 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14117 * benchtests/Makefile: Add strsep.
14118 * benchtests/bench-strsep.c: New file: strsep benchtest.
14119 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14121 2013-11-18 Andreas Schwab <schwab@suse.de>
14123 * locale/programs/locale.c (show_info) [case byte]: Check for
14124 '\377' instead of '\177'.
14125 * locale/C-monetary.c (not_available): Always use "\377".
14126 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14127 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14128 detect unavailable sign_posn locale elements.
14129 * locale/localeconv.c (__localeconv): For grouping and
14130 mon_grouping handle "\177" and "\377" like no grouping.
14131 (INT_ELEM): New macro. Use it to set all numeric members.
14132 * locale/programs/ld-monetary.c (monetary_read)
14133 <tok_mon_grouping>: Normalize single -1 to the empty string.
14134 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14137 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14140 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14141 when we match (nil).
14142 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14144 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14146 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14147 (NO_TEST_INLINE): Update value.
14148 (ERRNO_UNCHANGED): Likewise.
14149 (ERRNO_EDOM): Likewise.
14150 (ERRNO_ERANGE): Likewise.
14151 (IGNORE_RESULT): Likewise.
14152 (check_float_internal): Check signs of NaN results if
14153 TEST_NAN_SIGN used.
14154 (check_complex): Pass TEST_NAN_SIGN flag through to second
14155 check_float_internal call.
14156 (copysign_test_data): Add tests with quiet NaNs as second
14157 argument. Use TEST_NAN_SIGN.
14158 (fabs_test_data): Add test of negative quiet NaN argument. Use
14160 (signbit_test_data): Add tests of quiet NaN argument.
14161 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14163 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14165 (parse_args): Handle function results specified as IGNORE.
14166 * math/libm-test.inc (IGNORE_RESULT): New macro.
14167 (check_float_internal): Do not check numerical result if flag
14169 (check_complex): Pass through IGNORE_RESULT to second
14170 check_float_internal call.
14171 (check_int): Do not check numerical result if flag IGNORE_RESULT
14173 (check_long): Likewise.
14174 (check_bool): Likewise.
14175 (check_longlong): Likewise.
14176 (lrint_test_data): Add tests of infinite and NaN arguments.
14177 (lrint_tonearest_test_data): Likewise.
14178 (lrint_towardzero_test_data): Likewise.
14179 (lrint_downward_test_data): Likewise.
14180 (lrint_upward_test_data): Likewise.
14181 (llrint_test_data): Likewise.
14182 (llrint_tonearest_test_data): Likewise.
14183 (llrint_towardzero_test_data): Likewise.
14184 (llrint_downward_test_data): Likewise.
14185 (llrint_upward_test_data): Likewise.
14186 (lround_test_data): Likewise.
14187 (llround_test_data): Likewise.
14189 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14190 (ERRNO_UNCHANGED): Update value.
14191 (ERRNO_EDOM): Likewise.
14192 (ERRNO_ERANGE): Likewise.
14193 (NO_TEST_INLINE_FLOAT): New macro.
14194 (NO_TEST_INLINE_DOUBLE): Likewise.
14195 (enable_test): New function.
14196 (RUN_TEST_f_f): Check enable_test before running test.
14197 (RUN_TEST_2_f): Likewise.
14198 (RUN_TEST_fff_f): Likewise.
14199 (RUN_TEST_c_f): Likewise.
14200 (RUN_TEST_f_f1): Likewise.
14201 (RUN_TEST_fF_f1): Likewise.
14202 (RUN_TEST_fI_f1): Likewise.
14203 (RUN_TEST_ffI_f1): Likewise.
14204 (RUN_TEST_c_c): Likewise.
14205 (RUN_TEST_cc_c): Likewise.
14206 (RUN_TEST_f_i): Likewise.
14207 (RUN_TEST_f_i_tg): Likewise.
14208 (RUN_TEST_ff_i_tg): Likewise.
14209 (RUN_TEST_f_b): Likewise.
14210 (RUN_TEST_f_b_tg): Likewise.
14211 (RUN_TEST_f_l): Likewise.
14212 (RUN_TEST_f_L): Likewise.
14213 (RUN_TEST_fFF_11): Likewise.
14214 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14216 (cosh_test_data): Likewise.
14217 (exp_test_data): Likewise.
14218 (expm1_test_data): Likewise.
14219 (hypot_test_data): Likewise.
14220 (pow_test_data): Likewise.
14221 (sinh_test_data): Likewise.
14222 (tanh_test_data): Likewise.
14223 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14226 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14227 tests with quiet NaN input and output.
14228 (acosh_test_data): Likewise.
14229 (asin_test_data): Likewise.
14230 (asinh_test_data): Likewise.
14231 (atan_test_data): Likewise.
14232 (atanh_test_data): Likewise.
14233 (atan2_test_data): Likewise.
14234 (cbrt_test_data): Likewise.
14235 (cos_test_data): Likewise.
14236 (cosh_test_data): Likewise.
14237 (erf_test_data): Likewise.
14238 (erfc_test_data): Likewise.
14239 (exp_test_data): Likewise.
14240 (exp10_test_data): Likewise.
14241 (exp2_test_data): Likewise.
14242 (expm1_test_data): Likewise.
14243 (hypot_test_data): Likewise.
14244 (j0_test_data): Likewise.
14245 (j1_test_data): Likewise.
14246 (jn_test_data): Likewise.
14247 (lgamma_test_data): Likewise.
14248 (log_test_data): Likewise.
14249 (log10_test_data): Likewise.
14250 (log1p_test_data): Likewise.
14251 (log2_test_data): Likewise.
14252 (pow_test_data): Likewise.
14253 (scalb_test_data): Likewise.
14254 (sin_test_data): Likewise.
14255 (sincos_test_data): Likewise.
14256 (sinh_test_data): Likewise.
14257 (tan_test_data): Likewise.
14258 (tanh_test_data): Likewise.
14259 (tgamma_test_data): Likewise.
14260 (y0_test_data): Likewise.
14261 (y1_test_data): Likewise.
14262 (yn_test_data): Likewise.
14265 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14266 argument being NaN and avoid computations with second argument in
14268 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14269 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14270 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14272 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14274 * locale/iso-639.def: Add Chitwani Tharu (the).
14276 2013-11-14 Andreas Schwab <schwab@suse.de>
14278 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14279 word instead of empty string.
14281 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14284 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14286 (__fe_nomask_env): Likewise.
14288 2013-11-13 Steve Ellcey <sellcey@mips.com>
14290 * benchtests/bench-timing.h: Include time.h.
14292 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14295 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14297 * sysdeps/unix/sysv/linux/configure: Regenerated.
14299 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14302 * stdlib/strtod_l.c (round_and_return): Do not consider
14303 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14304 exponent one less than half the least subnormal exponent.
14305 * stdlib/test-strtod-round-data: Add more tests.
14306 * stdlib/tst-strtod-round.c (tests): Regenerated.
14308 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14311 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14312 (__fe_mask_env): Likewise.
14313 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14314 libm_hidden_proto and add function prototype.
14315 (__fe_mask_env): Add function prototype.
14316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14317 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14319 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14321 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14323 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14325 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14326 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14328 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14330 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14331 of htab_find_slot().
14333 2013-11-11 David S. Miller <davem@davemloft.net>
14336 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14337 symbol in the non-vis3 case in static builds.
14338 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14339 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14340 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14341 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14343 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14346 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14349 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14351 * benchtests/Makefile: Add bench-strtod.
14352 * benchtests/bench-strtod.c: New file: strtod benchtest
14354 2013-11-11 Andreas Schwab <schwab@suse.de>
14357 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14358 terminating NUL in key length.
14360 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14362 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14363 Add artificial ODP entry for vDSO symbol for PPC64.
14364 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14365 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14367 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14370 * nss/getent.c (services_keys): Recognize services starting with digit.
14372 2013-11-06 David S. Miller <davem@davemloft.net>
14375 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14376 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14378 2013-11-06 Will Newton <will.newton@linaro.org>
14380 * manual/memory.texi (Malloc Examples): Remove register
14381 keyword from examples.
14383 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14385 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14387 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14390 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14391 depending on [__GCC_IEC_559 > 0].
14392 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14393 depending on [__GCC_IEC_559_COMPLEX > 0].
14395 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14397 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14400 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14402 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14404 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14407 * malloc/malloc (malloc_info): Do not handle first bin as
14410 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14412 * locale/iso-639.def: Add Central Nahuatl (nhn).
14414 2013-11-01 Bruno Haible <bruno@clisp.org>
14417 * manual/math.texi (BSD Random): Specify range upper bound as
14420 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14422 * locale/iso-639.def: Add Meadow Mari (mhr).
14424 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14426 [BZ #14752], [BZ #15763]
14427 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14429 * rt/tst_shm.c: Add test for escaping directory.
14431 2013-10-31 Andreas Schwab <schwab@suse.de>
14434 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14435 followed by 'x' as part of digit sequence.
14436 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14438 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14441 * configure.ac: allow GNU Make 4.0 and greater.
14442 * configure: Regenerated.
14444 2013-10-30 Will Newton <will.newton@linaro.org>
14447 * malloc/hooks.c (memalign_check): Limit alignment to the
14448 maximum representable power of two.
14449 * malloc/malloc.c (__libc_memalign): Likewise.
14450 * malloc/tst-memalign.c (do_test): Add test for very
14451 large alignment values.
14452 * malloc/tst-posix_memalign.c (do_test): Likewise.
14454 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14457 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14458 (munmap_chunk): Likewise.
14459 (mremap_chunk): Likewise.
14461 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14464 * stdlib/div.c (div): Remove obsolete code.
14465 * stdlib/ldiv.c (ldiv): Likewise.
14466 * stdlib/lldiv.c (lldiv): Likewise.
14468 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14471 * nss/nss_files/files-XXX.c (get_contents_ret): New
14473 (get_contents): New function.
14474 (internal_getent): Use it. Expand size of LINEBUFLEN.
14476 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14478 * configure.in: Moved to ...
14479 * configure.ac: ... here. Change reference to configure.in
14481 * sysdeps/arm/preconfigure.ac: ... here.
14482 configure.in to configure.ac.
14483 * sysdeps/gnu/configure.in: Moved to ...
14484 * sysdeps/gnu/configure.ac: ... here.
14485 * sysdeps/i386/configure.in: Moved to ...
14486 * sysdeps/i386/configure.ac: ... here.
14487 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14488 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14489 * sysdeps/mach/configure.in: Moved to ...
14490 * sysdeps/mach/configure.ac: ... here.
14491 * sysdeps/mach/hurd/configure.in: Moved to ...
14492 * sysdeps/mach/hurd/configure.ac: ... here.
14493 * sysdeps/powerpc/configure.in: Moved to ...
14494 * sysdeps/powerpc/configure.ac: ... here.
14495 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14496 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14497 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14498 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14499 * sysdeps/s390/s390-32/configure.in: Moved to ...
14500 * sysdeps/s390/s390-32/configure.ac: ... here.
14501 * sysdeps/s390/s390-64/configure.in: Moved to ...
14502 * sysdeps/s390/s390-64/configure.ac: ... here.
14503 * sysdeps/sh/configure.in: Moved to ...
14504 * sysdeps/sh/configure.ac: ... here.
14505 * sysdeps/sparc/configure.in: Moved to ...
14506 * sysdeps/sparc/configure.ac: ... here.
14507 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14508 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14509 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14510 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14511 * sysdeps/x86_64/configure.in: Moved to ...
14512 * sysdeps/x86_64/configure.ac: ... here.
14513 * sysdeps/x86_64/preconfigure.in: Moved to ...
14514 * sysdeps/x86_64/preconfigure.ac: ... here.
14515 * aclocal.m4: Change reference to configure.in to configure.ac.
14516 * config.h.in: Likewise.
14517 * manual/install.texi: Likewise.
14518 * manual/maint.texi: Likewise.
14519 * Makefile: Likewise.
14520 * malloc/Makefile: Likewise.
14521 * nscd/Makefile: Likewise.
14522 * Makeconfig: Change reference to configure.in and
14523 preconfigure.in to configure.ac and preconfigure.ac
14525 * INSTALL: Regenerated.
14526 * configure: Likewise.
14527 * sysdeps/gnu/configure: Likewise.
14528 * sysdeps/i386/configure: Likewise.
14529 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14530 * sysdeps/mach/configure: Likewise.
14531 * sysdeps/mach/hurd/configure: Likewise.
14532 * sysdeps/powerpc/configure: Likewise.
14533 * sysdeps/powerpc/powerpc32/configure: Likewise.
14534 * sysdeps/powerpc/powerpc64/configure: Likewise.
14535 * sysdeps/s390/s390-32/configure: Likewise.
14536 * sysdeps/s390/s390-64/configure: Likewise.
14537 * sysdeps/sh/configure: Likewise.
14538 * sysdeps/sparc/configure: Likewise.
14539 * sysdeps/unix/sysv/linux/configure: Likewise.
14540 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14541 * sysdeps/x86_64/configure: Likewise.
14542 * sysdeps/x86_64/preconfigure: Likewise.
14544 2013-10-29 Andreas Schwab <schwab@suse.de>
14546 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14548 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14550 * benchtests/pow-inputs: Add new inputs.
14552 * benchtests/exp-inputs: Add new inputs.
14554 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14555 conditional check for return value.
14556 (__cos32): Likewise.
14558 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14560 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14561 to provide a boost for large inputs with word alignment.
14562 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14563 implementation based on optimized PPC64 strcpy.
14564 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14565 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14566 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14567 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14569 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14572 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14574 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14577 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14578 * time/tst-strptime.c (day_tests): Add testcase.
14580 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14583 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14585 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14588 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14589 MAP_FAILED on error.
14591 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14594 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14595 heap for large requests.
14597 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14600 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14601 result if the result has no associated interface.
14602 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14603 interface for all 127.X.Y.Z addresses.
14605 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14607 * locale/iso-639.def: Add Ligurian (lij)
14609 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14612 * sunrpc/rpc_main.c: Document rpcgen -5.
14614 2013-10-19 Michael Stahl <mstahl@redhat.com>
14616 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14618 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14621 * posix/glob.c: Match only directories when trailing slash is present.
14622 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14623 (main): Add testcase.
14625 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14628 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14630 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14632 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14633 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14634 AUTH_DES and cindex for FIPS 140-2.
14635 (DES Encryption): Add cindex FIPS 46-3.
14637 * locale/locarchive.h (struct locarhandle): Add fname.
14638 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14639 if an optional argument was specified to --list-archive,
14641 * locale/programs/locarchive.c (show_archive_content): Take new
14642 argument fname and pass it via ah.fname to open_archive.
14643 * locale/programs/localedef.h: Update decl.
14644 (open_archive): If AH->fname is non-null, open that file
14645 rather than the default file name, and don't ignore ENOENT.
14646 (create_archive): Set AH.fname to NULL.
14647 (delete_locales_from_archive): Likewise.
14648 (add_locales_to_archive): Likewise.
14649 * locale/programs/locfile.c (write_all_categories): Likewise.
14651 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14652 Aldy Hernandez <aldyh@redhat.com>
14654 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14655 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14656 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14657 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14658 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14659 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14660 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14661 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14662 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14663 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14664 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14665 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14666 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14667 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14668 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14670 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14672 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14674 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14676 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14677 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14679 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14680 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14681 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14682 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14684 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14685 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14686 * sysdeps/powerpc/preconfigure: Likewise.
14687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14689 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14690 Replace contents of file by #include of <fenv_libc.h>.
14691 * sysdeps/powerpc/soft-fp/sfp-machine.h
14692 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14694 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14695 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14696 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14697 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14698 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14699 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14700 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14701 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14702 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14703 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14704 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14705 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14707 Allow copysignl PLT reference to be missing.
14709 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14710 Joseph Myers <joseph@codesourcery.com
14713 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14715 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14717 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14719 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14720 * elf/tst-tls1.c: Likewise.
14721 * elf/tst-tls10.h: Likewise.
14722 * elf/tst-tls14.c: Likewise.
14723 * elf/tst-tls2.c: Likewise.
14724 * elf/tst-tls3.c: Likewise.
14725 * elf/tst-tls4.c: Likewise.
14726 * elf/tst-tls5.c: Likewise.
14727 * elf/tst-tls6.c: Likewise.
14728 * elf/tst-tls7.c: Likewise.
14729 * elf/tst-tls8.c: Likewise.
14730 * elf/tst-tls9.c: Likewise.
14731 * elf/tst-tlsmod1.c: Likewise.
14732 * elf/tst-tlsmod13.c: Likewise.
14733 * elf/tst-tlsmod13a.c: Likewise.
14734 * elf/tst-tlsmod14a.c: Likewise.
14735 * elf/tst-tlsmod16a.c: Likewise.
14736 * elf/tst-tlsmod16b.c: Likewise.
14737 * elf/tst-tlsmod2.c: Likewise.
14738 * elf/tst-tlsmod3.c: Likewise.
14739 * elf/tst-tlsmod4.c: Likewise.
14740 * elf/tst-tlsmod5.c: Likewise.
14741 * elf/tst-tlsmod6.c: Likewise.
14743 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14746 * malloc/malloc.c: remove checks for statistics.
14748 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14751 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14752 * inet/tst-network.c: Add testcase.
14754 2013-10-17 Andreas Schwab <schwab@suse.de>
14757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14758 to determine canonical name.
14760 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14762 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14763 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14764 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14765 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14766 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14767 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14768 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14769 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14770 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14771 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14772 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14773 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14774 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14775 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14776 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14777 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14778 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14779 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14780 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14781 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14782 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14783 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14784 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14785 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14786 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14787 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14788 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14789 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14790 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14791 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14792 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14793 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14794 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14795 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14796 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14797 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14798 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14799 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14800 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14801 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14802 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14803 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14804 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14805 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14806 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14807 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14808 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14809 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14810 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14811 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14812 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14813 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14814 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14815 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14816 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14817 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14818 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14819 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14821 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14824 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14825 make result into a quiet NaN.
14827 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14829 * soft-fp/adddf3.c: Fix horizontal whitespace.
14830 * soft-fp/addsf3.c: Likewise.
14831 * soft-fp/addtf3.c: Likewise.
14832 * soft-fp/divdf3.c: Likewise.
14833 * soft-fp/divsf3.c: Likewise.
14834 * soft-fp/divtf3.c: Likewise.
14835 * soft-fp/double.h: Likewise.
14836 * soft-fp/eqdf2.c: Likewise.
14837 * soft-fp/eqsf2.c: Likewise.
14838 * soft-fp/eqtf2.c: Likewise.
14839 * soft-fp/extenddftf2.c: Likewise.
14840 * soft-fp/extended.h: Likewise.
14841 * soft-fp/extendsfdf2.c: Likewise.
14842 * soft-fp/extendsftf2.c: Likewise.
14843 * soft-fp/extendxftf2.c: Likewise.
14844 * soft-fp/fixdfdi.c: Likewise.
14845 * soft-fp/fixdfsi.c: Likewise.
14846 * soft-fp/fixdfti.c: Likewise.
14847 * soft-fp/fixsfdi.c: Likewise.
14848 * soft-fp/fixsfsi.c: Likewise.
14849 * soft-fp/fixsfti.c: Likewise.
14850 * soft-fp/fixtfdi.c: Likewise.
14851 * soft-fp/fixtfsi.c: Likewise.
14852 * soft-fp/fixtfti.c: Likewise.
14853 * soft-fp/fixunsdfdi.c: Likewise.
14854 * soft-fp/fixunsdfsi.c: Likewise.
14855 * soft-fp/fixunsdfti.c: Likewise.
14856 * soft-fp/fixunssfdi.c: Likewise.
14857 * soft-fp/fixunssfsi.c: Likewise.
14858 * soft-fp/fixunssfti.c: Likewise.
14859 * soft-fp/fixunstfdi.c: Likewise.
14860 * soft-fp/fixunstfsi.c: Likewise.
14861 * soft-fp/fixunstfti.c: Likewise.
14862 * soft-fp/floatdidf.c: Likewise.
14863 * soft-fp/floatdisf.c: Likewise.
14864 * soft-fp/floatditf.c: Likewise.
14865 * soft-fp/floatsidf.c: Likewise.
14866 * soft-fp/floatsisf.c: Likewise.
14867 * soft-fp/floatsitf.c: Likewise.
14868 * soft-fp/floattidf.c: Likewise.
14869 * soft-fp/floattisf.c: Likewise.
14870 * soft-fp/floattitf.c: Likewise.
14871 * soft-fp/floatundidf.c: Likewise.
14872 * soft-fp/floatundisf.c: Likewise.
14873 * soft-fp/floatunditf.c: Likewise.
14874 * soft-fp/floatunsidf.c: Likewise.
14875 * soft-fp/floatunsisf.c: Likewise.
14876 * soft-fp/floatunsitf.c: Likewise.
14877 * soft-fp/floatuntidf.c: Likewise.
14878 * soft-fp/floatuntisf.c: Likewise.
14879 * soft-fp/floatuntitf.c: Likewise.
14880 * soft-fp/fmadf4.c: Likewise.
14881 * soft-fp/fmasf4.c: Likewise.
14882 * soft-fp/fmatf4.c: Likewise.
14883 * soft-fp/gedf2.c: Likewise.
14884 * soft-fp/gesf2.c: Likewise.
14885 * soft-fp/getf2.c: Likewise.
14886 * soft-fp/ledf2.c: Likewise.
14887 * soft-fp/lesf2.c: Likewise.
14888 * soft-fp/letf2.c: Likewise.
14889 * soft-fp/muldf3.c: Likewise.
14890 * soft-fp/mulsf3.c: Likewise.
14891 * soft-fp/multf3.c: Likewise.
14892 * soft-fp/negdf2.c: Likewise.
14893 * soft-fp/negsf2.c: Likewise.
14894 * soft-fp/negtf2.c: Likewise.
14895 * soft-fp/op-1.h: Likewise.
14896 * soft-fp/op-2.h: Likewise.
14897 * soft-fp/op-4.h: Likewise.
14898 * soft-fp/op-8.h: Likewise.
14899 * soft-fp/op-common.h: Likewise.
14900 * soft-fp/quad.h: Likewise.
14901 * soft-fp/single.h: Likewise.
14902 * soft-fp/soft-fp.h: Likewise.
14903 * soft-fp/sqrtdf2.c: Likewise.
14904 * soft-fp/sqrtsf2.c: Likewise.
14905 * soft-fp/sqrttf2.c: Likewise.
14906 * soft-fp/subdf3.c: Likewise.
14907 * soft-fp/subsf3.c: Likewise.
14908 * soft-fp/subtf3.c: Likewise.
14909 * soft-fp/truncdfsf2.c: Likewise.
14910 * soft-fp/trunctfdf2.c: Likewise.
14911 * soft-fp/trunctfsf2.c: Likewise.
14912 * soft-fp/trunctfxf2.c: Likewise.
14913 * soft-fp/unorddf2.c: Likewise.
14914 * soft-fp/unordsf2.c: Likewise.
14915 * soft-fp/unordtf2.c: Likewise.
14917 2013-10-15 Joseph Myers <joseph@codesourcery.com>
14919 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14920 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14922 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
14924 * elf/dl-libc.c: Clear initfini list after freeing.
14926 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14928 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14929 * soft-fp/addsf3.c: Likewise.
14930 * soft-fp/addtf3.c: Likewise.
14931 * soft-fp/divdf3.c: Likewise.
14932 * soft-fp/divsf3.c: Likewise.
14933 * soft-fp/divtf3.c: Likewise.
14934 * soft-fp/double.h: Likewise.
14935 * soft-fp/eqdf2.c: Likewise.
14936 * soft-fp/eqsf2.c: Likewise.
14937 * soft-fp/eqtf2.c: Likewise.
14938 * soft-fp/extenddftf2.c: Likewise.
14939 * soft-fp/extended.h: Likewise.
14940 * soft-fp/extendsfdf2.c: Likewise.
14941 * soft-fp/extendsftf2.c: Likewise.
14942 * soft-fp/extendxftf2.c: Likewise.
14943 * soft-fp/fixdfdi.c: Likewise.
14944 * soft-fp/fixdfsi.c: Likewise.
14945 * soft-fp/fixdfti.c: Likewise.
14946 * soft-fp/fixsfdi.c: Likewise.
14947 * soft-fp/fixsfsi.c: Likewise.
14948 * soft-fp/fixsfti.c: Likewise.
14949 * soft-fp/fixtfdi.c: Likewise.
14950 * soft-fp/fixtfsi.c: Likewise.
14951 * soft-fp/fixtfti.c: Likewise.
14952 * soft-fp/fixunsdfdi.c: Likewise.
14953 * soft-fp/fixunsdfsi.c: Likewise.
14954 * soft-fp/fixunsdfti.c: Likewise.
14955 * soft-fp/fixunssfdi.c: Likewise.
14956 * soft-fp/fixunssfsi.c: Likewise.
14957 * soft-fp/fixunssfti.c: Likewise.
14958 * soft-fp/fixunstfdi.c: Likewise.
14959 * soft-fp/fixunstfsi.c: Likewise.
14960 * soft-fp/fixunstfti.c: Likewise.
14961 * soft-fp/floatdidf.c: Likewise.
14962 * soft-fp/floatdisf.c: Likewise.
14963 * soft-fp/floatditf.c: Likewise.
14964 * soft-fp/floatsidf.c: Likewise.
14965 * soft-fp/floatsisf.c: Likewise.
14966 * soft-fp/floatsitf.c: Likewise.
14967 * soft-fp/floattidf.c: Likewise.
14968 * soft-fp/floattisf.c: Likewise.
14969 * soft-fp/floattitf.c: Likewise.
14970 * soft-fp/floatundidf.c: Likewise.
14971 * soft-fp/floatundisf.c: Likewise.
14972 * soft-fp/floatunsidf.c: Likewise.
14973 * soft-fp/floatunsisf.c: Likewise.
14974 * soft-fp/floatuntidf.c: Likewise.
14975 * soft-fp/floatuntisf.c: Likewise.
14976 * soft-fp/floatuntitf.c: Likewise.
14977 * soft-fp/fmadf4.c: Likewise.
14978 * soft-fp/fmasf4.c: Likewise.
14979 * soft-fp/fmatf4.c: Likewise.
14980 * soft-fp/gedf2.c: Likewise.
14981 * soft-fp/gesf2.c: Likewise.
14982 * soft-fp/getf2.c: Likewise.
14983 * soft-fp/ledf2.c: Likewise.
14984 * soft-fp/lesf2.c: Likewise.
14985 * soft-fp/letf2.c: Likewise.
14986 * soft-fp/muldf3.c: Likewise.
14987 * soft-fp/mulsf3.c: Likewise.
14988 * soft-fp/multf3.c: Likewise.
14989 * soft-fp/negdf2.c: Likewise.
14990 * soft-fp/negsf2.c: Likewise.
14991 * soft-fp/negtf2.c: Likewise.
14992 * soft-fp/op-1.h: Likewise.
14993 * soft-fp/op-2.h: Likewise.
14994 * soft-fp/op-4.h: Likewise.
14995 * soft-fp/op-8.h: Likewise.
14996 * soft-fp/op-common.h: Likewise.
14997 * soft-fp/quad.h: Likewise.
14998 * soft-fp/single.h: Likewise.
14999 * soft-fp/soft-fp.h: Likewise.
15000 * soft-fp/sqrtdf2.c: Likewise.
15001 * soft-fp/sqrtsf2.c: Likewise.
15002 * soft-fp/sqrttf2.c: Likewise.
15003 * soft-fp/subdf3.c: Likewise.
15004 * soft-fp/subsf3.c: Likewise.
15005 * soft-fp/subtf3.c: Likewise.
15006 * soft-fp/truncdfsf2.c: Likewise.
15007 * soft-fp/trunctfdf2.c: Likewise.
15008 * soft-fp/trunctfsf2.c: Likewise.
15009 * soft-fp/trunctfxf2.c: Likewise.
15010 * soft-fp/unorddf2.c: Likewise.
15011 * soft-fp/unordsf2.c: Likewise.
15012 * soft-fp/unordtf2.c: Likewise.
15014 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15017 * misc/error.c (error_tail): Fix possible buffer overflow.
15019 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15022 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15025 2013-10-14 P. J. McDermott <pj@pehjota.net>
15028 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15029 testing pipefail option.
15031 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15033 * soft-fp/double.h: Indent preprocessor directives inside #if.
15034 * soft-fp/extended.h: Likewise.
15035 * soft-fp/op-2.h: Likewise.
15036 * soft-fp/op-4.h: Likewise.
15037 * soft-fp/op-common.h: Likewise.
15038 * soft-fp/quad.h: Likewise.
15039 * soft-fp/single.h: Likewise.
15040 * soft-fp/soft-fp.h: Likewise.
15042 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15044 * iconv/iconv_prog.c: Fix typos.
15045 * stdio-common/psiginfo-data.h: Likewise.
15047 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15050 * locale/setlocale.c: Fix typo.
15052 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15055 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15056 signaling NaN arguments.
15057 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15058 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15061 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15062 unordered operands.
15063 * soft-fp/gesf2.c (__gesf2): Likewise.
15064 * soft-fp/getf2.c (__getf2): Likewise.
15065 * soft-fp/ledf2.c (__ledf2): Likewise.
15066 * soft-fp/lesf2.c (__lesf2): Likewise.
15067 * soft-fp/letf2.c (__letf2): Likewise.
15069 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15070 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15071 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15072 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15073 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15074 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15075 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15076 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15077 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15078 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15079 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15080 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15081 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15082 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15083 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15084 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15085 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15086 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15087 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15088 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15089 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15090 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15091 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15092 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15093 * soft-fp/floattidf.c (__floattidf): Likewise.
15094 * soft-fp/floattisf.c (__floattisf): Likewise.
15095 * soft-fp/floattitf.c (__floattitf): Likewise.
15096 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15097 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15098 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15099 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15100 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15101 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15102 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15103 * soft-fp/gesf2.c (__gesf2): Likewise.
15104 * soft-fp/getf2.c (__getf2): Likewise.
15105 * soft-fp/ledf2.c (__ledf2): Likewise.
15106 * soft-fp/lesf2.c (__lesf2): Likewise.
15107 * soft-fp/letf2.c (__letf2): Likewise.
15109 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15110 Undefine and redefine.
15111 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15112 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15113 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15114 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15115 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15116 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15117 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15118 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15119 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15120 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15121 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15122 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15123 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15124 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15125 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15128 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15129 without decrementing exponent if mantissa >= that for the
15130 denominator, not >.
15131 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15132 denominator, not >. Decrement exponent in < case instead of
15133 incrementing in >= case.
15134 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15135 without decrementing exponent if mantissa >= that for the
15136 denominator, not >.
15138 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15139 computing saturated result for unsigned overflow.
15141 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15142 Jeff Law <law@redhat.com>
15144 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15145 (atan2Mp): Add systemtap probe marker.
15146 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15147 (__ieee754_log): Add systemtap probe marker.
15148 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15149 (atanMp): Add systemtap probe marker.
15150 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15151 (tanMp): Add systemtap probe marker.
15152 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15153 (__slowexp): Add systemtap probe marker.
15154 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15155 (__slowpow): Add systemtap probe marker.
15156 * manual/probes.texi: Document probes.
15158 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15161 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15163 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15165 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15166 written to buffer but not flushed.
15167 * libio/iofwrite_u.c: Likewise.
15168 * libio/iopadn.c: Return bytes returned even if EOF was
15170 * libio/iowpadn.c: Likewise.
15171 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15172 if _IO_padn does not write the whole buffer.
15173 [!COMPILE_WPRINTF] (PAD): Likewise.
15175 2013-10-10 David S. Miller <davem@davemloft.net>
15177 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15180 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15182 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15183 instead of FSF address.
15184 * soft-fp/fixdfti.c: Likewise.
15185 * soft-fp/fixsfti.c: Likewise.
15186 * soft-fp/fixtfti.c: Likewise.
15187 * soft-fp/fixunsdfti.c: Likewise.
15188 * soft-fp/fixunssfti.c: Likewise.
15189 * soft-fp/fixunstfti.c: Likewise.
15190 * soft-fp/floattidf.c: Likewise.
15191 * soft-fp/floattisf.c: Likewise.
15192 * soft-fp/floattitf.c: Likewise.
15193 * soft-fp/floatuntidf.c: Likewise.
15194 * soft-fp/floatuntisf.c: Likewise.
15195 * soft-fp/floatuntitf.c: Likewise.
15196 * soft-fp/trunctfxf2.c: Likewise.
15198 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15199 * soft-fp/fixdfti.c: Likewise.
15200 * soft-fp/fixsfti.c: Likewise.
15201 * soft-fp/fixtfti.c: Likewise.
15202 * soft-fp/fixunsdfti.c: Likewise.
15203 * soft-fp/fixunssfti.c: Likewise.
15204 * soft-fp/fixunstfti.c: Likewise.
15205 * soft-fp/floattidf.c: Likewise.
15206 * soft-fp/floattisf.c: Likewise.
15207 * soft-fp/floattitf.c: Likewise.
15208 * soft-fp/floatuntidf.c: Likewise.
15209 * soft-fp/floatuntisf.c: Likewise.
15210 * soft-fp/floatuntitf.c: Likewise.
15211 * soft-fp/trunctfxf2.c: Likewise.
15213 2013-10-10 David S. Miller <davem@davemloft.net>
15215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15217 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15219 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15220 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15221 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15222 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15223 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15224 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15225 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15227 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15228 for NaNs before doing comparisons on argument.
15229 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15232 2013-10-10 Will Newton <will.newton@linaro.org>
15234 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15235 passed to _int_memalign does not overflow.
15237 2013-10-10 Torvald Riegel <triegel@redhat.com>
15239 * scripts/bench.pl: Add include-sources directive.
15240 * benchtests/README: Update documentation.
15242 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15244 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15245 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15246 instead of FP_INIT_ROUNDMODE.
15247 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15248 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15251 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15252 copy class of input value.
15253 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15254 not handle exceptions.
15255 * soft-fp/negsf2.c (__negsf2): Likewise.
15256 * soft-fp/negtf2.c (__negtf2): Likewise.
15257 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15259 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15261 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15262 semicolon. From Linux kernel.
15264 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15266 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15268 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15271 * manual/socket.texi: Added statement about buffer
15272 for gethostbyname2_r.
15274 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15276 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15277 Use .p2align directive instead, throughout.
15278 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15279 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15280 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15281 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15282 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15283 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15284 * sysdeps/x86_64/strchr.S: Likewise.
15285 * sysdeps/x86_64/strrchr.S: Likewise.
15287 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15289 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15291 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15293 * sysdeps/generic/math_private.h (__mpsin1): Remove
15295 (__mpcos1): Likewise.
15296 (__mpsin): New argument __range_reduce.
15297 (__mpcos): Likewise.
15298 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15299 (slow): Use __mpsin and __mpcos.
15303 (sloww1): Likewise.
15304 (sloww2): Likewise.
15305 (bsloww): Likewise.
15306 (bsloww1): Likewise.
15307 (bsloww2): Likewise.
15308 (cslow2): Likewise.
15309 (csloww): Likewise.
15310 (csloww1): Likewise.
15311 (csloww2): Likewise.
15312 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15313 range_reduce. Merge in __mpsin1.
15314 (__mpcos): Likewise.
15315 (__mpsin1): Remove.
15316 (__mpcos1): Likewise.
15318 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15320 * locale/loadlocale.c (_nl_intern_locale_data): Use
15322 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15323 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15324 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15325 obstack data is appropriately aligned.
15326 (obstack_int32_grow_fast): Likewise.
15327 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15328 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15329 (add_locale_uint32_array): Likewise.
15331 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15333 * benchtests/Makefile: Remove ARGLIST and RET variables.
15334 ($(objpfx)bench-%.c): Pass only function name to the script.
15335 * benchtests/README: Update documentation.
15336 * benchtests/acos-inputs: Add new directives.
15337 * benchtests/acosh-inputs: Likewise.
15338 * benchtests/asin-inputs: Likewise.
15339 * benchtests/asinh-inputs: Likewise.
15340 * benchtests/atan-inputs: Likewise.
15341 * benchtests/atanh-inputs: Likewise.
15342 * benchtests/cos-inputs: Likewise.
15343 * benchtests/cosh-inputs: Likewise.
15344 * benchtests/exp-inputs: Likewise.
15345 * benchtests/log-inputs: Likewise.
15346 * benchtests/pow-inputs: Likewise.
15347 * benchtests/rint-inputs: Likewise.
15348 * benchtests/sin-inputs: Likewise.
15349 * benchtests/sinh-inputs: Likewise.
15350 * benchtests/tan-inputs: Likewise.
15351 * benchtests/tanh-inputs: Likewise.
15352 * scripts/bench.pl: Add support for new directives.
15354 2013-10-07 Alan Modra <amodra@gmail.com>
15356 * README: Fix careless merge.
15358 2013-10-05 Alan Modra <amodra@gmail.com>
15360 * NEWS: Mention powerpc64le support and bugs fixed.
15361 * README: Both big-endian and little-endian powerpc64 supported.
15363 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15365 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15366 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15367 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15368 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15370 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15372 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15375 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15377 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15378 Move -mhard-float appending from
15379 ports/sysdeps/powerpc/powerpc32/Makefile.
15380 [$(with-fp) = yes] (ASFLAGS): Likewise.
15381 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15382 * sysdeps/powerpc/nofpu: Move directory from
15383 ports/sysdeps/powerpc/nofpu.
15384 * sysdeps/powerpc/soft-fp: Move directory from
15385 ports/sysdeps/powerpc/soft-fp.
15386 * sysdeps/powerpc/powerpc32/405: Move directory from
15387 ports/sysdeps/powerpc/powerpc32/405.
15388 * sysdeps/powerpc/powerpc32/440: Move directory from
15389 ports/sysdeps/powerpc/powerpc32/440.
15390 * sysdeps/powerpc/powerpc32/464: Move directory from
15391 ports/sysdeps/powerpc/powerpc32/464.
15392 * sysdeps/powerpc/powerpc32/476: Move directory from
15393 ports/sysdeps/powerpc/powerpc32/476.
15394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15395 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15397 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15399 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15401 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15403 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15404 * README: Update for powerpc-*-linux-gnu software floating point
15407 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15408 case to powerpc/powerpc32*.
15409 * sysdeps/unix/sysv/linux/configure: Regenerated.
15411 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15412 (_FPU_MASK_OM): Define as 0x04.
15413 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15414 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15416 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15418 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15421 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15424 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15427 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15428 and setcontext_e500.
15430 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15432 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15434 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15436 * manual/threads.texi (Default Thread Attributes): Fix typo.
15438 2013-10-04 Will Newton <will.newton@linaro.org>
15440 * malloc/Makefile: Add tst-memalign.
15441 * malloc/tst-memalign.c: New file.
15443 * malloc/tst-posix_memalign.c: Add comments.
15444 (do_test): Add comments and call free on all potentially
15445 allocated pointers. Add space after cast.
15447 * malloc/tst-pvalloc.c: Add comments.
15448 (do_test): Add comments and call free on all potentially
15449 allocated pointers. Remove duplicate check for NULL pointer.
15450 Add space after cast.
15452 * malloc/tst-valloc.c: Add comments.
15453 (do_test): Add comments and call free on all potentially
15454 allocated pointers. Remove duplicate check for NULL pointer.
15455 Add space after cast.
15457 2013-10-04 Alan Modra <amodra@gmail.com>
15459 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15460 Use stdint types in rather than __attribute__((mode())).
15461 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15463 2013-10-04 Alan Modra <amodra@gmail.com>
15465 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15466 Correct handling of unaligned relocs for little-endian.
15467 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15469 2013-10-04 Alan Modra <amodra@gmail.com>
15471 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15472 * configure: Regenerate.
15473 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15474 * shlib-versions: Likewise.
15476 2013-10-04 Alan Modra <amodra@gmail.com>
15478 * string/tester.c (test_memrchr): Increment reported test cycle.
15480 2013-10-04 Alan Modra <amodra@gmail.com>
15482 * string/test-memcpy.c (do_one_test): When reporting errors, print
15483 string address and don't overrun end of string.
15485 2013-10-04 Alan Modra <amodra@gmail.com>
15487 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15488 insrdi. Make better use of reg selection to speed exit slightly.
15489 Schedule entry path a little better. Remove useless "are we done"
15490 checks on entry to main loop. Handle wrapping around zero address.
15491 Correct main loop count. Handle single left-over word from main
15492 loop inline rather than by using loop_small. Remove extra word
15493 case in loop_small caused by wrong loop count. Add little-endian
15495 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15496 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15498 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15499 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15500 support. Avoid rlwimi.
15501 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15503 2013-10-04 Alan Modra <amodra@gmail.com>
15505 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15506 insrdi. Formatting.
15507 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15508 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15509 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15510 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15511 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15512 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15514 2013-10-04 Alan Modra <amodra@gmail.com>
15516 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15517 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15518 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15519 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15520 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15521 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15522 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15523 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15524 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15525 use of regs. Use power7 mtocrf. Tidy function tails.
15527 2013-10-04 Alan Modra <amodra@gmail.com>
15529 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15530 Formatting. Consistently use rXXX register defines or rN defines.
15531 Use early exit labels that avoid restoring unused non-volatile regs.
15532 Make cr field use more consistent with rWORDn compares. Rename
15533 regs used as shift registers for unaligned loop, using rN defines
15534 for short lifetime/multiple use regs.
15535 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15536 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15537 addi 1,1,64 to pop stack frame. Simplify return value code.
15538 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15540 2013-10-04 Alan Modra <amodra@gmail.com>
15542 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15543 support. Correct typos, formatting. Optimize tail. Use insrdi
15544 rather than rlwimi.
15545 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15546 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15547 little-endian support. Correct typos.
15548 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15549 rather than rlwimi.
15550 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15551 in loop and entry code to keep "and." results.
15552 (strchr): Add little-endian support. Comment. Move cntlzd
15554 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15556 2013-10-04 Alan Modra <amodra@gmail.com>
15558 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15559 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15560 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15561 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15563 2013-10-04 Alan Modra <amodra@gmail.com>
15565 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15566 (rTMP): Define as r11.
15567 (strcmp): Add little-endian support. Optimise tail.
15568 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15569 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15570 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15571 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15572 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15573 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15574 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15576 2013-10-04 Alan Modra <amodra@gmail.com>
15578 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15579 little-endian support. Remove unnecessary "are we done" tests.
15580 Handle "s" wrapping around zero and extremely large "size".
15581 Correct main loop count. Handle single left-over word from main
15582 loop inline rather than by using small_loop. Correct comments.
15583 Delete "zero" tail, use "end_max" instead.
15584 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15586 2013-10-04 Alan Modra <amodra@gmail.com>
15588 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15589 support. Don't branch over align.
15590 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15591 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15592 support. Rearrange tmp reg use to suit. Comment.
15593 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15595 2013-10-04 Alan Modra <amodra@gmail.com>
15597 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15599 2013-10-04 Alan Modra <amodra@gmail.com>
15601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15602 conditional form of branch and link when obtaining pc.
15603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15605 2013-10-04 Alan Modra <amodra@gmail.com>
15607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15612 2013-10-04 Alan Modra <amodra@gmail.com>
15614 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15615 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15616 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15617 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15618 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15619 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15620 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15621 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15622 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15623 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15625 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15626 Alistair Popple <alistair@ozlabs.au.ibm.com>
15627 Alan Modra <amodra@gmail.com>
15630 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15631 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15632 _dl_hwcap access for little-endian.
15633 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15634 destroy vmx regs when saving unaligned.
15635 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15636 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15637 destroy vmx regs when saving unaligned.
15639 2013-10-04 Alan Modra <amodra@gmail.com>
15641 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15642 Don't use a union to pack hi/low value.
15644 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15646 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15648 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15649 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15650 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15651 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15652 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15654 2013-10-04 Alan Modra <amodra@gmail.com>
15656 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15657 constants to usual value for .cst8 section, and remove redundant
15659 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15660 constant for 0x1p52. Load little-endian words of double from
15661 correct stack offsets.
15663 2013-10-04 Alan Modra <amodra@gmail.com>
15665 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15666 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15667 words of double from correct stack offsets.
15668 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15669 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15670 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15671 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15672 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15673 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15674 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15675 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15676 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15677 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15678 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15679 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15680 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15681 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15682 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15683 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15684 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15686 2013-10-04 Alan Modra <amodra@gmail.com>
15688 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15689 64-bit int/double union.
15690 (_FPU_SETCW): Likewise.
15691 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15692 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15694 2013-10-04 Alan Modra <amodra@gmail.com>
15696 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15697 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15699 2013-10-04 Alan Modra <amodra@gmail.com>
15701 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15702 use vector int constants.
15703 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15705 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15707 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15708 array with long long.
15709 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15710 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15711 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15712 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15713 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15714 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15715 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15716 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15717 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15718 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15719 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15720 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15721 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15723 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15725 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15726 (__signbit): Likewise. Correct for little-endian.
15727 (__signbitl): Call __signbit.
15728 (lrint): Correct for little-endian.
15729 (lrintf): Call lrint.
15731 2013-10-04 Alan Modra <amodra@gmail.com>
15733 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15734 union 32-bit int array member with 64-bit int array.
15735 (t515, tm256): Double rather than long double.
15736 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15738 2013-10-04 Alan Modra <amodra@gmail.com>
15740 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15742 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15743 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15744 version of math_ldbl.h.
15746 2013-10-04 Alan Modra <amodra@gmail.com>
15748 [BZ #15734], [BZ #15735]
15749 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15750 all uses of ieee875 long double macros and unions. Simplify test
15751 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15752 ldbl_extract_mantissa value for ix,iy exponents. Properly
15753 normalize after ldbl_extract_mantissa, and don't add hidden bit
15754 already handled. Don't treat low word of ieee854 mantissa like
15755 low word of IBM long double and mask off bit when testing for
15757 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15758 all uses of ieee875 long double macros and unions. Simplify tests
15759 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15760 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15761 two1022, instead use their values. Recognise that tests for large
15762 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15763 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15764 Rewrite all uses of ieee875 long double macros and unions. Simplify
15765 test for 0.0L and nan. Correct negation.
15766 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15767 ieee875 long double macros and unions. Correct output for large
15768 magnitude x. Correct absolute value calculation.
15769 (__erfcl): Likewise.
15770 * math/libm-test.inc: Add tests for errors discovered in IBM long
15771 double versions of fmodl, remainderl, erfl and erfcl.
15773 2013-10-04 Alan Modra <amodra@gmail.com>
15775 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15776 all uses of ieee854 long double macros and unions. Simplify tests
15777 for long doubles that are fully specified by the high double.
15778 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15780 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15781 Remove dead code too.
15782 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15783 (__ieee754_ynl): Likewise.
15784 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15785 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15786 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15787 Remove dead code too.
15788 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15789 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15790 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15791 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15793 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15795 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15796 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15797 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15798 Comment on variable precision.
15799 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15800 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15802 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15803 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15804 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15805 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15806 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15808 2013-10-04 Alan Modra <amodra@gmail.com>
15810 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15811 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15812 all uses of ieee854 long double macros and unions.
15813 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15814 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15815 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15816 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15817 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15818 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15820 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15821 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15822 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15823 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15824 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15825 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15826 Simplify sign and nan test too.
15827 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15828 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15829 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15830 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15832 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15833 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15835 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15836 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15837 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15838 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15839 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15840 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15842 2013-10-04 Alan Modra <amodra@gmail.com>
15844 * stdio-common/printf_size.c (__printf_size): Don't use
15845 union ieee854_long_double in fpnum union.
15846 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15847 signbit macro to retrieve sign from long double.
15848 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15849 retrieve sign from long double.
15850 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15851 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15852 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15853 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15854 * math/test-misc.c (main): Don't use union ieee854_long_double.
15856 2013-10-04 Alan Modra <amodra@gmail.com>
15859 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15860 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15861 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15862 calculation. Remove unnecessary test for denormal exponent.
15863 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15864 Correct handling of denormals. Avoid undefined shift behaviour.
15865 Correct normalisation of low mantissa when low double is denormal.
15866 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15867 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15868 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15869 Correct normalisation of low mantissa. Test for overflow of high
15870 mantissa and normalise.
15871 (ldbl_nearbyint): Use more readable constant for two52.
15872 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15873 (__mpn_construct_long_double): Fix test for overflow of high
15874 mantissa and correct normalisation. Avoid undefined shift.
15876 2013-10-04 Alan Modra <amodra@gmail.com>
15878 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15879 (union ibm_extended_long_double): Define as an array of ieee754_double.
15880 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15881 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15882 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15883 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15884 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15885 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15886 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15887 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15888 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15889 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15890 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15892 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15894 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15895 page size instead of calling getpagesize.
15897 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15898 (LOCFILE_ALIGN_MASK): Likewise.
15899 (LOCFILE_ALIGN_UP): Likewise.
15900 (LOCFILE_ALIGNED_P): Likewise.
15901 * locale/programs/ld-collate.c (collate_output): Use the new
15902 macros instead of __alignof__ (int32_t).
15903 * locale/weight.h (findidx): Likewise.
15905 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15908 * manual/string.texi: Fix strncat and wcsncat.
15910 2013-10-03 Brooks Moses <bmoses@google.com>
15913 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15914 * Makerules: ...here, and adjust associated comments.
15916 2013-10-02 Will Newton <will.newton@linaro.org>
15918 * malloc/Makefile: Add tst-pvalloc.
15919 * malloc/tst-pvalloc.c: New file.
15921 2013-10-02 Will Newton <will.newton@linaro.org>
15923 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15924 improve test coverage.
15926 2013-10-02 Will Newton <will.newton@linaro.org>
15928 * malloc/Makefile: Add tst-posix_memalign.
15929 * malloc/tst-posix_memalign.c: New file.
15931 2013-10-01 Eric Blake <eblake@redhat.com>
15933 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15934 Use __THROWNL rather than __THROW on static functions.
15936 2013-09-30 Petr Machata <pmachata@redhat.com>
15938 * elf/elf.h (R_AARCH64_ABS16): New macro.
15939 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15940 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15941 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15942 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15943 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15944 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15945 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15946 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15947 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15948 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15949 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15950 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15951 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15952 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15953 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15954 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15955 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15956 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15957 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15958 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15959 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15960 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15961 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15962 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15963 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15964 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15965 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15966 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15967 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15968 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15969 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15970 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15971 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15972 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15973 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15974 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15975 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15976 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15977 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15978 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15979 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15980 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15981 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15982 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15983 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15984 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15985 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15986 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15987 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15988 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15989 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15990 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15991 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15992 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15993 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15994 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15995 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15996 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15997 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15998 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15999 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16000 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16001 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16002 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16003 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16004 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16005 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16006 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16007 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16008 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16009 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16010 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16011 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16012 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16013 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16014 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16015 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16016 (R_AARCH64_TLSDESC_LDR): Likewise.
16017 (R_AARCH64_TLSDESC_ADD): Likewise.
16018 (R_AARCH64_TLSDESC_CALL): Likewise.
16020 2013-09-30 Andreas Schwab <schwab@suse.de>
16023 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16024 the nss database lookup.
16025 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16028 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16030 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16032 2013-09-28 P. J. McDermott <pj@pehjota.net>
16034 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16035 ${Bash-specific parameter/pattern/string} parameter expansion.
16036 * sysdeps/unix/make-syscalls.sh: Likewise.
16038 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16040 * sysdeps/sh/stackguard-macros.h: New file.
16042 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16044 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16045 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16046 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16047 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16048 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16049 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16051 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16053 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16054 Fix thread ID register.
16056 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16058 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16059 [POSIX || UNIX98]: Require rather than permitting all symbols from
16061 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16062 element of struct sched_param.
16063 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16064 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16065 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16066 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16069 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16071 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16072 argument calculation.
16074 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16076 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16078 [POSIX] (pthread_attr_t): Do not require type.
16079 [POSIX] (pthread_cond_t): Likewise.
16080 [POSIX] (pthread_condattr_t): Likewise.
16081 [POSIX] (pthread_key_t): Likewise.
16082 [POSIX] (pthread_mutex_t): Likewise.
16083 [POSIX] (pthread_mutexattr_t): Likewise.
16084 [POSIX] (pthread_once_t): Likewise.
16085 [POSIX] (pthread_t): Likewise.
16086 [POSIX-based standards] (pthread_atfork): Expect function.
16088 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16089 Richard Sandiford <richard@codesourcery.com>
16091 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16092 (swap_endianness_p): New extern variable.
16093 (set_big_endian): New inline function.
16094 (maybe_swap_uint32): Likewise.
16095 (maybe_swap_uint32_array): Likewise.
16096 (maybe_swap_uint32_obstack): Likewise.
16097 * locale/programs/locfile.c: Include <stdbool.h>.
16098 (swap_endianness_p): New variable.
16099 (add_locale_uint32): Call maybe_swap_uint32.
16100 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16101 (write_locale_data): Call maybe_swap_uint32_array.
16102 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16104 (obstack_int32_grow_fast): Likewise.
16105 (output_weightwc): Call maybe_swap_uint32_obstack.
16106 (collate_output): Likewise.
16107 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16108 (OPT_LITTLE_ENDIAN): Likewise.
16109 (options): Add --little-endian and --big-endian options.
16110 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16111 * locale/programs/locarchive.c: Include "locfile.h".
16115 (create_archive): Use the new macros to access fields of
16116 structures directly mapped from or written to locale archives.
16117 (oldlocrecentcmp): Likewise.
16118 (enlarge_archive): Likewise.
16119 (insert_name): Likewise.
16120 (add_alias): Likewise.
16121 (add_locale): Likewise.
16122 (delete_locales_from_archive): Likewise.
16123 (show_archive_content): Likewise.
16124 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16127 2013-09-24 Roland McGrath <roland@hack.frob.com>
16129 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16130 http://www.gnu.org/doc/freemanuals.texi.
16131 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16133 2013-09-24 Will Newton <will.newton@linaro.org>
16135 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16138 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16140 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16143 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16145 * manual/threads.texi (POSIX Threads): Fix a typo.
16147 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16150 * string/tst-strcoll-overflow.c: New test case.
16151 * string/Makefile (xtests): Add tst-strcoll-overflow.
16152 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16153 cache if string sizes may cause integer overflow.
16156 * string/strcoll_l.c (coll_seq): New members rule, idx,
16157 save_idx and back_us.
16158 (get_next_seq_nocache): New function.
16159 (do_compare_nocache): New function.
16160 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16163 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16166 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16167 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16168 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16171 * elf/Makefile (tests): Add tst-ptrguard1.
16172 (tests-static): Add tst-ptrguard1-static.
16173 (tst-ptrguard1-ARGS): Define.
16174 (tst-ptrguard1-static-ARGS): Define.
16175 * elf/tst-ptrguard1.c: New file.
16176 * elf/tst-ptrguard1-static.c: New file.
16177 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16178 * sysdeps/i386/stackguard-macros.h: Likewise.
16179 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16180 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16181 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16182 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16183 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16184 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16186 2013-09-23 Hector Marco <hecmargi@upv.es>
16187 Ismael Ripoll <iripoll@disca.upv.es>
16188 Carlos O'Donell <carlos@redhat.com>
16191 * sysdeps/generic/stackguard-macros.h: Define
16192 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16193 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16194 Define __pointer_chk_guard_local.
16195 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16196 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16198 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16201 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16203 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16205 * include/string.h (__ffs): Declare as hidden.
16206 * string/ffs.c (__ffs): Define as hidden.
16207 * sysdeps/i386/ffs.c (__ffs): Likewise.
16208 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16209 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16210 * sysdeps/s390/ffs.c (__ffs): Likewise.
16211 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16213 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16215 * NEWS: Mention malloc probes.
16217 * malloc/arena.c (new_heap): New memory_heap_new probe.
16218 (grow_heap): New memory_heap_more probe.
16219 (shrink_heap): New memory_heap_less probe.
16220 (heap_trim): New memory_heap_free probe.
16221 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16222 (systrim): New memory_sbrk_less probe.
16223 * manual/probes.texi: Document them.
16225 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16226 * manual/probes.texi: Document it.
16228 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16229 (__libc_realloc): Add memory_realloc_retry probe.
16230 (__libc_memalign): Add memory_memalign_retry probe.
16231 (__libc_valloc): Add memory_valloc_retry probe.
16232 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16233 (__libc_calloc): Add memory_calloc_retry probe.
16234 * manual/probes.texi: Document them.
16236 * malloc/arena.c (get_free_list): Add probe
16237 memory_arena_reuse_free_list.
16238 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16239 and memory_arena_reuse.
16240 (arena_get2) [!PER_THREAD]: Likewise.
16241 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16242 memory_arena_reuse_realloc.
16243 * manual/probes.texi: Document them.
16245 * malloc/malloc.c (__libc_free): Add
16246 memory_mallopt_free_dyn_thresholds probe.
16247 (__libc_mallopt): Add multiple memory_mallopt probes.
16248 * manual/probes.texi: Document them.
16250 * malloc/malloc.c: Include stap-probe.h.
16251 (__libc_mallopt): Add memory_mallopt probe.
16252 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16253 * manual/probes.texi: New.
16254 * manual/Makefile (chapters): Add probes.
16255 * manual/threads.texi: Set next node.
16257 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16259 [BZ #15963, #13985]
16260 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16261 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16262 Add `Chinese' to `nan' entry name.
16264 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16266 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16267 (POLYNOMIAL): Likewise.
16268 (TAYLOR_SINCOS): Likewise.
16269 (TAYLOR_SLOW): Likewise.
16270 (__sin): Use TAYLOR_SINCOS.
16272 (slow): Use TAYLOR_SLOW.
16274 (bsloww): Likewise.
16275 (csloww): Likewise.
16277 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16279 * stdlib/strtod_l.c: Fix buffer overrun.
16281 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16283 * benchtests/Makefile (bench): Add sincos.
16284 * benchtests/bench-sincos.c: New file.
16286 * math/libm-test.inc (cos_test_data): New test inputs.
16287 (sin_test_data): Likewise.
16289 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16295 (sloww1): Likewise.
16296 (sloww2): Likewise.
16297 (bsloww1): Likewise.
16298 (bsloww2): Likewise.
16299 (cslow2): Likewise.
16300 (csloww1): Likewise.
16301 (csloww2): Likewise.
16303 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16308 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16312 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16314 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16315 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16316 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16317 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16318 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16319 * elf/cache.c (print_entry): Handle the new cache flags.
16321 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16322 Aldy Hernandez <aldyh@redhat.com>
16324 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16325 Change condition to [_SOFT_FLOAT].
16326 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16327 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16328 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16330 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16331 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16332 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16333 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16334 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16335 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16336 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16337 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16338 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16340 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16341 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16344 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16346 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16347 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16348 (__longjmp): Use LOAD_GP to load saved GPRs.
16349 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16350 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16351 (__sigsetjmp): Use SAVE_GP to save GPRs.
16353 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16354 Do not append -msoft-float.
16355 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16357 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16359 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16361 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16364 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16365 (_FPU_GETCW): Use initial "__" on variable and field names but not
16366 on macro parameter name.
16367 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16368 parentheses around reference to macro parameter.
16370 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16372 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16374 (ctype_startup): Use uint32_t in cast and sizeof for
16377 2013-09-11 Jia Liu <proljc@gmail.com>
16379 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16381 [__FreeBSD__]: Likewise.
16383 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16385 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16386 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16387 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16388 (strchr): Remove __strchr_sse42 ifunc selection.
16389 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16390 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16392 2013-09-11 Will Newton <will.newton@linaro.org>
16394 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16395 parameter to RES. Remove hardcoded 1000 value.
16396 * benchtests/bench-skeleton.c (main): Pass RES parameter
16397 to TIMING_INIT and multiply result by 1000.
16399 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16403 2013-09-11 Andreas Schwab <schwab@suse.de>
16405 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16407 (O_TMPFILE) [__USE_GNU]: Define.
16408 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16411 2013-09-11 Will Newton <will.newton@linaro.org>
16414 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16417 2013-09-11 Will Newton <will.newton@linaro.org>
16420 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16423 2013-09-11 Will Newton <will.newton@linaro.org>
16426 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16429 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16431 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16432 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16433 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16434 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16435 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16437 2013-09-10 Allan McRae <allan@archlinux.org>
16440 * manual/arith.texi (Parsing of Floats): Clarify
16444 * manual/install.texi (Running make install): Mention
16446 * INSTALL: Regenerated.
16448 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16450 * csu/init-first.c (_init): Remove the !SHARED condition around
16451 FPU control word initialization.
16452 * elf/dl-support.c (_dl_fpu_control): New variable.
16453 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16454 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16455 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16456 * math/test-fpucw-static.c: New file.
16457 * math/test-fpucw-ieee.c: New file.
16458 * math/test-fpucw-ieee-static.c: New file.
16459 * math/Makefile (tests): Add `test-fpucw-ieee' and
16461 (tests-static): New variable.
16462 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16464 [($(build-shared),yes)]
16465 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16467 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16470 2013-09-09 Allan McRae <allan@archlinux.org>
16473 * manual/string.texi (Collation Functions): Fix typo in
16475 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16478 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16481 * libio/memstream.c (open_memstream): Fix memory leak.
16482 * libio/wmemstream.c (open_wmemstream): Likewise.
16485 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16487 2013-09-09 Will Newton <will.newton@linaro.org>
16489 * malloc/Makefile: Add tst-realloc to tests.
16490 * malloc/tst-realloc.c: New file.
16492 2013-09-09 Allan McRae <allan@archlinux.org>
16495 * COPYING: Update from GNU website to fix FSF address.
16496 * COPYING.LIB: Likewise.
16498 2013-09-06 David S. Miller <davem@davemloft.net>
16500 * po/zh_TW.po: Update Chinese (traditional) translation from
16501 translation project.
16503 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16504 Joseph Myers <joseph@codesourcery.com>
16506 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16508 (obstack_chunk_alloc): New macro.
16509 (obstack_chunk_free): Likewise.
16510 (record_offset): New function.
16511 (init_locale_data): Likewise.
16512 (align_locale_data): Likewise.
16513 (add_locale_empty): Likewise.
16514 (add_locale_raw_data): Likewise.
16515 (add_locale_raw_obstack): Likewise.
16516 (add_locale_string): Likewise.
16517 (add_locale_wstring): Likewise.
16518 (add_locale_uint32): Likewise.
16519 (add_locale_uint32_array): Likewise.
16520 (add_locale_char): Likewise.
16521 (start_locale_structure): Likewise.
16522 (end_locale_structure): Likewise.
16523 (start_locale_prelude): Likewise.
16524 (end_locale_prelude): Likewise.
16525 (write_locale_data): Take locale_file structure rather than an
16527 * locale/programs/locfile.h: Include "obstack.h".
16528 (struct locale_file): Change to store locale file contents instead
16530 (init_locale_data): New prototype.
16531 (align_locale_data): Likewise.
16532 (add_locale_empty): Likewise.
16533 (add_locale_raw_data): Likewise.
16534 (add_locale_raw_obstack): Likewise.
16535 (add_locale_string): Likewise.
16536 (add_locale_wstring): Likewise.
16537 (add_locale_uint32): Likewise.
16538 (add_locale_uint32_array): Likewise.
16539 (add_locale_char): Likewise.
16540 (start_locale_structure): Likewise.
16541 (end_locale_structure): Likewise.
16542 (start_locale_prelude): Likewise.
16543 (end_locale_prelude): Likewise.
16544 (write_locale_data): Update prototype.
16545 * locale/programs/3level.h (struct TABLE): Remove result field.
16546 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16547 Use new locale_file interface.
16548 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16549 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16550 * locale/programs/ld-address.c (address_output): Use new
16551 locale_file interface.
16552 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16554 (collate_finish): Don't call collseq_table_finalize.
16555 (collate_output): Use new locale_file interface.
16556 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16558 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16559 (TABLE): Move defines earlier in file.
16560 (ELEMENT): Likewise.
16561 (DEFAULT): Likewise.
16562 (wctrans_table_add): Move macro and inline function earlier in
16564 (struct wctype_table): Move type earlier in file.
16565 (add_locale_wctype_table): New static prototype.
16566 (struct locale_ctype_t): Use logical types instead of struct iovec
16567 pointers for members.
16568 (ctype_output): Use new locale_file interface.
16569 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16570 new locale_file interface.
16571 (allocate_arrays): Update for use of new locale_file interface.
16572 * locale/programs/ld-identification.c (identification_output): Use
16573 new locale_file interface.
16574 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16575 * locale/programs/ld-messages.c (messages_output): Likewise.
16576 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16577 * locale/programs/ld-name.c (name_output): Likewise.
16578 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16579 * locale/programs/ld-paper.c (paper_output): Likewise.
16580 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16581 * locale/programs/ld-time.c (time_output): Likewise.
16583 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16585 * benchtests/Makefile: Add memrchr benchmark.
16586 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16587 benchmark as memrchr.
16588 * benchtests/bench-memrchr-ifunc.c: New file.
16589 * benchtests/bench-memrchr.c: New file.
16591 2013-09-06 Will Newton <will.newton@linaro.org>
16593 * benchtests/Makefile (string-bench): Add memcpy.
16595 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16596 Cong Wang <amwang@redhat.com>
16599 * sysdeps/unix/sysv/linux/bits/in.h
16600 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16601 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16602 before __USE_KERNEL_IPV6_DEFS uses.
16603 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16605 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16606 sockaddr_in6, or ipv6_mreq.
16608 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16610 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16611 memory access for final bytes in some large inputs.
16612 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16614 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16616 * string/test-memrchr.c: New file.
16617 * string/test-memrchr-ifunc.c: New file.
16618 * string/Makefile: Add new memrchr testcase.
16620 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16622 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16623 fanotify_init returns EPERM.
16625 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16627 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16629 (top level): Treat second token from macro or constant entries for
16630 allowed headers as allowed.
16631 * include/complex.h: Condition internal declarations on
16633 * include/fenv.h: Condition include of <stdbool.h> and internal
16634 declarations on [!_ISOMAC].
16636 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16639 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16641 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16643 * configure.in (--enable-versioning): Remove configure option.
16644 (libc_cv_asm_symver_directive): Remove configure test.
16645 (libc_cv_ld_version_script_option): Likewise.
16646 (VERSIONING): Remove variable and AC_SUBST.
16647 (DO_VERSIONING): Remove AC_DEFINE.
16648 * configure: Regenerated.
16649 * config.h.in (DO_VERSIONING): Remove macro.
16650 * Makerules [$(versioning) = yes]: Change conditionals to
16651 [$(build-shared) = yes].
16652 * config.make.in (versioning): Remove variable.
16653 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16654 [$(build-shared) = yes].
16655 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16656 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16657 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16658 [$(build-shared) = yes].
16659 * extra-lib.mk [$(versioning) = yes]: Likewise.
16660 * hurd/Makefile [$(versioning) = yes]: Likewise.
16661 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16663 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16665 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16666 [SHARED && !NO_HIDDEN].
16667 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16669 [SHARED && DO_VERSIONING]: Likewise..
16670 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16671 [$(build-shared) = yes].
16672 * manual/install.texi (--disable-versioning): Remove
16674 * INSTALL: Regenerated.
16675 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16677 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16678 [$(build-shared) = yes].
16679 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16680 * sysdeps/i386/i686/multiarch/strstr-c.c
16681 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16682 [SHARED && !NO_HIDDEN].
16683 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16684 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16685 * sysdeps/powerpc/powerpc32/dl-machine.c
16686 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16687 * sysdeps/powerpc/powerpc32/sysdep.h
16688 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16689 to [SHARED && PIC && !NO_HIDDEN].
16690 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16691 conditional to [SHARED].
16693 2013-09-04 Will Newton <will.newton@linaro.org>
16695 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16696 * benchtests/bench-string.h: Include bench-timing.h instead
16697 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16698 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16699 call to HP_TIMING_DIFF_INIT.
16700 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16701 instead of hp-timing.h macros.
16702 * benchtests/bench-memchr.c: Likewise.
16703 * benchtests/bench-memcmp.c: Likewise.
16704 * benchtests/bench-memcpy.c: Likewise.
16705 * benchtests/bench-memmem.c: Likewise.
16706 * benchtests/bench-memmove.c: Likewise.
16707 * benchtests/bench-memset.c: Likewise.
16708 * benchtests/bench-rawmemchr.c: Likewise.
16709 * benchtests/bench-strcasecmp.c: Likewise.
16710 * benchtests/bench-strcasestr.c: Likewise.
16711 * benchtests/bench-strcat.c: Likewise.
16712 * benchtests/bench-strchr.c: Likewise.
16713 * benchtests/bench-strcmp.c: Likewise.
16714 * benchtests/bench-strcpy.c: Likewise.
16715 * benchtests/bench-strcpy_chk.c: Likewise.
16716 * benchtests/bench-strlen.c: Likewise.
16717 * benchtests/bench-strncasecmp.c: Likewise.
16718 * benchtests/bench-strncat.c: Likewise.
16719 * benchtests/bench-strncmp.c: Likewise.
16720 * benchtests/bench-strncpy.c: Likewise.
16721 * benchtests/bench-strnlen.c: Likewise.
16722 * benchtests/bench-strpbrk.c: Likewise.
16723 * benchtests/bench-strrchr.c: Likewise.
16724 * benchtests/bench-strspn.c: Likewise.
16725 * benchtests/bench-strstr.c: Likewise.
16727 2013-09-04 Will Newton <will.newton@linaro.org>
16729 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16731 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16734 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16735 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16736 * math/libm-test.inc (lgamma_test_data): Add more tests.
16737 * sysdeps/i386/fpu/libm-test-ulps: Update.
16738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16740 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16742 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16743 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16746 Add strcmp-sse2-unaligned
16747 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16749 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16751 * Versions.def (libc): Add GLIBC_2.19.
16753 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16755 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16756 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16758 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16761 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16762 intermediate calculations in recurrence.
16763 (__ieee754_ynf): Likewise.
16764 * math/libm-test.inc (jn_test_data): Do not allow spurious
16765 underflow exception. Add more tests.
16766 (yn_test_data): Add more tests.
16767 * sysdeps/i386/fpu/libm-test-ulps: Update.
16768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16770 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16772 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16774 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16776 * csu/init-first.c: Fix then/than typos.
16777 * locale/programs/ld-collate.c: Likewise.
16778 * locale/programs/linereader.h: Likewise.
16779 * manual/charset.texi: Likewise.
16780 * manual/filesys.texi: Likewise.
16781 * manual/stdio.texi: Likewise.
16782 * manual/string.texi: Likewise.
16783 * stdlib/fmtmsg.c: Likewise.
16784 * sysdeps/i386/stpncpy.S: Likewise.
16785 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16786 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16787 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16788 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16790 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16792 * elf/dl-open.c: Fix typos.
16793 * iconvdata/gbbig5.c: Likewise.
16794 * iconvdata/iso-2022-jp.c: Likewise.
16795 * iconv/gconv_int.h: Likewise.
16796 * iconv/loop.c: Likewise.
16797 * nis/rpcsvc/nis.h: Likewise.
16798 * resolv/ns_name.c: Likewise.
16799 * stdio-common/vfscanf.c: Likewise.
16800 * streams/stropts.h: Likewise.
16801 * sunrpc/rpc_thread.c: Likewise.
16802 * sysdeps/i386/strpbrk.S: Likewise.
16803 * sysdeps/ieee754/k_standard.c: Likewise.
16804 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16805 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16806 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16807 * sysdeps/mach/hurd/profil.c: Likewise.
16808 * sysdeps/s390/dl-procinfo.h: Likewise.
16809 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16810 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16811 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16812 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16813 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16815 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16817 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16818 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16820 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16822 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16823 aix specific files.
16824 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16825 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16826 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16827 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16828 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16829 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16830 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16831 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16833 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16834 Roland McGrath <roland@hack.frob.com>
16836 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16837 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16839 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16841 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16842 __executable_start symbol instead of _start.
16844 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16846 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16847 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16849 * sysdeps/gnu/ldsodefs.h: ... this new file.
16851 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16852 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16853 instead of ELFOSABI_LINUX.
16855 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16856 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16857 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16858 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16860 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16861 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16862 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16864 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16865 (ibm_extended_long_double): Add ieee_nan member.
16866 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16867 (do_test): New function.
16869 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16871 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16872 functions, renamed from truncdfsf_test, trunctfsf_test,
16874 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16876 (do_test): Run all these.
16878 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16880 * argp/argp-help.c: Fix typos.
16881 * argp/argp-parse.c: Likewise.
16882 * debug/backtracesyms.c: Likewise.
16883 * elf/elf.h: Likewise.
16884 * malloc/malloc.c: Likewise.
16885 * nis/nis_print.c: Likewise.
16886 * resolv/res_comp.c: Likewise.
16887 * stdlib/stdlib.h: Likewise.
16888 * sunrpc/clnt_tcp.c: Likewise.
16889 * sunrpc/clnt_udp.c: Likewise.
16890 * sunrpc/clnt_unix.c: Likewise.
16891 * sysdeps/unix/bsd/ptsname.c: Likewise.
16892 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16893 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16900 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16902 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16904 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16907 2013-08-27 Mike Frysinger <vapier@gentoo.org>
16910 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16911 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16912 ($(objpfx)bug-dl-leaf): New rule.
16913 ($(objpfx)bug-dl-leaf.so): Likewise.
16914 ($(objpfx)bug-dl-leaf.out): Likewise.
16915 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16916 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16917 * dlfcn/bug-dl-leaf.c: New test.
16918 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16919 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16920 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16921 (dlclose): Likewise.
16922 (dlmopen): Likewise.
16924 2013-08-27 Roland McGrath <roland@hack.frob.com>
16926 * include/netdb.h [!_ISOMAC]:
16927 Don't include <tls.h>.
16928 (h_errno, __libc_h_errno): Move declaration and macros out of
16931 * include/resolv.h [_RESOLV_H_]:
16932 Don't include <tls.h>.
16933 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16934 * resolv/res_libc.c: Don't include <tls.h>.
16935 (_res): Use __attribute__ ((nocommon)) in place of
16936 __attribute__ ((section (".bss"))).
16938 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16939 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16941 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16943 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16944 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16946 * resolv/res_mkquery.c: Include <sys/time.h>.
16948 * inet/ifreq.c: Moved to ...
16949 * sysdeps/unix/ifreq.c: ... here.
16950 * inet/ifreq.c: New file, true stub version.
16952 * socket/sa_len.c: New file.
16953 * socket/Makefile (aux): Add it.
16954 * sysdeps/unix/sysv/linux/Makefile
16955 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16956 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16957 and #include <socket/sa_len.c>.
16958 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16959 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16961 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16962 * bits/socket.h: ... here.
16964 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16965 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16966 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16968 2013-08-27 Andreas Schwab <schwab@suse.de>
16971 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16972 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16973 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16974 * string/test-strcasecmp.c (test_main): Run tests in several
16976 * string/test-strncasecmp.c (test_main): Likewise.
16978 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16979 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16980 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16981 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16982 (__strncasecmp_ssse3) [PIC]: Likewise.
16984 2013-08-26 Roland McGrath <roland@hack.frob.com>
16986 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16988 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16989 instead of explicitly declaring xdecrypt.
16990 * nis/nss_nis/nis-publickey.c: Likewise.
16992 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16995 * nscd/aicache.c: Include res_hconf.h.
16996 (addhstaiX): Initialize res_hconf.
16998 2013-08-26 Andreas Schwab <schwab@suse.de>
17000 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17001 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17003 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17005 * nscd/aicache.c (addhstaiX): Fix indentation.
17007 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17009 * configure.ac: Quote $build_pt_chown test.
17010 * configure: Regenerated.
17012 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17015 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17016 * math/s_cexpf.c (__cexpf): Likewise.
17017 * math/s_cexpl.c (__cexpl): Likewise.
17018 * math/libm-test.inc (cexp_test_data): Correct expected return
17019 value for NaN + i0. Add another test.
17021 2013-08-22 David S. Miller <davem@davemloft.net>
17023 * po/ca.po: Update Catalan translation from translation project.
17024 * po/uk.po: Add Ukrainian translations from translation project.
17026 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17029 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17030 is infinite, not alongside NaN test.
17031 * math/s_fdimf.c (__fdimf): Likewise.
17032 * math/s_fdiml.c (__fdiml): Likewise.
17033 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17034 errno is unchanged.
17036 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17038 * argp/argp-help.c: Fix typos.
17039 * crypt/speeds.c: Likewise.
17040 * csu/check_fds.c: Likewise.
17041 * elf/dl-load.c: Likewise.
17042 * elf/dl-open.c: Likewise.
17043 * elf/reldep3.c: Likewise.
17044 * elf/reldep.c: Likewise.
17045 * elf/sprof.c: Likewise.
17046 * iconv/iconv_charmap.c: Likewise.
17047 * iconv/skeleton.c: Likewise.
17048 * iconv/strtab.c: Likewise.
17049 * io/lockf64.c: Likewise.
17050 * libio/libioP.h: Likewise.
17051 * resolv/gai_notify.c: Likewise.
17052 * resolv/ns_name.c: Likewise.
17053 * resolv/ns_samedomain.c: Likewise.
17054 * resolv/res_send.c: Likewise.
17055 * stdlib/random.c: Likewise.
17056 * sunrpc/rpc/xdr.h: Likewise.
17057 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17058 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17059 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17060 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17061 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17062 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17063 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17064 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17065 * sysdeps/mach/hurd/check_fds.c: Likewise.
17066 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17067 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17068 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17069 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17070 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17071 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17072 * sysdeps/pthread/aio_notify.c: Likewise.
17073 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17074 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17075 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17076 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17077 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17079 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17081 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17082 version if bit_Slow_SSE4_2 is set.
17083 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17084 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17086 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17089 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17090 trampoline stack frame information.
17091 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17092 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17093 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17094 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17095 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17096 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17097 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17098 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17100 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17101 interrupting a syscall and set with option SA_SIGINFO.
17103 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17106 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17107 argument is infinite.
17108 * math/s_cprojf.c (__cprojf): Likewise.
17109 * math/s_cprojl.c (__cprojl): Likewise.
17110 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17111 * math/libm-test.inc (cproj_test_data): Add more tests.
17113 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17115 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17116 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17117 size. Use __ffs to determine corresponding shift.
17119 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17120 Roland McGrath <roland@hack.frob.com>
17122 * Makefile (INSTALL): Remove trailing blank lines from output of
17125 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17127 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17128 Align 32 bit compat elf_greg to 8 bytes.
17130 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17132 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17134 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17136 * string/strcoll_l.c (coll_seq): New structure.
17137 (get_next_seq_cached): New function.
17138 (get_next_seq): New function.
17139 (do_compare): New function.
17140 (STRCOLL): Use GNU style definition. Simplify implementation
17141 by using get_next_seq, get_next_seq_cached and do_compare.
17143 2013-08-16 Florian Weimer <fweimer@redhat.com>
17147 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17149 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17151 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17152 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17153 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17155 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17156 GETDENTS_64BIT_ALIGNED.
17157 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17158 * manual/filesys.texi (Reading/Closing Directory): Document
17159 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17161 * manual/conf.texi (Limits for Files): Add portability note to
17162 NAME_MAX, PATH_MAX.
17163 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17165 2013-08-13 Andreas Schwab <schwab@suse.de>
17168 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17170 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17171 LDBL_MAX_EXP >= 16384]: Add tests for it.
17173 2013-08-12 David S. Miller <davem@davemloft.net>
17175 * version.h (RELEASE): Set to "development".
17176 (VERSION): Set to "2.18.90".
17177 * NEWS: Add 2.19 section.
17179 2013-08-03 David S. Miller <davem@davemloft.net>
17181 * po/ko.po: Update Korean translation from translation project.
17183 2013-08-01 David S. Miller <davem@davemloft.net>
17185 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17186 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17189 2013-07-30 David S. Miller <davem@davemloft.net>
17191 * po/fr.po: Update French translation from translation project.
17193 2013-07-28 David S. Miller <davem@davemloft.net>
17195 * po/cs.po: Update Czech translation from translation project.
17197 * po/sv.po: Update Swedish translation from translation project.
17199 2013-07-27 David S. Miller <davem@davemloft.net>
17201 * po/eo.po: Update Esperanto translation from translation project.
17203 * po/vi.po: Update Vietnamese translation from translation project.
17205 * po/de.po: Update German translation from translation project.
17207 2013-07-26 David S. Miller <davem@davemloft.net>
17209 * po/bg.po: Update Bulgarian translation from translation project.
17211 * po/nl.po: Update Dutch translation from translation project.
17212 * po/pl.po: Update Polish translation from translation project.
17213 * po/ru.po: Update Russian translation from translation project.
17215 2013-07-24 David S. Miller <davem@davemloft.net>
17217 * po/libc.pot: Update.
17219 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17221 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17222 variable page size.
17223 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17224 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17225 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17227 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17229 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17231 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17232 Andreas Schwab <schwab@suse.de>
17233 Roland McGrath <roland@hack.frob.com>
17234 Joseph Myers <joseph@codesourcery.com>
17235 Carlos O'Donell <carlos@redhat.com>
17238 * config.h.in: Define HAVE_PT_CHOWN.
17239 * config.make.in (build-pt-chown): New variable.
17240 * configure.in (--enable-pt_chown): New configure option.
17241 * configure: Regenerate.
17242 * login/Makefile: Include Makeconfig. Build pt_chown only if
17243 build-pt-chown is enabled.
17244 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17245 pt_chown to fix pty ownership.
17246 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17248 * manual/install.texi (Configuring and compiling): Mention
17249 --enable-pt_chown. Add @findex for grantpt.
17250 * INSTALL: Regenerate.
17252 2013-07-20 David S. Miller <davem@davemloft.net>
17254 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17255 difference between 32-bit and 64-bit.
17257 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17260 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17261 Avoid system header dependency with -ffreestanding.
17262 ($(objpfx)bits/syscall%d): Likewise.
17264 2013-07-13 David S. Miller <davem@davemloft.net>
17266 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17267 underflows from atanl/atan2l due to bug 15319.
17268 (casinh_test_data): Likewise.
17270 2013-07-07 David S. Miller <davem@davemloft.net>
17272 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17274 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17276 * sysdeps/i386/fpu/libm-test-ulps: Update.
17277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17279 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17281 * configure.in (--enable-lock-elision): Fix message text.
17282 * INSTALL: Regenerate.
17283 * configure: Regenerate.
17285 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17289 2013-07-03 Andreas Jaeger <aj@suse.de>
17291 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17293 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17294 (ptrace_peeksiginfo_args): Add.
17295 (__ptrace_peeksiginfo_flags): Add.
17296 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17297 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17298 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17300 2013-07-03 Allan McRae <allan@archlinux.org>
17302 * sysdeps/i386/fpu/libm-test-ulps: Update.
17304 2013-07-02 David S. Miller <davem@davemloft.net>
17306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17308 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17310 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17312 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17314 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17317 2013-07-02 Andi Kleen <ak@linux.intel.com>
17319 * config.h.in (ENABLE_LOCK_ELISION): Add.
17320 * configure.in (--enable-lock-elision): Add option.
17321 * manual/install.texi: Document --enable lock elision.
17322 * configure: Regenerate
17323 * INSTALL: Regenerate.
17325 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17327 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17328 SSE4.2 strcasecmp for libc.a.
17329 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17331 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17334 * soft-fp/op-common.h (_FP_FMA): New macro.
17335 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17336 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17337 (_FP_MUL_MEAT_1_imm): ... here.
17338 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17339 (_FP_MUL_MEAT_1_wide): ... here.
17340 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17341 (_FP_MUL_MEAT_1_hard): ... here.
17342 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17343 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17344 (_FP_MUL_MEAT_2_wide): ... here.
17345 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17346 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17347 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17348 (_FP_MUL_MEAT_2_gmp): ... here.
17349 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17350 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17351 (_FP_MUL_MEAT_4_wide): ... here.
17352 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17353 (_FP_MUL_MEAT_4_gmp): ... here.
17354 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17355 (_FP_WFRACBITS_DW_S): Likewise.
17356 (_FP_WFRACXBITS_DW_S): Likewise.
17357 (_FP_HIGHBIT_DW_S): Likewise.
17358 (FP_FMA_S): Likewise.
17359 (_FP_FRAC_HIGH_DW_S): Likewise.
17360 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17361 (_FP_WFRACBITS_DW_D): Likewise.
17362 (_FP_WFRACXBITS_DW_D): Likewise.
17363 (_FP_HIGHBIT_DW_D): Likewise.
17364 (FP_FMA_D): Likewise.
17365 (_FP_FRAC_HIGH_DW_D): Likewise.
17366 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17367 (_FP_WFRACBITS_DW_E): Likewise.
17368 (_FP_WFRACXBITS_DW_E): Likewise.
17369 (_FP_HIGHBIT_DW_E): Likewise.
17370 (FP_FMA_E): Likewise.
17371 (_FP_FRAC_HIGH_DW_E): Likewise.
17372 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17373 (_FP_WFRACBITS_DW_Q): Likewise.
17374 (_FP_WFRACXBITS_DW_Q): Likewise.
17375 (_FP_HIGHBIT_DW_Q): Likewise.
17376 (FP_FMA_Q): Likewise.
17377 (_FP_FRAC_HIGH_DW_Q): Likewise.
17378 * soft-fp/fmasf4.c: New file.
17379 * soft-fp/fmadf4.c: Likewise.
17380 * soft-fp/fmatf4.c: Likewise.
17382 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17385 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17387 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17389 (index_Slow_SSE4_2): Likewise.
17390 (index_Prefer_PMINUB_for_stringop): Likewise.
17391 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17392 bit_Slow_SSE4_2 is set.
17393 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17394 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17396 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17398 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17399 rtld_global._dl_hwcap2.
17400 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17402 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17403 POWER8 feature descriptions defined in _dl_hwcap2.
17404 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17405 string handling for POWER8 feature bits.
17406 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17407 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17408 _dl_powerpc_cap_flags.
17409 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17410 * sysdeps/powerpc/rtld-global-offsets.sym
17411 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17412 _dl_hwcap2 in the rtld_global_ro structure.
17414 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17416 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17417 hardware capabilities in support of AT_HWCAP2.
17418 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17419 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17421 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17422 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17423 explicitly the unknown a_type display mechanism is used.
17424 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17425 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17427 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17428 to macro prototype for AT_HWCAP2 support.
17429 * sysdeps/i386/dl-procinfo.h: Likewise.
17430 * sysdeps/s390/dl-procinfo.h: Likewise.
17431 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17432 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17433 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17434 return -1 for unknown a_type display fallback.
17435 * sysdeps/sparc/dl-procinfo.h: Likewise.
17436 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17437 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17439 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17441 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17442 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17444 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17447 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17448 mprotect making __stack_prot writable.
17450 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17451 Joseph Myers <joseph@codesourcery.com>
17453 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17454 as being properly aligned.
17456 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17458 * dlfcn/modstatic5.c: New file.
17459 * dlfcn/tststatic5.c: New file.
17460 * dlfcn/Makefile (tests): Add tststatic5.
17461 (tests-static): Likewise.
17462 (modules-names): Add modstatic5.
17463 (tststatic5-ENV): New variable.
17464 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17467 * elf/dl-support.c (_dl_main_map): New variable.
17468 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17469 (_dl_nns, _dl_load_adds): Set to 1.
17470 (_dl_initial_searchlist): Refer to _dl_main_map.
17471 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17472 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17473 call to _dl_get_origin.
17474 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17476 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17477 * dlfcn/modstatic3.c: New file.
17478 * dlfcn/tststatic3.c: New file.
17479 * dlfcn/tststatic4.c: New file.
17480 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17481 (tests-static): Likewise.
17482 (modules-names): Add modstatic3.
17483 (tststatic3-ENV, tststatic4-ENV): New variables.
17484 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17485 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17487 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17489 * configure.in (CC): Require GCC version 4.4 or later.
17490 * configure: Regenerated.
17491 * manual/install.texi (Tools for Compilation): Update GCC version
17493 * INSTALL: Regenerated.
17495 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17498 * string/test-memcmp.c (check2): New.
17499 (main): Call check2.
17501 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17503 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17506 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17508 (dl_open_worker) [!SHARED]: ... here.
17510 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17512 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17514 2013-06-25 Richard Henderson <rth@redhat.com>
17516 * locale/programs/locarchive.c: Include <libc-internal.h>
17518 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17520 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17521 trailing whitespace removed.
17523 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17526 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17527 * locale/programs/locarchive.c: Include libc-mmap.h.
17528 (prepare_address_space): Take two new outputs (the mmap base and len).
17529 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17531 (create_archive): Declare new mmap base and len values for
17532 prepare_address_space, and store the result in ah.
17533 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17534 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17535 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17536 Declare new mmap base and len values for
17537 prepare_address_space, and store the result in new_ah.
17538 (open_archive): Declare new mmap base and len values for
17539 prepare_address_space, and store the result in ah.
17540 (close_archive): If ah->mmap_base is not NULL, use that and
17541 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17542 * sysdeps/generic/libc-mmap.h: New file.
17544 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17546 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17547 (ALIGN_UP): Likewise.
17548 (PTR_ALIGN_DOWN): Likewise.
17549 (PTR_ALIGN_UP): Likewise.
17551 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17553 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17554 entry mapped to PPC_PLATFORM_POWER8.
17555 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17557 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17558 (_dl_string_platform): Add case for exporting platform position for
17560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17561 search path to sysdeps/powerpc/powerpc32/power8 directory.
17562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17563 search path to sysdeps/powerpc/powerpc64/power8 directory.
17564 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17565 power7 directories.
17566 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17567 power7 directories.
17569 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17571 * INSTALL: Regenerate.
17573 * nscd/connections.c (nscd_init): Fix comment.
17575 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17577 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17580 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17581 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17583 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17585 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17587 (DL_DST_REQ_STATIC): Remove macro.
17589 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17592 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17593 with a shift of 0 bits.
17595 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17597 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17600 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17603 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17605 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17607 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17608 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17609 accepts -fno-tree-loop-distribute-patterns.
17610 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17611 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17613 * string/memset.c (memset): Likewise.
17614 * string/test-memmove.c (simple_memmove): Disable loop transformation
17616 * string/test-memset.c (simple_memset): Likewise.
17617 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17618 * benchtests/bench-memset.c (simple_memset): Likewise.
17619 * configure: Regenerated.
17621 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17623 * math/test-misc.c (main): Ignore fesetround failure when failures
17624 of subsequent rounding tests would be ignored.
17627 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17628 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17629 * math/fegetenv.c (__fegetenv): Return 0.
17630 * math/fegetexcept.c (fegetexcept): Return 0.
17631 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17633 * math/feholdexcpt.c (feholdexcept): Return 0.
17634 * math/fesetenv.c (__fesetenv): Return 0.
17635 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17636 argument FE_TONEAREST.
17637 * math/feupdateenv.c (__feupdateenv): Return 0.
17638 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17640 2013-06-18 Roland McGrath <roland@hack.frob.com>
17642 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17643 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17644 ($(objpfx)rtld-%.os rules): Use them.
17646 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17648 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17651 2013-06-17 Roland McGrath <roland@hack.frob.com>
17653 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17654 length of target pattern, then descending length of dependency pattern.
17655 * configure.in (AWK): Require gawk 3.1.2 or newer.
17656 * manual/install.texi (Tools for Compilation): Say that we do.
17657 * configure: Regenerated.
17659 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17660 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17661 * scripts/sysd-rules.awk: ... this new script.
17662 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17663 than a glob-style pattern.
17665 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17667 * math/test-misc.c (main): Do not treat incorrectly rounded
17668 conversions as failure unless ROUNDING_TESTS passes.
17670 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17673 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17674 restore exception state around main square root computation, then
17675 check for inexactness explicitly.
17677 * math/libm-test.inc (fma_test_data): Add another test.
17679 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17681 * manual/threads.texi (Non-POSIX Extensions): New document
17682 node. Document pthread_getattr_default_np and
17683 pthread_setattr_default_np.
17685 * Versions.def (libpthread): Add GLIBC_2.18.
17686 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17695 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17706 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17709 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17711 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17712 H.J. Lu <hjl.tools@gmail.com>
17715 * sysdeps/x86_64/rtld-memset.c: Remove file.
17716 * sysdeps/x86_64/rtld-memset.S: New file.
17718 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17720 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17721 (test_in_one_mode): Take arguments for whether the rounding mode
17722 is supported for each floating-point type.
17723 (do_test): Pass new arguments to test_in_one_mode using
17726 2013-06-13 Roland McGrath <roland@hack.frob.com>
17728 * posix/tst-waitid.c (do_test): Distinguish different instances of
17729 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17730 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17731 before entering the kernel for waitpid.
17733 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17735 * NEWS: Fix note on clock function precision. Text by Roland
17738 2013-06-13 Roland McGrath <roland@hack.frob.com>
17740 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17741 it into place only when and if the sanity check passes.
17743 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17745 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17746 output for whether conversion result is exact. Take argument
17747 indicating whether type is IBM long double.
17748 (round_for_all): Change need_exact field to ibm_ld.
17749 * stdlib/tst-strtod-round.c (struct exactness): New type.
17750 (struct test): Change bool ld_ok field to struct exactness exact.
17751 (TEST): Update all definitions for change to field.
17752 (tests): Regenerate array contents.
17753 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17754 field value. Check for IBM long double here.
17755 (do_test): Update calls to test_in_one_mode.
17757 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17760 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17761 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17763 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17766 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17767 generated by the compiler on loop optimizations.
17768 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17769 general definitions.
17771 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17773 * math/bug-nextafter.c: Include <math-tests.h>.
17774 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17776 * math/bug-nexttoward.c: Include <math-tests.h>.
17777 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17779 * math/test-misc.c: Include <math-tests.h>.
17780 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17783 2013-06-12 Andreas Jaeger <aj@suse.de>
17785 * po/ia.po: Update Interlingua translation from translation
17788 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17790 * include/fenv.h: Include stdbool.h.
17791 (struct rm_ctx): New structure.
17792 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17794 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17795 (SET_RESTORE_ROUNDF): Likewise.
17796 (SET_RESTORE_ROUNDL): Likewise.
17797 (SET_RESTORE_ROUND_NOEX): Likewise.
17798 (SET_RESTORE_ROUND_NOEXF): Likewise.
17799 (SET_RESTORE_ROUND_NOEXL): Likewise.
17800 (SET_RESTORE_ROUND_53BIT): Likewise.
17801 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17802 (libc_feresetround_noexf_ctx): Likewise.
17803 (libc_feresetround_noexl_ctx): Likewise.
17804 (libc_feholdsetround_53bit_ctx): Likewise.
17805 (libc_feresetround_53bit_ctx): Likewise.
17806 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17807 (libc_feholdexcept_setround_sse_ctx): New function.
17808 (libc_fesetenv_sse_ctx): Likewise.
17809 (libc_feupdateenv_sse_ctx): Likewise.
17810 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17811 (libc_feholdexcept_setround_387_ctx): Likewise.
17812 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17813 (libc_feholdsetround_387_prec_ctx): Likewise.
17814 (libc_feholdsetround_387_ctx): Likewise.
17815 (libc_feholdsetround_387_53bit_ctx): Likewise.
17816 (libc_feholdsetround_sse_ctx): Likewise.
17817 (libc_feresetround_sse_ctx): Likewise.
17818 (libc_feresetround_387_ctx): Likewise.
17819 (libc_feupdateenv_387_ctx): Likewise.
17820 (libc_feholdexcept_setroundf_ctx): Define macro.
17821 (libc_fesetenvf_ctx): Likewise.
17822 (libc_feupdateenvf_ctx): Likewise.
17823 (libc_feholdsetroundf_ctx): Likewise.
17824 (libc_feresetroundf_ctx): Likewise.
17825 (libc_feholdexcept_setround_ctx): Likewise.
17826 (libc_fesetenv_ctx): Likewise.
17827 (libc_feupdateenv_ctx): Likewise.
17828 (libc_feholdsetround_ctx): Likewise.
17829 (libc_feresetround_ctx): Likewise.
17830 (libc_feholdexcept_setroundl_ctx): Likewise.
17831 (libc_feupdateenvl_ctx): Likewise.
17832 (libc_feholdsetroundl_ctx): Likewise.
17833 (libc_feresetroundl_ctx): Likewise.
17834 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17835 (libc_feresetround_53bit_ctx): Likewise.
17837 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17839 * locale/iso-639.def: Convert to UTF-8.
17841 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17843 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17844 (EXCEPTION_TESTS_double): Likewise.
17845 (EXCEPTION_TESTS_long_double): Likewise.
17846 (EXCEPTION_TESTS): Likewise.
17847 * math/libm-test.inc (test_exceptions): Only test exceptions if
17848 EXCEPTION_TESTS (FLOAT).
17850 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17852 * benchtests/Makefile (string-bench): Add strcpy_chk and
17854 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17855 * benchtests/bench-stpcpy_chk.c: New file.
17856 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17857 * benchtests/bench-strcpy_chk.c: New file.
17858 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17860 (do_test): Likewise.
17862 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17864 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17865 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17866 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17867 with tabs where appropriate.
17868 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17870 [PPC_PLATFORM_PPC440]: Likewise.
17871 [PPC_PLATFORM_PPC464]: Likewise.
17872 [PPC_PLATFORM_PPC476]: Likewise.
17873 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17874 ppc464, and ppc476 platform strings merging from ports/
17877 2013-06-11 Andreas Schwab <schwab@suse.de>
17880 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17881 (from_ucs4_idx): Regenerate.
17882 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17883 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17884 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17885 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17886 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17887 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17888 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17889 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17890 from FROM_LOOP and TO_LOOP specific macros.
17891 (BODY): Handle combining characters.
17892 * iconvdata/BIG5HKSCS.irreversible: Update.
17893 * iconvdata/BIG5HKSCS.precomposed: New file.
17894 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17896 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17898 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17900 * include/sys/time.h: Fix indentation and add copyright header.
17902 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17903 (do_test): Likewise.
17904 * string/test-memchr.c (do_one_test): Likewise.
17905 (do_test): Likewise.
17906 * string/test-memcmp.c (do_one_test): Likewise.
17907 (do_test): Likewise.
17908 * string/test-memcpy.c (do_one_test): Likewise.
17909 (do_test): Likewise.
17910 * string/test-memmem.c (do_one_test): Likewise.
17911 (do_test): Likewise.
17912 (do_random_tests): Likewise.
17913 * string/test-memmove.c (do_one_test): Likewise.
17914 (do_test): Likewise.
17915 * string/test-memset.c (do_one_test): Likewise.
17916 (do_test): Likewise.
17917 * string/test-rawmemchr.c (do_one_test): Likewise.
17918 (do_test): Likewise.
17919 * string/test-strcasecmp.c (do_one_test): Likewise.
17920 (do_test): Likewise.
17921 * string/test-strcasestr.c (do_one_test): Likewise.
17922 (do_test): Likewise.
17923 * string/test-strcat.c (do_one_test): Likewise.
17924 (do_test): Likewise.
17925 * string/test-strchr.c (do_one_test): Likewise.
17926 (do_test): Likewise.
17927 * string/test-strcmp.c (do_one_test): Likewise.
17928 (do_test): Likewise.
17929 * string/test-strcpy.c (do_one_test): Likewise.
17930 (do_test): Likewise.
17931 * string/test-string.h: Likewise.
17932 (test_init): Likewise.
17933 * string/test-strlen.c (do_one_test): Likewise.
17934 (do_test): Likewise.
17935 * string/test-strncasecmp.c (do_one_test): Likewise.
17936 (do_test): Likewise.
17937 * string/test-strncat.c (do_one_test): Likewise.
17938 (do_test): Likewise.
17939 * string/test-strncmp.c (do_one_test): Likewise.
17940 (do_test_limit): Likewise.
17941 (do_test): Likewise.
17942 * string/test-strncpy.c (do_one_test): Likewise.
17943 (do_test): Likewise.
17944 * string/test-strnlen.c (do_one_test): Likewise.
17945 (do_test): Likewise.
17946 * string/test-strpbrk.c (do_one_test): Likewise.
17947 (do_test): Likewise.
17948 * string/test-strrchr.c (do_one_test): Likewise.
17949 (do_test): Likewise.
17950 * string/test-strspn.c (do_one_test): Likewise.
17951 (do_test): Likewise.
17952 * string/test-strstr.c (do_one_test): Likewise.
17953 (do_test): Likewise.
17955 * benchtests/Makefile (string-bench): Add string benchmarks.
17956 * benchtests/bench-bcopy-ifunc.c: New file.
17957 * benchtests/bench-bcopy.c: New file.
17958 * benchtests/bench-bzero-ifunc.c: New file.
17959 * benchtests/bench-bzero.c: New file.
17960 * benchtests/bench-memccpy-ifunc.c: New file.
17961 * benchtests/bench-memccpy.c: New file.
17962 * benchtests/bench-memchr-ifunc.c: New file.
17963 * benchtests/bench-memchr.c: New file.
17964 * benchtests/bench-memcmp-ifunc.c: New file.
17965 * benchtests/bench-memcmp.c: New file.
17966 * benchtests/bench-memmem-ifunc.c: New file.
17967 * benchtests/bench-memmem.c: New file.
17968 * benchtests/bench-memmove-ifunc.c: New file.
17969 * benchtests/bench-memmove.c: New file.
17970 * benchtests/bench-mempcpy-ifunc.c: New file.
17971 * benchtests/bench-mempcpy.c: New file.
17972 * benchtests/bench-memset-ifunc.c: New file.
17973 * benchtests/bench-memset.c: New file.
17974 * benchtests/bench-rawmemchr-ifunc.c: New file.
17975 * benchtests/bench-rawmemchr.c: New file.
17976 * benchtests/bench-stpcpy-ifunc.c: New file.
17977 * benchtests/bench-stpcpy.c: New file.
17978 * benchtests/bench-stpncpy-ifunc.c: New file.
17979 * benchtests/bench-stpncpy.c: New file.
17980 * benchtests/bench-strcasecmp-ifunc.c: New file.
17981 * benchtests/bench-strcasecmp.c: New file.
17982 * benchtests/bench-strcasestr-ifunc.c: New file.
17983 * benchtests/bench-strcasestr.c: New file.
17984 * benchtests/bench-strcat-ifunc.c: New file.
17985 * benchtests/bench-strcat.c: New file.
17986 * benchtests/bench-strchr-ifunc.c: New file.
17987 * benchtests/bench-strchr.c: New file.
17988 * benchtests/bench-strchrnul-ifunc.c: New file.
17989 * benchtests/bench-strchrnul.c: New file.
17990 * benchtests/bench-strcmp-ifunc.c: New file.
17991 * benchtests/bench-strcmp.c: New file.
17992 * benchtests/bench-strcpy-ifunc.c: New file.
17993 * benchtests/bench-strcpy.c: New file.
17994 * benchtests/bench-strcspn-ifunc.c: New file.
17995 * benchtests/bench-strcspn.c: New file.
17996 * benchtests/bench-strlen-ifunc.c: New file.
17997 * benchtests/bench-strlen.c: New file.
17998 * benchtests/bench-strncasecmp-ifunc.c: New file.
17999 * benchtests/bench-strncasecmp.c: New file.
18000 * benchtests/bench-strncat-ifunc.c: New file.
18001 * benchtests/bench-strncat.c: New file.
18002 * benchtests/bench-strncmp-ifunc.c: New file.
18003 * benchtests/bench-strncmp.c: New file.
18004 * benchtests/bench-strncpy-ifunc.c: New file.
18005 * benchtests/bench-strncpy.c: New file.
18006 * benchtests/bench-strnlen-ifunc.c: New file.
18007 * benchtests/bench-strnlen.c: New file.
18008 * benchtests/bench-strpbrk-ifunc.c: New file.
18009 * benchtests/bench-strpbrk.c: New file.
18010 * benchtests/bench-strrchr-ifunc.c: New file.
18011 * benchtests/bench-strrchr.c: New file.
18012 * benchtests/bench-strspn-ifunc.c: New file.
18013 * benchtests/bench-strspn.c: New file.
18014 * benchtests/bench-strstr-ifunc.c: New file.
18015 * benchtests/bench-strstr.c: New file.
18017 * benchtests/Makefile: Disable parallel execution of targets.
18018 (string-bench): Add memcpy.
18019 (benchset): New variable to store a list of benchmark sets.
18020 (bench-func): Renamed from bench.
18021 (bench-set): New target.
18022 (bench): Depend on bench-func and bench-set.
18023 * benchtests/README: Add section on benchmark sets.
18024 * benchtests/bench-memcpy-ifunc.c: New file.
18025 * benchtests/bench-memcpy.c: New file.
18026 * benchtests/bench-string.h: New file.
18028 2013-06-11 Andreas Schwab <schwab@suse.de>
18031 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18032 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18033 values in the triple.
18034 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18035 terminator in the group key.
18037 2013-06-11 Andreas Jaeger <aj@suse.de>
18039 * po/zh_TW.po: Update Chinese (traditional) translation from
18040 translation project.
18042 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18044 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18045 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18046 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18047 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18048 (clock_getcpuclockid): Likewise.
18049 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18050 Add weak_alias and libc_hidden_def.
18051 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18052 * rt/clock_gettime.c (clock_gettime): Rename to
18053 __clock_gettime. Add weak_alias and libc_hidden_def.
18054 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18055 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18056 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18057 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18058 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18060 * rt/clock_settime.c (clock_settime): Rename to
18061 __clock_settime. Add weak_alias and libc_hidden_def.
18062 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18064 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18066 * mach/err_boot.sub: Remove trailing whitespace.
18067 * mach/err_ipc.sub: Likewise.
18068 * mach/err_mach.sub: Likewise.
18070 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18071 (ROUNDING_TESTS_double): Likewise.
18072 (ROUNDING_TESTS_long_double): Likewise.
18073 (ROUNDING_TESTS): Likewise.
18074 * math/libm-test.inc: Include <math-tests.h>.
18075 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18076 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18077 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18078 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18080 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18082 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18085 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18087 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18088 otherwise empty TRANS lines.
18089 * sysdeps/gnu/errlist.c: Regenerated.
18091 * catgets/gencat.c (error_print): Use (void) in function
18093 * crypt/crypt_util.c (__init_des): Likewise.
18094 * crypt/speeds.c (Stop): Likewise.
18096 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18097 * inet/ruserpass.c (token): Likewise.
18098 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18099 * intl/localealias.c (extend_alias_table): Likewise.
18100 * intl/plural-exp.c (init_germanic_plural): Likewise.
18101 * libio/fcloseall.c (__fcloseall): Likewise.
18102 * libio/genops.c (_IO_flush_all): Likewise.
18103 (_IO_flush_all_linebuffered): Likewise.
18104 (_IO_cleanup): Likewise.
18105 (_IO_iter_begin): Likewise.
18106 (_IO_iter_end): Likewise.
18107 (_IO_list_lock): Likewise.
18108 (_IO_list_unlock): Likewise.
18109 (_IO_list_resetlock): Likewise.
18110 * libio/getchar.c (getchar): Likewise.
18111 * libio/getchar_u.c (getchar_unlocked): Likewise.
18112 * libio/getwchar.c (getwchar): Likewise.
18113 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18114 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18115 * login/getpt.c (__getpt): Likewise.
18116 * login/tst-utmp.c (main): Likewise.
18117 * malloc/hooks.c (__malloc_check_init): Likewise.
18118 * malloc/malloc.c (__malloc_stats): Likewise.
18119 * malloc/mtrace.c (tr_break): Likewise.
18120 (mtrace): Likewise.
18121 (muntrace): Likewise.
18122 * misc/fstab.c (endfsent): Likewise.
18123 * misc/getclktck.c (__getclktck): Likewise.
18124 * misc/getdtsz.c (__getdtablesize): Likewise.
18125 * misc/gethostid.c (gethostid): Likewise.
18126 * misc/getpagesize.c (__getpagesize): Likewise.
18127 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18128 (__get_nprocs): Likewise.
18129 (__get_phys_pages): Likewise.
18130 (__get_avphys_pages): Likewise.
18131 * misc/getttyent.c (getttyent): Likewise.
18132 (setttyent): Likewise.
18133 (endttyent): Likewise.
18134 * misc/getusershell.c (getusershell): Likewise.
18135 (endusershell): Likewise.
18136 (setusershell): Likewise.
18137 (initshells): Likewise.
18138 * misc/hsearch.c (__hdestroy): Likewise.
18139 * misc/sync.c (sync): Likewise.
18140 * misc/syslog.c (closelog_internal): Likewise.
18141 (closelog): Likewise.
18142 * misc/ttyslot.c (ttyslot): Likewise.
18143 * misc/vhangup.c (vhangup): Likewise.
18144 * posix/fork.c (__fork): Likewise.
18145 * posix/getegid.c (__getegid): Likewise.
18146 * posix/geteuid.c (__geteuid): Likewise.
18147 * posix/getgid.c (__getgid): Likewise.
18148 * posix/getpid.c (__getpid): Likewise.
18149 * posix/getppid.c (__getppid): Likewise.
18150 * posix/getuid.c (__getuid): Likewise.
18151 * posix/pause.c (pause): Likewise.
18152 * posix/setpgrp.c (setpgrp): Likewise.
18153 * posix/setsid.c (__setsid): Likewise.
18154 * posix/test-vfork.c (noop): Likewise.
18155 * resolv/gethnamaddr.c (_endhtent): Likewise.
18156 (_gethtent): Likewise.
18157 (ht_endhostent): Likewise.
18158 (gethostent): Likewise.
18159 (dns_service): Likewise.
18160 * stdlib/drand48.c (drand48): Likewise.
18161 * stdlib/lrand48.c (lrand48): Likewise.
18162 * stdlib/mrand48.c (mrand48): Likewise.
18163 * stdlib/rand.c (rand): Likewise.
18164 * stdlib/random.c (__random): Likewise.
18165 * stdlib/setenv.c (clearenv): Likewise.
18166 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18167 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18168 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18169 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18170 (__get_nprocs): Likewise.
18171 (__get_phys_pages): Likewise.
18172 (__get_avphys_pages): Likewise.
18173 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18174 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18175 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18176 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18177 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18178 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18179 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18180 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18181 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18182 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18183 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18184 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18185 * sysdeps/posix/clock.c (clock): Likewise.
18186 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18187 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18188 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18189 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18190 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18191 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18192 (__get_nprocs_conf): Likewise.
18193 (__get_phys_pages): Likewise.
18194 (__get_avphys_pages): Likewise.
18195 * time/clock.c (clock): Likewise.
18196 * time/tzset.c (__tzname_max): Likewise.
18198 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18200 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18201 (__bswap_32): Do not use "register".
18202 * crypt/crypt.c (_ufc_doit_r): Likewise.
18203 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18204 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18205 * gmon/gmon.c (__monstartup): Likewise.
18206 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18207 * hurd/hurdmalloc.c (more_memory): Likewise.
18208 (malloc): Likewise.
18210 (realloc): Likewise.
18211 (malloc_fork_prepare): Likewise.
18212 (malloc_fork_parent): Likewise.
18213 (malloc_fork_child): Likewise.
18214 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18215 (_svcauth_des): Likewise.
18216 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18217 * inet/inet_net.c (inet_network): Likewise.
18218 * inet/inet_netof.c (inet_netof): Likewise.
18219 * inet/rcmd.c (__validuser2_sa): Likewise.
18220 * io/fts.c (fts_open): Likewise.
18221 (fts_load): Likewise.
18222 (fts_close): Likewise.
18223 (fts_read): Likewise.
18224 (fts_children): Likewise.
18225 (fts_build): Likewise.
18226 (fts_stat): Likewise.
18227 (fts_sort): Likewise.
18228 (fts_alloc): Likewise.
18229 (fts_lfree): Likewise.
18230 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18231 (_IO_file_xsgetn): Likewise.
18232 (_IO_file_xsgetn_mmap): Likewise.
18233 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18234 (_IO_cookie_write): Likewise.
18235 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18236 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18237 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18238 * malloc/obstack.c (_obstack_begin): Likewise.
18239 (_obstack_begin_1): Likewise.
18240 (_obstack_newchunk): Likewise.
18241 (_obstack_allocated_p): Likewise.
18242 (obstack_free): Likewise.
18243 (_obstack_memory_used): Likewise.
18244 * misc/getttyent.c (getttynam): Likewise.
18245 (getttyent): Likewise.
18248 * misc/getusershell.c (initshells): Likewise.
18249 * misc/syslog.c (__vsyslog_chk): Likewise.
18250 * misc/ttyslot.c (ttyslot): Likewise.
18251 * nis/nis_hash.c (__nis_hash): Likewise.
18252 * posix/fnmatch_loop.c (FCT): Likewise.
18253 * posix/getconf.c (print_all): Likewise.
18255 * posix/getopt.c (exchange): Likewise.
18256 * posix/glob.c (globfree): Likewise.
18257 (prefix_array): Likewise.
18258 (__glob_pattern_type): Likewise.
18259 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18260 (NS_GET32): Likewise.
18261 (NS_PUT16): Likewise.
18262 (NS_PUT32): Likewise.
18263 * resolv/gethnamaddr.c (getanswer): Likewise.
18264 (gethostbyname2): Likewise.
18265 (gethostbyaddr): Likewise.
18266 (_gethtent): Likewise.
18267 (_gethtbyname2): Likewise.
18268 (_gethtbyaddr): Likewise.
18269 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18270 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18271 * resolv/res_init.c (__res_vinit): Likewise.
18272 (net_mask): Likewise.
18273 * resolv/res_mkquery.c (outchar): Likewise.
18275 * stdio-common/printf_fp.c (outchar): Likewise.
18277 * stdio-common/printf_fphex.c (outchar): Likewise.
18279 * stdio-common/printf_size.c (outchar): Likewise.
18281 * stdio-common/test_rdwr.c (main): Likewise.
18282 * stdio-common/tfformat.c (matches): Likewise.
18283 * stdio-common/vfprintf.c (outchar): Likewise.
18284 (printf_unknown): Likewise.
18285 (buffered_vfprintf): Likewise.
18286 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18287 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18288 (ReadFile): Likewise.
18289 * stdlib/qsort.c (SWAP): Likewise.
18290 (_quicksort): Likewise.
18291 * stdlib/setenv.c (__add_to_environ): Likewise.
18292 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18293 * stdlib/strtol_l.c (__strtol_l): Likewise.
18294 * stdlib/tst-strtod.c (main): Likewise.
18295 * stdlib/tst-strtol.c (main): Likewise.
18296 * stdlib/tst-strtoll.c (main): Likewise.
18297 * string/bits/string2.h (__strcmp_cc): Likewise.
18298 (__strcmp_cg): Likewise.
18299 (__strcspn_c1): Likewise.
18300 (__strcspn_c2): Likewise.
18301 (__strcspn_c3): Likewise.
18302 (__strspn_c1): Likewise.
18303 (__strspn_c2): Likewise.
18304 (__strspn_c3): Likewise.
18305 (__strsep_1c): Likewise.
18306 (__strsep_2c): Likewise.
18307 (__strsep_3c): Likewise.
18308 * string/memccpy.c (__memccpy): Likewise.
18309 * string/stpcpy.c (__stpcpy): Likewise.
18310 * string/strcmp.c (strcmp): Likewise.
18311 * string/strrchr.c (strrchr): Likewise.
18312 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18314 * sysdeps/mach/hurd/getcwd.c
18315 (_hurd_canonicalize_directory_name_internal): Likewise.
18316 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18317 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18318 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18319 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18320 Likewise, in both definitions.
18321 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18323 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18324 64] (__bswap_64): Likewise.
18325 * time/test_time.c (main): Likewise.
18326 * time/tzfile.c (__tzfile_read): Likewise.
18327 (__tzfile_compute): Likewise.
18328 * time/tzset.c (__tzset_parse_tz): Likewise.
18329 (tzset_internal): Likewise.
18330 (compute_change): Likewise.
18331 * wcsmbs/wcscat.c (__wcscat): Likewise.
18332 * wcsmbs/wcschr.c (wcschr): Likewise.
18333 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18334 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18335 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18336 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18337 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18338 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18339 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18340 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18341 * wcsmbs/wmemset.c (wmemset): Likewise.
18343 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18345 * scripts/config.guess: Update to version 2013-05-16.
18346 * scripts/config.sub: Update to version 2013-04-24.
18347 * scripts/install-sh: Update to version 2011-11-20.07.
18348 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18349 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18351 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18353 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18354 * elf/sln.c: Likewise.
18355 * hurd/hurd/ioctl.h: Likewise.
18356 * hurd/hurdmalloc.c: Likewise.
18357 * hurd/xattr.c: Likewise.
18358 * include/shlib-compat.h: Likewise.
18359 * inet/ruserpass.c: Likewise.
18360 * libio/iofgets_u.c: Likewise.
18361 * libio/iofgetws_u.c: Likewise.
18362 * locale/programs/ld-identification.c: Likewise.
18363 * locale/programs/ld-time.c: Likewise.
18364 * mach/msg-destroy.c: Likewise.
18365 * nss/nss_files/files-netgrp.c: Likewise.
18366 * resolv/res_data.c: Likewise.
18367 * soft-fp/op-1.h: Likewise.
18368 * soft-fp/op-2.h: Likewise.
18369 * soft-fp/op-4.h: Likewise.
18370 * soft-fp/op-common.h: Likewise.
18371 * stdio-common/printf_fphex.c: Likewise.
18372 * stdlib/strtod_l.c: Likewise.
18373 * sunrpc/rpc/clnt.h: Likewise.
18374 * sysdeps/generic/framestate.c: Likewise.
18375 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18376 * sysdeps/i386/bsd-setjmp.S: Likewise.
18377 * sysdeps/i386/__longjmp.S: Likewise.
18378 * sysdeps/i386/setjmp.S: Likewise.
18379 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18380 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18381 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18382 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18383 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18384 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18385 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18386 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18387 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18388 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18389 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18390 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18391 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18392 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18393 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18394 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18395 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18396 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18397 * sysdeps/ieee754/support.c: Likewise.
18398 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18399 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18400 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18401 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18402 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18403 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18404 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18405 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18406 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18407 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18408 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18409 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18410 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18411 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18412 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18413 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18414 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18417 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18419 * posix/transbug.c: Remove executable mode.
18421 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18423 * crypt/speeds.c: Remove trailing whitespace.
18424 * dlfcn/default.c: Likewise.
18425 * elf/ifuncdep2.c: Likewise.
18426 * elf/ifuncmain1.c: Likewise.
18427 * elf/ifuncmain1vis.c: Likewise.
18428 * elf/testobj.h: Likewise.
18429 * elf/tst-stackguard1.c: Likewise.
18430 * gmon/sys/gmon.h: Likewise.
18431 * hurd/hurdmsg.c: Likewise.
18432 * hurd/new-fd.c: Likewise.
18433 * hurd/ports-get.c: Likewise.
18434 * iconvdata/ibm1008_420.c: Likewise.
18435 * inet/tst-getni1.c: Likewise.
18436 * inet/tst-getni2.c: Likewise.
18437 * libio/ioungetc.c: Likewise.
18438 * libio/wfiledoalloc.c: Likewise.
18439 * manual/libm-err-tab.pl: Likewise.
18440 * math/w_dremf.c: Likewise.
18441 * misc/ftruncate.c: Likewise.
18442 * posix/bug-glob2.c: Likewise.
18443 * posix/tst-pcre.c: Likewise.
18444 * posix/wait4.c: Likewise.
18445 * resolv/README: Likewise.
18446 * resolv/res_debug.h: Likewise.
18447 * resolv/tst-inet_ntop.c: Likewise.
18448 * setjmp/bug269-setjmp.c: Likewise.
18449 * soft-fp/extended.h: Likewise.
18450 * soft-fp/op-1.h: Likewise.
18451 * soft-fp/op-2.h: Likewise.
18452 * soft-fp/op-4.h: Likewise.
18453 * soft-fp/op-8.h: Likewise.
18454 * soft-fp/testit.c: Likewise.
18455 * stdio-common/bug16.c: Likewise.
18456 * stdlib/random.c: Likewise.
18457 * sunrpc/rpcsvc/rquota.x: Likewise.
18458 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18459 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18460 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18461 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18462 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18463 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18464 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18465 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18466 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18467 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18468 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18469 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18470 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18471 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18472 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18473 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18474 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18475 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18476 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18477 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18478 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18479 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18480 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18481 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18482 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18483 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18484 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18485 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18486 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18487 * sysdeps/ieee754/s_lib_version.c: Likewise.
18488 * sysdeps/mach/hurd/check_fds.c: Likewise.
18489 * sysdeps/mach/hurd/getsockname.c: Likewise.
18490 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18491 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18492 * sysdeps/powerpc/bits/link.h: Likewise.
18493 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18494 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18495 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18496 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18497 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18498 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18499 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18500 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18501 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18502 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18503 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18504 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18505 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18506 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18507 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18508 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18509 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18510 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18511 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18512 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18513 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18514 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18515 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18516 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18517 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18518 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18519 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18520 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18521 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18522 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18523 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18524 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18525 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18526 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18527 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18528 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18529 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18530 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18531 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18532 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18533 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18534 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18535 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18536 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18537 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18538 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18539 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18540 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18541 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18542 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18543 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18544 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18545 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18546 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18547 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18548 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18549 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18550 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18551 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18552 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18553 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18554 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18555 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18556 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18557 * sysdeps/powerpc/sysdep.h: Likewise.
18558 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18559 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18560 * sysdeps/sh/dl-trampoline.S: Likewise.
18561 * sysdeps/sh/memset.S: Likewise.
18562 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18563 * sysdeps/sh/strlen.S: Likewise.
18564 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18565 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18566 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18567 * sysdeps/sparc/sparc32/rem.S: Likewise.
18568 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18569 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18570 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18571 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18572 * sysdeps/sparc/sparc32/urem.S: Likewise.
18573 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18574 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18575 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18576 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18577 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18578 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18579 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18580 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18581 * sysdeps/unix/bsd/times.c: Likewise.
18582 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18583 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18587 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18588 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18589 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18590 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18591 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18592 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18593 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18594 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18595 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18596 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18597 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18598 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18599 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18600 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18601 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18602 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18603 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18604 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18605 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18606 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18607 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18608 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18609 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18610 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18611 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18612 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18613 * sysdeps/x86_64/strcspn.S: Likewise.
18615 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18617 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18618 generated file. Regenerate properly from gen-translit.pl.
18619 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18620 locale/C-translit.h.
18622 2013-06-05 Andreas Schwab <schwab@suse.de>
18625 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18626 week as 6 instead of -1.
18627 * time/tst-strptime.c (day_tests): Add test case.
18629 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18631 * sysdeps/generic/math_private.h
18632 (libc_feholdexcept_setround_53bit): Replace with
18633 libc_feholdsetround_53bit.
18634 (libc_feupdateenv_53bit): Replace with
18635 libc_feresetround_53bit.
18636 (SET_RESTORE_ROUND_53BIT): Adjust.
18638 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18640 * string/test-strchrnul.c: Add copyright header.
18642 * posix/tst-getaddrinfo4.c: Increase test timeout.
18644 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18647 * math/libm-test.inc (MAX_EXP): Remove
18649 (ulp): Use MIN_EXP - MANT_DIG.
18650 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18652 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18654 * po/be.po: Revert last change.
18655 * po/zh_CN.po: Likewise.
18656 * po/header.pot: Likewise.
18658 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18660 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18661 link-libc-deps to empty as target-specific variable.
18662 * Makerules (link-libc-args): New variable.
18663 (libc-for-link): Likewise.
18664 (link-libc-deps): Likewise.
18665 (lib%.so): Depend on $(link-libc-deps). Link with
18667 (build-module): Link with $(link-libc-args).
18668 (build-module-asneeded): Likewise.
18669 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18671 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18672 target-specific variable.
18673 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18674 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18675 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18677 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18679 ($(objpfx)libpcprofile.so): Likewise.
18680 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18682 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18683 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18684 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18686 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18687 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18688 * login/Makefile ($(objpfx)libutil.so): Likewise.
18689 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18690 * math/Makefile ($(objpfx)libm.so): Likewise.
18691 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18692 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18693 variable instead of depending directly on libc.
18694 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18695 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18697 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18699 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18700 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18701 ($(objpfx)libanl.so): Likewise.
18702 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18704 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18706 * sysdeps/i386/fpu/Makefile: Remove file.
18707 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18708 ($(objpfx)libm.so): Remove dependency on ld.so.
18710 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18713 * nis/yp_xdr.c (XDRMAXNAME): Define.
18714 (XDRMAXRECORD): Define.
18715 (xdr_domainname): Use XDRMAXNAME.
18716 (xdr_mapname): Likewise.
18717 (xdr_peername): Likewise.
18718 (xdr_keydat): Use XDRMAXRECORD.
18719 (xdr_valdat): Likewise.
18721 2013-05-30 Jeff Law <law@redhat.com>
18724 * manual/errno.texi (ESTALE): Update to account for more than
18725 just NFS file systems.
18726 * sysdeps/gnu/errlist.c: Regenerated.
18728 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18731 * elf/Makefile (tests): Add tst-null-argv.
18732 (modules-names): Add tst-null-argv-lib.
18733 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18734 (tst-null-argv-ENV): Set environment for tst-null-argv.
18735 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18736 (RTLD_PROGNAME): New macro.
18737 * elf/tst-null-argv.c: New test case.
18738 * elf/tst-null-argv-lib.c: Library for test case.
18739 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18740 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18741 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18742 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18743 * elf/dl-init.c (call_init): Likewise.
18744 (_dl_init): Likewise.
18745 * elf/dl-load.c (print_search_path): Likewise.
18746 (_dl_map_object): Likewise.
18747 * elf/dl-lookup.c (do_lookup_x): Likewise.
18748 (add_dependency): Likewise.
18749 (_dl_lookup_symbol_x): Likewise.
18750 (_dl_debug_bindings): Likewise.
18751 * elf/dl-open.c (_dl_show_scope): Likewise.
18752 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18753 * elf/dl-version.c (match_symbol): Likewise.
18754 (_dl_check_map_versions): Likewise.
18755 * elf/rtld.c (dl_main): Likewise.
18756 (print_unresolved): Use RTLD_PROGNAME.
18757 (print_missing_version): Likewise.
18758 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18759 (elf_machine_rela): Likewise.
18760 * sysdeps/powerpc/powerpc32/dl-machine.c
18761 (__process_machine_rela): Likewise.
18762 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18764 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18766 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18768 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18769 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18771 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18773 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18775 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18777 * po/be.po: Add descriptive title.
18778 * po/zh_CN.po: Likewise.
18779 * po/header.pot: Likewise.
18781 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18783 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18785 (enlarge_archive): Likewise.
18787 2013-05-28 Ben North <ben@redfrontdoor.org>
18789 * manual/arith.texi (frexp): It is the magnitude of the return
18790 value which lies in [0.5, 1), not the return value itself.
18792 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18796 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18798 * stdio-common/bug26.c (main): Correct fscanf template.
18800 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18801 declare _dl_skip_args.
18803 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18806 * manual/platform.texi: Add missing @end deftypefun.
18808 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18811 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18812 bit of mantissa of 2^16382.
18813 * math/libm-test.inc (hypot_test_data): Add more tests.
18815 * math/libm-test.inc: Add drem and pow10 to list of tested
18817 (pow10_test): New function.
18818 (drem_test): Likewise.
18819 (drem_test_tonearest): Likewise.
18820 (drem_test_towardzero): Likewise.
18821 (drem_test_downward): Likewise.
18822 (drem_test_upward): Likewise.
18823 (main): Call the new functions.
18825 * math/libm-test.inc (finite_test_data): Remove.
18826 (finite_test): Run tests from isfinite_test_data.
18827 (gamma_test_data): Remove.
18828 (gamma_test): Run tests from lgamma_test_data.
18829 * sysdeps/i386/fpu/libm-test-ulps: Update.
18830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18832 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18834 * manual/platform.texi: Add PowerPC PPR function set documentation.
18835 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18838 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18840 * math/libm-test.inc (MAX_EXP): Define.
18842 (ulp): New function.
18843 (check_float_internal): Use ULPDIFF.
18844 (cpow_test): Disable failing test.
18845 (check_ulp): Test ulp() implemetnation.
18846 (main): Call check_ulp before starting tests.
18848 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18850 * math/gen-libm-test.pl (generate_testfile): Do not handle
18851 START_DATA and END_DATA.
18852 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18854 (acos_tonearest_test_data): Likewise.
18855 (acos_towardzero_test_data): Likewise.
18856 (acos_downward_test_data): Likewise.
18857 (acos_upward_test_data): Likewise.
18858 (acosh_test_data): Likewise.
18859 (asin_test_data): Likewise.
18860 (asin_tonearest_test_data): Likewise.
18861 (asin_towardzero_test_data): Likewise.
18862 (asin_downward_test_data): Likewise.
18863 (asin_upward_test_data): Likewise.
18864 (asinh_test_data): Likewise.
18865 (atan_test_data): Likewise.
18866 (atanh_test_data): Likewise.
18867 (atan2_test_data): Likewise.
18868 (cabs_test_data): Likewise.
18869 (cacos_test_data): Likewise.
18870 (cacosh_test_data): Likewise.
18871 (carg_test_data): Likewise.
18872 (casin_test_data): Likewise.
18873 (casinh_test_data): Likewise.
18874 (catan_test_data): Likewise.
18875 (catanh_test_data): Likewise.
18876 (cbrt_test_data): Likewise.
18877 (ccos_test_data): Likewise.
18878 (ccosh_test_data): Likewise.
18879 (ceil_test_data): Likewise.
18880 (cexp_test_data): Likewise.
18881 (cimag_test_data): Likewise.
18882 (clog_test_data): Likewise.
18883 (clog10_test_data): Likewise.
18884 (conj_test_data): Likewise.
18885 (copysign_test_data): Likewise.
18886 (cos_test_data): Likewise.
18887 (cos_tonearest_test_data): Likewise.
18888 (cos_towardzero_test_data): Likewise.
18889 (cos_downward_test_data): Likewise.
18890 (cos_upward_test_data): Likewise.
18891 (cosh_test_data): Likewise.
18892 (cosh_tonearest_test_data): Likewise.
18893 (cosh_towardzero_test_data): Likewise.
18894 (cosh_downward_test_data): Likewise.
18895 (cosh_upward_test_data): Likewise.
18896 (cpow_test_data): Likewise.
18897 (cproj_test_data): Likewise.
18898 (creal_test_data): Likewise.
18899 (csin_test_data): Likewise.
18900 (csinh_test_data): Likewise.
18901 (csqrt_test_data): Likewise.
18902 (ctan_test_data): Likewise.
18903 (ctan_tonearest_test_data): Likewise.
18904 (ctan_towardzero_test_data): Likewise.
18905 (ctan_downward_test_data): Likewise.
18906 (ctan_upward_test_data): Likewise.
18907 (ctanh_test_data): Likewise.
18908 (ctanh_tonearest_test_data): Likewise.
18909 (ctanh_towardzero_test_data): Likewise.
18910 (ctanh_downward_test_data): Likewise.
18911 (ctanh_upward_test_data): Likewise.
18912 (erf_test_data): Likewise.
18913 (erfc_test_data): Likewise.
18914 (exp_test_data): Likewise.
18915 (exp_tonearest_test_data): Likewise.
18916 (exp_towardzero_test_data): Likewise.
18917 (exp_downward_test_data): Likewise.
18918 (exp_upward_test_data): Likewise.
18919 (exp10_test_data): Likewise.
18920 (exp2_test_data): Likewise.
18921 (expm1_test_data): Likewise.
18922 (fabs_test_data): Likewise.
18923 (fdim_test_data): Likewise.
18924 (finite_test_data): Likewise.
18925 (floor_test_data): Likewise.
18926 (fma_test_data): Likewise.
18927 (fma_towardzero_test_data): Likewise.
18928 (fma_downward_test_data): Likewise.
18929 (fma_upward_test_data): Likewise.
18930 (fmax_test_data): Likewise.
18931 (fmin_test_data): Likewise.
18932 (fmod_test_data): Likewise.
18933 (fpclassify_test_data): Likewise.
18934 (frexp_test_data): Likewise.
18935 (gamma_test_data): Likewise.
18936 (hypot_test_data): Likewise.
18937 (ilogb_test_data): Likewise.
18938 (isfinite_test_data): Likewise.
18939 (isgreater_test_data): Likewise.
18940 (isgreaterequal_test_data): Likewise.
18941 (isinf_test_data): Likewise.
18942 (isless_test_data): Likewise.
18943 (islessequal_test_data): Likewise.
18944 (islessgreater_test_data): Likewise.
18945 (isnan_test_data): Likewise.
18946 (isnormal_test_data): Likewise.
18947 (issignaling_test_data): Likewise.
18948 (isunordered_test_data): Likewise.
18949 (j0_test_data): Likewise.
18950 (j1_test_data): Likewise.
18951 (jn_test_data): Likewise.
18952 (ldexp_test_data): Likewise.
18953 (lgamma_test_data): Likewise.
18954 (lrint_test_data): Likewise.
18955 (lrint_tonearest_test_data): Likewise.
18956 (lrint_towardzero_test_data): Likewise.
18957 (lrint_downward_test_data): Likewise.
18958 (lrint_upward_test_data): Likewise.
18959 (llrint_test_data): Likewise.
18960 (llrint_tonearest_test_data): Likewise.
18961 (llrint_towardzero_test_data): Likewise.
18962 (llrint_downward_test_data): Likewise.
18963 (llrint_upward_test_data): Likewise.
18964 (log_test_data): Likewise.
18965 (log10_test_data): Likewise.
18966 (log1p_test_data): Likewise.
18967 (log2_test_data): Likewise.
18968 (logb_test_data): Likewise.
18969 (logb_downward_test_data): Likewise.
18970 (lround_test_data): Likewise.
18971 (llround_test_data): Likewise.
18972 (modf_test_data): Likewise.
18973 (nearbyint_test_data): Likewise.
18974 (nextafter_test_data): Likewise.
18975 (nexttoward_test_data): Likewise.
18976 (pow_test_data): Likewise.
18977 (pow_tonearest_test_data): Likewise.
18978 (pow_towardzero_test_data): Likewise.
18979 (pow_downward_test_data): Likewise.
18980 (pow_upward_test_data): Likewise.
18981 (remainder_test_data): Likewise.
18982 (remainder_tonearest_test_data): Likewise.
18983 (remainder_towardzero_test_data): Likewise.
18984 (remainder_downward_test_data): Likewise.
18985 (remainder_upward_test_data): Likewise.
18986 (remquo_test_data): Likewise.
18987 (rint_test_data): Likewise.
18988 (rint_tonearest_test_data): Likewise.
18989 (rint_towardzero_test_data): Likewise.
18990 (rint_downward_test_data): Likewise.
18991 (rint_upward_test_data): Likewise.
18992 (round_test_data): Likewise.
18993 (scalb_test_data): Likewise.
18994 (scalbn_test_data): Likewise.
18995 (scalbln_test_data): Likewise.
18996 (signbit_test_data): Likewise.
18997 (sin_test_data): Likewise.
18998 (sin_tonearest_test_data): Likewise.
18999 (sin_towardzero_test_data): Likewise.
19000 (sin_downward_test_data): Likewise.
19001 (sin_upward_test_data): Likewise.
19002 (sincos_test_data): Likewise.
19003 (sinh_test_data): Likewise.
19004 (sinh_tonearest_test_data): Likewise.
19005 (sinh_towardzero_test_data): Likewise.
19006 (sinh_downward_test_data): Likewise.
19007 (sinh_upward_test_data): Likewise.
19008 (sqrt_test_data): Likewise.
19009 (tan_test_data): Likewise.
19010 (tan_tonearest_test_data): Likewise.
19011 (tan_towardzero_test_data): Likewise.
19012 (tan_downward_test_data): Likewise.
19013 (tan_upward_test_data): Likewise.
19014 (tanh_test_data): Likewise.
19015 (tgamma_test_data): Likewise.
19016 (trunc_test_data): Likewise.
19017 (y0_test_data): Likewise.
19018 (y1_test_data): Likewise.
19019 (yn_test_data): Likewise.
19020 (significand_test_data): Likewise.
19022 * math/gen-libm-test.pl (@functions): Remove variable.
19023 (generate_testfile): Don't handle START and END lines.
19024 * math/libm-test.inc (START): New macro.
19026 (END_COMPLEX): Likewise.
19027 (acos_test): Use END macro without arguments.
19028 (acos_test_tonearest): Likewise.
19029 (acos_test_towardzero): Likewise.
19030 (acos_test_downward): Likewise.
19031 (acos_test_upward): Likewise.
19032 (acosh_test): Likewise.
19033 (asin_test): Likewise.
19034 (asin_test_tonearest): Likewise.
19035 (asin_test_towardzero): Likewise.
19036 (asin_test_downward): Likewise.
19037 (asin_test_upward): Likewise.
19038 (asinh_test): Likewise.
19039 (atan_test): Likewise.
19040 (atanh_test): Likewise.
19041 (atan2_test): Likewise.
19042 (cabs_test): Likewise.
19043 (cacos_test): Use END_COMPLEX macro without arguments.
19044 (cacosh_test): Likewise.
19045 (carg_test): Use END macro without arguments.
19046 (casin_test): Use END_COMPLEX macro without arguments.
19047 (casinh_test): Likewise.
19048 (catan_test): Likewise.
19049 (catanh_test): Likewise.
19050 (cbrt_test): Use END macro without arguments.
19051 (ccos_test): Use END_COMPLEX macro without arguments.
19052 (ccosh_test): Likewise.
19053 (ceil_test): Use END macro without arguments.
19054 (cexp_test): Use END_COMPLEX macro without arguments.
19055 (cimag_test): Use END macro without arguments.
19056 (clog_test): Use END_COMPLEX macro without arguments.
19057 (clog10_test): Likewise.
19058 (conj_test): Likewise.
19059 (copysign_test): Use END macro without arguments.
19060 (cos_test): Likewise.
19061 (cos_test_tonearest): Likewise.
19062 (cos_test_towardzero): Likewise.
19063 (cos_test_downward): Likewise.
19064 (cos_test_upward): Likewise.
19065 (cosh_test): Likewise.
19066 (cosh_test_tonearest): Likewise.
19067 (cosh_test_towardzero): Likewise.
19068 (cosh_test_downward): Likewise.
19069 (cosh_test_upward): Likewise.
19070 (cpow_test): Use END_COMPLEX macro without arguments.
19071 (cproj_test): Likewise.
19072 (creal_test): Use END macro without arguments.
19073 (csin_test): Use END_COMPLEX macro without arguments.
19074 (csinh_test): Likewise.
19075 (csqrt_test): Likewise.
19076 (ctan_test): Likewise.
19077 (ctan_test_tonearest): Likewise.
19078 (ctan_test_towardzero): Likewise.
19079 (ctan_test_downward): Likewise.
19080 (ctan_test_upward): Likewise.
19081 (ctanh_test): Likewise.
19082 (ctanh_test_tonearest): Likewise.
19083 (ctanh_test_towardzero): Likewise.
19084 (ctanh_test_downward): Likewise.
19085 (ctanh_test_upward): Likewise.
19086 (erf_test): Use END macro without arguments.
19087 (erfc_test): Likewise.
19088 (exp_test): Likewise.
19089 (exp_test_tonearest): Likewise.
19090 (exp_test_towardzero): Likewise.
19091 (exp_test_downward): Likewise.
19092 (exp_test_upward): Likewise.
19093 (exp10_test): Likewise.
19094 (exp2_test): Likewise.
19095 (expm1_test): Likewise.
19096 (fabs_test): Likewise.
19097 (fdim_test): Likewise.
19098 (finite_test): Likewise.
19099 (floor_test): Likewise.
19100 (fma_test): Likewise.
19101 (fma_test_towardzero): Likewise.
19102 (fma_test_downward): Likewise.
19103 (fma_test_upward): Likewise.
19104 (fmax_test): Likewise.
19105 (fmin_test): Likewise.
19106 (fmod_test): Likewise.
19107 (fpclassify_test): Likewise.
19108 (frexp_test): Likewise.
19109 (gamma_test): Likewise.
19110 (hypot_test): Likewise.
19111 (ilogb_test): Likewise.
19112 (isfinite_test): Likewise.
19113 (isgreater_test): Likewise.
19114 (isgreaterequal_test): Likewise.
19115 (isinf_test): Likewise.
19116 (isless_test): Likewise.
19117 (islessequal_test): Likewise.
19118 (islessgreater_test): Likewise.
19119 (isnan_test): Likewise.
19120 (isnormal_test): Likewise.
19121 (issignaling_test): Likewise.
19122 (isunordered_test): Likewise.
19123 (j0_test): Likewise.
19124 (j1_test): Likewise.
19125 (jn_test): Likewise.
19126 (ldexp_test): Likewise.
19127 (lgamma_test): Likewise.
19128 (lrint_test): Likewise.
19129 (lrint_test_tonearest): Likewise.
19130 (lrint_test_towardzero): Likewise.
19131 (lrint_test_downward): Likewise.
19132 (lrint_test_upward): Likewise.
19133 (llrint_test): Likewise.
19134 (llrint_test_tonearest): Likewise.
19135 (llrint_test_towardzero): Likewise.
19136 (llrint_test_downward): Likewise.
19137 (llrint_test_upward): Likewise.
19138 (log_test): Likewise.
19139 (log10_test): Likewise.
19140 (log1p_test): Likewise.
19141 (log2_test): Likewise.
19142 (logb_test): Likewise.
19143 (logb_test_downward): Likewise.
19144 (lround_test): Likewise.
19145 (llround_test): Likewise.
19146 (modf_test): Likewise.
19147 (nearbyint_test): Likewise.
19148 (nextafter_test): Likewise.
19149 (nexttoward_test): Likewise.
19150 (pow_test): Likewise.
19151 (pow_test_tonearest): Likewise.
19152 (pow_test_towardzero): Likewise.
19153 (pow_test_downward): Likewise.
19154 (pow_test_upward): Likewise.
19155 (remainder_test): Likewise.
19156 (remainder_test_tonearest): Likewise.
19157 (remainder_test_towardzero): Likewise.
19158 (remainder_test_downward): Likewise.
19159 (remainder_test_upward): Likewise.
19160 (remquo_test): Likewise.
19161 (rint_test): Likewise.
19162 (rint_test_tonearest): Likewise.
19163 (rint_test_towardzero): Likewise.
19164 (rint_test_downward): Likewise.
19165 (rint_test_upward): Likewise.
19166 (round_test): Likewise.
19167 (scalb_test): Likewise.
19168 (scalbn_test): Likewise.
19169 (scalbln_test): Likewise.
19170 (signbit_test): Likewise.
19171 (sin_test): Likewise.
19172 (sin_test_tonearest): Likewise.
19173 (sin_test_towardzero): Likewise.
19174 (sin_test_downward): Likewise.
19175 (sin_test_upward): Likewise.
19176 (sincos_test): Likewise.
19177 (sinh_test): Likewise.
19178 (sinh_test_tonearest): Likewise.
19179 (sinh_test_towardzero): Likewise.
19180 (sinh_test_downward): Likewise.
19181 (sinh_test_upward): Likewise.
19182 (sqrt_test): Likewise.
19183 (tan_test): Likewise.
19184 (tan_test_tonearest): Likewise.
19185 (tan_test_towardzero): Likewise.
19186 (tan_test_downward): Likewise.
19187 (tan_test_upward): Likewise.
19188 (tanh_test): Likewise.
19189 (tgamma_test): Likewise.
19190 (trunc_test): Likewise.
19191 (y0_test): Likewise.
19192 (y1_test): Likewise.
19193 (yn_test): Likewise.
19194 (significand_test): Likewise.
19196 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19199 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19201 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19204 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19205 __ppc_mdoio and __ppc_mdoom.
19206 * manual/platform.texi: Document new functions __ppc_yield,
19207 __ppc_mdoio and __ppc_mdoom.
19209 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19211 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19212 (main): Mention "tls" pseudo-hwcap is legacy.
19213 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19215 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19217 * math/gen-libm-test.pl (parse_args): Output only string of
19218 arguments as text for test name, not full call or descriptions of
19219 tests for extra outputs.
19220 (generate_testfile): Do not pass function name to parse_args.
19221 Generate this_func variable from START.
19222 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19224 (struct test_ff_f_data): Likewise.
19225 (test_ff_f_data_nexttoward): Likewise.
19226 (struct test_fi_f_data): Likewise.
19227 (struct test_fl_f_data): Likewise.
19228 (struct test_if_f_data): Likewise.
19229 (struct test_fff_f_data): Likewise.
19230 (struct test_c_f_data): Likewise.
19231 (struct test_f_f1_data): Likewise. Remove field extra_name.
19232 (struct test_fF_f1_data): Likewise.
19233 (struct test_ffI_f1_data): Likewise.
19234 (struct test_c_c_data): Rename test_name field to arg_str.
19235 (struct test_cc_c_data): Likewise.
19236 (struct test_f_i_data): Likewise.
19237 (struct test_ff_i_data): Likewise.
19238 (struct test_f_l_data): Likewise.
19239 (struct test_f_L_data): Likewise.
19240 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19242 (COMMON_TEST_SETUP): New macro.
19243 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19244 (COMMON_TEST_CLEANUP): Likewise.
19245 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19246 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19248 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19249 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19251 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19252 (RUN_TEST_fff_f): Take argument string. Call new setup and
19254 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19255 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19257 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19258 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19260 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19261 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19263 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19264 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19266 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19267 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19269 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19270 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19272 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19273 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19275 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19276 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19278 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19279 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19281 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19282 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19284 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19285 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19287 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19288 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19290 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19291 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19293 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19294 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19296 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19297 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19299 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19301 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19303 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19304 to _sifields.sigfault.
19305 (si_addr_lsb): Define new macro.
19306 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19307 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19308 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19310 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19313 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19315 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19317 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19318 loading the domain.
19320 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19322 * math/gen-libm-test.pl (parse_args): Do not include expected
19323 result in test name.
19324 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19325 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19326 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19327 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19328 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19331 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19333 * benchtests/Makefile: Sort function entries.
19335 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19336 tanh, asinh, acosh, atanh.
19337 * benchtests/acos-inputs: New file.
19338 * benchtests/acosh-inputs: New file.
19339 * benchtests/asin-inputs: New file.
19340 * benchtests/asinh-inputs: New file.
19341 * benchtests/atanh-inputs: New file.
19342 * benchtests/cosh-inputs: New file.
19343 * benchtests/log-inputs: New file.
19344 * benchtests/sinh-inputs: New file.
19345 * benchtests/tanh-inputs: New file.
19347 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19350 * posix/tst-getaddrinfo4.c: New test.
19351 * posix/Makefile (tests): Add it.
19353 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19356 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19357 when no services were used.
19358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19359 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19361 2013-05-21 Andreas Schwab <schwab@suse.de>
19364 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19365 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19367 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19368 redundant variable declarations and reallocation of buffer when
19369 parsing as IPv6 address. Always set NSS status when called from
19370 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19371 buffer too small. Correct computation of needed size.
19372 * nss/Makefile (tests): Add test-digits-dots.
19373 * nss/test-digits-dots.c: New test.
19375 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19377 * benchtests/Makefile: Remove instructions for adding
19379 * benchtests/README: New file to explain how to execute and
19380 enhance the benchmark tests.
19382 2013-05-21 Andreas Schwab <schwab@suse.de>
19385 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19386 * setjmp/tst-sigsetjmp.c: New test.
19388 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19390 * sysdeps/x86_64/memset.S (memset): New implementation.
19391 (__bzero): Likewise.
19392 (__memset_tail): New function.
19394 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19396 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19397 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19398 __memcpy_sse2_unaligned ifunc selection.
19399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19400 Add memcpy-sse2-unaligned.S.
19401 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19402 Add: __memcpy_sse2_unaligned.
19404 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19407 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19408 math_force_eval before restoring floating-point envrionment.
19409 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19410 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19412 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19414 (__nearbyintl): Use math_force_eval before restoring
19415 floating-point environment.
19416 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19418 * math/gen-libm-test.pl (special_functions): Remove.
19419 (parse_args): Don't handle TEST_extra. Handle functions with no
19421 * math/libm-test.inc (struct test_sincos_data): Replace with
19422 struct test_fFF_11_data.
19423 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19424 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19425 (sincos_test_data): Change element type to struct
19426 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19427 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19428 RUN_TEST_LOOP_sincos.
19429 * math/README.libm-test: Don't mention special handling of
19430 individual functions.
19431 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19432 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19433 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19434 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19435 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19438 * math/gen-libm-test.pl (get_variable): Remove function.
19439 (parse_args): Don't show pointer parameters to call in test
19440 names. Use "extra output N" in test names for extra outputs
19441 rather than naming variables.
19443 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19446 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19447 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19448 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19450 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19452 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19455 * math/gen-libm-test.pl (@tests): Remove variable.
19456 ($count): Likewise.
19457 (new_test): Remove function.
19458 (show_exceptions): New function.
19459 (special_functions): Use show_exceptions instead of new_test.
19460 (parse_args): Likewise.
19461 (generate_testfile): Pass only function name in generated call to
19462 print_max_error or print_complex_max_error.
19463 (get_ulps): Do not handle complex tests specially.
19464 (output_test): Rename to ...
19465 (get_all_ulps_for_test): ... this. Return a string rather than
19466 printing to a file. Require ulps to be present.
19467 (output_ulps): Generate arrays rather than #defines.
19468 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19469 (struct ulp_data): New type.
19470 (BUILD_COMPLEX_ULP): Remove macro.
19471 (compare_ulp_data): New function.
19472 (find_ulps): Likewise.
19473 (find_test_ulps): Likewise.
19474 (find_function_ulps): Likewise.
19475 (find_complex_function_ulps): Likewise.
19476 (print_max_error): Determine allowed ulps using
19477 find_function_ulps.
19478 (print_complex_max_error): Determine allowed ulps using
19479 find_complex_function_ulps.
19480 (check_float_internal): Determine max ulps using find_test_ulps.
19481 (check_float): Do not take max_ulp parameter. Update call to
19482 check_float_internal.
19483 (check_complex): Likewise.
19484 (check_int): Do not take max_ulp parameter.
19485 (check_long): Likewise.
19486 (check_bool): Likewise.
19487 (check_longlong): Likewise.
19488 (struct test_f_f_data): Remove max_ulp field.
19489 (struct test_ff_f_data): Likewise.
19490 (struct test_ff_f_data_nexttoward): Likewise.
19491 (struct test_fi_f_data): Likewise.
19492 (struct test_fl_f_data): Likewise.
19493 (struct test_if_f_data): Likewise.
19494 (struct test_fff_f_data): Likewise.
19495 (struct test_c_f_data): Likewise.
19496 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19497 (struct test_fF_f1_data): Likewise.
19498 (struct test_ffI_f1_data): Likewise.
19499 (struct test_c_c_data): Remove max_ulp field.
19500 (struct test_cc_c_data): Likewise.
19501 (struct test_f_i_data): Likewise.
19502 (struct test_ff_i_data): Likewise.
19503 (struct test_f_l_data): Likewise.
19504 (struct test_f_L_data): Likewise.
19505 (struct test_sincos_data): Likewise.
19506 (RUN_TEST_f_f): Do not handle ulps.
19507 (RUN_TEST_LOOP_f_f): Likewise.
19508 (RUN_TEST_2_f): Likewise.
19509 (RUN_TEST_LOOP_2_f): Likewise.
19510 (RUN_TEST_fff_f): Likewise.
19511 (RUN_TEST_LOOP_fff_f): Likewise.
19512 (RUN_TEST_c_f): Likewise.
19513 (RUN_TEST_LOOP_c_f): Likewise.
19514 (RUN_TEST_f_f1): Likewise.
19515 (RUN_TEST_LOOP_f_f1): Likewise.
19516 (RUN_TEST_fF_f1): Likewise.
19517 (RUN_TEST_LOOP_fF_f1): Likewise.
19518 (RUN_TEST_fI_f1): Likewise.
19519 (RUN_TEST_LOOP_fI_f1): Likewise.
19520 (RUN_TEST_ffI_f1): Likewise.
19521 (RUN_TEST_LOOP_ffI_f1): Likewise.
19522 (RUN_TEST_c_c): Likewise.
19523 (RUN_TEST_LOOP_c_c): Likewise.
19524 (RUN_TEST_cc_c): Likewise.
19525 (RUN_TEST_LOOP_cc_c): Likewise.
19526 (RUN_TEST_f_i): Likewise.
19527 (RUN_TEST_LOOP_f_i): Likewise.
19528 (RUN_TEST_f_i_tg): Likewise.
19529 (RUN_TEST_LOOP_f_i_tg): Likewise.
19530 (RUN_TEST_ff_i_tg): Likewise.
19531 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19532 (RUN_TEST_f_b): Likewise.
19533 (RUN_TEST_LOOP_f_b): Likewise.
19534 (RUN_TEST_f_b_tg): Likewise.
19535 (RUN_TEST_LOOP_f_b_tg): Likewise.
19536 (RUN_TEST_f_l): Likewise.
19537 (RUN_TEST_LOOP_f_l): Likewise.
19538 (RUN_TEST_f_L): Likewise.
19539 (RUN_TEST_LOOP_f_L): Likewise.
19540 (RUN_TEST_sincos): Likewise.
19541 (RUN_TEST_LOOP_sincos): Likewise.
19543 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19547 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19548 main case of finite arguments, set rounding mode to FE_TONEAREST
19549 and discard exceptions.
19550 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19552 (remainder_tonearest_test_data): New variable.
19553 (remainder_test_tonearest): New function.
19554 (remainder_towardzero_test_data): New variable.
19555 (remainder_test_towardzero): New function.
19556 (remainder_downward_test_data): New variable.
19557 (remainder_test_downward): New function.
19558 (remainder_upward_test_data): New variable.
19559 (remainder_test_upward): New function.
19560 (main): Call the new test functions.
19562 * math/libm-test.inc (struct test_f_f1_data): Remove field
19564 (struct test_fF_f1_data): Likewise.
19565 (struct test_ffI_f1_data): Likewise.
19566 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19567 based on value of EXTRA_EXPECTED.
19568 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19569 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19570 EXTRA_VAR based on value of EXTRA_EXPECTED.
19571 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19572 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19573 EXTRA_VAR based on value of EXTRA_EXPECTED.
19574 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19575 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19576 EXTRA_VAR based on value of EXTRA_EXPECTED.
19577 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19578 * math/gen-libm-test.pl (parse_args): Don't output initializers
19579 for extra output values.
19581 * math/libm-test.inc (check_int): Expect result to be exactly
19582 equal to expected value and do not handle ulps.
19583 (check_long): Likewise.
19584 (check_longlong): Likewise.
19586 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19588 (cimag_test_data): Likewise.
19589 (conj_test_data): Likewise.
19590 (copysign_test_data): Likewise.
19591 (cproj_test_data): Likewise.
19592 (creal_test_data): Likewise.
19593 (fabs_test_data): Likewise.
19594 (fdim_test_data): Likewise.
19595 (finite_test_data): Likewise.
19596 (floor_test_data): Likewise.
19597 (fmax_test_data): Likewise.
19598 (fmin_test_data): Likewise.
19599 (fmod_test_data): Likewise.
19600 (fpclassify_test_data): Likewise.
19601 (frexp_test_data): Likewise.
19602 (ilogb_test_data): Likewise.
19603 (isfinite_test_data): Likewise.
19604 (isgreater_test_data): Likewise.
19605 (isgreaterequal_test_data): Likewise.
19606 (isinf_test_data): Likewise.
19607 (isless_test_data): Likewise.
19608 (islessequal_test_data): Likewise.
19609 (islessgreater_test_data): Likewise.
19610 (isnan_test_data): Likewise.
19611 (isnormal_test_data): Likewise.
19612 (issignaling_test_data): Likewise.
19613 (isunordered_test_data): Likewise.
19614 (ldexp_test_data): Likewise.
19615 (lrint_test_data): Likewise.
19616 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19617 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19618 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19619 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19620 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19621 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19623 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19624 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19625 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19626 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19628 (lrint_downward_test_data): Test for "inexact" exceptions.
19629 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19630 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19631 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19633 (lrint_upward_test_data): Test for "inexact" exceptions.
19634 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19636 (llrint_test_data): Test for "inexact" exceptions.
19637 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19638 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19639 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19640 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19641 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19642 (llrint_downward_test_data): Test for "inexact" exceptions.
19643 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19644 (llrint_upward_test_data): Test for "inexact" exceptions.
19645 (logb_test_data): Likewise.
19646 (logb_downward_test_data): Likewise.
19647 (nextafter_test_data): Likewise.
19648 (nexttoward_test_data): Likewise.
19649 (remainder_test_data): Likewise.
19650 (remquo_test_data): Likewise.
19651 (scalbn_test_data): Likewise.
19652 (scalbln_test_data): Likewise.
19653 (signbit_test_data): Likewise.
19654 (sqrt_test_data): Likewise.
19655 (significand_test_data): Likewise.
19657 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19660 * benchtests/bench-modf.c (struct args): Mark arg0 as
19662 * scripts/bench.pl: Mark members of struct args as volatile.
19664 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19667 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19668 negative infinity on POWER6 or lower.
19669 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19671 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19674 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19675 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19676 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19677 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19678 (_FP_SETQNAN): New macro.
19679 (_FP_SETQNAN_SEMIRAW): Likewise.
19680 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19681 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19682 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19683 (FP_EXTEND): Use _FP_FRAC_SNANP.
19684 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19685 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19687 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19689 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19692 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19694 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19695 with DIVIDE_BY_ZERO_EXCEPTION.
19696 (gamma_test_data): Likewise.
19697 (lgamma_test_data): Likewise.
19698 (log_test_data): Likewise.
19699 (log10_test_data): Likewise.
19700 (log2_test_data): Likewise.
19701 (tgamma_test_data): Likewise.
19703 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19704 (acos_test_tonearest): Likewise.
19705 (acos_test_towardzero): Likewise.
19706 (acos_test_downward): Likewise.
19707 (acos_test_upward): Likewise.
19708 (acosh_test): Likewise.
19709 (asin_test): Likewise.
19710 (asin_test_tonearest): Likewise.
19711 (asin_test_towardzero): Likewise.
19712 (asin_test_downward): Likewise.
19713 (asin_test_upward): Likewise.
19714 (asinh_test): Likewise.
19715 (atan_test): Likewise.
19716 (atanh_test): Likewise.
19717 (atan2_test): Likewise.
19718 (cabs_test): Likewise.
19719 (cacos_test): Likewise.
19720 (cacosh_test): Likewise.
19721 (casin_test): Likewise.
19722 (casinh_test): Likewise.
19723 (catan_test): Likewise.
19724 (catanh_test): Likewise.
19725 (cbrt_test): Likewise.
19726 (ccos_test): Likewise.
19727 (ccosh_test): Likewise.
19728 (cexp_test): Likewise.
19729 (clog_test): Likewise.
19730 (clog10_test): Likewise.
19731 (cos_test): Likewise.
19732 (cos_test_tonearest): Likewise.
19733 (cos_test_towardzero): Likewise.
19734 (cos_test_downward): Likewise.
19735 (cos_test_upward): Likewise.
19736 (cosh_test): Likewise.
19737 (cosh_test_tonearest): Likewise.
19738 (cosh_test_towardzero): Likewise.
19739 (cosh_test_downward): Likewise.
19740 (cosh_test_upward): Likewise.
19741 (cpow_test): Likewise.
19742 (csin_test): Likewise.
19743 (csinh_test): Likewise.
19744 (csqrt_test): Likewise.
19745 (ctan_test): Likewise.
19746 (ctan_test_tonearest): Likewise.
19747 (ctan_test_towardzero): Likewise.
19748 (ctan_test_downward): Likewise.
19749 (ctan_test_upward): Likewise.
19750 (ctanh_test): Likewise.
19751 (ctanh_test_tonearest): Likewise.
19752 (ctanh_test_towardzero): Likewise.
19753 (ctanh_test_downward): Likewise.
19754 (ctanh_test_upward): Likewise.
19755 (erf_test): Likewise.
19756 (erfc_test): Likewise.
19757 (exp_test): Likewise.
19758 (exp_test_tonearest): Likewise.
19759 (exp_test_towardzero): Likewise.
19760 (exp_test_downward): Likewise.
19761 (exp_test_upward): Likewise.
19762 (exp10_test): Likewise.
19763 (exp2_test): Likewise.
19764 (expm1_test): Likewise.
19765 (fmod_test): Likewise.
19766 (gamma_test): Likewise.
19767 (hypot_test): Likewise.
19768 (j0_test): Likewise.
19769 (j1_test): Likewise.
19770 (jn_test): Likewise.
19771 (lgamma_test): Likewise.
19772 (log_test): Likewise.
19773 (log10_test): Likewise.
19774 (log1p_test): Likewise.
19775 (log2_test): Likewise.
19776 (logb_test_downward): Likewise.
19777 (pow_test): Likewise.
19778 (pow_test_tonearest): Likewise.
19779 (pow_test_towardzero): Likewise.
19780 (pow_test_downward): Likewise.
19781 (pow_test_upward): Likewise.
19782 (remainder_test): Likewise.
19783 (remquo_test): Likewise.
19784 (sin_test): Likewise.
19785 (sin_test_tonearest): Likewise.
19786 (sin_test_towardzero): Likewise.
19787 (sin_test_downward): Likewise.
19788 (sin_test_upward): Likewise.
19789 (sincos_test): Likewise.
19790 (sinh_test): Likewise.
19791 (sinh_test_tonearest): Likewise.
19792 (sinh_test_towardzero): Likewise.
19793 (sinh_test_downward): Likewise.
19794 (sinh_test_upward): Likewise.
19795 (sqrt_test): Likewise.
19796 (tan_test): Likewise.
19797 (tan_test_tonearest): Likewise.
19798 (tan_test_towardzero): Likewise.
19799 (tan_test_downward): Likewise.
19800 (tan_test_upward): Likewise.
19801 (tanh_test): Likewise.
19802 (tgamma_test): Likewise.
19803 (y0_test): Likewise.
19804 (y1_test): Likewise.
19805 (yn_test): Likewise.
19807 * math/gen-libm-test.pl (adjust_arg): Remove function.
19808 (special_function): Remove argument $in_func. Only handle
19809 generating output for tables of tests, not inside functions.
19810 (parse_args): Likewise.
19811 (generate_testfile): Remove variable $in_func. Update call to
19813 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19814 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19815 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19816 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19817 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19818 (MAX_VALUE_INIT): Rename macro to max_value.
19819 (MIN_VALUE_INIT): Rename macro to min_value.
19820 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19821 (plus_zero): Remove variable.
19822 (minus_zero): Likewise.
19823 (plus_infty): Likewise.
19824 (minus_infty): Likewise.
19825 (qnan_value): Likewise.
19826 (max_value): Likewise.
19827 (min_value): Likewise.
19828 (min_subnorm_value): Likewise.
19830 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19832 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19833 uint64_t or uint32_t usage.
19834 * crypt/sha256-block.c: Likewise.
19835 * crypt/sha256-crypt.c: Likewise.
19836 * crypt/sha256.c: Likewise.
19837 * crypt/sha512-block.c: Likewise.
19838 * crypt/sha512-crypt.c: Likewise.
19839 * crypt/sha512.c: Likewise.
19840 * debug/backtrace-tst.c: Likewise.
19841 * debug/pcprofiledump.c: Likewise.
19842 * elf/cache.c: Likewise.
19843 * elf/dl-cache.c: Likewise.
19844 * elf/dl-misc.c: Likewise.
19845 * elf/dl-profile.c: Likewise.
19846 * elf/dl-support.c: Likewise.
19847 * elf/ldconfig.c: Likewise.
19848 * elf/sprof.c: Likewise.
19849 * iconv/dummy-repertoire.c: Likewise.
19850 * iconv/iconv_charmap.c: Likewise.
19851 * iconv/skeleton.c: Likewise.
19852 * iconvdata/8bit-generic.c: Likewise.
19853 * iconvdata/cp737.h: Likewise.
19854 * iconvdata/cp775.h: Likewise.
19855 * iconvdata/ibm1008.h: Likewise.
19856 * iconvdata/ibm1025.h: Likewise.
19857 * iconvdata/ibm1046.h: Likewise.
19858 * iconvdata/ibm1097.h: Likewise.
19859 * iconvdata/ibm1112.h: Likewise.
19860 * iconvdata/ibm1122.h: Likewise.
19861 * iconvdata/ibm1123.h: Likewise.
19862 * iconvdata/ibm1124.h: Likewise.
19863 * iconvdata/ibm1129.h: Likewise.
19864 * iconvdata/ibm1130.h: Likewise.
19865 * iconvdata/ibm1132.h: Likewise.
19866 * iconvdata/ibm1133.h: Likewise.
19867 * iconvdata/ibm1137.h: Likewise.
19868 * iconvdata/ibm1140.h: Likewise.
19869 * iconvdata/ibm1141.h: Likewise.
19870 * iconvdata/ibm1142.h: Likewise.
19871 * iconvdata/ibm1143.h: Likewise.
19872 * iconvdata/ibm1144.h: Likewise.
19873 * iconvdata/ibm1145.h: Likewise.
19874 * iconvdata/ibm1146.h: Likewise.
19875 * iconvdata/ibm1147.h: Likewise.
19876 * iconvdata/ibm1148.h: Likewise.
19877 * iconvdata/ibm1149.h: Likewise.
19878 * iconvdata/ibm1153.h: Likewise.
19879 * iconvdata/ibm1154.h: Likewise.
19880 * iconvdata/ibm1155.h: Likewise.
19881 * iconvdata/ibm1156.h: Likewise.
19882 * iconvdata/ibm1157.h: Likewise.
19883 * iconvdata/ibm1158.h: Likewise.
19884 * iconvdata/ibm1160.h: Likewise.
19885 * iconvdata/ibm1161.h: Likewise.
19886 * iconvdata/ibm1162.h: Likewise.
19887 * iconvdata/ibm1163.h: Likewise.
19888 * iconvdata/ibm1164.h: Likewise.
19889 * iconvdata/ibm1166.h: Likewise.
19890 * iconvdata/ibm1167.h: Likewise.
19891 * iconvdata/ibm12712.h: Likewise.
19892 * iconvdata/ibm1390.h: Likewise.
19893 * iconvdata/ibm1399.h: Likewise.
19894 * iconvdata/ibm16804.h: Likewise.
19895 * iconvdata/ibm4517.h: Likewise.
19896 * iconvdata/ibm4899.h: Likewise.
19897 * iconvdata/ibm4909.h: Likewise.
19898 * iconvdata/ibm4971.h: Likewise.
19899 * iconvdata/ibm5347.h: Likewise.
19900 * iconvdata/ibm803.h: Likewise.
19901 * iconvdata/ibm856.h: Likewise.
19902 * iconvdata/ibm901.h: Likewise.
19903 * iconvdata/ibm902.h: Likewise.
19904 * iconvdata/ibm9030.h: Likewise.
19905 * iconvdata/ibm9066.h: Likewise.
19906 * iconvdata/ibm921.h: Likewise.
19907 * iconvdata/ibm922.h: Likewise.
19908 * iconvdata/ibm9448.h: Likewise.
19909 * iconvdata/isiri-3342.h: Likewise.
19910 * iconvdata/jis0201.h: Likewise.
19911 * include/link.h: Likewise.
19912 * include/netdb.h: Likewise.
19913 * inet/check_native.c: Likewise.
19914 * inet/check_pf.c: Likewise.
19915 * inet/getipv4sourcefilter.c: Likewise.
19916 * inet/getnameinfo.c: Likewise.
19917 * inet/getsourcefilter.c: Likewise.
19918 * inet/htonl.c: Likewise.
19919 * inet/setipv4sourcefilter.c: Likewise.
19920 * inet/setsourcefilter.c: Likewise.
19921 * inet/test-inet6_opt.c: Likewise.
19922 * inet/tst-network.c: Likewise.
19923 * locale/C-collate.c: Likewise.
19924 * locale/C-ctype.c: Likewise.
19925 * locale/C-time.c: Likewise.
19926 * locale/C-translit.h: Likewise.
19927 * locale/loadarchive.c: Likewise.
19928 * locale/programs/3level.h: Likewise.
19929 * locale/programs/charmap.c: Likewise.
19930 * locale/programs/charmap.h: Likewise.
19931 * locale/programs/ld-address.c: Likewise.
19932 * locale/programs/ld-collate.c: Likewise.
19933 * locale/programs/ld-ctype.c: Likewise.
19934 * locale/programs/ld-identification.c: Likewise.
19935 * locale/programs/ld-measurement.c: Likewise.
19936 * locale/programs/ld-messages.c: Likewise.
19937 * locale/programs/ld-monetary.c: Likewise.
19938 * locale/programs/ld-name.c: Likewise.
19939 * locale/programs/ld-numeric.c: Likewise.
19940 * locale/programs/ld-paper.c: Likewise.
19941 * locale/programs/ld-telephone.c: Likewise.
19942 * locale/programs/ld-time.c: Likewise.
19943 * locale/programs/linereader.c: Likewise.
19944 * locale/programs/locale.c: Likewise.
19945 * locale/programs/locarchive.c: Likewise.
19946 * locale/programs/locfile.h: Likewise.
19947 * locale/programs/repertoire.c: Likewise.
19948 * locale/programs/simple-hash.c: Likewise.
19949 * locale/programs/simple-hash.h: Likewise.
19950 * malloc/memusage.c: Likewise.
19951 * malloc/memusagestat.c: Likewise.
19952 * nis/nis_defaults.c: Likewise.
19953 * nis/nis_hash.c: Likewise.
19954 * nis/nis_print.c: Likewise.
19955 * nis/nis_xdr.c: Likewise.
19956 * nscd/connections.c: Likewise.
19957 * nscd/hstcache.c: Likewise.
19958 * nscd/nscd_gethst_r.c: Likewise.
19959 * nscd/nscd_getserv_r.c: Likewise.
19960 * nscd/nscd_helper.c: Likewise.
19961 * nscd/servicescache.c: Likewise.
19962 * nss/makedb.c: Likewise.
19963 * nss/nss_db/db-XXX.c: Likewise.
19964 * nss/nss_db/db-initgroups.c: Likewise.
19965 * nss/nss_db/db-netgrp.c: Likewise.
19966 * nss/nss_files/files-network.c: Likewise.
19967 * nss/nss_files/files-parse.c: Likewise.
19968 * posix/bug-regex5.c: Likewise.
19969 * posix/fnmatch_loop.c: Likewise.
19970 * posix/regcomp.c: Likewise.
19971 * posix/regexec.c: Likewise.
19972 * posix/tst-rfc3484-2.c: Likewise.
19973 * posix/tst-rfc3484-3.c: Likewise.
19974 * posix/tst-rfc3484.c: Likewise.
19975 * resolv/nss_dns/dns-canon.c: Likewise.
19976 * resolv/nss_dns/dns-network.c: Likewise.
19977 * resolv/res_init.c: Likewise.
19978 * resolv/res_mkquery.c: Likewise.
19979 * resolv/tst-aton.c: Likewise.
19980 * stdlib/cxa_atexit.c: Likewise.
19981 * stdlib/cxa_finalize.c: Likewise.
19982 * stdlib/gen-fpioconst.c: Likewise.
19983 * stdlib/strtol_l.c: Likewise.
19984 * string/tst-endian.c: Likewise.
19985 * sunrpc/auth_des.c: Likewise.
19986 * sunrpc/clnt_udp.c: Likewise.
19987 * sunrpc/rtime.c: Likewise.
19988 * sunrpc/svcauth_des.c: Likewise.
19989 * sunrpc/xdr.c: Likewise.
19990 * sunrpc/xdr_intXX_t.c: Likewise.
19991 * sunrpc/xdr_rec.c: Likewise.
19992 * sysdeps/generic/ldconfig.h: Likewise.
19993 * sysdeps/generic/ldsodefs.h: Likewise.
19994 * sysdeps/generic/memusage.h: Likewise.
19995 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19996 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19997 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19998 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19999 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20000 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20001 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20002 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20003 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20004 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20005 * sysdeps/posix/getaddrinfo.c: Likewise.
20006 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20007 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20008 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20009 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20010 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20011 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20012 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20013 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20014 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20015 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20016 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20017 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20018 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20019 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20020 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20021 * sysdeps/x86_64/dl-tls.h: Likewise.
20022 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20023 * time/alt_digit.c: Likewise.
20024 * time/era.c: Likewise.
20025 * wcsmbs/tst-c16c32-1.c: Likewise.
20027 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20029 * math/libm-test.inc (struct test_sincos_data): New type.
20030 (RUN_TEST_LOOP_sincos): New macro.
20031 (sincos_test_data): New variable.
20032 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20034 2013-05-16 Richard Henderson <rth@redhat.com>
20036 * math/atest-exp2.c (LIMB64): New macro.
20037 (CONSTSZ): New macro.
20038 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20040 (print_mpn_fp): ... to function scope.
20041 (read_mpn_hex): Remove.
20042 (get_log2): Remove.
20043 (exp2_mpn): Use mp_log2.
20044 (main): Use mp_exp1.
20046 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20048 * math/libm-test.inc: Remove comment about not testing "inexact"
20050 (INEXACT_EXCEPTION): New macro.
20051 (NO_INEXACT_EXCEPTION): Likewise.
20052 (INVALID_EXCEPTION_OK): Update value.
20053 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20054 (OVERFLOW_EXCEPTION_OK): Likewise.
20055 (UNDERFLOW_EXCEPTION_OK): Likewise.
20056 (IGNORE_ZERO_INF_SIGN): Likewise.
20057 (ERRNO_UNCHANGED): Likewise.
20058 (ERRNO_EDOM): Likewise.
20059 (ERRNO_ERANGE): Likewise.
20060 (test_exceptions): Handle testing "inexact" exceptions.
20061 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20062 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20063 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20064 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20066 (rint_towardzero_test_data): Likewise.
20067 (rint_downward_test_data): Likewise.
20068 (rint_upward_test_data): Likewise.
20070 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20071 with OVERFLOW_EXCEPTION.
20072 (exp10_test_data): Likewise.
20073 (exp2_test_data): Likewise.
20074 (expm1_test_data): Likewise.
20075 (lgamma_test_data): Likewise.
20076 (pow_test_data): Likewise.
20077 (tgamma_test_data): Likewise.
20078 (yn_test_data): Remove duplicate test of overflow.
20080 * math/libm-test.inc (struct test_cc_c_data): New type.
20081 (RUN_TEST_LOOP_cc_c): New macro.
20082 (cpow_test_data): New variable.
20083 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20085 * math/libm-test.inc (struct test_f_L_data): New type.
20086 (RUN_TEST_LOOP_f_L): New macro.
20087 (llrint_test_data): New variable.
20088 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20089 (llrint_tonearest_test_data): New variable.
20090 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20091 (llrint_towardzero_test_data): New variable.
20092 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20093 (llrint_downward_test_data): New variable.
20094 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20095 (llrint_upward_test_data): New variable.
20096 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20097 (llround_test_data): New variable.
20098 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20100 2013-05-13 Peter Collingbourne <pcc@google.com>
20102 * math/atest-exp2.c (get_log2): Remove const attribute.
20104 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20106 * math/libm-test.inc (struct test_f_l_data): New type.
20107 (RUN_TEST_LOOP_f_l): New macro.
20108 (lrint_test_data): New variable.
20109 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20110 (lrint_tonearest_test_data): New variable.
20111 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20112 (lrint_towardzero_test_data): New variable.
20113 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20114 (lrint_downward_test_data): New variable.
20115 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20116 (lrint_upward_test_data): New variable.
20117 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20118 (lround_test_data): New variable.
20119 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20121 2013-05-15 Peter Collingbourne <pcc@google.com>
20123 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20124 (EXTRACT_WORDS64) Use where appropriate.
20125 (INSERT_WORDS64) Likewise.
20127 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20128 constraints with x constraints.
20129 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20131 * malloc/obstack.c (_obstack_compat): Add initializer.
20133 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20135 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20136 si_trapno and add si_addr_lsb to _sifields.sigfault.
20137 (si_trapno): Remove macro.
20138 (si_addr_lsb): Define new macro.
20139 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20141 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20143 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20144 instead of TEST_f_l.
20145 (llrint_test_tonearest): Likewise.
20146 (llrint_test_towardzero): Likewise.
20147 (llrint_test_downward): Likewise.
20148 (llrint_test_upward): Likewise.
20149 (llround_test): Likewise.
20151 * math/libm-test.inc (struct test_f_i_data): Add comment.
20152 (RUN_TEST_LOOP_f_b): New macro.
20153 (RUN_TEST_LOOP_f_b_tg): Likewise.
20154 (finite_test_data): New variable.
20155 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20156 (isfinite_test_data): New variable.
20157 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20158 (isinf_test_data): New variable.
20159 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20160 (isnan_test_data): New variable.
20161 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20162 (isnormal_test_data): New variable.
20163 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20164 (issignaling_test_data): New variable.
20165 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20166 (signbit_test_data): New variable.
20167 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20169 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20170 with INVALID_EXCEPTION.
20171 (acosh_test_data): Likewise.
20172 (asin_test_data): Likewise.
20173 (atanh_test_data): Likewise.
20174 (fmod_test_data): Likewise.
20175 (log_test_data): Likewise.
20176 (log10_test_data): Likewise.
20177 (log2_test_data): Likewise.
20178 (pow_test_data): Likewise.
20179 (sqrt_test_data): Likewise.
20180 (y0_test_data): Likewise.
20181 (y1_test_data): Likewise.
20182 (yn_test_data): Likewise.
20184 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20187 * math/libm-test.inc (struct test_ff_i_data): New type.
20188 (RUN_TEST_LOOP_ff_i_tg): New macro.
20189 (isgreater_test_data): New variable.
20190 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20191 (isgreaterequal_test_data): New variable.
20192 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20193 (isless_test_data): New variable.
20194 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20195 (islessequal_test_data): New variable.
20196 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20197 (islessgreater_test_data): New variable.
20198 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20199 (isunordered_test_data): New variable.
20200 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20202 2013-05-14 David S. Miller <davem@davemloft.net>
20204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20206 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20208 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20210 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20212 (struct test_f_i_data): Change type of max_ulp to int.
20214 * math/libm-test.inc (test_ffI_f1_data): New type.
20215 (RUN_TEST_LOOP_ffI_f1): New macro.
20216 (remquo_test_data): New variable.
20217 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20219 * setjmp/tst-setjmp-fp.c: New file.
20220 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20221 (link-libm): New variable.
20222 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20224 * math/libm-test.inc (struct test_f_i_data): New type.
20225 (RUN_TEST_LOOP_f_i): New macro.
20226 (RUN_TEST_LOOP_f_i_tg): Likewise.
20227 (fpclassify_test_data): New variable.
20228 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20229 (ilogb_test_data): New variable.
20230 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20232 * math/libm-test.inc (scalbln_test): Correct function name in END
20235 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20236 (RUN_TEST_LOOP_fI_f1): New macro.
20237 (frexp_test_data): New variable.
20238 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20240 * math/libm-test.inc (struct test_fF_f1_data): New type.
20241 (RUN_TEST_LOOP_fF_f1): New macro.
20242 (modf_test_data): New variable.
20243 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20245 * math/libm-test.inc (struct test_f_f1_data): New type.
20246 (RUN_TEST_LOOP_f_f1): New macro.
20247 (gamma_test_data): New variable.
20248 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20249 (lgamma_test_data): New variable.
20250 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20252 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20254 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20255 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20256 (main): Comment "tls" pseudo-hwcap.
20258 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20260 * math/libm-test.inc (struct test_fl_f_data): New type.
20261 (RUN_TEST_LOOP_fl_f): New variable.
20262 (scalbln_test_data): New variable.
20263 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20265 * math/libm-test.inc (struct test_fi_f_data): New type.
20266 (RUN_TEST_LOOP_fi_f): New macro.
20267 (ldexp_test_data): New variable.
20268 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20269 (scalbn_test_data): New variable.
20270 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20272 * math/libm-test.inc (struct test_c_f_data): New type.
20273 (RUN_TEST_LOOP_c_f): New macro.
20274 (cabs_test_data): New variable.
20275 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20276 (carg_test_data): New variable.
20277 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20278 (cimag_test_data): New variable.
20279 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20280 (creal_test_data): New variable.
20281 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20283 * math/libm-test.inc (struct test_if_f_data): New type.
20284 (RUN_TEST_LOOP_if_f): New macro.
20285 (jn_test_data): New variable.
20286 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20287 (yn_test_data): New variable.
20288 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20290 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20292 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20294 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20295 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20297 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20299 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20300 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20301 (bench-deps): Add bench-timing.h.
20302 * benchtests-bench-skeleton.c: Include bench-timing.h.
20303 (main): Use TIMING_* macros instead of clock_gettime.
20304 * benchtests/bench-timing.h: New file.
20307 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20308 Renamed from _LIB_VERSION.
20309 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20311 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20313 * math/libm-test.inc (struct test_fff_f_data): New type.
20314 (RUN_TEST_LOOP_fff_f): New macro.
20315 (fma_test_data): New variable.
20316 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20317 (fma_towardzero_test_data): New variable.
20318 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20319 (fma_downward_test_data): New variable.
20320 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20321 (fma_upward_test_data): New variable.
20322 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20324 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20325 (struct test_c_c_data): New type.
20326 (RUN_TEST_LOOP_c_c): New macro.
20327 (cacos_test_data): New variable.
20328 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20329 (cacosh_test_data): New variable.
20330 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20331 (casin_test_data): New variable.
20332 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20333 (casinh_test_data): New variable.
20334 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20335 (catan_test_data): New variable.
20336 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20337 (catanh_test_data): New variable.
20338 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20339 (ccos_test_data): New variable.
20340 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20341 (ccosh_test_data): New variable.
20342 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20343 (cexp_test_data): New variable.
20344 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20345 (clog_test_data): New variable.
20346 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20347 (clog10_test_data): New variable.
20348 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20349 (conj_test_data): New variable.
20350 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20351 (cproj_test_data): New variable.
20352 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20353 (csin_test_data): New variable.
20354 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20355 (csinh_test_data): New variable.
20356 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20357 (csqrt_test_data): New variable.
20358 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20359 (ctan_test_data): New variable.
20360 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20361 (ctan_tonearest_test_data): New variable.
20362 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20363 (ctan_towardzero_test_data): New variable.
20364 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20365 (ctan_downward_test_data): New variable.
20366 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20367 (ctan_upward_test_data): New variable.
20368 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20369 (ctanh_test_data): New variable.
20370 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20371 (ctanh_tonearest_test_data): New variable.
20372 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20373 (ctanh_towardzero_test_data): New variable.
20374 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20375 (ctanh_downward_test_data): New variable.
20376 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20377 (ctanh_upward_test_data): New variable.
20378 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20379 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20382 * math/libm-test.inc (struct test_ff_f_data): New type.
20383 (struct test_ff_f_data_nexttoward): Likewise.
20384 (RUN_TEST_LOOP_2_f): New macro.
20385 (RUN_TEST_LOOP_ff_f): Likewise.
20386 (atan2_test_data): New variable.
20387 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20388 (copysign_test_data): New variable.
20389 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20390 (fdim_test_data): New variable.
20391 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20392 (fmax_test_data): New variable.
20393 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20394 (fmin_test_data): New variable.
20395 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20396 (fmod_test_data): New variable.
20397 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20398 (hypot_test_data): New variable.
20399 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20400 (nextafter_test_data): New variable.
20401 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20402 (nexttoward_test_data): New variable.
20403 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20404 (pow_test_data): New variable.
20405 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20406 (pow_tonearest_test_data): New variable.
20407 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20408 (pow_towardzero_test_data): New variable.
20409 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20410 (pow_downward_test_data): New variable.
20411 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20412 (pow_upward_test_data): New variable.
20413 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20414 (remainder_test_data): New variable.
20415 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20416 (scalb_test_data): New variable.
20417 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20418 * sysdeps/i386/fpu/libm-test-ulps: Update.
20420 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20422 * math/libm-test.inc (fma_test): Use max_value instead of local
20424 (nextafter_test): Likewise.
20426 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20427 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20428 (acos_downward_test_data): New variable.
20429 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20430 (acos_upward_test_data): New variable.
20431 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20432 (acosh_test_data): New variable.
20433 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20434 (asin_test_data): New variable.
20435 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20436 (asin_tonearest_test_data): New variable.
20437 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20438 (asin_towardzero_test_data): New variable.
20439 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20440 (asin_downward_test_data): New variable.
20441 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20442 (asin_upward_test_data): New variable.
20443 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20444 (asinh_test_data): New variable.
20445 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20446 (atan_test_data): New variable.
20447 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20448 (atanh_test_data): New variable.
20449 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20450 (cbrt_test_data): New variable.
20451 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20452 (ceil_test_data): New variable.
20453 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20454 (cos_test_data): New variable.
20455 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20456 (cos_tonearest_test_data): New variable.
20457 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20458 (cos_towardzero_test_data): New variable.
20459 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20460 (cos_downward_test_data): New variable.
20461 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20462 (cos_upward_test_data): New variable.
20463 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20464 (cosh_test_data): New variable.
20465 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20466 (cosh_tonearest_test_data): New variable.
20467 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20468 (cosh_towardzero_test_data): New variable.
20469 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20470 (cosh_downward_test_data): New variable.
20471 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20472 (cosh_upward_test_data): New variable.
20473 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20474 (erf_test_data): New variable.
20475 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20476 (erfc_test_data): New variable.
20477 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20478 (exp_test_data): New variable.
20479 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20480 (exp_tonearest_test_data): New variable.
20481 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20482 (exp_towardzero_test_data): New variable.
20483 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20484 (exp_downward_test_data): New variable.
20485 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20486 (exp_upward_test_data): New variable.
20487 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20488 (exp10_test_data): New variable.
20489 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20490 (exp2_test_data): New variable.
20491 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20492 (expm1_test_data): New variable.
20493 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20494 (fabs_test_data): New variable.
20495 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20496 (floor_test_data): New variable.
20497 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20498 (j0_test_data): New variable.
20499 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20500 (j1_test_data): New variable.
20501 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20502 (log_test_data): New variable.
20503 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20504 (log10_test_data): New variable.
20505 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20506 (log1p_test_data): New variable.
20507 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20508 (log2_test_data): New variable.
20509 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20510 (logb_test_data): New variable.
20511 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20512 (logb_downward_test_data): New variable.
20513 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20514 (nearbyint_test_data): New variable.
20515 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20516 (rint_test_data): New variable.
20517 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20518 (rint_tonearest_test_data): New variable.
20519 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20520 (rint_towardzero_test_data): New variable.
20521 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20522 (rint_downward_test_data): New variable.
20523 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20524 (rint_upward_test_data): New variable.
20525 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20526 (round_test_data): New variable.
20527 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20528 (sin_test_data): New variable.
20529 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20530 (sin_tonearest_test_data): New variable.
20531 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20532 (sin_towardzero_test_data): New variable.
20533 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20534 (sin_downward_test_data): New variable.
20535 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20536 (sin_upward_test_data): New variable.
20537 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20538 (sinh_test_data): New variable.
20539 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20540 (sinh_tonearest_test_data): New variable.
20541 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20542 (sinh_towardzero_test_data): New variable.
20543 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20544 (sinh_downward_test_data): New variable.
20545 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20546 (sinh_upward_test_data): New variable.
20547 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20548 (sqrt_test_data): New variable.
20549 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20550 (tan_test_data): New variable.
20551 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20552 (tan_tonearest_test_data): New variable.
20553 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20554 (tan_towardzero_test_data): New variable.
20555 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20556 (tan_downward_test_data): New variable.
20557 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20558 (tan_upward_test_data): New variable.
20559 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20560 (tanh_test_data): New variable.
20561 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20562 (tgamma_test_data): New variable.
20563 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20564 (trunc_test_data): New variable.
20565 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20566 (y0_test_data): New variable.
20567 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20568 (y1_test_data): New variable.
20569 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20570 (significand_test_data): New variable.
20571 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20573 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20576 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20578 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20580 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20582 2013-05-10 Andreas Jaeger <aj@suse.de>
20585 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20586 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20588 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20590 * math/gen-libm-test.pl (adjust_arg): New function.
20591 (special_functions): Handle generating output in both functions
20593 (parse_args): Likewise.
20594 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20595 $in_func argument to parse_args.
20596 * math/libm-test.inc (struct test_f_f_data): New type.
20597 (IF_ROUND_INIT_): New macro.
20598 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20599 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20600 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20601 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20602 (ROUND_RESTORE_): Likewise.
20603 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20604 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20605 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20606 (ROUND_RESTORE_FE_UPWARD): Likewise.
20607 (RUN_TEST_LOOP_f_f): New macro.
20608 (acos_test_data): New variable.
20609 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20610 (acos_tonearest_test_data): New variable.
20611 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20613 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20615 * benchtests/bench-skeleton.c (startup): Fix coding style.
20617 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20620 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20621 negative infinity argument.
20622 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20623 negative infinity argument.
20624 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20625 negative infinity argument.
20626 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20629 2013-05-10 Florian Weimer <fweimer@redhat.com>
20631 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20632 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20633 * iconv/iconv_prog.c (main): Likewise.
20634 * locale/programs/charmap-dir.c (charmap_readdir)
20635 (fopen_uncompressed): Likewise.
20636 * locale/programs/locfile.c (siblings_uncached)
20637 (write_locale_data): Use lstat64 instead of lstat.
20638 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20641 2013-05-10 Andreas Jaeger <aj@suse.de>
20644 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20646 Include <locale.h>.
20648 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20650 * elf/dl-close.c (_dl_close_worker): Add comments.
20652 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20655 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20657 (__ieee754_rem_pio2l): Update comments.
20660 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20662 (__ieee754_rem_pio2l): Update comments.
20664 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20665 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20667 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20670 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20671 (M_PI_34_LOG10El): Likewise.
20672 (M_PI2_LOG10El): Likewise.
20673 (M_PI4_LOG10El): Likewise.
20674 (M_PI_LOG10El): Likewise.
20676 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20680 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20682 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20683 (MINUS_ZERO_INIT): Likewise.
20684 (PLUS_INFTY_INIT): Likewise.
20685 (MINUS_INFTY_INIT): Likewise.
20686 (QNAN_VALUE_INIT): Likewise.
20687 (MAX_VALUE_INIT): Likewise.
20688 (MIN_VALUE_INIT): Likewise.
20689 (MIN_SUBNORM_VALUE_INIT): Likewise.
20690 (plus_zero): Initialize with PLUS_ZERO_INIT.
20691 (minus_zero): Initialize with MINUS_ZERO_INIT.
20692 (plus_infty): Initialize with PLUS_INFTY_INIT.
20693 (minus_infty): Initialize with MINUS_INFTY_INIT.
20694 (qnan_value): Initialize with QNAN_VALUE_INIT.
20695 (max_value): Initialize with MAX_VALUE_INIT.
20696 (min_value): Initialize with MIN_VALUE_INIT.
20697 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20699 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20700 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20701 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20702 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20704 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20705 (RUN_TEST_2_f): Likewise.
20706 (RUN_TEST_ff_f): Likewise.
20707 (RUN_TEST_fi_f): Likewise.
20708 (RUN_TEST_fl_f): Likewise.
20709 (RUN_TEST_fff_f): Likewise.
20710 (RUN_TEST_c_f): Likewise.
20711 (RUN_TEST_f_f1): Likewise.
20712 (RUN_TEST_fF_f1): Likewise.
20713 (RUN_TEST_fI_f1): Likewise.
20714 (RUN_TEST_ffI_f1): Likewise.
20715 (RUN_TEST_c_c): Likewise.
20716 (RUN_TEST_cc_c): Likewise.
20717 (RUN_TEST_f_i): Likewise.
20718 (RUN_TEST_f_i_tg): Likewise.
20719 (RUN_TEST_ff_i_tg): Likewise.
20720 (RUN_TEST_f_b): Likewise.
20721 (RUN_TEST_f_b_tg): Likewise.
20722 (RUN_TEST_f_l): Likewise.
20723 (RUN_TEST_f_L): Likewise.
20724 (RUN_TEST_sincos): Likewise.
20725 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20726 whether to show exceptions. Do not include ");\n" in return
20728 (special_functions): Output call to RUN_TEST_sincos instead of
20729 check_float calls. Update calls to new_test.
20730 (parse_args): Output call to single RUN_TEST_* macro instead of
20731 check_* calls and other assignments. Update calls to new_test.
20737 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20738 input to result for tgamma overflow.
20739 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20740 (gamma_coeff): New variable.
20741 (NCOEFF): New macro.
20742 (gamma_positive): New function.
20743 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20744 underflow here. Use gamma_positive instead of exp (lgamma) for
20746 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20747 (gamma_coeff): New variable.
20748 (NCOEFF): New macro.
20749 (gammaf_positive): New function.
20750 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20751 underflow here. Use gamma_positive instead of exp (lgamma) for
20753 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20754 (gamma_coeff): New variable.
20755 (NCOEFF): New macro.
20756 (gammal_positive): New function.
20757 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20758 underflow here. Use gamma_positive instead of exp (lgamma) for
20760 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20761 (gamma_coeff): New variable.
20762 (NCOEFF): New macro.
20763 (gammal_positive): New function.
20764 (__ieee754_gammal_r): Handle positive infinity, overflow and
20765 underflow here. Handle NaN the same as positive infinity. Remove
20766 check x < 0xffffffff for negative integers. Use gamma_positive
20767 instead of exp (lgamma) for other arguments.
20768 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20769 (gamma_coeff): New variable.
20770 (NCOEFF): New macro.
20771 (gammal_positive): New function.
20772 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20773 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20774 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20775 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20776 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20777 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20778 * sysdeps/generic/math_private.h (__gamma_productf): New
20780 (__gamma_product): Likewise.
20781 (__gamma_productl): Likewise.
20782 * math/Makefile (libm-calls): Add gamma_product.
20783 * math/libm-test.inc (tgamma_test): Add more tests.
20784 * sysdeps/i386/fpu/libm-test-ulps: Update.
20785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20787 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20789 * benchtests/bench-skeleton.c (main): Preheat CPU.
20791 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20793 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20795 2013-05-07 Roland McGrath <roland@hack.frob.com>
20797 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20798 and _dl_skip_args_internal.
20800 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20802 * manual/message.texi (Message Translation): Talk about users.
20803 Message to key mapping impacts design.
20805 2013-05-06 Roland McGrath <roland@hack.frob.com>
20807 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20809 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20811 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20812 * sysdeps/wordsize-64/glob64.c: ... here.
20814 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20815 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20818 * debug/getlogin_r_chk.c: Moved to ...
20819 * login/getlogin_r_chk.c: ... here.
20820 * debug/Makefile (routines): Move getlogin_r_chk to ...
20821 * login/Makefile (routines): ... here.
20822 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20823 * login/Versions (libc: GLIBC_2.4): ... here.
20825 * io/poll.c (__poll): Renamed from poll.
20826 Add libc_hidden_def.
20827 (poll): Define as weak alias.
20829 * debug/ptsname_r_chk.c: Moved to ...
20830 * login/ptsname_r_chk.c: ... here.
20831 * debug/Makefile (routines): Move ptsname_r_chk to ...
20832 * login/Makefile (routines): ... here.
20833 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20834 * login/Versions (libc: GLIBC_2.4): ... here.
20836 * posix/getlogin.c: Moved to ...
20837 * login/getlogin.c: ... here.
20838 * posix/getlogin_r.c: Moved to ...
20839 * login/getlogin_r.c: ... here.
20840 * posix/getlogin_r.c: Moved to ...
20841 * login/getlogin_r.c: ... here.
20842 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20843 * login/Makefile (routines): ... here.
20844 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20845 * login/Versions (libc: GLIBC_2.0): ... here.
20847 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20848 (setrlimit): Define as weak alias.
20850 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20851 Call __ names for open, ftruncate, and close.
20852 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20853 (truncate): Define as weak alias.
20855 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20857 * math/gen-libm-test.pl (parse_args): Initialize x before each
20858 test of frexp, modf and remquo.
20860 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20861 test signgam value.
20863 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20867 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20869 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20871 2013-05-06 Roland McGrath <roland@hack.frob.com>
20873 * elf/dl-writev.h: New file.
20874 * elf/dl-misc.c: Include it.
20875 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20876 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20878 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20880 * math/libm-test.inc (noXFails): Remove variable.
20881 (noXPasses): Likewise.
20882 (BUILD_COMPLEX_INT): Remove macro.
20883 (print_screen): Remove xfail argument.
20884 (print_screen_max_error): Likewise.
20885 (update_stats): Likewise.
20886 (print_max_error): Likewise. Update calls to other affected
20888 (print_complex_max_error): Likewise.
20889 (test_single_exception): Update calls to print_screen.
20890 (test_single_errno): Likewise.
20891 (check_float_internal): Remove xfail argument. Update calls to
20892 other affected functions.
20893 (check_float): Likewise.
20894 (check_complex): Likewise.
20895 (check_int): Likewise.
20896 (check_long): Likewise.
20897 (check_bool): Likewise.
20898 (check_longlong): Likewise.
20899 (main): Don't print noXFails and noXPasses.
20900 * math/gen-libm-test.pl (top level): Don't mention expected
20901 failure handling in comment.
20902 (new_test): Don't handle expected failures.
20903 (parse_args): Don't mention expected failure handling in comment.
20904 (generate_testfile): Don't handle expected failures.
20905 (parse_ulps): Likewise.
20906 (print_ulps_file): Likewise.
20907 (get_failure): Remove function.
20908 (output_test): Don't handle expected failures.
20909 * make/README.libm-test: Don't mention expected failure handling.
20911 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20912 (minus_zero): Likewise.
20913 (plus_infty): Likewise.
20914 (minus_infty): Likewise.
20915 (qnan_value): Likewise.
20916 (max_value): Likewise.
20917 (min_value): Likewise.
20918 (min_subnorm_value): Likewise.
20919 (initialize): Do not initialize those variables dynamically.
20921 2013-05-03 Roland McGrath <roland@hack.frob.com>
20923 * io/open.c (__open_2): Moved to ...
20924 * io/open_2.c: ... this new file.
20925 * io/open64.c (__open64_2): Moved to ...
20926 * io/open64_2.c: ... this new file.
20927 * io/openat.c (__openat_2): Moved to ...
20928 * io/openat_2.c: ... this new file.
20929 * io/openat64.c (__openat64_2): Moved to ...
20930 * io/openat64_2.c: ... this new file.
20931 * io/Makefile (routines): Add them.
20932 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20933 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20934 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20935 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20936 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20937 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20938 (__openat64): Add hidden_ver.
20939 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20940 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20942 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20943 Separately conditionalize setting of GLRO(dl_sysinfo) so
20944 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20945 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20947 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20949 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20950 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20952 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20953 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20954 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20955 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20956 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20958 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20960 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20961 test signgam value.
20963 * math/libm-test.inc (hypot_test): Do not use
20964 IGNORE_ZERO_INF_SIGN.
20966 2013-05-03 Andreas Jaeger <aj@suse.de>
20968 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20970 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20971 (PF_MAX): Adjust for VSOCK change.
20973 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20977 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20980 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20981 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20982 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20984 2013-05-02 David S. Miller <davem@davemloft.net>
20986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20988 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20990 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20992 2013-05-01 Roland McGrath <roland@hack.frob.com>
20994 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20996 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20999 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21000 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21001 Use __attribute__ ((__gnu_inline__)).
21002 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21003 Don't use __attribute__ ((__gnu_inline__)).
21005 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21008 * math/s_catan.c (__catan): Handle small real or imaginary part of
21009 input specially to avoid spurious underflow.
21010 * math/s_catanf.c (__catanf): Likewise.
21011 * math/s_catanh.c (__catanh): Likewise.
21012 * math/s_catanhf.c (__catanhf): Likewise.
21013 * math/s_catanhl.c (__catanhl): Likewise.
21014 * math/s_catanl.c (__catanl): Likewise.
21015 * math/libm-test.inc (catan_test): Add more tests.
21016 (catanh_test): Likewise.
21017 * sysdeps/i386/fpu/libm-test-ulps: Update.
21018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21020 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21024 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21027 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21028 accurately for denominator in atan2.
21029 * math/s_catanf.c (__catanf): Likewise.
21030 * math/s_catanh.c (__catanh): Likewise.
21031 * math/s_catanhf.c (__catanhf): Likewise.
21032 * math/s_catanhl.c (__catanhl): Likewise.
21033 * math/s_catanl.c (__catanl): Likewise.
21034 * math/libm-test.inc (catan_test): Add more tests.
21035 (catanh_test): Likewise.
21036 * sysdeps/i386/fpu/libm-test-ulps: Update.
21037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21039 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21041 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21043 * benchtests/Makefile (bench): Remove slow benchmarks.
21044 * benchtests/atan-inputs: Add slow benchmark inputs.
21045 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21046 (BENCH_FUNC): Accept variant offset.
21048 * benchtests/bench-skeleton.c (main): Run benchmark for each
21050 * benchtests/cos-inputs: Add slow benchmark inputs.
21051 * benchtests/exp-inputs: Likewise.
21052 * benchtests/pow-inputs: Likewise.
21053 * benchtests/sin-inputs: Likewise.
21054 * benchtests/slowatan-inputs: Remove.
21055 * benchtests/slowatan.c: Remove.
21056 * benchtests/slowcos-inputs: Remove.
21057 * benchtests/slowcos.c: Remove.
21058 * benchtests/slowexp-inputs: Remove.
21059 * benchtests/slowexp.c: Remove.
21060 * benchtests/slowpow-inputs: Remove.
21061 * benchtests/slowpow.c: Remove.
21062 * benchtests/slowsin-inputs: Remove.
21063 * benchtests/slowsin.c: Remove.
21064 * benchtests/slowtan-inputs: Remove.
21065 * benchtests/slowtan.c: Remove.
21066 * benchtests/tan-inputs: Add slow benchmark inputs.
21067 * scripts/bench.pl: Parse comments and directives.
21069 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21071 ($(objpfx)bench-%.c): Remove *-ITER.
21072 * benchtests/bench-modf.c: Remove definition of ITER.
21073 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21074 (main): Loop for DURATION seconds instead of fixed number of
21076 * scripts/bench.pl: Don't expect iterations in parameters.
21078 2013-04-29 Roland McGrath <roland@hack.frob.com>
21080 * io/fchdir.c (__fchdir): Renamed from fchdir.
21081 (fchdir): Define as weak alias.
21083 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21085 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21086 (ERRNO_EDOM): Likewise.
21087 (ERRNO_ERANGE): Likewise.
21088 (noErrnoTests): New variable.
21089 (init_max_error): Set errno to 0.
21090 (test_single_errno): New function.
21091 (test_errno): Likewise.
21092 (check_float_internal): Call test_errno. Set errno to 0.
21093 (check_complex): Refer to errno tests in comment.
21094 (check_int): Call test_errno. Set errno to 0.
21095 (check_long): Likewise.
21096 (check_bool): Likewise.
21097 (check_longlong): Likewise.
21098 (cos_test): Use ERRNO_* flags for errno tests instead of
21100 (expm1_test): Likewise.
21101 (fmod_test): Likewise.
21102 (ilogb_test): Likewise.
21103 (lgamma_test): Likewise.
21104 (pow_test): Likewise.
21105 (remainder_test): Likewise.
21106 (sin_test): Likewise.
21107 (tan_test): Likewise.
21108 (yn_test): Likewise.
21109 (initialize): Set errno to 0.
21110 (main): Print number of errno tests.
21111 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21113 2013-04-29 Andreas Jaeger <aj@suse.de>
21116 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21120 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21121 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21125 * stdlib/random.c (__initstate): Return NULL if
21129 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21130 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21133 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21137 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21139 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21140 of individual tests.
21141 (casin_test): Likewise.
21142 (casinh_test): Likewise.
21144 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21147 * math/s_catan.c (__catan): Handle arguments with large real or
21148 imaginary part separately without squaring.
21149 * math/s_catanf.c (__catanf): Likewise.
21150 * math/s_catanh.c (__catanh): Likewise.
21151 * math/s_catanhf.c (__catanhf): Likewise.
21152 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21154 (__catanhl): Handle arguments with large real or imaginary part
21155 separately without squaring.
21156 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21158 (__catanl): Handle arguments with large real or imaginary part
21159 separately without squaring.
21160 * math/libm-test.inc (catan_test): Add more tests.
21161 (catanh_test): Likewise.
21162 * sysdeps/i386/fpu/libm-test-ulps: Update.
21163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21165 2013-04-27 Andreas Jaeger <aj@suse.de>
21168 * stdlib/stdlib.h: Update guards for qecvt.
21169 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21172 2013-04-27 Allan McRae <allan@archlinux.org>
21174 * sysdeps/i386/fpu/libm-test-ulps: Update.
21176 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21179 * math/s_catan.c: Include <float.h>.
21180 (__catan): Ensure underflow exception occurs for underflowed
21182 * math/s_catanf.c: Include <float.h>.
21183 (__catanf): Ensure underflow exception occurs for underflowed
21185 * math/s_catanh.c: Include <float.h>.
21186 (__catanh): Ensure underflow exception occurs for underflowed
21188 * math/s_catanhf.c: Include <float.h>.
21189 (__catanhf): Ensure underflow exception occurs for underflowed
21191 * math/s_catanhl.c: Include <float.h>.
21192 (__catanhl): Ensure underflow exception occurs for underflowed
21194 * math/s_catanl.c: Include <float.h>.
21195 (__catanl): Ensure underflow exception occurs for underflowed
21197 * math/libm-test.inc (catan_test): Add more tests.
21198 (catanh_test): Likewise.
21201 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21202 underflowed result.
21203 * math/s_ccoshf.c (__ccoshf): Likewise.
21204 * math/s_ccoshl.c (__ccoshl): Likewise.
21205 * math/s_csin.c (__csin): Likewise.
21206 * math/s_csinf.c (__csinf): Likewise.
21207 * math/s_csinh.c (__csinh): Likewise.
21208 * math/s_csinhf.c (__csinhf): Likewise.
21209 * math/s_csinhl.c (__csinhl): Likewise.
21210 * math/s_csinl.c (__csinl): Likewise.
21211 * math/libm-test.inc (ccos_test): Add more tests.
21212 (ccosh_test): Likewise.
21213 (csin_test): Likewise.
21214 (csinh_test): Likewise.
21216 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21218 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21219 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21220 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21221 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21222 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21223 powerpc/power5+/fpu folders.
21224 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21227 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21231 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21233 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21234 additions to variable.
21235 [$(config-machine) = x86_64] (modules-names): Likewise.
21236 ($(objpfx)tst-audit3): Remove dependency.
21237 ($(objpfx)tst-audit3.out): Likewise.
21238 ($(objpfx)tst-audit4): Likewise.
21239 ($(objpfx)tst-audit4.out): Likewise.
21240 ($(objpfx)tst-audit5): Likewise.
21241 ($(objpfx)tst-audit5.out): Likewise.
21242 ($(objpfx)tst-audit6): Likewise.
21243 ($(objpfx)tst-audit6.out): Likewise.
21244 ($(objpfx)tst-audit7): Likewise.
21245 ($(objpfx)tst-audit7.out): Likewise.
21246 (tst-audit3-ENV): Remove variable.
21247 (tst-audit4-ENV): Likewise.
21248 (tst-audit5-ENV): Likewise.
21249 (tst-audit6-ENV): Likewise.
21250 (tst-audit7-ENV): Likewise.
21251 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21252 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21253 addition to variable.
21254 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21255 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21256 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21257 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21258 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21259 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21260 tst-audit3, tst-audit4 and tst-audit5.
21261 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21262 tst-audit6 and tst-audit7.
21263 [$(subdir) = elf] (modules-names): Add audit modules for those
21265 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21266 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21267 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21268 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21269 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21270 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21271 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21272 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21273 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21274 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21275 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21276 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21277 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21278 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21279 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21280 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21282 [$(subdir) = elf && $(config-cflags-avx) = yes]
21283 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21284 [$(subdir) = elf && $(config-cflags-avx) = yes]
21285 (CFLAGS-tst-auditmod4a.c): Likewise.
21286 [$(subdir) = elf && $(config-cflags-avx) = yes]
21287 (CFLAGS-tst-auditmod4b.c): Likewise.
21288 [$(subdir) = elf && $(config-cflags-avx) = yes]
21289 (CFLAGS-tst-auditmod6b.c): Likewise.
21290 [$(subdir) = elf && $(config-cflags-avx) = yes]
21291 (CFLAGS-tst-auditmod6c.c): Likewise.
21292 [$(subdir) = elf && $(config-cflags-avx) = yes]
21293 (CFLAGS-tst-auditmod7b.c): Likewise.
21294 * elf/tst-audit3.c: Move to ...
21295 * sysdeps/x86_64/tst-audit3.c: ... here.
21296 * elf/tst-audit4.c: Move to ...
21297 * sysdeps/x86_64/tst-audit4.c: ... here.
21298 * elf/tst-audit5.c: Move to ...
21299 * sysdeps/x86_64/tst-audit5.c: ... here.
21300 * elf/tst-audit6.c: Move to ...
21301 * sysdeps/x86_64/tst-audit6.c: ... here.
21302 * elf/tst-audit7.c: Move to ...
21303 * sysdeps/x86_64/tst-audit7.c: ... here.
21304 * elf/tst-auditmod3a.c: Move to ...
21305 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21306 * elf/tst-auditmod3b.c: Move to ...
21307 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21308 * elf/tst-auditmod4a.c: Move to ...
21309 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21310 * elf/tst-auditmod4b.c: Move to ...
21311 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21312 * elf/tst-auditmod5a.c: Move to ...
21313 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21314 * elf/tst-auditmod5b.c: Move to ...
21315 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21316 * elf/tst-auditmod6a.c: Move to ...
21317 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21318 * elf/tst-auditmod6b.c: Move to ...
21319 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21320 * elf/tst-auditmod6c.c: Move to ...
21321 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21322 * elf/tst-auditmod7a.c: Move to ...
21323 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21324 * elf/tst-auditmod7b.c: Move to ...
21325 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21327 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21330 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21331 define unconditionally.
21332 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21333 define unconditionally.
21334 (INT8_C, INT16_C, etc.): Likewise.
21336 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21338 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21339 __ehdr_start with hidden visibility.
21341 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21343 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21345 * math/libm-test.inc (cos_test): Use accurate hex constants.
21346 (sincost_test): Likewise.
21348 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21350 * math/libm-test.inc (catan_test): Add more tests.
21351 (catanh_test): Likewise.
21353 * math/s_catanf.c (__catanf): Use suffixed floating-point
21355 * math/s_catanhf.c (__catanhf): Likewise.
21356 * math/s_catanhl.c (__catanhl): Likewise.
21357 * math/s_catanl.c (__catanl): Likewise.
21360 * math/s_catan.c (__catan): Calculate imaginary part of result
21361 with log1p not log unless computing log of number close to 0.
21362 * math/s_catanf.c (__catanf): Likewise.
21363 * math/s_catanl.c (__catanl): Likewise.
21364 * math/s_catanh.c (__catanh): Calculate real part of result with
21365 log1p not log unless computing log of number close to 0.
21366 * math/s_catanhf.c (__catanhf): Likewise.
21367 * math/s_catanhl.c (__catanhl): Likewise.
21368 * math/libm-test.inc (catan_test): Add more tests.
21369 (catanh_test): Likewise.
21370 * sysdeps/i386/fpu/libm-test-ulps: Update.
21371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21373 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21375 * benchtests/Makefile: Mention files in which fast and slow
21376 paths of math functions are implemented.
21378 2013-04-23 Roland McGrath <roland@hack.frob.com>
21380 * sysdeps/posix/timespec_get.c: New file.
21382 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21384 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21386 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21388 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21389 powerpc/power5/fpu folders.
21390 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21391 * benchtests/Makefile: Add modf testcase.
21392 * benchtests/bench-modf.c: New file: Benchmark test for mo
21394 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21397 * time/Makefile (tests): Add tst-strptime-whitespace.
21398 * time/strptime_l.c (get_number): Use ISSPACE.
21399 (__strptime_internal): Likewise.
21400 * time/tst-strptime-whitespace.c: New test case.
21402 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21404 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21406 (_nss_files_init): Set it here.
21408 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21410 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21411 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21414 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21416 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21418 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21420 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21423 2013-04-21 David S. Miller <davem@davemloft.net>
21425 * po/ru.po: Update Russion translation from translation project.
21427 2013-04-17 Adam Conrad <adconrad@0c3.net>
21429 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21432 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21434 * configure.in: Remove i386 configure warning. Remove i386 case.
21435 * configure: Regenerate.
21436 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21437 Add example to error message.
21438 * sysdeps/i386/configure: Regenerate.
21440 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21442 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21444 * benchtests/cos-inputs: New file.
21445 * benchtests/slowcos-inputs: New file.
21446 * benchtests/slowcos.c: New file.
21447 * benchtests/slowtan-inputs: New file.
21448 * benchtests/slowtan.c: New file.
21449 * benchtests/tan-inputs: New file.
21451 2013-04-16 Roland McGrath <roland@hack.frob.com>
21453 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21456 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21458 * benchtests/Makefile: Include cppflags-iterator.mk to add
21459 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21461 * Makefile.in (bench-clean): New target.
21462 * benchtests/Makefile (bench-clean): Likewise.
21464 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21466 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21468 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21470 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21472 2013-04-15 Andreas Schwab <schwab@suse.de>
21474 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21475 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21476 * nscd/pwdcache.c (cache_addpw): Likewise.
21477 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21480 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21482 * benchtests/Makefile (bench): Write all output to
21483 bench-out.tmp together.
21485 2013-04-15 Andreas Schwab <schwab@suse.de>
21487 * nscd/nscd.c (main): Don't fork again after closing files.
21489 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21491 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21493 * benchtests/Rules (bench-deps): Collect dependencies into a
21494 single variable. Add Makefile to dependencies.
21495 ($(objpfx)bench-%.c): Depend on bench-deps.
21497 2013-04-12 Roland McGrath <roland@hack.frob.com>
21498 Xavier Roche <roche+kml2@exalead.com>
21501 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21502 just that it's a file descriptor.
21503 * manual/llio.texi (Synchronizing AIO Operations): Update description
21504 for EBADF error from aio_fsync.
21506 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21508 * Rules (bench): Move target definition...
21509 * benchtests/Makefile: ... here.
21511 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21513 * math/libm-test.inc (cos_test): Fix PI/2 test.
21514 (sincos_test): Likewise.
21515 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21516 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21518 2013-04-11 Andreas Schwab <schwab@suse.de>
21521 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21522 accept exponent character only when digits were seen.
21523 * stdio-common/Makefile (tests): Add bug26.
21524 * stdio-common/bug26.c: New file.
21527 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21530 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21532 * Makeconfig (rtld-prefix): Define built linker prefix.
21533 * Rules (run-bench): Use it.
21534 * math/Makefile (run-regen-ulps): Likewise.
21536 * Rules (bench): Remove eval.
21538 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21539 Roland McGrath <roland@hack.frob.com>
21540 Ondrej Bilka <neleai@seznam.cz>
21543 * time/getdate.c: Include ctype.h and alloca.h.
21544 (__getdate_r): Trim leading and trailing spaces of input.
21545 * time/tst-getdate.c (tests): Add tests with leading and
21548 2013-04-08 Roland McGrath <roland@hack.frob.com>
21551 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21552 when computing value.
21554 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21556 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21557 Use testrun.sh to run libm tests.
21560 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21562 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21565 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21567 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21569 * Makefile.in (regen-ulps): New target.
21570 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21571 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21572 [ifneq (no,$(PERL)] (regen-ulps): New target.
21573 [ifeq (no,$(PERL)] (regen-ulps): New target.
21574 * math/libm-test.inc (ulps_file_name): Define.
21575 (output_dir): New variable.
21576 (options): Add "output-dir" option.
21577 (parse_opt): Handle 'o' case.
21578 (main): If output_dir is non-NULL use it as a prefix
21580 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21582 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21584 [BZ #10060, #10062]
21585 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21586 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21587 fail configure if __sync_val_compare_and_swap is not inlined.
21588 * sysdeps/i386/configure: Regenerate.
21589 * configure.in: Build for i686 when configured for i386.
21590 * configure: Regenerate.
21591 * README: Remove i386 reference.
21593 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21595 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21596 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21598 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21600 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21601 (lmsnanval): New variables.
21602 (F): Add conversion tests.
21603 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21604 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21606 * stdio-common/tstdiomisc.c (F): Properly collect individual
21609 [BZ #14686, #15336]
21610 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21611 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21612 Instead, use input NaN values or generate a qNaN by arithmetic
21613 operation. Also fix bugs to comply with the standard.
21614 * math/libm-test.inc (remainder_test): Add more tests.
21616 [BZ #15335, #15342]
21617 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21618 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21619 input NaN values or generate a qNaN by arithmetic operation.
21621 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21624 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21627 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21630 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21631 underflowed result.
21632 * math/s_cexpf.c (__cexpf): Likewise.
21633 * math/s_cexpl.c (__cexpl): Likewise.
21634 * math/libm-test.inc (cexp_test): Add more tests.
21636 2013-04-03 Andreas Schwab <schwab@suse.de>
21639 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21640 order arrays from heap if bigger than alloca cutoff.
21642 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21644 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21645 (SNAN_TESTS_double): Refer to GCC PR56831.
21646 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21649 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21651 * Rules (bench): Move bench.out after the run is complete.
21653 * Rules (bench): Echo currently running benchmark.
21655 * benchtests/Makefile (bench): Add atan and slowatan.
21656 * benchtests/atan-inputs: New file.
21657 * benchtests/slowatan-inputs: New file.
21658 * benchtests/slowatan.c: New file.
21660 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21661 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21665 * sysdeps/unix/sysv/linux/kernel-features.h
21666 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21667 __ASSUME_XFS_RESTRICTED_CHOWN.
21668 * sysdeps/unix/sysv/linux/pathconf.c
21669 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21670 Save and restore errno.
21672 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21675 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21676 arguments using __kernel_casinh.
21677 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21678 arguments using __kernel_casinhf.
21679 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21680 arguments using __kernel_casinhl.
21681 * math/libm-test.inc (cacosh_test): Add more tests.
21682 * sysdeps/i386/fpu/libm-test-ulps: Update.
21683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21685 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21687 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21688 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21690 * bench/Makefile (bench): Add sin and slowsin.
21691 * benchtests/sin-inputs: New file.
21692 * benchtests/slowsin-inputs: New file.
21693 * benchtests/slowsin.c: New file.
21695 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21696 (bench): Add slowexp and slowpow.
21697 (exp-ITER): Increase iterations.
21698 (pow-ITER): Likewise.
21699 * benchtests/exp-inputs: Change input.
21700 * benchtests/pow-inputs: Likewise.
21701 * benchtests/slowexp-inputs: New file.
21702 * benchtests/slowexp.c: New file.
21703 * benchtests/slowpow-inputs: New file.
21704 * benchtests/slowpow.c: New file.
21706 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21708 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21710 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21711 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21712 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21713 * benchtests/Makefile: Add rint benchtest.
21714 * benchtests/rint-inputs: Input for rint benchtest.
21716 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21718 * Versions.def (libm): Add GLIBC_2.18.
21719 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21720 hidden libm prototypes.
21721 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21722 * math/Makefile (libm-calls): Add s_issignaling.
21723 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21724 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21725 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21727 * math/math.h [__USE_GNU] (issignaling): New macro.
21728 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21729 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21730 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21731 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21732 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21733 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21734 * manual/arith.texi (issignaling): New section.
21735 * manual/libm-err-tab.pl (@all_functions): Update comment.
21736 * math/gen-libm-test.pl (parse_args): Apply special handling for
21738 * math/libm-test.inc (print_float, issignaling_test): New
21740 (check_float_internal): Add issignaling checks.
21741 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21742 default definition.
21743 * sysdeps/powerpc/math-tests.h: New file.
21744 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21746 * math/test-snan.c (TEST_FUNC): Likewise.
21748 2013-03-30 David S. Miller <davem@davemloft.net>
21750 * po/de.po: Update from translation team.
21752 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21755 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21756 imaginary part less than 1.0 and real part less than 0.5
21758 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21759 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21760 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21761 (cacos_test): Add more tests.
21762 (casin_test): Likewise.
21763 (casinh_test): Likewise.
21764 * sysdeps/i386/fpu/libm-test-ulps: Update.
21765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21767 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21769 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21770 ONE with its value.
21772 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21773 (__pow_mp): Replace ONE and MONE with their values.
21774 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21775 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21776 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21777 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21778 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21779 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21781 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21783 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21784 (__pow_mp): Replace ZERO and MZERO with their values.
21785 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21786 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21787 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21788 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21789 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21790 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21793 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21795 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21797 2013-03-28 Roland McGrath <roland@hack.frob.com>
21799 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21800 Declare with __attribute__ ((weak)).
21801 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21802 Call __call_tls_dtors only if it's not NULL.
21804 2013-03-28 Roland McGrath <roland@hack.frob.com>
21806 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21807 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21808 magic __ehdr_start linker symbol if it's defined.
21809 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21810 them up here if it was already done.
21812 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21813 (_dl_aux_init): Use const in cast when setting it.
21814 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21815 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21816 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21818 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21820 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21821 * csu/libc-tls.c: Nor here.
21822 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21824 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21825 (__libc_message): Never call vsyslog.
21827 2013-03-28 Alan Modra <amodra@gmail.com>
21829 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21831 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21834 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21837 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21841 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21844 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21845 Don't add gid passed as argument.
21847 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21849 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21852 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21853 imaginary part between 1.0 and 1.5 and real part less than 0.5
21855 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21856 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21857 * math/libm-test.inc (cacos_test): Add more tests.
21858 (casin_test): Likewise.
21859 (casinh_test): Likewise.
21860 * sysdeps/i386/fpu/libm-test-ulps: Update.
21861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21863 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21865 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21868 (denorm): Likewise.
21869 (__dbl_mp): Likewise.
21870 (add_magnitudes): Likewise.
21871 (sub_magnitudes): Likewise.
21879 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21881 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21882 (__dubcos): Likewise.
21883 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21884 (__ieee754_acos): Likewise.
21885 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21886 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21887 (__exp1): Likewise.
21888 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21889 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21891 (my_log2): Likewise.
21892 (checkint): Likewise.
21893 * sysdeps/ieee754/dbl-64/e_remainder.c
21894 (__ieee754_remainder): Likewise.
21895 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21896 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21897 (bsloww): Likewise.
21898 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21900 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21901 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21902 MANTISSA_STORE_T to store computations on mantissa. Use
21903 macros for rounding and division.
21904 (denorm): Likewise.
21905 (__dbl_mp): Likewise.
21906 (add_magnitudes): Likewise.
21907 (sub_magnitudes): Likewise.
21910 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21911 powers of two in terms of TWOPOW macro.
21912 (mp_no): Make type of mantissa as MANTISSA_T.
21913 [!RADIXI]: Define RADIXI.
21914 [!TWO52]: Define TWO52.
21915 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21917 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21919 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21920 llroundl symbol when building for PPC32.
21922 2013-03-24 Mark H Weaver <mhw@netris.org>
21924 * manual/arith.texi (Normalization Functions): Fix prototypes for
21925 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21927 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21930 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21931 high value to check if expl overflow.
21932 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21933 to check for underflow and overflow.
21934 * math/libm-test.inc: Add exp test.
21936 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21939 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21942 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21944 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21947 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21949 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21950 wrap blocks consisting of several statements.
21952 * sysdeps/generic/math-tests.h: New file.
21953 * sysdeps/i386/fpu/math-tests.h: Likewise.
21954 * math/test-snan.c: Include it.
21955 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21957 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21960 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21961 (__ieee754_j0l): Do not improve calculations using cos of twice
21962 input for inputs above LDBL_MAX / 2.0L.
21963 (__ieee754_y0l): Likewise.
21964 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21965 (__ieee754_j1l): Do not improve calculations using cos of twice
21966 input for inputs above LDBL_MAX / 2.0L.
21967 (__ieee754_y1l): Likewise.
21968 * math/libm-test.inc (j0_test): Add another test.
21969 (j1_test): Likewise.
21970 (y0_test): Likewise.
21971 (y1_test): Likewise.
21972 * sysdeps/i386/fpu/libm-test-ulps: Update.
21974 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21976 * Rules ($(objpfx)bench-%.c): Include code from a C source
21979 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21982 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21983 imaginary part 1.0 and real part less than 0.5 specially.
21984 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21985 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21986 * math/libm-test.inc (cacos_test): Add more tests.
21987 (casin_test): Likewise.
21988 (casinh_test): Likewise.
21989 * sysdeps/i386/fpu/libm-test-ulps: Update.
21990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21992 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21994 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21995 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21997 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21999 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22000 * config.make.in (config-cflags-sse4): Remove variable.
22001 (config-cflags-avx): Likewise.
22002 (config-cflags-sse2avx): Likewise.
22003 (config-cflags-novzeroupper): Likewise.
22004 (config-asflags-i686): Likewise.
22005 (have-mfma4): Likewise.
22006 (have-as-vis3): Likewise.
22008 * configure.in (MIG): Do not AC_SUBST.
22009 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22010 (libc_cv_cc_sse4): Do not AC_SUBST.
22011 (libc_cv_cc_avx): Likewise.
22012 (libc_cv_cc_sse2avx): Likewise.
22013 (libc_cv_cc_novzeroupper): Likewise.
22014 (libc_cv_cc_fma4): Likewise.
22015 (libc_cv_as_i686): Likewise.
22016 (libc_cv_sparc_as_vis3): Likewise.
22017 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22019 (config-asflags-i686): Likewise.
22020 (config-cflags-avx): Likewise.
22021 (config-cflags-sse2avx): Likewise.
22022 (have-mfma4): Likewise.
22023 (config-cflags-novzeroupper): Likewise.
22024 * sysdeps/mach/configure.in (MIG): Likewise.
22025 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22026 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22028 (config-cflags-avx): Likewise.
22029 (config-cflags-sse2avx): Likewise.
22030 (have-mfma4): Likewise.
22031 (config-cflags-novzeroupper): Likewise.
22032 * configure: Regenerated.
22033 * sysdeps/i386/configure: Likewise.
22034 * sysdeps/mach/configure: Likewise.
22035 * sysdeps/sparc/configure: Likewise.
22036 * sysdeps/x86_64/configure: Likewise.
22038 2013-03-20 Roland McGrath <roland@hack.frob.com>
22041 * locale/programs/localedef.c (options): Put N_ translation marker
22042 on argument names, not just descriptions.
22044 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22046 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22048 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22051 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22053 2013-03-19 Roland McGrath <roland@hack.frob.com>
22055 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22056 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22057 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22058 [!BEFORE_ABORT] (before_abort): New function.
22059 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22060 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22061 (writev_for_fatal): New function.
22062 (WRITEV_FOR_FATAL): New macro; call that.
22063 (backtrace_and_maps): New function.
22064 (BEFORE_ABORT): New macro; call that.
22065 (struct str_list): Type removed.
22066 (__libc_message, __libc_fatal): Functions removed.
22067 Include <sysdeps/posix/libc_fatal.c> instead.
22069 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22071 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22073 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22076 2013-03-19 Andreas Schwab <schwab@suse.de>
22078 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22079 * sysdeps/gnu/configure: Regenerate.
22081 * configure.in: Substitute libc_cv_rtlddir.
22082 * configure: Regenerate.
22083 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22084 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22085 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22086 * elf/Makefile (install-others, CFLAGS-interp.c)
22087 (ldso_install, common-ldd-rewrite): Likewise.
22088 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22089 $(inst_slibdir)/$(rtld-installed-name).
22090 * scripts/rellns-sh: Add -p option.
22091 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22094 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22096 * manual/nptl.texi: Renamed to ...
22097 * manual/threads.texi: ... this.
22098 * manual/Makefile (chapters): Update.
22100 2013-03-18 Roland McGrath <roland@hack.frob.com>
22103 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22104 on argument names, not just descriptions.
22105 * malloc/memusagestat.c (options): Likewise.
22106 * nss/getent.c (options): Likewise.
22108 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22111 * iconv/iconv_prog.c (options): Put N_ translation marker
22112 on argument names, not just descriptions.
22113 * iconv/iconvconfig.c (options): Likewise.
22115 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22117 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22118 implementation which is faster on all x86_64 architectures.
22119 Tested on AMD, Intel Nehalem, SNB, IVB.
22120 * sysdeps/x86_64/strnlen.S: Likewise.
22122 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22123 Remove all multiarch strlen and strnlen versions.
22124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22125 Remove strlen and strnlen related parts.
22127 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22128 Inline strlen part.
22129 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22131 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22132 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22133 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22134 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22135 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22136 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22138 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22140 * manual/memory.texi (Malloc Tunable Parameters):
22141 Sort parameters alphabetically. Add comments for missing entries.
22143 2013-03-17 David S. Miller <davem@davemloft.net>
22145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22147 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22150 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22151 for arguments at most half maximum finite value.
22152 * math/libm-test.inc (j0_test): Add more tests.
22153 (j1_test): Likewise.
22154 (y0_test): Likewise.
22155 (y1_test): Likewise.
22156 * sysdeps/i386/fpu/libm-test-ulps: Update.
22157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22160 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22161 1 / x and functions P and Q for arguments above 0x1p256L.
22162 (__ieee754_y0l): Likewise.
22163 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22164 (__ieee754_y1l): Likewise.
22165 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22166 (j1_test): Likewise.
22167 (y0_test): Likewise.
22168 (y1_test): Likewise.
22170 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22172 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22175 2013-03-15 Roland McGrath <roland@hack.frob.com>
22177 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22178 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22179 zero since it's initialized to EXEC_PAGESIZE.
22181 * sysdeps/unix/sysv/linux/ldsodefs.h
22182 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22183 * sysdeps/generic/ldsodefs.h: ... here.
22185 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22187 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22189 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22191 * math/test-snan.c: Renamed from
22192 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22193 * math/Makefile (tests): Add test-snan.
22194 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22197 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22198 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22200 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22201 __builtin_nan family of functions.
22202 * math/libm-test.inc (initialize): Initialize qnan_value with
22203 __builtin_nan family of functions.
22204 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22206 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22208 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22209 storage class. Initialize qNaN_var and sNaN_var with
22210 __builtin_nan and __builtin_nans families of functions,
22213 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22214 (sqrt_test): Remove duplicate test with qNaN input.
22215 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22216 (round_test, signbit_test, significand_test): Note missing +/-Inf
22217 as well as qNaN tests.
22219 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22220 qNaN_var. Fix a few strings, too.
22221 * math/libm-test.inc (nan_value): Rename to qnan_value.
22222 * math/gen-libm-test.pl (%beautify): Adjust to that.
22223 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22224 * math/test-misc.c (main): Likewise.
22225 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22226 to __qnan_bytes, and __qnan_union, respectively.
22227 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22229 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22230 and lqnanval, respectively.
22231 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22232 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22233 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22234 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22236 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22237 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22240 * math/test-misc.c (main): Fix copy'n'pastos.
22241 * misc/tst-efgcvt.c (special): Likewise.
22243 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22244 Remove declarations.
22246 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22248 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22249 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22250 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22251 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22253 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22255 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22256 macro to return vdso values correctly in IFUNC implementations.
22257 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22258 Optimization by using IFUNC.
22260 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22261 Richard Henderson <rth@redhat.com>
22262 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22264 * Makefile.in (bench): New target.
22265 * NEWS: Mention the benchmark framework.
22266 * Rules (bench): Likewise.
22267 (binaries-bench): Generate binaries for functions to
22269 * benchtests/Makefile: New makefile for benchmark tests.
22270 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22272 * benchtests/exp-inputs: New input file for EXP function.
22273 * benchtests/pow-inputs: New input file for POW function.
22274 * scripts/bench.pl: New script to generate source files for
22275 benchmark programs.
22277 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22279 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22280 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22281 computations on mantissa. Use macros for rounding and
22283 (denorm): Likewise.
22284 (__dbl_mp): Likewise.
22285 (add_magnitudes): Likewise.
22286 (sub_magnitudes): Likewise.
22289 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22290 powers of two in terms of TWOPOW macro.
22291 (mp_no): Make type of mantissa as MANTISSA_T.
22292 [!RADIXI]: Define RADIXI.
22293 [!TWO52]: Define TWO52.
22294 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22296 * manual/nptl.texi (cindex): Modify threads to pthreads.
22298 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22300 * sysdeps/x86_64/preconfigure: Regenerated.
22302 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22305 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22307 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22308 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22310 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22311 * math/libm-test.inc (j0_test): Do not allow one spurious
22312 underflow exception.
22313 (y1_test): Likewise.
22315 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22317 * manual/Makefile (chapters): Add nptl.
22318 * manual/debug.texi (Debugging Support): Add link to Threads
22320 * manual/nptl.texi: New file.
22322 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22324 2013-03-14 Petr Baudis <pasky@ucw.cz>
22326 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22327 for non-NULL pointer before the memory validity test. Pointed
22328 out by Holger Brunck <holger.brunck@keymile.com>.
22330 2013-03-13 Andreas Schwab <schwab@suse.de>
22332 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22335 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22337 * timezone/zic.c: Update from tzcode 2013b.
22339 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22341 * manual/install.texi (Configuring and compiling):
22342 Mention i686 and i586.
22343 * INSTALL: Regenerate.
22345 2013-03-12 Roland McGrath <roland@hack.frob.com>
22347 * sysdeps/init_array/elf-init.c: New file.
22349 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22350 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22352 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22353 __gmon_start__ as global, but as static with a .preinit_array pointer.
22354 * sysdeps/init_array/gmon-start.c: New file. Use that.
22355 * sysdeps/init_array/crti.S: New file, empty except for comments.
22356 * sysdeps/init_array/crtn.S: Likewise.
22358 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22360 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22363 Remove Prefer_SSE_for_memop.
22364 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22365 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22366 HAS_PREFER_SSE_FOR_MEMOP.
22367 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22369 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22370 Remove bzero, memset ifunc support.
22371 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22372 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22373 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22374 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22376 2013-03-11 Andreas Schwab <schwab@suse.de>
22379 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22382 (GLIBC_2.16): Remove pthread_atfork.
22384 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22386 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22387 (ptestcases.h): Likewise.
22389 2013-03-08 Roland McGrath <roland@hack.frob.com>
22391 * Makeconfig ($(common-objpfx)config.status): Depend on
22392 sysdeps/*/preconfigure{,.in} too.
22394 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22396 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22397 (__free_hook): Use void * instead of __malloc_ptr_t.
22398 (__malloc_hook): Likewise.
22399 (__realloc_hook): Likewise.
22400 (__memalign_hook): Likewise.
22401 (__after_morecore_hook): Likewise.
22402 * malloc/arena.c (save_malloc_hook): Likewise.
22403 (save_free_hook): Likewise.
22404 * malloc/hooks.c (malloc_hook_ini): Likewise.
22405 (realloc_hook_ini): Likewise.
22406 (memalign_hook_ini): Likewise.
22407 * malloc/malloc.c (malloc_hook_ini): Likewise.
22408 (realloc_hook_ini): Likewise.
22409 (memalign_hook_ini): Likewise.
22410 (__free_hook): Likewise.
22411 (__malloc_hook): Likewise.
22412 (__realloc_hook): Likewise.
22413 (__memalign_hook): Likewise.
22414 (__libc_malloc): Likewise.
22415 (__libc_free): Likewise.
22416 (__libc_realloc): Likewise.
22417 (__libc_memalign): Likewise.
22418 (__libc_valloc): Likewise.
22419 (__libc_pvalloc): Likewise.
22420 (__libc_calloc): Likewise.
22421 (__posix_memalign): Likewise.
22422 * malloc/morecore.c (__sbrk): Likewise.
22423 (__default_morecore): Likewise.
22425 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22427 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22428 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22429 __malloc_ptrdiff_t.
22431 * malloc/malloc.h (__malloc_size_t): Remove macro.
22432 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22434 (old_memalign_hook): Likewise.
22435 (old_realloc_hook): Likewise.
22436 (struct hdr): Likewise.
22438 (mallochook): Likewise.
22439 (memalignhook): Likewise.
22440 (reallochook): Likewise.
22441 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22442 (tr_old_realloc_hook): Likewise.
22443 (tr_old_memalign_hook): Likewise.
22444 (tr_mallochook): Likewise.
22445 (tr_reallochook): Likewise.
22446 (tr_memalignhook): Likewise.
22448 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22450 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22451 default_ldbl_pack and using as default implementation.
22452 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22454 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22455 redundant definition.
22456 (ldbl_insert_mantissa): Likewise.
22457 (ldbl_canonicalize): Likewise.
22458 (ldbl_nearbyint): Likewise.
22459 (ldbl_pack): Rename to ldbl_pack_ppc.
22460 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22461 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22462 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22464 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22467 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22468 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22469 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22471 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22472 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22473 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22475 2013-03-07 Andreas Jaeger <aj@suse.de>
22477 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22480 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22482 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22483 Include mpa.h and declare __MPEXP.
22484 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22485 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22486 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22487 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22488 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22489 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22490 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22492 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22493 (__slowpow): Use long double EXPL and LOGL functions to
22495 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22496 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22497 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22498 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22499 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22500 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22502 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22503 intermediate variable to calculate exponent.
22505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22509 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22510 [!NO__SQR]: Define __sqr.
22511 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22512 and NO__SQR. Remove all code except __mul and __sqr. Include
22513 sysdeps/ieee754/dbl-64/mpa.c.
22514 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22517 * posix/Makefile (tests): Add tst-pathconf.
22518 * posix/tst-pathconf.c: New test case.
22519 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22521 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22523 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22525 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22527 2013-03-06 Andreas Jaeger <aj@suse.de>
22529 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22530 definition via __MAP_ANONYMOUS.
22532 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22533 it's not part of Linux headers.
22535 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22536 (MAP_HUGE_MASK): Define.
22538 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22540 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22541 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22543 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22544 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22546 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22547 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22549 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22551 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22552 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22553 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22554 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22555 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22556 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22558 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22561 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22562 Handle f2fs and efivarfs.
22564 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22567 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22568 (EFIVARFS_MAGIC): Add.
22569 (F2FS_LINK_MAX): Add.
22571 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22573 * stdio-common/vfprintf.c: Replace __builtin_expect with
22576 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22579 * sysdeps/generic/bp-sym.h: Remove file.
22580 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22581 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22582 <bp-sym.h> and <bp-asm.h>.
22583 (__longjmp): Don't use BP_SYM.
22584 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22586 (memcpy): Don't use BP_SYM.
22587 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22588 <bp-sym.h> and <bp-asm.h>.
22589 (memcpy): Don't use BP_SYM.
22590 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22592 (memcpy): Don't use BP_SYM.
22593 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22595 (memset): Don't use BP_SYM.
22596 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22597 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22598 (__bzero): Don't use BP_SYM.
22599 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22600 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22601 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22602 <bp-sym.h> and <bp-asm.h>.
22603 (memcmp): Don't use BP_SYM. Remove comment about bounded
22605 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22606 <bp-sym.h> and <bp-asm.h>.
22607 (memcpy): Don't use BP_SYM.
22608 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22609 <bp-sym.h> and <bp-asm.h>.
22610 (memset): Don't use BP_SYM.
22611 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22612 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22613 (__bzero): Don't use BP_SYM.
22614 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22615 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22616 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22617 <bp-sym.h> and <bp-asm.h>.
22618 (strncmp): Don't use BP_SYM. Remove comment about bounded
22620 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22621 <bp-sym.h> and <bp-asm.h>.
22622 (memcpy): Don't use BP_SYM.
22623 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22624 <bp-sym.h> and <bp-asm.h>.
22625 (memset): Don't use BP_SYM.
22626 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22627 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22628 (__bzero): Don't use BP_SYM.
22629 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22630 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22631 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22632 <bp-sym.h> and <bp-asm.h>.
22633 (__memchr): Don't use BP_SYM.
22634 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22635 <bp-sym.h> and <bp-asm.h>.
22636 (memcmp): Don't use BP_SYM. Remove comment about bounded
22638 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22639 <bp-sym.h> and <bp-asm.h>.
22640 (memcpy): Don't use BP_SYM.
22641 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22642 <bp-sym.h> and <bp-asm.h>.
22643 (__mempcpy): Don't use BP_SYM.
22644 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22645 <bp-sym.h> and <bp-asm.h>.
22646 (__memrchr): Don't use BP_SYM.
22647 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22648 <bp-sym.h> and <bp-asm.h>.
22649 (memset): Don't use BP_SYM.
22650 (__bzero): Likewise.
22651 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22652 <bp-sym.h> and <bp-asm.h>.
22653 (__rawmemchr): Don't use BP_SYM.
22654 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22655 <bp-sym.h> and <bp-asm.h>.
22656 (__STRCMP): Don't use BP_SYM.
22657 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22658 <bp-sym.h> and <bp-asm.h>.
22659 (strchr): Don't use BP_SYM.
22660 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22661 <bp-sym.h> and <bp-asm.h>.
22662 (__strchrnul): Don't use BP_SYM.
22663 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22664 <bp-sym.h> and <bp-asm.h>.
22665 (strlen): Don't use BP_SYM.
22666 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22667 <bp-sym.h> and <bp-asm.h>.
22668 (strncmp): Don't use BP_SYM. Remove comment about bounded
22670 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22671 <bp-sym.h> and <bp-asm.h>.
22672 (__strnlen): Don't use BP_SYM.
22673 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22674 <bp-sym.h> and <bp-asm.h>.
22675 (__GI__setjmp): Don't use BP_SYM.
22676 (_setjmp): Likewise.
22677 (__sigsetjmp): Likewise.
22678 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22679 (L(start_addresses)): Don't use BP_SYM.
22680 (_start): Likewise.
22681 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22683 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22684 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22685 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22686 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22687 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22689 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22690 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22691 about bounded pointers.
22692 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22693 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22694 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22696 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22697 about bounded pointers. Remove GKM FIXME comments.
22698 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22699 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22701 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22702 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22703 Remove GKM FIXME comments.
22704 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22705 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22706 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22708 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22709 about bounded pointers. Remove GKM FIXME comment.
22710 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22712 (strncmp): Don't use BP_SYM. Remove comment about bounded
22714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22715 <bp-sym.h> and <bp-asm.h>.
22716 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22718 <bp-sym.h> and <bp-asm.h>.
22719 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22722 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22724 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22727 2013-03-05 David S. Miller <davem@davemloft.net>
22729 * po/es.po: Update from translation team.
22731 2013-03-05 Andreas Jaeger <aj@suse.de>
22733 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22734 <bits/mman-linux.h>.
22735 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22737 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22738 <bits/mman-linux.h> to end of file.
22739 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22741 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22742 <bits/mman-linux.h> to end of file.
22743 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22745 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22746 <bits/mman-linux.h> to end of file.
22748 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22749 (MCL_CURRENT, MCL_FUTURE): Define here.
22751 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22754 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22756 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22758 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22760 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22761 fourth parameter needed for rt_sigprocmask syscall.
22762 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22763 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22764 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22765 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22766 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22767 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22769 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22772 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22773 comment about bounded pointers.
22774 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22775 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22777 2013-03-04 Andreas Jaeger <aj@suse.de>
22779 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22780 common definitions.
22782 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22783 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22784 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22785 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22786 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22787 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22789 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22792 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22793 __ieee754_sqrl instead of __sqrl.
22795 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22797 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22798 * sysdeps/powerpc/fpu_control.h: ... here.
22799 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22800 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22801 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22802 * sysdeps/powerpc/bits/mathinline.h: ... here.
22804 2013-03-01 Roland McGrath <roland@hack.frob.com>
22806 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22807 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22808 to just [NEED_DL_SYSINFO_DSO].
22809 * elf/dl-support.c: Likewise.
22810 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22811 * elf/rtld.c (dl_main): Likewise.
22812 * elf/setup-vdso.h (setup_vdso): Likewise.
22813 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22814 * sysdeps/unix/sysv/linux/dl-sysdep.c
22815 (_dl_discover_osversion): Likewise.
22817 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22819 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22820 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22822 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22824 * NEWS: Mention libm performance improvements and non-x86 PI
22827 * csu/libc-start.c (__pthread_initialize_minimal): Change
22828 function arguments.
22829 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22831 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22834 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22835 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22836 <bp-sym.h> and <bp-asm.h>.
22837 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22838 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22840 (memcpy): Don't use BP_SYM.
22841 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22843 (__mpn_add_n): Don't use BP_SYM.
22844 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22845 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22847 (__mpn_addmul_1): Don't use BP_SYM.
22848 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22849 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22851 (_setjmp): Don't use BP_SYM.
22852 (__novmx_setjmp): Likewise.
22853 (__GI__setjmp): Likewise.
22854 (__vmx_setjmp): Likewise.
22855 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22857 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22858 (__bzero): Don't use BP_SYM.
22859 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22860 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22861 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22862 <bp-sym.h> and <bp-asm.h>.
22863 (memcpy): Don't use BP_SYM.
22864 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22865 <bp-sym.h> and <bp-asm.h>.
22866 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22867 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22868 <bp-sym.h> and <bp-asm.h>.
22869 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22870 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22872 (__mpn_lshift): Don't use BP_SYM.
22873 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22874 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22876 (memset): Don't use BP_SYM.
22877 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22878 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22879 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22881 (__mpn_mul_1): Don't use BP_SYM.
22882 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22883 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22884 <bp-sym.h> and <bp-asm.h>.
22885 (memcmp): Don't use BP_SYM.
22886 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22887 <bp-sym.h> and <bp-asm.h>.
22888 (memcpy): Don't use BP_SYM.
22889 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22890 <bp-sym.h> and <bp-asm.h>.
22891 (memset): Don't use BP_SYM.
22892 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22893 <bp-sym.h> and <bp-asm.h>.
22894 (strncmp): Don't use BP_SYM.
22895 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22896 <bp-sym.h> and <bp-asm.h>.
22897 (memcpy): Don't use BP_SYM.
22898 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22899 <bp-sym.h> and <bp-asm.h>.
22900 (memset): Don't use BP_SYM.
22901 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22902 <bp-sym.h> and <bp-asm.h>.
22903 (__memchr): Don't use BP_SYM.
22904 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22905 <bp-sym.h> and <bp-asm.h>.
22906 (memcmp): Don't use BP_SYM.
22907 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22908 <bp-sym.h> and <bp-asm.h>.
22909 (memcpy): Don't use BP_SYM.
22910 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22911 <bp-sym.h> and <bp-asm.h>.
22912 (__mempcpy): Don't use BP_SYM.
22913 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22914 <bp-sym.h> and <bp-asm.h>.
22915 (__memrchr): Don't use BP_SYM.
22916 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22917 <bp-sym.h> and <bp-asm.h>.
22918 (memset): Don't use BP_SYM.
22919 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22920 <bp-sym.h> and <bp-asm.h>.
22921 (__rawmemchr): Don't use BP_SYM.
22922 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22923 <bp-sym.h> and <bp-asm.h>.
22924 (__STRCMP): Don't use BP_SYM.
22925 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22926 <bp-sym.h> and <bp-asm.h>.
22927 (strchr): Don't use BP_SYM.
22928 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22929 <bp-sym.h> and <bp-asm.h>.
22930 (__strchrnul): Don't use BP_SYM.
22931 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22932 <bp-sym.h> and <bp-asm.h>.
22933 (strlen): Don't use BP_SYM.
22934 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22935 <bp-sym.h> and <bp-asm.h>.
22936 (strncmp): Don't use BP_SYM.
22937 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22938 <bp-sym.h> and <bp-asm.h>.
22939 (__strnlen): Don't use BP_SYM.
22940 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22942 (__mpn_rshift): Don't use BP_SYM.
22943 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22944 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22945 <bp-sym.h> and <bp-asm.h>.
22946 (__sigsetjmp): Don't use BP_SYM.
22947 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22948 (L(start_addresses)): Don't use BP_SYM.
22949 (_start): Likewise.
22950 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22952 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22953 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22954 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22955 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22957 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22958 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22959 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22960 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22962 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22964 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22965 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22967 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22969 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22970 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22971 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22973 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22975 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22977 (strncmp): Don't use BP_SYM,
22978 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22980 (__mpn_sub_n): Don't use BP_SYM.
22981 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22982 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22984 (__mpn_submul_1): Don't use BP_SYM.
22985 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22987 <bp-sym.h> and <bp-asm.h>.
22988 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22990 <bp-sym.h> and <bp-asm.h>.
22991 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22994 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22996 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22997 Use ZK to minimize writes to Z.
22998 (sub_magnitudes): Simplify code a bit.
22999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23000 Use ZK to minimize writes to Z.
23001 (sub_magnitudes): Simplify code a bit.
23003 2013-02-27 Roland McGrath <roland@hack.frob.com>
23005 * csu/gmon-start.c: Add special exception to license text.
23007 2013-02-27 Richard Henderson <rth@redhat.com>
23009 * scripts/config.guess: Update from config.git.
23010 * scripts/config.sub: Likewise.
23012 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23014 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23016 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23018 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23020 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23022 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23024 2013-02-26 Roland McGrath <roland@hack.frob.com>
23026 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23027 [$(build-shared = yes].
23029 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23031 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23032 (__mul): Reduce iterations for calculating mantissa.
23034 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23036 (__mpranred): Likewise.
23039 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23040 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23042 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23044 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23045 Define __attribute__.
23047 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23049 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23051 * posix/regex_internal.h (__attribute): Remove.
23052 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23053 (re_string_context_at): Likewise.
23054 (bitset_not): Use __attribute__ and mark function as possibly
23056 (bitset_merge): Likewise.
23057 (bitset_mask): Likewise.
23058 (re_string_char_size_at): Likewise.
23059 (re_string_wchar_at): Likewise.
23060 (re_string_elem_size_at): Likewise.
23062 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23064 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23068 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23072 (denorm): Likewise.
23073 (__dbl_mp): Likewise.
23074 (add_magnitudes): Likewise.
23075 (sub_magnitudes): Likewise.
23079 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23082 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23085 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23089 up changes with default code.
23090 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23093 2013-02-24 Allan McRae <allan@archlinux.org>
23095 * manual/socket.texi (The Internet Namespace): Order menu items
23096 to match that in the file.
23098 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23099 node listing of the info page menu.
23101 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23104 * sysdeps/i386/bp-asm.h: Remove file.
23105 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23106 (PARMS): Do not use macros from bp-asm.h.
23110 (__mpn_add_n): Do not use BP_SYM
23111 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23113 (PARMS): Do not use macros from bp-asm.h.
23116 (__mpn_addmul_1): Do not use BP_SYM
23117 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23119 (PARMS): Do not use macros from bp-asm.h.
23120 (SIGMSK): Likewise.
23121 (_setjmp): Likewise. Do not use BP_SYM.
23122 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23124 (PARMS): Do not use macros from bp-asm.h.
23125 (SIGMSK): Likewise.
23126 (setjmp): Likewise. Do not use BP_SYM.
23127 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23129 (PARMS): Do not use macros from bp-asm.h.
23130 (__frexp): Do not use BP_SYM.
23132 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23134 (PARMS): Do not use macros from bp-asm.h.
23135 (__frexpf): Do not use BP_SYM.
23136 (frexpf): Likewise.
23137 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23139 (PARMS): Do not use macros from bp-asm.h.
23140 (__frexpl): Do not use BP_SYM.
23141 (frexpl): Likewise.
23142 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23144 (PARMS): Do not use macros from bp-asm.h.
23145 (__remquo): Do not use BP_SYM.
23146 (remquo): Likewise.
23147 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23149 (PARMS): Do not use macros from bp-asm.h.
23150 (__remquof): Do not use BP_SYM.
23151 (remquof): Likewise.
23152 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23154 (PARMS): Do not use macros from bp-asm.h.
23155 (__remquol): Do not use BP_SYM.
23156 (remquol): Likewise.
23157 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23159 (PARMS): Do not use macros from bp-asm.h.
23162 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23163 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23165 (PARMS): Do not use macros from bp-asm.h.
23166 (strlen): Do not use BP_SYM.
23167 * sysdeps/i386/i586/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/i586/addmul_1.S: Do not include "bp-sym.h" and
23176 (PARMS): Do not use macros from bp-asm.h.
23179 (__mpn_addmul_1): Do not use BP_SYM.
23180 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23183 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23185 (PARMS): Do not use macros from bp-asm.h.
23188 (__mpn_lshift): Do not use BP_SYM.
23189 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23191 (PARMS): Do not use macros from bp-asm.h.
23195 (memcpy): Likewise. Do not use BP_SYM.
23196 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23197 libc_hidden_def and weak_alias.
23198 (mempcpy): Do not use BP_SYM in weak_alias.
23199 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23201 (PARMS): Do not use macros from bp-asm.h.
23204 [!BZERO_P] (CHR): Likewise.
23205 (memset): Likewise. Do not use BP_SYM.
23206 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23208 (PARMS): Do not use macros from bp-asm.h.
23211 (__mpn_mul_1): Do not use BP_SYM.
23212 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23214 (PARMS): Do not use macros from bp-asm.h.
23217 (__mpn_rshift): Do not use BP_SYM.
23218 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23220 (PARMS): Do not use macros from bp-asm.h.
23223 (strchr): Likewise. Do not use BP_SYM.
23224 (index): Do not use BP_SYM in weak_alias.
23225 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23227 (PARMS): Do not use macros from bp-asm.h.
23230 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23231 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23233 (PARMS): Do not use macros from bp-asm.h.
23234 (strlen): Do not use BP_SYM.
23235 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23237 (PARMS): Do not use macros from bp-asm.h.
23241 (__mpn_sub_n): Do not use BP_SYM.
23242 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23244 (PARMS): Do not use macros from bp-asm.h.
23247 (__mpn_submul_1): Do not use BP_SYM.
23248 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23250 (PARMS): Do not use macros from bp-asm.h.
23254 (__mpn_add_n): Do not use BP_SYM.
23255 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23258 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23260 (PARMS): Do not use macros from bp-asm.h.
23263 (memcmp): Do not use BP_SYM.
23264 (bcmp): Do not use BP_SYM in weak_alias.
23265 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23267 (PARMS): Do not use macros from bp-asm.h.
23271 (memcpy): Likewise. Do not use BP_SYM.
23272 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23274 (PARMS): Do not use macros from bp-asm.h.
23278 (memmove): Likewise. Do not use BP_SYM.
23279 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23281 (PARMS): Do not use macros from bp-asm.h.
23285 (__mempcpy): Likewise. Do not use BP_SYM.
23286 (mempcpy): Do not use BP_SYM in weak_alias.
23287 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23289 (PARMS): Do not use macros from bp-asm.h.
23292 [!BZERO_P] (CHR): Likewise.
23293 (memset): Likewise. Do not use BP_SYM.
23294 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23296 (PARMS): Do not use macros from bp-asm.h.
23298 (strcmp): Do not use BP_SYM.
23299 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23301 (PARMS): Do not use macros from bp-asm.h.
23304 [USE_AS_STRTOK_R] (SAVE): Likewise.
23305 (FUNCTION): Likewise. Do not use BP_SYM.
23306 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23308 (strtok_r): Likewise.
23309 (__GI___strtok_r): Likewise.
23310 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23311 (PARMS): Do not use macros from bp-asm.h.
23314 (__mpn_lshift): Do not use BP_SYM.
23315 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23316 (PARMS): Do not use macros from bp-asm.h.
23319 (__memchr): Do not use BP_SYM.
23320 (memchr): Do not use BP_SYM in weak_alias.
23321 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23322 (PARMS): Do not use macros from bp-asm.h.
23325 (memcmp): Do not use BP_SYM.
23326 (bcmp): Do not use BP_SYM in weak_alias.
23327 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23328 (PARMS): Do not use macros from bp-asm.h.
23331 (__mpn_mul_1): Do not use BP_SYM.
23332 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23334 (PARMS): Do not use macros from bp-asm.h.
23337 (__rawmemchr): Do not use BP_SYM.
23338 (rawmemchr): Do not use BP_SYM in weak_alias.
23339 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23340 (PARMS): Do not use macros from bp-asm.h.
23343 (__mpn_rshift): Do not use BP_SYM.
23344 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23345 (PARMS): Do not use macros from bp-asm.h.
23346 (SIGMSK): Likewise.
23347 (__sigsetjmp): Likewise. Do not use BP_SYM.
23348 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23349 (_start): Do not use BP_SYM.
23350 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23351 (PARMS): Do not use macros from bp-asm.h.
23354 (__stpcpy): Likewise. Do not use BP_SYM.
23355 (stpcpy): Do not use BP_SYM in weak_alias.
23356 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23358 (PARMS): Do not use macros from bp-asm.h.
23362 (__stpncpy): Likewise. Do not use BP_SYM.
23363 (stpncpy): Do not use BP_SYM in weak_alias.
23364 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23365 (PARMS): Do not use macros from bp-asm.h.
23368 (strchr): Likewise. Do not use BP_SYM.
23369 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23371 (PARMS): Do not use macros from bp-asm.h.
23374 (__strchrnul): Likewise. Do not use BP_SYM.
23375 (strchrnul): Do not use BP_SYM in weak_alias.
23376 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23378 (PARMS): Do not use macros from bp-asm.h.
23380 (strcspn): Do not use BP_SYM.
23381 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23383 (PARMS): Do not use macros from bp-asm.h.
23386 (strpbrk): Likewise. Do not use BP_SYM.
23387 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23389 (PARMS): Do not use macros from bp-asm.h.
23392 (strrchr): Likewise. Do not use BP_SYM.
23393 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23394 (PARMS): Do not use macros from bp-asm.h.
23396 (strspn): Do not use BP_SYM.
23397 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23398 (PARMS): Do not use macros from bp-asm.h.
23402 (FUNCTION): Likewise. Do not use BP_SYM.
23403 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23405 (strtok_r): Likewise.
23406 (__GI___strtok_r): Likewise.
23407 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23408 (PARMS): Do not use macros from bp-asm.h.
23412 (__mpn_sub_n): Do not use BP_SYM.
23413 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23415 (PARMS): Do not use macros from bp-asm.h.
23418 (__mpn_submul_1): Do not use BP_SYM.
23419 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23421 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23423 (PARMS): Do not use macros from bp-asm.h.
23428 (__clone): Do not use BP_SYM.
23429 (clone): Do not use BP_SYM in weak_alias.
23430 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23432 (PARMS): Do not use macros from bp-asm.h.
23434 (__mmap64): Do not use BP_SYM.
23435 (mmap64): Do not use BP_SYM in weak_alias.
23436 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23437 <bp-sym.h> and <bp-asm.h>.
23438 (PARMS): Do not use macros from bp-asm.h.
23439 (__posix_fadvise64_l64): Do not use BP_SYM.
23440 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23441 (PARMS): Do not use macros from bp-asm.h.
23443 (semtimedop): Do not use BP_SYM.
23444 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23447 2013-02-21 Allan McRae <allan@archlinux.org>
23449 * manual/message.texi (Charset conversion in gettext):
23450 Move @end statement to beginning of line.
23452 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23459 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23460 (denorm): Likewise.
23461 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23464 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23466 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23467 tail-call to the resolved function if pltexit isn't needed.
23469 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23472 or Y being zero as being unlikely.
23473 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23476 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23478 * manual/nss.texi (System Databases and Name Service Switch):
23479 Remove frobnicate @pxref.
23481 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23483 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23484 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23486 2013-02-20 Petr Machata <pmachata@redhat.com>
23488 * elf/elf.h (R_ARM_TARGET1): New macro.
23489 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23490 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23491 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23492 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23493 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23494 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23495 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23496 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23497 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23498 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23499 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23500 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23501 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23502 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23503 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23504 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23505 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23506 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23507 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23508 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23509 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23510 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23511 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23512 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23513 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23514 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23515 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23516 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23517 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23518 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23519 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23520 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23521 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23522 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23523 (R_ARM_THM_GOT_BREL12): Likewise.
23524 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23525 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23526 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23527 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23528 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23529 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23530 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23531 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23532 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23534 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23536 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23537 __attribute_used__ to __attribute__ ((unused)).
23539 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23541 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23544 comment formatting.
23545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23547 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23550 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23552 (ENTER): Remove both macro definitions.
23554 (CHECK_BOUNDS_LOW): Likewise.
23555 (CHECK_BOUNDS_HIGH): Likewise.
23556 (CHECK_BOUNDS_BOTH): Likewise.
23557 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23558 (RETURN_BOUNDED_POINTER): Likewise.
23559 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23560 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23561 (POP_ERRNO_LOCATION_RETURN): Likewise.
23562 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23563 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23564 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23566 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23567 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23568 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23569 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23570 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23571 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23572 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23573 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23574 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23575 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23576 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23577 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23578 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23579 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23581 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23582 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23584 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23585 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23586 * sysdeps/i386/i586/memset.S (memset): Likewise.
23587 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23588 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23589 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23591 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23592 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23593 Change uses of L(2) to L(out).
23594 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23595 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23596 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23597 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23598 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23600 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23601 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23603 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23604 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23605 (RETURN): Do not use macro LEAVE.
23606 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23607 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23608 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23609 * sysdeps/i386/i686/memset.S (memset): Likewise.
23610 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23611 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23612 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23613 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23615 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23616 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23617 L(1_2) and L(1_3) into L(1).
23618 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23619 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23620 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23621 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23622 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23623 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23624 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23625 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23626 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23628 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23629 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23630 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23631 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23632 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23633 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23634 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23635 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23636 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23637 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23638 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23639 * sysdeps/i386/strspn.S (strspn): Likewise.
23640 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23642 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23643 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23644 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23645 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23646 L(1_3) into L(1_1).
23647 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23648 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23649 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23651 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23653 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23655 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23658 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23660 * math/atest-exp.c (exp_mpn): Remove ROUND.
23661 * math/atest-exp2.c (exp_mpn): Likewise.
23662 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23664 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23665 * stdlib/tst-tls-atexit-lib.c: Likewise.
23666 * stdlib/tst-tls-atexit.c: Likewise.
23668 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23670 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23671 and __attribute_alloc_size__.
23673 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23675 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23676 __attribute_alloc_size__.
23677 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23678 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23680 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23682 * include/programs/xmalloc.h: New file.
23683 * catgets/gencat.c: Include it.
23684 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23685 * elf/pldd.c: Likewise.
23686 * iconv/iconv_charmap.c: Likewise.
23687 * iconv/iconvconfig.c: Likewise.
23688 * iconv/strtab.c: Likewise.
23689 * locale/programs/locale.c: Likewise.
23690 * locale/programs/localedef.h: Likewise.
23691 * locale/programs/simple-hash.c: Likewise.
23692 * nscd/nscd.h: Likewise.
23693 * nss/makedb.c: Likewise.
23694 * sysdeps/generic/ldconfig.h: Likewise.
23696 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23698 * Versions.def: Add GLIBC_2.18.
23699 * include/link.h (struct link_map): New member l_tls_dtor_count.
23700 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23701 (__call_tls_dtors): Likewise.
23702 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23703 __cxa_thread_atexit_impl.
23704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23712 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23720 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23721 (tests): Add test case tst-tls-atexit.
23722 (modules-names): Add shared library for tst-tls-atexit.
23723 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23724 (GLIBC_PRIVATE): Add __call_tls_dtors.
23725 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23727 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23728 * stdlib/tst-tls-atexit.c: New test case.
23729 * stdlib/tst-tls-atexit-lib.c: New test case.
23731 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23733 * elf/Versions (ld): Add _dl_find_dso_for_object.
23734 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23735 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23736 (dl_open_worker): Use _dl_find_dso_for_object.
23737 * elf/dl-sym.c (do_sym): Likewise.
23738 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23740 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23742 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23743 Syntactic changes only.
23744 (_dl_runtime_profile): Do a tail-call to the resolved function.
23746 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23749 * sysdeps/x86_64/bp-asm.h: Remove file.
23750 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23751 <bp-sym.h> and <bp-asm.h>.
23752 (__clone): Do not use BP_SYM.
23753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23754 <bp-sym.h> and <bp-asm.h>.
23755 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23756 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23758 (_setjmp): Do not use BP_SYM.
23759 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23761 (setjmp): Do not use BP_SYM.
23762 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23764 (mempcpy): Do not use BP_SYM in weak_alias.
23765 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23767 (strchr): Do not use BP_SYM.
23768 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23770 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23771 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23772 (_start): Do not use BP_SYM.
23773 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23775 (strcat): Do not use BP_SYM.
23776 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23778 (STRCMP): Do not use BP_SYM.
23779 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23781 (STRCPY): Do not use BP_SYM.
23782 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23784 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23786 (FUNCTION): Do not use BP_SYM.
23787 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23789 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23791 2013-02-17 Andreas Jaeger <aj@suse.de>
23793 * time/Versions: Sort entries.
23794 * string/Versions: Likewise.
23795 * resolv/Versions: Likewise.
23796 * posix/Versions: Likewise.
23797 * iconv/Versions: Likewise.
23798 * elf/Versions: Likewise.
23799 * wcsmbs/Versions: Likewise.
23801 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23803 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23804 loop termination condition.
23806 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23807 variable to calculate EZ.
23810 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23811 the lower precision input.
23813 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23816 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23817 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23818 (run-via-rtld-prefix): Do not handle %-bp tests.
23819 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23820 (all-object-suffixes): Remove .ob.
23821 (bppfx): Remove variable.
23822 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23823 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23824 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23825 [$(build-bounded) = yes] (libtype.ob): Likewise.
23826 * Makerules (elide-routines.ob): Remove variable.
23827 (do-tests-clean): Do not handle *-bp.out.
23828 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23829 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23830 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23831 (tests): Do not include $(tests-bp.out).
23832 (xtests): Do not include $(xtests-bp.out).
23833 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23834 [$(build-bounded) = yes] ($(addprefix
23835 $(objpfx),$(binaries-bounded))): Remove rule.
23836 ($(objpfx)%-bp.out): Remove rule.
23837 * config.make.in (build-bounded): Remove variable.
23838 * crypt/Makefile [$(build-bounded) = yes]
23839 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23840 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23841 append to variable.
23842 [$(build-bounded) = yes] (install-lib): Likewise.
23843 [$(build-bounded) = yes] (generated): Likewise.
23844 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23846 * intl/Makefile [$(build-bounded) = yes]
23847 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23848 * math/Makefile [$(build-bounded) = yes]
23849 ($(tests:%=$(objpfx)%-bp): Likewise.
23850 * misc/Makefile [$(build-bounded) = yes]
23851 ($(objpfx)tst-tsearch-bp): Likewise.
23852 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23853 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23855 * string/Makefile (o-objects.ob): Remove variable.
23856 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23857 (CFLAGS-.ob): Remove variable.
23858 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23859 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23860 both definitions of variable.
23861 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23862 (ASFLAGS-.ob): Remove variable.
23864 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23867 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23868 Remove __BOUNDED_POINTERS__ from condition.
23869 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23870 * string/bits/string2.h [!__NO_STRING_INLINES &&
23871 !__BOUNDED_POINTERS__]: Likewise.
23872 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23874 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23875 Remove conditional code.
23876 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23877 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23878 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23882 * csu/libc-start.c: Do not include <bp-sym.h>.
23883 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23884 * elf/dl-open.c: Do not include <bp-sym.h>.
23885 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23886 * math/fegetenv.c: Do not include <bp-sym.h>.
23887 (fegetenv): Do not use BP_SYM in versioned symbols.
23888 * nptl/sysdeps/pthread/bits/libc-lockP.h
23889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23892 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23894 (__pthread_mutex_destroy): Likewise.
23895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23896 (__pthread_mutex_lock): Likewise.
23897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23898 (__pthread_mutex_trylock): Likewise.
23899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23900 (__pthread_mutex_unlock): Likewise.
23901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23902 (__pthread_mutexattr_init): Likewise.
23903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23904 (__pthread_mutexattr_destroy): Likewise.
23905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23906 (__pthread_mutexattr_settype): Likewise.
23907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23908 (__pthread_rwlock_init): Likewise.
23909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23910 (__pthread_rwlock_destroy): Likewise.
23911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23912 (__pthread_rwlock_rdlock): Likewise.
23913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23914 (__pthread_rwlock_tryrdlock): Likewise.
23915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23916 (__pthread_rwlock_wrlock): Likewise.
23917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23918 (__pthread_rwlock_trywrlock): Likewise.
23919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23920 (__pthread_rwlock_unlock): Likewise.
23921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23922 (__pthread_key_create): Likewise.
23923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23924 (__pthread_setspecific): Likewise.
23925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23926 (__pthread_getspecific): Likewise.
23927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23930 (_pthread_cleanup_push_defer): Likewise.
23931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23932 (_pthread_cleanup_pop_restore): Likewise.
23933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23934 (pthread_setcancelstate): Likewise.
23935 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23937 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23938 (memchr): Do not use BP_SYM in weak_alias.
23939 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23940 (fegetenv): Do not use BP_SYM in versioned symbols.
23941 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23942 (fesetenv): Do not use BP_SYM in versioned symbols.
23943 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23944 (feupdateenv): Do not use BP_SYM in versioned symbols.
23945 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23946 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23947 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23948 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23949 (open64): Do not use BP_SYM in weak_alias.
23950 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23951 (fegetenv): Do not use BP_SYM in versioned symbols.
23952 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23953 (fesetenv): Do not use BP_SYM in versioned symbols.
23954 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23955 (feupdateenv): Do not use BP_SYM in versioned symbols.
23956 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23957 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23958 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23959 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23960 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23961 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23962 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23964 (__libc_start_main): Do not use BP_SYM.
23966 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23968 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23969 redundant return line.
23971 (denorm): Likewise.
23972 (dbl_mp): Likewise.
23973 (sub_magnitudes): Likewise.
23979 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23981 (denorm): Likewise.
23982 (dbl_mp): Likewise.
23983 (sub_magnitudes): Likewise.
23990 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23992 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23993 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23996 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23997 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23998 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23999 of __mul for squares.
24000 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24002 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24004 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24005 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24007 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24010 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24012 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24013 prototype or function definition. Rename ubp_* variables and
24014 parameters. Remove argv definitions conditional on
24015 [__BOUNDED_POINTERS__].
24016 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24017 * elf/dl-runtime.c (_dl_fixup): Likewise.
24018 * include/set-hooks.h (RUN_HOOK): Likewise.
24019 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24021 * string/strcpy.c (strcpy): Do not use __unbounded.
24022 * sysdeps/generic/frame.h (struct layout): Likewise.
24023 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24024 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24025 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24026 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24027 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24028 (__backtrace): Likewise.
24029 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24031 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24032 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24033 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24035 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24036 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24037 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24038 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24039 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24040 Do not use __unbounded.
24041 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24042 Rename __unboundedrlimits parameter to rlimits in prototype.
24043 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24044 Do not use __unbounded.
24045 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24046 not use __ptrvalue.
24047 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24048 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24049 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24050 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24051 __ptrvalue or __unbounded.
24052 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24053 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24055 (__new_msgctl): Do not use __ptrvalue.
24056 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24058 (__libc_msgrcv): Do not use __ptrvalue.
24059 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24060 startup_info): Do not use __unbounded.
24061 (__libc_start_main): Likewise. Rename ubp_* variables and
24062 parameters. Remove argv definitions conditional on
24063 [__BOUNDED_POINTERS__].
24064 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24066 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24068 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24070 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24072 (__new_shmctl): Do not use __ptrvalue.
24073 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24074 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24076 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24077 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24078 (__libc_sigaction): Likewise.
24079 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24080 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24082 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24084 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24086 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24088 * string/mempcpy.c: Implement by calling memcpy.
24090 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24092 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24094 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24097 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24098 values in the mantissa.
24100 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24101 minimize writes to Z.
24102 (sub_magnitudes): Simplify code a bit.
24104 2013-02-12 Roland McGrath <roland@hack.frob.com>
24106 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24107 from the message. The linker prefixes all warnings with that already.
24109 2013-02-12 Andreas Schwab <schwab@suse.de>
24112 * posix/regexec.c (extend_buffers): Add parameter min_len.
24113 (check_matching): Pass minimum needed length.
24114 (clean_state_log_if_needed): Likewise.
24115 (get_subexp): Likewise.
24116 * posix/Makefile (tests): Add bug-regex34.
24117 (bug-regex34-ENV): Define.
24118 * posix/bug-regex34.c: New file.
24121 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24122 elements compare against the byte sequence of it, not its name.
24123 * posix/Makefile (tests): Add bug-regex35.
24124 (bug-regex35-ENV): Define.
24125 * posix/bug-regex35.c: New file.
24127 2013-02-11 Tom de Vries <tom@codesourcery.com>
24129 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24131 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24132 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24133 (CHECK_EOL): Add undef.
24135 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24137 * bits/stdlib-bsearch.h: New file.
24138 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24139 * stdlib/stdlib.h: Likewise.
24141 2013-02-11 Roland McGrath <roland@hack.frob.com>
24143 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24144 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24146 * manual/search.texi (Array Search Function): Add missing const in
24148 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24149 declaration to use rlim_t.
24150 (Basic Scheduling Functions): Remove erroneous const from
24151 sched_getparam prototype. Remove erroneous * from
24152 sched_get_priority_max and sched_get_priority_min prototypes.
24153 (Resource Usage): Fix summary @comment on vtimes to refer to
24154 sys/vtimes.h rather than vtimes.h.
24155 Add missing *s in vtimes prototype.
24156 (Limits on Resources): Fix ulimit prototype to return long int.
24157 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24158 prototypes to use long int rather than double.
24159 (BSD Random): Fix initstate and setstate to use char *, not void *.
24160 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24161 prototype to make second argument 'struct aiocb64 *const[]'.
24162 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24163 (Status of AIO Operations): Remove erroneous const in aio_return and
24164 aio_return64 prototypes.
24165 (Synchronizing I/O): Fix sync prototype to return void.
24166 * manual/startup.texi (Suboptions): Remove an erroneous const in
24167 getsubopt prototype.
24168 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24169 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24170 use size_t rather than int.
24171 (Scanning All Users): Likewise for getpwent_r.
24172 (Setting Groups): Add missing const to setgroups prototype.
24173 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24174 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24175 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24176 'const void *' rather than 'const char *'.
24177 (Host Address Functions): Likewise for inet_ntop.
24178 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24179 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24180 ssize_t for return value.
24181 (Sending Data): Likewise for send, sendto, sendmsg.
24182 (Socket Option Functions): Add a missing const in setsockopt prototype.
24183 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24184 use wchar_t for the argument.
24185 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24186 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24188 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24189 double/float/long double for second argument.
24190 Fix return types of significand, significandf, significandl.
24191 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24192 argument in fchmod prototype.
24193 (File Owner): Use uid_t and gid_t in fchown prototype.
24194 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24195 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24196 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24197 use 'const struct dirent **' as argument types to CMP function pointer
24199 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24200 (File Times): Fix summary magic @comment for struct utimbuf and utime
24201 to refer to utime.h, not time.h.
24202 * manual/string.texi (Argz Functions): Add missing const in
24203 argz_extract and argz_next prototypes.
24204 (Finding Tokens in a String): Likewise for basename.
24205 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24206 (Copying and Concatenation): Fix typo in wmemmove prototype.
24207 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24208 (Signal Stack): Remove erroneous const in sigstack prototype.
24209 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24211 (Simple Calendar Time): Likewise for stime.
24212 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24214 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24215 say sys/sysctl.h instead.
24216 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24217 and vsyslog prototypes.
24219 2013-02-11 Tom de Vries <tom@codesourcery.com>
24221 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24224 2013-02-11 Roland McGrath <roland@hack.frob.com>
24226 * misc/sys/mman.h: Fix typo in mremap comment.
24228 2013-02-08 Roland McGrath <roland@hack.frob.com>
24230 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24231 the '\0' terminator.
24233 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24236 * debug/segfault.c: Don't include <bp-checks.h>.
24237 * sysdeps/generic/bp-checks.h: Remove file.
24238 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24239 (__GETDENTS): Don't use CHECK_N.
24240 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24241 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24242 (__getgroups): Don't use CHECK_N.
24243 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24244 (setgroups): Don't use CHECK_N.
24245 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24246 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24247 (__libc_msgrcv): Don't use CHECK_N.
24248 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24249 (__libc_msgsnd): Don't use CHECK_N.
24250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24252 (__libc_pread): Don't use CHECK_N.
24253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24254 include <bp-checks.h>.
24255 (__libc_pread64): Don't use CHECK_N.
24256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24257 include <bp-checks.h>.
24258 (__libc_pwrite): Don't use CHECK_N.
24259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24260 include <bp-checks.h>.
24261 (__libc_pwrite64): Don't use CHECK_N.
24262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24264 (__libc_pread): Don't use CHECK_N.
24265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24266 include <bp-checks.h>.
24267 (__libc_pread64): Don't use CHECK_N.
24268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24269 include <bp-checks.h>.
24270 (__libc_pwrite): Don't use CHECK_N.
24271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24272 include <bp-checks.h>.
24273 (__libc_pwrite64): Don't use CHECK_N.
24274 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24275 (do_pread): Don't use CHECK_N.
24276 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24277 (do_pread64): Don't use CHECK_N.
24278 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24279 (do_pwrite): Don't use CHECK_N.
24280 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24281 (do_pwrite64): Don't use CHECK_N.
24282 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24283 (__libc_readv): Don't use CHECK_N.
24284 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24285 (semop): Don't use CHECK_N.
24286 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24288 (semtimedop): Don't use CHECK_N.
24289 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24290 (__libc_pread): Don't use CHECK_N.
24291 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24293 (__libc_pread64): Don't use CHECK_N.
24294 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24296 (__libc_pwrite): Don't use CHECK_N.
24297 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24299 (__libc_pwrite64): Don't use CHECK_N.
24300 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24302 (__libc_msgrcv): Don't use CHECK_N.
24303 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24304 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24305 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24306 (__libc_writev): Don't use CHECK_N.
24308 2013-02-08 Roland McGrath <roland@hack.frob.com>
24310 * string/strcpy.c: Removed unused variable.
24312 * Makeconfig (+sysdep-includes): Define with := rather than =.
24313 Use an existing include/ subdir of each sysdeps dir before it.
24315 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24317 * nscd/connection.c (register_traced_file): Comment function.
24318 [HAVE_INOTIFY] (union __inev): Define.
24319 [HAVE_INOTIFY] (inotify_check_files): New function.
24320 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24321 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24323 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24325 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24327 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24328 loaded if not already and that a failure is permanent.
24330 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24333 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24334 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24336 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24339 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24340 (CHECK_1_NULL_OK): Likewise.
24341 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24342 (__fxstat): Do not use CHECK_1.
24343 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24345 (___fxstat64): Do not use CHECK_1.
24346 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24348 (__fxstatat): Do not use CHECK_1.
24349 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24351 (__fxstatat64): Do not use CHECK_1.
24352 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24354 (__fxstat): Do not use CHECK_1.
24355 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24357 (__fxstatat): Do not use CHECK_1.
24358 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24360 (__getresgid): Do not use CHECK_1.
24361 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24363 (__getresuid): Do not use CHECK_1.
24364 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24366 (__lxstat): Do not use CHECK_1.
24367 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24369 (__old_msgctl): Do not use CHECK_1.
24370 (__new_msgctl): Likewise.
24371 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24373 (__new_setrlimit): Do not use CHECK_1.
24374 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24376 (__old_shmctl): Do not use CHECK_1.
24377 (__new_shmctl): Likewise.
24378 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24380 (__xstat): Do not use CHECK_1.
24381 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24382 (__lxstat): Do not use CHECK_1.
24383 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24385 (___lxstat64): Do not use CHECK_1.
24386 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24387 (__old_msgctl): Do not use CHECK_1.
24388 (__new_msgctl): Likewise.
24389 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24391 (__gettimeofday): Do not use CHECK_1.
24392 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24393 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24394 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24396 (__gettimeofday): Do not use CHECK_1.
24397 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24398 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24399 (__new_shmctl): Do not use CHECK_1.
24400 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24402 (do_sigtimedwait): Do not use CHECK_1.
24403 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24405 (do_sigwaitinfo): Do not use CHECK_1.
24406 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24408 (msgctl): Do not use CHECK_1.
24409 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24411 (shmctl): Do not use CHECK_1.
24412 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24413 (ustat): Do not use CHECK_1.
24414 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24416 (__fxstat): Do not use CHECK_1.
24417 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24419 (__fxstatat): Do not use CHECK_1.
24420 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24422 (__lxstat): Do not use CHECK_1.
24423 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24425 (__xstat): Do not use CHECK_1.
24426 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24427 (__xstat): Do not use CHECK_1.
24428 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24429 (___xstat64): Do not use CHECK_1.
24432 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24434 (CHECK_BOUNDS_HIGH): Likewise.
24435 * string/strcpy.c: Do not include <bp-checks.h>.
24436 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24438 2013-02-07 Roland McGrath <roland@hack.frob.com>
24440 * nscd/nscd-client.h (__nscd_drop_map_ref):
24441 Add __attribute__ ((unused)).
24442 * nis/nss-nisplus.h (niserr2nss): Likewise.
24444 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24445 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24447 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24448 Remove inline keyword.
24449 * include/rounding-mode.h (round_away): Likewise.
24450 * libio/wfileops.c (adjust_wide_data): Likewise.
24451 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24452 (__m128i_strloadu_tolower): Likewise.
24453 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24454 (__m128i_strloadu_tolower): Likewise.
24455 * time/mktime.c (ydhms_diff): Likewise.
24456 * locale/elem-hash.h (elem_hash): Likewise.
24457 * locale/setlocale.c (setdata): Likewise.
24458 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24459 (re_string_wchar_at): Likewise.
24460 (bitset_not, bitset_merge, bitset_mask): Likewise.
24461 [!(__GNUC__ > 3)] (inline): Remove macro.
24462 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24463 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24464 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24465 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24466 * string/memcmp.c (memcmp_bytes): Likewise.
24467 * locale/programs/locarchive.c (compute_hashval): Likewise.
24468 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24469 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24470 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24471 * nss/getent.c (print_rpc, print_protocols): Likewise.
24472 (print_passwd, print_group, print_aliases): Likewise.
24473 * nis/nss-nisplus.h (niserr2nss): Likewise.
24474 * nscd/connections.c (restart_p): Likewise.
24475 Change return type to bool.
24477 2013-02-05 Roland McGrath <roland@hack.frob.com>
24479 * Makeconfig (all-Depend-files): Add existing
24480 $(sorted-subdirs:=/Depend) files.
24481 (all-subdirs): Remove nss.
24482 * sysdeps/unix/inet/Subdirs: Add it here instead.
24483 * hesiod/Depend: New file.
24485 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24486 instead of calling alloca.
24488 * io/lseek.c (__lseek): Rename to __libc_lseek.
24489 Define __lseek as an alias.
24491 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24493 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24495 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24496 else clause and remove check for non-standard endianness.
24498 2013-02-04 David S. Miller <davem@davemloft.net>
24500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24502 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24505 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24506 (__ubp_memchr): Remove prototype.
24507 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24508 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24509 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24510 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24511 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24513 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24514 (__ubp_memchr): Likewise.
24515 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24516 (__ubp_memchr): Likewise.
24517 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24518 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24519 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24520 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24522 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24523 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24524 (__getcwd): Do not use CHECK_STRING.
24525 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24527 (__real_chown): Do not use CHECK_STRING.
24528 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24530 (fchownat): Do not use CHECK_STRING.
24531 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24533 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24535 (__lchown): Do not use CHECK_STRING.
24536 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24537 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24538 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24539 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24541 include <bp-checks.h>.
24542 (truncate64): Do not use CHECK_STRING.
24543 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24545 (__real_chown): Do not use CHECK_STRING.
24546 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24548 (__lchown): Do not use CHECK_STRING.
24549 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24551 (__chown): Do not use CHECK_STRING.
24552 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24554 (truncate64): Do not use CHECK_STRING.
24555 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24557 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24558 (__xmknod): Do not use CHECK_STRING.
24559 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24561 (__xmknodat): Do not use CHECK_STRING.
24562 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24563 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24565 2013-02-04 Andreas Schwab <schwab@suse.de>
24568 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24569 * include/netdb.h: Likewise for h_errno.
24570 * elf/tst-stackguard1.c: Include <tls.h>.
24572 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24574 * elf/link.h (struct link_map): Extend the l_addr comment.
24575 * include/link.h (struct link_map): Likewise.
24577 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24580 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24581 (BOUNDED_1): Remove macro.
24582 * debug/backtrace.c: Don't include <bp-checks.h>.
24583 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24584 (__backtrace): Likewise.
24585 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24587 (__backtrace): Don't use BOUNDED_1.
24588 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24590 (__backtrace): Don't use BOUNDED_1.
24591 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24592 (__backtrace): Don't use BOUNDED_1.
24593 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24594 (shmat): Don't use BOUNDED_N.
24596 2013-01-31 Joseph Myers <joseph@codesourcery.com>
24599 * sysdeps/generic/bp-start.h: Remove file.
24600 * csu/libc-start.c: Don't include <bp-start.h>.
24601 (LIBC_START_MAIN): Set up __environ directly instead of using
24602 INIT_ARGV_and_ENVIRON.
24603 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24607 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24609 (CHECK_FCNTL): Likewise.
24610 (CHECK_N_PAGES): Likewise.
24613 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24615 (CHECK_SIGSET_NULL_OK): Likewise.
24616 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24618 (sigpending): Don't use CHECK_SIGSET.
24619 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24621 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24622 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24624 (do_sigsuspend): Don't use CHECK_SIGSET.
24625 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24627 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24628 (do_sigwait): Don't use CHECK_SIGSET.
24629 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24631 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24632 include <bp-checks.h>.
24633 (sigpending): Don't use CHECK_SIGSET.
24634 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24635 include <bp-checks.h>.
24636 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24637 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24639 (sigpending): Don't use CHECK_SIGSET.
24640 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24642 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24645 * sysdeps/generic/bp-semctl.h: Remove file.
24646 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24647 <bp-checks.h> and <bp-semctl.h>.
24648 (__old_semctl): Don't use CHECK_SEMCTL.
24649 (__new_semctl): Likewise.
24650 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24652 (__old_semctl): Don't use CHECK_SEMCTL.
24653 (__new_semctl): Likewise.
24654 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24655 <bp-checks.h> and <bp-semctl.h>.
24656 (__old_semctl): Don't use CHECK_SEMCTL.
24657 (__new_semctl): Likewise.
24658 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24659 <bp-checks.h> and <bp-semctl.h>.
24660 (semctl): Don't use CHECK_SEMCTL.
24663 * Makerules (elide-bp-thunks): Remove variable.
24664 (elide-routines.oS): Don't use $(elide-bp-thunks).
24665 (elide-routines.os): Likewise.
24666 (elide-routines.o): Likewise.
24667 (elide-routines.op): Likewise.
24668 (elide-routines.og): Likewise.
24669 (objects): Don't use $(bp-thunks).
24670 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24672 (common-generated): Do not add s-proto-bp.d.
24673 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24676 Do not generate makefile rules for bounded-pointer thunks.
24677 * sysdeps/generic/bp-thunks.h: Remove file.
24678 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24679 * sysdeps/unix/s-proto-bp.S: Likewise.
24682 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24683 parts of result separately when argument is not close to line from
24684 -i to i and one part of argument is small.
24685 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24686 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24687 * math/libm-test.inc (cacos_test): Add more tests.
24688 (casin_test): Likewise.
24689 (casinh_test): Likewise.
24690 * sysdeps/i386/fpu/libm-test-ulps: Update.
24691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24693 2013-01-31 David S. Miller <davem@davemloft.net>
24695 * po/de.po: Update from translation team.
24697 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24699 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24701 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24703 * configure.in (_AC_PROG_CC_C89): New definition.
24704 * configure: Regenerate.
24706 * configure.in (AC_PROG_CPP): New definition.
24707 * configure: Regenerate.
24709 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24711 * debug/tst-backtrace.h: New file.
24712 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24713 (ret): Remove variable.
24715 (FAIL): Remove macro.
24716 (NO_INLINE): Likewise.
24717 (fn1): Use match function instead of strstr.
24718 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24719 (ret): Remove variable.
24721 (FAIL): Remove macro.
24722 (NO_INLINE): Likewise.
24723 (fn): Use match function instead of strstr.
24724 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24725 (ret): Remove variable.
24727 (FAIL): Remove macro.
24728 (NO_INLINE): Likewise.
24729 (handle_signal): Use match function instead of strstr.
24730 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24731 (ret): Remove variable.
24733 (FAIL): Remove macro.
24734 (NO_INLINE): Likewise.
24735 (handle_signal): Use match function instead of strstr.
24737 2013-01-23 Roland McGrath <roland@hack.frob.com>
24739 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24741 2013-01-23 David S. Miller <davem@davemloft.net>
24743 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24744 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24745 argument of CAS if possible.
24746 * sysdeps/sparc/sparc64/bits/atomic.h
24747 (__arch_compare_and_exchange_val_32_acq): Likewise.
24748 (__arch_compare_and_exchange_val_64_acq): Likewise.
24750 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24752 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24753 * sysdeps/posix/ulimit.c: ... this.
24754 Include <limits.h>.
24755 * sysdeps/unix/bsd/ulimit.c: Remove file.
24757 2013-01-23 Adam Conrad <adconrad@0c3.net>
24759 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24760 (LDFLAGS-tst-array5): Likewise.
24762 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24765 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24766 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24767 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24768 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24770 2013-01-21 David S. Miller <davem@davemloft.net>
24772 * sysdeps/sparc/backtrace.c: New file.
24773 * sysdeps/sparc/sparc32/backtrace.h: New file.
24774 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24775 * sysdeps/sparc/sparc64/backtrace.h: New file.
24776 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24777 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24780 2013-01-21 Andreas Schwab <schwab@suse.de>
24783 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24786 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24788 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24790 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24792 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24793 Mark Mitchell <mark@codesourcery.com>
24794 Tom de Vries <tom@codesourcery.com>
24795 Paul Pluzhnikov <ppluzhnikov@google.com>
24797 * debug/tst-backtrace2.c: New file.
24798 * debug/tst-backtrace3.c: Likewise.
24799 * debug/tst-backtrace4.c: Likewise.
24800 * debug/tst-backtrace5.c: Likewise.
24801 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24802 (CFLAGS-tst-backtrace3.c): Likewise.
24803 (CFLAGS-tst-backtrace4.c): Likewise.
24804 (CFLAGS-tst-backtrace5.c): Likewise.
24805 (LDFLAGS-tst-backtrace2): Likewise.
24806 (LDFLAGS-tst-backtrace3): Likewise.
24807 (LDFLAGS-tst-backtrace4): Likewise.
24808 (LDFLAGS-tst-backtrace5): Likewise.
24809 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24810 tst-backtrace4 and tst-backtrace5.
24812 2013-01-18 Anton Blanchard <anton@samba.org>
24813 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24815 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24816 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24817 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24818 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24820 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24821 "+r" and remove output regs list as redundant. Add explicit inline
24822 asm to specify register of return val to work around compiler codegen
24823 bug. Remove (int) cast on return value. Add return type parameter to
24824 use in macro so that this macro does not truncate return value for
24826 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24827 pass to INTERNAL_VSYSCALL_NCS.
24828 (INLINE_VSYSCALL): Add 'long int' as return type to
24829 INTERNAL_VSYSCALL_NCS macro invocation.
24830 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24831 INTERNAL_VSYSCALL_NCS macro invocation.
24832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24834 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24837 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24838 Fix application of SIMD FP exception mask.
24840 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24841 mp_no from a power of two.
24842 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24843 __mpexp_twomm1. Use __pow_mp.
24845 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24848 2013-01-17 David S. Miller <davem@davemloft.net>
24850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24852 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24855 * include/complex.h: Condition contents on [!_COMPLEX_H].
24856 (__kernel_casinhf): New prototype.
24857 (__kernel_casinh): Likewise.
24858 (__kernel_casinhl): Likewise.
24859 * math/Makefile (libm_calls): Add k_casinh.
24860 * math/k_casinh.c: New file.
24861 * math/k_casinhf.c: Likewise.
24862 * math/k_casinhl.c: Likewise.
24863 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24864 finite nonzero arguments.
24865 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24866 finite nonzero arguments.
24867 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24868 finite nonzero arguments.
24869 * math/s_casinh.c: Do not include <float.h>.
24870 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24871 * math/s_casinhf.c: Do not include <float.h>.
24872 (__casinhf): Move code for finite nonzero arguments to
24874 * math/s_casinhl.c: Do not include <float.h>.
24875 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24877 (__casinhl): Move code for finite nonzero arguments to
24879 * math/libm-test.inc (cacos_test): Add more tests.
24880 * sysdeps/i386/fpu/libm-test-ulps: Update.
24881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24883 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24885 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24886 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24887 [!HAVE_MREMAP]: Remove [defined linux] case.
24888 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24890 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24892 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24894 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24896 * elf/elf.h (R_386_SIZE32): New relocation.
24897 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24899 (elf_machine_rela): Likewise.
24900 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24901 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24903 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24905 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24906 (FP_FAST_FMA): Do not define.
24907 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24908 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24909 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24910 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24911 !_SOFT_FLOAT]: Likewise.
24912 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24913 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24915 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24916 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24917 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24918 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24919 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24920 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24923 2013-01-16 Andreas Schwab <schwab@suse.de>
24926 * include/stdlib.h (__mktemp): Add declaration.
24927 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24928 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24930 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24932 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24934 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24935 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24936 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24938 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24939 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24941 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24943 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24944 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24945 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24947 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24948 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24950 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24952 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24954 2013-01-15 David S. Miller <davem@davemloft.net>
24956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24957 trunc{,f} to libm-sysdep_routes.
24958 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24968 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24969 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24970 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24971 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24972 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24973 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24976 nearbyint{,f} to libm-sysdep_routes.
24977 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24988 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24990 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24991 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24993 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24994 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24995 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24997 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24998 libc_feholdexcept and libc_fesetenv.
25000 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25002 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25004 2013-01-14 David S. Miller <davem@davemloft.net>
25006 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25007 (SPARC_ASM_VIS2_IFUNC): Likewise.
25008 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25010 use of 'siam' instruction.
25011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25019 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25029 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25030 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25031 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25032 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25039 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25040 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25041 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25042 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25044 routines to libm-sysdep_routines.
25045 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25048 fdim/fdimf to libm-sysdep_routines.
25049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25057 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25058 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25059 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25060 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25062 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25064 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25065 to optimize copies.
25067 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25071 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25072 local variable MPTWO.
25073 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25076 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25078 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25081 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25083 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25085 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25087 * manual/pattern.texi (glob_t): Document gl_flags.
25088 (glob64_t): Likewise.
25090 2013-01-11 David S. Miller <davem@davemloft.net>
25092 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25093 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25094 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25095 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25096 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25097 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25098 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25099 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25100 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25101 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25102 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25103 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25104 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25106 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25107 sparc V9 rather than using V8 code.
25108 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25109 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25111 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25113 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25116 2013-01-11 Roland McGrath <roland@hack.frob.com>
25118 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25119 not in the main loop.
25120 * configure: Regenerated.
25122 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25124 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25125 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25127 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25128 [!__GLIBC_HAVE_LONG_LONG] case.
25129 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25130 condition to just #else.
25131 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25132 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25133 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25134 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25136 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25137 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25138 #elif condition to just #else.
25139 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25140 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25141 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25142 #elif condition to just #else.
25144 2013-01-11 Steve Ellcey <sellcey@mips.com>
25146 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25147 (EF_MIPS_ARCH_64): Fix value.
25148 (EF_MIPS_ARCH_32R2): New.
25149 (EF_MIPS_ARCH_64R2): New.
25151 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25153 * Makeconfig (+link-pie-before-libc): New.
25154 (+link-pie-after-libc): Likewise.
25155 (+link-pie-tests): Likewise.
25156 (+link-pie): Rewritten.
25157 (link-before-libc): Remove $(config-LDFLAGS).
25158 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25159 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25160 (config-LDFLAGS): Renamed to ...
25161 (rtld-LDFLAGS): This.
25162 (rtld-tests-LDFLAGS): New macro.
25163 (link-libc-rpath-link): Likewise.
25164 (link-libc-tests-rpath-link): Likewise.
25165 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25166 (link-libc): Prepand $(link-libc-rpath-link).
25167 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25168 (test-program-prefix): New macro.
25169 (test-via-rtld-prefix): Likewise.
25170 (test-program-cmd): Likewise.
25171 (host-test-program-cmd): Likewise.
25172 * Makefile ($(common-objpfx)testrun.sh): Replace
25173 $(run-program-prefix) with $(test-program-prefix).
25174 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25176 ($(common-objpfx)shlib.lds): Likewise.
25177 (build-module-helper): Likewise.
25178 ($(common-objpfx)format.lds): Likewise.
25179 * Rules (binaries-pie-tests): New.
25180 (binaries-pie-notests): Likewise.
25181 (binaries-pie): Rewritten.
25182 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25183 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25184 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25185 (make-test-out): Replace $(host-built-program-cmd) with
25186 $(host-test-program-cmd).
25187 * config.make.in (build-hardcoded-path-in-tests): New variable.
25188 * configure.in (--enable-hardcoded-path-in-tests): New configure
25190 (hardcoded_path_in_tests): New AC_SUBST.
25191 * configure: Regenerated.
25192 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25193 $(built-program-cmd) with $(test-program-cmd).
25194 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25195 (test_program_cmd): This.
25196 * elf/Makefile ($(objpfx)order.out): Run test with
25197 $(test-program-prefix).
25198 ($(objpfx)order2.out): Likewise.
25199 ($(objpfx)tst-initorder.out): Likewise.
25200 ($(objpfx)tst-initorder2.out): Likewise.
25201 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25202 $(test-program-cmd).
25203 ($(objpfx)tst-array1-static.out): Likewise.
25204 ($(objpfx)tst-array2.out): Likewise.
25205 ($(objpfx)tst-array3.out): Likewise.
25206 ($(objpfx)tst-array4.out): Likewise.
25207 ($(objpfx)tst-array5.out): Likewise.
25208 ($(objpfx)tst-array5-static.out): Likewise.
25209 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25210 $(test-program-cmd).
25211 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25212 $(run-program-prefix) with $(test-program-prefix).
25213 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25214 (test_program_prefix): This.
25215 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25216 $(run-program-prefix) with $(test-program-prefix).
25217 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25218 (test_program_prefix): This.
25219 * iconvdata/tst-tables.sh: Likewise.
25220 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25221 $(run-program-prefix) with $(test-program-prefix).
25222 ($(objpfx)tst-translit.out): Likewise.
25223 ($(objpfx)tst-gettext2.out): Likewise.
25224 ($(objpfx)tst-gettext4.out): Likewise.
25225 ($(objpfx)tst-gettext6.out): Likewise.
25226 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25227 (test_program_prefix): This.
25228 * intl/tst-gettext2.sh: Likewise.
25229 * intl/tst-gettext4.sh Likewise.
25230 * intl/tst-gettext6.sh: Likewise.
25231 * intl/tst-translit.sh: Likewise.
25232 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25233 with $(test-program-cmd).
25234 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25235 $(run-program-prefix) with $(test-program-prefix).
25236 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25237 (test_program_prefix): This.
25238 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25239 $(run-program-prefix) with $(test-program-prefix).
25240 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25241 (test_program_prefix): This.
25242 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25243 * posix/Makefile ($(objpfx)globtest.out): Replace
25244 $(run-via-rtld-prefix) and $(test-wrapper) with
25245 $(test-program-prefix) and $(test-via-rtld-prefix).
25246 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25247 $(test-program-prefix).
25248 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25249 $(host-test-program-cmd).
25250 (tst-spawn-ARGS): Likewise.
25251 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25252 $(test-program-prefix).
25253 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25254 (test_via_rtld_prefix): This.
25255 (test_wrapper): Renamed to ...
25256 (test_program_prefix): This.
25257 (run_program_prefix): Replaced by test_program_prefix.
25258 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25259 (test_program_prefix): This.
25260 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25261 with $(host-test-program-cmd).
25262 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25263 $(run-program-prefix) with $(test-program-prefix).
25264 ($(objpfx)tst-printf.out): Likewise.
25265 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25266 $(test-program-cmd).
25267 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25268 (test_program_prefix): This.
25269 * stdio-common/tst-unbputc.sh: Likewise.
25270 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25271 $(run-program-prefix) with $(test-program-prefix).
25272 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25273 (test_program_prefix): This.
25274 * string/Makefile ($(objpfx)tst-svc.out): Replace
25275 $(built-program-cmd) with $(test-program-cmd).
25277 2013-01-11 Andreas Jaeger <aj@suse.de>
25280 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25281 value. Sync with Linux 3.7.
25283 2013-01-10 David S. Miller <davem@davemloft.net>
25285 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25286 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25287 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25289 2013-01-10 Roland McGrath <roland@hack.frob.com>
25291 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25293 * configure: Regenerated.
25295 2013-01-10 David S. Miller <davem@davemloft.net>
25297 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25298 sparc V9 rather than using V8 code.
25299 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25300 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25302 2013-01-10 Roland McGrath <roland@hack.frob.com>
25304 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25305 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25306 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25307 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25308 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25309 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25310 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25311 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25312 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25313 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25314 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25315 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25316 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25317 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25318 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25319 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25320 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25321 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25322 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25323 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25324 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25325 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25326 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25327 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25328 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25329 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25330 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25332 2013-01-10 David S. Miller <davem@davemloft.net>
25334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25336 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25338 * posix/Makefile (tests-static): New variable.
25339 (tests): Add $(tests-static).
25340 (tst-exec-static-ARGS): New variable.
25341 (tst-spawn-static-ARGS): Likewise.
25342 * posix/tst-exec-static.c: New file.
25343 * posix/tst-spawn-static.c: Likewise.
25344 * posix/tst-exec.c: Support run directly.
25345 * posix/tst-spawn.c: Likewise.
25347 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25349 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25351 * math/bits/mathcalls.h (llrint): Likewise.
25352 (llround): Likewise.
25353 * stdlib/stdlib.h (struct drand48_data): Likewise.
25354 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25355 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25356 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25358 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25360 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25361 (elf_greg_t): Likewise.
25362 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25363 (__jmp_buf): Likewise.
25364 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25366 (llrint): Likewise, for all definitions.
25367 (llrintl): Likewise.
25369 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25370 Remove [__GNUC__] condition.
25371 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25372 condition to just [__USE_ISOC99].
25373 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25375 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25378 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25379 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25381 (_POSIX_V6_ILP32_OFF32): Likewise.
25382 (_XBS5_ILP32_OFF32): Likewise.
25383 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25384 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25386 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25388 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25390 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25391 doubles __mpexp_twomm1. Adjust usage.
25392 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25395 2013-01-10 Andreas Schwab <schwab@suse.de>
25398 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25399 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25401 2013-01-09 David S. Miller <davem@davemloft.net>
25404 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25405 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25406 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25407 (TCP_FASTOPEN): Define.
25408 (tcp_repair_opt): New structure.
25409 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25411 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25412 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25413 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25414 (tcp_cookie_transactions): New structure.
25416 2013-01-09 Anton Blanchard <anton@samba.org>
25418 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25419 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25420 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25421 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25423 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25425 * include/features.h (__USE_ANSI): Remove.
25427 2013-01-09 Roland McGrath <roland@hack.frob.com>
25429 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25431 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25433 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25435 * sysdeps/s390/fpu/libm-test-ulps: Update.
25437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25439 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25443 (denorm): Likewise.
25444 (__mp_dbl): Likewise.
25445 (__dbl_mp): Likewise.
25446 (add_magnitudes): Likewise.
25447 (sub_magnitudes): Likewise.
25453 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25457 (denorm): Likewise.
25458 (__mp_dbl): Likewise.
25459 (__dbl_mp): Likewise.
25460 (add_magnitudes): Likewise.
25461 (sub_magnitudes): Likewise.
25467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25471 (denorm): Likewise.
25472 (__mp_dbl): Likewise.
25473 (__dbl_mp): Likewise.
25474 (add_magnitudes): Likewise.
25475 (sub_magnitudes): Likewise.
25482 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25484 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25485 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25486 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25487 2 && __USE_EXTERN_INLINES]: Likewise.
25489 2013-01-08 Andreas Jaeger <aj@suse.de>
25492 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25494 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25495 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25497 2013-01-07 Anton Blanchard <anton@samba.org>
25499 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25500 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25501 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25502 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25503 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25504 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25505 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25506 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25508 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25509 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25510 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25511 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25512 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25513 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25514 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25515 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25516 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25517 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25518 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25519 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25520 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25521 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25522 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25523 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25524 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25525 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25526 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25527 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25528 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25529 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25531 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25532 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25533 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25534 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25535 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25536 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25537 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25538 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25539 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25540 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25541 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25543 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25545 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25546 (__MALLOC_PMT): Likewise.
25547 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25548 [__GNUC__], only on [_LIBC].
25549 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25550 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25551 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25552 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25553 forward declaration.
25554 (realloc_hook_ini): Likewise.
25555 (memalign_hook_ini): Likewise.
25556 (__libc_memalign): Do not use __MALLOC_PMT in variable
25558 (__libc_valloc): Likewise.
25559 (__libc_pvalloc): Likewise.
25560 (__libc_calloc): Likewise.
25561 (__posix_memalign): Likewise.
25564 * math/s_casinh.c: Include <float.h>.
25565 (__casinh): Do not do computation with squaring and square root
25566 for large arguments.
25567 * math/s_casinhf.c: Include <float.h>.
25568 (__casinhf): Do not do computation with squaring and square root
25569 for large arguments.
25570 * math/s_casinhl.c: Include <float.h>.
25571 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25572 (__casinhl): Do not do computation with squaring and square root
25573 for large arguments.
25574 * math/libm-test.inc (casin_test): Add more tests.
25575 (casinh_test): Likewise.
25576 * sysdeps/i386/fpu/libm-test-ulps: Update.
25577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25579 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25581 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25582 (__x86_64_raw_data_cache_size): Likewise.
25583 (__x86_64_data_cache_size_half): Likewise.
25584 (__x86_64_raw_data_cache_size_half): Likewise.
25585 (__x86_64_shared_cache_size): Likewise.
25586 (__x86_64_raw_shared_cache_size): Likewise.
25587 (__x86_64_shared_cache_size_half): Likewise.
25588 (__x86_64_raw_shared_cache_size_half): Likewise.
25589 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25591 (__x86_data_cache_size): This.
25592 (__x86_64_raw_data_cache_size): Renamed to ...
25593 (__x86_raw_data_cache_size): This.
25594 (__x86_64_data_cache_size_half): Renamed to ...
25595 (__x86_data_cache_size_half): This.
25596 (__x86_64_raw_data_cache_size_half): Renamed to ...
25597 (__x86_raw_data_cache_size_half): This.
25598 (__x86_64_shared_cache_size): Renamed to ...
25599 (__x86_shared_cache_size): This.
25600 (__x86_64_raw_shared_cache_size): Renamed to ...
25601 (__x86_raw_shared_cache_size): This.
25602 (__x86_64_shared_cache_size_half): Renamed to ...
25603 (__x86_shared_cache_size_half): This.
25604 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25605 (__x86_raw_shared_cache_size_half): This.
25606 * sysdeps/x86_64/memcpy.S: Updated.
25607 * sysdeps/x86_64/memset.S: Likewise.
25608 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25609 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25610 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25612 2013-01-04 David S. Miller <davem@davemloft.net>
25614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25616 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25618 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25619 1 to avoid redefinition warning.
25620 (__USE_GNU): Don't define.
25621 (init_signaling_nan): Protoize.
25623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25625 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25627 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25628 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25629 (__cpymn): Likewise.
25630 (norm): Remove commented code.
25631 (denorm): Likewise.
25632 (__mp_dbl): Likewise.
25634 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25635 (__cpymn): Likewise.
25636 (norm): Remove commented code.
25637 (denorm): Likewise.
25638 (__mp_dbl): Likewise.
25641 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25642 mp_no value for 1.0 and 2.0.
25643 (norm): Use RADIXI instead of radixi.d.
25644 (denorm): Likewise.
25645 (__mul): Use 0.0 instead of zero.d.
25646 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25647 mp_no value for 1.0 and 2.0.
25648 (norm): Use RADIXI instead of radixi.d.
25649 (denorm): Likewise.
25650 (__mul): Use 0.0 instead of zero.d.
25652 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25655 * math/s_casinh.c (__casinh): Reduce finite argument to first
25656 quadrant then set signs of results at the end.
25657 * math/s_casinhf.c (__casinhf): Likewise.
25658 * math/s_casinhl.c (__casinhl): Likewise.
25659 * math/libm-test.inc (casin_test): Add more tests.
25660 (casinh_test): Likewise.
25661 * sysdeps/i386/fpu/libm-test-ulps: Update.
25662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25664 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25666 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25668 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25670 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25672 (denorm): Likewise.
25673 (__mp_dbl): Likewise.
25676 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25677 and adjust the header comment.
25679 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25680 variable name from declaration.
25682 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25685 Initialize COMMON_CPUID_INDEX_7 element.
25686 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25687 (CPUID_RTM): Likewise.
25688 (HAS_RTM): Likewise.
25689 (COMMON_CPUID_INDEX_7): New enum.
25691 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25694 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25695 size is zero, record memory as freed.
25697 2013-01-03 Andreas Jaeger <aj@suse.de>
25699 * po/ia.po: Add new Interlingua translation.
25701 2012-01-03 Allan McRae <allan@archlinux.org>
25703 * locale/programs/localedef.c: Fix description of '--posix' flag.
25705 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25707 * NEWS: Update dates in second copyright notice.
25708 * README: Update copyright dates in example.
25709 * manual/libc.texinfo: Update copyright dates.
25710 * scripts/test-installation.pl: Update copyright date in --version
25713 * hurd/ctty-input.c: Fix copyright notice formatting.
25714 * hurd/ctty-output.c: Likewise.
25715 * hurd/dtable.c: Likewise.
25716 * hurd/hurd-raise.c: Likewise.
25717 * hurd/hurdprio.c: Likewise.
25718 * hurd/msgportdemux.c: Likewise.
25719 * misc/sys/file.h: Likewise.
25720 * misc/sys/ioctl.h: Likewise.
25721 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25722 * sysdeps/mach/hurd/chdir.c: Likewise.
25723 * sysdeps/mach/hurd/fchdir.c: Likewise.
25724 * sysdeps/mach/hurd/rename.c: Likewise.
25725 * sysdeps/mach/hurd/rmdir.c: Likewise.
25726 * sysdeps/mach/hurd/seekdir.c: Likewise.
25727 * sysdeps/mach/hurd/setsid.c: Likewise.
25728 * sysdeps/posix/wait3.c: Likewise.
25730 * All files with FSF copyright notices: Update copyright dates
25731 using scripts/update-copyrights.
25732 * intl/plural.c: Regenerated.
25733 * locale/programs/charmap-kw.h: Likewise.
25734 * locale/programs/locfile-kw.h: Likewise.
25736 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25738 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25741 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25742 calculation loop and add branch prediction.
25744 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25745 check access beyond bounds of m1np.
25747 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25749 (__inv): Remove local variable MPTWO to use the global
25751 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25752 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25754 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25755 MP3HALFS static const.
25757 2013-01-01 David S. Miller <davem@davemloft.net>
25759 * po/ca.po: Update from translation team.
25761 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25763 * scripts/update-copyrights: New file.
25764 * Makeconfig: Reformat copyright notice.
25765 * ctype/ctype.h: Likewise.
25766 * debug/swprintf_chk.c: Likewise.
25767 * elf/dl-cache.c: Likewise.
25768 * elf/dl-debug.c: Likewise.
25769 * elf/dl-object.c: Likewise.
25770 * grp/initgroups.c: Likewise.
25771 * hurd/Makefile: Likewise.
25772 * hurd/hurd/signal.h: Likewise.
25773 * hurd/hurdfault.c: Likewise.
25774 * hurd/hurdioctl.c: Likewise.
25775 * hurd/hurdlookup.c: Likewise.
25776 * hurd/intr-msg.c: Likewise.
25777 * iconv/gconv_open.c: Likewise.
25778 * libio/swprintf.c: Likewise.
25779 * locale/lc-ctype.c: Likewise.
25780 * locale/nl_langinfo.c: Likewise.
25781 * mach/Machrules: Likewise.
25782 * mach/Makefile: Likewise.
25783 * malloc/obstack.h: Likewise.
25784 * manual/Makefile: Likewise.
25785 * manual/tsort.awk: Likewise.
25786 * misc/bits/stab.def: Likewise.
25787 * nis/nis_print_group_entry.c: Likewise.
25788 * nis/nis_table.c: Likewise.
25789 * nis/nss_compat/compat-pwd.c: Likewise.
25790 * nis/nss_compat/compat-spwd.c: Likewise.
25791 * po/Makefile: Likewise.
25792 * posix/fnmatch.c: Likewise.
25793 * posix/regex.h: Likewise.
25794 * resolv/Makefile: Likewise.
25795 * resolv/nss_dns/dns-network.c: Likewise.
25796 * resolv/res_hconf.c: Likewise.
25797 * scripts/gen-sorted.awk: Likewise.
25798 * soft-fp/soft-fp.h: Likewise.
25799 * stdio-common/printf.h: Likewise.
25800 * stdlib/monetary.h: Likewise.
25801 * stdlib/random.c: Likewise.
25802 * stdlib/random_r.c: Likewise.
25803 * sysdeps/generic/Makefile: Likewise.
25804 * sysdeps/gnu/Makefile: Likewise.
25805 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25806 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25807 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25808 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25809 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25810 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25811 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25812 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25813 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25814 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25815 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25816 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25817 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25818 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25819 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25820 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25821 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25822 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25823 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25824 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25825 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25826 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25827 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25828 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25829 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25830 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25831 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25832 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25833 * sysdeps/mach/hurd/errnos.awk: Likewise.
25834 * sysdeps/mach/hurd/fork.c: Likewise.
25835 * sysdeps/mach/hurd/getcwd.c: Likewise.
25836 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25837 * sysdeps/mach/hurd/mmap.c: Likewise.
25838 * sysdeps/mach/hurd/utimes.c: Likewise.
25839 * sysdeps/mach/hurd/xmknod.c: Likewise.
25840 * sysdeps/posix/profil.c: Likewise.
25841 * sysdeps/posix/readdir_r.c: Likewise.
25842 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25843 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25844 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25845 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25847 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25848 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25849 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25851 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25852 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25853 * sysdeps/pthread/lio_listio.c: Likewise.
25854 * sysdeps/sparc/dl-procinfo.h: Likewise.
25855 * sysdeps/unix/i386/sysdep.S: Likewise.
25856 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25857 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25858 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25859 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25861 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25862 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25863 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25864 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25865 * sysdeps/wordsize-32/divdi3.c: Likewise.
25866 * time/sys/time.h: Likewise.
25867 * wcsmbs/Makefile: Likewise.
25869 2013-01-01 David S. Miller <davem@davemloft.net>
25871 * po/fr.po: Update from translation team.
25873 * catgets/gencat.c: Update copyright year.
25874 * csu/version.c: Likewise.
25875 * debug/catchsegv.sh: Likewise.
25876 * debug/pcprofiledump.c: Likewise.
25877 * debug/xtrace.sh: Likewise.
25878 * elf/ldconfig.c: Likewise.
25879 * elf/ldd.bash.in: Likewise.
25880 * elf/pldd.c: Likewise.
25881 * elf/sotruss.ksh: Likewise.
25882 * elf/sprof.c: Likewise.
25883 * iconv/iconv_prog.c: Likewise.
25884 * iconv/iconvconfig.c: Likewise.
25885 * locale/programs/locale.c: Likewise.
25886 * locale/programs/localedef.c: Likewise.
25887 * login/programs/pt_chown.c: Likewise.
25888 * malloc/memusage.sh: Likewise.
25889 * malloc/memusagestat.c: Likewise.
25890 * malloc/mtrace.pl: Likewise.
25891 * nscd/nscd.c: Likewise.
25892 * nss/getent.c: Likewise.
25893 * nss/makedb.c: Likewise.
25894 * posix/getconf.c: Likewise.
25896 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25898 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25901 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25903 * math/bits/mathcalls.h (modf): Use __nonnull.
25905 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25907 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25908 (split): Use macro CN instead of the bare value.
25909 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25911 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25912 instead of the bare value.
25913 (power1): Likewise.
25915 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25917 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25919 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25921 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25923 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25924 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25925 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25926 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25928 2012-12-28 Andreas Jaeger <aj@suse.de>
25930 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25931 values are from Linux 3.7.
25933 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25934 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25936 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25938 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25941 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25943 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25944 variables with preprocessor constants.
25945 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25946 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25947 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25949 2012-12-27 Bruno Haible <bruno@clisp.org>
25952 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25955 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25957 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25958 and use variable directly.
25959 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25961 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25963 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25964 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25966 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25968 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25969 include directive. Remove local variable MPONE.
25970 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25971 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25972 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25974 2012-12-25 David S. Miller <davem@davemloft.net>
25976 * version.h (RELEASE): Set to "development".
25977 (VERSION): Set to "2.17.90".
25978 * NEWS: Add 2.18 section.
25980 2012-12-21 David S. Miller <davem@davemloft.net>
25982 * po/hr.po: Update from translation team.
25984 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25986 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25988 2012-12-19 Steve Ellcey <sellcey@mips.com>
25990 * NEWS: Mention new memcpy for MIPS.
25992 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25994 * manual/contrib.texi (Contributors): Spelling correction.
25996 2012-12-15 David S. Miller <davem@davemloft.net>
25998 * po/ru.po: Update from translation team.
26000 2012-12-13 David S. Miller <davem@davemloft.net>
26002 * NEWS: Mention IFUNC testsuite enhancements.
26004 * po/pl.po: Update from translation team.
26005 * po/bg.po: Likewise.
26007 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26008 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26010 2012-12-11 David S. Miller <davem@davemloft.net>
26012 * po/sv.po: Update from translation team.
26014 * po/vi.po: Update from translation team.
26016 * po/cs.po: Update from translation team.
26018 * po/de.po: Update from translation team.
26019 * po/eo.po: Likewise.
26020 * po/nl.po: Likewise.
26022 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26025 * manual/argp.texi (Argp Helper Functions): Move node to follow
26026 Argp Parsing State.
26029 * manual/conf.texi (Limits on File System Capacity): Mention if
26030 terminating null is included in the max size.
26032 2012-12-10 Andreas Jaeger <aj@suse.de>
26034 * po/cs.po: Update from translation team.
26036 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26038 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26039 void pointer and cast to uintptr_t.
26040 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26042 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26043 * sysdeps/s390/s390-64/memset.S: Likewise.
26045 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26048 * menual/message.texi (Message Translation): Fix typos.
26049 (Helper programs for gettext): Likewise.
26051 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26054 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26057 2012-12-07 David S. Miller <davem@davemloft.net>
26059 * po/libc.pot: Update.
26061 2012-12-07 Richard Henderson <rth@redhat.com>
26064 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26065 normal/normal case to before the switch.
26066 (_FP_DIV): Likewise.
26068 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26069 Mike Frysinger <vapier@gentoo.org>
26071 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26072 check for __NR_fadvise64_64.
26074 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26076 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26077 0, not just to plain "0" as a statement.
26078 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26081 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26083 * NEWS: Use sourceware.org in Bugzilla URL.
26085 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26088 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26090 * stdio-common/tst-put-error.c (do_test): Add newline to the
26091 padded test to ensure flush.
26093 2012-12-05 Jeff Law <law@redhat.com>
26095 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26097 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26099 * README: Don't refer to ports add-on as distributed separately.
26100 Mention AArch64 in list of systems supported in the ports add-on.
26102 * LICENSES: Add more non-FSF copyright and license notices.
26104 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26107 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26109 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26110 10000 as width of padded output.
26112 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26114 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26116 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26117 variable LX with __attribute__ ((unused)).
26118 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26120 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26121 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26122 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26123 with __attribute__ ((unused)).
26125 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26127 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26129 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26131 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26132 (CFLAGS-nldbl-acos.c): New variable.
26133 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26134 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26135 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26136 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26137 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26138 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26139 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26140 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26141 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26142 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26143 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26144 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26145 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26146 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26147 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26148 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26149 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26150 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26151 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26152 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26153 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26154 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26155 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26156 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26157 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26158 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26159 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26160 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26161 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26162 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26163 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26164 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26165 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26166 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26167 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26168 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26169 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26170 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26171 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26172 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26173 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26174 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26175 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26176 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26177 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26178 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26179 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26180 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26181 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26182 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26183 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26184 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26185 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26186 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26187 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26188 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26189 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26190 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26191 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26192 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26193 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26194 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26195 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26196 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26197 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26198 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26199 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26200 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26201 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26202 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26203 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26204 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26205 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26206 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26207 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26208 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26209 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26210 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26211 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26212 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26213 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26214 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26215 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26216 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26217 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26218 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26219 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26220 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26221 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26222 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26223 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26224 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26225 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26226 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26227 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26228 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26229 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26232 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26235 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26236 whole low double instead of just low 47 bits when splitting values
26239 2012-12-03 Allan McRae <allan@archlinux.org>
26241 * manual/stdio.texi (Predefined Printf Handlers): Remove
26242 @hsep and @vsep usage.
26244 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26246 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26247 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26249 2012-12-03 Jeff Law <law@redhat.com>
26251 * time/sys/time.h (settimeofday): Do not mark TV argument
26254 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26256 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26257 when currently writing and seek to current position when not.
26258 * libio/Makefile (tests): Remove bug-fclose1.
26259 * libio/bug-fclose1.c: Delete.
26261 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26263 * manual/arith.texi (feenableexcept): Fix typo.
26264 (fedisableexcept): Likewise.
26266 2012-11-30 Roland McGrath <roland@hack.frob.com>
26268 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26269 second, differently-typed declaration, rather than a cast.
26271 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26273 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26274 * include/rpc/svc.h: ... here.
26276 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26279 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26280 depending n and resplen2 to catch cases where answer
26283 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26285 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26286 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26288 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26290 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26292 2012-11-29 Roland McGrath <roland@hack.frob.com>
26294 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26296 2012-11-28 Jeff Law <law@redhat.com>
26299 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26300 dataset_temporary. Track alloca usage into alloca_used.
26301 If dataset is large allocate and release it via malloc/free.
26303 2012-06-04 Florian Weimer <fweimer@redhat.com>
26306 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26308 2012-11-28 David S. Miller <davem@davemloft.net>
26310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26312 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26315 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26316 of pi/2 rounded to nearest to 64 bits.
26317 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26318 nearest to 64 bits.
26319 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26322 2012-11-28 Jeff Law <law@redhat.com>
26323 Martin Osvald <mosvald@redhat.com>
26326 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26327 * sunrpc/svc.c: Include time.h.
26328 (__svc_accept_failed): New function.
26329 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26330 any reason other than EINTR, call __svc_accept_failed.
26331 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26332 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26334 2012-11-28 Andreas Schwab <schwab@suse.de>
26336 * scripts/abilist.awk: Also handle indirect functions in .opd
26339 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26342 * sysdeps/x86/fpu/powl_helper.c: New file.
26343 * sysdeps/x86/fpu/Makefile: Likewise.
26344 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26346 (__ieee754_powl): Use __powl_helper for finite arguments except
26347 integer exponents below 8.
26348 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26350 (__ieee754_powl): Use __powl_helper for finite arguments except
26351 integer exponents below 8.
26352 * math/libm-test.inc (pow_test): Add more tests and enable some
26353 previously disabled tests.
26354 * sysdeps/i386/fpu/libm-test-ulps: Update.
26355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26357 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26358 Carlos O'Donell <carlos_odonell@mentor.com>
26360 * nss/makedb.c (is_prime): Assert that input is odd and greater
26361 than 4. Note that fact in a comment too.
26362 (next_prime): Add 4 to input.
26364 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26367 * libio/Makefile (tests): Add test case tst-fwrite-error.
26368 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26369 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26370 * libio/tst-fwrite-error.c: New test case.
26372 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26374 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26375 before casting to void *.
26376 * include/libc-internal.h (__pointer_type): New macro.
26377 (__integer_if_pointer_type_sub): Likewise.
26378 (__integer_if_pointer_type): Likewise.
26379 (cast_to_integer): Likewise.
26380 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26381 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26382 before casting to atomic64_t.
26383 (atomic_exchange_acq): Likewise.
26384 (__arch_exchange_and_add_body): Likewise.
26385 (__arch_add_body): Likewise.
26386 (atomic_add_negative): Likewise.
26387 (atomic_add_zero): Likewise.
26389 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26391 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26392 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26393 (add_fdes): Likewise.
26394 (linear_search_fdes): Likewise.
26395 (binary_search_unencoded_fdes): Likewise.
26397 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26399 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26401 2012-11-24 Adam Conrad <adconrad@0c3.net>
26403 * configure.in: Autodetect C++ header directories.
26404 * configure: Regenerated.
26406 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26408 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26410 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26414 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26416 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26417 LDBL_MANT_DIG == 106]: Disable some tests.
26418 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26420 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26424 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26425 input for small inputs. Return +/- pi/2 for large inputs.
26426 * math/libm-test.inc (atan_test): Add more tests.
26428 * sysdeps/generic/unwind-dw2-fde-glibc.c
26429 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26430 __attribute__ ((unused)).
26433 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26434 x * y if x and y are nonzero and z is zero.
26437 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26438 nonzero exponents with absolute value below 0x1p-117 to +/-
26442 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26443 up arguments below 2**-450, not just those below 2**-500.
26444 * math/libm-test.inc (hypot_test): Add another test.
26447 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26448 Return a+b for ratio over 2**120, not 2**60.
26449 * math/libm-test.inc (hypot_test): Add another test.
26451 * math/libm-test.inc (clog_test): Use
26452 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26453 (clog10_test): Likewise.
26456 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26458 2012-11-22 Andreas Schwab <schwab@suse.de>
26460 * sysdeps/i386/fpu/libm-test-ulps: Update.
26462 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26464 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26465 printf output with newline.
26467 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26470 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26471 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26472 -z nodlopen, -z initfirst and -z execstack support.
26473 * configure: Regenerated.
26475 * elf/elf.h (DF_1_NODIRECT): New macro.
26476 (DF_1_IGNMULDEF): Likewise.
26477 (DF_1_NOKSYMS): Likewise.
26478 (DF_1_NOHDR): Likewise.
26479 (DF_1_EDITED): Likewise.
26480 (DF_1_NORELOC): Likewise.
26481 (DF_1_SYMINTPOSE): Likewise.
26482 (DF_1_GLOBAUDIT): Likewise.
26483 (DF_1_SINGLETON): Likewise.
26484 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26485 DT_1_SUPPORTED_MASK bits.
26486 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26488 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26490 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26492 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26494 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26497 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26498 (sendmmsg): Move declarations...
26499 * socket/sys/socket.h: ... here.
26500 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26501 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26503 * socket/recvmmsg.c: ... this new file.
26504 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26505 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26506 definition of __sendmmsg hidden.
26507 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26508 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26509 Move ENOSYS stub into and include it from...
26510 * socket/sendmmsg.c: ... this new file.
26511 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26512 (sysdep_routines): Move recvmmsg and sendmmsg...
26513 * socket/Makefile (routines): ... here.
26514 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26515 (GLIBC_PRIVATE): Add __sendmmsg.
26516 * include/sys/socket.h (__sendmmsg): Add declarations.
26517 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26520 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26522 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26523 variable I1 with __attribute__ ((unused)).
26524 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26526 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26528 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26529 DUMMY variables with __attribute__ ((unused)).
26531 * bits/byteswap.h: Include <bits/types.h>.
26532 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26534 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26536 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26537 string_t. Do not manually set errno.
26538 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26539 length with __strnlen. Make sure to both set errno and return it on
26542 2012-11-19 David S. Miller <davem@davemloft.net>
26544 With help from Joseph Myers.
26545 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26546 very large arguments properly.
26547 * math/libm-test.inc (atan_test): New tests.
26548 (atan2_test): New tests.
26549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26552 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26555 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26558 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26559 [POSIX] (EADDRNOTAVAIL): Likewise.
26560 [POSIX] (EAFNOSUPPORT): Likewise.
26561 [POSIX] (EALREADY): Likewise.
26562 [POSIX] (ECONNABORTED): Likewise.
26563 [POSIX] (ECONNREFUSED): Likewise.
26564 [POSIX] (ECONNRESET): Likewise.
26565 [POSIX] (EDESTADDRREQ): Likewise.
26566 [POSIX] (EDQUOT): Likewise.
26567 [POSIX] (EHOSTUNREACH): Likewise.
26568 [POSIX] (EIDRM): Likewise.
26569 [POSIX] (EISCONN): Likewise.
26570 [POSIX] (ELOOP): Likewise.
26571 [POSIX] (EMULTIHOP): Likewise.
26572 [POSIX] (ENETDOWN): Likewise.
26573 [POSIX] (ENETUNREACH): Likewise.
26574 [POSIX] (ENOBUFS): Likewise.
26575 [POSIX] (ENODATA): Likewise.
26576 [POSIX] (ENOLINK): Likewise.
26577 [POSIX] (ENOMSG): Likewise.
26578 [POSIX] (ENOPROTOOPT): Likewise.
26579 [POSIX] (ENOSR): Likewise.
26580 [POSIX] (ENOSTR): Likewise.
26581 [POSIX] (ENOTCONN): Likewise.
26582 [POSIX] (ENOTSOCK): Likewise.
26583 [POSIX] (EOPNOTSUPP): Likewise.
26584 [POSIX] (EOVERFLOW): Likewise.
26585 [POSIX] (EPROTO): Likewise.
26586 [POSIX] (EPROTONOSUPPORT): Likewise.
26587 [POSIX] (EPROTOTYPE): Likewise.
26588 [POSIX] (ESTALE): Likewise.
26589 [POSIX] (ETIME): Likewise.
26590 [POSIX] (ETXTBSY): Likewise.
26591 [POSIX] (EWOULDBLOCK): Likewise.
26592 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26593 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26594 [POSIX] (SEEK_CUR): Likewise.
26595 [POSIX] (SEEK_END): Likewise.
26596 [POSIX || UNIX98] (mode_t): Do not require.
26597 [POSIX] (off_t): Likewise.
26598 [POSIX] (pid_t): Likewise.
26599 [POSIX] (sys/stat.h): Do not allow header.
26600 [POSIX] (unistd.h): Likewise.
26601 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26602 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26603 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26604 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26606 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26607 sigevent): Specify elements.
26608 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26610 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26611 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26613 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26614 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26615 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26616 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26617 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26618 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26619 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26620 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26621 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26622 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26623 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26624 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26625 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26626 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26628 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26630 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26632 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26634 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26635 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26636 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26637 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26638 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26639 Specify lower bound on value.
26640 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26641 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26642 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26643 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26644 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26645 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26646 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26647 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26649 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26651 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26652 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26653 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26654 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26655 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26656 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26657 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26658 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26659 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26660 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26661 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26662 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26663 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26664 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26665 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26666 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26668 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26670 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26671 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26672 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26673 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26674 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26675 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26677 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26678 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26679 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26680 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26681 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26682 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26683 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26685 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26686 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26687 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26688 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26689 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26690 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26691 specify as optional.
26692 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26693 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26694 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26695 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26696 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26697 [XPG3] (NL_LANGMAX): Likewise.
26698 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26699 [POSIX || XPG3] (NL_NMAX): Likewise.
26700 [POSIX || XPG3] (NL_SETMAX): Likewise.
26701 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26702 [XPG3] (NZERO): Likewise.
26703 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26704 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26705 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26706 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26707 (REG_ERANGE): Expect.
26708 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26710 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26711 Use (void) in prototype.
26712 [POSIX] (*_t): Allow.
26713 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26714 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26715 (WRDE_BADVAL): Expect.
26717 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26719 [XPG3 || XPG4] (O_RSYNC): Likewise.
26720 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26722 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26723 [XPG3 || XPG4] (sigqueue): Likewise.
26724 [XPG3 || XPG4] (sigtimedwait): Likewise.
26725 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26726 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26727 [XPG3 || XPG4] (vsnprintf): Likewise.
26728 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26730 [XPG3 || XPG4] (blksize_t): Likewise.
26731 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26733 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26734 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26735 [XPG3 || XPG4] (struct itimerspec): Likewise.
26736 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26737 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26738 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26739 [XPG3 || XPG4] (clockid_t): Likewise.
26740 [XPG3 || XPG4] (timer_t): Likewise.
26741 [XPG3 || XPG4] (clock_getres): Likewise.
26742 [XPG3 || XPG4] (clock_gettime): Likewise.
26743 [XPG3 || XPG4] (clock_settime): Likewise.
26744 [XPG3 || XPG4] (nanosleep): Likewise.
26745 [XPG3 || XPG4] (timer_create): Likewise.
26746 [XPG3 || XPG4] (timer_delete): Likewise.
26747 [XPG3 || XPG4] (timer_gettime): Likewise.
26748 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26749 [XPG3 || XPG4] (timer_settime): Likewise.
26750 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26751 [XPG3 || XPG4] (getlogin_r): Likewise.
26752 [XPG3 || XPG4] (pread): Likewise.
26753 [XPG3 || XPG4] (pthread_atfork): Likewise.
26754 [XPG3 || XPG4] (pwrite): Likewise.
26757 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26760 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26762 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26763 finalizing MALLSTREAM.
26765 * sysdeps/mach/hurd/syncfs.c: New file.
26767 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26770 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26771 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26772 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26773 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26774 (_nss_dns_gethostbyname4_r): Likewise.
26775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26776 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26778 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26781 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26783 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26785 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26786 * elf/cache.c (print_entry): Print ",AArch64" for
26789 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26790 * elf/cache.c (print_entry): Print ",hard-float" for
26793 2012-11-18 David S. Miller <davem@davemloft.net>
26795 With help from Joseph Myers.
26796 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26798 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26800 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26801 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26803 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26804 * math/libm-test.inc (y0_test): New tests.
26805 (y1_test): New tests.
26806 * sysdeps/i386/fpu/libm-test-ulps: Update.
26807 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26810 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26812 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26814 * configure: Regenerated.
26816 2012-11-17 David S. Miller <davem@davemloft.net>
26819 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26820 nonzero exponents with absolute value below 0x1p-128 to +/-
26823 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26825 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26827 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26829 * posix/getconf-speclist.c: New file.
26830 * posix/posix-envs.def: Likewise.
26831 * posix/confstr.c (START_ENV_GROUP): New macro.
26832 (END_ENV_GROUP): Likewise.
26833 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26834 (KNOWN_PRESENT_ENV_STRING): Likewise.
26835 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26836 (UNKNOWN_ENVIRONMENT): Likewise.
26837 (confstr): Include posix-envs.def instead of handling
26838 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26839 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26840 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26841 (END_ENV_GROUP): Likewise.
26842 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26843 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26844 (UNKNOWN_ENVIRONMENT): Likewise.
26845 (__sysconf): Include posix-envs.def instead of handling associated
26846 cases directly here.
26847 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26848 preprocessing getconf-speclist.c rather than running getconf or
26849 generating empty file.
26851 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26853 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26855 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26858 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26860 2012-11-16 David S. Miller <davem@davemloft.net>
26862 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26863 smaller than LDBL_EPSILON/2.0L, just return xm1.
26865 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26867 * elf/tst-array1.c (init): Set constructor priority to 1000.
26868 (fini): Set destructor priority to 1000.
26869 * elf/tst-array2dep.c: Likewise.
26871 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26874 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26875 (_IO_new_file_xsputn): Also return EOF if none of the input
26876 data was written when overflow failed.
26877 * libio/iopadn.c (_IO_padn): Likewise.
26878 * libio/iowpadn.c (_IO_wpadn): Likewise.
26879 * stdio-common/tst-put-error.c: Add copyright notice.
26880 (do_test): Add case for printing padded string.
26881 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26882 _IO_padn returned error.
26883 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26884 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26887 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26889 * libio/libioP.h: Add comment note that the references to C++
26890 bits are now obsolete.
26892 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26894 * math/libm-test.inc (check_complex): Use asprintf.
26896 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26898 * debug/pcprofiledump.c (print_version): Update copyright year.
26899 * malloc/memusagestat.c (print_version): Likewise.
26901 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26904 * elf/Makefile (tests): Add tst-audit8.
26905 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26906 ($(objpfx)tst-audit8.out): New target.
26907 (tst-audit8-ENV): New variable.
26908 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26909 audit if l_reloc_result is NULL.
26910 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26911 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26912 * elf/tst-audit8.c: New file.
26914 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26916 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26917 * misc/Makefile (CFLAGS-select.c): Define.
26918 * posix/Makefile (CFLAGS-pause.c): Define.
26920 2012-11-13 David S. Miller <davem@davemloft.net>
26922 * crypt/Makefile: Move test targets after toplevel Rules
26923 inclusion. Grab any necessary sysdep routines when linking.
26924 * crypt/md5.c (md5_process_block): Remove define, we will always
26925 name it __md5_process_block.
26926 (md5_finish_ctx): Update md5_process_block call.
26927 (md5_stream): Likewise.
26928 (md5_process_bytes): Likewise.
26929 (md5_process_block): Rename to __md5_process_block and move to ...
26930 * crypt/md5-block.c: ... here.
26931 * crypt/sha256.c (sha256_process_block): Move to ...
26932 * crypt/sha256-block.c: ... here.
26933 * crypt/sha512.c (sha512_process_block): Move to ...
26934 * crypt/sha512-block.c: ... here.
26935 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26937 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26938 * sysdeps/sparc/sparc64/multiarch/Makefile
26939 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26941 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26942 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26944 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26945 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26946 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26947 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26948 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26949 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26950 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26951 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26952 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26954 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26955 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26957 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26959 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26961 * timezone/tzselect.ksh: Update from tzcode git revision
26962 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26963 * timezone/zdump.c: Likewise.
26964 * timezone/zic.c: Likewise.
26965 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26966 in TZVERSION setting, not $(PKGVERSION).
26967 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26968 REPORT_BUGS_TO settings.
26971 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26974 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26976 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26977 detection to immediately after _FP_ROUND().
26978 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26981 2012-11-11 David S. Miller <davem@davemloft.net>
26983 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26985 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26986 __close rather than their public counterparts.
26988 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26990 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26992 [UNIX98] (sem_timedwait): Do not expect.
26993 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26994 [XPG4 || UNIX98] (sockatmark): Do not expect.
26995 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26996 (clock_getcpuclockid): Do not expect.
26997 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26998 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27000 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27001 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27002 [UNIX98] (vwscanf): Likewise.
27003 [UNIX98] (vswscanf): Likewise.
27005 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27007 * timezone/version.h: Remove file.
27008 * timezone/README: Do not refer to version.h.
27009 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27010 $(objpfx)version.h.
27011 ($(objpfx)zdump.o): Likewise.
27012 ($(objpfx)version.h): New target.
27014 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27016 * timezone/README: Don't mention modification to tzselect.ksh.
27017 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27018 work on unmodified tzselect.ksh. Substitute version numbers in
27021 * Makefile (format-me): Remove.
27022 (INSTALL): Adjust indentation. Use commands directly instead of
27023 using $(format-me).
27025 * aclocal.m4 (ACX_PKGVERSION): New macro.
27026 (ACX_BUGURL): Likewise.
27027 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27028 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27029 (REPORT_BUGS_TO): Likewise.
27030 * configure: Regenerated.
27031 * config.h.in (PKGVERSION): New macro.
27032 (REPORT_BUGS_TO): Likewise.
27033 * config.make.in (PKGVERSION): New variable.
27034 (PKGVERSION_TEXI): Likewise.
27035 (REPORT_BUGS_TO): Likewise.
27036 (REPORT_BUGS_TEXI): Likewise.
27037 * Makefile (format-me): Use -I$(common-objpfx)manual.
27038 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27039 ($(common-objpfx)manual/%): New target.
27040 (manual/%): Remove target.
27041 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27042 (print_version): Use PKGVERSION.
27043 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27044 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27045 and REPORT_BUGS_TO.
27046 ($(objpfx)xtrace): Likewise.
27047 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27048 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27049 (print_version): Use PKGVERSION.
27050 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27051 (do_version): Use PKGVERSION.
27052 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27054 (common-ldd-rewrite): Likewise.
27055 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27056 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27057 (print_version): Use PKGVERSION.
27058 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27059 * elf/pldd.c (argp_program_bug_address): Remove variable.
27060 (more_help): New function.
27061 (argp): Use more_help.
27062 (print_version): Use PKGVERSION.
27063 * elf/sln.c (main): Use PKGVERSION.
27064 (usage): Use REPORT_BUGS_TO.
27065 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27066 (top level): Use PKGVERSION.
27067 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27068 (print_version): Use PKGVERSION.
27069 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27070 (print_version): Use PKGVERSION.
27071 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27072 (print_version): Use PKGVERSION.
27073 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27074 (print_version): Use PKGVERSION.
27075 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27076 (print_version): Use PKGVERSION.
27077 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27078 (print_version): Use PKGVERSION.
27079 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27081 ($(objpfx)memusage): Likewise.
27082 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27083 (do_version): Use PKGVERSION.
27084 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27085 (print_version): Use PKGVERSION.
27086 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27087 ($PKGVERSION): New variable.
27088 ($REPORT_BUGS_TO): Likewise.
27089 (usage): Use $REPORT_BUGS_TO.
27090 (top level): Use $PKGVERSION.
27091 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27092 ($(objpfx)pkgvers.texi): New rule.
27093 ($(objpfx)stamp-pkgvers): Likewise.
27094 * manual/install.texi: Include pkgvers.texi.
27095 (--with-pkgversion): Document new configure option.
27096 (--with-bugurl): Likewise.
27097 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27098 than necessarily for this particular distribution. Use
27099 REPORT_BUGS_TO for where to report bugs.
27100 * INSTALL: Regenerated.
27101 * manual/libc.texinfo: Include pkgvers.texi.
27102 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27103 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27104 (print_version): Use PKGVERSION.
27105 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27106 (print_version): Use PKGVERSION.
27107 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27108 (print_version): Use PKGVERSION.
27109 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27110 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27112 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27113 (print_version): Use PKGVERSION.
27114 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27115 (print_version): Use PKGVERSION.
27116 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27119 * timezone/checktab.awk: Update from tzcode 2012i.
27120 * timezone/ialloc.c: Likewise.
27121 * timezone/private.h: Likewise.
27122 * timezone/scheck.c: Likewise.
27123 * timezone/tzfile.h: Likewise.
27124 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27125 (TZVERSION): Hardcode tzcode version number.
27126 * timezone/zdump.c: Update from tzcode 2012i.
27127 * timezone/zic.c: Likewise.
27128 * timezone/version.h: New file.
27129 * timezone/README: Describe version.h. Update upstream location.
27132 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27133 (mktemp): Enable declaration.
27134 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27135 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27136 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27137 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27139 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27141 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27143 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27145 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27147 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27151 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27152 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27153 for copies of such integer values.
27154 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27155 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27157 2012-11-09 Andreas Jaeger <aj@suse.de>
27159 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27160 definitions and declarations that are provided by
27161 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27163 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27165 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27166 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27167 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27170 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27172 * elf/elf.h: Update comment before AArch64 relocations.
27174 2012-11-07 David S. Miller <davem@davemloft.net>
27176 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27177 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27178 (__start_context): Declare.
27179 (__makecontext_ret): Delete.
27180 (__makecontext): Hook up __start_context instead of
27182 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27183 (sysdep_routines): Add __start_context when in stdlib.
27185 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27187 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27188 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27189 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27191 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27192 (READELF): New variable. Use it instead of hardcoded "readelf".
27194 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27196 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27197 * sysdeps/x86/Makefile: Here.
27198 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27199 * sysdeps/x86/tst-xmmymm.sh: This.
27201 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27203 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27205 [UNIX98] (pthread_barrier_t): Do not expect.
27206 [UNIX98] (pthread_barrierattr_t): Likewise.
27207 [UNIX98] (pthread_spinlock_t): Likewise.
27208 [UNIX98] (pthread_barrier_destroy): Likewise.
27209 [UNIX98] (pthread_barrier_init): Likewise.
27210 [UNIX98] (pthread_barrier_wait): Likewise.
27211 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27212 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27213 [UNIX98] (pthread_barrierattr_init): Likewise.
27214 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27215 [UNIX98] (pthread_getcpuclockid): Likewise.
27216 [UNIX98] (pthread_mutex_timedlock): Likewise.
27217 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27218 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27219 [UNIX98] (pthread_sigmask): Likewise.
27220 [UNIX98] (pthread_spin_destroy): Likewise.
27221 [UNIX98] (pthread_spin_init): Likewise.
27222 [UNIX98] (pthread_spin_lock): Likewise.
27223 [UNIX98] (pthread_spin_trylock): Likewise.
27224 [UNIX98] (pthread_spin_unlock): Likewise.
27225 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27227 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27228 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27229 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27230 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27231 [XPG3 || XPG4] (pthread_key_t): Likewise.
27232 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27233 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27234 [XPG3 || XPG4] (pthread_once_t): Likewise.
27235 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27236 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27237 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27238 [XPG3 || XPG4] (pthread_t): Likewise.
27240 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27242 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27244 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27245 Change function return type to int.
27247 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27248 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27249 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27250 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27251 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27252 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27253 [!POSIX] (posix_madvise): Likewise.
27254 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27256 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27257 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27258 (mode_t): Likewise.
27259 (posix_mem_offset): Likewise.
27260 (posix_typed_mem_get_info): Likewise.
27261 (posix_typed_mem_open): Likewise.
27263 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27264 Change condition to [XOPEN2K8].
27266 * conform/conformtest.pl: Preprocess allow-header data with -x c
27267 instead of from stdin.
27268 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27269 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27270 [C99-based standards] (cerfc): Likewise.
27271 [C99-based standards] (cexp2): Likewise.
27272 [C99-based standards] (cexpm1): Likewise.
27273 [C99-based standards] (clog10): Likewise.
27274 [C99-based standards] (clog1p): Likewise.
27275 [C99-based standards] (clog2): Likewise.
27276 [C99-based standards] (clgamma): Likewise.
27277 [C99-based standards] (ctgamma): Likewise.
27278 [C99-based standards] (cerff): Likewise.
27279 [C99-based standards] (cerfcf): Likewise.
27280 [C99-based standards] (cexp2f): Likewise.
27281 [C99-based standards] (cexpm1f): Likewise.
27282 [C99-based standards] (clog10f): Likewise.
27283 [C99-based standards] (clog1pf): Likewise.
27284 [C99-based standards] (clog2f): Likewise.
27285 [C99-based standards] (clgammaf): Likewise.
27286 [C99-based standards] (ctgammaf): Likewise.
27287 [C99-based standards] (cerfl): Likewise.
27288 [C99-based standards] (cerfcl): Likewise.
27289 [C99-based standards] (cexp2l): Likewise.
27290 [C99-based standards] (cexpm1l): Likewise.
27291 [C99-based standards] (clog10l): Likewise.
27292 [C99-based standards] (clog1pl): Likewise.
27293 [C99-based standards] (clog2l): Likewise.
27294 [C99-based standards] (clgammal): Likewise.
27295 [C99-based standards] (ctgammal): Likewise.
27296 * conform/data/inttypes.h-data [C99-based standards]: Include
27297 stdint.h-data. Remove all expectations for stdint.h contents.
27298 [C99-based standards] (PRI*): Do not allow.
27299 [C99-based standards] (SCN*): Likewise.
27300 [C99-based standards] (*_t): Likewise.
27301 [C99-based-standards] (PRId8): Expect macro.
27302 [C99-based-standards] (PRIi8): Likewise.
27303 [C99-based-standards] (PRIo8): Likewise.
27304 [C99-based-standards] (PRIu8): Likewise.
27305 [C99-based-standards] (PRIx8): Likewise.
27306 [C99-based-standards] (PRIX8): Likewise.
27307 [C99-based-standards] (SCNd8): Likewise.
27308 [C99-based-standards] (SCNi8): Likewise.
27309 [C99-based-standards] (SCNo8): Likewise.
27310 [C99-based-standards] (SCNu8): Likewise.
27311 [C99-based-standards] (SCNx8): Likewise.
27312 [C99-based-standards] (PRIdLEAST8): Likewise.
27313 [C99-based-standards] (PRIiLEAST8): Likewise.
27314 [C99-based-standards] (PRIoLEAST8): Likewise.
27315 [C99-based-standards] (PRIuLEAST8): Likewise.
27316 [C99-based-standards] (PRIxLEAST8): Likewise.
27317 [C99-based-standards] (PRIXLEAST8): Likewise.
27318 [C99-based-standards] (SCNdLEAST8): Likewise.
27319 [C99-based-standards] (SCNiLEAST8): Likewise.
27320 [C99-based-standards] (SCNoLEAST8): Likewise.
27321 [C99-based-standards] (SCNuLEAST8): Likewise.
27322 [C99-based-standards] (SCNxLEAST8): Likewise.
27323 [C99-based-standards] (PRIdFAST8): Likewise.
27324 [C99-based-standards] (PRIiFAST8): Likewise.
27325 [C99-based-standards] (PRIoFAST8): Likewise.
27326 [C99-based-standards] (PRIuFAST8): Likewise.
27327 [C99-based-standards] (PRIxFAST8): Likewise.
27328 [C99-based-standards] (PRIXFAST8): Likewise.
27329 [C99-based-standards] (SCNdFAST8): Likewise.
27330 [C99-based-standards] (SCNiFAST8): Likewise.
27331 [C99-based-standards] (SCNoFAST8): Likewise.
27332 [C99-based-standards] (SCNuFAST8): Likewise.
27333 [C99-based-standards] (SCNxFAST8): Likewise.
27334 [C99-based-standards] (PRId16): Likewise.
27335 [C99-based-standards] (PRIi16): Likewise.
27336 [C99-based-standards] (PRIo16): Likewise.
27337 [C99-based-standards] (PRIu16): Likewise.
27338 [C99-based-standards] (PRIx16): Likewise.
27339 [C99-based-standards] (PRIX16): Likewise.
27340 [C99-based-standards] (SCNd16): Likewise.
27341 [C99-based-standards] (SCNi16): Likewise.
27342 [C99-based-standards] (SCNo16): Likewise.
27343 [C99-based-standards] (SCNu16): Likewise.
27344 [C99-based-standards] (SCNx16): Likewise.
27345 [C99-based-standards] (PRIdLEAST16): Likewise.
27346 [C99-based-standards] (PRIiLEAST16): Likewise.
27347 [C99-based-standards] (PRIoLEAST16): Likewise.
27348 [C99-based-standards] (PRIuLEAST16): Likewise.
27349 [C99-based-standards] (PRIxLEAST16): Likewise.
27350 [C99-based-standards] (PRIXLEAST16): Likewise.
27351 [C99-based-standards] (SCNdLEAST16): Likewise.
27352 [C99-based-standards] (SCNiLEAST16): Likewise.
27353 [C99-based-standards] (SCNoLEAST16): Likewise.
27354 [C99-based-standards] (SCNuLEAST16): Likewise.
27355 [C99-based-standards] (SCNxLEAST16): Likewise.
27356 [C99-based-standards] (PRIdFAST16): Likewise.
27357 [C99-based-standards] (PRIiFAST16): Likewise.
27358 [C99-based-standards] (PRIoFAST16): Likewise.
27359 [C99-based-standards] (PRIuFAST16): Likewise.
27360 [C99-based-standards] (PRIxFAST16): Likewise.
27361 [C99-based-standards] (PRIXFAST16): Likewise.
27362 [C99-based-standards] (SCNdFAST16): Likewise.
27363 [C99-based-standards] (SCNiFAST16): Likewise.
27364 [C99-based-standards] (SCNoFAST16): Likewise.
27365 [C99-based-standards] (SCNuFAST16): Likewise.
27366 [C99-based-standards] (SCNxFAST16): Likewise.
27367 [C99-based-standards] (PRId32): Likewise.
27368 [C99-based-standards] (PRIi32): Likewise.
27369 [C99-based-standards] (PRIo32): Likewise.
27370 [C99-based-standards] (PRIu32): Likewise.
27371 [C99-based-standards] (PRIx32): Likewise.
27372 [C99-based-standards] (PRIX32): Likewise.
27373 [C99-based-standards] (SCNd32): Likewise.
27374 [C99-based-standards] (SCNi32): Likewise.
27375 [C99-based-standards] (SCNo32): Likewise.
27376 [C99-based-standards] (SCNu32): Likewise.
27377 [C99-based-standards] (SCNx32): Likewise.
27378 [C99-based-standards] (PRIdLEAST32): Likewise.
27379 [C99-based-standards] (PRIiLEAST32): Likewise.
27380 [C99-based-standards] (PRIoLEAST32): Likewise.
27381 [C99-based-standards] (PRIuLEAST32): Likewise.
27382 [C99-based-standards] (PRIxLEAST32): Likewise.
27383 [C99-based-standards] (PRIXLEAST32): Likewise.
27384 [C99-based-standards] (SCNdLEAST32): Likewise.
27385 [C99-based-standards] (SCNiLEAST32): Likewise.
27386 [C99-based-standards] (SCNoLEAST32): Likewise.
27387 [C99-based-standards] (SCNuLEAST32): Likewise.
27388 [C99-based-standards] (SCNxLEAST32): Likewise.
27389 [C99-based-standards] (PRIdFAST32): Likewise.
27390 [C99-based-standards] (PRIiFAST32): Likewise.
27391 [C99-based-standards] (PRIoFAST32): Likewise.
27392 [C99-based-standards] (PRIuFAST32): Likewise.
27393 [C99-based-standards] (PRIxFAST32): Likewise.
27394 [C99-based-standards] (PRIXFAST32): Likewise.
27395 [C99-based-standards] (SCNdFAST32): Likewise.
27396 [C99-based-standards] (SCNiFAST32): Likewise.
27397 [C99-based-standards] (SCNoFAST32): Likewise.
27398 [C99-based-standards] (SCNuFAST32): Likewise.
27399 [C99-based-standards] (SCNxFAST32): Likewise.
27400 [C99-based-standards] (PRId64): Likewise.
27401 [C99-based-standards] (PRIi64): Likewise.
27402 [C99-based-standards] (PRIo64): Likewise.
27403 [C99-based-standards] (PRIu64): Likewise.
27404 [C99-based-standards] (PRIx64): Likewise.
27405 [C99-based-standards] (PRIX64): Likewise.
27406 [C99-based-standards] (SCNd64): Likewise.
27407 [C99-based-standards] (SCNi64): Likewise.
27408 [C99-based-standards] (SCNo64): Likewise.
27409 [C99-based-standards] (SCNu64): Likewise.
27410 [C99-based-standards] (SCNx64): Likewise.
27411 [C99-based-standards] (PRIdLEAST64): Likewise.
27412 [C99-based-standards] (PRIiLEAST64): Likewise.
27413 [C99-based-standards] (PRIoLEAST64): Likewise.
27414 [C99-based-standards] (PRIuLEAST64): Likewise.
27415 [C99-based-standards] (PRIxLEAST64): Likewise.
27416 [C99-based-standards] (PRIXLEAST64): Likewise.
27417 [C99-based-standards] (SCNdLEAST64): Likewise.
27418 [C99-based-standards] (SCNiLEAST64): Likewise.
27419 [C99-based-standards] (SCNoLEAST64): Likewise.
27420 [C99-based-standards] (SCNuLEAST64): Likewise.
27421 [C99-based-standards] (SCNxLEAST64): Likewise.
27422 [C99-based-standards] (PRIdFAST64): Likewise.
27423 [C99-based-standards] (PRIiFAST64): Likewise.
27424 [C99-based-standards] (PRIoFAST64): Likewise.
27425 [C99-based-standards] (PRIuFAST64): Likewise.
27426 [C99-based-standards] (PRIxFAST64): Likewise.
27427 [C99-based-standards] (PRIXFAST64): Likewise.
27428 [C99-based-standards] (SCNdFAST64): Likewise.
27429 [C99-based-standards] (SCNiFAST64): Likewise.
27430 [C99-based-standards] (SCNoFAST64): Likewise.
27431 [C99-based-standards] (SCNuFAST64): Likewise.
27432 [C99-based-standards] (SCNxFAST64): Likewise.
27433 [C99-based-standards] (PRIdMAX): Likewise.
27434 [C99-based-standards] (PRIiMAX): Likewise.
27435 [C99-based-standards] (PRIoMAX): Likewise.
27436 [C99-based-standards] (PRIuMAX): Likewise.
27437 [C99-based-standards] (PRIxMAX): Likewise.
27438 [C99-based-standards] (PRIXMAX): Likewise.
27439 [C99-based-standards] (SCNdMAX): Likewise.
27440 [C99-based-standards] (SCNiMAX): Likewise.
27441 [C99-based-standards] (SCNoMAX): Likewise.
27442 [C99-based-standards] (SCNuMAX): Likewise.
27443 [C99-based-standards] (SCNxMAX): Likewise.
27444 [C99-based-standards] (PRIdPTR): Likewise.
27445 [C99-based-standards] (PRIiPTR): Likewise.
27446 [C99-based-standards] (PRIoPTR): Likewise.
27447 [C99-based-standards] (PRIuPTR): Likewise.
27448 [C99-based-standards] (PRIxPTR): Likewise.
27449 [C99-based-standards] (PRIXPTR): Likewise.
27450 [C99-based-standards] (SCNdPTR): Likewise.
27451 [C99-based-standards] (SCNiPTR): Likewise.
27452 [C99-based-standards] (SCNoPTR): Likewise.
27453 [C99-based-standards] (SCNuPTR): Likewise.
27454 [C99-based-standards] (SCNxPTR): Likewise.
27455 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27457 * conform/data/stdint.h-data: Update comments to clarify
27459 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27461 [C99-based standards] (INT8_MAX): Likewise.
27462 [C99-based standards] (INT16_MIN): Likewise.
27463 [C99-based standards] (INT16_MAX): Likewise.
27464 [C99-based standards] (INT32_MIN): Likewise.
27465 [C99-based standards] (INT32_MAX): Likewise.
27466 [C99-based standards] (INT64_MIN): Likewise.
27467 [C99-based standards] (INT64_MAX): Likewise.
27468 [C99-based standards] (UINT8_MAX): Likewise.
27469 [C99-based standards] (UINT16_MAX): Likewise.
27470 [C99-based standards] (UINT32_MAX): Likewise.
27471 [C99-based standards] (UINT64_MAX): Likewise.
27472 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27473 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27474 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27475 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27476 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27477 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27478 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27479 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27480 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27481 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27482 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27483 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27484 [C99-based standards] (INT_FAST8_MIN): Likewise.
27485 [C99-based standards] (INT_FAST8_MAX): Likewise.
27486 [C99-based standards] (INT_FAST16_MIN): Likewise.
27487 [C99-based standards] (INT_FAST16_MAX): Likewise.
27488 [C99-based standards] (INT_FAST32_MIN): Likewise.
27489 [C99-based standards] (INT_FAST32_MAX): Likewise.
27490 [C99-based standards] (INT_FAST64_MIN): Likewise.
27491 [C99-based standards] (INT_FAST64_MAX): Likewise.
27492 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27493 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27494 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27495 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27496 [C99-based standards] (INTPTR_MIN): Likewise.
27497 [C99-based standards] (INTPTR_MAX): Likewise.
27498 [C99-based standards] (UINTPTR_MAX): Likewise.
27499 [C99-based standards] (INTMAX_MIN): Likewise.
27500 [C99-based standards] (INTMAX_MAX): Likewise.
27501 [C99-based standards] (UINTMAX_MAX): Likewise.
27502 [C99-based standards] (PTRDIFF_MIN): Likewise.
27503 [C99-based standards] (PTRDIFF_MAX): Likewise.
27504 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27505 [C99-based standards] (SIZE_MAX): Likewise.
27506 [C99-based standards] (WCHAR_MAX): Likewise.
27507 [C99-based standards] (WINT_MAX): Likewise.
27508 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27509 constraint on value.
27510 [C99-based standards] (WCHAR_MIN): Likewise.
27511 [C99-based standards] (WINT_MIN): Likewise.
27512 [C99-based standards] (*_t): Allow.
27513 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27514 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27515 Include math.h-data and complex.h-data. Remove all expectations
27516 of math.h and complex.h contents.
27517 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27519 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27520 (struct tm): Expect tag.
27521 [C99-based-standards] (wcstof): Expect function.
27522 [C99-based-standards] (wcstold): Likewise.
27523 [C99-based-standards] (wcstoll): Likewise.
27524 [C99-based-standards] (wcstoull): Likewise.
27525 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27526 macro-int-constant. Specify type.
27527 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27528 constraint on value.
27529 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27531 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27533 [ISO C standards]: Do not allow headers.
27534 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27535 wcs[abcdefghijklmnopqrstuvwxyz]*.
27536 [ISO C standards] (*_t): Do not allow.
27537 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27539 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27540 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27542 [ISO C standards]: Do not allow headers.
27543 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27544 is[abcdefghijklmnopqrstuvwxyz]*.
27545 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27546 to[abcdefghijklmnopqrstuvwxyz]*.
27547 [ISO C standards] (*_t): Do not allow.
27548 * conform/data/stdalign.h-data: New file.
27549 * conform/data/stdbool.h-data: Likewise.
27550 * conform/data/stdnoreturn.h-data: Likewise.
27552 2012-11-07 Roland McGrath <roland@hack.frob.com>
27555 * manual/filesys.texi (Directory Entries): Typo fix.
27556 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27558 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27560 * elf/elf.h (EM_AARCH64): New macro.
27561 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27562 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27563 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27564 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27565 (R_AARCH64_TLSDESC): Likewise.
27566 (NT_ARM_TLS): Likewise.
27567 (NT_ARM_HW_BREAK): Likewise.
27568 (NT_ARM_HW_WATCH): Likewise.
27570 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27573 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27574 (__ieee754_powl): Saturate nonzero exponents with absolute value
27575 below 0x1p-79 to +/- 0x1p-79.
27576 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27577 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27578 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27579 nonzero exponents with absolute value below 0x1p-32 to +/-
27581 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27582 (__ieee754_powl): Saturate nonzero exponents with absolute value
27583 below 0x1p-79 to +/- 0x1p-79.
27584 * math/libm-test.inc (pow_test): Add more tests.
27586 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27588 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27589 _dl_s390_cap_flags with kernel. Increase string length.
27590 (_dl_s390_platforms): Add z196 and zEC12.
27592 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27594 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27595 Change XOPEN21K to XOPEN2K.
27597 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27599 * string/memmove.c: Use memcpy when possible.
27601 2012-11-06 Andreas Jaeger <aj@suse.de>
27603 * po/eo.po: Update from translation team.
27605 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27608 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27609 exponent and small x and y exponents, scale x or y up. Increase
27610 by 2 the exponent used in scaling up.
27611 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27612 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27613 * math/libm-test.inc (fma_test): Add more tests.
27614 (fma_test_towardzero): Likewise.
27615 (fma_test_downward): Likewise.
27616 (fma_test_upward): Likewise.
27618 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27621 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27625 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27626 namespace for names of struct fields.
27627 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27629 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27630 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27632 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27635 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27637 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27639 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27643 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27646 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27649 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27650 definitely overflow as x * y not x * y + z.
27651 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27652 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27653 * math/libm-test.inc (fma_test): Add more tests.
27654 (fma_test_towardzero): Likewise.
27655 (fma_test_downward): Likewise.
27656 (fma_test_upward): Likewise.
27658 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27662 * include/stub-tag.h: Remove file.
27663 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27665 * manual/maint.texi (Porting): Don't reference it.
27666 * Makerules ($(objpfx)stubs): Likewise.
27667 * dirent/closedir.c: Don't include <stub-tag.h>.
27668 * dirent/dirfd.c: Likewise.
27669 * dirent/fdopendir.c: Likewise.
27670 * dirent/getdents.c: Likewise.
27671 * dirent/getdents64.c: Likewise.
27672 * dirent/opendir.c: Likewise.
27673 * dirent/readdir.c: Likewise.
27674 * dirent/readdir64.c: Likewise.
27675 * dirent/readdir64_r.c: Likewise.
27676 * dirent/readdir_r.c: Likewise.
27677 * dirent/rewinddir.c: Likewise.
27678 * dirent/seekdir.c: Likewise.
27679 * dirent/telldir.c: Likewise.
27680 * gmon/profil.c: Likewise.
27681 * grp/setgroups.c: Likewise.
27682 * inet/if_index.c: Likewise.
27683 * io/access.c: Likewise.
27684 * io/chdir.c: Likewise.
27685 * io/chmod.c: Likewise.
27686 * io/chown.c: Likewise.
27687 * io/close.c: Likewise.
27688 * io/dup.c: Likewise.
27689 * io/dup2.c: Likewise.
27690 * io/dup3.c: Likewise.
27691 * io/euidaccess.c: Likewise.
27692 * io/faccessat.c: Likewise.
27693 * io/fchdir.c: Likewise.
27694 * io/fchmod.c: Likewise.
27695 * io/fchmodat.c: Likewise.
27696 * io/fchown.c: Likewise.
27697 * io/fchownat.c: Likewise.
27698 * io/fcntl.c: Likewise.
27699 * io/flock.c: Likewise.
27700 * io/fstatfs.c: Likewise.
27701 * io/fstatfs64.c: Likewise.
27702 * io/fstatvfs.c: Likewise.
27703 * io/fstatvfs64.c: Likewise.
27704 * io/futimens.c: Likewise.
27705 * io/fxstat.c: Likewise.
27706 * io/fxstat64.c: Likewise.
27707 * io/fxstatat.c: Likewise.
27708 * io/fxstatat64.c: Likewise.
27709 * io/getcwd.c: Likewise.
27710 * io/isatty.c: Likewise.
27711 * io/lchmod.c: Likewise.
27712 * io/lchown.c: Likewise.
27713 * io/link.c: Likewise.
27714 * io/linkat.c: Likewise.
27715 * io/lseek.c: Likewise.
27716 * io/lseek64.c: Likewise.
27717 * io/lxstat64.c: Likewise.
27718 * io/mkdir.c: Likewise.
27719 * io/mkdirat.c: Likewise.
27720 * io/mkfifo.c: Likewise.
27721 * io/mkfifoat.c: Likewise.
27722 * io/open.c: Likewise.
27723 * io/open64.c: Likewise.
27724 * io/openat.c: Likewise.
27725 * io/openat64.c: Likewise.
27726 * io/pipe.c: Likewise.
27727 * io/pipe2.c: Likewise.
27728 * io/poll.c: Likewise.
27729 * io/posix_fadvise.c: Likewise.
27730 * io/posix_fadvise64.c: Likewise.
27731 * io/posix_fallocate.c: Likewise.
27732 * io/posix_fallocate64.c: Likewise.
27733 * io/read.c: Likewise.
27734 * io/readlink.c: Likewise.
27735 * io/readlinkat.c: Likewise.
27736 * io/rmdir.c: Likewise.
27737 * io/sendfile.c: Likewise.
27738 * io/sendfile64.c: Likewise.
27739 * io/statfs.c: Likewise.
27740 * io/statfs64.c: Likewise.
27741 * io/statvfs.c: Likewise.
27742 * io/statvfs64.c: Likewise.
27743 * io/symlink.c: Likewise.
27744 * io/symlinkat.c: Likewise.
27745 * io/ttyname.c: Likewise.
27746 * io/ttyname_r.c: Likewise.
27747 * io/umask.c: Likewise.
27748 * io/unlink.c: Likewise.
27749 * io/unlinkat.c: Likewise.
27750 * io/utime.c: Likewise.
27751 * io/utimensat.c: Likewise.
27752 * io/write.c: Likewise.
27753 * io/xmknod.c: Likewise.
27754 * io/xmknodat.c: Likewise.
27755 * io/xstat.c: Likewise.
27756 * io/xstat64.c: Likewise.
27757 * login/getpt.c: Likewise.
27758 * login/grantpt.c: Likewise.
27759 * login/unlockpt.c: Likewise.
27760 * math/e_acoshl.c: Likewise.
27761 * math/e_acosl.c: Likewise.
27762 * math/e_asinl.c: Likewise.
27763 * math/e_atan2l.c: Likewise.
27764 * math/e_atanhl.c: Likewise.
27765 * math/e_coshl.c: Likewise.
27766 * math/e_expl.c: Likewise.
27767 * math/e_fmodl.c: Likewise.
27768 * math/e_gammal_r.c: Likewise.
27769 * math/e_hypotl.c: Likewise.
27770 * math/e_j0l.c: Likewise.
27771 * math/e_j1l.c: Likewise.
27772 * math/e_jnl.c: Likewise.
27773 * math/e_lgammal_r.c: Likewise.
27774 * math/e_log10l.c: Likewise.
27775 * math/e_log2l.c: Likewise.
27776 * math/e_logl.c: Likewise.
27777 * math/e_powl.c: Likewise.
27778 * math/e_rem_pio2l.c: Likewise.
27779 * math/e_sinhl.c: Likewise.
27780 * math/e_sqrtl.c: Likewise.
27781 * math/fclrexcpt.c: Likewise.
27782 * math/fedisblxcpt.c: Likewise.
27783 * math/feenablxcpt.c: Likewise.
27784 * math/fegetenv.c: Likewise.
27785 * math/fegetexcept.c: Likewise.
27786 * math/fegetround.c: Likewise.
27787 * math/feholdexcpt.c: Likewise.
27788 * math/fesetenv.c: Likewise.
27789 * math/fesetround.c: Likewise.
27790 * math/feupdateenv.c: Likewise.
27791 * math/fgetexcptflg.c: Likewise.
27792 * math/fraiseexcpt.c: Likewise.
27793 * math/fsetexcptflg.c: Likewise.
27794 * math/ftestexcept.c: Likewise.
27795 * math/k_cosl.c: Likewise.
27796 * math/k_rem_pio2l.c: Likewise.
27797 * math/k_sinl.c: Likewise.
27798 * math/k_tanl.c: Likewise.
27799 * math/s_asinhl.c: Likewise.
27800 * math/s_atanl.c: Likewise.
27801 * math/s_cbrtl.c: Likewise.
27802 * math/s_erfl.c: Likewise.
27803 * math/s_expm1l.c: Likewise.
27804 * math/s_log1pl.c: Likewise.
27805 * math/s_tanhl.c: Likewise.
27806 * misc/acct.c: Likewise.
27807 * misc/brk.c: Likewise.
27808 * misc/chflags.c: Likewise.
27809 * misc/chroot.c: Likewise.
27810 * misc/fchflags.c: Likewise.
27811 * misc/fgetxattr.c: Likewise.
27812 * misc/flistxattr.c: Likewise.
27813 * misc/fremovexattr.c: Likewise.
27814 * misc/fsetxattr.c: Likewise.
27815 * misc/fsync.c: Likewise.
27816 * misc/ftruncate.c: Likewise.
27817 * misc/futimes.c: Likewise.
27818 * misc/futimesat.c: Likewise.
27819 * misc/getdomain.c: Likewise.
27820 * misc/getdtsz.c: Likewise.
27821 * misc/gethostid.c: Likewise.
27822 * misc/gethostname.c: Likewise.
27823 * misc/getloadavg.c: Likewise.
27824 * misc/getpagesize.c: Likewise.
27825 * misc/getsysstats.c: Likewise.
27826 * misc/getxattr.c: Likewise.
27827 * misc/gtty.c: Likewise.
27828 * misc/ioctl.c: Likewise.
27829 * misc/lgetxattr.c: Likewise.
27830 * misc/listxattr.c: Likewise.
27831 * misc/llistxattr.c: Likewise.
27832 * misc/lremovexattr.c: Likewise.
27833 * misc/lsetxattr.c: Likewise.
27834 * misc/lutimes.c: Likewise.
27835 * misc/madvise.c: Likewise.
27836 * misc/mincore.c: Likewise.
27837 * misc/mlock.c: Likewise.
27838 * misc/mlockall.c: Likewise.
27839 * misc/mmap.c: Likewise.
27840 * misc/mprotect.c: Likewise.
27841 * misc/msync.c: Likewise.
27842 * misc/munlock.c: Likewise.
27843 * misc/munlockall.c: Likewise.
27844 * misc/munmap.c: Likewise.
27845 * misc/preadv.c: Likewise.
27846 * misc/preadv64.c: Likewise.
27847 * misc/ptrace.c: Likewise.
27848 * misc/pwritev.c: Likewise.
27849 * misc/pwritev64.c: Likewise.
27850 * misc/readv.c: Likewise.
27851 * misc/reboot.c: Likewise.
27852 * misc/remap_file_pages.c: Likewise.
27853 * misc/removexattr.c: Likewise.
27854 * misc/revoke.c: Likewise.
27855 * misc/select.c: Likewise.
27856 * misc/setdomain.c: Likewise.
27857 * misc/setegid.c: Likewise.
27858 * misc/seteuid.c: Likewise.
27859 * misc/sethostid.c: Likewise.
27860 * misc/sethostname.c: Likewise.
27861 * misc/setregid.c: Likewise.
27862 * misc/setreuid.c: Likewise.
27863 * misc/setxattr.c: Likewise.
27864 * misc/sstk.c: Likewise.
27865 * misc/stty.c: Likewise.
27866 * misc/swapoff.c: Likewise.
27867 * misc/swapon.c: Likewise.
27868 * misc/sync.c: Likewise.
27869 * misc/syncfs.c: Likewise.
27870 * misc/syscall.c: Likewise.
27871 * misc/truncate.c: Likewise.
27872 * misc/ualarm.c: Likewise.
27873 * misc/usleep.c: Likewise.
27874 * misc/ustat.c: Likewise.
27875 * misc/utimes.c: Likewise.
27876 * misc/vhangup.c: Likewise.
27877 * misc/writev.c: Likewise.
27878 * posix/_exit.c: Likewise.
27879 * posix/alarm.c: Likewise.
27880 * posix/execve.c: Likewise.
27881 * posix/fexecve.c: Likewise.
27882 * posix/fork.c: Likewise.
27883 * posix/fpathconf.c: Likewise.
27884 * posix/getaddrinfo.c: Likewise.
27885 * posix/getegid.c: Likewise.
27886 * posix/geteuid.c: Likewise.
27887 * posix/getgid.c: Likewise.
27888 * posix/getgroups.c: Likewise.
27889 * posix/getlogin.c: Likewise.
27890 * posix/getlogin_r.c: Likewise.
27891 * posix/getpgid.c: Likewise.
27892 * posix/getpid.c: Likewise.
27893 * posix/getppid.c: Likewise.
27894 * posix/getresgid.c: Likewise.
27895 * posix/getresuid.c: Likewise.
27896 * posix/getsid.c: Likewise.
27897 * posix/getuid.c: Likewise.
27898 * posix/glob64.c: Likewise.
27899 * posix/nanosleep.c: Likewise.
27900 * posix/pathconf.c: Likewise.
27901 * posix/pause.c: Likewise.
27902 * posix/posix_madvise.c: Likewise.
27903 * posix/pread.c: Likewise.
27904 * posix/pread64.c: Likewise.
27905 * posix/pwrite.c: Likewise.
27906 * posix/pwrite64.c: Likewise.
27907 * posix/sched_getaffinity.c: Likewise.
27908 * posix/sched_getp.c: Likewise.
27909 * posix/sched_gets.c: Likewise.
27910 * posix/sched_primax.c: Likewise.
27911 * posix/sched_primin.c: Likewise.
27912 * posix/sched_rr_gi.c: Likewise.
27913 * posix/sched_setaffinity.c: Likewise.
27914 * posix/sched_setp.c: Likewise.
27915 * posix/sched_sets.c: Likewise.
27916 * posix/sched_yield.c: Likewise.
27917 * posix/setgid.c: Likewise.
27918 * posix/setlogin.c: Likewise.
27919 * posix/setpgid.c: Likewise.
27920 * posix/setresgid.c: Likewise.
27921 * posix/setresuid.c: Likewise.
27922 * posix/setsid.c: Likewise.
27923 * posix/setuid.c: Likewise.
27924 * posix/sleep.c: Likewise.
27925 * posix/spawni.c: Likewise.
27926 * posix/sysconf.c: Likewise.
27927 * posix/times.c: Likewise.
27928 * posix/wait.c: Likewise.
27929 * posix/wait3.c: Likewise.
27930 * posix/wait4.c: Likewise.
27931 * posix/waitpid.c: Likewise.
27932 * resolv/gai_sigqueue.c: Likewise.
27933 * resource/getpriority.c: Likewise.
27934 * resource/getrlimit.c: Likewise.
27935 * resource/getrusage.c: Likewise.
27936 * resource/nice.c: Likewise.
27937 * resource/setpriority.c: Likewise.
27938 * resource/setrlimit.c: Likewise.
27939 * resource/ulimit.c: Likewise.
27940 * rt/aio_cancel.c: Likewise.
27941 * rt/aio_fsync.c: Likewise.
27942 * rt/aio_read.c: Likewise.
27943 * rt/aio_sigqueue.c: Likewise.
27944 * rt/aio_suspend.c: Likewise.
27945 * rt/aio_write.c: Likewise.
27946 * rt/clock_getres.c: Likewise.
27947 * rt/clock_gettime.c: Likewise.
27948 * rt/clock_nanosleep.c: Likewise.
27949 * rt/clock_settime.c: Likewise.
27950 * rt/lio_listio.c: Likewise.
27951 * rt/mq_close.c: Likewise.
27952 * rt/mq_getattr.c: Likewise.
27953 * rt/mq_notify.c: Likewise.
27954 * rt/mq_open.c: Likewise.
27955 * rt/mq_receive.c: Likewise.
27956 * rt/mq_send.c: Likewise.
27957 * rt/mq_setattr.c: Likewise.
27958 * rt/mq_timedreceive.c: Likewise.
27959 * rt/mq_timedsend.c: Likewise.
27960 * rt/mq_unlink.c: Likewise.
27961 * rt/shm_open.c: Likewise.
27962 * rt/shm_unlink.c: Likewise.
27963 * rt/timer_create.c: Likewise.
27964 * rt/timer_delete.c: Likewise.
27965 * rt/timer_getoverr.c: Likewise.
27966 * rt/timer_gettime.c: Likewise.
27967 * rt/timer_settime.c: Likewise.
27968 * setjmp/__longjmp.c: Likewise.
27969 * setjmp/setjmp.c: Likewise.
27970 * signal/kill.c: Likewise.
27971 * signal/killpg.c: Likewise.
27972 * signal/raise.c: Likewise.
27973 * signal/sigaction.c: Likewise.
27974 * signal/sigaltstack.c: Likewise.
27975 * signal/sigblock.c: Likewise.
27976 * signal/sigignore.c: Likewise.
27977 * signal/sigintr.c: Likewise.
27978 * signal/signal.c: Likewise.
27979 * signal/sigpause.c: Likewise.
27980 * signal/sigpending.c: Likewise.
27981 * signal/sigqueue.c: Likewise.
27982 * signal/sigreturn.c: Likewise.
27983 * signal/sigset.c: Likewise.
27984 * signal/sigsetmask.c: Likewise.
27985 * signal/sigstack.c: Likewise.
27986 * signal/sigsuspend.c: Likewise.
27987 * signal/sigtimedwait.c: Likewise.
27988 * signal/sigvec.c: Likewise.
27989 * signal/sigwait.c: Likewise.
27990 * signal/sigwaitinfo.c: Likewise.
27991 * signal/sysv_signal.c: Likewise.
27992 * socket/accept.c: Likewise.
27993 * socket/accept4.c: Likewise.
27994 * socket/bind.c: Likewise.
27995 * socket/connect.c: Likewise.
27996 * socket/getpeername.c: Likewise.
27997 * socket/getsockname.c: Likewise.
27998 * socket/getsockopt.c: Likewise.
27999 * socket/isfdtype.c: Likewise.
28000 * socket/listen.c: Likewise.
28001 * socket/recv.c: Likewise.
28002 * socket/recvfrom.c: Likewise.
28003 * socket/recvmsg.c: Likewise.
28004 * socket/send.c: Likewise.
28005 * socket/sendmsg.c: Likewise.
28006 * socket/sendto.c: Likewise.
28007 * socket/setsockopt.c: Likewise.
28008 * socket/shutdown.c: Likewise.
28009 * socket/sockatmark.c: Likewise.
28010 * socket/socket.c: Likewise.
28011 * socket/socketpair.c: Likewise.
28012 * stdio-common/ctermid.c: Likewise.
28013 * stdio-common/cuserid.c: Likewise.
28014 * stdio-common/remove.c: Likewise.
28015 * stdio-common/rename.c: Likewise.
28016 * stdio-common/renameat.c: Likewise.
28017 * stdio-common/tempname.c: Likewise.
28018 * stdlib/getcontext.c: Likewise.
28019 * stdlib/makecontext.c: Likewise.
28020 * stdlib/setcontext.c: Likewise.
28021 * stdlib/swapcontext.c: Likewise.
28022 * stdlib/system.c: Likewise.
28023 * streams/fattach.c: Likewise.
28024 * streams/fdetach.c: Likewise.
28025 * streams/getmsg.c: Likewise.
28026 * streams/getpmsg.c: Likewise.
28027 * streams/putmsg.c: Likewise.
28028 * streams/putpmsg.c: Likewise.
28029 * sysdeps/unix/bsd/getpt.c: Likewise.
28030 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28031 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28032 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28035 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28036 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28037 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28038 * sysvipc/msgctl.c: Likewise.
28039 * sysvipc/msgget.c: Likewise.
28040 * sysvipc/msgrcv.c: Likewise.
28041 * sysvipc/msgsnd.c: Likewise.
28042 * sysvipc/semctl.c: Likewise.
28043 * sysvipc/semget.c: Likewise.
28044 * sysvipc/semop.c: Likewise.
28045 * sysvipc/semtimedop.c: Likewise.
28046 * sysvipc/shmat.c: Likewise.
28047 * sysvipc/shmctl.c: Likewise.
28048 * sysvipc/shmdt.c: Likewise.
28049 * sysvipc/shmget.c: Likewise.
28050 * termios/tcdrain.c: Likewise.
28051 * termios/tcflow.c: Likewise.
28052 * termios/tcflush.c: Likewise.
28053 * termios/tcgetattr.c: Likewise.
28054 * termios/tcgetpgrp.c: Likewise.
28055 * termios/tcsendbrk.c: Likewise.
28056 * termios/tcsetattr.c: Likewise.
28057 * termios/tcsetpgrp.c: Likewise.
28058 * time/adjtime.c: Likewise.
28059 * time/clock.c: Likewise.
28060 * time/getitimer.c: Likewise.
28061 * time/gettimeofday.c: Likewise.
28062 * time/setitimer.c: Likewise.
28063 * time/settimeofday.c: Likewise.
28064 * time/stime.c: Likewise.
28065 * time/time.c: Likewise.
28067 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28069 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28072 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28074 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28076 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28079 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28080 FE_TONEAREST before applying Dekker multiplication and Knuth
28081 addition. Clear inexact exceptions and check for exact zero
28082 results afterwards.
28083 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28084 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28085 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28086 * math/libm-test.inc (fma_test): Add more tests.
28087 (fma_test_towardzero): Likewise.
28088 (fma_test_downward): Likewise.
28089 (fma_test_upward): Likewise.
28090 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28092 (libc_fesetround): New macro.
28093 (libc_fesetroundf): Likewise.
28094 (libc_fesetroundl): Likewise.
28095 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28097 (libc_fesetround_387): Likewise.
28098 (libc_fesetroundf): New macro.
28099 (libc_fesetround): Likewise.
28100 (libc_fesetroundl): Likewise.
28101 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28103 (libc_fesetroundf): New macro.
28104 (libc_fesetround): Likewise.
28105 (libc_fesetroundl): Likewise.
28106 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28107 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28108 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28110 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28111 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28113 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28114 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28116 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28120 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28121 integer constant usable in #if and use that to give value to enum
28123 (FE_DIVBYZERO): Likewise.
28124 (FE_UNDERFLOW): Likewise.
28125 (FE_OVERFLOW): Likewise.
28126 (FE_INVALID): Likewise.
28127 (FE_INVALID_SNAN): Likewise.
28128 (FE_INVALID_ISI): Likewise.
28129 (FE_INVALID_IDI): Likewise.
28130 (FE_INVALID_ZDZ): Likewise.
28131 (FE_INVALID_IMZ): Likewise.
28132 (FE_INVALID_COMPARE): Likewise.
28133 (FE_INVALID_SOFTWARE): Likewise.
28134 (FE_INVALID_SQRT): Likewise.
28135 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28136 (FE_TONEAREST): Likewise.
28137 (FE_TOWARDZERO): Likewise.
28138 (FE_UPWARD): Likewise.
28139 (FE_DOWNWARD): Likewise.
28140 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28141 (FE_DIVBYZERO): Likewise.
28142 (FE_OVERFLOW): Likewise.
28143 (FE_UNDERFLOW): Likewise.
28144 (FE_INEXACT): Likewise.
28145 (FE_TONEAREST): Likewise.
28146 (FE_DOWNWARD): Likewise.
28147 (FE_UPWARD): Likewise.
28148 (FE_TOWARDZERO): Likewise.
28149 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28150 (FE_UNDERFLOW): Likewise.
28151 (FE_OVERFLOW): Likewise.
28152 (FE_DIVBYZERO): Likewise.
28153 (FE_INVALID): Likewise.
28154 (FE_TONEAREST): Likewise.
28155 (FE_TOWARDZERO): Likewise.
28156 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28157 (FE_OVERFLOW): Likewise.
28158 (FE_UNDERFLOW): Likewise.
28159 (FE_DIVBYZERO): Likewise.
28160 (FE_INEXACT): Likewise.
28161 (FE_TONEAREST): Likewise.
28162 (FE_TOWARDZERO): Likewise.
28163 (FE_UPWARD): Likewise.
28164 (FE_DOWNWARD): Likewise.
28165 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28166 (FE_DIVBYZERO): Likewise.
28167 (FE_OVERFLOW): Likewise.
28168 (FE_UNDERFLOW): Likewise.
28169 (FE_INEXACT): Likewise.
28170 (FE_TONEAREST): Likewise.
28171 (FE_DOWNWARD): Likewise.
28172 (FE_UPWARD): Likewise.
28173 (FE_TOWARDZERO): Likewise.
28175 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28177 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28179 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28181 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28182 commands. Quote $PWD.
28183 (blacklist_exports): Don't use remove_newlines. Replace "declare
28185 (remove_newlines): Remove.
28187 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28189 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28190 * stdlib/stdlib.h (atof): Moved to ...
28191 * include/bits/stdlib-float.h: Here. New file.
28192 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28193 * stdlib/bits/stdlib-float.h: New file.
28194 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28196 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28199 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28201 * conform/conformtest.pl (@headers): Add fenv.h.
28202 * conform/data/fenv.h-data: New file.
28203 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28204 include of <math/fenv.h>.
28206 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28207 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28208 && !UNIX98]. Enables tests for XOPEN2K8.
28209 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28210 POSIX2008]: Likewise.
28212 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28213 (struct rusage): Do not expect type or its members.
28216 * math/math.h (FP_NAN): Define macro to integer constant usable in
28217 #if and use that to give value to enum constant.
28218 (FP_INFINITE): Likewise.
28219 (FP_ZERO): Likewise.
28220 (FP_SUBNORMAL): Likewise.
28221 (FP_NORMAL): Likewise.
28223 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28225 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28226 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28229 2012-11-02 Roland McGrath <roland@hack.frob.com>
28231 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28232 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28233 autoconf-time if not.
28234 * configure.in: Remove AC_PREREQ.
28236 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28238 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28239 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28240 of the internal implementation.
28242 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28244 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28245 except include of <misc/sys/syslog.h>.
28247 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28250 function returns with a NULL context exit with zero.
28252 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28254 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28256 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28258 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28259 (run_program_cmd): This.
28260 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28261 (tst_langinfo): New variable. Use it.
28263 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28265 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28266 floating point opcodes.
28268 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28270 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28273 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28275 * sysdeps/mach/hurd/powerpc: Remove directory.
28276 * sysdeps/mach/powerpc: Likewise.
28278 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28280 * scripts/check-local-headers.sh: Ignore c++ headers.
28282 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28284 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28285 __libc_cleanup_region_start argument.
28287 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28291 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28292 x * y using scaling, not as x * y + z.
28293 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28294 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28295 * math/libm-test.inc (fma_test): Add more tests.
28296 (fma_test_towardzero): Likewise.
28297 (fma_test_downward): Likewise.
28298 (fma_test_upward): Likewise.
28300 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28302 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28304 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28306 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28309 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28311 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28313 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28320 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28323 Fix the order of the list for glibc 2.17.
28324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28327 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28331 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28334 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28335 for low part of x being zero before using __atanl (y).
28336 * math/libm-test.inc (atan2_test): Add another test.
28338 * manual/install.texi (Configuring and compiling): Document
28339 general use of test-wrapper and test-wrapper-env.
28340 * INSTALL: Regenerated.
28342 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28343 (__fma): Do not extract and scale down low bits on after-rounding
28344 systems when result rounded to normal precision would have normal
28346 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28347 (__fmal): Do not extract and scale down low bits on after-rounding
28348 systems when result rounded to normal precision would have normal
28350 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28351 (__fmal): Do not extract and scale down low bits on after-rounding
28352 systems when result rounded to normal precision would have normal
28354 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28356 (fma_test): Add more tests.
28357 (fma_test_towardzero): Likewise.
28358 (fma_test_downward): Likewise.
28359 (fma_test_upward): Likewise.
28361 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28363 * sysdeps/i386/tininess.h: Renamed to ...
28364 * sysdeps/x86/tininess.h: This.
28365 * sysdeps/x86_64/tininess.h: Removed.
28367 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28369 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28370 input. Use $(build-program-cmd).
28371 ($(objpfx)tst-array1-static.out): Likewise.
28372 ($(objpfx)tst-array2.out): Likewise.
28373 ($(objpfx)tst-array3.out): Likewise.
28374 ($(objpfx)tst-array4.out): Likewise.
28375 ($(objpfx)tst-array5.out): Likewise.
28376 ($(objpfx)tst-array5-static.out): Likewise.
28378 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28380 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28383 * nss/nsswitch.h (nss_interface_function): Provide new
28384 macro for use with NSS functions.
28385 * grp/initgroups.c: Use new macro.
28386 * nss/getXXbyYY.c: Likewise.
28387 * nss/getXXbyYY_r.c: Likewise.
28388 * nss/getXXent.c: Likewise.
28389 * nss/getXXent_r.c: Likewise.
28390 * sysdeps/posix/getaddrinfo.c: Likewise.
28392 2012-10-30 Andreas Jaeger <aj@suse.de>
28394 * po/ru.po: Update Russion translation from translation project.
28396 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28401 result and shift together with sticky bit instead of replicating
28402 round-to-nearest rounding.
28403 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28404 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28405 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28406 missing underflow exceptions.
28407 (fma_test_towardzero): Add more tests.
28408 (fma_test_downward): Likewise.
28409 (fma_test_upward): Likewise.
28412 * sysdeps/generic/tininess.h: New file.
28413 * sysdeps/i386/tininess.h: Likewise.
28414 * sysdeps/sh/tininess.h: Likewise.
28415 * sysdeps/x86_64/tininess.h: Likewise.
28416 * stdlib/tst-strtod-underflow.c: Likewise.
28417 * stdlib/tst-tininess.c: Likewise.
28418 * stdlib/strtod_l.c: Include <tininess.h>.
28419 (round_and_return): Do not set errno for exact underflow cases.
28420 Force an underflow exception when setting errno for underflow.
28421 Determine underflow based on rounding to normal precision if
28422 TININESS_AFTER_ROUNDING.
28423 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28424 ERANGE for exact underflow cases.
28425 * stdlib/Makefile (tests): Add tst-tininess and
28426 tst-strtod-underflow.
28427 ($(objpfx)tst-tininess): Use $(link-libm).
28428 ($(objpfx)tst-strtod-underflow): Likewise.
28430 2012-10-30 Andreas Jaeger <aj@suse.de>
28433 * elf/Makefile (tests): Remove conditional for have-initfini-array
28434 since this is now always required and the variable does not exist
28436 (tests-static): Likewise.
28437 (modules-names): Likewise.
28439 * po/eo.po: Add Esperanto translation from translation project.
28441 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28442 merged with constructor/destructor.
28443 (init_array): Likewise.
28444 * elf/tst-array2dep.c (fini_array): Likewise.
28445 (init_array): Likewise.
28447 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28449 * manual/message.texi: Delete @cartouche tags.
28451 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28453 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28455 * sysdeps/mach/hurd/fsync.c: Likewise.
28457 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28458 [_POSIX_REALTIME_SIGNALS]: Change condition to
28459 [_POSIX_REALTIME_SIGNALS > 0].
28461 2012-10-27 Andreas Jaeger <aj@suse.de>
28463 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28464 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28465 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28466 [__WORDSIZE != 64]: Likewise.
28468 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28470 * iconvdata/tst-table.sh: Remove ${SHELL}.
28471 * iconvdata/tst-tables.sh: Likewise.
28473 2012-10-25 David S. Miller <davem@davemloft.net>
28475 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28476 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28479 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28481 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28482 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28483 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28486 2012-10-25 Roland McGrath <roland@hack.frob.com>
28488 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28489 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28492 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28493 Jim Blandy <jimb@codesourcery.com>
28495 * scripts/cross-test-ssh.sh: New file.
28496 * manual/install.texi (Configuring and compiling): Document use of
28498 * INSTALL: Regenerated.
28500 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28502 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28505 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28507 * Makeconfig (run-program-prefix): Fix comment.
28509 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28510 Jim Blandy <jimb@codesourcery.com>
28512 * Makeconfig (test-wrapper): New variable,
28513 (test-wrapper-env): Likewise.
28514 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28515 (run-built-tests): Define to yes.
28516 (run-program-prefix): Use $(test-wrapper).
28517 (built-program-cmd): Likewise.
28518 * Rules (make-test-out): Use $(test-wrapper-env) and
28519 $(host-built-program-cmd).
28520 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28521 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28523 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28524 $(test-wrapper-env) to tst-rtld-load-self.sh.
28525 ($(objpfx)order2.out): Use $(test-wrapper).
28526 ($(objpfx)tst-initorder.out): Likewise.
28527 ($(objpfx)tst-initorder2.out): Likewise.
28528 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28529 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28530 (test_wrapper_env): New variable. Use it to run ld.so.
28531 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28532 Use it to run ld.so.
28533 (test_wrapper_env): Likewise.
28534 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28535 $(test-wrapper) to run-iconv-test.sh.
28536 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28537 (ICONV): Use $test_wrapper.
28538 * posix/Makefile ($(objpfx)globtest.out): Pass
28539 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28540 globtest.sh, not $(run-program-prefix).
28541 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28542 (test_wrapper): Likewise.
28543 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28544 set together with run_via_rtld_prefix.
28545 (run_program_prefix): Define in terms of test_wrapper and
28546 run_via_rtld_prefix.
28548 2012-10-24 Roland McGrath <roland@hack.frob.com>
28550 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28551 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28555 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28556 Declare __clock_getres, __clock_gettime, __clock_settime,
28557 __clock_nanosleep, and __clock_getcpuclockid.
28558 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28559 Remove librt_hidden_def (clock_gettime).
28560 * sysdeps/unix/clock_gettime.c: Likewise.
28561 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28562 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28563 * rt/clock_getres.c: Define __clock_getres as an alias.
28564 * sysdeps/posix/clock_getres.c: Likewise.
28565 * rt/clock_settime.c: Define __clock_settime as an alias.
28566 * sysdeps/unix/clock_settime.c: Likewise.
28567 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28568 * sysdeps/unix/clock_nanosleep.c: Likewise.
28569 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28570 * rt/clock-compat.c: New file.
28571 * rt/Makefile (librt-routines): Add clock-compat and move
28572 $(clock-routines) to ...
28573 (routines): ... here, new variable.
28574 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28575 Don't add get_clockfreq here.
28576 * rt/Versions (libc: GLIBC_2.17): New version set.
28577 Add clock_* symbols here.
28578 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28579 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28580 (GLIBC_2.17): Add clock_* symbols.
28581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28583 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28592 * NEWS: Mention the move.
28594 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28595 Use __open, __read, __close rather than their public counterparts.
28596 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28597 (__get_clockfreq_via_cpuinfo): Likewise.
28598 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28599 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28601 * config.h.in (HAVE_IFUNC): New #undef.
28602 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28604 * configure: Regenerated.
28606 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28608 * configure.in: Move READELF check to start of file.
28609 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28610 libc_cv_asm_gnu_indirect_function in the process.
28611 * configure: Regenerated.
28613 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28615 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28616 send the output to /dev/null.
28617 (libc_cv_cc_with_libunwind): Likewise.
28618 (libc_cv_as_noexecstack): Likewise.
28619 * configure: Regenerate.
28621 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28623 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28625 * posix/globtest.sh (TMPDIR): Do not set.
28626 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28627 (testout): Likewise.
28629 2012-10-24 Andreas Jaeger <aj@suse.de>
28631 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28632 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28633 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28634 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28635 posix_fadvise64, posix_fallocate64.
28637 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28638 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28639 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28641 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28643 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28645 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28646 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28647 <bits/fcntl-linux.h>.
28648 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28650 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28651 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28652 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28653 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28654 [__WORDSIZE != 64]: Likewise.
28656 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28658 * Makeconfig (run-built-tests): New variable.
28659 * Rules [$(cross-compiling) = yes]: Change condition to
28660 [$(run-built-tests) = no].
28661 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28662 to [$(run-built-tests) = yes].
28663 * elf/Makefile [$(cross-compiling) = no]: Likewise
28664 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28665 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28666 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28667 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28668 * io/Makefile [$(cross-compiling) = no]: Likewise.
28669 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28670 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28671 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28672 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28673 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28674 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28675 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28676 * string/Makefile [$(cross-compiling) = no]: Likewise.
28678 * posix/Makefile ($(objpfx)globtest.out): Pass
28679 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28680 $(rtld-installed-name).
28681 * posix/globtest.sh (elf_objpfx): Remove variable.
28682 (rtld_installed_name): Likewise.
28683 (library_path): Likewise.
28684 (run_program_prefix): New variable. Use for running globtest
28687 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28688 Joseph Myers <joseph@codesourcery.com>
28690 * Makeconfig (host-built-program-cmd): New variable.
28691 * elf/Makefile (tst-stackguard1-ARGS): Use
28692 $(host-built-program-cmd).
28693 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28694 (tst-spawn-ARGS): Likewise.
28695 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28697 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28698 Jim Blandy <jimb@codesourcery.com>
28700 * Makeconfig (run-via-rtld-prefix): New variable.
28701 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28702 (built-program-cmd): Likewise.
28704 2012-10-22 Andreas Jaeger <aj@suse.de>
28706 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28707 __O_RSYNC if it exists, otherwise to O_SYNC.
28709 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28710 Joseph Myers <joseph@codesourcery.com>
28712 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28714 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28716 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28719 2012-10-22 Andreas Jaeger <aj@suse.de>
28721 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28723 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28725 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28726 bits/fcntl-linux.h.
28728 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28729 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28731 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28733 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28736 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28737 Joseph Myers <joseph@codesourcery.com>
28739 * config.make.in (NM): New variable.
28741 2012-10-21 Andreas Jaeger <aj@suse.de>
28743 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28744 definitions and declarations that are provided by
28745 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28747 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28750 * elf/Makefile (tests-static): Add tst-leaks1-static.
28751 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28752 ($(objpfx)tst-leaks1-static): New rule.
28753 ($(objpfx)tst-leaks1-static-mem): Likewise.
28754 (tst-leaks1-static-ENV): New macro.
28755 * elf/dl-open.c (dl_open_worker): Check the main application
28756 only if SHARED is defined.
28757 * elf/tst-leaks1-static.c: New file.
28759 2012-10-20 Andreas Jaeger <aj@suse.de>
28761 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28762 generic values for Linux.
28763 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28764 and declarations that are provided by <bits/fcntl-linux.h> and
28765 include <bits/fcntl-linux.h>.
28766 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28767 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28769 2012-10-20 Roland McGrath <roland@hack.frob.com>
28771 * io/fcntl.h: Move include of <bits/types.h> to the top and
28772 include it unconditionally.
28774 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28776 * wcsmbs/Makefile (tests-ifunc): New variable.
28777 (tests): Add $(tests-ifunc).
28778 * wcsmbs/test-wcschr-ifunc.c: New file.
28779 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28780 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28781 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28782 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28783 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28785 * string/Makefile (tests-ifunc): New variable.
28786 (tests): Add $(tests-ifunc).
28787 * string/test-memccpy.c (TEST_NAME): New macro.
28788 * string/test-memchr.c (TEST_NAME): Likewise.
28789 * string/test-memcmp.c (TEST_NAME): Likewise.
28790 * string/test-memcpy.c (TEST_NAME): Likewise.
28791 * string/test-memmem.c (TEST_NAME): Likewise.
28792 * string/test-memmove.c (TEST_NAME): Likewise.
28793 * string/test-memset.c (TEST_NAME): Likewise.
28794 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28795 * string/test-stpcpy.c (TEST_NAME): Likewise.
28796 * string/test-stpncpy.c (TEST_NAME): Likewise.
28797 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28798 * string/test-strcasestr.c (TEST_NAME): Likewise.
28799 * string/test-strcat.c (TEST_NAME): Likewise.
28800 * string/test-strchr.c (TEST_NAME): Likewise.
28801 * string/test-strcmp.c(TEST_NAME): Likewise.
28802 * string/test-strcpy.c (TEST_NAME): Likewise.
28803 * string/test-strcspn.c (TEST_NAME): Likewise.
28804 * string/test-strlen.c (TEST_NAME): Likewise.
28805 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28806 * string/test-strncmp.c (TEST_NAME): Likewise.
28807 * string/test-strncpy.c (TEST_NAME): Likewise.
28808 * string/test-strnlen.c (TEST_NAME): Likewise.
28809 * string/test-strpbrk.c (TEST_NAME): Likewise.
28810 * string/test-strrchr.c (TEST_NAME): Likewise.
28811 * string/test-strspn.c (TEST_NAME): Likewise.
28812 * string/test-strstr.c (TEST_NAME): Likewise.
28813 * string/test-bcopy-ifunc.c: New file.
28814 * string/test-bzero-ifunc.c: Likewise.
28815 * string/test-memccpy-ifunc.c: Likewise.
28816 * string/test-memchr-ifunc.c: Likewise.
28817 * string/test-memcmp-ifunc.c: Likewise.
28818 * string/test-memcpy-ifunc.c: Likewise.
28819 * string/test-memmem-ifunc.c: Likewise.
28820 * string/test-memmove-ifunc.c: Likewise.
28821 * string/test-mempcpy-ifunc.c: Likewise.
28822 * string/test-memset-ifunc.c: Likewise.
28823 * string/test-rawmemchr-ifunc.c: Likewise.
28824 * string/test-stpcpy-ifunc.c: Likewise.
28825 * string/test-stpncpy-ifunc.c: Likewise.
28826 * string/test-strcasecmp-ifunc.c: Likewise.
28827 * string/test-strcasestr-ifunc.c: Likewise.
28828 * string/test-strcat-ifunc.c: Likewise.
28829 * string/test-strchr-ifunc.c: Likewise.
28830 * string/test-strchrnul-ifunc.c: Likewise.
28831 * string/test-strcmp-ifunc.c: Likewise.
28832 * string/test-strcpy-ifunc.c: Likewise.
28833 * string/test-strcspn-ifunc.c: Likewise.
28834 * string/test-strlen-ifunc.c: Likewise.
28835 * string/test-strncasecmp-ifunc.c: Likewise.
28836 * string/test-strncat-ifunc.c: Likewise.
28837 * string/test-strncmp-ifunc.c: Likewise.
28838 * string/test-strncpy-ifunc.c: Likewise.
28839 * string/test-strnlen-ifunc.c: Likewise.
28840 * string/test-strpbrk-ifunc.c: Likewise.
28841 * string/test-strrchr-ifunc.c: Likewise.
28842 * string/test-strspn-ifunc.c: Likewise.
28843 * string/test-strstr-ifunc.c: Likewise.
28845 * debug/Makefile (tests-ifunc): New variable.
28846 (tests): Add $(tests-ifunc).
28847 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28848 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28849 * debug/test-stpcpy_chk-ifunc.c: New file.
28850 * debug/test-strcpy_chk-ifunc.c: Likewise.
28852 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28855 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28856 header is not read in.
28858 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28860 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28861 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28862 directly. Pass built executable to script as
28863 $(built-program-cmd).
28864 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28865 $testprogram without using LD_LIBRARY_PATH and $ldso.
28867 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28868 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28869 $(rtld-installed-name).
28870 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28871 (rtld_installed_name): Likewise.
28872 (library_path): Likewise.
28873 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28874 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28875 $(run-program-prefix) to tst-tables.sh.
28876 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28877 it to run tst-table-from and tst-table-to.
28878 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28879 Pass it to tst-table.sh.
28880 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28881 $(run-program-prefix) to tst-gettext.sh.
28882 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28884 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28886 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28887 to run tst-gettext.
28888 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28889 to run tst-gettext2.
28890 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28891 to run tst-translit.
28892 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28893 $(run-program-prefix) to tst-mtrace.sh.
28894 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28896 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28897 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28898 $(rtld-installed-name).
28899 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28900 (rtld_installed_name): Likewise.
28901 (run_program_prefix): New variable. Use it to run wordexp-test.
28903 * Makeconfig (ARCH): Remove all definitions.
28904 (machine): Likewise.
28905 [ARCH]: Remove conditional code.
28906 [!objdir]: Give error.
28907 [!objdir] (objpfx): Remove.
28908 [!objdir] (common-objpfx): Likewise.
28909 [!objdir] (common-objdir): Likewise.
28910 * configure.in (config_makefile): Remove. Hardcode Makefile in
28911 AC_CONFIG_FILES call.
28912 * configure: Regenerated.
28915 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28917 (testout): Likewise.
28919 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28920 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28921 $(rtld-installed-name).
28922 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28923 (rtld_installed_name): Likwise.
28924 (runit): Remove function.
28925 (run_getconf): New variable, Use it for running getconf binary.
28927 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28930 * string/test-memmem.c (check_result): New function.
28931 (do_one_test): Use it.
28932 (check1): New function.
28933 (test_main): Use it.
28935 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28937 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28939 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28941 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28942 (_G_LSEEK64): Likewise.
28943 (_G_MMAP64): Likewise.
28944 (_G_FSTAT64): Likewise.
28945 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28946 (_G_LSEEK64): Likewise.
28947 (_G_MMAP64): Likewise.
28948 (_G_FSTAT64): Likewise.
28949 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28950 unconditional. Call __mmap64 directly.
28951 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28952 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28953 __lseek64 directly.
28954 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28955 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28957 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28958 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28959 __lseek64 directly.
28960 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28961 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28962 __lseek64 directly.
28963 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28964 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28965 __lseek64 directly.
28966 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28967 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28968 __fxstat64 directly.
28969 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28970 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28972 (freopen64) [!_G_OPEN64]: Remove conditional code.
28973 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28975 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28976 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28978 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28979 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28981 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28982 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28984 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28985 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28987 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28988 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28990 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28991 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28993 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28995 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28998 * manual/memory.texi (Malloc Tunable Parameters): Add note
28999 about free list pointers overwriting some perturb bytes.
29000 Wording suggested by Roland McGrath.
29002 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29004 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29005 (lgamma_test): Likewise.
29006 (tgamma_test): Likewise.
29008 2012-10-16 Florian Weimer <fweimer@redhat.com>
29011 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29012 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29014 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29016 * NEWS: Mention BZ #14716.
29017 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29018 when removing AVAILABLE1_USES_J macro.
29020 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29022 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29023 (__bswap_64): __uint64_t for unsigned 64-bit int.
29025 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29027 * include/string.h (memmem): Declare libc hidden alias.
29028 * string/memmem.c (memmem): Define libc hidden alias.
29029 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29030 __read, __close instead of open, read, close.
29032 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29034 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29035 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29037 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29038 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29039 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29041 (__rawmemchr_sse2): Likewise.
29042 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29043 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29044 (__strchr_sse2): Likewise.
29045 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29046 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29047 (__strcasecmp_sse2): Likewise.
29048 (__strncasecmp_sse2): Likewise.
29049 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29050 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29051 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29052 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29053 (__strrchr_sse2): Likewise.
29054 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29056 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29057 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29058 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29059 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29060 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29061 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29062 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29063 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29064 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29065 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29066 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29067 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29068 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29069 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29070 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29071 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29072 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29073 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29074 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29075 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29076 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29077 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29078 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29079 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29080 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29081 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29082 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29083 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29084 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29085 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29087 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29089 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29090 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29091 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29092 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29094 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29096 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29097 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29098 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29099 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29101 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29102 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29103 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29104 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29105 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29106 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29107 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29108 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29109 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29110 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29111 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29112 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29113 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29114 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29115 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29116 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29117 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29118 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29119 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29120 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29121 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29122 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29123 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29124 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29125 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29126 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29127 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29128 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29129 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29130 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29131 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29132 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29133 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29134 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29135 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29136 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29137 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29138 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29139 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29140 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29141 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29143 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29144 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29145 * include/ifunc-impl-list.h: New file.
29146 * misc/ifunc-impl-list.c: Likewise.
29147 * misc/Makefile (routines): Add ifunc-impl-list.
29148 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29149 * string/test-string.h: Include <ifunc-impl-list.h>.
29150 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29151 TEST_NAME]: New variables.
29152 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29154 (test_init): Call __libc_ifunc_impl_list to initialize
29155 func_list if TEST_IFUNC and TEST_NAME are defined.
29157 * string/Makefile (strop-tests): Add bcopy and bzero.
29158 * string/test-bcopy.c: New file.
29159 * string/test-bzero.c: Likewise.
29160 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29162 * string/test-memset.c: Support bzero test if TEST_BZERO is
29164 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29166 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29168 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29171 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29173 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29174 * configure: Regenerated.
29176 * Makeconfig (+link-static-before-libc): Don't include
29177 $(link-static-libc).
29179 * libio/libio.h (_IO_pos_t): Remove.
29181 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29183 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29186 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29188 * crypt/crypt-entry.c: Include fips-private.h.
29189 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29190 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29191 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29192 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29194 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29196 * crypt/crypt-private.h: Include stdbool.h.
29197 (_ufc_setup_salt_r): Return bool.
29198 * crypt/crypt-entry.c: Include errno.h.
29199 (__crypt_r): Return NULL with EINVAL for bad salt.
29200 * crypt/crypt_util.c (bad_for_salt): New.
29201 (_ufc_setup_salt_r): Check that salt is long enough and within
29202 the specified alphabet.
29203 * crypt/badsalttest.c: New file.
29204 * crypt/Makefile (tests): Add it.
29205 ($(objpfx)badsalttest): New.
29207 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29209 * NEWS: Add entry for BZ #14602.
29211 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29213 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29215 * math/libm-test.inc: Update comment listing what functions and
29217 (isgreater_test): New function.
29218 (isgreaterequal_test): Likewise.
29219 (isless_test): Likewise.
29220 (islessequal_test): Likewise.
29221 (islessgreater_test): Likewise.
29222 (isunordered_test): Likewise.
29223 (main): Call the new functions.
29225 2012-10-09 Roland McGrath <roland@hack.frob.com>
29227 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29228 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29229 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29230 * sysdeps/i386/configure: Regenerated.
29231 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29232 * sysdeps/mach/configure: Regenerated.
29233 * sysdeps/mach/hurd/configure: Regenerated.
29234 * sysdeps/powerpc/configure: Regenerated.
29235 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29236 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29237 * sysdeps/s390/s390-32/configure: Regenerated.
29238 * sysdeps/s390/s390-64/configure: Regenerated.
29239 * sysdeps/sh/configure: Regenerated.
29240 * sysdeps/sparc/configure: Regenerated.
29241 * sysdeps/unix/sysv/linux/configure: Regenerated.
29242 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29243 * sysdeps/x86_64/configure: Regenerated.
29245 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29246 defined. Don't check if MAP is NULL.
29248 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29250 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29251 (_G_stat64): Likewise.
29252 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29253 (_G_stat64): Likewise.
29254 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29255 instead of struct _G_stat64.
29256 * libio/fileops.c (mmap_remap_check): Likewise.
29257 (decide_maybe_mmap): Likewise.
29258 (_IO_new_file_seekoff): Likewise.
29259 (_IO_file_stat): Likewise.
29260 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29262 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29263 instead of struct _G_stat64.
29264 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29266 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29269 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29271 (CHECK_EOL): New macro.
29272 (two_way_short_needle): Check beginning of haystack for EOL. Use
29274 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29275 Replace with CHECK_EOL.
29276 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29277 Replace with CHECK_EOL.
29279 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29281 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29283 * math/libm-test.inc: Update comment listing what functions and
29285 (finite_test): New function.
29286 (isinf_test): Likewise.
29287 (isnan_test): Likewise.
29288 (fpclassify_test): Test subnormal input.
29289 (isfinite_test): Likewise.
29290 (isnormal_test): Likewise.
29291 (main): Call the new functions.
29293 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29296 * Makerules (%.dynsym): Force C locale when running
29297 $(OBJDUMP) --dynamic-syms.
29299 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29301 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29304 2012-10-06 David S. Miller <davem@davemloft.net>
29306 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29307 upper 32-bits of the length value in %o2 since we use branch-on-register
29308 tests which consider the entire 64-bit register.
29310 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29312 * string/test-strstr.c (check2): Add a test for page boundary.
29314 2012-10-05 David S. Miller <davem@davemloft.net>
29316 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29317 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29319 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29321 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29322 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29323 and bzero when HWCAP_SPARC_CRYPTO is present.
29325 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29328 * string/test-strstr.c (check2): New function.
29329 (test_main): Call check2.
29331 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29333 * string/bug-strcasestr1.c (do_test): Moved to ...
29334 * string/test-strcasestr.c (check1): Here. New function.
29335 (do_one_test): Break out result checking code into ...
29336 (check_result): This. New function.
29337 (do_one_test): Call check_result.
29338 (test_main): Call check1.
29339 * string/bug-strchr1.c (do_test): Moved to ...
29340 * string/test-strchr.c (check1): Here. New function.
29341 (do_one_test): Break out result checking code into ...
29342 (check_result): This. New function.
29343 (do_one_test): Call check_result.
29344 (test_main): Call check1.
29345 * string/bug-strstr1.c (main): Moved to ...
29346 * string/test-strstr.c (check1): Here. New function.
29347 (do_one_test): Break out result checking code into ...
29348 (check_result): This. New function.
29349 (do_one_test): Call check_result.
29350 (test_main): Call check1.
29351 * string/bug-strcasestr1.c: Removed.
29352 * string/bug-strchr1.c: Likewise.
29353 * string/bug-strstr1.c: Likewise.
29355 * elf/Makefile (dl-routines): Add hwcaps.
29356 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29357 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29358 (_dl_important_hwcaps): Moved to ...
29359 * elf/dl-hwcaps.c: Here. New file.
29360 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29363 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29364 if IS_IN_rtld isn't defined.
29366 * elf/dl-support.c (_dl_sysinfo_map): New.
29367 Include "get-dynamic-info.h" and "setup-vdso.h".
29368 (_dl_non_dynamic_init): Call setup_vdso.
29369 * elf/dynamic-link.h: Don't include <assert.h>.
29370 (elf_get_dynamic_info): Moved to ...
29371 * elf/get-dynamic-info.h: Here. New file.
29372 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29373 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29374 * elf/setup-vdso.h: Here. New file.
29375 * elf/rtld.c: Include "setup-vdso.h".
29376 (dl_main): Call setup_vdso.
29378 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29380 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29381 creal in comment listing functions tested. List finite, isinf,
29382 isnan, isless, islessequal, isgreater, isgreaterequal,
29383 islessgreater, isunordered, lgamma_r and pow10 as functions and
29384 macros not tested. Mention which functions not tested are aliases
29385 for other functions. Fix typo. Note that signs of NaNs are not
29388 * scripts/config.guess: Update from config.git.
29389 * scripts/config.sub: Likewise.
29391 2012-10-04 Roland McGrath <roland@hack.frob.com>
29393 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29394 * misc/madvise.c (madvise): Renamed to __madvise.
29395 Make madvise a weak alias.
29396 * include/sys/mman.h: Declare __madvise.
29397 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29398 * sysdeps/unix/syscalls.list
29399 (madvise): Make __madvise the strong name, and madvise a weak alias.
29400 * sysdeps/unix/sysv/linux/syscalls.list
29401 (madvise, mmap): Remove redundant entries.
29402 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29403 * malloc/malloc.c (mtrim): Likewise.
29404 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29406 2012-10-03 Roland McGrath <roland@hack.frob.com>
29408 * sysdeps/mach/hurd/dl-cache.c: File removed.
29409 * config.h.in (USE_LDCONFIG): New #undef.
29410 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29411 * configure: Regenerated.
29412 * elf/Makefile (dl-routines): Add dl-cache only under
29413 [$(use-ldconfig) = yes].
29414 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29415 cache on [USE_LDCONFIG].
29416 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29418 * elf/rtld.c (dl_main): Likewise.
29420 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29422 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29423 _SC_LEVEL4_CACHE_LINESIZE.
29425 2012-10-03 Roland McGrath <roland@hack.frob.com>
29427 * sysdeps/unix/bsd/confstr.h: File removed.
29429 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29431 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29434 2012-10-02 Roland McGrath <roland@hack.frob.com>
29436 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29437 Make 'mapoff' field ElfW(Off) rather than off_t.
29439 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29441 * nscd/Makefile: Remove nscd-cflags and all its users.
29442 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29443 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29446 * malloc.c (malloc_printerr): Clarify error message.
29448 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29451 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29452 Set bit_FMA_Usable if FMA is supported.
29453 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29455 (bit_FMA4_Usable): Updated.
29456 (index_FMA_Usable): New macro.
29457 (CPUID_FMA): Likewise
29458 (HAS_FMA): Defined with bit_FMA_Usable.
29460 2012-10-01 Roland McGrath <roland@hack.frob.com>
29462 * bits/types.h (__swblk_t): Type removed.
29463 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29464 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29465 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29466 (__SWBLK_T_TYPE): Likewise.
29467 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29468 (__SWBLK_T_TYPE): Likewise.
29469 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29470 (__SWBLK_T_TYPE): Likewise.
29471 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29472 (__SWBLK_T_TYPE): Likewise.
29474 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29475 Honza Horak <hhorak@redhat.com>
29477 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29478 (xdr_mapname): Use YPMAXMAP as maxsize.
29479 (xdr_peername): Use YPMAXPEER as maxsize.
29480 (xdr_keydat): Use YPAXRECORD as maxsize.
29481 (xdr_valdat): Use YPMAXRECORD as maxsize.
29483 2012-10-01 Roland McGrath <roland@hack.frob.com>
29485 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29487 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29488 * csu/init-first.c: ... here.
29489 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29490 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29491 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29492 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29493 * sysdeps/i386/init-first.c: File removed.
29494 * sysdeps/sh/init-first.c: File removed.
29496 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29499 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29500 if x * y might underflow to zero and z is zero.
29501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29502 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29503 * math/libm-test.inc (min_subnorm_value): New variable.
29504 (fma_test): Add more tests.
29505 (fma_test_towardzero): Likewise.
29506 (fma_test_downward): Likewise
29507 (fma_test_upward): Likewise.
29508 (initialize): Set min_subnorm_value.
29510 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29513 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29515 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29516 mode for addition resulting in exact zero.
29517 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29518 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29520 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29521 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29522 * math/libm-test.inc (fma_test): Add more tests.
29523 (fma_test_towardzero): New function.
29524 (fma_test_downward): Likewise.
29525 (fma_test_upward): Likewise.
29526 (main): Call the new functions.
29528 2012-09-28 David S. Miller <davem@davemloft.net>
29530 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29532 2012-09-28 Roland McGrath <roland@hack.frob.com>
29534 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29535 instead of SIGALRM.
29537 * sysdeps/gnu/_G_config.h: Moved to ...
29538 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29539 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29540 * sysdeps/generic/_G_config.h: ... here.
29542 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29544 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29546 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29547 Conditionalize target on [libnss_test1.so-version].
29549 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29551 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29552 (elfobjdir): Move out of conditionals.
29554 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29555 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29556 (__nss_lookup_function): Conditionalize label remove_from_tree on
29557 [!DO_STATIC_NSS || SHARED], matching its only use.
29559 2012-09-28 David S. Miller <davem@davemloft.net>
29561 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29562 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29564 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29566 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29567 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29568 when HWCAP_SPARC_CRYPTO is present.
29570 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29572 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29574 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29577 * stdio-common/vfprintf.c (process_string_arg): Revert
29580 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29582 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29584 * stdio-common/tst-sprintf.c: Include <locale.h>
29585 (main): Test sprintf's handling of incomplete multibyte
29588 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29590 * elf/dl-runtime.c (VERSYMIDX): Removed.
29591 * elf/dl-version.c (VERSYMIDX): Likewise.
29592 * elf/do-rel.h (VERSYMIDX): Likewise.
29593 (VALIDX): Likewise.
29594 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29595 * elf/rtld.c (VALIDX): Likewise.
29596 (ADDRIDX): Likewise.
29597 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29598 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29599 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29600 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29601 (VALIDX): Likewise.
29602 (ADDRIDX): Likewise.
29604 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29606 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29608 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29611 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29613 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29614 addresses are in the same scope as 192.0.2/24.
29615 * posix/gai.conf: Document new scope table defaults.
29617 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29620 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29621 for ftell. Compute offsets from write pointers instead.
29622 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29624 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29627 * libio/Makefile (tests): New test case tst-fseek.
29628 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29629 combination works in wide mode.
29630 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29631 state when the external buffer state changes.
29633 2012-09-27 David S. Miller <davem@davemloft.net>
29636 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29637 pass reloc->r_addend in as the 'high' argument to
29638 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29642 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29644 * rt/tst-aio2.c: Include <pthread.h>.
29645 * rt/tst-aio3.c: Likewise.
29647 2012-09-27 Steve Ellcey <sellcey@mips.com>
29649 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29651 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29653 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29654 contents on [SHARED].
29656 2012-09-26 Marek Polacek <polacek@redhat.com>
29660 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29661 for C++ and GCC <4.3 as well as for non GCC compilers.
29663 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29667 2012-09-25 Roland McGrath <roland@hack.frob.com>
29669 * Makefile.in (all, install): Declare with .PHONY.
29670 Reported by Michael Hope <michael.hope@linaro.org>.
29672 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29674 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29675 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29677 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29679 (sydep_routines): Add the new and the internal functions.
29680 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29681 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29683 (GLIBC_2.17): Add the new function.
29684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29685 (GLIBC_2.17): Likewise.
29686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29687 (GLIBC_2.17): Likewise.
29688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29689 (GLIBC_2.17): Likewise.
29690 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29692 2012-09-25 Alan Modra <amodra@gmail.com>
29694 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29695 Add release barrier before setting once_control to say
29696 initialisation is done. Add hints on lwarx. Use macro in
29698 (clear_once_control): Add release barrier.
29700 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29703 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29705 * math/s_clog10.c (__clog10): Likewise.
29706 * math/s_clog10f.c (__clog10f): Likewise.
29707 * math/s_clog10l.c (__clog10l): Likewise.
29708 * math/s_clogf.c (__clogf): Likewise.
29709 * math/s_clogl.c (__clogl): Likewise.
29710 * math/Makefile (libm-calls): Add x2y2m1.
29711 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29712 (__x2y2m1): Likewise.
29713 (__x2y2m1l): Likewise.
29714 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29715 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29716 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29717 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29718 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29719 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29720 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29721 * sysdeps/i386/fpu/libm-test-ulps: Update.
29722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29725 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29726 int as type of variable DEPTH.
29727 (glob): Use size_t instead of int as type of variables NEWCOUNT
29730 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29732 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29733 Add s_sincosf-sse2.
29734 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29735 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29736 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29737 macros for using routine as __sincosf_ia32.
29738 Use macro for function declaration and weak_alias.
29739 * sysdeps/i386/fpu/libm-test-ulps: Update.
29741 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29744 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29745 subnormal argument.
29746 * math/s_cexpf.c (__cexpf): Likewise.
29747 * math/s_csinf.c (__csinf): Likewise.
29748 * math/s_csinhf.c (__csinhf): Likewise.
29749 * math/s_ctanf.c (__ctanf): Likewise.
29750 * math/s_ctanhf.c (__ctanhf): Likewise.
29751 * math/s_ccosh.c (__ccoshf): Likewise.
29752 * math/s_cexp.c (__cexpl): Likewise.
29753 * math/s_csin.c (__csin): Likewise.
29754 * math/s_csinh.c (__csinh): Likewise.
29755 * math/s_ctan.c (__ctan): Likewise.
29756 * math/s_ctanh.c (ctanh): Likewise.
29757 * math/s_ccoshl.c (__ccoshl): Likewise.
29758 * math/s_cexpl.c (__cexpl): Likewise.
29759 * math/s_csinl.c (__csinl): Likewise.
29760 * math/s_csinhl.c (__csinhl): Likewise.
29761 * math/s_ctanl.c (__ctanl): Likewise.
29762 * math/s_ctanhl.c (__ctanhl): Likewise.
29764 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29766 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29767 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29768 (_IO_off_t): Define to __off_t, not _G_off_t.
29769 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29770 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29771 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29772 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29773 type of __dummy and __dummy2 fields.
29774 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29775 (_G_ssize_t): Likewise.
29776 (_G_off_t): Likewise.
29777 (_G_pid_t): Likewise.
29778 (_G_uid_t): Likewise.
29779 (_G_wchar_t): Likewise.
29780 (_G_wint_t): Likewise.
29781 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29782 (_G_ssize_t): Likewise.
29783 (_G_off_t): Likewise.
29784 (_G_pid_t): Likewise.
29785 (_G_uid_t): Likewise.
29786 (_G_wchar_t): Likewise.
29787 (_G_wint_t): Likewise.
29788 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29789 (_G_ssize_t): Likewise.
29790 (_G_off_t): Likewise.
29791 (_G_pid_t): Likewise.
29792 (_G_uid_t): Likewise.
29793 (_G_wchar_t): Likewise.
29794 (_G_wint_t): Likewise.
29796 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29798 * malloc/arena.c: Include malloc-sysdep.h.
29799 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29800 is sufficient to shrink the heap or an unmap is needed.
29801 * sysdeps/generic/malloc-sysdep.h: New file. Define
29802 new function check_may_shrink_heap.
29803 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29804 new function check_may_shrink_heap.
29806 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29808 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29811 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29813 * catgets/test-gencat.sh: Add "set -e".
29814 * elf/tst-pathopt.sh: Likewise.
29815 * grp/tst_fgetgrent.sh: Likewise.
29816 * iconvdata/run-iconv-test.sh: Likewise.
29817 * intl/tst-gettext.sh: Likewise.
29818 * intl/tst-gettext2.sh: Likewise.
29819 * intl/tst-gettext4.sh: Likewise.
29820 * intl/tst-gettext6.sh: Likewise.
29821 * intl/tst-translit.sh: Likewise.
29822 * io/ftwtest-sh: Likewise.
29823 * libio/test-freopen.sh: Likewise.
29824 * malloc/tst-mtrace.sh: Likewise.
29825 * posix/globtest.sh: Likewise.
29826 * posix/tst-getconf.sh: Likewise.
29827 * posix/wordexp-tst.sh: Likewise.
29828 * stdio-common/tst-printf.sh: Likewise.
29829 * stdio-common/tst-unbputc.sh: Likewise.
29830 * stdlib/tst-fmtmsg.sh: Likewise.
29831 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29832 * catgets/Makefile: Do not specify -e option when running
29833 testsuite shell scripts.
29834 * elf/Makefile: Likewise.
29835 * grp/Makefile: Likewise.
29836 * iconvdata/Makefile: Likewise.
29837 * intl/Makefile: Likewise.
29838 * io/Makefile: Likewise.
29839 * libio/Makefile: Likewise.
29840 * malloc/Makefile: Likewise.
29841 * posix/Makefile: Likewise.
29842 * stdio-common/Makefile: Likewise.
29843 * stdlib/Makefile: Likewise.
29844 * sysdeps/x86_64/Makefile: Likewise.
29846 * io/ftwtest-sh: Add copyright header.
29847 * posix/globtest.sh: Likewise.
29848 * posix/tst-getconf.sh: Likewise.
29849 * posix/wordexp-tst.sh: Likewise.
29850 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29852 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29855 * Makeconfig (+link): Defined as $(+link-static) if
29856 $(build-shared) isn't yes.
29857 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29859 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29861 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29864 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29865 new chunk size with MALLOC_ALIGN_MASK.
29867 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29870 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29872 (__printf_fphex): Determine rounding using get_rounding_mode and
29874 * stdio-common/tst-printf-round.c (struct hex_test): New
29876 (hex_tests): New variable.
29877 (test_hex_in_one_mode): New function.
29878 (do_test): Also run tests for hex float output.
29880 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29882 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29883 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29884 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29885 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29886 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29887 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29888 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29889 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29891 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29893 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29894 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29895 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29896 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29898 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29901 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29903 * elf/tst-rtld-load-self.sh: New test.
29904 * elf/Makefile: Run it.
29906 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29908 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29909 (tst-writev-ENV): Remove.
29910 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29912 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29914 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29916 2012-09-17 Joseph Myers <joseph@codesourcery.com>
29918 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29920 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29922 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29923 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29924 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29927 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29930 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29931 * config.make.in (have-cpp-asm-debuginfo): Removed.
29932 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29933 * configure: Regenerated.
29935 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29938 * stdio-common/printf_fp.c: Include <stdbool.h> and
29940 (___printf_fp): Determine rounding using get_rounding_mode and
29942 * stdio-common/tst-printf-round.c: New file.
29943 * stdio-common/Makefile (tests): Add tst-printf-round.
29944 (link-libm): New variable.
29945 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29947 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29950 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29951 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29953 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29956 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29958 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29959 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29960 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29961 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29963 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29966 * include/rounding-mode.h: New file.
29967 * sysdeps/generic/get-rounding-mode.h: Likewise.
29968 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29969 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29970 (MAX_VALUE): New macro.
29971 (MIN_VALUE): Likewise.
29972 (overflow_value): New function.
29973 (underflow_value): Likewise.
29974 (round_and_return): Use overflow_value and underflow_value to
29975 determine return values in overflow and underflow cases. Use
29976 round_away to determine rounding depending on rounding mode.
29977 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29978 determine return values in overflow and underflow cases.
29979 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29980 (struct test_results): New structure.
29981 (struct test): Use struct test_results to store expected results
29982 for all rounding modes.
29983 (TEST): Include expected results for all rounding modes.
29984 (test_in_one_mode): New function.
29985 (do_test): Use test_in_one_mode to compute and check results.
29986 Check results for all rounding modes.
29987 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29990 2012-12-09 Allan McRae <allan@archlinux.org>
29992 * sysdeps/i386/fpu/libm-test-ulps: Update
29994 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29996 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29997 (_G_int32_t): Likewise.
29998 (_G_uint16_t): Likewise.
29999 (_G_uint32_t): Likewise.
30000 (_G_HAVE_BOOL): Likewise.
30001 (_G_HAVE_ATEXIT): Likewise.
30002 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30003 (_G_HAVE_IO_FILE_OPEN): Likewise.
30004 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30005 (_G_int32_t): Likewise.
30006 (_G_uint16_t): Likewise.
30007 (_G_uint32_t): Likewise.
30008 (_G_HAVE_BOOL): Likewise.
30009 (_G_HAVE_ATEXIT): Likewise.
30010 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30011 (_G_HAVE_IO_FILE_OPEN): Likewise.
30012 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30013 (_G_int32_t): Likewise.
30014 (_G_uint16_t): Likewise.
30015 (_G_uint32_t): Likewise.
30016 (_G_HAVE_BOOL): Likewise.
30017 (_G_HAVE_ATEXIT): Likewise.
30018 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30019 (_G_HAVE_IO_FILE_OPEN): Likewise.
30021 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30023 * csu/libc-tls.c: Update copyright years.
30025 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30027 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30028 [!_G_USING_THUNKS]: Remove conditional code.
30029 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30030 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30032 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30033 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30034 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30035 (_G_VTABLE_LABEL_PREFIX): Likewise.
30036 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30037 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30038 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30039 (_G_VTABLE_LABEL_PREFIX): Likewise.
30040 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30041 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30042 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30043 (_G_VTABLE_LABEL_PREFIX): Likewise.
30044 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30046 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30048 * libio/Makefile: Include ../Makeconfig before tests.
30049 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30050 only if $(build-shared) is yes.
30052 * iconv/gconv_db.c: Update copyright years.
30054 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30056 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30057 unwind info if defined PIC. Fix special cases description.
30058 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30060 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30062 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30064 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30066 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30068 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30071 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30072 (LDLIBS-tst-chk4): This.
30073 (LDFLAGS-tst-chk5): Renamed to ...
30074 (LDLIBS-tst-chk5): This.
30075 (LDFLAGS-tst-chk6): Renamed to ...
30076 (LDLIBS-tst-chk6): This.
30077 (LDFLAGS-tst-lfschk4): Renamed to ...
30078 (LDLIBS-tst-lfschk4): This.
30079 (LDFLAGS-tst-lfschk5): Renamed to ...
30080 (LDLIBS-tst-lfschk5): This.
30081 (LDFLAGS-tst-lfschk6): Renamed to ...
30082 (LDLIBS-tst-lfschk6): This.
30084 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30085 on $(common-objpfx)soversions.mk.
30087 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30090 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30093 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30095 * malloc/arena.c (arena_get_retry): New function that gets
30096 another arena for the caller to try its request on.
30097 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30098 current arena cannot fulfill the request.
30099 (__libc_memalign): Likewise.
30100 (__libc_memalign): Likewise.
30101 (__libc_pvalloc): Likewise.
30102 (__libc_calloc): Likewise.
30104 2012-09-05 John Tobey <john.tobey@gmail.com>
30107 * manual/arith.texi (Operations on Complex): Fix description
30108 of carg branch cut.
30110 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30113 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30117 * manual/memory.texi (Memory): Make order of menu items match
30120 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30122 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30123 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30124 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30126 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30128 * csu/libc-tls.c (static_dtv): Renamed to ...
30129 (_dl_static_dtv): This. Make it global.
30130 (_dl_initial_dtv): Removed.
30131 (__libc_setup_tls): Updated.
30132 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30133 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30136 2012-09-06 Petr Machata <pmachata@redhat.com>
30138 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30139 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30140 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30141 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30143 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30146 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30147 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30150 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30153 * Makeconfig (link-static-before-libc): Replace $(+prector)
30155 (link-static-after-libc): Replace $(+postctor) with
30157 (link-bounded): Replace $(+prector)/$(+postctor) with
30158 $(+prectorT)/$(+postctorT).
30159 (+prectorT): New macro.
30160 (+postctorT): Likewise.
30162 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30164 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30165 (round_str): Handle values above the maximum for IBM long double
30167 * stdlib/tst-strtod-round.c (tests): Regenerated.
30169 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30171 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30173 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30174 zarch_nohighgprs around the zarch optimized routines.
30175 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30176 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30177 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30180 2012-09-05 David S. Miller <davem@davemloft.net>
30182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30184 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30185 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30186 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30187 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30190 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30192 * malloc/arena.c: Fold copyright years.
30193 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30195 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30197 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30199 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30201 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30203 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30205 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30206 change internal state upon failure.
30208 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30210 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30211 * malloc/memusage.c (mmap): Likewise.
30212 (mmap64, mremap): Likewise. Adjust name in comment.
30214 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30216 * libio/fileops.c: Fix typos in comments.
30217 * libio/oldfileops.c: Likewise.
30218 * libio/wfileops.c: Likewise.
30220 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30223 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30224 (tst-malloc-usable-ENV): Set environment for test case.
30225 * malloc/hooks.c (malloc_check_get_size): New function to get
30227 * malloc/malloc.c (musable): Use malloc_check_get_size.
30228 * malloc/tst-malloc-usable.c: New test case.
30230 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30232 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30234 2012-09-05 Allan McRae <allan@archlinux.org>
30237 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30238 determine header location.
30239 * configure: Regenerated.
30241 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30243 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30245 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30246 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30248 (test): Regenerate.
30250 2012-09-04 David S. Miller <davem@davemloft.net>
30252 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30253 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30254 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30256 2012-09-04 Florian Weimer <fweimer@redhat.com>
30258 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30261 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30263 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30266 * libio/iogetdelim.c: Include <limits.h>.
30267 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30268 + len + 1 would overflow.
30270 2012-09-03 Andreas Jaeger <aj@suse.de>
30272 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30273 * sysdeps/i386/fpu/libm-test-ulps: Update.
30275 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30277 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30278 Add s_sinf-sse2, s_conf-sse2.
30280 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30281 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30282 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30283 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30285 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30286 for using routine as __sinf_ia32.
30287 Use macro for function declaration and weak_alias.
30288 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30289 for using routine as __cosf_ia32.
30290 Use macro for function declaration and weak_alias.
30292 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30293 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30295 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30296 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30299 * math/libm-test.inc (cos_test): Add more test cases.
30300 (sin_test): Likewise.
30301 (sincos_test): Likewise.
30303 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30305 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30306 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30308 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30310 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30313 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30314 first element of the GOT.
30315 (elf_machine_load_address): Return the difference between
30316 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30318 2012-09-01 Allan McRae <allan@archlinux.org>
30321 * configure.in (AWK): Require gawk version 3.0 or later.
30322 * configure: Regenerated.
30324 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30326 * sysdeps/unix/sysv/linux/kernel-features.h
30327 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30328 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30329 [__NR_clock_getres]: Make code unconditional.
30330 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30331 (clock_getcpuclockid): Remove code left unreachable by removal of
30333 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30334 code unconditional.
30335 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30336 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30337 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30338 Make code unconditional.
30339 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30340 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30341 * sysdeps/unix/sysv/linux/clock_settime.c
30342 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30344 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30345 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30347 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30350 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30351 scripts/test-installation.pl.
30353 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30354 and $ld_so_version if it is set.
30356 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30359 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30360 failure if reading from procfs failed.
30361 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30363 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30365 * sysdeps/unix/sysv/linux/kernel-features.h
30366 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30367 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30368 Remove conditional code.
30369 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30370 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30371 Remove conditional code.
30372 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30373 * sysdeps/unix/sysv/linux/i386/fxstat.c
30374 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30375 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30376 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30377 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30378 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30379 * sysdeps/unix/sysv/linux/i386/lxstat.c
30380 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30381 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30382 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30383 Remove conditional code.
30384 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30385 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30386 Remove conditional code.
30387 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30388 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30389 <kernel-features.h>.
30390 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30392 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30393 Remove conditional code.
30394 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30395 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30396 Remove conditional.
30398 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30401 * NEWS: Add fixed bug number.
30403 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30406 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30407 underflowing exponent in case of negative sign.
30408 * stdlib/tst-strtod-round-data: Add more tests.
30409 * stdlib/tst-strtod-round.c (tests): Regenerated.
30412 * stdlib/strtod_l.c (NDIG): Remove.
30413 (HEXNDIG): Likewise.
30414 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30415 smallest representable value.
30416 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30417 lie within an exact representation of 1/2 ulp of the result.
30418 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30420 (TENS_P9_IDX): Define unconditionally.
30421 (TENS_P9_SIZE): Likewise.
30422 (TENS_P10_IDX): Likewise.
30423 (TENS_P10_SIZE): Likewise.
30424 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30425 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30426 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30427 entries for 10^2^13 and 10^2^14.
30428 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30429 (TENS_P13_IDX): Define.
30430 (TENS_P13_SIZE): Likewise.
30431 (TENS_P14_IDX): Likewise.
30432 (TENS_P14_SIZE): Likewise.
30433 (_fpioconst_pow10): Change array size to
30434 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30436 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30437 1024]: Add entries for 10^2^13 and 10^2^14.
30438 [LAST_POW10 > _LAST_POW10]: Remove #error.
30439 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30440 (_fpioconst_pow10): Change array size to
30441 FPIOCONST_POW10_ARRAY_SIZE.
30442 * stdlib/gen-fpioconst.c: New file.
30443 * stdlib/gen-tst-strtod-round.c: Likewise.
30444 * stdlib/tst-strtod-round-data: Likewise.
30445 * stdlib/tst-strtod-round.c: Likewise.
30446 * stdlib/Makefile (tests): Add tst-strtod-round.
30449 * stdlib/strtod_l.c: Include <stdint.h>.
30450 (NDEBUG): Do not define.
30451 (round_and_return): Change EXPONENT parameter to type intmax_t.
30452 Rearrange calculations to avoid internal overflow possibilities.
30453 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30454 Rearrange calculations to avoid internal overflow possibilities.
30455 Assert that number fits inside MPNSIZE limbs.
30456 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30457 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30458 calculations and add assertions to avoid internal overflow
30459 possibilities. Add casts to avoid signed/unsigned operations.
30460 * stdlib/tst-strtod-overflow.c: New file.
30461 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30463 2012-08-25 Marek Polacek <polacek@redhat.com>
30465 * time/time.h: Fix some typos in comments.
30467 2012-08-23 Roland McGrath <roland@hack.frob.com>
30469 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30470 * posix/tst-rfc3484-2.c: Likewise.
30471 * posix/tst-rfc3484-3.c: Likewise.
30473 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30475 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30476 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30478 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30480 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30481 #include of fxstatat64.c.
30483 2012-08-22 Roland McGrath <roland@hack.frob.com>
30485 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30486 * shadow/getspent_r.c: Likewise.
30487 * shadow/getspnam.c: Likewise.
30488 * shadow/getspnam_r.c: Likewise.
30489 * gshadow/getsgent.c: Likewise.
30490 * gshadow/getsgent_r.c: Likewise.
30491 * gshadow/getsgnam.c: Likewise.
30492 * gshadow/getsgnam_r.c: Likewise.
30493 * inet/getnetbyad.c: Likewise.
30494 * inet/getnetbyad_r.c: Likewise.
30495 * inet/getnetbynm.c: Likewise.
30496 * inet/getnetbynm_r.c: Likewise.
30497 * inet/getnetent.c: Likewise.
30498 * inet/getnetent_r.c: Likewise.
30499 * inet/getproto.c: Likewise.
30500 * inet/getproto_r.c: Likewise.
30501 * inet/getprtent.c: Likewise.
30502 * inet/getprtent_r.c: Likewise.
30503 * inet/getprtname.c: Likewise.
30504 * inet/getprtname_r.c: Likewise.
30505 * inet/getrpcbyname.c: Likewise.
30506 * inet/getrpcbyname_r.c: Likewise.
30507 * inet/getrpcbynumber.c: Likewise.
30508 * inet/getrpcbynumber_r.c: Likewise.
30509 * inet/getrpcent.c: Likewise.
30510 * inet/getrpcent_r.c: Likewise.
30511 * inet/getaliasent.c: Likewise.
30512 * inet/getaliasent_r.c: Likewise.
30513 * inet/getaliasname.c: Likewise.
30514 * inet/getaliasname_r.c: Likewise.
30515 * nscd/getgrgid_r.c: Likewise.
30516 * nscd/getgrnam_r.c: Likewise.
30517 * nscd/gethstbyad_r.c: Likewise.
30518 * nscd/gethstbynm3_r.c: Likewise.
30519 * nscd/getpwnam_r.c: Likewise.
30520 * nscd/getpwuid_r.c: Likewise.
30521 * nscd/getsrvbynm_r.c: Likewise.
30522 * nscd/getsrvbypt_r.c: Likewise.
30523 * nscd/gai.c: Likewise.
30525 * configure.in (build_nscd): New substituted variable, set
30526 by --disable-build-nscd and defaults to $use_nscd.
30527 * configure: Regenerated.
30528 * config.make.in (build-nscd): New substituted variable.
30529 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30530 Change conditional to require [$(build-nscd) = yes] as well.
30531 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30534 * configure.in (use_nscd): New substituted variable, set by
30535 --disable-nscd. If enabled, define USE_NSCD.
30536 * configure: Regenerated.
30537 * config.h.in: Add USE_NSCD.
30538 * config.make.in (use-nscd): New substituted variable.
30539 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30540 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30541 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30542 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30543 (CFLAGS-getgrnam_r.c): Likewise.
30544 (CFLAGS-initgroups.c): Likewise.
30545 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30546 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30548 * inet/getnetgrent_r.c
30549 (nscd_setnetgrent): New function, broken out of ...
30550 (setnetgrent): ... here. Call it.
30551 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30552 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30553 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30554 * nscd/Makefile (routines, aux): Move definitions after include of
30555 Makeconfig. Conditionalize on [$(use-nscd) != no].
30556 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30557 Conditionalize on [USE_NSCD].
30558 (is_nscd, nscd_init_cb): Likewise.
30559 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30560 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30561 * nss/nss_db/db-init.c: Likewise.
30562 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30564 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30565 (make_request): Use it.
30566 (cache_valid_p): New function.
30567 (__check_pf): Use it.
30568 * NEWS: Add item for --disable-nscd.
30570 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30572 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30573 to support sed >= 4.2.1-20-ga9bf076.
30574 * configure: Regenerated.
30576 2012-08-22 Roland McGrath <roland@hack.frob.com>
30578 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30579 Conditionalize whole body on [IREL].
30581 2012-08-22 Jeff Law <law@redhat.com>
30584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30585 if the family is PF_UNSPEC.
30587 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30589 * Makerules (lib-version): Rename from V.
30590 (install-lib-nosubdir): Change V to lib-version.
30592 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30595 * powerpc32/power6/wcschr.c: New file.
30596 * powerpc32/power6/wcscpy.c: New file.
30597 * powerpc32/power6/wcsrchr.c: New file.
30598 * powerpc64/power6/wcschr.c: New file.
30599 * powerpc64/power6/wcscpy.c: New file.
30600 * powerpc64/power6/wcsrchr.c: New file.
30602 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30604 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30605 (two_way_short_needle): Use it.
30606 * string/strstr.c (AVAILABLE1_USES_J): Define.
30607 * string/strcasestr.c: Likewise.
30609 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30611 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30614 * NEWS: Add an entry.
30615 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30616 define their defaults.
30617 (two_way_short_needle): Detect end-of-string on-the-fly.
30618 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30619 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30620 * string/bug-strcasestr1.c: New test.
30621 * string/Makefile: Run it.
30623 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30626 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30627 the first character.
30629 2012-08-21 Roland McGrath <roland@hack.frob.com>
30631 * csu/elf-init.c (__libc_csu_irel): Function removed.
30632 * csu/libc-start.c (apply_irel): New function.
30633 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30635 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30637 * sysdeps/unix/sysv/linux/kernel-features.h
30638 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30639 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30640 <kernel-features.h>.
30641 [__NR_fadvise64_64]: Make code unconditional.
30642 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30643 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30644 !__NR_fadvise64_64)]: Likewise.
30645 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30646 !__NR_fadvise64_64))]: Likewise.
30647 [__NR_fadvise64]: Make code unconditional.
30648 [!__NR_fadvise64]: Remove conditional code.
30649 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30650 <kernel-features.h>.
30651 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30653 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30656 not include <kernel-features.h>.
30657 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30659 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30661 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30662 include <kernel-features.h>.
30663 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30665 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30668 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30670 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30671 slight instruction rearrangements per scrollpipe analysis.
30672 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30674 2012-08-20 Roland McGrath <roland@hack.frob.com>
30676 * manual/syslog.texi (syslog; vsyslog, closelog):
30677 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30678 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30680 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30681 DSOCAPS to match condition on defining it.
30683 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30685 * sysdeps/unix/sysv/linux/kernel-features.h
30686 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30688 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30689 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30691 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30692 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30694 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30695 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30697 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30698 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30700 * sysdeps/unix/sysv/linux/kernel-features.h
30701 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30702 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30704 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30705 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30706 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30707 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30708 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30709 Make code unconditional.
30710 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30711 (__mmap64) [!__NR_mmap2]: Likewise.
30712 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30713 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30714 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30715 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30716 [__NR_mmap2]: Make code unconditional.
30717 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30718 (__mmap64) [!__NR_mmap2]: Likewise.
30720 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30722 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30724 2012-08-18 Andreas Jaeger <aj@suse.de>
30726 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30728 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30730 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30731 * include/unistd.h (__have_sock_cloexec): Likewise.
30732 (__have_pipe2): Likewise.
30733 (__have_dup3): Likewise.
30735 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30738 * include/unistd.h (__have_pipe2): Change define into an extern int.
30739 (__have_dup3): Likewise.
30740 * socket/have_sock_cloexec.c: Include fcntl.h.
30741 (__have_pipe2): New variable.
30742 (__have_dup3): Likewise.
30744 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30746 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30748 2012-08-17 Marek Polacek <polacek@redhat.com>
30750 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30751 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30753 2012-08-17 Roland McGrath <roland@hack.frob.com>
30755 * configure.in: Add AC_SUBST for sysheaders.
30756 * configure: Regenerated.
30757 * config.make.in (sysheaders): New substituted variable.
30759 * sysdeps/unix/mkfifo.c: Moved ...
30760 * sysdeps/posix/mkfifo.c: ... here.
30761 * sysdeps/unix/mkfifoat.c: Moved ...
30762 * sysdeps/posix/mkfifoat.c: ... here.
30764 * sysdeps/unix/utime.c: Moved ...
30765 * sysdeps/posix/utime.c: ... here.
30767 * sysdeps/unix/time.c: Moved ...
30768 * sysdeps/posix/time.c: ... here.
30769 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30770 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30772 * sysdeps/unix/nice.c: Moved ...
30773 * sysdeps/posix/nice.c: ... here.
30775 * sysdeps/unix/alarm.c: Moved ...
30776 * sysdeps/posix/alarm.c: ... here.
30778 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30780 2012-08-17 Jeff Law <law@redhat.com>
30782 * intl/Makefile (codeset_mo): New variable.
30783 ($(codeset_mo)): New target.
30784 (tst-codeset.out): Depend on that. Remove explicit rule.
30785 (tst-gettext3.out, tst-gettext5.out): Likewise.
30786 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30787 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30788 * intl/tst-codeset.sh: Remove.
30789 * intl/tst-gettext3.sh: Likewise.
30790 * intl/tst-gettext5.sh: Likewise.
30792 2012-08-17 Roland McGrath <roland@hack.frob.com>
30794 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30795 * sysdeps/unix/syscalls.list: ... here.
30797 * sysdeps/posix/getaddrinfo.c
30798 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30799 (gaiconf_init, gaiconf_reload): Use them.
30800 [!_STATBUF_ST_NSEC]
30801 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30802 Define using time_t rather than struct timespec.
30804 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30805 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30807 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30809 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30810 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30813 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30814 __libc_cleanup_push argument.
30816 * bits/param.h: New file.
30817 * misc/sys/param.h: New file.
30818 * include/sys/param.h: New file.
30819 * misc/Makefile (headers): Add bits/param.h.
30820 * sysdeps/generic/sys/param.h: File removed.
30821 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30822 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30823 * sysdeps/mach/hurd/bits/param.h: New file.
30824 * sysdeps/mach/hurd/sys/param.h: File removed.
30826 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30829 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30831 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30832 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30835 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30836 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30837 rather than -D_IO_MTSAFE_IO conditionally.
30838 * stdio-common/Makefile (CPPFLAGS): Likewise.
30839 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30840 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30841 Use $(libio-mtsafe).
30842 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30843 of -D_IO_MTSAFE_IO.
30844 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30845 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30846 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30847 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30848 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30849 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30850 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30851 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30852 (CFLAGS-fread_u_chk.c): Likewise.
30853 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30854 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30855 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30856 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30857 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30858 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30859 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30860 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30861 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30863 * libio/Makefile: Test [$(libc-reentrant) = yes]
30864 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30867 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30868 * sysdeps/pthread/configure: File removed.
30869 * sysdeps/pthread/Makeconfig: New file.
30870 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30871 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30873 2012-08-16 Gary Benson <gbenson@redhat.com>
30875 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30876 unmapping the first object in a namespace.
30878 2012-08-16 Roland McGrath <roland@hack.frob.com>
30880 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30881 (__internal_setnetgrent): ... this. Add internal_function to
30882 definition. Add libc_hidden_def.
30883 (setnetgrent): Update caller.
30884 (internal_endnetgrent): Renamed to ...
30885 (__internal_endnetgrent): ... this. Add internal_function to
30886 definition. Add libc_hidden_def.
30887 (endnetgrent): Update caller.
30888 (internal_getnetgrent_r): Renamed to ...
30889 (__internal_getnetgrent_r): ... this. Add internal_function to
30890 definition. Add libc_hidden_def.
30891 (__getnetgrent_r): Update caller.
30892 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30894 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30896 * stdlib/longlong.h: Update from GCC.
30898 2012-08-16 Roland McGrath <roland@hack.frob.com>
30900 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30901 on _QL, which is set by umul_ppmm but never used.
30902 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30903 variables, which are set by GMP macros but never used.
30904 * stdio-common/_itowa.c (_itowa): Likewise.
30905 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30906 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30908 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30910 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30911 struct La_sh_regs is not constant.
30912 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30913 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30914 and struct La_sparc64_regs are not constant.
30916 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30918 * sysdeps/unix/sysv/linux/kernel-features.h
30919 (__ASSUME_POSIX_TIMERS): Remove.
30920 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30921 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30922 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30923 Make code unconditional.
30924 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30925 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30926 Make code unconditional.
30927 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30928 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30929 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30930 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30931 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30932 Make code unconditional.
30933 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30934 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30935 (__libc_missing_posix_timers): Remove.
30937 2012-08-15 Roland McGrath <roland@hack.frob.com>
30939 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30940 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30942 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30944 * elf/dl-sym.c: Include <stdlib.h>.
30946 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30947 constants, which avoids warnings in 32-bit builds.
30949 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30950 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30952 * misc/lseek.c: File moved to ...
30953 * io/lseek.c: ... here.
30955 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30957 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30958 shifting LEN more than 31 bits at once.
30960 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30963 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30964 segmentation fault for a case of two empty input strings.
30965 * string/test-strncasecmp.c (check1): Renamed to...
30966 (bz12205): ...this.
30967 (bz14195): Add new testcase for two empty input strings and N > 0.
30968 (test_main): Call new testcase, adapt for renamed function.
30970 2012-08-15 Andreas Jaeger <aj@suse.de>
30973 * crypt/md5test2.c: New test, based on test supplied by Serge
30974 Belyshev <belyshev@depni.sinp.msu.ru>.
30975 * crypt/Makefile (xtests): Add md5test-giant..
30976 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30978 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30981 * crypt/md5.c (md5_process_block): Don't assume the buffer
30982 length is less than 2**32.
30983 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30984 length is less than 2**64.
30986 2012-08-15 Roland McGrath <roland@hack.frob.com>
30988 * string/str-two-way.h: Include <sys/param.h>.
30989 (MAX): Macro removed.
30991 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30992 Move #define and #undef of memmove to just before and after
30993 including <string.h>.
30995 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30996 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30997 and after including <string.h>. Move declarations of
30998 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30999 to before #include "string/memmove.c".
31001 * include/dirent.h: Declare __getdirentries.
31003 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31004 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31006 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31008 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31009 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31010 * sysdeps/i386/configure: Regenerated.
31011 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31012 STABS_CURRENT_FILE, and STABS_FUN.
31013 (END): Remove call to STABS_FUN_END.
31014 (STABS_CURRENT_FILE1): Delete.
31015 (STABS_CURRENT_FILE): Likewise.
31016 (STABS_FUN): Likewise.
31017 (STABS_FUN_END): Likewise.
31018 (STABS_FUN2): Likewise.
31019 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31020 * sysdeps/x86_64/configure: Regenerated.
31022 2012-08-14 Roland McGrath <roland@hack.frob.com>
31024 * elf/dl-open.c: Include <atomic.h>.
31025 * elf/dl-lookup.c: Likewise.
31027 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31029 * sysdeps/unix/sysv/linux/kernel-features.h
31030 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31031 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31033 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31035 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31036 condition on __ASSUME_CLONE_THREAD_FLAGS.
31038 2012-08-14 Andreas Jaeger <aj@suse.de>
31040 * sysdeps/i386/fpu/libm-test-ulps: Update.
31042 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31044 * include/atomic.h (atomic_exchange_and_add): Split into ...
31045 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31048 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31052 2012-08-13 Jeff Law <law@redhat.com>
31054 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31055 null byte in the output string.
31057 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31059 * sysdeps/unix/sysv/linux/kernel-features.h
31060 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31061 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31062 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31063 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31064 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31065 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31066 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31068 2012-08-09 Jeff Law <law@redhat.com>
31071 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31072 When avoid_arena is set, don't retry in the that arena. Pick the
31073 next one, whatever it might be.
31074 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31075 (arena_lock): Pass in new parameter to arena_get2.
31076 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31078 (__libc_malloc): Unify retrying after main arena failure with
31079 __libc_memalign version.
31080 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31082 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31085 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31086 to __redirect_strstr.
31087 (__strstr_sse42): Use typeof __redirect_strstr.
31088 (__strstr_ia32): Likewise.
31089 (__libc_strstr): New prototype.
31090 (strstr): Renamed to ...
31091 (__libc_strstr): This.
31092 (strstr): New strong alias of __libc_strstr.
31093 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31094 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31097 (__libc_time): New prototype.
31098 (time_ifunc): Replace time with __libc_time.
31099 (time): New strong alias and hidden definition of __libc_time.
31100 (__GI_time): Remove strong alias.
31101 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31102 Include <stddef.h>.
31103 (memmove): Redefined to __redirect_memmove.
31104 (__memmove_sse2): Use typeof __redirect_memmove.
31105 (__memmove_ssse3): Likewise.
31106 (__memmove_ssse3_back): Likewise.
31107 (__libc_memmove): New prototype.
31108 (memmove): Renamed to ...
31109 (__libc_memmove): This.
31110 (memmove): New strong alias of __libc_memmove.
31112 2012-08-08 Mark Salter <msalter@redhat.com>
31115 (R_MN10300_TLS_GD): Define.
31116 (R_MN10300_TLS_LD): Likewise.
31117 (R_MN10300_TLS_LDO): Likewise.
31118 (R_MN10300_TLS_GOTIE): Likewise.
31119 (R_MN10300_TLS_IE): Likewise.
31120 (R_MN10300_TLS_LE): Likewise.
31121 (R_MN10300_TLS_DTPMOD): Likewise.
31122 (R_MN10300_TLS_DTPOFF): Likewise.
31123 (R_MN10300_TLS_TPOFF): Likewise.
31124 (R_MN10300_SYM_DIFF): Likewise.
31125 (R_MN10300_ALIGN): Likewise.
31126 (R_MN10300_NUM): Update.
31128 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31130 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31133 2012-08-08 Roland McGrath <roland@hack.frob.com>
31135 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31137 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31138 sysdeps/unix -> sysdeps/posix move.
31139 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31141 2012-08-07 Allan McRae <allan@archlinux.org>
31144 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31145 (SUNOS_CPP): Likewise.
31146 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31148 (open_input): Call CPP using execvp.
31150 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31152 * sysdeps/unix/sysv/linux/kernel-features.h
31153 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31154 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31155 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31156 (__ASSUME_WAITID_SYSCALL): Likewise.
31157 * sysdeps/unix/sysv/linux/dl-execstack.c
31158 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31159 code unconditional.
31160 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31162 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31163 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31164 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31166 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31168 [__ASSUME_WAITID_SYSCALL]: Likewise.
31169 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31171 2012-08-07 Roland McGrath <roland@hack.frob.com>
31173 * sysdeps/unix/closedir.c: Renamed to ...
31174 * sysdeps/posix/closedir.c: ... here.
31175 * sysdeps/unix/dirfd.c: Renamed to ...
31176 * sysdeps/posix/dirfd.c: ... here.
31177 * sysdeps/unix/dirstream.h: Renamed to ...
31178 * sysdeps/posix/dirstream.h: ... here.
31179 * sysdeps/unix/fdopendir.c: Renamed to ...
31180 * sysdeps/posix/fdopendir.c: ... here.
31181 * sysdeps/unix/opendir.c: Renamed to ...
31182 * sysdeps/posix/opendir.c: ... here.
31183 * sysdeps/unix/readdir.c: Renamed to ...
31184 * sysdeps/posix/readdir.c: ... here.
31185 * sysdeps/unix/readdir_r.c: Renamed to ...
31186 * sysdeps/posix/readdir_r.c: ... here.
31187 * sysdeps/unix/rewinddir.c: Renamed to ...
31188 * sysdeps/posix/rewinddir.c: ... here.
31189 * sysdeps/unix/seekdir.c: Renamed to ...
31190 * sysdeps/posix/seekdir.c: ... here.
31191 * sysdeps/unix/telldir.c: Renamed to ...
31192 * sysdeps/posix/telldir.c: ... here.
31193 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31194 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31195 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31196 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31198 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31199 * bits/fcntl.h: ... here.
31201 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31203 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31204 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31205 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31206 (struct flock): Move l_start, l_len to the beginning.
31207 Use __pid_t for l_pid.
31208 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31209 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31210 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31211 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31212 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31213 [__USE_LARGEFILE64] (struct flock64): New type.
31214 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31216 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31217 * bits/dirent.h: ... here.
31219 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31220 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31222 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31224 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31225 Change from 2.6.0 to 2.6.16.
31226 * sysdeps/unix/sysv/linux/configure: Regenerated.
31227 * sysdeps/unix/sysv/linux/kernel-features.h
31228 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31229 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31231 (__ASSUME_UTIMES): Likewise.
31232 (__ASSUME_CLONE_STOPPED): Remove.
31233 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31234 architectures, not kernel version.
31235 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31236 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31237 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31238 (__ASSUME_WAITID_SYSCALL): Likewise.
31239 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31240 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31241 * README: State 2.6.16 as minimum Linux kernel version. Do not
31242 refer to older versions.
31244 2012-08-06 Roland McGrath <roland@hack.frob.com>
31246 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31247 Define alphasort64 as an alias.
31248 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31249 Define versionsort64 as an alias.
31250 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31251 Define scandir64 as an alias.
31252 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31253 Define scandirat64 as an alias.
31254 * dirent/alphasort64.c (alphasort64):
31255 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31256 * dirent/versionsort64.c: Likewise.
31257 * dirent/scandir64.c: Likewise.
31258 * dirent/scandirat64.c: Likewise.
31259 * sysdeps/wordsize-64/alphasort.c: File removed.
31260 * sysdeps/wordsize-64/alphasort64.c: File removed.
31261 * sysdeps/wordsize-64/scandir.c: File removed.
31262 * sysdeps/wordsize-64/scandir64.c: File removed.
31263 * sysdeps/wordsize-64/scandirat.c: File removed.
31264 * sysdeps/wordsize-64/scandirat64.c: File removed.
31265 * sysdeps/wordsize-64/versionsort.c: File removed.
31266 * sysdeps/wordsize-64/versionsort64.c: File removed.
31267 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31268 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31269 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31270 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31271 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31272 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31273 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31274 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31276 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31277 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31278 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31279 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31280 [defined __arch64__ || defined __sparcv9]
31281 (__INO_T_MATCHES_INO64_T): New macro.
31282 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31283 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31284 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31285 * sysdeps/unix/sysv/linux/bits/dirent.h
31286 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31287 (_DIRENT_MATCHES_DIRENT64): New macro.
31289 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31290 Define lockf64 as an alias.
31291 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31292 Define fseeko64 as an alias.
31293 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31294 Define ftello64 as an alias.
31295 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31296 Define _IO_fgetpos64 and fgetpos64 as aliases.
31297 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31298 Define _IO_fsetpos64 and fsetpos64 as aliases.
31299 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31300 Conditionalize body on this.
31301 * libio/fseeko64.c: Likewise.
31302 * libio/ftello64.c: Likewise.
31303 * libio/iofgetpos64.c: Likewise.
31304 * libio/iofsetpos64.c: Likewise.
31305 * sysdeps/wordsize-64/lockf.c: File removed.
31306 * sysdeps/wordsize-64/lockf64.c: File removed.
31307 * sysdeps/wordsize-64/fseeko.c: File removed.
31308 * sysdeps/wordsize-64/fseeko64.c: File removed.
31309 * sysdeps/wordsize-64/ftello.c: File removed.
31310 * sysdeps/wordsize-64/ftello64.c: File removed.
31311 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31312 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31313 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31314 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31315 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31316 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31317 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31318 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31319 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31320 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31321 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31322 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31323 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31324 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31326 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31327 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31328 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31329 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31330 [defined __arch64__ || defined __sparcv9]
31331 (__OFF_T_MATCHES_OFF64_T): New macro.
31332 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31333 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31334 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31335 (__OFF_T_MATCHES_OFF64_T): New macro.
31337 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31339 * stdlib/secure-getenv.c (__secure_getenv): Replace
31340 GLIBC_2_16 with GLIBC_2_17.
31342 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31344 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31345 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31347 2012-08-03 David S. Miller <davem@davemloft.net>
31349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31351 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31353 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31355 (__ASSUME_CORRECT_SI_PID): Likewise.
31356 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31357 (__ASSUME_TMPFS_NAME): Likewise.
31358 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31359 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31360 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31361 (HAVE_AUX_SECURE): Make definition unconditional.
31362 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31363 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31365 2012-08-03 Roland McGrath <roland@hack.frob.com>
31367 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31368 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31369 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31370 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31371 __eloop_threshold instead of SYMLOOP_MAX.
31373 * sysdeps/generic/eloop-threshold.h: New file.
31374 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31376 * elf/chroot_canon.c (chroot_canon): Likewise.
31378 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31381 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31382 Change to 2.6.0 everywhere.
31383 * sysdeps/unix/sysv/linux/configure: Regenerated.
31384 * sysdeps/unix/sysv/linux/kernel-features.h
31385 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31386 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31388 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31389 (__ASSUME_FUTEX_REQUEUE): Remove.
31390 (__ASSUME_STATFS64): Define unconditionally.
31391 (__ASSUME_AT_SECURE): Likewise.
31392 (__ASSUME_CORRECT_SI_PID): Likewise.
31393 (__ASSUME_TGKILL): Define without depending on kernel version for
31395 (__ASSUME_UTIMES): Likewise.
31396 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31398 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31399 (__ASSUME_TMPFS_NAME): Likewise.
31400 * README: Update reference to Linux kernel versions.
31402 2012-08-02 Marek Polacek <polacek@redhat.com>
31405 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31406 libc_cv_asm_type_prefix with %.
31407 * configure: Regenerated.
31408 * include/libc-symbols.h: Remove comment about
31409 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31410 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31411 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31412 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31413 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31414 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31415 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31416 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31417 * elf/tst-unique2mod1.c: Likewise.
31418 * elf/tst-unique1mod2.c: Likewise.
31419 * elf/tst-unique1mod1.c: Likewise.
31420 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31421 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31422 Replace ASM_TYPE_DIRECTIVE with .type.
31423 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31424 * sysdeps/i386/sysdep.h: Likewise.
31425 * sysdeps/x86_64/sysdep.h: Likewise.
31426 * sysdeps/sh/sysdep.h: Likewise.
31427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31428 Do not define ASM_TYPE_DIRECTIVE.
31429 * sysdeps/powerpc/sysdep.h: Likewise.
31430 * sysdeps/powerpc/powerpc32/sysdep.h:
31431 Replace ASM_TYPE_DIRECTIVE with .type.
31432 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31433 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31434 * sysdeps/i386/fpu/e_powf.S: Likewise.
31435 * sysdeps/i386/fpu/e_expl.S: Likewise.
31436 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31437 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31438 * sysdeps/i386/fpu/e_pow.S: Likewise.
31439 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31440 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31441 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31442 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31443 * sysdeps/i386/fpu/e_log2.S: Likewise.
31444 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31445 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31446 * sysdeps/i386/fpu/e_powl.S: Likewise.
31447 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31448 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31449 * sysdeps/i386/fpu/e_logl.S: Likewise.
31450 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31451 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31452 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31453 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31454 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31455 * sysdeps/i386/fpu/e_log.S: Likewise.
31456 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31457 * sysdeps/i386/fpu/e_logf.S: Likewise.
31458 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31459 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31460 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31461 * sysdeps/i386/fpu/e_log10.S: Likewise.
31462 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31463 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31464 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31465 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31466 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31467 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31468 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31469 * sysdeps/i386/i686/strtok.S: Likewise.
31470 * sysdeps/i386/i386-mcount.S: Likewise.
31471 * sysdeps/i386/strtok.S: Likewise.
31472 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31473 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31474 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31475 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31476 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31477 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31478 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31479 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31480 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31481 * sysdeps/x86_64/_mcount.S: Likewise.
31482 * sysdeps/x86_64/strtok.S: Likewise.
31483 * sysdeps/sh/_mcount.S: Likewise.
31485 2012-08-01 Roland McGrath <roland@hack.frob.com>
31487 * libio/iofopen.c: Include <fcntl.h>.
31488 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31489 (_IO_fopen64, fopen64): Define as aliases.
31490 * libio/iofopen64.c: Include <fcntl.h>.
31491 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31492 Conditionalize body on this.
31493 * sysdeps/wordsize-64/iofopen.c: File removed.
31494 * sysdeps/wordsize-64/iofopen64.c: File removed.
31496 2012-08-01 Marek Polacek <polacek@redhat.com>
31498 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31499 Use dlfcn directly instead of a variable.
31500 (binfmt-subdir): Do not define.
31503 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31505 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31506 Remove all definitions.
31507 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31508 <kernel-features.h>.
31509 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31510 (miss_F_GETOWN_EX): Remove all definitions.
31511 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31513 [!__ASSUME_FCNTL64]: Remove conditional code.
31514 [__ASSUME_FCNTL64]: Make code unconditional.
31515 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31516 <kernel-features.h>.
31517 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31518 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31519 (lockf64) [__NR_fcntl64]: Make code unconditional.
31520 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31522 * sysdeps/unix/sysv/linux/kernel-features.h
31523 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31524 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31525 Make code unconditional.
31526 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31527 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31529 [__NR_vfork]: Make code unconditional.
31530 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31531 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31533 [__NR_vfork]: Make code unconditional.
31534 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31535 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31537 2012-08-01 Roland McGrath <roland@hack.frob.com>
31539 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31540 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31542 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31543 Define mkstemp64 as an alias.
31544 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31545 Define mkstemps64 as an alias.
31546 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31547 Define mkostemp64 as an alias.
31548 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31549 Define mkostemps64 as an alias.
31550 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31551 Conditionalize body on this.
31552 * misc/mkostemp64.c: Likewise.
31553 * misc/mkostemps64.c: Likewise.
31554 * misc/mkstemps64.c: Likewise.
31555 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31556 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31557 * sysdeps/wordsize-64/mkostemp.c: File removed.
31558 * sysdeps/wordsize-64/mkstemp.c: File removed.
31559 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31560 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31561 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31562 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31565 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31566 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31567 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31568 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31570 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31571 compat_symbol macros from <shlib-compat.h> rather than the underlying
31572 default_symbol_version and symbol_version macros, so that DEFAULT
31573 lines in shlib-versions are respected.
31574 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31576 2012-08-01 Florian Weimer <fweimer@redhat.com>
31578 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31579 Declare with warn_unused_result.
31580 (setgid, setregid, setegid, setresgid): Likewise.
31581 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31583 * WUR-REPORT: Remove set*id functions.
31585 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31587 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31589 2012-07-31 Roland McGrath <roland@hack.frob.com>
31592 * include/sys/socket.h (__libc_accept, __libc_accept4):
31593 Add attribute_hidden.
31594 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31596 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31598 * inet/getnetgrent_r.c (setup): Likewise.
31600 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31602 2012-07-31 David S. Miller <davem@davemloft.net>
31604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31606 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31609 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31610 value between 1.0 and 2.0 and smaller part has absolute value less
31612 * math/s_clog10.c (__clog10): Likewise.
31613 * math/s_clog10f.c (__clog10f): Likewise.
31614 * math/s_clog10l.c (__clog10l): Likewise.
31615 * math/s_clogf.c (__clogf): Likewise.
31616 * math/s_clogl.c (__clogl): Likewise.
31617 * math/libm-test.inc (clog_test): Add more tests.
31618 (clog10_test): Likewise.
31619 * sysdeps/i386/fpu/libm-test-ulps: Update.
31620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31622 2012-07-31 Florian Weimer <fweimer@redhat.com>
31624 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31625 Exit with zero in case no suitable GID is found, and write a
31626 message to standard error.
31628 2012-07-30 Roland McGrath <roland@hack.frob.com>
31630 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31632 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31633 (MAXPATHLEN): Removed.
31634 (NOGROUP, NODEV): New macros.
31635 (setbit, clrbit, isset, isclr): New macros.
31636 (howmany, roundup, powerof2): New macros.
31637 (DEV_BSIZE): New macro.
31639 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31640 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31642 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31643 definition on [!__NO_LONG_DOUBLE_MATH].
31645 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31646 PTR_MANGLE and PTR_DEMANGLE.
31648 * socket/accept4.c (accept4): Rename to __libc_accept4.
31649 Define accept4 as a weak alias.
31651 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31652 on [_DIRENT_HAVE_D_TYPE].
31653 * io/ftw.c (ftw_dir): Likewise.
31655 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31657 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31659 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31660 Use the BSD numbers rather than the arbitrary ones we had.
31661 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31662 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31663 (SIGXCPU, SIGXFSZ): New macros.
31666 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31667 initializer on [_LIBC_REENTRANT].
31669 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31670 definitions inside [_POSIX_MAPPED_FILES].
31672 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31674 * dirent/opendir.c: Include <fcntl.h>.
31676 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31677 (__libc_getspecific): Likewise.
31678 (__libc_key_create): Likewise.
31680 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31681 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31682 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31683 (tmpfile64): Define as alias.
31684 * sysdeps/wordsize-64/tmpfile.c: File removed.
31685 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31686 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31687 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31689 * stdio-common/vfscanf.c: Include <stdbool.h>.
31690 * nss/makedb.c: Likewise.
31691 * stdio-common/_i18n_number.h: Likewise.
31692 * argp/argp-help.c: Likewise.
31693 * posix/wordexp.c: Likewise.
31694 * sysdeps/posix/spawni.c: Likewise.
31695 * nss/nss_files/files-initgroups.c: Likewise.
31696 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31697 * nss/nss_files/files-initgroups.c: Likewise.
31698 * nss/nss_db/db-netgrp.c: Likewise.
31699 * nss/nss_db/db-initgroups.c: Likewise.
31700 * io/fchmodat.c: Include <sys/stat.h>.
31702 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31703 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31705 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31708 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31709 Add multiple inclusion protection.
31711 2012-07-27 David S. Miller <davem@davemloft.net>
31713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31715 2012-07-27 Gary Benson <gbenson@redhat.com>
31718 * elf/rtld.c: Include <stap-probe.h>.
31719 (dl_main): Added static probes "init_start" and "init_complete".
31720 * elf/dl-load.c: Include <stap-probe.h>.
31721 (lose): Take new parameter "nsid".
31722 Added static probe "map_failed".
31723 (_dl_map_object_from_fd): Pass namespace id to lose.
31724 Added static probe "map_start".
31725 (open_verify): Pass namespace id to lose.
31726 * elf/dl-open.c: Include <stap-probe.h>.
31727 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31728 and "reloc_complete".
31729 * elf/dl-close.c: Include <stap-probe.h>.
31730 (_dl_close_worker): Added static probes "unmap_start" and
31732 * elf/rtld-debugger-interface.txt: New file documenting the above.
31734 2012-07-26 Roland McGrath <roland@hack.frob.com>
31736 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31737 rather than a string variable.
31738 * sunrpc/rpc_main.c (h_output): Likewise.
31739 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31741 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31743 * inet/check_native.c: New file.
31745 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31748 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31749 if larger part has absolute value 1.0.
31750 * math/s_clog10.c (__clog10): Likewise.
31751 * math/s_clog10f.c (__clog10f): Likewise.
31752 * math/s_clog10l.c (__clog10l): Likewise.
31753 * math/s_clogf.c (__clogf): Likewise.
31754 * math/s_clogl.c (__clogl): Likewise.
31755 * math/libm-test.inc (clog_test): Add more tests.
31756 (clog10_test): Likewise.
31757 * sysdeps/i386/fpu/libm-test-ulps: Update.
31758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31760 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31761 (pltexit): Likewise.
31762 (La_regs): Likewise.
31763 (La_retval): Likewise.
31764 (int_retval): Likewise.
31765 Update #error for removed macros to refer only to definitions in
31767 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31769 (pltexit): Likewise.
31770 (La_regs): Likewise.
31771 (La_retval): Likewise.
31772 (int_retval): Likewise.
31773 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31775 (pltexit): Likewise.
31776 (La_regs): Likewise.
31777 (La_retval): Likewise.
31778 (int_retval): Likewise.
31779 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31781 (pltexit): Likewise.
31782 (La_regs): Likewise.
31783 (La_retval): Likewise.
31784 (int_retval): Likewise.
31785 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31787 (pltexit): Likewise.
31788 (La_regs): Likewise.
31789 (La_retval): Likewise.
31790 (int_retval): Likewise.
31791 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31793 (pltexit): Likewise.
31794 (La_regs): Likewise.
31795 (La_retval): Likewise.
31796 (int_retval): Likewise.
31797 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31799 (pltexit): Likewise.
31800 (La_regs): Likewise.
31801 (La_retval): Likewise.
31802 (int_retval): Likewise.
31803 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31804 macro definitions in tst-audit.h.
31805 * sysdeps/i386/tst-audit.h: New file.
31806 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31807 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31808 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31809 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31810 * sysdeps/sh/tst-audit.h: Likewise.
31811 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31812 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31813 * sysdeps/x86_64/tst-audit.h: Likewise.
31815 2012-07-26 Andreas Jaeger <aj@suse.de>
31817 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31820 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31821 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31822 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31824 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31825 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31826 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31828 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31831 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31833 (si_call_addr, si_syscall, si_arch): Define new macro.
31834 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31836 (si_call_addr, si_syscall, si_arch): Define new marcro.
31837 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31839 (si_call_addr, si_syscall, si_arch): Define new macro.
31840 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31842 (si_call_addr, si_syscall, si_arch): Define new macro.
31844 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31847 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31848 Change to 2.4.21 where previously 2.4.1.
31849 * sysdeps/unix/sysv/linux/configure: Regenerated.
31850 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31851 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31852 Linux kernel version.
31853 (__ASSUME_STD_AUXV): Remove.
31854 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31856 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31857 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31858 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31859 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31860 (__ASSUME_NETLINK_SUPPORT): Likewise.
31861 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31862 (__no_netlink_support): Remove conditional definition.
31863 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31865 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31866 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31867 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31868 (if_nameindex_ioctl): Remove.
31869 (if_nameindex_netlink): Do not handle __no_netlink_support.
31870 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31872 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31873 Remove conditional code.
31874 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31876 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31878 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31879 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31880 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31882 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31883 [!__ASSUME_STD_AUXV]: Remove conditional code.
31884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31885 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31886 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31888 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31889 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31891 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31893 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31894 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31896 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31898 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31901 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31904 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31905 code unconditional.
31906 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31908 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31910 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31913 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31915 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31918 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31919 code unconditional.
31920 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31922 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31924 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31927 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31928 code unconditional.
31929 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31931 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31933 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31936 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31938 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31939 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31940 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31941 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31942 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31943 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31944 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31945 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31946 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31947 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31948 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31949 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31950 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31951 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31952 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31953 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31954 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31955 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31956 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31958 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31959 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31960 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31962 2012-07-25 Florian Weimer <fweimer@redhat.com>
31964 * Versions.def: Add GLIBC_2.17.
31965 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31966 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31967 Introduce __libc_secure_getenv.
31968 * stdlib/Versions (2.17): Add secure_getenv
31969 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31970 * stdlib/secure-getenv.c: Rename __secure_getenv to
31971 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31972 symbol __secure_getenv for GLIBC_2.0.
31973 * stdlib/tst-secure-getenv.c: New.
31974 * stdlib/Makefile (tests): Add testcase.
31975 * manual/startup.texi (Environment Access): Document
31977 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31978 __libc_secure_getenv.
31979 * inet/ruserpass.c (ruserpass): Likewise.
31980 * malloc/mtrace.c (mtrace): Likewise.
31981 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31982 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31983 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31984 * sysdeps/posix/tempname.c: Likewise. Evaluate
31985 HAVE_SECURE_GETENV.
31986 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31987 __secure_getenv to __libc_secure_getenv.
31988 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31995 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32001 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32003 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32004 (struct La_i86_retval): Likewise.
32005 (struct La_x86_64_regs): Likewise.
32006 (struct La_x86_64_retval): Likewise.
32007 (struct La_x32_regs): Likewise.
32008 (struct La_x32_retval): Likewise.
32009 (struct La_ppc32_regs): Likewise.
32010 (struct La_ppc32_retval): Likewise.
32011 (struct La_ppc64_regs): Likewise.
32012 (struct La_ppc64_retval): Likewise.
32013 (struct La_sh_regs): Likewise.
32014 (struct La_sh_retval): Likewise.
32015 (struct La_s390_32_regs): Likewise.
32016 (struct La_s390_32_retval): Likewise.
32017 (struct La_s390_64_regs): Likewise.
32018 (struct La_s390_64_retval): Likewise.
32019 (struct La_sparc32_regs): Likewise.
32020 (struct La_sparc32_retval): Likewise.
32021 (struct La_sparc64_regs): Likewise.
32022 (struct La_sparc64_retval): Likewise.
32023 (struct audit_ifaces): Remove architecture-specific pltenter and
32025 * sysdeps/i386/ldsodefs.h: New file.
32026 * sysdeps/powerpc/ldsodefs.h: Likewise.
32027 * sysdeps/s390/ldsodefs.h: Likewise.
32028 * sysdeps/sh/ldsodefs.h: Likewise.
32029 * sysdeps/sparc/ldsodefs.h: Likewise.
32030 * sysdeps/x86_64/ldsodefs.h: Likewise.
32032 2012-07-25 Marek Polacek <polacek@redhat.com>
32035 * math/libm-test.inc (yn_test): Add another test.
32036 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32037 to ERANGE when the result is +-Inf.
32038 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32039 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32040 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32041 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32043 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32045 * conform/data/time.h-data (NULL): Use macro-constant. Require
32047 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32049 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32051 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32053 * configure.in <sysdeps resolving>: Correct printing
32055 * configure: Regenerate.
32057 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32059 * math/w_ilogb.c: Include <limits.h>.
32060 * math/w_ilogbl.c: Likewise.
32062 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32064 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32065 va_copy. Document allowing for unavailable va_copy only as
32066 pre-C99 compatibility.
32067 * manual/string.texi (Copying and Concatenation): Use va_copy
32068 instead of __va_copy in concat example.
32070 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32072 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32073 (__sendto): Use create_address_port. Initialize APORT and deallocate
32076 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32077 with O_NOLINK passed to __file_name_lookup.
32079 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32080 with O_NOLINK passed to __file_name_lookup.
32082 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32083 negative N or less than NGIDS.
32085 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32086 type to string_t. Set ERANGE as errno and return it if NAME is not big
32087 enough. Use memcpy instead of strncpy.
32089 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32091 * elf/Makefile (check-data): Remove.
32092 (localplt.data): New vpath directive.
32093 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32094 instead of $(check-data).
32095 * scripts/data/localplt-generic.data: Move to ...
32096 * sysdeps/generic/localplt.data: ... here.
32097 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32098 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32099 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32102 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32105 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32108 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32111 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32114 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32118 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32120 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32121 PPC32 and PPC64 files.
32122 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32123 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32125 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32127 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32128 __makecontext_ret to ...
32129 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32130 ... here and call exit if uc_link is NULL. New file.
32131 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32132 __makecontext_ret.S.
32133 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32134 __makecontext_ret to ...
32135 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32136 ... here and call exit if uc_link is NULL. New file.
32137 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32138 __makecontext_ret.S.
32140 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32142 * elf/elf.h (R_390_IRELATIVE): New definition.
32143 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32144 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32145 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32146 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32147 (elf_machine_lazy_rel): Likewise.
32148 * sysdeps/s390/dl-irel.h: New file.
32149 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32150 * sysdeps/s390/s390-64/memset.S: New asm code.
32151 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32152 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32153 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32154 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32155 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32156 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32157 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32158 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32159 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32160 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32161 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32162 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32163 * sysdeps/s390/s390-32/memset.S: New asm code.
32164 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32166 2012-07-17 Marek Polacek <polacek@redhat.com>
32169 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32170 * sysdeps/s390/s390-64/configure.in: Likewise.
32171 * sysdeps/sparc/configure.in: Likewise.
32172 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32173 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32174 * sysdeps/i386/configure.in: Likewise.
32175 * sysdeps/x86_64/configure.in: Likewise.
32176 * sysdeps/sh/configure.in: Likewise.
32177 * sysdeps/s390/s390-32/configure: Regenerated.
32178 * sysdeps/s390/s390-64/configure: Likewise.
32179 * sysdeps/x86_64/configure: Likewise.
32180 * sysdeps/sh/configure: Likewise.
32181 * sysdeps/powerpc/powerpc64/configure: Likewise.
32182 * sysdeps/powerpc/powerpc32/configure: Likewise.
32183 * sysdeps/sparc/configure: Likwise.
32184 * sysdeps/i386/configure: Likewise.
32186 * elf/dl-open.c: Comment fixes.
32188 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32190 * Makefile [CXX] (check-data): Remove.
32191 [CXX] (c++-types.data): New vpath directive.
32192 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32193 vpath. Do not allow for C++ type data being missing.
32194 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32195 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32196 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32197 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32198 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32199 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32200 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32203 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32206 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32209 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32212 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32215 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32218 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32221 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32224 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32225 definitions to architecture-specific files.
32226 (TLS_IE): Likewise.
32227 (TLS_LD): Likewise.
32228 (TLS_GD): Likewise.
32229 * sysdeps/i386/tls-macros.h: New file.
32230 * sysdeps/powerpc/tls-macros.h: Likewise.
32231 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32232 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32233 * sysdeps/sh/tls-macros.h: Likewise.
32234 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32235 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32236 * sysdeps/x86_64/tls-macros.h: Likewise.
32238 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32240 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32241 zero value for regular exit case.
32243 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32244 (__start_context): Preserve zero value for regular exit case.
32246 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32247 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32249 * manual/setjmp.texi (setcontext): Clarify normal process
32250 termination when uc_link is the null pointer.
32251 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32254 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32256 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32257 preprocessor. Test for each exception mask separately.
32259 2012-07-16 Andreas Jaeger <aj@suse.de>
32261 * po/ru.po: Update from translation team.
32263 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32265 * conform/data/string.h-data (NULL): Use macro-constant. Require
32267 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32268 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32269 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32270 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32271 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32273 2012-07-13 Andreas Jaeger <aj@suse.de>
32275 * po/fr.po: Update from translation team.
32277 2012-07-12 Marek Polacek <polacek@redhat.com>
32280 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32281 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32284 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32287 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32288 Change to 2.4.1 where previously 2.4.0.
32289 * sysdeps/unix/sysv/linux/configure: Regenerated.
32290 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32291 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32293 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32294 (__ASSUME_AT_CLKTCK): Remove.
32295 (__ASSUME_AT_PAGESIZE): Likewise.
32296 (__ASSUME_AT_XID): Likewise.
32297 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32298 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32299 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32301 (HAVE_AUX_PAGESIZE): Likewise.
32302 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32303 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32304 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32306 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32310 the temporary buffer used to invoke __gethostbyname2_r,
32311 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32312 host_data / struct gaih_addrtuple.
32313 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32314 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32315 header file nss/nsswitch.h.
32316 * nss/nsswitch.h (global scope): Add definition of implementation
32317 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32318 resolv/nss_dns/dns-host.c).
32320 2012-07-11 Andreas Jaeger <aj@suse.de>
32322 * po/fr.po: Update from translation team.
32324 * po/sv.po: Update from translation team
32325 * po/fr.po: Another update from translation team.
32327 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32329 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32330 for subnormals or multiply small sinh result by itself.
32331 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32334 2012-07-11 David S. Miller <davem@davemloft.net>
32336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32338 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32341 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32342 (INTERNAL_MARK): Shift it here.
32344 2012-07-10 Marek Polacek <polacek@redhat.com>
32347 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32348 libc_cv_asm_global_directive with .globl.
32349 * configure: Regenerated.
32350 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32352 * sysdeps/i386/configure: Regenerated.
32353 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32355 * sysdeps/x86_64/configure: Regenerated.
32356 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32357 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32358 * elf/tst-unique2mod2.c: Likewise.
32359 * elf/tst-unique2mod1.c: Likewise.
32360 * elf/tst-unique1mod2.c: Likewise.
32361 * elf/tst-unique1mod1.c: Likewise.
32362 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32363 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32364 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32365 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32366 * sysdeps/mach/sysdep.h: Likewise.
32367 * sysdeps/i386/sysdep.h: Likewise.
32368 * sysdeps/i386/i386-mcount.S: Likewise.
32369 * sysdeps/x86_64/_mcount.S: Likewise.
32370 * sysdeps/x86_64/sysdep.h: Likewise.
32371 * sysdeps/sh/_mcount.S: Likewise.
32372 * sysdeps/sh/sysdep.h: Likewise.
32373 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32374 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32375 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32376 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32377 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32378 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32379 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32380 * locale/localeinfo.h: Likewise.
32381 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32382 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32384 2012-07-09 Roland McGrath <roland@hack.frob.com>
32387 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32389 * manual/message.texi (The Uniforum approach): Likewise.
32390 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32391 (glibc iconv Implementation): Likewise.
32393 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32396 * math/s_clog.c (__clog): Avoid scaling a value down where that
32397 could result in underflow.
32398 * math/s_clog10.c (__clog10): Likewise.
32399 * math/s_clog10f.c (__clog10f): Likewise.
32400 * math/s_clog10l.c (__clog10l): Likewise.
32401 * math/s_clogf.c (__clogf): Likewise.
32402 * math/s_clogl.c (__clogl): Likewise.
32403 * math/libm-test.inc (clog_test): Add more tests.
32404 (clog10_test): Likewise.
32405 * sysdeps/i386/fpu/libm-test-ulps: Update.
32406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32408 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32411 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32412 by 7 not 8 to examine high bit of fractional part.
32415 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32416 for call to __mcount_internal.
32417 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32418 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32419 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32421 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32424 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32425 approximation for values within 0x1p-13f of an odd multiple of
32427 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32428 exception. Add more tests.
32429 * sysdeps/i386/fpu/libm-test-ulps: Update.
32432 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32433 inputs and return -1 for them. Do not check for +Inf in case not
32434 reachable for +Inf.
32435 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32436 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32437 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32438 and return -1 for them. Do not check for +Inf in case not
32439 reachable for +Inf.
32440 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32442 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32443 and return -1 for them. Do not check for +Inf in case not
32444 reachable for +Inf.
32445 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32446 spurious underflow.
32447 * sysdeps/i386/fpu/libm-test-ulps: Update.
32448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32450 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32452 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32454 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32458 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32459 could result in spurious underflow. Scale down values above
32460 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32461 * math/s_csqrtf.c (__csqrtf): Likewise.
32462 * math/s_csqrtl.c (__csqrtl): Likewise.
32463 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32464 spurious underflow.
32465 * sysdeps/i386/fpu/libm-test-ulps: Update.
32466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32468 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32470 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32472 * catgets/xopen-msg.awk: New file.
32473 * catgets/xopen-msg.sed: Removed.
32475 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32477 * intl/po2test.awk: New file.
32478 * intl/po2test.sed: Removed.
32480 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32483 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32484 or multiply small sinh result by itself.
32485 * math/s_ctanf.c (__ctanf): Likewise.
32486 * math/s_ctanh.c (__ctanh): Likewise.
32487 * math/s_ctanhf.c (__ctanhf): Likewise.
32488 * math/s_ctanhl.c (__ctanhl): Likewise.
32489 * math/s_ctanl.c (__ctanl): Likewise.
32490 * math/libm-test.inc (ctan_test_tonearest): New function.
32491 (ctan_test_towardzero): Likewise.
32492 (ctan_test_downward): Likewise.
32493 (ctan_test_upward): Likewise.
32494 (ctanh_test_tonearest): Likewise.
32495 (ctanh_test_towardzero): Likewise.
32496 (ctanh_test_downward): Likewise.
32497 (ctanh_test_upward): Likewise.
32498 (main): Call these new functions.
32499 * sysdeps/i386/fpu/libm-test-ulps: Update.
32500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32502 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32504 * .gitignore: Delete /ports entry.
32506 2012-07-03 Andreas Jaeger <aj@suse.de>
32508 * po/bg.po: Update from translation team.
32509 * po/cs.po: Likewise.
32510 * po/de.po: Likewise.
32511 * po/hr.po: Likewise.
32512 * po/nl.pl: Likewise.
32513 * po/pl.po: Likewise.
32514 * po/vi.po: Likewise.
32516 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32518 * Makeconfig [!+link] (+link-before-libc): New variable.
32519 [!+link] (+link-after-libc): Likewise.
32520 [!+link] (+link-tests): Likewise.
32521 [!+link] (+link): Define in terms of $(+link-before-libc) and
32522 $(+link-after-libc).
32523 [!+link-static] (+link-static-before-libc): New variable.
32524 [!+link-static] (+link-static-after-libc): Likewise.
32525 [!+link-static] (+link-static-tests): Likewise.
32526 [!+link-static] (+link-static): Define in terms of
32527 $(+link-static-before-libc) and $(+link-static-after-libc).
32528 [build-shared] (link-libc-before-gnulib): New variable.
32529 [build-shared] (link-libc-tests): Likewise.
32530 [build-shared] (link-libc): Define in terms of
32531 $(link-libc-before-gnulib).
32532 [!build-shared] (link-libc-tests): New variable.
32533 (link-libc-static-tests): New variable.
32534 [!gnulib] (gnulib-arch): New variable.
32535 [!gnulib] (gnulib-tests): Likewise.
32536 [!gnulib] (static-gnulib-arch): Likewise.
32537 [!gnulib] (static-gnulib-tests): Likewise.
32538 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32539 Define with "=" instead of ":=".
32540 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32541 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32542 * Rules (binaries-all-notests): New variable.
32543 (binaries-all-tests): Likewise.
32544 (binaries-static-notests): Likewise.
32545 (binaries-static-tests): Likewise.
32546 (binaries-all): Define using $(binaries-all-notests) and
32547 $(binaries-all-tests).
32548 (binaries-static): Define using $(binaries-static-notests) and
32549 $(binaries-static-tests).
32550 (binaries-shared-tests): New variable.
32551 (binaries-shared-notests): Likewise.
32552 (binaries-shared): Remove variable.
32553 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32554 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32555 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32556 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32557 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32558 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32559 * elf/Makefile (sln-modules): New variable.
32560 (extra-objs): Add $(sln-modules:=.o).
32561 (ldconfig-modules): Add static-stubs.
32562 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32563 * elf/static-stubs.c: New file.
32566 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32567 by 7 not 8 to examine high bit of fractional part. Use volatile
32568 variables when splitting into final array of floats if
32569 __FLT_EVAL_METHOD__ != 0.
32570 * math/libm-test.inc (cos_test): Add another test.
32571 (sin_test): Likewise.
32572 * sysdeps/i386/fpu/libm-test-ulps: Update.
32575 * math/libm-test.inc (cosh_test): Add more tests.
32577 * version.h (RELEASE): Set to "development".
32578 (VERSION): Set to "2.16.90".
32580 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32582 * NEWS: Update copyright. Remove last-updated date.
32583 Mention math library bug fixes and timezone data changes.
32584 * README: Mention GNU/Hurd, x32, and HPPA support status.
32586 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32588 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32590 2012-06-27 Andreas Jaeger <aj@suse.de>
32592 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32594 2012-06-25 Andreas Jaeger <aj@suse.de>
32596 * sysdeps/s390/fpu/libm-test-ulps: Update.
32598 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32599 Thomas Schwinge <thomas@codesourcery.com>
32601 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32602 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32603 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32606 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32608 * sysdeps/mach/start.c: Remove file.
32609 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32610 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32611 * sysdeps/sh/init-first.c: Likewise.
32613 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32614 registers for frame unwinding purposes, add CFI directives.
32615 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32616 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32617 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32620 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32621 __fortify_fail returning.
32622 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32624 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32625 sysdeps/sh/____longjmp_chk.S.
32626 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32627 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32628 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32629 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32631 * sysdeps/sh/abort-instr.h: New file.
32632 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32633 process in case exit returns.
32635 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32636 initialize the GOT register before use.
32638 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32639 calculation of ARGC > 4.
32641 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32642 meaningful names to some local labels.
32644 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32645 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32647 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32648 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32649 (__arch_compare_and_exchange_val_16_acq): Likewise.
32650 (__arch_compare_and_exchange_val_32_acq): Likewise.
32651 (atomic_exchange_and_add): Fix gUSA sequence.
32652 (atomic_add): Likewise.
32653 (atomic_add_negative): Likewise.
32654 (atomic_add_zero): Likewise.
32655 (atomic_bit_test_set): Likewise.
32657 2012-06-22 Andreas Schwab <schwab@redhat.com>
32660 * include/link.h (struct link_map): Add l_free_initfini.
32661 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32663 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32664 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32665 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32668 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32670 * configure.in: Use AC_LANG_SOURCE.
32671 * configure: Regenerate.
32673 2012-06-22 Roland McGrath <roland@hack.frob.com>
32675 * configure.in (libc_cv_localstatedir): New substituted variable.
32676 * configure: Regenerated.
32677 * config.make.in (localstatedir): New variable, substituted from
32678 libc_cv_localstatedir.
32679 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32680 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32681 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32682 * sysdeps/gnu/configure: Regenerated.
32684 2012-06-21 Jeff Law <law@redhat.com>
32687 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32688 free. Simplify list management for _LIBC case.
32690 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32693 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32694 Clear sign bit of 64-bit integer value before comparing against
32697 * sysdeps/mach/configure: Regenerated.
32699 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32702 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32704 2012-06-21 Jeff Law <law@redhat.com>
32707 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32708 uint16_t for elements in the "seen" array to avoid char overflows.
32709 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32710 * elf/dl-open.c (dl_open_worker): Likewise.
32712 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32714 * scripts/list-sources.sh: Scan PORTS for translations.
32715 * po/libc.pot: Regenerated.
32717 2012-06-21 Andreas Jaeger <aj@suse.de>
32720 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32722 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32723 * bits/byteswap-16.h (__bswap_16): Likewise.
32724 * bits/byteswap.h (__bswap_constant_16): Likewise.
32726 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32729 * sysdeps/i386/fpu_control.h: Removed.
32730 * sysdeps/x86_64/fpu_control.h: Moved to ...
32731 * sysdeps/x86/fpu_control.h: Here.
32733 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32734 (_FPU_SETCW): Likewise.
32736 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32739 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32740 * sysdeps/x86/fpu/bits/mathinline.h: This.
32741 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32745 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32746 functions if __x86_64__ is defined.
32748 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32750 * string/endian.h: Add !__ASSEMBLER__ condition for including
32751 conversion interfaces.
32753 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32756 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32757 of ABS(x) in calculating zero to negative powers other than odd
32759 * math/libm-test.inc (pow_test): Add more tests.
32761 2012-06-15 Andreas Jaeger <aj@suse.de>
32763 * manual/contrib.texi (Contributors): Update entry of Liubov
32764 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32767 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32769 * string/string.h: Add __wur to GNU version of strerror_r.
32771 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32774 * string/Makefile (tests): Add tst-strtok_r.
32775 * string/tst-strtok_r.c: New file.
32776 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32777 RAX_LP/RDX_LP on SAVE_PTR.
32779 2012-06-14 Roland McGrath <roland@hack.frob.com>
32781 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32783 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32785 * libm_test.inc (csqrt_test): Allow more spurious underflow
32787 (j0_test): Likewise.
32788 (j1_test): Likewise.
32789 (y0_test): Likewise.
32790 (y1_test): Likewise.
32792 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32794 * po/Makefile (libc.pot): Use UTF-8 charset.
32796 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32799 Suppress sign-conversion warning from FD_SET.
32800 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32801 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32802 not unsigned long int.
32803 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32805 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32809 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32810 __extern_always_inline instead of __extern_inline.
32811 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32812 (__signbit): Likewise.
32813 (__signbitl): Support C++ namespace.
32814 (lrintf): New inline function.
32816 (llrintf): Likewise.
32817 (llrint): Likewise.
32827 (floorf): Likewise.
32828 (nearbyint): Likewise.
32829 (nearbyintf): Likewise.
32831 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32833 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32834 non-default versions.
32836 2012-06-11 Roland McGrath <roland@hack.frob.com>
32839 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32841 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32843 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32844 (FE_UPWARD, FE_DOWNWARD): Don't define.
32845 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32846 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32848 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32850 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32851 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32853 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32855 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32856 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32857 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32858 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32860 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32863 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32864 * sysdeps/i386/fpu/Implies: New file.
32865 * sysdeps/x86_64/fpu/Implies: Likewise.
32866 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32867 * sysdeps/x86/fpu/bits/fenv.h: This.
32869 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32872 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32875 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32876 character 0xffff that matches the last element of the
32879 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32881 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32884 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32886 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32887 values higher than 25.6283.
32889 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32891 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32892 subnormal exponent extraction and add some __builtin_expect.
32893 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32894 Fix for subnormal mantissa calculation.
32896 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32898 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32899 cpu2 is -1 and errno is not ENOSYS.
32901 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32904 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32905 * sysdeps/x86/bits/string.h: This.
32906 * sysdeps/x86_64/bits/string.h: Removed.
32908 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32909 if not compiling for x86-64, but compiling for >= i486.
32911 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32912 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32914 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32915 New macro from Linux kernel 3.4.0.
32916 (FP_XSTATE_MAGIC2): Likewise.
32917 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32918 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32919 (struct _fpx_sw_bytes): New struct.
32920 (struct _xsave_hdr): Likewise.
32921 (struct _ymmh_state): Likewise.
32922 (struct _xstate): Likewise.
32924 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32925 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32926 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32927 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32928 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32929 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32931 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32932 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32933 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32934 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32935 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32936 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32938 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32941 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32942 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32943 (sysdep_headers): Include sys/platform/ppc.h.
32944 * sysdeps/powerpc/test-gettimebase.c: Test for
32945 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32946 * manual/Makefile (appendices): Include platform.texi.
32947 * manual/contrib.texi (Contributors): Update @node pointers.
32948 * manual/maint.texi (Maintenance): Likewise.
32949 (Platform): New node.
32950 * manual/platform.texi: New file. Document the new features.
32952 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32953 Jakub Jelinek <jakub@redhat.com>
32956 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32957 where __builtin_expect is unavailable.
32959 2012-06-03 David S. Miller <davem@davemloft.net>
32961 * stdlib/longlong.h: Updated from GCC.
32963 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32966 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32967 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32970 (GLIBC_2.16): Likewise.
32972 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32974 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32976 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32979 (default-abi): New variable.
32980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32981 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32983 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32985 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32987 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32990 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32991 definition. Document in comment.
32993 2012-06-01 David S. Miller <davem@davemloft.net>
32995 * stdlib/longlong.h: Updated from GCC.
32997 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33000 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33001 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33002 sys/debugreg.h sys/io.h here.
33003 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33004 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33006 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33007 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33008 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33009 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33010 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33011 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33013 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33014 Define only if __x86_64__ is defined.
33016 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33019 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33020 Use int64_t for variable i.
33021 * math/libm-test.inc (fmod_test): Add more tests.
33023 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33024 z computation is not scheduled after fetestexcept.
33025 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33026 Use math_force_eval instead of asm to ensure calculation scheduled
33027 before exception test.
33028 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33029 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33031 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33034 computation is not scheduled after fetestexcept.
33036 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33039 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33040 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33042 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33044 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33045 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33047 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33050 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33052 (__WCHAR_MIN): Support __WORDSIZE == 64.
33053 (__WCHAR_MAX): Likewise.
33055 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33056 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33059 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33060 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33063 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33064 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33066 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33067 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33069 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33070 Defined to 1 if __x86_64__ isn't defined.
33071 (_STAT_VER_LINUX_OLD): New.
33072 (st_atime): Remove duplicate.
33073 (st_mtime): Likewise.
33074 (st_ctime): Likewise.
33076 2012-05-31 David S. Miller <davem@davemloft.net>
33078 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33081 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33083 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33087 * elf/dl-reloc.c: Include <_itoa.h>.
33088 (_dl_reloc_bad_type): Remove use of INTUSE.
33089 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33090 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33091 * stdio-common/psiginfo.c (psiginfo): Likewise.
33092 * stdio-common/psignal.c (psignal): Likewise.
33093 * string/strsignal.c (strsignal): Likewise.
33094 * include/signal.h (_sys_siglist): Declare hidden proto.
33095 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33096 INTVARDEF with libc_hidden_data_def.
33097 * stdio-common/itoa-udigits.c: Likewise.
33098 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33099 (_itoa_lower_digits_internal): Remove declaration.
33100 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33101 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33102 (_sys_sigabbrev_internal): Remove aliases.
33103 (_sys_siglist): Define hidden alias.
33105 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33107 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33110 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33113 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33114 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33116 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33117 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33118 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33119 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33120 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33121 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33123 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33124 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33125 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33127 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33135 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33136 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33137 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33139 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33140 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33141 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33142 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33143 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33144 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33146 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33147 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33149 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33150 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33152 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33153 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33154 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33156 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33157 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33159 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33161 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33162 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33163 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33165 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33167 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33169 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33171 * math/math.h (M_El): Use two more decimal places.
33172 (M_LOG2El): Likewise.
33173 (M_LOG10El): Likewise.
33174 (M_LN2l): Likewise.
33175 (M_LN10l): Likewise.
33177 (M_PI_2l): Likewise.
33178 (M_PI_4l): Likewise.
33179 (M_1_PIl): Likewise.
33180 (M_2_PIl): Likewise.
33181 (M_2_SQRTPIl): Likewise.
33182 (M_SQRT2l): Likewise.
33183 (M_SQRT1_2l): Likewise.
33185 2012-05-31 David S. Miller <davem@davemloft.net>
33187 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33188 values between float registers.
33189 * sysdeps/sparc/sparc64/memset.S: Likewise.
33190 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33192 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33194 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33195 -D_FORTIFY_SOURCE=1.
33196 (CPPFLAGS-tst-longjmp_chk.c): Define.
33197 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33198 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33199 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33200 CFLAGS-tst-wchar-h.c.
33202 2012-05-31 Marek Polacek <polacek@redhat.com>
33205 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33206 __endmntent_internal): Remove declaration.
33207 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33208 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33209 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33211 2012-05-30 David S. Miller <davem@davemloft.net>
33213 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33214 (___Q_simulate_exceptions): Use real FP ops rather than writing
33216 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33219 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33222 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33223 * sysdeps/x86/bits/xtitypes.h: This.
33225 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33226 * sysdeps/x86/bits/wordsize.h: This.
33228 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33229 * sysdeps/x86/bits/huge_vall.h: This.
33231 * sysdeps/i386/bits/select.h: Removed.
33232 * sysdeps/x86_64/bits/select.h: Renamed to ...
33233 * sysdeps/x86/bits/select.h: This.
33235 * sysdeps/i386/bits/setjmp.h: Removed.
33236 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33237 * sysdeps/x86/bits/setjmp.h: This.
33239 * sysdeps/i386/bits/mathdef.h: Removed.
33240 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33241 * sysdeps/x86/bits/mathdef.h: This.
33243 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33246 * include/sys/socket.h (__connect_internal)
33247 (__libc_sa_len_internal): Remove declaration.
33248 (__connect, __libc_sa_len): Declare hidden_proto.
33249 (SA_LEN): Remove use of INTUSE.
33250 * socket/connect.c: Add libc_hidden_def.
33251 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33252 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33253 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33255 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33256 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33257 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33258 of adding _internal alias.
33260 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33263 * sysdeps/i386/bits/link.h: Removed.
33264 * sysdeps/i386/bits/linkmap.h: Likewise.
33265 * sysdeps/x86_64/bits/link.h: Renamed to ...
33266 * sysdeps/x86/bits/link.h: This.
33267 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33268 * sysdeps/x86/bits/linkmap.h: This.
33270 * sysdeps/i386/bits/endian.h: Removed.
33271 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33272 * sysdeps/x86/bits/endian.h: This.
33274 * sysdeps/i386/bits/byteswap.h: Removed.
33275 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33276 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33277 * sysdeps/x86/bits/byteswap.h: This.
33278 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33279 * sysdeps/x86/bits/byteswap-16.h: This.
33280 * sysdeps/i386/Implies: Add x86.
33281 * sysdeps/x86_64/Implies: Likewise.
33283 2012-05-30 David S. Miller <davem@davemloft.net>
33285 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33286 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33287 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33288 (FP_TRAPPING_EXCEPTIONS): Define.
33289 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33290 (FP_TRAPPING_EXCEPTIONS): Define.
33291 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33292 subnormals only when inexact has been signalled or underflow
33293 exceptions are enabled.
33294 (_FP_PACK_CANONICAL): Likewise.
33296 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33299 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33300 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33302 2012-05-30 Richard Henderson <rth@twiddle.net>
33304 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33305 with #ifndef NOT_IN_libc.
33307 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33308 marked to avoid plt entry.
33310 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33313 * Makeconfig (default-abi): New macro.
33314 (abi-includes): Likewise.
33315 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33316 $(abi-$(default-abi)-lib-soname) for soname if defined.
33317 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33319 * Makefile (installed-stubs): Likewise.
33320 * include/stubs-biarch.h: Removed.
33321 * scripts/lib-names.awk: Only handle one library at a time.
33322 * scripts/soversions.awk: Remove WORDSIZE support.
33323 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33325 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33327 (syscall-list-default-condition): Likewise.
33328 (syscall-list-default-condition): Likewise.
33329 (syscall-list-includes): Likewise.
33330 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33331 syscall-list-* with abi-*. Handle undefined abi-variants.
33332 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33333 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33334 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33335 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33336 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33337 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33339 (syscall-list-32-options): Likewise.
33340 (syscall-list-32-condition): Likewise.
33341 (syscall-list-64-options): Likewise.
33342 (syscall-list-64-condition): Likewise.
33343 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33345 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33348 (abi-64-ld-soname): New macro.
33349 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33350 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33353 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33354 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33356 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33358 * sysdeps/unix/sysv/linux/kernel-features.h
33359 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33360 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33361 include <kernel-features.h>.
33362 [!__NR_ftruncate64]: Remove conditional code.
33363 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33364 [__NR_ftruncate64]: Make code unconditional.
33365 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33366 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33367 include <kernel-features.h>.
33368 [!__NR_ftruncate64]: Remove conditional code.
33369 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33370 [__NR_ftruncate64]: Make code unconditional.
33371 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33373 include <kernel-features.h>.
33374 [!__NR_ftruncate64]: Remove conditional code.
33375 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33376 [__NR_ftruncate64]: Make code unconditional.
33377 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33379 include <kernel-features.h>.
33380 [!__NR_ftruncate64]: Remove conditional code.
33381 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33382 [__NR_ftruncate64]: Make code unconditional.
33383 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33385 * configure.in (libc_cv_fpie): Weaken to a compile test using
33386 LIBC_TRY_CC_OPTION.
33387 * configure: Regenerated.
33389 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33404 2012-05-27 David S. Miller <davem@davemloft.net>
33406 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33408 (__Q_simulate_exceptions): Return void. Change to simulate
33409 exceptions by writing into the %fsr.
33410 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33411 (__Qp_handle_exceptions): Likewise.
33413 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33414 __Qp_handle_exceptions.
33415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33416 __Qp_handle_exceptions.
33417 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33418 as unused and give dummy FP_RND_NEAREST initializer.
33419 (FP_INHIBIT_RESULTS): Define.
33420 (___Q_simulate_exceptions): Update declaration.
33421 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33423 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33424 as unused and give dummy FP_RND_NEAREST initializer.
33425 (__Qp_handle_exceptions): Update declaration.
33426 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33429 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33431 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33432 the temporary FPU control word.
33433 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33434 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33435 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33436 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33437 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33438 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33439 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33440 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33441 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33442 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33443 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33445 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33447 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33450 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33452 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33453 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33454 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33455 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33457 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33458 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33461 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33463 * po/h.po: Update from translation team.
33465 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33467 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33469 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33470 handling of denormals.
33471 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33472 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33473 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33474 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33475 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33476 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33477 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33480 2012-05-26 Marek Polacek <polacek@redhat.com>
33483 * math/libm-test.inc (fma_test): Don't always expect underflow
33486 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33489 * elf/tst-execstack.c: Include stackinfo.h.
33490 (do_test): Adjust test case to ensure that pthread_getattr_np
33491 behaviour remains the same after marking stack executable.
33493 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33495 * sysdeps/unix/sysv/linux/kernel-features.h
33496 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33497 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33499 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33500 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33501 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33503 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33504 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33506 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33508 * configure.in: Define the default includes to being none.
33509 * configure: Regenerated.
33511 2012-05-25 Roland McGrath <roland@hack.frob.com>
33513 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33514 * sysdeps/x86_64/setjmp.S: Likewise.
33515 * sysdeps/i386/bsd-setjmp.S: Likewise.
33516 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33517 * sysdeps/i386/setjmp.S: Likewise.
33518 * sysdeps/i386/__longjmp.S: Likewise.
33519 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33520 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33522 * include/stap-probe.h: New file.
33523 * configure.in: Handle --enable-systemtap.
33524 * configure: Regenerated.
33525 * config.h.in (USE_STAP_PROBE): New #undef.
33526 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33527 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33528 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33530 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33533 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33534 to 2.4.0 where earlier.
33535 * sysdeps/unix/sysv/linux/configure: Regenerated.
33536 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
33545 [__ASSUME_32BITUIDS]: Make code unconditional.
33546 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33547 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33548 <kernel-features.h>.
33549 [__ASSUME_32BITUIDS]: Make code unconditional.
33550 [!__ASSUME_32BITUIDS]: Remove conditional code.
33551 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33552 <kernel-features.h>.
33553 [__ASSUME_32BITUIDS]: Make code unconditional.
33554 [!__ASSUME_32BITUIDS]: Remove conditional code.
33555 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33556 <kernel-features.h>.
33557 [__ASSUME_32BITUIDS]: Make code unconditional.
33558 [!__ASSUME_32BITUIDS]: Remove conditional code.
33559 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33560 <kernel-features.h>.
33561 [__ASSUME_32BITUIDS]: Make code unconditional.
33562 [!__ASSUME_32BITUIDS]: Remove conditional code.
33563 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33564 <kernel-features.h>.
33565 [__ASSUME_32BITUIDS]: Make code unconditional.
33566 [!__ASSUME_32BITUIDS]: Remove conditional code.
33567 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33568 <kernel-features.h>.
33569 [__ASSUME_32BITUIDS]: Make code unconditional.
33570 [!__ASSUME_32BITUIDS]: Remove conditional code.
33571 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33572 <kernel-features.h>.
33573 [__ASSUME_32BITUIDS]: Make code unconditional.
33574 [!__ASSUME_32BITUIDS]: Remove conditional code.
33575 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33576 <kernel-features.h>.
33577 [__ASSUME_32BITUIDS]: Make code unconditional.
33578 [!__ASSUME_32BITUIDS]: Remove conditional code.
33579 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33580 <kernel-features.h>.
33581 [__ASSUME_32BITUIDS]: Make code unconditional.
33582 [!__ASSUME_32BITUIDS]: Remove conditional code.
33583 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33584 <kernel-features.h>.
33585 [__ASSUME_32BITUIDS]: Make code unconditional.
33586 [!__ASSUME_32BITUIDS]: Remove conditional code.
33587 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33588 <kernel-features.h>.
33589 [__NR_setresgid] (__setresgid): Do not declare.
33590 [__ASSUME_32BITUIDS]: Make code unconditional.
33591 [!__ASSUME_32BITUIDS]: Remove conditional code.
33592 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33593 <kernel-features.h>.
33594 [__NR_setresuid] (__setresuid): Do not declare.
33595 [__ASSUME_32BITUIDS]: Make code unconditional.
33596 [!__ASSUME_32BITUIDS]: Remove conditional code.
33597 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33598 <kernel-features.h>.
33599 [__ASSUME_32BITUIDS]: Make code unconditional.
33600 [!__ASSUME_32BITUIDS]: Remove conditional code.
33601 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33602 <kernel-features.h>.
33603 [__ASSUME_32BITUIDS]: Make code unconditional.
33604 [!__ASSUME_32BITUIDS]: Remove conditional code.
33605 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33606 <kernel-features.h>.
33607 [__ASSUME_32BITUIDS]: Make code unconditional.
33608 [!__ASSUME_32BITUIDS]: Remove conditional code.
33609 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33610 <kernel-features.h>.
33611 [__ASSUME_32BITUIDS]: Make code unconditional.
33612 [!__ASSUME_32BITUIDS]: Remove conditional code.
33613 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33614 <kernel-features.h>.
33615 [__ASSUME_32BITUIDS]: Make code unconditional.
33616 [!__ASSUME_32BITUIDS]: Remove conditional code.
33617 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33618 <kernel-features.h>.
33619 [__ASSUME_32BITUIDS]: Make code unconditional.
33620 [!__ASSUME_32BITUIDS]: Remove conditional code.
33621 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33622 <kernel-features.h>.
33623 [__ASSUME_32BITUIDS]: Make code unconditional.
33624 [!__ASSUME_32BITUIDS]: Remove conditional code.
33625 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33626 <kernel-features.h>.
33627 [__ASSUME_32BITUIDS]: Make code unconditional.
33628 [!__ASSUME_32BITUIDS]: Remove conditional code.
33629 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33630 <kernel-features.h>.
33631 [__ASSUME_32BITUIDS]: Make code unconditional.
33632 [!__ASSUME_32BITUIDS]: Remove conditional code.
33633 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33634 <kernel-features.h>.
33635 [__ASSUME_32BITUIDS]: Make code unconditional.
33636 [!__ASSUME_32BITUIDS]: Remove conditional code.
33637 * sysdeps/unix/sysv/linux/kernel-features.h
33638 (__ASSUME_SETRESUID_SYSCALL): Remove.
33639 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33640 (__ASSUME_32BITUIDS): Likewise.
33641 (__ASSUME_LDT_WORKS): Likewise.
33642 (__ASSUME_O_DIRECTORY): Likewise.
33643 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33644 architecture but not kernel version.
33645 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33646 (__ASSUME_MMAP2_SYSCALL): Likewise.
33647 (__ASSUME_STAT64_SYSCALL): Likewise.
33648 (__ASSUME_IPC64): Likewise.
33649 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33650 <kernel-features.h>.
33651 [__ASSUME_32BITUIDS]: Make code unconditional.
33652 [!__ASSUME_32BITUIDS]: Remove conditional code.
33653 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33654 <kernel-features.h>.
33655 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33656 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33657 132096]: Remove conditional code.
33658 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33659 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33660 <kernel-features.h>.
33661 [__ASSUME_32BITUIDS]: Make code unconditional.
33662 [!__ASSUME_32BITUIDS]: Remove conditional code.
33663 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33664 <kernel-features.h>.
33665 [__ASSUME_32BITUIDS]: Make code unconditional.
33666 [!__ASSUME_32BITUIDS]: Remove conditional code.
33667 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33668 <kernel-features.h>.
33669 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33671 (__setresgid): Do not declare.
33672 [__ASSUME_32BITUIDS]: Make code unconditional.
33673 [!__ASSUME_32BITUIDS]: Remove conditional code.
33674 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33675 <kernel-features.h>.
33676 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33678 (__setresuid): Do not declare.
33679 [__ASSUME_32BITUIDS]: Make code unconditional.
33680 [!__ASSUME_32BITUIDS]: Remove conditional code.
33681 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33682 <kernel-features.h>.
33683 [__ASSUME_32BITUIDS]: Make code unconditional.
33684 [!__ASSUME_32BITUIDS]: Remove conditional code.
33685 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33686 <kernel-features.h>.
33687 [__ASSUME_32BITUIDS]: Make code unconditional.
33688 [!__ASSUME_32BITUIDS]: Remove conditional code.
33690 2012-05-25 Richard Henderson <rth@twiddle.net>
33692 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33693 dl_hwcap to ifunc resolver.
33694 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33696 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33697 dl_hwcap to ifunc resolver.
33698 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33700 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33703 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33704 for |x| <= 2**-26, not 2**-57.
33705 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33708 2012-05-24 Jeff Law <law@redhat.com>
33710 * stdio-common/Makefile (tests): Add bug25.
33711 * stdio-common/bug25.c: New test.
33713 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33716 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33717 multiple of MALLOC_ALIGNMENT in size.
33718 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33720 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33722 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33724 (FILENAME_MAX): Use macro-int-constant.
33725 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33726 (_IOFBF): Use macro-int-constant.
33727 (_IOLBF): Likewise.
33728 (_IONBF): Likewise.
33729 (SEEK_CUR): Likewise.
33730 (SEEK_END): Likewise.
33731 (SEEK_SET): Likewise.
33732 (TMP_MAX): Likewise.
33733 (EOF): Use macro-int-constant. Require < 0.
33734 (NULL): Use macro-constant. Require == 0.
33735 (stdin): Require type to be FILE *.
33736 (stdout): Likewise.
33737 (stderr): Likewise.
33738 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33739 macro-int-constant.
33740 (EXIT_SUCCESS): Likewise.
33741 (NULL): Use macro-constant. Require == 0.
33742 (RAND_MAX): Use macro-int-constant.
33743 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33744 [C99-based standards] (strtof): Require function.
33745 [C99-based standards] (strtold): Likewise.
33746 [C99-based standards] (strtoll): Likewise.
33747 [C99-based standards] (strtoull): Likewise.
33748 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33749 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33750 [ISO || ISO99 || ISO11] (math.h): Likewise.
33751 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33752 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33753 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33755 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33758 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33759 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33760 * intl/dgettext.c (DCGETTEXT): Likewise.
33761 * intl/gettext.c (DCGETTEXT): Likewise.
33762 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33763 * posix/regex_internal.h (gettext): Likewise.
33764 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33765 Remove declaration.
33766 * include/argz.h (__argz_count_internal)
33767 (__argz_stringify_internal): Remove declaration.
33768 (__argz_count, __argz_stringify): Declare hidden proto.
33769 * intl/dcgettext.c: Remove use of INTDEF.
33770 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33771 * string/argz-stringify.c: Likewise.
33772 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33773 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33774 Declare hidden proto.
33775 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33776 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33777 Declare hidden proto.
33778 * include/stdio.h (__asprintf_internal): Don't declare.
33779 (__asprintf): Don't define as macro. Declare hidden proto.
33780 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33781 (__fsetlocking): Declare hidden proto.
33782 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33783 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33785 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33786 (_IO_setlinebuf): Remove use of INTUSE.
33787 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33788 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33789 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33790 Remove declaration.
33791 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33792 (_IO_do_flush): Remove use of INTUSE.
33793 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33794 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33795 (_IO_adjust_column, _IO_least_wmarker)
33796 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33797 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33798 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33799 (_IO_default_doallocate, _IO_wdefault_doallocate)
33800 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33801 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33802 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33803 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33804 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33805 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33806 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33807 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33808 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33809 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33810 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33811 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33812 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33814 (_IO_flush_all_internal, _IO_adjust_column_internal)
33815 (_IO_default_uflow_internal, _IO_default_finish_internal)
33816 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33817 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33818 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33819 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33820 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33821 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33822 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33823 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33824 (_IO_file_close_internal, _IO_file_close_it_internal)
33825 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33826 (_IO_file_init_internal, _IO_file_attach_internal)
33827 (_IO_file_fopen_internal, _IO_file_read_internal)
33828 (_IO_file_sync_internal, _IO_file_seek_internal)
33829 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33830 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33831 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33832 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33833 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33834 (_IO_list_all_internal, _IO_link_in_internal)
33835 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33836 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33837 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33838 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33839 (_IO_do_write_internal, _IO_padn_internal)
33840 (_IO_getline_info_internal, _IO_getline_internal)
33841 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33842 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33843 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33844 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33845 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33846 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33847 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33848 with libc_hidden_ver, remove use of INTUSE.
33849 * libio/genops.c: Likewise.
33850 * libio/freopen.c: Likewise.
33851 * libio/freopen64.c: Likewise.
33852 * libio/iofclose.c: Likewise.
33853 * libio/iofdopen.c: Likewise.
33854 * libio/iofflush.c: Likewise.
33855 * libio/iofflush_u.c: Likewise.
33856 * libio/iofgets.c: Likewise.
33857 * libio/iofgets_u.c: Likewise.
33858 * libio/iofopen.c: Likewise.
33859 * libio/iofopncook.c: Likewise.
33860 * libio/iofread.c: Likewise.
33861 * libio/iofread_u.c: Likewise.
33862 * libio/ioftell.c: Likewise.
33863 * libio/iofwrite.c: Likewise.
33864 * libio/iogetline.c: Likewise.
33865 * libio/iogets.c: Likewise.
33866 * libio/iogetwline.c: Likewise.
33867 * libio/iopadn.c: Likewise.
33868 * libio/iopopen.c: Likewise.
33869 * libio/ioseekoff.c: Likewise.
33870 * libio/ioseekpos.c: Likewise.
33871 * libio/iosetbuffer.c: Likewise.
33872 * libio/iosetvbuf.c: Likewise.
33873 * libio/ioungetc.c: Likewise.
33874 * libio/ioungetwc.c: Likewise.
33875 * libio/iovdprintf.c: Likewise.
33876 * libio/iovsprintf.c: Likewise.
33877 * libio/iovsscanf.c: Likewise.
33878 * libio/memstream.c: Likewise.
33879 * libio/obprintf.c: Likewise.
33880 * libio/oldfileops.c: Likewise.
33881 * libio/oldiofclose.c: Likewise.
33882 * libio/oldiofdopen.c: Likewise.
33883 * libio/oldiofopen.c: Likewise.
33884 * libio/oldiopopen.c: Likewise.
33885 * libio/oldstdfiles.c: Likewise.
33886 * libio/putc.c: Likewise.
33887 * libio/setbuf.c: Likewise.
33888 * libio/setlinebuf.c: Likewise.
33889 * libio/stdfiles.c: Likewise.
33890 * libio/strops.c: Likewise.
33891 * libio/vasprintf.c: Likewise.
33892 * libio/vscanf.c: Likewise.
33893 * libio/vsnprintf.c: Likewise.
33894 * libio/vswprintf.c: Likewise.
33895 * libio/wfiledoalloc.c: Likewise.
33896 * libio/wfileops.c: Likewise.
33897 * libio/wgenops.c: Likewise.
33898 * libio/wmemstream.c: Likewise.
33899 * libio/wstrops.c: Likewise.
33900 * libio/__fpurge.c: Likewise.
33901 * libio/__fsetlocking.c: Likewise.
33902 * assert/assert.c: Likewise.
33903 * debug/fgets_chk.c: Likewise.
33904 * debug/fgets_u_chk.c: Likewise.
33905 * debug/fread_chk.c: Likewise.
33906 * debug/fread_u_chk.c: Likewise.
33907 * debug/gets_chk.c: Likewise.
33908 * debug/obprintf_chk.c: Likewise.
33909 * debug/vasprintf_chk.c: Likewise.
33910 * debug/vdprintf_chk.c: Likewise.
33911 * debug/vsnprintf_chk.c: Likewise.
33912 * debug/vsprintf_chk.c: Likewise.
33913 * malloc/mtrace.c: Likewise.
33914 * misc/error.c: Likewise.
33915 * misc/syslog.c: Likewise.
33916 * stdio-common/asprintf.c: Likewise.
33917 * stdio-common/fxprintf.c: Likewise.
33918 * stdio-common/getw.c: Likewise.
33919 * stdio-common/isoc99_fscanf.c: Likewise.
33920 * stdio-common/isoc99_scanf.c: Likewise.
33921 * stdio-common/isoc99_vfscanf.c: Likewise.
33922 * stdio-common/isoc99_vscanf.c: Likewise.
33923 * stdio-common/isoc99_vsscanf.c: Likewise.
33924 * stdio-common/printf-prs.c: Likewise.
33925 * stdio-common/printf_fp.c: Likewise.
33926 * stdio-common/printf_fphex.c: Likewise.
33927 * stdio-common/printf_size.c: Likewise.
33928 * stdio-common/putw.c: Likewise.
33929 * stdio-common/scanf.c: Likewise.
33930 * stdio-common/sprintf.c: Likewise.
33931 * stdio-common/tmpfile.c: Likewise.
33932 * stdio-common/vfprintf.c: Likewise.
33933 * stdio-common/vfscanf.c: Likewise.
33934 * stdlib/strfmon_l.c: Likewise.
33935 * sunrpc/openchild.c: Likewise.
33936 * sunrpc/xdr_stdio.c: Likewise.
33937 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33938 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33940 2012-05-24 Roland McGrath <roland@hack.frob.com>
33942 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33944 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33945 in the third column, to generate for the shared library an IFUNC
33946 that uses _dl_vdso_vsym.
33947 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33948 * Makeconfig (object-suffixes-noshared): New variable.
33950 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33951 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33952 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33953 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33956 * include/sys/time.h (__gettimeofday): Remove macro.
33957 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33958 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33960 (__gettimeofday): Add libc_hidden_def.
33961 (gettimeofday): Add libc_hidden_weak.
33962 * sysdeps/mach/gettimeofday.c: Likewise.
33963 * sysdeps/posix/gettimeofday.c: Likewise.
33964 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33965 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33966 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33967 (__gettimeofday_internal): Remove strong_alias.
33968 (__gettimeofday): Add libc_hidden_def.
33969 (gettimeofday): Add libc_hidden_weak.
33970 * sysdeps/unix/syscalls.list (gettimeofday):
33971 Remove __gettimeofday_internal alias.
33973 2012-05-24 Daniel Jacobowitz <drow@false.org>
33974 H.J. Lu <hongjiu.lu@intel.com>
33977 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33978 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33979 (largebin_index_32_big): New.
33980 (largebin_index): Use it for 16-byte alignment.
33981 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33982 correction with front_misalign.
33984 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34012 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34013 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34015 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34019 * math/libm-test.inc (exp_test): Add test from bug 14036.
34020 (pow_test): Add test from bug 10846.
34022 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34024 (special_function): Do not include flags in test name.
34025 (parse_args): Likewise.
34026 * sysdeps/i386/fpu/libm-test-ulps: Update.
34027 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34028 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34029 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34032 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34034 * math/libm-test.inc ("Philosophy"): Update comment about
34036 (UNDERFLOW_EXCEPTION): New macro.
34037 (UNDERFLOW_EXCEPTION_OK): Likewise.
34038 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34039 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34040 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34041 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34042 (INVALID_EXCEPTION_OK): Update value.
34043 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34044 (OVERFLOW_EXCEPTION_OK): Likewise.
34045 (IGNORE_ZERO_INF_SIGN): Likewise.
34046 (test_exceptions): Handle underflow exceptions.
34047 (acos_test): Update for underflow exception expectations.
34048 (cexp_test): Likewise.
34049 (clog_test): Likewise.
34050 (clog10_test): Likewise.
34051 (csqrt_test): Likewise.
34052 (ctan_test): Likewise.
34053 (ctanh_test): Likewise.
34054 (exp_test): Likewise.
34055 (exp10_test): Likewise.
34056 (exp2_test): Likewise.
34057 (expm1_test): Likewise.
34058 (fma_test): Likewise.
34059 (j0_test): Likewise.
34060 (jn_test): Likewise.
34061 (nexttoward_test): Likewise.
34062 (pow_test): Likewise.
34063 (scalbn_test): Likewise.
34064 (scalbln_test): Likewise.
34065 (tan_test): Likewise.
34066 (y1_test): Likewise.
34067 * sysdeps/i386/fpu/libm-test-ulps: Update.
34068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34070 2012-05-23 David S. Miller <davem@davemloft.net>
34072 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34073 (__libc_sigaction): Remove unused local variables.
34075 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34077 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34079 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34081 mktime: avoid signed integer overflow
34082 * time/mktime.c (__mktime_internal): Do not mishandle the case
34083 where diff == INT_MIN.
34085 mktime: simplify computation of average
34086 * time/mktime.c (ranged_convert): Use new time_t_avg function
34087 instead of rolling our own (probably-slower) code.
34089 mktime: do not assume signed right shift propagates sign bit
34090 * time/mktime.c (isdst_differ): New static function.
34091 (__mktime_internal): No need to normalize tm_isdst now.
34092 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34095 mktime: merge another wrapv change from gnulib
34096 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34097 from some compilers.
34099 mktime: remove incorrect attempt at unusual arithmetics
34100 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34101 The code didn't really work on such machines anyway.
34102 (TYPE_MINIMUM): Assume two's complement.
34103 (twos_complement_arithmetic): Verify that long_int and time_t
34104 are two's complement (or unsigned, in the latter case).
34106 mktime: check signed shifts on long_int and time_t, too
34107 * time/mktime.c (SHR): Check that shifts work as desired
34108 on the types long_int and time_t too, as SHR is used on
34111 mktime: do not assume 'long' is wide enough
34112 * time/mktime.c (verify): Move decl up.
34113 (long_int): New type.
34114 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34115 to remove assumption in the code that 'long' is wide enough to
34116 store year values. This assumption is not true on x32 and on
34117 some non-glibc platforms.
34119 mktime: merge wrapv change from gnulib
34120 * time/mktime.c (WRAPV): New macro.
34121 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34122 (guess_time_tm, __mktime_internal): Do not assume that signed
34123 integer overflow wraps around; modern compilers generate code
34124 where this assumption is no longer valid.
34126 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34128 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34129 Replace "jmp L(pseudo_end)" with "ret".
34130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34133 2012-05-23 Andreas Jaeger <aj@suse.de>
34135 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34136 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34138 2012-05-23 Andreas Jaeger <aj@suse.de>
34139 Maximilian Attems <max@stro.at>
34141 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34144 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34146 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34147 code so that pseudo_end is just ret and the stack pointer is
34148 correct also for static library in error case.
34150 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34152 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34153 move to syscalls.list.
34154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34159 * manual/install.texi (Running make install): Do not mention Linux
34160 kernel version for which pt_chown is not needed.
34161 (Linux): Do not mention problems with nscd with 2.0 kernels.
34162 * INSTALL: Regenerated.
34164 2012-05-23 Andreas Jaeger <aj@suse.de>
34166 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34167 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34169 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34170 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34171 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34172 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34173 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34174 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34175 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34176 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34177 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34178 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34179 * sysdeps/unix/sysv/linux/bits/in.h
34180 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34182 2012-05-22 Roland McGrath <roland@hack.frob.com>
34184 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34185 (PREPARE_VERSION): Just use assert instead, it will be elided
34186 under [NDEBUG] anyway.
34188 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34190 * sysdeps/unix/sysv/linux/Makefile: Include
34191 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34192 (sysdep_routines): Remove sysctl.
34193 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34194 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34195 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34196 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34197 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34199 2012-05-22 Andreas Jaeger <aj@suse.de>
34201 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34202 that pseudo_end is just ret and the stack pointer is correct also
34203 for static library in error case.
34205 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34208 * nss/nsswitch.c (defconfig_entries): New variable.
34209 (__nss_database_lookup): Don't leak defconfig entries.
34210 (nss_parse_service_list): Don't leak on error paths.
34211 (free_database_entries): New function.
34212 (free_defconfig): New function.
34213 (free_mem): Move common code to free_database_entries.
34215 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34217 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34219 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34221 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34222 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34223 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34225 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34226 (INTERNAL_SYSCALL_TYPES): Likewise.
34227 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34228 (LOAD_REGS_TYPES_[1-6]): Likewise.
34229 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34230 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34232 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34234 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34235 copysignl for GLIBC_2_0.
34236 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34237 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34238 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34239 logbl for GLIBC_2_0.
34240 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34241 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34243 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34245 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34246 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34248 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34251 * time/mktime.c: Update copyright years.
34253 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34255 mktime: merge comment-quoting-style change from gnulib
34256 * time/mktime.c: Quote 'like this' in comments.
34257 The GNU coding standards suggest that we no longer quote `like this',
34258 as "`" and "'" are typically rendered asymmetrically nowadays.
34259 The typical gnulib style is to quote 'like this' when quoting
34260 code, and "like this" when quoting English.
34262 * time/mktime.c (compile-command): Add "-I.".
34264 mktime: merge mktime-internal.h change from gnulib
34265 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34267 mktime: merge time_r change from gnulib
34268 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34270 mktime: merge DEBUG change from gnulib
34271 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34272 case system <time.h> has a #define.
34274 mktime: merge <sys/types.h> change from gnulib
34275 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34276 since <time.t> is now guaranteed to define time_t.
34278 mktime: merge HAVE_CONFIG_H change from gnulib
34279 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34281 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34283 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34286 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34288 (struct rusage): Use anonymous union to pad each field to
34291 2012-05-21 David S. Miller <davem@davemloft.net>
34293 * Makefules (o-iterator): Remove .s cases.
34294 (compile-command.s): Delete.
34295 (COMPILE.s): Delete.
34296 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34298 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34300 * configure.in (libc_cv_predef_stack_protector): Only consider
34301 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34302 * configure: Regenerated.
34304 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34306 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34307 New macro. Use R*LP on int and pointer.
34308 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34309 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34310 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34311 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34313 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34314 [__WORDSIZE_TIME64_COMPAT32] instead of
34315 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34316 (struct utmp): Likewise.
34317 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34318 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34320 (__WORDSIZE_TIME64_COMPAT32): This.
34321 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34322 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34323 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34324 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34325 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34326 (__WORDSIZE_TIME64_COMPAT32): New macro.
34328 2012-05-21 Andreas Jaeger <aj@suse.de>
34330 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34331 only if [SHARED]. Add prototype for __wcschr_ia32.
34333 2012-05-21 Roland McGrath <roland@hack.frob.com>
34335 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34336 of %rbp unmolested in the jmp_buf while mangling the low bits.
34337 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34338 unmolested high bits of %rbp while demangling the low bits.
34339 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34341 2012-05-21 Andreas Jaeger <aj@suse.de>
34343 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34344 * sunrpc/svc_simple.c: Use it for registerrpc.
34345 * sunrpc/xcrypt.c: Use it for passwd2des.
34347 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34349 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34351 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34352 Don't define if [__SYSCALL_WORDSIZE != 32].
34353 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34356 2012-05-21 Bruno Haible <bruno@clisp.org>
34357 Andreas Jaeger <aj@suse.de>
34359 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34360 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34361 inptr and inend for must_buffer_ch.
34362 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34363 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34364 * stdio-common/Makefile (tests): Remove bug15.
34365 (bug15-ENV): Remove macro.
34366 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34369 2012-05-19 Andreas Jaeger <aj@suse.de>
34370 Roland McGrath <roland@hack.frob.com>
34372 * manual/contrib.texi: Completely rewritten. It contains now an
34373 alphabetical list of contributors and their contributions.
34375 2012-05-21 Richard Henderson <rth@twiddle.net>
34377 * misc/getauxval.c (__getauxval): Use unsigned long int.
34378 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34379 (getauxval): Use unsigned long int.
34381 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34383 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34385 2012-05-21 Roland McGrath <roland@hack.frob.com>
34387 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34388 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34389 __alignof__ (long double).
34391 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34395 2012-05-20 Richard Henderson <rth@twiddle.net>
34397 * misc/getauxval.c: New file.
34398 * misc/sys/auxv.h: New file.
34399 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34400 (routines): Add getauxval.
34401 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34402 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34403 * elf/dl-sysdep.c (_dl_auxv): Remove.
34404 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34405 * elf/dl-support.c (_dl_auxv): New variable.
34406 (_dl_aux_init): Initialize it.
34407 * manual/startup.texi (Auxiliary Vector): New node.
34408 * sysdeps/generic/bits/hwcap.h: New file.
34409 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34410 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34411 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34412 * sysdeps/sparc/sysdep.h: ... here. Include it.
34413 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34414 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34420 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34426 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34430 2012-05-19 David S. Miller <davem@davemloft.net>
34432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34434 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34437 * math/s_ccosh.c: Include <float.h>
34438 (__ccosh): Avoid internal overflow calculating sinh and cosh
34439 values before multiplying by sin and cos values.
34440 * math/s_ccoshf.c: Likewise.
34441 * math/s_ccoshl.c: Likewise.
34442 * math/s_csin.c: Likewise.
34443 * math/s_csinf.c: Likewise.
34444 * math/s_csinl.c: Likewise.
34445 * math/s_csinh.c: Likewise.
34446 * math/s_csinhf.c: Likewise.
34447 * math/s_csinhl.c: Likewise.
34448 * math/libm-test.inc (ccos_test): Add more tests.
34449 (ccosh_test): Likewise.
34450 (csin_test): Likewise.
34451 (csinh_test): Likewise.
34452 * sysdeps/i386/fpu/libm-test-ulps: Update.
34453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34455 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34457 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34458 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34460 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34462 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34464 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34465 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34466 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34467 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34468 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34469 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34470 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34471 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34472 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34473 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34474 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34475 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34476 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34477 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34478 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34479 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34480 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34481 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34482 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34483 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34484 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34485 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34486 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34487 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34488 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34489 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34490 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34491 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34492 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34493 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34494 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34496 2012-05-18 Andreas Jaeger <aj@suse.de>
34498 * csu/.gitignore: Delete.
34500 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34502 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34503 (timex): Use __syscall_slong_t.
34505 2012-05-18 Andreas Jaeger <aj@suse.de>
34506 Carlos O'Donell <carlos_odonell@mentor.com>
34508 * manual/install.texi (Configuring and compiling): Update
34509 description about files modified in the source directory.
34510 * INSTALL: Regenerated.
34512 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34514 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34515 value. Use "or" to set return value to -1.
34516 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34517 negate return value.
34519 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34521 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34522 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34523 failure if the compiler has Graphite support disabled.
34524 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34526 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34527 (CFLAGS-memmove.c): Likewise.
34528 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34531 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34533 * sysdeps/x86_64/x32/_itoa.h: New file.
34535 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34536 getdents system call only if kernel and user dirents have the
34537 same d_ino and d_off.
34539 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34540 LLONG_MAX != LONG_MAX.
34541 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34542 (_fitoa_word): Likewise.
34544 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34546 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34547 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34548 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34550 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34551 include <bits/wordsize.h>. Check __x86_64__ instead of
34553 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34554 if __x86_64__ is defined. Use anonymous union on fpstate.
34556 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34559 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34561 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34562 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34563 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34564 Refer to _rtld_local_ro instead of _rtld_global_ro.
34565 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34567 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34569 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34571 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34572 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34573 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34575 * sysdeps/powerpc/powerpc32/dl-machine.c
34576 (__elf_machine_runtime_setup) [PROF]: Don't reference
34579 2012-05-18 Andreas Jaeger <aj@suse.de>
34581 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34582 function only available for GCCs before 3.4 since GCC 3.4
34583 introduced a builtin.
34585 (llrintf): Likewise.
34586 (llrint): Likewise.
34593 (nearbyint): Likewise.
34594 (nearbyintf): Likewise.
34598 (floorf): Likewise.
34600 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34602 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34603 on both fields and cast pointer to __syscall_ulong_t.
34605 * bits/types.h (__fsword_t): New type.
34606 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34607 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34608 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34609 (__FSWORD_T_TYPE): Likewise.
34610 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34611 (__FSWORD_T_TYPE): Likewise.
34612 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34613 (__FSWORD_T_TYPE): Likewise.
34614 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34615 (__FSWORD_T_TYPE): Likewise.
34616 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34617 __SWORD_TYPE with __fsword_t.
34618 (statfs64): Likewise.
34620 2012-05-17 David S. Miller <davem@davemloft.net>
34622 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34624 2012-05-17 Andreas Jaeger <aj@suse.de>
34626 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34629 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34631 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34633 2012-05-17 Andreas Jaeger <aj@suse.de>
34635 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34638 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34640 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34642 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34644 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34645 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34647 2012-05-17 Andreas Jaeger <aj@suse.de>
34648 Carlos O'Donell <carlos_odonell@mentor.com>
34651 * sysdeps/x86_64/multiarch/init-arch.h
34652 (bit_YMM_Usable): Rename to...
34653 (bit_AVX_Usable): ... this.
34654 (bit_FMA4_Usable): New macro.
34655 (bit_XMM_state): New macro.
34656 (bit_YMM_state): New macro.
34657 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34658 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34659 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34660 (CPUID_OSXSAVE): New macro.
34661 (CPUID_AVX): New macro.
34662 (CPUID_FMA4): New macro.
34663 (index_YMM_Usable): Rename to...
34664 (index_AVX_Usable): ... this.
34665 (HAS_AVX): Use HAS_ARCH_FEATURE.
34666 (HAS_FMA4): Likewise.
34667 (HAS_YMM_USABLE): Remove.
34668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34669 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34671 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34672 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34673 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34674 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34675 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34677 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34679 * math/libm-test.c: Support platforms without multiple rounding modes.
34680 * math/bug-nextafter.c: Support platforms without FP exceptions.
34681 * math/bug-nexttoward.c: Likewise.
34682 * math/test-fenv.c: Likewise.
34683 * math/test-misc.c: Likewise.
34684 * stdlib/bug-getcontext.c: Likewise.
34686 2012-05-17 Andreas Jaeger <aj@suse.de>
34688 * manual/examples/search.c (critter_cmp): Change signature to
34690 * manual/string.texi (Collation Functions): Likewise.
34692 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34694 * bits/types.h: Fold copyright years.
34695 * bits/typesizes.h: Likewise.
34696 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34697 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34698 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34699 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34700 * time/time.h: Likewise.
34702 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34705 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34706 in instead of returning them. Return void.
34707 (__libc_mallinfo): Accumulate over all arenas.
34708 (__malloc_stats): Adjust for change in int_mallinfo interface.
34710 2012-05-16 Roland McGrath <roland@hack.frob.com>
34713 * configure.in (NM): Add AC_CHECK_TOOL for it.
34714 (libc_extra_cflags): New substituted variable.
34715 Check for -fstack-protector being used implicitly.
34716 * configure: Regenerated.
34717 * config.make.in (config-extra-cflags): New variable,
34718 gets @libc_extra_cflags@.
34719 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34722 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34723 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34724 * configure: Regenerated.
34725 * config.make.in (CPPUNDEFS): New substituted variable.
34726 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34727 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34728 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34730 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34732 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34733 (mq_attr): Use __syscall_slong_t.
34735 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34737 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34738 Check __x86_64__ instead of __WORDSIZE.
34739 (_STAT_VER_LINUX): Likewise.
34740 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34741 __syscall_ulong_t and __syscall_slong_t.
34742 (stat64): Likewise.
34744 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34746 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34748 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34750 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34752 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34754 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34757 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34758 include <bits/wordsize.h>. Check __x86_64__ instead of
34760 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34762 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34764 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34765 include <bits/wordsize.h>. Check __x86_64__ instead of
34767 (user_regs_struct): Use "__extension__ unsigned long long"
34768 instead of "unsigned long" if __x86_64__ is defined.
34769 (user): Likewise. Pad after pointer field if __ILP32__ is
34772 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34774 * configure.in (makeinfo): Require version 4.5 or later. Allow
34776 * configure: Regenerated.
34777 * manual/install.texi (texinfo): Increase version requirement to
34779 * INSTALL: Regenerated.
34781 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34783 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34785 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34787 * sysdeps/x86_64/x32/ffs.c: New file.
34789 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34791 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34792 defined. Use __syscall_ulong_t.
34793 (shminfo): Use __syscall_ulong_t.
34794 (shm_info): Likewise.
34796 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34799 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34801 (msgqnum_t): Use __syscall_ulong_t.
34802 (msglen_t): Likewise.
34803 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34806 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34807 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34809 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34811 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34812 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34814 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34817 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34818 include <bits/wordsize.h>. Check __x86_64__ instead of
34821 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34822 "unsigned long long int" if __x86_64__ is defined.
34823 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34825 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34826 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34827 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34829 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34831 (GET_PC): Cast to uintptr_t first.
34832 (GET_FRAME): Likewise.
34833 (GET_STACK): Likewise.
34835 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34836 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34837 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34838 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34839 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34840 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34841 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34842 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34843 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34844 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34845 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34846 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34847 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34848 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34849 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34850 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34851 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34852 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34853 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34854 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34855 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34856 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34857 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34858 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34859 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34860 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34861 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34862 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34863 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34865 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34867 * Makerules (+depfiles): Also collect depfiles from .oS in
34869 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34870 .oS, $(libnldbl-routines)).
34872 * Makerules (native-compile-mkdep-flags): Define.
34873 * sunrpc/Makefile (extra-objs): Add $(addprefix
34874 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34875 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34876 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34877 calling $(make-target-directory).
34879 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34881 * bits/types.h (__snseconds_t): Removed.
34882 * time/time.h (struct timespec): Replace __snseconds_t with
34884 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34885 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34887 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34888 (__SNSECONDS_T_TYPE): Likewise.
34889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34890 (__SNSECONDS_T_TYPE): Likewise.
34891 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34892 (__SNSECONDS_T_TYPE): Likewise.
34894 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34896 * sysdeps/mach/hurd/bits/typesizes.h
34897 (__SYSCALL_SLONG_TYPE): New macro.
34898 (__SYSCALL_ULONG_TYPE): Likewise.
34900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34902 * bits/types.h (__syscall_slong_t): New type.
34903 (__syscall_ulong_t): Likewise.
34905 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34906 (__SYSCALL_ULONG_TYPE): Likewise.
34907 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34908 (__SYSCALL_SLONG_TYPE): Likewise.
34909 (__SYSCALL_ULONG_TYPE): Likewise.
34910 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34911 (__SYSCALL_SLONG_TYPE): Likewise.
34912 (__SYSCALL_ULONG_TYPE): Likewise.
34913 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34914 (__SYSCALL_SLONG_TYPE): Likewise.
34915 (__SYSCALL_ULONG_TYPE): Likewise.
34917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34919 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34920 Add sigaltstack-offsets.sym.
34921 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34922 <sigaltstack-offsets.h>.
34923 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34924 longjmp_msg pointer.
34925 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34926 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34928 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34930 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34932 * elf/stackguard-macros.h: Remove file.
34933 * sysdeps/generic/stackguard-macros.h: New file.
34934 * sysdeps/i386/stackguard-macros.h: Likewise.
34935 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34936 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34937 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34938 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34939 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34940 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34941 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34942 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34943 <elf/stackguard-macros.h>.
34946 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34947 __aligned__ in attribute.
34948 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34949 (gregset_t): Likewise.
34951 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34953 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34954 * sysdeps/x86_64/64/Implies-after: Here. New file.
34955 * sysdeps/x86_64/x32/Implies-after: New file.
34957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34959 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34960 and access return value for _dl_profile_fixup. Use R10_LP to
34963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34965 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34967 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34969 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34970 * sysdeps/x86_64/x32/sysdep.h: New file.
34972 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34974 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34975 * sysdeps/x86_64/setjmp.S: Likewise.
34977 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34979 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34980 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34981 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34982 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34983 remove unused global constant.
34985 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34987 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34988 include of <not-cancel.h>.
34990 2012-05-15 Roland McGrath <roland@hack.frob.com>
34992 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34994 2012-05-15 Jeff Law <law@redhat.com>
34995 Andreas Jaeger <aj@suse.de>
34998 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35000 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35001 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35002 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35003 code changing __hst_map_handle.map.
35005 2012-05-15 Roland McGrath <roland@hack.frob.com>
35007 * configure.in (sysnames): Look for Implies-before and Implies-after
35009 * configure: Regenerated.
35011 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35013 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35014 8-byte data alignment with LP_SIZE alignment.
35016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35018 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35021 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35023 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35025 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35027 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35028 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35029 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35031 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35033 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35035 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35036 (stackinfo_sub_sp): Likewise.
35038 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35040 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35043 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35045 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35048 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35050 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35053 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35055 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35057 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35059 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35060 into R11_LP and load __x86_64_shared_cache_size_half into
35063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35065 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35068 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35070 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35072 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35074 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35076 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35077 powerpc32/power7/fpu/s_logb.c via #include.
35078 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35079 powerpc32/power7/fpu/s_logbf.c via #include.
35080 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35081 powerpc32/power7/fpu/s_logbl.c via #include.
35083 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35085 * README.libm: Remove file.
35087 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35089 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35090 count for x32. Use R*_LP and omit operand-size suffix.
35092 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35094 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35095 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35096 * sysdeps/x86_64/x32/shlib-versions: New file.
35098 2012-05-14 Roland McGrath <roland@hack.frob.com>
35100 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35101 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35102 Use _dl_fatal_printf instead.
35104 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35106 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35107 set if not set by the user. Do not allow for being unset.
35108 * sysdeps/unix/sysv/linux/configure: Regenerated.
35110 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35112 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35113 the `q' suffix from lea and replace .quad with ASM_ADDR.
35115 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35117 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35118 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35120 (PTR_DEMANGLE): Likewise.
35122 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35124 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35126 (ASM_ADDR): Likewise.
35127 (RAX_LP): Likewise.
35128 (RBP_LP): Likewise.
35129 (RBX_LP): Likewise.
35130 (RCX_LP): Likewise.
35131 (RDI_LP): Likewise.
35132 (RSI_LP): Likewise.
35133 (RSP_LP): Likewise.
35136 (R10_LP): Likewise.
35137 (R10_LP): Likewise.
35138 (R11_LP): Likewise.
35139 (R12_LP): Likewise.
35140 (R13_LP): Likewise.
35141 (R14_LP): Likewise.
35142 (R15_LP): Likewise.
35144 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35146 * sysdeps/x86_64/x32/dl-machine.h: New file.
35148 2012-05-14 Andreas Jaeger <aj@suse.de>
35150 * manual/Makefile (subdir): Remove export of subdir.
35151 (all): Remove target.
35152 (.PHONY): Remove all from list.
35153 (mkinstalldirs): Remove.
35154 (.PHONY): Remove installdirs from list.
35155 ($(inst_infodir)/libc.info): Use make-target-directory.
35156 (installdirs): Remove.
35157 (subdir_%): Remove.
35158 (glibc-targets): Remove.
35161 ($(objpfx)stubs ../po/manual.pot): Remove.
35162 ($(objpfx)stamp%): Remove.
35163 (make-target-directory): Remove.
35164 (subdir_install): Remove.
35165 (routines): Remove.
35172 * manual/.gitignore: Remove, it's not needed anymore.
35173 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35175 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35177 (texis): Renamed to $(objpfx)texis.
35178 (texis-path): New, contains path to generated files.
35179 (chapters.%): Use texis-path for complete path, add extra argument
35181 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35182 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35183 (summary,texi, stamp-summary): Use complete path of
35184 files. Generate files in build dir.
35185 (dir-add.texi): Build in build dir.
35186 (libm-err.texi,stamp-libm-err): Likewise.
35187 (version.texi, stamp-version): Likewise.
35188 (.%c.texi): Likewise.
35189 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35190 (mostlyclean): Remove target.
35191 (realclean): Remove target.
35192 (generated): Add new variable with contents from mostlyclean and
35193 realclean, remove entries duplicated in common-mostlyclean, add
35194 stamp-libm-err and stamp-version.
35195 (generated-dirs): Add libc directory.
35196 ($(inst_infodir)/libc.info): Install files from build dir.
35198 * manual/install.texi (Configuring and compiling): Adjust since
35199 the info files are not part of the tar ball anymore.
35201 2012-05-14 Andreas Jaeger <aj@suse.de>
35203 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35206 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35209 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35210 to 2.2.0 where earlier.
35211 * sysdeps/unix/sysv/linux/configure: Regenerated.
35212 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35213 Remove conditional code.
35214 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35215 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35216 Remove conditional code.
35217 [!__NR_lchown]: Likewise.
35218 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35219 [__NR_lchown]: Likewise.
35220 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35221 comment referencing __ASSUME_LCHOWN_SYSCALL.
35222 * sysdeps/unix/sysv/linux/i386/sigaction.c
35223 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35224 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35225 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35226 Remove conditional code.
35227 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35228 (__protocol_available): Remove #if 0 code.
35229 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35231 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35232 * sysdeps/unix/sysv/linux/kernel-features.h
35233 (__ASSUME_GETCWD_SYSCALL): Don't define.
35234 (__ASSUME_REALTIME_SIGNALS): Likewise.
35235 (__ASSUME_PREAD_SYSCALL): Likewise.
35236 (__ASSUME_PWRITE_SYSCALL): Likewise.
35237 (__ASSUME_POLL_SYSCALL): Likewise.
35238 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35239 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35241 (__ASSUME_SIOCGIFNAME): Don't define.
35242 (__ASSUME_MSG_NOSIGNAL): Likewise.
35243 (__ASSUME_SENDFILE): Define unconditionally.
35244 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35245 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35247 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35248 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35249 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35250 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35251 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35252 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35253 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35255 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35258 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35259 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35261 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35264 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35267 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35268 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35270 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35271 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35273 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35276 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35278 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35279 Remove conditional code.
35280 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35281 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35282 Remove conditional code.
35283 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35284 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35285 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35286 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35287 Remove conditional code.
35288 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35289 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35290 Remove conditional code.
35291 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35292 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35293 Remove conditional code.
35294 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35295 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35296 Remove conditional code.
35297 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35298 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35299 Remove conditional code.
35300 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35301 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35302 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35304 * sysdeps/unix/sysv/linux/sigaction.c
35305 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35306 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35307 * sysdeps/unix/sysv/linux/sigpending.c
35308 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35309 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35310 * sysdeps/unix/sysv/linux/sigprocmask.c
35311 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35312 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35313 * sysdeps/unix/sysv/linux/sigsuspend.c
35314 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35315 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35316 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35317 (__libc_missing_rt_sigs): Remove.
35318 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35319 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35320 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35321 Remove conditional code.
35322 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35323 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35325 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35326 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35327 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35328 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35330 2012-05-14 Andreas Jaeger <aj@suse.de>
35332 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35333 it's not used in glibc.
35334 (__coshm1): Likewise.
35335 (__acosh1p): Likewise.
35338 * manual/string.texi (Copying and Concatenation): Add missing
35339 variable in concat example.
35340 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35342 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35345 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35346 __builtin_clzl with __builtin_clzll.
35348 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35351 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35354 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35356 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35357 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35358 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35359 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35361 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35363 * NEWS: Update ia64 info.
35365 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35367 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35370 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35372 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35373 * sysdeps/unix/syscalls.list (dup3): Likewise.
35374 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35375 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35377 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35379 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35380 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35382 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35384 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35386 (TLS_IE): Use mov/add instead of movq/addq to load thread
35388 (TLS_GD_PREFIX): New.
35391 2012-05-11 David S. Miller <davem@davemloft.net>
35393 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35394 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35395 (_FPU_SETCW): Likewise.
35397 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35399 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35400 is 32-byte aligned.
35402 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35405 * iconvdata/gb18030.c: Update tables.
35406 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35407 characters specially.
35408 (BODY for TO_LOOP): Add encoding of missing ranges.
35410 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35413 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35414 * sysdeps/mach/hurd/dup3.c: Likewise.
35415 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35416 * sysdeps/powerpc/memmove.c:: Likewise.
35418 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35420 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35421 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35423 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35425 * elf/elf.h (R_X86_64_RELATIVE64): New.
35426 (R_X86_64_NUM): Updated.
35427 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35428 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35429 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35430 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35431 tst-quad1pie tst-quad2pie
35432 (modules-names): Add tst-quadmod1 tst-quadmod2.
35433 ($(objpfx)tst-quad1): New dependency.
35434 ($(objpfx)tst-quad2): Likewise.
35435 ($(objpfx)tst-quad1pie): Likewise.
35436 ($(objpfx)tst-quad2pie): Likewise.
35437 * sysdeps/x86_64/tst-quad1.c: New file.
35438 * sysdeps/x86_64/tst-quad1pie.c: New file.
35439 * sysdeps/x86_64/tst-quad2.c: Likewise.
35440 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35441 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35442 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35443 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35444 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35446 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35448 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35449 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35450 * streams/stropts.h (t_scalar_t): Define type.
35452 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35453 (_PATH_PRESERVE): Set to "/var/lib".
35454 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35456 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35459 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35460 if __dir_mkfile succeeded.
35462 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35463 checking for _hurd_dtablesize. Unlock it right after having
35464 finished _hurd_dtable allocation.
35466 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35468 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35469 * sysdeps/mach/hurd/configure: Regenerated.
35470 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35471 special-casing to...
35472 * sysdeps/gnu/configure.in: ... this new file.
35473 * sysdeps/unix/sysv/linux/configure: Regenerated.
35474 * sysdeps/gnu/configure: New generated file.
35476 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35477 for Linux: use nsec instead of usec, as well as:
35478 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35479 members of type struct timespec.
35480 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35482 (struct stat64): Likewise.
35483 (_STATBUF_ST_NSEC): New macro.
35484 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35486 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35487 __strtoul_internal rather than strtoul.
35489 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35491 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35494 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35496 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35497 which preserves existing values.
35498 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35500 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35502 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35503 TIMEOUT values. Return EINVAL for NFDS values either negative or
35504 greater than FD_SETSIZE.
35506 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35508 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35509 allocated, call __vm_protect to finish enabling the existing space, and
35510 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35511 allocate the remainder.
35513 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35515 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35516 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35518 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35520 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35521 sysdeps/mach/hurd/readlink.c.
35523 * posix/tst-sysconf.c (posix_options): Only use
35524 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35525 _POSIX_SYNCHRONIZED_IO when they are defined
35526 * sysdeps/mach/hurd/bits/posix_opt.h:
35527 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35528 (_XOPEN_REALTIME): Undefine macro.
35529 (_XOPEN_REALTIME_THREADS): Undefine macro.
35530 (_XOPEN_SHM): Undefine macro.
35531 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35533 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35535 (_POSIX_ASYNC_IO): Undefine macro.
35536 (_POSIX_PRIORITIZED_IO): Undefine macro.
35537 (_POSIX_SPIN_LOCKS): Define macro to -1.
35539 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35540 SA_NODEFER, SA_RESETHAND.
35541 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35542 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35545 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35547 * elf/Makefile (pldd-modules): Define unconditionally.
35549 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35551 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35553 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35555 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35556 Return ENOENT when name is empty.
35557 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35559 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35561 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35563 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35565 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35567 Fix mlock in all cases except non-readable pages.
35568 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35569 instead of VM_PROT_ALL as parameter to __vm_wire function.
35571 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35572 (__mkdir): When path is `/', just fail with EEXIST.
35573 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35575 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35577 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35578 <sys/uio.h> (for writev).
35579 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35580 and <sys/param.h> (for MIN).
35582 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35584 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35585 REQUESTED_TIME. Properly set the remaining time and return EINTR
35588 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35590 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35591 Depend on against $(link-rpcuserlibs).
35593 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35595 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35596 (__libc_stack_end): Do not use attribute_relro.
35597 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35598 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35599 to libthread-provided value.
35600 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35603 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35606 * bits/libc-lock.h (__libc_once_get): New macro.
35607 * sysdeps/mach/bits/libc-lock.h: Likewise.
35608 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35609 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35610 instead of using implementation details.
35612 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35613 * libio/freopen.c: Likewise.
35614 * libio/freopen64.c: Likewise.
35615 * misc/syslog.c: Likewise.
35616 * nscd/connections.c: Likewise.
35617 * nscd/netgroupcache.c: Likewise.
35618 * sysdeps/posix/getcwd.c: Likewise.
35620 2012-05-10 Roland McGrath <roland@hack.frob.com>
35622 * math/w_ilogbf.c: Add #include <limits.h>.
35624 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35626 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35627 path instead of returning without unlocking.
35629 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35630 immediate-write ioctls.
35631 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35633 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35635 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35636 __builtin_frame_address instead of making assumptions about the
35637 location of the return address relative to DATA. Force early load of
35638 the return address.
35639 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35640 __builtin_frame_address.
35643 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35644 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35645 implement dup3 and do some further code clean-ups.
35646 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35647 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35649 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35651 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35653 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35654 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35655 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35656 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35657 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35660 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35661 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35662 when handler == SIG_ERR, not when handler != SIG_ERR.
35664 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35666 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35667 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35670 accept4 for GNU Hurd.
35671 * include/sys/socket.h (__libc_accept4): New prototype.
35672 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35673 to implement __libc_accept4.
35674 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35676 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35678 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35679 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35680 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35681 signal-defines.sym.
35683 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35685 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35687 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35689 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35690 assertion on O_CLOEXEC flag.
35691 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35692 * hurd/intern-fd.c: Likewise.
35693 * hurd/port2fd.c: Likewise.
35695 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35698 * bits/in.h (IPV6_PKTINFO): Define new macro.
35699 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35701 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35706 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35707 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35708 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35709 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35710 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35711 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35712 * math/libm-test.inc (logb_test) : Additional logb tests.
35714 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35715 Andreas Jaeger <aj@suse.de>
35717 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35718 * configure: Regenerated.
35719 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35720 * config.make.in (link-obsolete-rpc): New substituted variable.
35721 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35722 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35723 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35724 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35725 so that libc.a contains the symbols.
35726 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35727 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35728 * sunrpc/auth_none.c: Likewise.
35729 * sunrpc/auth_unix.c: Likewise.
35730 * sunrpc/authdes_prot.c: Likewise.
35731 * sunrpc/authuxprot.c: Likewise.
35732 * sunrpc/clnt_gen.c: Likewise.
35733 * sunrpc/clnt_perr.c: Likewise.
35734 * sunrpc/clnt_raw.c: Likewise.
35735 * sunrpc/clnt_simp.c: Likewise.
35736 * sunrpc/clnt_tcp.c: Likewise.
35737 * sunrpc/clnt_udp.c: Likewise.
35738 * sunrpc/clnt_unix.c: Likewise.
35739 * sunrpc/des_crypt.c: Likewise.
35740 * sunrpc/des_soft.c: Likewise.
35741 * sunrpc/get_myaddr.c: Likewise.
35742 * sunrpc/key_call.c: Likewise.
35743 * sunrpc/key_prot.c: Likewise.
35744 * sunrpc/netname.c: Likewise.
35745 * sunrpc/pm_getmaps.c: Likewise.
35746 * sunrpc/pm_getport.c: Likewise.
35747 * sunrpc/pmap_clnt.c: Likewise.
35748 * sunrpc/pmap_prot.c: Likewise.
35749 * sunrpc/pmap_prot2.c: Likewise.
35750 * sunrpc/pmap_rmt.c: Likewise.
35751 * sunrpc/publickey.c: Likewise.
35752 * sunrpc/rpc_cmsg.c: Likewise.
35753 * sunrpc/rpc_common.c: Likewise.
35754 * sunrpc/rpc_dtable.c: Likewise.
35755 * sunrpc/rpc_prot.c: Likewise.
35756 * sunrpc/rpc_thread.c: Likewise.
35757 * sunrpc/rtime.c: Likewise.
35758 * sunrpc/svc.c: Likewise.
35759 * sunrpc/svc_auth.c: Likewise.
35760 * sunrpc/svc_raw.c: Likewise.
35761 * sunrpc/svc_run.c: Likewise.
35762 * sunrpc/svc_tcp.c: Likewise.
35763 * sunrpc/svc_udp.c: Likewise.
35764 * sunrpc/svc_unix.c: Likewise.
35765 * sunrpc/svcauth_des.c: Likewise.
35766 * sunrpc/xcrypt.c: Likewise.
35767 * sunrpc/xdr.c: Likewise.
35768 * sunrpc/xdr_array.c: Likewise.
35769 * sunrpc/xdr_float.c: Likewise.
35770 * sunrpc/xdr_intXX_t.c: Likewise.
35771 * sunrpc/xdr_mem.c: Likewise.
35772 * sunrpc/xdr_rec.c: Likewise.
35773 * sunrpc/xdr_ref.c: Likewise.
35774 * sunrpc/xdr_sizeof.c: Likewise.
35775 * sunrpc/xdr_stdio.c: Likewise.
35777 2012-05-10 Roland McGrath <roland@hack.frob.com>
35779 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35780 change. Update copyright years.
35782 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35784 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35786 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35787 Joseph Myers <joseph@codesourcery.com>
35788 Paul Pluzhnikov <ppluzhnikov@google.com>
35791 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35793 [cross-compiling] (extra-libs): Likewise.
35794 [cross-compiling] (extra-libs-others): Likewise.
35795 [cross-compiling] (librpcsvc-routines): Likewise.
35796 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35797 [cross-compiling] (omit-deps): Likewise.
35798 (sunrpc-CPPFLAGS): New variable.
35799 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35800 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35801 (cross-rpcgen-objs): New variable.
35802 (extra-objs): Append $(cross-rpcgen-objs).
35803 ($(cross-rpcgen-objs)): New rule.
35804 ($(objpfx)cross-rpcgen): Likewise.
35805 (rpcgen-cmd): Define to use $(built-program-file). Expand
35807 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35808 ($(objpfx)x%.stmp): Likewise.
35809 * sunrpc/proto.h [IS_IN_build] (_): Define.
35810 [IS_IN_build] (_libc_intl_domainname): Likewise.
35812 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35814 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35815 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35816 and R_X86_64_TPOFF64.
35818 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35820 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35821 sysdeps/unix/sysv/syscalls.list.
35824 * sysdeps/unix/sysv/syscalls.list: Remove file.
35826 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35829 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35830 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35831 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35832 (__LC_IDENTIFICATION): Make these macros useful in #if
35833 expressions, as required by C99.
35835 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35837 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35838 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35841 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35843 * stdlib/longlong.h: Updated from GCC.
35845 2012-05-09 Andreas Jaeger <aj@suse.de>
35847 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35848 default is first entry.
35849 (run_mode): Set type.
35850 (main): Remove informal message about syslog.
35851 (options): Fix typo.
35854 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35857 (llrintf): Likewise.
35858 (llrint): Likewise.
35861 (nearbyint): Likewise.
35862 (nearbyintf): Likewise.
35864 2012-05-09 Andreas Jaeger <aj@suse.de>
35865 Pedro Alves <palves@redhat.com>
35867 * nscd/nscd.c (run_mode): Use enum.
35868 (main): Cleanup coding style issue.
35870 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35871 Andreas Jaeger <aj@suse.de>
35873 * nscd/nscd.c (go_background): Replaced with...
35874 (run_mode): ... this.
35875 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35876 (options): Add -F --foreground.
35877 (main): Implement it.
35878 (parse_opt): Parse it.
35880 2012-05-09 Andreas Jaeger <aj@suse.de>
35883 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35884 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35885 -Wconversion warning.
35886 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35889 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35891 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35893 (LC_ALL): Use macro-int-constant.
35894 (LC_COLLATE): Likewise.
35895 (LC_CTYPE): Likewise.
35896 (LC_MESSAGES): Likewise.
35897 (LC_MONETARY): Likewise.
35898 (LC_NUMERIC): Likewise.
35899 (LC_TIME): Likewise.
35900 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35901 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35902 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35903 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35905 [C99-based standards] (float_t): Expect type.
35906 [C99-based standards] (double_t): Expect type.
35907 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35909 [C99-based standards] (HUGE_VALL): Likewise.
35910 [C99-based standards] (INFINITY): Likewise.
35911 [C99-based standards] (NAN): Likewise.
35912 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35913 [C99-based standards] (FP_NAN): Likewise.
35914 [C99-based standards] (FP_NORMAL): Likewise.
35915 [C99-based standards] (FP_SUBNORMAL): Likewise.
35916 [C99-based standards] (FP_ZERO): Likewise.
35917 [C99-based standards] (FP_FAST_FMA): Use
35918 optional-macro-int-constant. Specify type. Require == 1.
35919 [C99-based standards] (FP_FAST_FMAF): Likewise.
35920 [C99-based standards] (FP_FAST_FMAL): Likewise.
35921 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35922 [C99-based standards] (FP_ILOGBNAN): Likewise.
35923 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35925 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35926 [C99-based standards] (math_errhandling): Specify type.
35927 [ISO99 || ISO11] (signgam): Do not allow.
35928 [non-C99-based standards] (copysignf): Do not allow.
35929 [non-C99-based standards] (exp2f): Likewise.
35930 [non-C99-based standards] (log2f): Likewise.
35931 [non-C99-based standards] (modff): Allow.
35932 [non-C99-based standards] (erff): Do not allow.
35933 [non-C99-based standards] (erfcf): Likewise.
35934 [non-C99-based standards] (gammaf): Likewise.
35935 [non-C99-based standards] (hypotf): Likewise.
35936 [non-C99-based standards] (j0f): Likewise.
35937 [non-C99-based standards] (j1f): Likewise.
35938 [non-C99-based standards] (jnf): Likewise.
35939 [non-C99-based standards] (lgammaf): Likewise.
35940 [non-C99-based standards] (tgammaf): Likewise.
35941 [non-C99-based standards] (y0f): Likewise.
35942 [non-C99-based standards] (y1f): Likewise.
35943 [non-C99-based standards] (ynf): Likewise.
35944 [non-C99-based standards] (isnanf): Likewise.
35945 [non-C99-based standards] (acoshf): Likewise.
35946 [non-C99-based standards] (asinhf): Likewise.
35947 [non-C99-based standards] (atanhf): Likewise.
35948 [non-C99-based standards] (cbrtf): Likewise.
35949 [non-C99-based standards] (expm1f): Likewise.
35950 [non-C99-based standards] (ilogbf): Likewise.
35951 [non-C99-based standards] (log1pf): Likewise.
35952 [non-C99-based standards] (logbf): Likewise.
35953 [non-C99-based standards] (nextafterf): Likewise.
35954 [non-C99-based standards] (remainderf): Likewise.
35955 [non-C99-based standards] (rintf): Likewise.
35956 [non-C99-based standards] (scalbf): Likewise.
35957 [non-C99-based standards] (copysignl): Likewise.
35958 [non-C99-based standards] (exp2l): Likewise.
35959 [non-C99-based standards] (log2l): Likewise.
35960 [non-C99-based standards] (modfl): Allow.
35961 [non-C99-based standards] (erfl): Do not allow.
35962 [non-C99-based standards] (erfcl): Likewise.
35963 [non-C99-based standards] (gammal): Likewise.
35964 [non-C99-based standards] (hypotl): Likewise.
35965 [non-C99-based standards] (j0l): Likewise.
35966 [non-C99-based standards] (j1l): Likewise.
35967 [non-C99-based standards] (jnl): Likewise.
35968 [non-C99-based standards] (lgammal): Likewise.
35969 [non-C99-based standards] (tgammal): Likewise.
35970 [non-C99-based standards] (y0l): Likewise.
35971 [non-C99-based standards] (y1l): Likewise.
35972 [non-C99-based standards] (ynl): Likewise.
35973 [non-C99-based standards] (isnanl): Likewise.
35974 [non-C99-based standards] (acoshl): Likewise.
35975 [non-C99-based standards] (asinhl): Likewise.
35976 [non-C99-based standards] (atanhl): Likewise.
35977 [non-C99-based standards] (cbrtl): Likewise.
35978 [non-C99-based standards] (expm1l): Likewise.
35979 [non-C99-based standards] (ilogbl): Likewise.
35980 [non-C99-based standards] (log1pl): Likewise.
35981 [non-C99-based standards] (logbl): Likewise.
35982 [non-C99-based standards] (nextafterl): Likewise.
35983 [non-C99-based standards] (remainderl): Likewise.
35984 [non-C99-based standards] (rintl): Likewise.
35985 [non-C99-based standards] (scalbl): Likewise.
35986 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35987 [non-C99-based standards] (FP_*): Do not allow.
35988 [C99-based standards] (FP_*): Change to
35989 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35990 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35992 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35993 (SIG_ERR): Likewise.
35994 [X/Open-based standards] (SIG_HOLD): Likewise.
35995 (SIG_IGN): Likewise.
35996 (SIGABRT): Use macro-int-constant. Specify type. Require
35998 (SIGFPE): Likewise.
35999 (SIGILL): Likewise.
36000 (SIGINT): Likewise.
36001 (SIGSEGV): Likewise.
36002 (SIGTER): Likewise.
36003 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36004 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36005 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36006 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36007 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36008 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36009 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36010 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36011 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36012 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36013 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36014 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36015 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36016 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36017 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36018 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36019 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36020 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36021 [X/Open-based standards] (SIGTRAP): Likewise.
36022 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36023 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36024 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36025 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36026 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36029 2012-05-08 Ian Wienand <ianw@vmware.com>
36032 * time/tzset.c (__tzset_parse_tz): Update default rules for
36033 daylight time changes in the Energy Policy Act of 2005.
36035 2012-05-09 Andreas Jaeger <aj@suse.de>
36038 * elf/ldconfig.c (parse_conf): Change string to make clear that
36039 ldconfig only issued a warning if ld.so.conf does not exist.
36041 2012-05-08 David S. Miller <davem@davemloft.net>
36043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36044 movxtod instead of popping the value on the stack.
36046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36048 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36050 * config.h.in: Add HAVE_ARM_PCS_VFP.
36052 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36055 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36056 checking but the checks are disabled for any reason.
36058 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36060 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36061 and ELF64_R_TYPE with ELFW(R_TYPE).
36063 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36065 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36066 (ulimit): Likewise.
36068 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36069 (settimeofday): Likewise.
36071 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36073 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36074 a struct th_u2 inside the union, and move tu_block/tu_code into
36075 a new th_u3 union of tu_block/tu_code inside of that. Move
36076 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36077 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36078 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36079 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36080 (th_stuff): Change to th_u1.tu_stuff.
36082 (th_msg): Change to th_u1.th_u2.tu_data.
36084 2012-05-07 David S. Miller <davem@davemloft.net>
36086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36089 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36090 (SETUP_PIC_REG): Use it.
36091 (SETUP_PIC_REG_LEAF): Use it.
36093 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36097 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36099 (EXPL_FINITE): Likewise.
36100 (FLDLOG): Likewise.
36101 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36102 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36104 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36106 (EXPL_FINITE): Likewise.
36107 (FLDLOG): Likewise.
36108 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36109 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36111 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36112 test of -max_value argument for long double.
36113 * sysdeps/i386/fpu/libm-test-ulps: Update.
36114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36116 2012-05-06 David S. Miller <davem@davemloft.net>
36118 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36119 quad soft-float symbols whose references which are compiler
36121 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36123 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36127 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36129 (EXPL_FINITE): Likewise.
36130 (FLDLOG): Likewise.
36133 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36134 Adjust comments for base varying.
36135 (__expl_finite): Change alias to EXPL_FINITE.
36136 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36138 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36139 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36140 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36141 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36142 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36144 (EXPL_FINITE): Likewise.
36145 (FLDLOG): Likewise.
36148 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36149 Adjust comments for base varying.
36150 (__expl_finite): Change alias to EXPL_FINITE.
36151 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36156 * math/libm-test.inc (check_float_internal): Correct ulp
36157 calculation for subnormal expected results.
36159 2012-05-06 Andreas Jaeger <aj@suse.de>
36161 * Makeconfig (+math-flags): New, set to -frounding-math.
36162 (+cflags): Add +math-flags so that all of glibc gets compiled with
36165 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36167 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36169 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36175 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36176 (__ieee754_expl): Allow for and saturate large arguments.
36177 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36178 (u_threshold): Likewise.
36179 (__exp): Call __ieee754_exp before checking for overflow and
36181 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36182 (u_threshold): Likewise.
36183 (__expf): Call __ieee754_expf before checking for overflow and
36185 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36186 (u_threshold): Likewise.
36187 (__expl): Call __ieee754_expl before checking for overflow and
36189 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36190 (__ieee754_expl): Allow for and saturate large arguments.
36191 * math/libm-test.inc (exp_test): Add another test. Do not allow
36192 missing overflow exception on overflow.
36193 (expm1_test): Do not allow missing overflow exception on overflow.
36195 * sysdeps/i386/fpu/e_expl.c: Move to ...
36196 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36197 rather than using inline asm.
36198 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36199 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36200 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36202 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36205 (signal): Likewise.
36209 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36211 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36212 sysdeps/unix/common/syscalls.list.
36213 (fchmod): Likewise.
36214 (fchown): Likewise.
36215 (ftruncate): Likewise.
36216 (getrusage): Likewise.
36217 (gettimeofday): Likewise.
36218 (setpgid): Likewise.
36219 (setregid): Likewise.
36220 (setreuid): Likewise.
36221 (sigaction): Likewise.
36222 (truncate): Likewise.
36223 (vhangup): Likewise.
36224 * sysdeps/unix/common/syscalls.list: Remove file.
36225 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36226 * sysdeps/unix/sysv/linux/Implies: Likewise.
36228 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36230 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36232 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36236 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36239 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36242 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36245 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36248 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36251 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36254 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36258 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36262 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36265 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36269 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36273 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36275 * sysdeps/unix/common/bits/dirent.h: Remove file.
36276 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36278 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36279 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36280 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36281 * sysdeps/unix/bsd/isatty.c: Likewise.
36282 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36283 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36284 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36286 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36289 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36290 long double comparison inaccuracies.
36291 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36294 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36296 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36297 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36299 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36302 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36303 nonzero digits before rounding a hex value.
36304 * stdlib/tst-strtod.c (tests): Add another test.
36306 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36308 * sysdeps/s390/fpu/libm-test-ulps: Update.
36310 2012-05-03 Andreas Jaeger <aj@suse.de>
36312 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36313 does not get optimized out.
36314 (malloc_opt_barrier): New.
36316 2012-05-03 Andreas Jaeger <aj@suse.de>
36317 Roland McGrath <roland@hack.frob.com>
36319 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36320 intermediate file deletion.
36321 (generated): Add .symlist files.
36323 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36326 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36327 Redirect under this condition.
36328 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36329 [__USE_GNU] (__dprintf_chk): Not under this condition.
36330 [__USE_GNU] (__vdprintf_chk): Likewise.
36331 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36332 under this condition.
36333 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36334 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36335 [__USE_XOPEN2K8] (vdprintf): Likewise.
36336 [__USE_GNU] (__dprintf_chk): Not under this condition.
36337 [__USE_GNU] (__vdprintf_chk): Likewise.
36338 [__USE_GNU] (dprintf): Likewise.
36339 [__USE_GNU] (vdprintf): Likewise.
36341 2012-05-03 Roland McGrath <roland@hack.frob.com>
36343 * elf/Makefile (common-generated): Set this instead of generated for
36344 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36345 $(all-built-dso)-derived lists.
36347 2012-05-03 Andreas Jaeger <aj@suse.de>
36349 * sysdeps/i386/fpu/libm-test-ulps: Update.
36352 * FAQ.in: Likewise.
36353 * scripts/gen-FAQ.pl: Likewise.
36354 * manual/install.texi (Installation): Point to online location of
36356 * Makefile (files-for-dist): Remove FAQ.
36359 2012-05-02 Allan McRae <allan@archlinux.org>
36361 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36362 (LDFLAGS-reldepmod5.so): Likewise.
36363 (LDFLAGS-reldep6mod1.so): Likewise.
36364 (LDFLAGS-reldep6mod4.so): Likewise.
36365 (LDFLAGS-reldep8mod3.so): Likewise.
36366 (LDFLAGS-unload4mod1.so): Likewise.
36367 (LDFLAGS-unload4mod2.so): Likewise.
36368 (LDFLAGS-tst-initorder): Likewise.
36369 (LDFLAGS-tst-initordera2.so): Likewise.
36370 (LDFLAGS-tst-initordera3.so): Likewise.
36371 (LDFLAGS-tst-initordera4.so): Likewise.
36372 (LDFLAGS-tst-initorderb2.so): Likewise.
36373 (LDFLAGS-noload): Likewise.
36374 (LDFLAGS-next): Likewise.
36375 (LDFLAGS-order2mod1.so): Likewise.
36376 (LDFLAGS-order2mod2.so): Likewise.
36377 (LDFLAGS-tst-initorder2): Likewise.
36378 (LDFLAGS-tst-initorder2a.so): Likewise.
36379 (LDFLAGS-tst-initorder2b.so): Likewise.
36380 (LDFLAGS-tst-initorder2c.so): Likewise.
36381 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36383 2012-05-02 David S. Miller <davem@davemloft.net>
36385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36387 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36390 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36392 2012-05-02 Andreas Jaeger <aj@suse.de>
36394 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36395 since we manipulate rounding mode.
36396 (CPPFLAGS-test-idouble.c): Likewise.
36397 (CPPFLAGS-test-ifloat.c): Likewise.
36398 (CFLAGS-test-ldouble.c): Likewise.
36399 (CFLAGS-test-double.c): Likewise.
36400 (CFLAGS-test-float.c): Likewise.
36401 (CFLAGS-test-misc.c): Likewise.
36402 (CFLAGS-test-test-fenv.c): Likewise.
36404 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36408 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36409 comparisons to determine direction to adjust input.
36411 2012-05-01 Roland McGrath <roland@hack.frob.com>
36413 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36414 output to the target.
36416 * scripts/localplt.awk: New file.
36417 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36418 (check-localplt-CFLAGS): Variable removed.
36419 ($(all-built-dso:=.jmprel)): New static pattern rule.
36420 (generated): Add those targets.
36421 (localplt-built-dso): New variable.
36422 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36424 * elf/check-localplt.c: File removed.
36426 * scripts/check-execstack.awk: New file.
36427 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36428 (check-execstack-CFLAGS): Variable removed.
36429 ($(objpfx)check-execstack.h): Target removed.
36430 ($(objpfx)execstack-default): New target.
36431 (generated): Add that instead of check-execstack.h.
36432 ($(all-built-dso:=.phdr)): New static pattern rule.
36433 (generated): Add those targets.
36434 * elf/check-execstack.c: File removed.
36436 * scripts/check-textrel.awk: New file.
36437 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36438 (check-textrel-CFLAGS): Variable removed.
36439 (all-built-dso): Use := to define.o
36440 ($(all-built-dso:=.dyn)): New static pattern rule.
36441 (generated): Add those targets.
36442 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36443 * config.make.in (READELF): New substituted variable.
36444 * elf/check-textrel.c: File removed.
36446 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36448 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36450 * conform/data/ctype.h-data [C99-based standards] (isblank):
36452 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36453 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36454 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36455 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36456 Specify type. Require positive value.
36457 (EILSEQ): Likewise.
36458 (ERANGE): Likewise.
36459 [ISO || POSIX] (EILSEQ): Do not expect.
36460 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36461 Specify type. Require positive value.
36462 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36463 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36464 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36465 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36466 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36467 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36468 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36469 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36470 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36471 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36472 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36473 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36474 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36475 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36476 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36477 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36478 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36479 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36480 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36481 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36482 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36483 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36484 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36485 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36486 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36487 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36488 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36489 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36490 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36491 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36492 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36493 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36494 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36495 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36496 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36497 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36498 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36499 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36500 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36501 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36502 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36503 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36504 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36505 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36506 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36507 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36508 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36509 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36510 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36511 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36512 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36513 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36514 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36515 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36516 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36517 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36518 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36519 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36520 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36521 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36522 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36523 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36524 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36525 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36526 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36527 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36528 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36529 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36530 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36531 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36532 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36533 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36534 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36535 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36536 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36537 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36538 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36540 (FLT_ROUNDS): Expect as macro, not constant.
36541 (FLT_MANT_DIG): Use macro-int-constant.
36542 (DBL_MANT_DIG): Likewise.
36543 (LDBL_MANT_DIG): Likewise.
36544 (FLT_DIG): Likewise.
36545 (DBL_DIG): Likewise.
36546 (LDBL_DIG): Likewise.
36547 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36548 (DBL_MIN_EXP): Likewise.
36549 (LDBL_MIN_EXP): Likewise.
36550 (FLT_MAX_EXP): Use macro-int-constant.
36551 (DBL_MAX_EXP): Likewise.
36552 (LDBL_MAX_EXP): Likewise.
36553 (FLT_MAX_10_EXP): Likewise.
36554 (DBL_MAX_10_EXP): Likewise.
36555 (LDBL_MAX_10_EXP): Likewise.
36556 (FLT_MAX): Use macro-constant.
36557 (DBL_MAX): Likewise.
36558 (LDBL_MAX): Likewise.
36559 (FLT_EPSILON): Use macro-constant. Give upper bound.
36560 (DBL_EPSILON): Likewise.
36561 (LDBL_EPSILON): Likewise.
36562 (FLT_MIN): Likewise.
36563 (DBL_MIN): Likewise.
36564 (LDBL_MIN): Likewise.
36565 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36566 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36567 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36568 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36569 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36570 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36571 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36572 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36573 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36574 [ISO11] (FLT_TRUE_MIN): Likewise.
36575 [ISO11] (LDBL_TRUE_MIN): Likewise.
36576 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36577 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36578 (SCHAR_MIN): Use macro-int-constant. Specify type.
36579 (SCHAR_MAX): Likewise.
36580 (UCHAR_MAX): Likewise.
36581 (CHAR_MIN): Likewise.
36582 (CHAR_MAX): Likewise.
36583 (MB_LEN_MAX): Use macro-int-constant.
36584 (SHRT_MIN): Use macro-int-constant. Specify type.
36585 (SHRT_MAX): Likewise.
36586 (USHRT_MAX): Likewise.
36587 (INT_MAX): Likewise.
36588 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36590 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36592 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36594 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36595 bound negative. Suffix upper bound with "L".
36596 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36598 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36600 [C99-based standards] (LLONG_MAX): Likewise.
36601 [C99-based standards] (ULLONG_MAX): Likewise.
36602 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36604 [ISO11] (max_align_t): Require type.
36605 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36607 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36608 from $CFLAGS, without defining away __attribute__ calls.
36609 (checknamespace): Use $CFLAGS_namespace.
36611 * conform/conformtest.pl (@keywords): Only include C99 keywords
36612 for standards based on C99 or C11.
36614 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36616 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36619 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36620 usability of symbols in #if.
36622 * conform/conformtest.pl: If macro or constant types start
36623 "promoted:", expect the symbol to be of the following type
36624 promoted by the integer promotions.
36626 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36627 in one place. Also handle "macro-constant".
36629 * conform/conformtest.pl: Only accept expected macro values with
36630 "==". Parse all "macro" lines in one place.
36631 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36633 * conform/conformtest.pl: Handle braced types on "constant" lines
36634 instead of handling "typed-constant".
36635 * conform/data/signal.h-data: Use "constant" instead of
36638 * conform/conformtest.pl: Handle "optional-" at start of lines in
36639 one place rather than duplicating several cases. Handle each
36640 format of "macro" line with initial "optional-".
36642 * conform/conformtest.pl: Only accept expected constant or
36643 optional-constant values with "==". Parse all "constant" lines in
36644 one place. Parse all "optional-constant" lines in one place.
36645 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36646 * conform/data/fmtmsg.h-data: Likewise.
36647 * conform/data/netinet/in.h-data: Likewise.
36648 * conform/data/tar.h-data: Likewise.
36649 * conform/data/limits.h-data: Use "==" form on "constant" and
36650 "optional-constant" lines.
36652 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36653 Use -std=c99 for XOPEN2K.
36654 (@knownproblems): Remove.
36655 (newtoken): Don't check %isknown.
36657 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36658 Do not expect macro.
36659 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36660 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36661 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36662 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36663 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36664 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36665 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36666 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36667 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36668 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36669 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36670 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36671 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36672 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36673 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36674 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36675 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36676 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36677 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36678 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36679 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36680 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36681 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36682 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36683 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36684 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36685 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36686 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36687 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36688 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36689 [XPG3] (acosh): Likewise.
36690 [XPG3] (asinh): Likewise.
36691 [XPG3] (atanh): Likewise.
36692 [XPG3] (cbrt): Likewise.
36693 [XPG3] (expm1): Likewise.
36694 [XPG3] (ilogb): Likewise.
36695 [XPG3] (log1p): Likewise.
36696 [XPG3] (logb): Likewise.
36697 [XPG3] (nextafter): Likewise.
36698 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36699 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36700 [XPG3] (remainder): Likewise.
36701 [XPG3] (rint): Likewise.
36702 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36703 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36704 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36705 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36706 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36707 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36708 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36709 [UNIX98 || XOPEN2K] (scalb): Expect.
36710 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36711 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36712 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36713 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36714 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36715 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36716 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36717 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36718 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36719 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36720 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36721 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36722 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36723 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36724 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36725 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36726 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36727 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36728 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36729 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36730 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36731 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36732 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36733 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36734 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36735 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36736 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36737 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36738 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36739 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36740 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36741 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36742 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36743 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36744 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36745 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36746 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36747 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36748 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36749 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36750 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36751 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36752 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36753 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36754 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36755 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36756 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36757 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36758 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36759 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36760 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36761 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36762 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36763 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36764 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36765 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36766 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36767 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36768 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36769 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36770 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36771 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36772 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36773 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36774 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36775 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36776 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36777 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36778 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36779 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36780 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36781 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36782 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36783 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36784 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36785 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36786 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36787 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36788 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36789 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36790 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36791 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36792 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36793 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36794 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36795 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36796 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36797 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36798 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36799 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36800 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36801 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36802 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36803 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36804 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36805 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36806 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36807 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36808 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36809 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36810 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36811 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36812 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36813 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36814 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36815 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36816 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36817 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36818 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36819 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36820 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36821 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36822 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36823 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36824 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36825 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36826 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36827 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36828 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36829 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36830 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36831 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36832 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36833 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36834 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36835 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36836 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36837 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36838 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36839 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36840 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36841 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36842 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36843 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36844 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36845 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36846 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36848 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36849 _XOPEN_SOURCE_EXTENDED for XPG4.
36851 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36853 * Makeconfig (localtime): Remove variable.
36854 (inst_localtime-file): Likewise.
36856 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36877 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36881 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36882 comparisons to determine direction to adjust input.
36883 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36884 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36885 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36887 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36889 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36891 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36892 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36894 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36896 * math/libm-test.inc (nexttoward_test): Add more tests.
36898 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36901 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36902 in version GLIBC_2.1, not GLIBC_2.0.
36903 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36906 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36909 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36911 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36912 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36913 * math/libm-test.inc (acos_test): Add more tests.
36914 (asin_test): Likewise.
36915 * sysdeps/i386/fpu/libm-test-ulps: Update.
36916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36919 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36921 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36922 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36923 * math/libm-test.inc (acos_test_tonearest): New function.
36924 (acos_test_towardzero): Likewise.
36925 (acos_test_downward): Likewise.
36926 (acos_test_upward): Likewise.
36927 (asin_test_tonearest): Likewise.
36928 (asin_test_towardzero): Likewise.
36929 (asin_test_downward): Likewise.
36930 (asin_test_upward): Likewise.
36931 (main): Call the new functions.
36932 * sysdeps/i386/fpu/libm-test-ulps: Update.
36933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36937 * math/e_exp10.c: Include <float.h>.
36938 (__ieee754_exp10): Handle underflow here rather than multiplying
36939 large negative argument by M_LN10.
36940 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36942 * math/e_exp10l.c: Include <float.h>.
36943 (__ieee754_exp10l): Handle underflow here rather than multiplying
36944 large negative argument by M_LN10l.
36945 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36946 spurious overflow exception on underflow.
36948 2012-04-29 Marek Polacek <polacek@redhat.com>
36950 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36951 (__fortify_function): New macro.
36952 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36953 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36954 __extern_always_inline.
36955 * libio/bits/stdio2.h: Likewise.
36956 * libio/bits/stdio.h: Likewise.
36957 * string/string.h: Likewise.
36958 * string/bits/string3.h: Likewise.
36959 * include/stdio.h: Likewise.
36960 * stdlib/bits/stdlib.h: Likewise.
36961 * stdlib/stdlib.h: Likewise.
36962 * rt/bits/mqueue2.h: Likewise.
36963 * rt/mqueue.h: Likewise.
36964 * posix/bits/unistd.h: Likewise.
36965 * posix/unistd.h: Likewise.
36966 * io/bits/poll2.h: Likewise.
36967 * io/bits/fcntl2.h: Likewise.
36968 * io/fcntl.h: Likewise.
36969 * io/sys/poll.h: Likewise.
36970 * misc/bits/syslog.h: Likewise.
36971 * misc/bits/syslog-ldbl.h: Likewise.
36972 * misc/sys/syslog.h: Likewise.
36973 * socket/bits/socket2.h: Likewise.
36974 * socket/sys/socket.h: Likewise.
36975 * debug/tst-chk1.c: Likewise.
36976 * wcsmbs/bits/wchar2.h: Likewise.
36977 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36978 * wcsmbs/wchar.h: Likewise.
36980 2012-04-29 Andreas Jaeger <aj@suse.de>
36982 * Makerules (tests): Remove enable-check-abi protection.
36983 (check-abi-warn): Remove.
36984 (check-abi-%): Remove check-abi-warn usage.
36986 * configure.in: Remove check-abi configure option.
36987 * configure: Regenerated.
36988 * config.make.in (enable-check-abi): Remove.
36990 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36993 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36994 double functions to double *_finite functions.
36997 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36998 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37000 * stdio-common/Makefile (tests): Add tst-sprintf3.
37001 * stdio-common/tst-sprintf3.c: New file.
37003 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37004 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37006 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37008 * conform/conformtest.pl: Remove duplicate typed-constant
37011 2012-04-28 David S. Miller <davem@davemloft.net>
37013 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37014 (check-abi-%): Remove AWK script prerequisite and explicit
37016 (check-abi): Rewrite to just diff the symlist with the abilist.
37017 (config-tls, config-abi-config): Delete, no longer used.
37018 (update-abi-%): Remove AWK script and explicit abilist directory.
37019 (update-abi): Rewrite to simply compare and conditionally copy the
37020 symlist and the sysdep abilist file. Remove update-abi-config
37022 * abilist/ld.abilist: Remove.
37023 * abilist/libBrokenLocale.abilist: Remove.
37024 * abilist/libanl.abilist: Remove.
37025 * abilist/libcrypt.abilist: Remove.
37026 * abilist/libdl.abilist: Remove.
37027 * abilist/librt.abilist: Remove.
37028 * abilist/libthread_db.abilist: Remove.
37029 * abilist/libutil.abilist: Remove.
37030 * scripts/extract-abilist.awk: Remove.
37031 * scripts/merge-abilist.awk: Remove.
37032 * sysdeps/generic/libcidn.abilist: New file.
37033 * sysdeps/generic/libnss_compat.abilist: New file.
37034 * sysdeps/generic/libnss_db.abilist: New file.
37035 * sysdeps/generic/libnss_dns.abilist: New file.
37036 * sysdeps/generic/libnss_files.abilist: New file.
37037 * sysdeps/generic/libnss_hesiod.abilist: New file.
37038 * sysdeps/generic/libnss_nis.abilist: New file.
37039 * sysdeps/generic/libnss_nisplus.abilist: New file.
37040 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37041 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37042 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37044 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37045 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37046 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37047 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37048 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37049 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37050 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37051 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37052 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37054 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37055 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37056 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37057 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37059 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37060 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37061 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37062 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37063 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37064 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37066 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37067 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37068 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37070 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37173 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37174 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37175 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37177 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37178 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37179 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37180 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37181 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37182 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37183 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37184 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37185 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37186 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37238 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37240 * conform/conformtest.pl: Fix typo in handling typed-constant from
37243 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37245 * README: Cut down references to pre-2.6 Linux kernels and
37246 Linuxthreads. Update lists of configurations in libc and ports
37247 and sort alphabetically. Say "or newer" with Linux kernel version
37250 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37252 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37255 * math/libm-test.inc (logb_test_downward): New test to expose
37256 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37259 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37262 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37264 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37265 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37267 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37269 * sysdeps/unix/i386/brk.S: Remove file.
37270 * sysdeps/unix/i386/dl-brk.S: Likewise.
37271 * sysdeps/unix/i386/pipe.S: Likewise.
37272 * sysdeps/unix/i386/sigreturn.S: Likewise.
37273 * sysdeps/unix/i386/syscall.S: Likewise.
37274 * sysdeps/unix/i386/vfork.S: Likewise.
37275 * sysdeps/unix/i386/wait.S: Likewise.
37277 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37278 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37280 * configure.in (arm*-none*): Do not allow without
37281 --enable-hacker-mode.
37282 (netbsd*): Remove case setting base_os.
37283 (386bsd*): Likewise.
37284 (freebsd*): Likewise.
37287 (sunos*): Likewise.
37288 (ultrix*): Likewise.
37289 (newsos*): Likewise.
37290 (dynix*): Likewise.
37296 (minix*): Likewise.
37297 (irix4*): Likewise.
37298 (irix6*): Likewise.
37299 (solaris[2-9]*): Likewise.
37301 * configure: Regenerated.
37303 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37306 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37307 overflow or cancellation in calculating denominator.
37308 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37309 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37310 down expression to avoid unexpected rounding in newer GCCs.
37311 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37313 2012-04-26 David S. Miller <davem@davemloft.net>
37315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37316 long-double compat symbols.
37317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37331 2012-04-25 David S. Miller <davem@davemloft.net>
37333 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37334 HWCAP_* values only after the memory barriers have been defined.
37335 (atomic_full_barrier): Define.
37336 (atomic_read_barrier): Define.
37337 (atomic_write_barrier): Define.
37339 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37341 * shlib-versions: Add libgcc_s version information.
37342 * sysdeps/generic/libgcc_s.h: Remove.
37343 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37345 * sysdeps/gnu/unwind-resume.c: Likewise.
37346 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37348 2012-04-25 David S. Miller <davem@davemloft.net>
37350 * sysdeps/unix/sparc/brk.S: Delete.
37351 * sysdeps/unix/sparc/dl-brk.S: Delete.
37352 * sysdeps/unix/sparc/pipe.S: Delete.
37353 * sysdeps/unix/sparc/sysdep.S: Delete.
37354 * sysdeps/unix/sparc/sysdep.h: Delete.
37355 * sysdeps/unix/sparc/vfork.S: Delete.
37356 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37357 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37358 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37359 (ret_ERRVAL, r0, r1, MOVE): Define.
37360 (JUMPTARGET): Remove.
37361 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37362 sysdeps/unix/sparc/sysdep.h
37363 (ENTRY, END): Remove.
37364 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37366 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37368 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37369 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37372 * timezone/README: Update upstream location and email address for
37374 * timezone/zdump.c: Update from tzcode 2012b.
37375 * timezone/zic.c: Likewise.
37377 * configure.in (libc_cv_as_needed): Remove test.
37378 * configure: Regenerated.
37379 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37380 conditional definition.
37381 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37382 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37383 * config.make.in (have-as-needed): Remove variable.
37385 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37386 Paul Pluzhnikov <ppluzhnikov@google.com>
37388 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37391 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37393 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37394 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37395 * sysdeps/sh/strlen.S: Likewise.
37397 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37399 * sysdeps/unix/fork.S: Remove file.
37400 * sysdeps/unix/i386/fork.S: Likewise.
37401 * sysdeps/unix/sparc/fork.S: Likewise.
37403 * sysdeps/unix/system.c: Remove file.
37404 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37406 * sysdeps/unix/getegid.S: Remove file.
37407 * sysdeps/unix/geteuid.S: Likewise.
37409 2012-04-24 Roland McGrath <roland@hack.frob.com>
37411 * scripts/check-localplt.awk: New file.
37412 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37414 * scripts/data/localplt-generic.data: Add a comment.
37416 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37417 NODE when __dir_mkfile failed.
37418 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37419 Reported by Ludovic Courtès <ludo@gnu.org>.
37421 2012-04-24 Andreas Jaeger <aj@suse.de>
37423 * Makerules (common-clean): Also remove gen-as-const-headers
37426 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37428 * Makerules (native-compile): Do not change working directory for
37429 build. Use $(OUTPUT_OPTION) in command.
37430 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37432 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37435 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37436 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37437 * math/libm-test.inc (floor_test): Add more tests.
37438 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37440 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37442 * sysdeps/unix/getdents.c: Remove file.
37443 * sysdeps/unix/sysv/getdents.c: Likewise.
37444 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37446 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37447 sysdeps/unix/mman/syscalls.list.
37449 (mprotect): Likewise.
37451 (munmap): Likewise.
37452 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37453 * sysdeps/unix/mman/syscalls.list: Remove.
37454 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37456 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37457 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37458 * configure: Regenerated.
37459 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37460 $(libgcc_s_suffix).
37461 * config.make.in (libgcc_s_suffix): Remove variable.
37463 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37465 * sysdeps/unix/sysv/gethostname.c: Move to ...
37466 * sysdeps/posix/gethostname.c: ... here.
37468 * sysdeps/unix/execve.S: Remove file.
37470 * sysdeps/unix/_exit.S: Remove file.
37472 2012-04-23 Andreas Jaeger <aj@suse.de>
37475 * manual/Makefile: Remove make dist support, there's no
37476 need for a stand-alone documentation tar ball.
37477 (TEXI2DVI): Define always, it's not in Makeconfig.
37480 (edition): Removed.
37481 (glibc-doc-$(edition).tar): Removed
37485 (ETAGS): Remove, it's in Makeconfig.
37486 (move-if-change): Remove, it's in Makeconfig.
37488 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37491 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37492 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37493 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37494 (strtod_l, strtof_l, strtold_l): Remove __wur.
37495 It is not necessarily an error to ignore strtol's return value.
37496 One can reliably look at the stored endptr to decide whether
37497 the number had valid syntax.
37499 2012-04-21 Andreas Jaeger <aj@suse.de>
37502 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37504 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37506 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37507 * sysdeps/unix/sysv/Versions: Remove file.
37509 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37514 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37517 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37518 version from __vm86.
37520 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37522 * sysdeps/unix/common/lxstat.c: Remove file.
37523 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37525 * sysdeps/unix/sysv/Makefile: Remove file.
37527 * sysdeps/unix/sysv/direct.h: Remove file.
37529 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37530 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37531 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37532 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37533 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37534 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37535 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37537 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37539 * sysdeps/unix/xmknod.c: Remove file.
37540 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37542 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37544 * sysdeps/unix/sysv/i386/time.S: Remove file.
37546 * sysdeps/unix/fxstat.c: Remove file.
37547 * sysdeps/unix/xstat.c: Likewise.
37548 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37550 * sysdeps/unix/sysv/sigaction.c: Remove file.
37552 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37553 (sysdep_headers): Remove variable.
37554 [termio.h not in sysdep_headers] (generated): Likewise.
37555 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37556 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37557 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37558 * sysdeps/unix/sysv/tcflow.c: Likewise.
37559 * sysdeps/unix/sysv/tcflush.c: Likewise.
37560 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37561 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37562 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37563 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37564 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37566 * sysdeps/unix/siglist.c: Remove file.
37568 * sysdeps/unix/getppid.S: Remove file.
37570 * sysdeps/unix/mkdir.c: Remove file.
37571 * sysdeps/unix/rmdir.c: Likewise.
37573 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37575 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37577 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37578 errlist-compat value.
37580 2012-04-18 David S. Miller <davem@davemloft.net>
37582 * sysdeps/generic/memcopy.h (reg_char): Delete.
37583 * debug/strcat_chk.c: Use char, not reg_char.
37584 * debug/strcpy_chk.c: Likewise.
37585 * debug/strncat_chk.c: Likewise.
37586 * debug/strncpy_chk.c: Likewise.
37587 * string/memchr.c: Likewise.
37588 * string/memrchr.c: Likewise.
37589 * string/rawmemchr.c: Likewise.
37590 * string/strcat.c: Likewise.
37591 * string/strchr.c: Likewise.
37592 * string/strchrnul.c: Likewise.
37593 * string/strcmp.c: Likewise.
37594 * string/strcpy.c: Likewise.
37595 * string/strncat.c: Likewise.
37596 * string/strncmp.c: Likewise.
37597 * string/strncpy.c: Likewise.
37599 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37601 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37602 __builtin_memcopy is called when src and dest ranges are known to not
37605 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37607 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37608 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37609 fwd_align_merge macro call.
37610 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37611 bwd_align_merge macro call.
37612 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37614 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37616 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37617 bwd_align_merge macros.
37618 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37619 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37620 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37622 2012-04-18 David S. Miller <davem@davemloft.net>
37624 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37626 2012-04-18 Andreas Jaeger <aj@suse.de>
37629 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37630 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37631 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37633 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37634 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37635 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37637 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37638 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37639 Adjust for changed ldbl-128 files.
37641 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37642 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37643 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37645 2012-04-17 David S. Miller <davem@davemloft.net>
37647 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37649 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37651 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37652 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37653 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37654 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37655 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37656 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37658 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37661 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37662 * math/libm-test.inc: Add ilogb errno and exception tests.
37663 * math/w_ilogb.c: New file: ilogb wrapper.
37664 * math/w_ilogbf.c: New file: ilogbf wrapper.
37665 * math/w_ilogbl.c: New file: ilogbl wrapper.
37666 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37667 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37668 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37669 exception being thrown with 0.0 as argument.
37670 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37671 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37672 exception being thrown with 0.0 as argument.
37673 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37674 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37675 exception being thrown with 0.0 as argument.
37676 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37677 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37678 exception being thrown with 0.0 as argument.
37679 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37680 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37681 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37682 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37683 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37684 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37685 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37686 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37687 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37689 2012-04-17 Petr Baudis <pasky@ucw.cz>
37691 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37694 2012-04-16 Marek Polacek <polacek@redhat.com>
37696 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37698 2012-04-16 Marek Polacek <polacek@redhat.com>
37700 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37701 operands of fdivp instruction.
37703 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37705 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37706 * elf/tst-auditmod3b.c: Likewise.
37707 * elf/tst-auditmod4b.c: Likewise.
37708 * elf/tst-auditmod5b.c: Likewise.
37709 * elf/tst-auditmod6b.c: Likewise.
37710 * elf/tst-auditmod6c.c: Likewise.
37711 * elf/tst-auditmod7b.c: Likewise.
37712 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37713 * sysdeps/x86_64/preconfigure.in: Likewise.
37714 * sysdeps/x86_64/preconfigure: Regenerated.
37716 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37718 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37721 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37723 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37724 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37726 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37729 * locale/iso-639.def: Fix gl language name. Spotted by
37732 2012-04-12 Roland McGrath <roland@hack.frob.com>
37735 * libio/libio.h (__io_write_fn): Update comment.
37737 2012-04-12 Petr Baudis <pasky@ucw.cz>
37740 * stdio.texi (Hook Functions): The user provided writer function
37741 is not allowed to return -1.
37743 2012-04-11 David S. Miller <davem@davemloft.net>
37745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37747 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37749 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37750 Add a leading slash to rtkaio.
37752 2012-04-11 Jim Meyering <meyering@redhat.com>
37755 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37756 It is not necessarily an error to ignore fwrite's return
37757 value. One can reliably use ferror to test for errors after
37760 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37762 * bits/types.h (__snseconds_t): New type.
37763 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37765 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37766 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37767 (__SNSECONDS_T_TYPE): Likewise.
37768 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37769 (__SNSECONDS_T_TYPE): Likewise.
37770 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37771 (__SNSECONDS_T_TYPE): Likewise.
37773 2012-04-10 Andreas Jaeger <aj@suse.de>
37776 * manual/time.texi (Processor Time): Return type of times is
37777 elapsed real time since an arbitrary point in the past.
37778 (CPU Time): Move CLK_TCK from here...
37779 (Processor Time): ...to here. Correct description.
37780 * manual/conf.texi (Constants for Sysconf): Correct description of
37783 2012-04-10 David S. Miller <davem@davemloft.net>
37786 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37787 where the is a gap between DT_REL(A) and DT_JMPREL.
37789 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37791 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37792 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37793 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37795 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37797 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37798 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37799 (dl_main): Handle --inhibit-cache.
37800 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37802 * elf/dl-load.c (_dl_map_object): Use it.
37803 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37805 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37808 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37809 (__ieee754_powl): Saturate large exponents rather than testing for
37810 overflow of y*log2(x).
37811 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37812 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37816 * math/s_ctan.c: Include <float.h>.
37817 (__ctan): Avoid internal overflow or cancellation in calculating
37819 * math/s_ctanf.c: Likewise.
37820 * math/s_ctanl.c: Likewise.
37821 * math/s_ctanh.c: Likewise.
37822 * math/s_ctanhf.c: Likewise.
37823 * math/s_ctanhl.c: Likewise.
37824 * math/libm-test.inc (ctan_test): Add more tests.
37825 (ctanh_test): Likewise.
37826 * sysdeps/i386/fpu/libm-test-ulps: Update.
37827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37829 2012-04-09 Andreas Jaeger <aj@suse.de>
37832 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37833 is an optional BSD extension.
37836 * manual/stdio.texi (Opening Streams): Document additional fopen
37839 2012-04-09 Roland McGrath <roland@hack.frob.com>
37841 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37842 %eax without telling the compiler.
37844 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37847 * manual/install.texi: Use sourceware.org.
37849 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37852 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37853 (__ieee754_pow): Generate overflow and underflow using huge*huge
37854 and tiny*tiny rather than just returning constant infinity or zero
37855 for large exponents.
37856 * math/libm-test.inc (pow_test): Require overflow exceptions for
37857 applicable cases of large exponents.
37860 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37861 (__ieee754_pow): Use iterative multiplication algorithm only for
37862 integer exponents with absolute value below 1024. Check for odd
37863 integer exponents when using algorithm for real exponents.
37864 * math/libm-test.inc (pow_test): Add more tests.
37865 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37867 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37870 * math/libm-test.inc (exp_test): Do not allow overflow exception
37873 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37876 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37877 instead of __kernel_standard_f.
37879 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37881 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37882 * sysdeps/x86_64/memset_chk.S: Likewise.
37884 2012-04-08 Andreas Jaeger <aj@suse.de>
37887 * manual/startup.texi (Environment Access): Describe return value
37888 for putenv and setenv.
37891 * manual/filesys.texi (Directory Entries): Add description for
37895 * manual/filesys.texi (Directory Entries): Clarify that it's file
37896 system not operating system in the description of DT_UNKNOWN.
37899 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37901 2012-04-08 Stephen Compall <s11@member.fsf.org>
37904 * manual/llio.texi (Opening and Closing Files): Add cross
37905 reference to explain mode argument.
37907 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37909 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37910 * sysdeps/x86_64/memset_chk.S: Likewise.
37912 2012-04-07 David S. Miller <davem@davemloft.net>
37914 * elf/elf.h (R_SPARC_WDISP10): Define.
37915 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37917 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37918 R_SPARC_SIZE64 and R_SPARC_H34.
37920 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37922 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37923 conditions and remove no longer applicable assertion.
37925 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37927 * bits/byteswap.h: Include <features.h>.
37928 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37929 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37931 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37933 * bits/byteswap.h (__bswap_16): Removed.
37934 Include <bits/byteswap-16.h> to get __bswap_16.
37935 * sysdeps/i386/bits/byteswap.h: Likewise.
37936 * sysdeps/s390/bits/byteswap.h: Likewise.
37937 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37938 * bits/byteswap-16.h: New file.
37939 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37940 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37941 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37942 * string/Makefile (headers): Add bits/byteswap-16.h.
37944 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37947 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37949 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37950 * nss/tst-nss-static.c: New.
37952 2012-04-06 Robert Millan <rmh@gnu.org>
37955 * manual/llio.texi (File Position Primitive): lseek
37956 refers to WHENCE when it really means OFFSET.
37958 2012-04-06 Andreas Jaeger <aj@suse.de>
37960 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37961 strncmp declarations.
37963 * abilist/libc.abilist: Add __poll and __ppoll.
37965 2012-04-05 David S. Miller <davem@davemloft.net>
37967 * scripts/check-local-headers.sh: Accept a host triplet in the
37968 path matched by the exclude regexp.
37970 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37972 * sysdeps/powerpc/powerpc32/dl-machine.h
37973 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37974 * sysdeps/s390/s390-32/dl-machine.h
37975 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37976 * sysdeps/sparc/sparc32/dl-machine.h
37977 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37978 * sysdeps/sparc/sparc64/dl-machine.h
37979 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37981 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37983 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37984 undefined symbol errors.
37986 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37989 2012-04-05 Michael Matz <matz@suse.de>
37992 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37994 2012-04-05 Andreas Jaeger <aj@suse.de>
37997 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38000 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38002 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38003 which ROUND is no valid rounding mode.
38005 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38007 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38009 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38011 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38013 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38014 an exception using FPU order intentionally.
38016 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38018 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38019 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38020 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38021 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38023 2012-04-05 Simon Josefsson <simon@josefsson.org>
38026 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38027 EINVAL when BUFLEN is too smal.
38029 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38032 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38033 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38035 2012-04-03 Andreas Jaeger <aj@suse.de>
38038 * manual/setjmp.texi (System V contexts): Fix sentence.
38041 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38042 New macro for this case.
38043 [!__GNUC__] (__bswap_64): New inline function for this case.
38044 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38045 * bits/byteswap.h: Likewise.
38046 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38047 ull, guard with __GLIBC_HAVE_LONG_LONG.
38049 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38050 __GLIBC_HAVE_LONG_LONG.
38052 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38053 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38055 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38058 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38059 inptr and inend, rather than using last_ch.
38061 2012-04-02 David S. Miller <davem@davemloft.net>
38063 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38064 * stdio-common/printf-parse.h (read_int): Change return type to
38065 'int', return -1 on INT_MAX overflow.
38066 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38067 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38068 overflows INT_MAX. Check for overflow of in-format-string precision
38069 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38070 SIZE_MAX not INT_MAX for integer overflow test.
38071 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38072 skip the construct in the format string but do not record anything.
38073 * stdio-common/bug22.c: Adjust to test both width/prevision
38074 INT_MAX overflow as well as total length INT_MAX overflow. Check
38075 explicitly for proper errno values.
38077 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38079 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38081 * string/test-strcmp.c [! WIDE]: Likewise.
38082 * time/tst-mktime2.c: Likewise for INT_MAX.
38083 * string/test-string.h: #include <sys/param.h> for MIN.
38085 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38086 * sysdeps/i386/init-first.c (init): Likewise.
38087 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38088 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38089 * sysdeps/sh/init-first.c (init): Likewise.
38091 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38093 * po/ru.po: Update from translation team.
38094 * po/vi.po: Likewise.
38096 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38098 * resolv/nss_dns/dns-host.c: Merge copyright years.
38100 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38102 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38103 Optimize memcpy with prefetch if
38104 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38105 src, dst pointers have unequal 16 byte alignments.
38107 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38110 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38111 from a CNAME entry and return the minimum ttl for the query.
38112 (gaih_getanswer_slice): Likewise.
38114 2012-03-30 Jeff Law <law@redhat.com>
38116 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38118 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38119 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38121 * resolv/nss_dns/dns-host.c: Update copyright year.
38123 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38125 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38126 requests to save a system call. Fix check that all bytes are sent.
38128 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38129 comments for sendmmsg.
38131 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38134 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38135 with only 1 character between 0x0041 and 0x01b0.
38136 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38137 * wcsmbs/tst-mbsnrtowcs.c: New file.
38139 2012-03-29 David S. Miller <davem@davemloft.net>
38141 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38142 small copies by hand.
38144 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38147 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38148 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38151 2012-03-28 David S. Miller <davem@davemloft.net>
38153 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38154 that branches into memcpy.
38155 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38156 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38157 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38158 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38159 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38161 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38162 implementation too.
38163 * sysdeps/sparc/mempcpy.S: New file.
38165 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38166 the IFUNC routine in the libc case.
38167 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38169 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38170 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38171 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38172 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38173 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38174 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38175 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38176 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38178 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38179 loop to 256 bytes instead of 64 bytes and fix test signedness.
38181 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38182 * sysdeps/sparc/sparc32/Makefile: rather than here...
38183 * sysdeps/sparc/sparc64/Makefile: and here.
38185 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38187 * malloc/mallocbug.c: Avoid warnings about unused variables.
38189 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38192 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38193 in the right place. Discard and retry query if response is
38194 larger than input buffer size.
38196 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38201 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38202 x for large integer exponent.
38203 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38204 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38205 sign of result as needed afterwards.
38206 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38207 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38208 result for underflowing pow the same as for overflow.
38209 (__kernel_standard_l): Handle powl overflow and underflow here
38210 rather than calling __kernel_standard.
38211 * math/libm-test.inc (pow_test): Add more tests.
38226 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38227 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38228 (__kernel_standard_l): New function.
38229 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38231 * math/w_acosl.c (__acosl): Likewise.
38232 * math/w_asinl.c (__asinl): Likewise.
38233 * math/w_atan2l.c (__atan2l): Likewise.
38234 * math/w_atanhl.c (__atanhl): Likewise.
38235 * math/w_coshl.c (__coshl): Likewise.
38236 * math/w_exp10l.c (__exp10l): Likewise.
38237 * math/w_exp2l.c (__exp2l): Likewise.
38238 * math/w_fmodl.c (__fmodl): Likewise.
38239 * math/w_hypotl.c (__hypotl): Likewise.
38240 * math/w_j0l.c (__j0l, __y0l): Likewise.
38241 * math/w_j1l.c (__j1l, __y1l): Likewise.
38242 * math/w_jnl.c (__jnl, __ynl): Likewise.
38243 * math/w_lgammal.c (__lgammal): Likewise.
38244 * math/w_log10l.c (__log10l): Likewise.
38245 * math/w_log2l.c (__log2l): Likewise.
38246 * math/w_logl.c (__logl): Likewise.
38247 * math/w_powl.c (__powl): Likewise.
38248 * math/w_remainderl.c (__remainderl): Likewise.
38249 * math/w_scalbl.c (sysv_scalbl): Likewise.
38250 * math/w_sinhl.c (__sinhl): Likewise.
38251 * math/w_sqrtl.c (__sqrtl): Likewise.
38252 * math/w_tgammal.c (__tgammal): Likewise.
38253 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38254 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38255 * math/libm-test.inc (acos_test): Add more tests.
38256 (acosh_test): Likewise.
38257 (asin_test): Likewise.
38258 (atanh_test): Likewise.
38259 (exp_test): Likewise.
38260 (exp10_test): Likewise.
38261 (exp2_test): Likewise.
38262 (expm1_test): Likewise.
38263 (lgamma_test): Likewise.
38264 (log_test): Likewise.
38265 (log10_test): Likewise.
38266 (log1p_test): Likewise.
38267 (log2_test): Likewise.
38268 (pow_test): Do not allow some spurious overflow exceptions.
38269 (sqrt_test): Add more tests.
38270 (tgamma_test): Likewise.
38271 (y0_test): Likewise.
38272 (y1_test): Likewise.
38273 (yn_test): Likewise.
38275 2012-03-27 Anton Blanchard <anton@samba.org>
38277 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38279 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38280 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38281 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38283 2012-03-27 David S. Miller <davem@davemloft.net>
38285 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38287 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38288 have-as-vis3 check.
38290 2012-03-27 Andreas Jaeger <aj@suse.de>
38292 * sysdeps/x86_64/elf/configure.in: Moved to ...
38293 * sysdeps/x86_64/configure.in: ... here.
38294 * sysdeps/x86_64/elf/start.S: Moved to ...
38295 * sysdeps/x86_64/start.S: ... here.
38296 * sysdeps/x86_64/elf/configure: Delete.
38298 * sysdeps/x86_64/configure.in: Merge contents from
38299 sysdeps/i386/configure.in (without i686 check).
38301 * sysdeps/i386/elf/Versions: Merge into ...
38302 * sysdeps/i386/Versions: ... this.
38303 * sysdeps/i386/elf/Versions: Delete file.
38304 * sysdeps/i386/elf/start.S: Moved to ...
38305 * sysdeps/i386/start.S: ...here.
38306 * sysdeps/i386/elf/configure.in: Merge into...
38307 * sysdeps/i386/configure.in: ...here.
38308 * sysdeps/i386/elf/configure.in: Delete file.
38309 * sysdeps/i386/elf/configure: Delete file.
38311 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38312 * debug/backtracesyms.c: ... here.
38313 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38314 * debug/backtracesymsfd.c: ... here.
38315 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38316 * sysdeps/generic/ifunc-sel.h: ... here.
38318 * sysdeps/unix/i386/start.c: Delete file.
38319 * sysdeps/unix/sparc/start.c: Delete file.
38320 * sysdeps/unix/start.c: Delete file.
38322 * sysdeps/sh/elf/configure.in: Moved to ...
38323 * sysdeps/sh/configure.in: ... here.
38324 * sysdeps/sh/elf/start.S: Moved to ...
38325 * sysdeps/sh/start.S: ... here.
38326 * sysdeps/sh/elf/configure: Delete file.
38328 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38329 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38330 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38331 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38332 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38333 * sysdeps/powerpc/powerpc64/start.S: here.
38334 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38335 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38336 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38337 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38338 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38340 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38341 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38342 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38343 * sysdeps/powerpc/powerpc32/start.S: ... here.
38344 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38345 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38346 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38348 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38349 * sysdeps/powerpc/ifunc-sel.h: ... here.
38350 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38351 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38353 * sysdeps/sparc/elf/configure.in: Moved to ...
38354 * sysdeps/sparc/configure.in: ... here.
38355 * sysdeps/sparc/elf/configure: Delete file.
38356 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38357 * sysdeps/sparc/sparc32/start.S: ... here.
38358 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38359 * sysdeps/sparc/sparc64/start.S: ... here.
38360 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38361 * sysdeps/sparc/sparc32/Makefile: ... this.
38362 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38363 * sysdeps/sparc/sparc64/Makefile: ... this.
38365 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38366 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38367 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38368 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38369 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38370 * sysdeps/s390/s390-32/setjmp.S: ... here.
38371 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38372 * sysdeps/s390/s390-32/configure.in: ... here.
38373 * sysdeps/s390/s390-32/elf/configure: Delete file.
38374 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38375 * sysdeps/s390/s390-32/start.S: ... here.
38377 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38378 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38379 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38380 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38381 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38382 * sysdeps/s390/s390-64/setjmp.S: ... here.
38383 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38384 * sysdeps/s390/s390-64/configure.in: ... here
38385 * sysdeps/s390/s390-64/elf/configure: Delete file.
38386 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38387 * sysdeps/s390/s390-64/start.S: ... here.
38388 * sysdeps/s390/s390-64/elf/configure: Delete.
38390 * configure.in: Remove support for elf directories in sysdeps.
38392 * configure: Regenerated.
38393 * sysdeps/i386/configure: Regenerated.
38394 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38395 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38396 * sysdeps/s390/s390-32/configure: Regenerated.
38397 * sysdeps/s390/s390-64/configure: Regenerated.
38398 * sysdeps/sh/configure: Regenerated.
38399 * sysdeps/sparc/configure: Regenerated.
38400 * sysdeps/x86_64/configure: Regenerated.
38402 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38406 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38407 denormal result into account.
38409 2012-03-25 Roland McGrath <roland@hack.frob.com>
38411 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38412 Reported by Allan McRae <allan@archlinux.org>.
38414 2012-03-23 Jeff Law <law@redhat.com>
38416 * nss/getnssent.c (__nss_getent): Fix typo.
38418 2012-03-23 David S. Miller <davem@davemloft.net>
38420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38422 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38424 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38425 to pad to uint64_t for each field.
38426 (dl_tls_index): Replace unsigned long with uint64_t.
38428 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38429 Paul Pluzhnikov <ppluzhnikov@google.com>
38432 * grp/Makefile (otherlibs): Don't set it.
38433 * inet/Makefile (otherlibs): Likewise.
38434 * login/Makefile (otherlibs): Likewise.
38435 * nscd/Makefile (otherlibs): Likewise.
38436 * posix/Makefile (otherlibs): Likewise.
38437 * pwd/Makefile (otherlibs): Likewise.
38438 * rt/Makefile (otherlibs): Likewise.
38439 * sunrpc/Makefile (otherlibs): Likewise.
38440 * nss/Makefile (otherlibs): Likewise.
38441 Add libnss_files to routines and static-only-routines.
38442 ($(objpfx)getent): Remove rule.
38443 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38444 static-only-routines.
38446 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38449 * math/s_cexp.c: Include <float.h>.
38450 (__cexp): Handle exp result overflowing not necessarily
38451 overflowing both real and imaginary parts of result.
38452 * math/s_cexpf.c: Likewise.
38453 * math/s_cexpl.c: Likewise.
38454 * math/libm-test.inc (cexp_test): Add more tests.
38455 * sysdeps/i386/fpu/libm-test-ulps: Update.
38456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38458 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38460 * include/link.h (ELFW): New macro.
38461 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38462 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38464 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38466 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38469 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38471 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38473 (struct La_x32_retval): Likewise.
38475 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38477 * sysdeps/x86_64/preconfigure.in: New file.
38478 * sysdeps/x86_64/preconfigure: New generated file.
38480 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38483 * math/e_exp2l.c: Include <float.h>.
38484 (__ieee754_exp2l): Handle overflow and underflow cases
38485 separately. Only pass fractional part of argument to
38487 * math/libm-test.inc (exp2_test): Add more tests.
38489 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38490 negating x to take absolute value.
38491 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38493 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38494 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38496 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38497 computing low part if x was negated.
38498 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38500 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38502 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38503 la_x32_gnu_pltexit.
38504 (pltexit): Cast int_retval to ptrdiff_t.
38505 * elf/tst-auditmod3b.c: Likewise.
38506 * elf/tst-auditmod4b.c: Likewise.
38507 * elf/tst-auditmod5b.c: Likewise.
38508 * elf/tst-auditmod6b.c: Likewise.
38509 * elf/tst-auditmod6c.c: Likewise.
38510 * elf/tst-auditmod7b.c: Likewise.
38512 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38513 and x32_gnu_pltexit.
38515 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38516 __ELF_NATIVE_CLASS.
38517 (La_x32_regs): New macro.
38518 (La_x32_retval): Likewise.
38519 (la_x32_gnu_pltenter): New function prototype.
38520 (la_x32_gnu_pltexit): Likewise.
38522 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38524 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38529 * configure.in (libc_cv_cc_nofma): Check for option to disable
38530 generation of FMA instructions.
38531 * configure: Regenerate.
38532 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38533 * sysdeps/ieee754/dbl-64/Makefile: New file.
38534 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38535 Remove brandred-fma4.
38536 (CFLAGS-brandred-fma4.c): Remove.
38537 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38538 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38540 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38543 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38545 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38546 LLONG_MAX != LONG_MAX.
38547 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38548 (_fitoa_word): Likewise.
38549 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38550 LLONG_MAX != LONG_MAX.
38551 * stdio-common/_itowa.h: Include <_itoa.h>.
38552 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38553 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38554 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38555 only if not defined.
38556 (_ITOA_WORD_TYPE): Likewise.
38557 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38558 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38560 2012-03-21 David S. Miller <davem@davemloft.net>
38562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38564 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38566 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38567 of x86_64 when setting libc_cv_slibdir, libdir and
38569 * sysdeps/unix/sysv/linux/configure: Regenerated.
38571 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38573 * manual/lang.texi (Old Varargs): Remove section.
38574 (How Variadic): Update menu.
38575 (va_start): Do not mention varargs.h.
38577 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38578 Joseph Myers <joseph@codesourcery.com>
38580 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38582 * configure: Regenerated.
38584 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38586 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38587 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38590 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38593 * Makefile (files-for-dist): Remove NOTES.
38594 (NOTES): Remove rule.
38595 * README: Don't refer to NOTES.
38596 * manual/creature.texi: Don't include macros.texi.
38597 * manual/intro.texi (creature.texi): Remove comment referring to
38600 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38601 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38602 * configure: Regenerated.
38603 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38604 LIBC_TRY_CC_OPTION.
38605 (libc_cv_as_i686): Likewise.
38606 (libc_cv_cc_avx): Likewise.
38607 (libc_cv_cc_sse2avx): Likewise.
38608 (libc_cv_cc_fma4): Likewise.
38609 (libc_cv_cc_novzeroupper): Likewise.
38610 * sysdeps/i386/configure: Regenerated.
38613 * sysdeps/i386/fpu/s_cexp.S: Remove.
38614 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38615 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38616 * math/libm-test.inc (cexp_test): Add more tests.
38617 * sysdeps/i386/fpu/libm-test-ulps: Update.
38618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38620 2012-03-21 Allan McRae <allan@archlinux.org>
38622 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38624 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38627 * math/w_exp2.c: Do not include <float.h>.
38628 (o_threshold, u_threshold): Remove.
38629 (__exp2): Calculate result before checking finiteness and calling
38631 * math/w_exp2f.c: Likewise.
38632 * math/w_exp2l.c: Likewise.
38633 * math/libm-test.inc (exp2_test): Require overflow exception for
38637 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38638 range of signed 64-bit integers before using fistpll. Remove
38639 checks for whether integers fit in mantissa bits.
38640 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38641 the range of signed 32-bit integers before using fistpl. Remove
38642 checks for whether integers fit in mantissa bits.
38643 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38644 (__ieee754_powl): Test for y outside the range of signed 64-bit
38645 integers before using fistpll. Reduce 64-bit values to 63-bit
38647 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38648 divide-by-zero is raised for zero to large negative powers.
38649 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38650 (__ieee754_powl): Test for y outside the range of signed 64-bit
38651 integers before using fistpll. Reduce 64-bit values to 63-bit
38653 * math/libm-test.inc (pow_test): Add more tests.
38655 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38657 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38658 <stdio-common/_itoa.h>.
38659 * debug/segfault.c: Likewise.
38660 * elf/dl-cache.c: Likewise.
38661 * elf/dl-minimal.c: Likewise.
38662 * elf/dl-misc.c: Likewise.
38663 * elf/dl-sysdep.c: Likewise.
38664 * elf/dl-version.c: Likewise.
38665 * elf/rtld.c: Likewise.
38666 * hurd/hurdsock.c: Likewise.
38667 * hurd/lookup-retry.c: Likewise.
38668 * malloc/malloc.c: Likewise.
38669 * malloc/mtrace.c: Likewise.
38670 * nscd/nscd_getgr_r.c: Likewise.
38671 * nscd/nscd_getpw_r.c: Likewise.
38672 * nscd/nscd_getserv_r.c: Likewise.
38673 * posix/getopt_init.c: Likewise.
38674 * posix/wordexp.c: Likewise.
38675 * stdio-common/_itoa.c: Likewise.
38676 * stdio-common/printf_fphex.c: Likewise.
38677 * stdio-common/vfprintf.c: Likewise.
38678 * string/_strerror.c: Likewise.
38679 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38680 * sysdeps/i386/i686/hp-timing.h: Likewise.
38681 * sysdeps/mach/_strerror.c: Likewise.
38682 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38683 * sysdeps/mach/hurd/sethostid.c: Likewise.
38684 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38685 * sysdeps/mach/xpg-strerror.c: Likewise.
38686 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38687 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38688 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38689 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38690 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38691 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38692 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38693 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38694 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38695 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38696 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38697 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38698 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38699 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38700 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38701 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38702 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38703 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38704 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38705 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38706 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38708 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38710 * stdio-common/_itoa.h: Moved to ...
38711 * sysdeps/generic/_itoa.h: Here.
38713 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38715 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38716 instead of "_itoa.h" and "_itowa.h".
38717 * stdio-common/vfprintf.: Likewise.
38719 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38721 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38723 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38724 (__signbit): Likwise.
38725 (llrintf): Likwise.
38728 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38730 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38733 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38735 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38736 OVERFLOW_EXCEPTION_OK.
38737 * math/libm-test.inc ("Philosophy"): Update comment about
38739 (OVERFLOW_EXCEPTION): Define.
38740 (OVERFLOW_EXCEPTION_OK): Likewise.
38741 (INVALID_EXCEPTION_OK): Renumber.
38742 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38743 (IGNORE_ZERO_INF_SIGN): Likewise.
38744 (test_exceptions): Handle FE_OVERFLOW.
38745 (exp10_test): Expect overflow exceptions.
38746 (exp2_test): Likewise.
38747 (expm1_test): Likewise.
38748 (nextafter_test): Likewise.
38749 (pow_test): Likewise.
38750 (scalbn_test): Likewise.
38751 (scalbln_test): Likewise.
38753 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38755 * sysdeps/x86_64/bits/atomic.h
38756 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38758 (atomic_exchange_acq): Likewise.
38759 (__arch_exchange_and_add_body): Likewise.
38760 (__arch_add_body): Likewise.
38761 (atomic_add_negative): Likewise.
38762 (atomic_add_zero): Likewise.
38764 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38766 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38767 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38769 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38771 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38772 Check __x86_64__ instead of __WORDSIZE.
38774 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38776 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38778 2012-03-19 David S. Miller <davem@davemloft.net>
38780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38782 * sysdeps/sparc/fpu/fenv_private.h: New file.
38783 * sysdeps/sparc/fpu/math_private.h: Use it.
38784 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38786 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38787 (libc_feholdexcept_setroundl): Remove.
38788 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38790 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38791 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38793 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38795 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38796 int64_t instead of long int.
38797 (INSERT_WORDS64): Likwise.
38799 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38801 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38802 _Unwind_GetCFA return to _Unwind_Ptr first.
38804 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38807 * math/s_clog.c: Include <float.h>.
38808 (__clog): Scale large or subnormal inputs.
38809 * math/s_clogf.c: Likewise.
38810 * math/s_clogl.c: Likewise.
38811 * math/s_clog10.c: Include <float.h>.
38812 (M_LOG10_2): Define.
38813 (__clog10): Scale large or subnormal inputs.
38814 * math/s_clog10f.c: Likewise.
38815 * math/s_clog10l.c: Likewise.
38816 * math/libm-test.inc (clog_test): Add more tests.
38817 (clog10_test): Likewise.
38818 * sysdeps/i386/fpu/libm-test-ulps: Update.
38819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38822 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38824 * math/libm-test.inc (atan2_test): Add another test.
38826 * Makerules (common-objdir-compile): Remove.
38827 * sysdeps/unix/Makefile (config-generated): Do not add
38828 $(unix-generated) to variable.
38829 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38830 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38832 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38834 [generic bits/local_lim.h] (before-compile): Do not append to
38836 [generic bits/local_lim.h] (common-generated): Likewise.
38837 [generic sys/param.h] (before-compile): Do not append to variable.
38838 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38839 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38840 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38841 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38843 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38844 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38845 [generic sys/param.h] ($(addprefix
38846 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38847 [generic sys/param.h] (common-generated): Do not append to
38849 [generic sys/param.h] (sysdep_headers): Likewise.
38850 [generic bits/errno.h] (before-compile): Do not append to
38852 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38854 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38855 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38856 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38857 [generic bits/errno.h] (common-generated): Do not append to
38859 [generic bits/ioctls.h] (before-compile): Do not append to
38861 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38863 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38864 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38865 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38867 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38868 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38869 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38870 [generic bits/ioctls.h] (common-generated): Do not append to
38872 [generic sys/syscall.h] (syscall.h): Remove variable.
38873 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38875 [generic sys/syscall.h] (before-compile): Do not append to
38877 [generic sys/syscall.h] (common-generated): Likewise.
38878 * sysdeps/unix/errnos-tmpl.c: Remove file.
38879 * sysdeps/unix/errnos.awk: Likewise.
38880 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38881 * sysdeps/unix/ioctls.awk: Likewise.
38882 * sysdeps/unix/mk-local_lim.c: Likewise.
38883 * sysdeps/unix/snarf-ioctls: Likewise.
38885 2012-03-19 Richard Henderson <rth@twiddle.net>
38887 * sysdeps/i386/fpu/fenv_private.h: New file.
38888 * sysdeps/i386/fpu/math_private.h: Use it.
38889 (math_opt_barrier, math_force_eval): Remove.
38890 (libc_feholdexcept_setround_53bit): Remove.
38891 (libc_feupdateenv_53bit): Remove.
38892 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38893 (math_opt_barrier, math_force_eval): Remove.
38894 (libc_feholdexcept): Remove.
38895 (libc_feholdexcept_setround): Remove.
38896 (libc_fetestexcept, libc_fesetenv): Remove.
38897 (libc_feupdateenv_test): Remove.
38898 (libc_feupdateenv, libc_feholdsetround): Remove.
38899 (libc_feresetround): Remove.
38901 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38902 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38904 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38905 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38906 (libc_feupdateenv_testl): New.
38907 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38908 (libc_feupdateenv_testf): New.
38909 (libc_feupdateenv): Use libc_feupdateenv_test.
38910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38911 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38913 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38914 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38915 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38916 (libc_feresetround_noex): New.
38917 (libc_feresetround_noexf): New.
38918 (libc_feresetround_noexl): New.
38919 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38920 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38921 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38922 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38924 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38925 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38927 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38928 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38929 SET_RESTORE_ROUND_NOEX.
38930 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38931 SET_RESTORE_ROUND_NOEXF.
38932 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38933 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38934 (libc_feholdsetroundf): New.
38935 (libc_feresetround, libc_feresetroundf): New.
38937 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38938 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38939 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38941 * sysdeps/generic/math_private.h: Include <fenv.h>.
38942 (default_libc_feholdexcept): New.
38943 (default_libc_feholdexcept_setround): New.
38944 (default_libc_fesetenv, default_libc_feupdateenv): New.
38945 (libc_feholdexcept): Only define if undefined.
38946 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38947 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38948 (libc_feholdexcept_setroundl): Likewise.
38949 (libc_feholdexcept_setround_53bit): Likewise.
38950 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38951 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38952 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38953 (libc_feupdateenv_53bit): Likewise.
38954 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38955 (libc_feholdexcept): Convert from macro to inline function.
38956 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38957 (libc_fesetenv, libc_feupdateenv): Likewise.
38959 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38960 not previously defined.
38961 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38962 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38963 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38964 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38965 * sysdeps/ieee754/flt-32/math_private.h: New file.
38966 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38967 math_private.h below SET_FLOAT_WORD.
38968 (__isnan, __isinf_ns, __finite): Remove.
38969 (__isnanf, __isinf_nsf, __finitef): Remove.
38971 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38975 2012-03-17 David S. Miller <davem@davemloft.net>
38978 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38981 2012-03-16 David S. Miller <davem@davemloft.net>
38983 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38987 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38989 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38990 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38991 sysdep_routines when subdir is sysvipc.
38992 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38993 __getshmlba helper.
38995 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38997 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38999 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39002 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39004 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39005 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39006 (__lround): Renamed to ...
39007 (__llround): This. Replace long int with long long int.
39008 Define lround functions as aliases of llround functions.
39009 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39011 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39013 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39014 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39015 adresses to uintptr_t. Replace "long int" and "unsigned long
39016 int" with "greg_t" on va_arg.
39018 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39020 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39021 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39023 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39024 Move e_machine check before EI_CLASS check. Handle x32
39025 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39026 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39027 SKIP_EM_IA_64 and include
39028 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39030 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39031 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39032 (add_system_dir): New macro.
39034 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39035 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39037 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39048 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39050 * math/w_j0f.c (j0f): Likewise.
39052 * math/w_j0l.c (__j0l): Likewise.
39054 * math/w_j1.c (j1): Likewise.
39056 * math/w_j1f.c (j1f): Likewise.
39058 * math/w_j1l.c (__j1l): Likewise.
39060 * math/w_jn.c (jn): Likewise.
39062 * math/w_jnf.c (jnf): Likewise.
39064 * math/w_jnl.c (__jnl): Likewise.
39066 * math/libm-test.inc (j0_test): Add more tests.
39067 (j1_test): Likewise.
39068 (jn_test): Likewise. Add trailing semicolon to existing test.
39069 (y0_test): Likewise.
39070 (y1_test): Likewise.
39071 * sysdeps/i386/fpu/libm-test-ulps: Update.
39072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39076 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39077 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39078 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39079 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39080 (__tanl): Set errno for infinite argument.
39081 * sysdeps/i386/fpu/mptan.c: Remove.
39082 * sysdeps/i386/fpu/s_tan.S: Likewise.
39083 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39084 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39085 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39086 * math/libm-test.inc (tan_test): Add more tests and enable more
39087 tests for double and long double.
39088 * sysdeps/i386/fpu/libm-test-ulps: Update.
39089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39091 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39093 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39094 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39096 2012-03-16 Roland McGrath <roland@hack.frob.com>
39098 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39099 * configure.in: Use it for both main tree and add-ons.
39100 * configure: Regenerated.
39102 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39104 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39106 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39108 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39112 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39113 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39114 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39115 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39116 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39118 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39119 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39120 != 0 for prec == 2.
39121 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39122 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39123 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39124 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39125 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39126 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39127 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39128 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39129 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39130 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39131 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39132 * math/libm-test.inc (cos_test): Add more tests and enable more
39133 tests for long double.
39134 (sin_test): Likewise.
39135 (sincos_test): Likewise.
39136 * sysdeps/i386/fpu/libm-test-ulps: Update.
39137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39139 2012-03-16 David S. Miller <davem@davemloft.net>
39141 * sysdeps/sparc/fpu/math_private.h: New file.
39143 2012-03-15 David S. Miller <davem@davemloft.net>
39145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39155 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39159 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39160 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39162 * sysdeps/sparc/sparc-ifunc.h: New file.
39163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39187 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39188 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39189 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39190 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39191 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39192 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39197 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39198 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39199 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39200 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39201 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39202 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39203 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39204 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39205 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39206 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39208 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39210 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39214 2012-03-15 Andreas Jaeger <aj@suse.de>
39217 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39218 ieee754/flt-32 implementation for sin, cos and sincos.
39219 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39220 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39221 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39222 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39223 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39224 ieee754/flt-32 implementation for tan.
39226 * math/libm-test.inc (cos_test): Enable some large input tests for
39228 (sin_test): Likewise.
39229 (sincos_test): Likewise.
39230 (tan_test): Add tests for large input.
39232 * sysdeps/i386/fpu/libm-test-ulps: Update.
39234 2012-03-15 Andreas Jaeger <aj@suse.de>
39237 * math/libm-test.inc (cos_test): Add more test cases.
39238 (sin_test): Likewise.
39239 (sincos_test): Likewise.
39241 2012-03-15 Andreas Jaeger <aj@suse.de>
39244 * math/libm-test.inc (cos_test): Add a test case for large input
39246 (sin_test): Likewise.
39247 (sincos_test): Likewise.
39249 2012-03-15 Andreas Jaeger <aj@suse.de>
39250 Joseph Myers <joseph@codesourcery.com>
39253 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39254 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39255 * sysdeps/i386/fpu/branred.c: Likewise.
39256 * sysdeps/i386/fpu/dosincos.c: Likewise.
39257 * sysdeps/i386/fpu/mpa.c: Likewise.
39258 * sysdeps/i386/fpu/s_cos.S: Likewise.
39259 * sysdeps/i386/fpu/s_sin.S: Likewise.
39260 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39261 * sysdeps/i386/fpu/sincos32.c: Likewise.
39263 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39265 (libc_feupdateenv_53bit): Define.
39266 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39268 (libc_feupdateenv_53bit): Define.
39270 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39271 53 bit (without extend i386 double precision).
39273 * math/libm-test.inc (sincos_test): Add tests for large input.
39277 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39279 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39283 2012-03-15 David S. Miller <davem@davemloft.net>
39285 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39286 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39287 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39288 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39312 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39313 fmin/fmax sysdep routines.
39314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39316 2012-03-14 David S. Miller <davem@davemloft.net>
39318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39320 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39321 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39322 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39323 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39324 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39325 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39327 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39328 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39329 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39335 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39338 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39339 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39340 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39341 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39342 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39343 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39344 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39345 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39390 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39395 * sysdeps/sparc/configure.in: New file.
39396 * sysdeps/sparc/configure: Generate.
39397 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39398 * configure: Regenerate.
39399 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39400 * config.make.in (have-as-vis3): New.
39401 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39402 available use -Av9d instead of -Av9a.
39403 * sysdeps/sparc/sparc64/Makefile: Likewise.
39404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39413 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39414 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39415 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39416 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39417 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39419 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39420 fzeros/fnegs to load 0x80000000 into a float register instead of
39422 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39424 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39426 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39428 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39429 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39430 ($(inst_includedir)/bits/syscall.h): Remove rule.
39431 ($(objpfx)bits/syscall.d): Include instead of
39432 $(objpfx)syscall-list.d.
39433 (generated): Change syscall-list.h and syscall-list.d to
39434 bits/syscall.h and bits/syscall.d.
39436 2012-03-14 Roland McGrath <roland@hack.frob.com>
39439 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39441 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39444 * math/s_csqrt.c: Include <float.h>.
39445 (__csqrt): Scale large or subnormal inputs.
39446 * math/s_csqrtf.c: Likewise.
39447 * math/s_csqrtl.c: Likewise.
39448 * math/libm-test.inc (csqrt_test): Add more tests.
39449 * sysdeps/i386/fpu/libm-test-ulps: Update.
39450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39453 * math/libm-test.inc (hypot_test): Add more tests.
39455 2012-03-13 David S. Miller <davem@davemloft.net>
39458 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39459 double-precision for the calculation instead of scaling.
39461 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39463 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39464 manipulate bits before adding and subtracting TWO52[sx].
39465 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39466 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39468 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39470 2012-03-13 David S. Miller <davem@davemloft.net>
39472 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39473 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39474 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39475 rtld-global-offsets.h
39476 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39478 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39481 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39483 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39484 'err' in the ifdef scope in which it is actually used.
39486 * nss/nss_db/db-init.c: Include string.h
39488 2012-03-12 David S. Miller <davem@davemloft.net>
39490 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39491 masking out of the most significant byte of random value used.
39492 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39493 Fix coding style in previous change.
39495 * sysdeps/unix/sysv/linux/kernel-features.h
39496 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39497 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39499 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39502 2012-03-11 David S. Miller <davem@davemloft.net>
39504 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39505 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39506 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39507 for 'resultvar' otherwise things get truncated on 64-bit.
39509 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39510 Fix masking out of the most significant byte of random value used.
39512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39514 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39518 2012-03-09 David S. Miller <davem@davemloft.net>
39520 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39521 variables with appropriate CPP guards.
39522 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39523 from the frame pointer, not the stack pointer. Correct layout
39524 comments. Fix test on resulting framesize and the management of
39525 the outregs buffer for pltexit. Preserve floating point return
39526 values across _dl_call_pltexit call.
39527 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39528 framesize and the management of the outregs buffer for pltexit.
39529 Preserve floating point return values across _dl_call_pltexit
39531 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39532 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39533 (la_sparc64_gnu_pltexit): New functions.
39534 (print_exit): Fix format string for return register value.
39536 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39538 * sunrpc/Makefile (others): Add rpcgen.
39539 ($(objpfx)rpcgen): Remove special build rule and dependency on
39541 * sunrpc/rpcgen.c: New file.
39543 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39546 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39547 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39548 * sysdeps/i386/crti.S: Likewise.
39549 * sysdeps/i386/crtn.S: Likewise.
39550 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39551 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39552 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39553 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39554 * sysdeps/sh/crti.S: Likewise.
39555 * sysdeps/sh/crtn.S: Likewise.
39556 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39559 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39561 * locale/programs/locfile-kw.gperf: Likewise.
39562 * locale/programs/charmap-kw.h: Regenerated.
39563 * locale/programs/locfile-kw.h: Likewise.
39566 * intl/plural.y: Replace FSF snail mail address with URL.
39567 * intl/plural.c: Regenerated.
39569 2012-03-09 Richard Henderson <rth@twiddle.net>
39571 * include/math_private.h: Remove file.
39572 * math/math_private.h: Move file ...
39573 * sysdeps/generic/math_private.h: ... here.
39575 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39576 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39577 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39579 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39580 and <math_private.h>.
39581 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39582 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39583 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39584 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39585 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39586 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39587 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39588 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39589 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39590 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39591 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39592 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39593 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39594 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39595 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39596 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39597 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39598 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39599 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39600 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39601 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39602 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39603 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39604 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39605 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39606 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39607 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39608 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39609 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39610 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39611 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39612 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39613 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39614 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39615 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39616 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39617 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39618 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39619 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39620 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39621 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39622 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39623 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39624 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39625 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39626 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39627 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39628 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39629 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39630 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39631 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39632 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39633 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39634 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39635 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39636 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39637 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39638 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39639 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39640 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39641 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39642 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39643 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39644 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39645 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39646 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39647 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39648 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39649 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39650 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39651 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39652 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39653 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39654 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39655 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39656 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39657 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39658 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39659 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39660 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39661 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39662 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39663 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39664 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39665 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39666 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39667 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39668 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39669 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39670 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39671 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39672 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39673 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39674 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39675 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39676 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39677 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39678 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39679 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39680 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39681 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39682 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39683 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39684 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39685 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39686 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39687 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39688 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39689 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39690 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39691 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39692 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39693 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39694 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39695 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39696 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39697 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39698 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39699 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39700 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39701 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39702 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39703 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39704 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39705 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39706 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39707 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39708 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39709 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39710 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39711 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39712 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39713 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39714 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39715 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39716 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39717 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39718 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39719 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39720 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39721 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39722 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39723 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39724 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39725 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39726 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39727 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39728 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39729 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39730 * sysdeps/ieee754/k_standard.c: Likewise.
39731 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39732 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39733 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39734 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39735 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39736 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39737 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39738 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39739 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39740 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39741 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39742 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39743 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39744 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39745 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39746 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39747 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39748 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39749 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39750 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39751 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39752 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39753 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39754 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39755 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39756 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39757 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39758 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39759 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39760 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39761 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39762 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39763 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39764 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39765 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39766 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39767 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39768 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39769 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39770 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39771 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39772 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39773 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39774 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39775 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39776 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39777 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39778 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39779 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39780 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39781 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39782 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39783 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39784 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39785 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39786 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39787 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39788 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39789 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39790 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39791 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39792 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39793 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39794 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39795 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39796 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39797 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39798 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39799 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39800 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39801 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39802 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39803 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39804 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39805 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39806 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39807 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39808 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39809 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39810 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39811 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39812 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39813 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39814 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39815 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39816 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39817 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39818 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39819 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39820 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39821 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39822 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39823 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39824 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39825 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39826 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39827 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39828 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39829 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39830 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39831 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39832 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39833 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39834 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39835 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39836 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39837 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39838 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39839 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39840 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39841 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39842 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39843 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39844 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39845 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39846 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39847 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39848 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39849 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39850 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39851 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39852 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39853 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39854 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39855 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39856 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39857 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39858 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39859 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39860 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39861 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39862 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39863 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39864 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39865 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39866 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39867 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39868 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39869 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39870 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39871 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39872 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39873 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39874 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39875 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39876 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39877 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39878 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39879 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39880 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39881 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39882 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39883 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39884 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39885 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39886 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39887 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39888 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39889 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39890 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39891 * sysdeps/ieee754/s_lib_version.c: Likewise.
39892 * sysdeps/ieee754/s_matherr.c: Likewise.
39893 * sysdeps/ieee754/s_signgam.c: Likewise.
39894 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39895 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39896 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39897 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39898 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39899 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39900 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39901 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39902 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39903 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39904 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39905 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39906 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39907 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39908 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39909 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39910 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39911 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39912 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39913 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39914 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39916 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39918 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39919 * sunrpc/rpc_main.c: Likewise.
39920 * sunrpc/rpc_svcout.c: Likewise.
39922 2012-03-09 David S. Miller <davem@davemloft.net>
39924 * include/math_private.h: New file.
39926 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39928 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39929 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39930 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39931 from <bits/socket_type.h>.
39932 (enum __socket_type): Don't define here.
39933 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39934 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39935 bits/socket_type.h.
39938 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39939 checking __USE_GNU.
39941 * Makerules ($(inst_includedir)/%.h): New rule.
39942 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39943 (install-others): Remove variable setting.
39944 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39946 2012-03-08 Richard Henderson <rth@twiddle.net>
39948 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39949 from macro to inline function; merge with the
39950 !__LIBC_INTERNAL_MATH_INLINES version.
39951 (__ieee754_sqrtf): Likewise.
39953 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39954 to inline function.
39955 (__rintf, __floor, __floorf): Likewise.
39957 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39958 macro to inline function.
39959 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39961 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39962 not <math/math_private.h>.
39964 2012-03-08 David S. Miller <davem@davemloft.net>
39966 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39968 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39970 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39972 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39974 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39975 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39977 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39979 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39980 be defined individually, they must be defined as a block. Define
39981 S for printing a string instead of hidint the different by using a
39982 macro for adding the 'l'.
39983 * stdio-common/tst-fphex-wide.c: Adjust.
39985 2012-03-07 Marek Polacek <polacek@redhat.com>
39987 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39989 2012-03-08 Marek Polacek <polacek@redhat.com>
39992 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39993 * stdio-common/tst-fphex.c: Define a few macros to make the
39994 test reusable. Use them.
39995 * stdio-common/tst-fphex-wide.c: New file.
39997 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40000 * manual/macros.texi (gnusystems): New macro.
40001 (nongnusystems): Likewise.
40002 (gnulinuxhurdsystems): Likewise.
40003 (gnuhurdsystems): Likewise..
40004 (gnulinuxsystems): Likewise.
40005 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40006 variants of the GNU system, not "GNU system".
40007 * manual/conf.texi: Likewise.
40008 * manual/errno.texi: Likewise. Update example of errno macro
40010 * manual/filesys.texi: Likewise.
40011 (getumask): Document as specific to GNU/Hurd.
40012 * manual/install.texi: Likewise. Reword some references to
40014 * manual/intro.texi: Likewise.
40015 * manual/io.texi: Likewise.
40016 (File Name Portability): Detail which constraints are inapplicable
40017 to all GNU systems and which are only inapplicable to GNU/Hurd.
40018 * manual/job.texi: Likewise.
40019 * manual/llio.texi: Likewise.
40020 (O_NOCTTY): Document as present on GNU/Linux.
40021 * manual/maint.texi: Likewise.
40022 * manual/memory.texi: Likewise.
40023 * manual/pattern.texi: Likewise.
40024 * manual/pipe.texi: Likewise.
40025 * manual/process.texi: Likewise.
40026 * manual/resource.texi: Likewise.
40027 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40029 * manual/setjmp.texi: Likewise.
40030 * manual/signal.texi: Likewise.
40031 * manual/startup.texi: Likewise.
40032 * manual/stdio.texi: Likewise.
40033 * manual/terminal.texi: Likewise.
40034 (ONLCR): Document as POSIX.
40035 (OXTABS): Document availability on GNU/Linux as XTABS.
40036 (ONOEOT): Document availability separately from other bits.
40037 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40038 * manual/time.texi: Likewise.
40039 * manual/users.texi: Likewise.
40040 * INSTALL: Regenerated.
40041 * sysdeps/gnu/errlist.c: Regenerated.
40043 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40044 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40045 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40047 * configure: Regenerated.
40049 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40051 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40052 default includes instead of AC_HEADER_CHECK.
40053 * sysdeps/i386/configure: Regenerated.
40056 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40057 * math/s_cacoshf.c (__cacoshf): Likewise.
40058 * math/s_cacoshl.c (__cacoshl): Likewise.
40059 * math/s_casinh.c (__casinh): Set signs of result from argument.
40060 * math/s_casinhf.c (__casinhf): Likewise.
40061 * math/s_casinhl.c (__casinhl): Likewise.
40062 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40063 (casinh_test): Add more tests.
40064 * sysdeps/i386/fpu/libm-test-ulps: Update.
40065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40067 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40069 * po/zh_TW.po: Update from translation team.
40071 * login/Makefile (distribute): Remove variable.
40072 * catgets/Makefile: Likewise.
40073 * mach/Makefile: Likewise.
40074 * malloc/Makefile: Likewise.
40075 * misc/Makefile: Likewise.
40076 * iconv/Makefile: Likewise.
40077 * nscd/Makefile: Likewise.
40078 * hurd/Makefile: Likewise.
40079 * manual/Makefile: Likewise.
40080 * locale/Makefile: Likewise.
40081 * intl/Makefile: Likewise.
40082 * conform/Makefile: Likewise.
40083 * nss/Makefile: Likewise.
40084 * time/Makefile: Likewise.
40085 * soft-fp/Makefile: Likewise.
40086 * dirent/Makefile: Likewise.
40087 * gmon/Makefile: Likewise.
40088 * po/Makefile: Likewise.
40089 * rt/Makefile: Likewise.
40090 * socket/Makefile: Likewise.
40091 * math/Makefile: Likewise.
40092 * signal/Makefile: Likewise.
40093 * debug/Makefile: Likewise.
40094 * elf/Makefile: Likewise.
40095 * timezone/Makefile: Likewise.
40096 * stdlib/Makefile: Likewise.
40097 * iconvdata/Makefile: Likewise.
40098 * sunrpc/Makefile: Likewise.
40099 * io/Makefile: Likewise.
40100 * argp/Makefile: Likewise.
40101 * inet/Makefile: Likewise.
40102 * hesiod/Makefile: Likewise.
40103 * grp/Makefile: Likewise.
40104 * csu/Makefile: Likewise.
40105 * wctype/Makefile: Likewise.
40106 * crypt/Makefile: Likewise.
40107 * libio/Makefile: Likewise.
40108 * string/Makefile: Likewise.
40109 * nis/Makefile: Likewise.
40110 * resolv/Makefile: Likewise.
40111 * stdio-common/Makefile: Likewise.
40112 * wcsmbs/Makefile: Likewise.
40113 * dlfcn/Makefile: Likewise.
40114 * posix/Makefile: Likewise.
40117 * timezone/Makefile: Don't install timezone files, just the programs
40120 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40122 * nss/databases.def: Add missing gshadow entry.
40124 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40126 2012-03-06 Marek Polacek <polacek@redhat.com>
40129 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40130 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40131 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40132 * stdio-common/tst-long-dbl-fphex.c: New file.
40134 2012-03-06 David S. Miller <davem@davemloft.net>
40136 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40137 (set_obp_int): New function.
40138 (get_obp_int): New function.
40139 (__get_clockfreq_via_dev_openprom): Likewise.
40140 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40141 Avoid unused variable warnings on 'val' and use builtin_expect.
40142 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40144 (INLINE_CLONE_SYSCALL): Likewise.
40146 2012-03-05 David S. Miller <davem@davemloft.net>
40148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40150 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40154 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40155 only for |x| >= 40.
40156 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40158 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40160 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40161 Replace gettimeofday with __vdso_gettimeofday.
40163 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40164 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40165 __vdso_clock_gettime and __vdso_getcpu.
40167 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40168 time with __vdso_time.
40170 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40172 * manual/lang.texi (size_t): Note types to which size_t may be
40173 equivalent with the GNU C Library, but do not describe when
40174 differences between them are significant.
40176 2012-03-05 Andreas Jaeger <aj@suse.de>
40178 * sysdeps/i386/fpu/libm-test-ulps: Update.
40180 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40183 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40184 (__ieee754_pow): Save and restore rounding mode and use
40185 round-to-nearest for main computations.
40186 * math/libm-test.inc (pow_test_tonearest): New function.
40187 (pow_test_towardzero): Likewise.
40188 (pow_test_downward): Likewise.
40189 (pow_test_upward): Likewise.
40190 (main): Call the new functions.
40191 * sysdeps/i386/fpu/libm-test-ulps: Update.
40192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40195 * math/libm-test.inc (cosh_test_tonearest): New function.
40196 (cosh_test_towardzero): Likewise.
40197 (cosh_test_downward): Likewise.
40198 (cosh_test_upward): Likewise.
40199 (sinh_test_tonearest): Likewise.
40200 (sinh_test_towardzero): Likewise.
40201 (sinh_test_downward): Likewise.
40202 (sinh_test_upward): Likewise.
40203 (main): Call the new functions.
40204 * sysdeps/i386/fpu/libm-test-ulps: Update.
40205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40207 2012-03-05 Tom de Vries <tom@codesourcery.com>
40209 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40210 default stack guard is set in last bytes.
40211 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40213 2012-03-05 Kees Cook <keescook@chromium.org>
40215 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40218 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40219 possibly allocate from heap instead of stack.
40220 * stdio-common/bug-vfprintf-nargs.c: New file.
40221 * stdio-common/Makefile (tests): Add nargs overflow test.
40223 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40227 2012-03-03 Marek Polacek <polacek@redhat.com>
40229 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40230 * math/math_private.h: Likewise.
40231 * stdlib/tst-strtod.c: Likewise.
40232 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40233 * sysdeps/x86_64/bits/atomic.h: Likewise.
40235 2012-03-02 David S. Miller <davem@davemloft.net>
40237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40241 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40242 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40243 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40244 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40246 2012-03-02 Roland McGrath <roland@hack.frob.com>
40249 * manual/examples/README: New file, says the example source files
40250 can be used under GPL>=2.
40251 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40252 line containing just "*/".
40253 * manual/examples/add.c: Add copyright header (GPL>=2).
40254 * manual/examples/argp-ex1.c: Likewise.
40255 * manual/examples/argp-ex2.c: Likewise.
40256 * manual/examples/argp-ex3.c: Likewise.
40257 * manual/examples/argp-ex4.c: Likewise.
40258 * manual/examples/atexit.c: Likewise.
40259 * manual/examples/db.c: Likewise.
40260 * manual/examples/dir.c: Likewise.
40261 * manual/examples/dir2.c: Likewise.
40262 * manual/examples/execinfo.c: Likewise.
40263 * manual/examples/filecli.c: Likewise.
40264 * manual/examples/filesrv.c: Likewise.
40265 * manual/examples/fmtmsgexpl.c: Likewise.
40266 * manual/examples/genpass.c: Likewise.
40267 * manual/examples/inetcli.c: Likewise.
40268 * manual/examples/inetsrv.c: Likewise.
40269 * manual/examples/isockad.c: Likewise.
40270 * manual/examples/longopt.c: Likewise.
40271 * manual/examples/memopen.c: Likewise.
40272 * manual/examples/memstrm.c: Likewise.
40273 * manual/examples/mkfsock.c: Likewise.
40274 * manual/examples/mkisock.c: Likewise.
40275 * manual/examples/mygetpass.c: Likewise.
40276 * manual/examples/pipe.c: Likewise.
40277 * manual/examples/popen.c: Likewise.
40278 * manual/examples/rprintf.c: Likewise.
40279 * manual/examples/search.c: Likewise.
40280 * manual/examples/select.c: Likewise.
40281 * manual/examples/setjmp.c: Likewise.
40282 * manual/examples/sigh1.c: Likewise.
40283 * manual/examples/sigusr.c: Likewise.
40284 * manual/examples/stpcpy.c: Likewise.
40285 * manual/examples/strdupa.c: Likewise.
40286 * manual/examples/strftim.c: Likewise.
40287 * manual/examples/strncat.c: Likewise.
40288 * manual/examples/subopt.c: Likewise.
40289 * manual/examples/swapcontext.c: Likewise.
40290 * manual/examples/termios.c: Likewise.
40291 * manual/examples/testopt.c: Likewise.
40292 * manual/examples/testpass.c: Likewise.
40293 * manual/examples/timeval_subtract.c: Likewise.
40296 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40298 * manual/timeval_subtract.c.texi: ... here, new file.
40300 2012-03-02 David S. Miller <davem@davemloft.net>
40302 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40304 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40307 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40308 (__sin): Save and restore rounding mode and use round-to-nearest
40309 for all computations.
40310 (__cos): Save and restore rounding mode and use round-to-nearest
40311 for all computations.
40312 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40314 (tan): Save and restore rounding mode and use round-to-nearest for
40316 * math/libm-test.inc (cos_test_tonearest): New function.
40317 (cos_test_towardzero): Likewise.
40318 (cos_test_downward): Likewise.
40319 (cos_test_upward): Likewise.
40320 (sin_test_tonearest): Likewise.
40321 (sin_test_towardzero): Likewise.
40322 (sin_test_downward): Likewise.
40323 (sin_test_upward): Likewise.
40324 (tan_test_tonearest): Likewise.
40325 (tan_test_towardzero): Likewise.
40326 (tan_test_downward): Likewise.
40327 (tan_test_upward): Likewise.
40328 (main): Call the new functions.
40329 * sysdeps/i386/fpu/libm-test-ulps: Update.
40330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40333 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40334 small n, then large n, before computing and testing k+n.
40335 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40336 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40338 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40340 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40341 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40342 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40343 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40344 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40345 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40346 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40347 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40348 * math/libm-test.inc (scalbn_test): Add more tests.
40349 (scalbln_test): Likewise.
40351 * manual/filesys.texi (mode_t): Describe constraints on size and
40352 signedness, not exact equivalence to a particular type.
40354 (ino64_t): Likewise.
40356 (nlink_t): Likewise.
40357 (blkcnt_t): Likewise.
40358 (blkcnt64_t): Likewise.
40359 * manual/llio.texi (off_t): Likewise.
40362 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40363 (__ieee754_exp): Save and restore rounding mode and use
40364 round-to-nearest for all computations.
40365 * math/libm-test.inc (exp_test_tonearest): New function.
40366 (exp_test_towardzero): Likewise.
40367 (exp_test_downward): Likewise.
40368 (exp_test_upward): Likewise.
40369 (main): Call the new functions.
40370 * sysdeps/i386/fpu/libm-test-ulps: Update.
40371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40373 2012-03-01 Chris Demetriou <cgd@google.com>
40375 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40376 have predictable order.
40378 2012-03-01 David S. Miller <davem@davemloft.net>
40380 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40382 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40383 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40384 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40385 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40387 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40388 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40389 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40391 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40392 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40393 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40394 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40395 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40399 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40400 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40401 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40403 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40404 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40405 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40406 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40407 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40408 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40409 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40410 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40411 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40412 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40413 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40414 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40415 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40416 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40417 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40418 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40419 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40420 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40421 * sysdeps/sparc/elf/configure: Regenerated.
40423 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40425 * configure.in (AS, LD): Require binutils 2.20 or later.
40426 * configure: Regenerated.
40427 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40428 as required minimum version.
40429 * INSTALL: Regenerated.
40433 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40434 before squaring exponent.
40435 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40436 bottom long double and 27 bits of top long double before squaring
40438 * math/libm-test.inc (erfc_test): Add more tests.
40439 * sysdeps/i386/fpu/libm-test-ulps: Update.
40440 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40443 2012-03-01 Kai Tietz <ktietz@redhat.com>
40445 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40446 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40447 containing bit-fields.
40448 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40449 * soft-fp/single.h (_FP_UNION_S): Likewise.
40450 * soft-fp/double.h (_FP_UNION_D): Likewise.
40452 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40455 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40456 not include ../strcmp.S.
40457 [USE_AS_STRNCASECMP_L]: Likewise.
40458 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40459 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40460 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40461 (__strncasecmp_l_ia32): Define as alias to
40462 __strncasecmp_l_nonascii.
40465 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40466 * sysdeps/i386/fpu/libm-test-ulps: Update.
40467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40469 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40472 2012-02-29 Jeff Law <law@redhat.com>
40474 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40475 out of bounds read.
40477 2012-02-29 Marek Polacek <polacek@redhat.com>
40480 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40481 * elf/Makefile: Add rules to run tst-unused-dep.out.
40483 2012-02-28 David S. Miller <davem@davemloft.net>
40485 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40486 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40487 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40488 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40489 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40490 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40492 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40494 * math/libm-test.inc (llround_test): Move one test from
40495 lround_test. Use TEST_f_L in moved test.
40496 (lround_test): Move misplaced test to llround_test. Add testcase
40499 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40501 * sysdeps/x86_64/fpu/e_expf.S: New file.
40502 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40504 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40507 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40508 of remain_len that may cause incomplete multi-byte character and
40510 * posix/bug-regex33.c: New file.
40511 * posix/Makefile (tests): Add bug-regex33.
40513 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40515 * manual/macros.texi: New file.
40516 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40517 * manual/libc.texinfo: Include macros.texi.
40518 * manual/creatute.texi: Likewise.
40519 * manual/install.texi: Likewise.
40520 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40521 @glibcadj{} in references to the GNU C Library.
40522 * manual/charset.texi: Likewise.
40523 * manual/conf.texi: Likewise.
40524 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40525 when not using those macros.
40526 * manual/creature.texi: Likewise.
40527 * manual/crypt.texi: Likewise.
40528 * manual/errno.texi: Likewise.
40529 * manual/filesys.texi: Likewise.
40530 * manual/header.texi: Likewise.
40531 * manual/install.texi: Likewise.
40532 * manual/intro.texi: Likewise.
40533 * manual/io.texi: Likewise.
40534 * manual/job.texi: Likewise.
40535 * manual/lang.texi: Likewise.
40536 * manual/libc.texiinfo: Likewise.
40537 * manual/llio.texi: Likewise.
40538 * manual/locale.texi: Likewise.
40539 * manual/maint.texi: Likewise.
40540 * manual/math.texi: Likewise.
40541 * manual/memory.texi: Likewise.
40542 * manual/message.texi: Likewise.
40543 * manual/nss.texi: Likewise.
40544 * manual/pattern.texi: Likewise.
40545 * manual/process.texi: Likewise.
40546 * manual/resource.texi: Likewise.
40547 * manual/search.texi: Likewise.
40548 * manual/setjmp.texi: Likewise.
40549 * manual/signal.texi: Likewise.
40550 * manual/socket.texi: Likewise.
40551 * manual/startup.texi: Likewise.
40552 * manual/stdio.texi: Likewise.
40553 * manual/string.texi: Likewise.
40554 * manual/sysinfo.texi: Likewise.
40555 * manual/syslog.texi: Likewise.
40556 * manual/terminal.texi: Likewise.
40557 * manual/time.texi: Likewise.
40558 * manual/users.texi: Likewise.
40559 * INSTALL: Regenerated.
40560 * NOTES: Regenerated.
40561 * sysdeps/gnu/errlist.c: Regenerated.
40563 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40565 * include/dirent.h: Include <dirstream.h> before
40568 2012-02-28 David S. Miller <davem@davemloft.net>
40570 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40571 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40572 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40573 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40575 2012-02-27 David S. Miller <davem@davemloft.net>
40577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40579 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40580 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40583 frame pointer instead of stack pointer relative arg slot.
40584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40585 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40586 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40588 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40591 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40593 2012-02-27 David S. Miller <davem@davemloft.net>
40595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40599 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40600 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40601 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40602 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40604 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40606 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40607 later. Allow versions 5-9.
40608 * configure: Regenerated.
40609 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40610 required minimum version and 4.6 as recommended version. Do not
40611 mention bugs in GCC 2.7 and 2.8.
40612 * INSTALL: Regenerated.
40614 2012-02-27 David S. Miller <davem@davemloft.net>
40616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40620 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40621 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40622 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40623 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40625 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40626 manipulate bits before adding and subtracting TWO112[sx].
40627 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40629 2012-02-27 Roland McGrath <roland@hack.frob.com>
40632 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40633 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40634 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40635 being in POSIX, because they are in 1003.1-2008.
40637 * rt/tst-aio.c: Include <fcntl.h>.
40638 * rt/tst-aio7.c: Likewise.
40639 * rt/tst-aio64.c: Likewise.
40641 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40643 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40645 * manual/install.texi (--with-headers): Describe headers as
40646 interface headers, not private headers.
40647 (Specific advice for GNU/Linux systems): Describe use of headers
40648 from "make headers_install", not private headers from older
40650 * INSTALL: Regenerated.
40651 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40653 * sysdeps/unix/sysv/linux/configure: Regenerated.
40655 * manual/llio.texi (fclean): Remove documentation.
40657 * manual/Makefile (libc-texi-generated): New variable. Include
40659 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40660 $(libc-texi-generated), not duplicated list of files.
40661 (version.texi, stamp-version): New rules.
40662 (realclean): Remove $(libc-texi-generated), not individual files
40663 from that list. Do not remove dir-add.texinfo.
40664 * manual/libc.texinfo: Comment out uses of edition numbers and
40665 references to printed manual. Remove last-updated dates.
40666 (EDITION): Comment out.
40668 (VERSION, UPDATED): Remove.
40669 (version.texi): Include.
40671 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40673 * sysdeps/posix/spawni.c: Include <signal.h>.
40674 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40675 * sysdeps/pthread/aio_fsync.c: Likewise.
40677 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40679 * conform/Makefile (tests): Run only when not cross-compiling and
40680 when fast-check is not defined.
40682 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40683 * conform/data/limits.h-data: Fixes for POSIX2008.
40684 * conform/run-conformtest.sh: Run all tests.
40685 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40687 * include/bits/dlfcn.h: Likewise.
40688 * include/langinfo.h: Likewise.
40689 * include/monetary.h: Likewise.
40690 * include/sys/poll.h: Likewise.
40692 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40694 * posix/spawn.h: Define __need_sigset_t.
40695 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40696 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40697 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40698 to get sigevent_t only.
40699 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40700 only for __USE_GNU.
40701 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40702 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40703 process_vm_writev only for __USE_GNU.
40704 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40706 * conform/Makefile: For now ignore errors from run-conformtest.
40707 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40708 POSIX to avoid namespace pollution. Don't prepend headers.
40709 * conform/data/aio.h-data: Fixes for POSIX testing.
40710 * conform/data/fcntl.h-data: Likewise.
40711 * conform/data/glob.h-data: Likewise.
40712 * conform/data/grp.h-data: Likewise.
40713 * conform/data/pthread.h-data: Likewise.
40714 * conform/data/pwd.h-data: Likewise.
40715 * conform/data/signal.h-data: Likewise.
40716 * conform/data/spawn.h-data: Likewise.
40717 * conform/data/stdio.h-data: Likewise.
40718 * conform/data/stdlib.h-data: Likewise.
40719 * conform/data/stropts.h-data: Likewise.
40720 * conform/data/sys/mman.h-data: Likewise.
40721 * conform/data/sys/stat.h-data: Likewise.
40722 * conform/data/sys/types.h-data: Likewise.
40723 * conform/data/sys/wait.h-data: Likewise.
40724 * conform/data/time.h-data: Likewise.
40725 * conform/data/unistd.h-data: Likewise.
40726 * conform/data/utime.h-data: Likewise.
40728 * io/sys/stat.h: fchmod was always in POSIX.
40729 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40730 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40731 * rt/aio.h: Define __need_timespec before including <time.h>.
40732 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40733 struct. Add forward declaration of pthread_attr_t and use it in
40735 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40736 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40737 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40738 always remove CLK_TCK definition.
40740 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40742 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40744 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40746 * conform/run-conformtest.sh: New file.
40747 * conform/Makefile: Run run-conformtest for tests.
40748 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40751 * conform/data/uchar.h-data: New file.
40752 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40753 * conform/data/arpa/inet.h-data: Likewise.
40754 * conform/data/assert.h-data: Likewise.
40755 * conform/data/complex.h-data: Likewise.
40756 * conform/data/cpio.h-data: Likewise.
40757 * conform/data/ctype.h-data: Likewise.
40758 * conform/data/dirent.h-data: Likewise.
40759 * conform/data/dlfcn.h-data: Likewise.
40760 * conform/data/errno.h-data: Likewise.
40761 * conform/data/fcntl.h-data: Likewise.
40762 * conform/data/float.h-data: Likewise.
40763 * conform/data/fmtmsg.h-data: Likewise.
40764 * conform/data/fnmatch.h-data: Likewise.
40765 * conform/data/ftw.h-data: Likewise.
40766 * conform/data/glob.h-data: Likewise.
40767 * conform/data/grp.h-data: Likewise.
40768 * conform/data/iconv.h-data: Likewise.
40769 * conform/data/inttypes.h-data: Likewise.
40770 * conform/data/langinfo.h-data: Likewise.
40771 * conform/data/libgen.h-data: Likewise.
40772 * conform/data/limits.h-data: Likewise.
40773 * conform/data/locale.h-data: Likewise.
40774 * conform/data/math.h-data: Likewise.
40775 * conform/data/monetary.h-data: Likewise.
40776 * conform/data/mqueue.h-data: Likewise.
40777 * conform/data/ndbm.h-data: Likewise.
40778 * conform/data/net/if.h-data: Likewise.
40779 * conform/data/netdb.h-data: Likewise.
40780 * conform/data/netinet/in.h-data: Likewise.
40781 * conform/data/nl_types.h-data: Likewise.
40782 * conform/data/poll.h-data: Likewise.
40783 * conform/data/pthread.h-data: Likewise.
40784 * conform/data/pwd.h-data: Likewise.
40785 * conform/data/regex.h-data: Likewise.
40786 * conform/data/sched.h-data: Likewise.
40787 * conform/data/search.h-data: Likewise.
40788 * conform/data/semaphore.h-data: Likewise.
40789 * conform/data/setjmp.h-data: Likewise.
40790 * conform/data/signal.h-data: Likewise.
40791 * conform/data/spawn.h-data: Likewise.
40792 * conform/data/stdarg.h-data: Likewise.
40793 * conform/data/stdio.h-data: Likewise.
40794 * conform/data/stdlib.h-data: Likewise.
40795 * conform/data/string.h-data: Likewise.
40796 * conform/data/strings.h-data: Likewise.
40797 * conform/data/stropts.h-data: Likewise.
40798 * conform/data/sys/ipc.h-data: Likewise.
40799 * conform/data/sys/mman.h-data: Likewise.
40800 * conform/data/sys/msg.h-data: Likewise.
40801 * conform/data/sys/resource.h-data: Likewise.
40802 * conform/data/sys/select.h-data: Likewise.
40803 * conform/data/sys/sem.h-data: Likewise.
40804 * conform/data/sys/shm.h-data: Likewise.
40805 * conform/data/sys/socket.h-data: Likewise.
40806 * conform/data/sys/stat.h-data: Likewise.
40807 * conform/data/sys/statvfs.h-data: Likewise.
40808 * conform/data/sys/time.h-data: Likewise.
40809 * conform/data/sys/timeb.h-data: Likewise.
40810 * conform/data/sys/times.h-data: Likewise.
40811 * conform/data/sys/types.h-data: Likewise.
40812 * conform/data/sys/uio.h-data: Likewise.
40813 * conform/data/sys/un.h-data: Likewise.
40814 * conform/data/sys/utsname.h-data: Likewise.
40815 * conform/data/sys/wait.h-data: Likewise.
40816 * conform/data/syslog.h-data: Likewise.
40817 * conform/data/tar.h-data: Likewise.
40818 * conform/data/termios.h-data: Likewise.
40819 * conform/data/utime.h-data: Likewise.
40820 * conform/data/utmpx.h-data: Likewise.
40821 * conform/data/varargs.h-data: Likewise.
40822 * conform/data/wchar.h-data: Likewise.
40823 * conform/data/wctype.h-data: Likewise.
40824 * conform/data/wordexp.h-data: Likewise.
40826 * include/stropts.h: New file.
40827 * include/uchar.h: New file.
40828 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40829 * include/assert.h: Likewise.
40830 * include/ctype.h: Likewise.
40831 * include/dirent.h: Likewise.
40832 * include/dlfcn.h: Likewise.
40833 * include/fcntl.h: Likewise.
40834 * include/fnmatch.h: Likewise.
40835 * include/glob.h: Likewise.
40836 * include/grp.h: Likewise.
40837 * include/libio.h: Likewise.
40838 * include/locale.h: Likewise.
40839 * include/math.h: Likewise.
40840 * include/net/if.h: Likewise.
40841 * include/netdb.h: Likewise.
40842 * include/netinet/in.h: Likewise.
40843 * include/pthread.h: Likewise.
40844 * include/pwd.h: Likewise.
40845 * include/regex.h: Likewise.
40846 * include/sched.h: Likewise.
40847 * include/search.h: Likewise.
40848 * include/setjmp.h: Likewise.
40849 * include/signal.h: Likewise.
40850 * include/stdio.h: Likewise.
40851 * include/stdlib.h: Likewise.
40852 * include/string.h: Likewise.
40853 * include/sys/cdefs.h: Likewise.
40854 * include/sys/mman.h: Likewise.
40855 * include/sys/msg.h: Likewise.
40856 * include/sys/resource.h: Likewise.
40857 * include/sys/select.h: Likewise.
40858 * include/sys/socket.h: Likewise.
40859 * include/sys/stat.h: Likewise.
40860 * include/sys/statvfs.h: Likewise.
40861 * include/sys/time.h: Likewise.
40862 * include/sys/times.h: Likewise.
40863 * include/sys/uio.h: Likewise.
40864 * include/sys/utsname.h: Likewise.
40865 * include/sys/wait.h: Likewise.
40866 * include/termios.h: Likewise.
40867 * include/time.h: Likewise.
40868 * include/ulimit.h: Likewise.
40869 * include/unistd.h: Likewise.
40870 * include/utime.h: Likewise.
40871 * include/wchar.h: Likewise.
40872 * include/wctype.h: Likewise.
40873 * include/wordexp.h: Likewise.
40875 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40877 * time/time.h: TIME_UTC must be a macro.
40878 Make timespec_get available for ISO C11 only as well.
40880 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40882 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40883 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40885 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40887 * configure.in: Use -o not -a in test for unsupported multi-arch.
40889 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40891 * manual/texinfo.tex: Update to version 2012-01-19.16.
40893 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40895 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40897 2012-02-24 Roland McGrath <roland@hack.frob.com>
40900 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40901 * manual/fdl-1.3.texi: New file.
40902 * manual/fdl-1.1.texi: File removed.
40905 * manual/libc.texinfo (FDL_VERSION): New @set.
40906 Use it for mention of FDL in cover text.
40907 (Documentation License): Use it in @include file name.
40909 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40910 Roland McGrath <roland@hack.frob.com>
40913 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40914 (not LONG_LONG_MAX and LONG_LONG_MIN.
40915 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40916 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40918 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40920 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40924 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40925 manipulate bits before adding and subtracting TWO23[sx].
40926 * math/libm-test.inc (nearbyint_test): Add more tests.
40928 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40931 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40932 bits before adding and subtracting TWO23[sx].
40933 * math/libm-test.inc (rint_test): Add more tests.
40934 (rint_test_tonearest): Likewise.
40935 (rint_test_towardzero): Likewise.
40936 (rint_test_downward): Likewise.
40937 (rint_test_upward: Likewise.
40939 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40942 * include/stdc-predef.h: New file. Extracted from features.h.
40943 * include/features.h: Include stdc-predef.h.
40944 * Makefile (headers): Add stdc-predef.h.
40945 * CONFORMANCE (Compiler limitations): Update.
40947 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40949 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40951 2012-02-21 David S. Miller <davem@davemloft.net>
40953 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40954 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40956 2012-02-20 David S. Miller <davem@davemloft.net>
40958 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40959 using a normal save/restore sequence, rather than allocating a
40960 dummy stack frame just to store a frame pointer and restore.
40961 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40963 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40965 * manual/install.texi: Fix stray word in line-wrapped comment.
40967 2012-02-20 David S. Miller <davem@davemloft.net>
40969 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40970 both binutils and gcc support GOTDATA.
40972 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40973 "rd %pc" in the PIC register setup sequences.
40975 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40976 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40977 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40978 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40979 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40980 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40981 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40982 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40983 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40984 (SYSCALL_ERROR_HANDLER): Likewise.
40985 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40986 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40987 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40988 (SYSCALL_ERROR_HANDLER): Likewise.
40990 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40991 (HAVE_GCC_GOTDATA): New.
40992 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40993 relocation support in both binutils and gcc.
40994 * sysdeps/sparc/elf/configure: Regenerate.
40996 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40997 * sysdeps/sparc/sparc32/elf/configure: Delete.
40998 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40999 * sysdeps/sparc/sparc64/elf/configure: Delete.
41000 * sysdeps/sparc/elf/configure.in: New file.
41001 * sysdeps/sparc/elf/configure: Generate.
41003 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41004 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41005 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41006 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41007 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41009 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41011 * manual/install.texi: Do not mention specific glibc version
41013 * manual/libc.texinfo (VERSION, UPDATED): Update.
41014 (@copying): Use @copyright{} and range of years.
41016 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41019 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41020 [crti.S not in sysdirs] (generated): Do not append.
41021 [crti.S not in sysdirs] (omit-deps): Likewise.
41022 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41023 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41024 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41025 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41026 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41028 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41029 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41030 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41031 * csu/defs.awk: Remove file.
41032 * sysdeps/generic/initfini.c: Likewise.
41033 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41035 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41038 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41040 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41041 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41042 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41043 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41044 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41045 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41047 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41048 (__EPOLL_PACKED): Define to empty if not defined by
41050 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41051 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41054 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41056 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41057 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41058 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41059 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41061 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41062 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41065 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41067 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41069 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41070 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41071 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41074 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41076 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41077 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41079 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41081 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41082 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41084 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41086 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41089 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41091 * math/w_acos.c: Use non-signaling floating-point comparisons.
41092 * math/w_acosf.c: Likewise.
41093 * math/w_acosh.c: Likewise.
41094 * math/w_acoshf.c: Likewise.
41095 * math/w_acoshl.c: Likewise.
41096 * math/w_acosl.c: Likewise.
41097 * math/w_asin.c: Likewise.
41098 * math/w_asinf.c: Likewise.
41099 * math/w_asinl.c: Likewise.
41100 * math/w_atanh.c: Likewise.
41101 * math/w_atanhf.c: Likewise.
41102 * math/w_atanhl.c: Likewise.
41103 * math/w_exp2.c: Likewise.
41104 * math/w_exp2f.c: Likewise.
41105 * math/w_exp2l.c: Likewise.
41106 * math/w_j0.c: Likewise.
41107 * math/w_j0f.c: Likewise.
41108 * math/w_j0l.c: Likewise.
41109 * math/w_j1.c: Likewise.
41110 * math/w_j1f.c: Likewise.
41111 * math/w_j1l.c: Likewise.
41112 * math/w_jn.c: Likewise.
41113 * math/w_jnf.c: Likewise.
41114 * math/w_log.c: Likewise.
41115 * math/w_log10.c: Likewise.
41116 * math/w_log10f.c: Likewise.
41117 * math/w_log10l.c: Likewise.
41118 * math/w_log2.c: Likewise.
41119 * math/w_log2f.c: Likewise.
41120 * math/w_log2l.c: Likewise.
41121 * math/w_logf.c: Likewise.
41122 * math/w_logl.c: Likewise.
41123 * math/w_sqrt.c: Likewise.
41124 * math/w_sqrtf.c: Likewise.
41125 * math/w_sqrtl.c: Likewise.
41126 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41127 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41128 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41129 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41130 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41132 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41135 * manual/string.texi (strnlen): Use correct parameter name in
41136 equivalent expression.
41138 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41141 * manual/users.texi (seteuid): Consistently use neweuid for
41144 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41147 * manual/nss.texi (Services in the NSS configuration): Correct
41148 list of services in example configuration file.
41150 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41153 * manual/arith.texi: Remove statements about negative zero
41154 behaving identically to zero.
41156 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41159 * manual/install.texi: Do not document upgrading from libc5.
41161 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41164 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41166 2012-02-18 David S. Miller <davem@davemloft.net>
41168 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41169 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41170 %o7 across the call.
41171 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41173 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41174 SETUP_PIC_REG_LEAF.
41175 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41176 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41177 * sysdeps/sparc/crtn.S: Likewise.
41179 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41181 * aout/Makefile: Remove.
41183 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41186 * manual/examples/argp-ex1.c (main): Format definition in GNU
41188 * manual/examples/argp-ex2.c (main): Likewise.
41189 * manual/examples/argp-ex3.c (main): Likewise.
41190 * manual/examples/argp-ex4.c (main): Likewise.
41191 * manual/examples/longopt.c (main): Use new-style prototype
41193 * manual/examples/strncat.c (main): Specify return type and use
41194 (void) for arguments.
41195 * manual/examples/subopt.c (main): Use char **argv argument.
41197 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41200 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41203 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41206 * manual/string.texi (strchr): Change when strchrnul is
41209 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41212 * manual/locale.texi (setlocale): Document LOCPATH.
41214 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41217 * manual/process.texi (execle): Move @dots{} before last argument.
41219 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41222 * manual/charset.texi (Generic Charset Conversion): Fix typo
41223 (LC_TYPE -> LC_CTYPE).
41225 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41228 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41229 (scalbnf): Likewise.
41230 (scalbnl): Likewise.
41231 (scalbln): Likewise.
41232 (scalblnf): Likewise.
41233 (scalblnl): Likewise.
41234 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41235 (vwarnx): Likewise.
41238 * manual/filesys.texi (telldir): Use braces around return type.
41239 * manual/llio.texi (mmap): Add space after comma.
41240 (mmap64): Likewise.
41241 * manual/math.texi (jn): Use @var{} on parameter names.
41247 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41249 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41251 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41252 (sched_get_priority_max): Likewise.
41253 * manual/signal.texi (sigvec): Add space after comma.
41254 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41256 (if_indextoname): Likewise.
41257 (if_freenameindex): Likewise.
41258 (sendto): Use ',' instead of '.' in prototype.
41259 * manual/startup.texi (syscall): Use @dots{} instead of literal
41261 * manual/stdio.texi (__fpending): Separate initial words of
41262 paragraph from @deftypefun line.
41263 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41265 (vsyslog): Use @var{} on parameter names.
41266 * manual/terminal.texi (stty): Use @var{} on parameter names.
41267 * manual/users.texi (getutmp): Use @var{} on parameter names.
41268 (getutmpx): Likewise.
41270 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41273 * manual/stdio.texi (fopen): Fix typos in description of
41276 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41279 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41280 get clock_id definition.
41282 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41285 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41286 (madvise): Cast every argument to void on its own.
41288 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41291 * manual/startup.texi (Exit Status): Fix typo.
41293 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41296 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41297 * manual/examples/argp-ex2.c: Likewise.
41298 * manual/examples/argp-ex3.c: Likewise.
41300 2012-02-16 Richard Henderson <rth@redhat.com>
41302 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41303 * sysdeps/s390/s390-32/initfini.c: Remove.
41304 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41305 * sysdeps/s390/s390-64/initfini.c: Remove.
41307 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41309 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41310 compiler output for sysdeps/generic/initfini.c.
41311 * sysdeps/sh/elf/initfini.c: Remove file.
41313 2012-02-16 David S. Miller <davem@davemloft.net>
41316 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41318 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41319 * sysdeps/sparc/crti.S: New file.
41320 * sysdeps/sparc/crtn.S: New file.
41321 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41322 * sysdeps/sparc/sparc64/Makefile: Likewise.
41324 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41327 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41329 2012-02-15 Roland McGrath <roland@hack.frob.com>
41332 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41334 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41335 (write, read, close): Likewise.
41336 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41338 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41340 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41341 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41342 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41343 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41345 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41346 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41349 2012-02-14 Marek Polacek <polacek@redhat.com>
41351 * sysdeps/x86_64/crti.S: New file.
41352 * sysdeps/x86_64/crtn.S: New file.
41353 * sysdeps/x86_64/elf/initfini.c: Remove file.
41355 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41357 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41358 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41359 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41360 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41362 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41363 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41366 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41368 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41369 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41370 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41371 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41373 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41374 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41377 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41379 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41380 __feraiseexcept instead of feraiseexcept.
41382 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41383 nanosleep invocations.
41384 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41385 strings, and add error checking for a nanosleep invocations.
41387 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41389 Replace FSF snail mail address with URLs, as per GNU coding standards.
41390 Most of the snail mail addresses were wrong anyway, and omitting
41391 them makes the source code easier to maintain. Almost all of the
41392 changes are to license notices and to locale LC_IDENTIFICATION
41393 addresses, except for this one:
41394 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41395 not its snail mail address.
41397 2012-02-09 Richard Henderson <rth@twiddle.net>
41399 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41400 of kernel-features.h.
41402 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41404 2012-02-08 Marek Polacek <polacek@redhat.com>
41406 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41407 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41408 * sysdeps/gnu/_G_config.h: Likewise.
41409 * sysdeps/generic/_G_config.h: Likewise.
41411 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41413 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41417 * sysdeps/powerpc/powerpc32/crti.S: New file.
41418 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41419 * sysdeps/powerpc/powerpc64/crti.S: New file.
41420 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41422 * Makeconfig (have-initfini): Don't set.
41423 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41424 * configure.in (nopic_initfini): Don't substitute.
41425 * config.h.in (HAVE_INITFINI): Don't #undef.
41426 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41427 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41429 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41431 Support crti.S and crtn.S provided directly by architectures.
41432 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41433 [crti.S in sysdirs] (omit-deps): Likewise.
41434 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41435 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41436 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41437 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41438 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41439 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41440 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41441 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41442 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41443 compiler output for sysdeps/generic/initfini.c.
41444 * sysdeps/i386/elf/Makefile: Remove file.
41445 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41447 2012-02-07 Marek Polacek <polacek@redhat.com>
41449 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41450 * sysdeps/gnu/_G_config.h: Likewise.
41451 * sysdeps/mach/hurd/_G_config.h: Likewise.
41453 2012-02-07 Marek Polacek <polacek@redhat.com>
41455 * math/Makefile (tests): Add tst-CMPLX2.
41456 * math/tst-CMPLX2.c: New file.
41458 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41460 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41462 * math/libm-test.inc (jn_test): Add missing L suffix.
41464 2012-02-06 Marek Polacek <polacek@redhat.com>
41466 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41467 * sysdeps/i386/fpu/e_powf.S: Likewise.
41468 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41469 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41470 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41471 * sysdeps/i386/fpu/e_pow.S: Likewise.
41472 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41473 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41474 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41475 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41476 * sysdeps/i386/fpu/e_log2.S: Likewise.
41477 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41478 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41479 * sysdeps/i386/fpu/e_powl.S: Likewise.
41480 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41481 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41482 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41483 * sysdeps/i386/fpu/e_logl.S: Likewise.
41484 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41485 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41486 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41487 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41488 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41489 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41490 * sysdeps/i386/fpu/e_log.S: Likewise.
41491 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41492 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41493 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41494 * sysdeps/i386/fpu/e_logf.S: Likewise.
41495 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41496 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41497 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41498 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41499 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41500 * sysdeps/i386/fpu/e_log10.S: Likewise.
41501 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41502 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41503 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41504 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41505 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41506 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41507 * sysdeps/i386/asm-syntax.h: Likewise.
41508 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41509 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41510 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41511 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41512 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41513 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41514 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41515 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41516 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41517 * sysdeps/powerpc/sysdep.h: Likewise.
41518 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41519 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41521 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41524 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41526 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41528 * sysdeps/i386/sysdep.h: Include <features.h>.
41529 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41532 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41534 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41536 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41539 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41541 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41542 (SETUP_PIC_REG): Use GET_PC_THUNK.
41543 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41546 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41548 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41549 for non-PIC compilation.
41550 (SETUP_PIC_REG): Add .p2align directive.
41551 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41552 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41553 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41554 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41555 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41556 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41557 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41558 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41559 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41560 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41561 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41562 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41563 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41564 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41565 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41566 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41567 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41568 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41569 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41570 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41571 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41572 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41573 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41574 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41575 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41576 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41577 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41578 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41579 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41580 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41581 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41582 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41583 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41584 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41585 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41586 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41587 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41588 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41589 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41590 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41591 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41593 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41595 * math/tst-CMPLX.c: Include <stdio.h>.
41597 2012-01-31 Joseph Myers <joseph@codesourcery.com>
41599 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41601 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41602 * sysdeps/sparc/bits/mathdef.h: Likewise.
41604 2012-01-31 Marek Polacek <polacek@redhat.com>
41606 * libio/libio.h: Don't define _PARAMS.
41607 * locale/programs/config.h: Don't define PARAMS.
41608 * stdlib/strtol_l.c: Likewise.
41609 (__strtol_l): Remove PARAMS from the prototype.
41611 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41613 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41614 names. Just use the correct names. Remove unnecessary wrapper
41616 * malloc/arena.c: Likewise.
41617 * malloc/hooks.c: Likewise.
41619 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41620 ARENA_TEST says not to. Simplify test for creation of a new arena.
41621 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41623 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41625 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41627 (update_get_addr): New function.
41628 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41629 GET_ADDR_MODULE parameter.
41631 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41633 * crypt/cert.c: Remove __STDC__ conditionals.
41634 * crypt/crypt-entry.c: Likewise.
41635 * crypt/crypt_util.c: Likewise.
41636 * libio/filedoalloc.c: Likewise.
41637 * libio/fileops.c: Likewise.
41638 * libio/genops.c: Likewise.
41639 * libio/iofclose.c: Likewise.
41640 * libio/iofdopen.c: Likewise.
41641 * libio/iofopen.c: Likewise.
41642 * libio/iofopen64.c: Likewise.
41643 * libio/iogetdelim.c: Likewise.
41644 * libio/iopopen.c: Likewise.
41645 * libio/obprintf.c: Likewise.
41646 * libio/oldfileops.c: Likewise.
41647 * libio/oldiofclose.c: Likewise.
41648 * libio/oldiofdopen.c: Likewise.
41649 * libio/oldiofopen.c: Likewise.
41650 * libio/oldiopopen.c: Likewise.
41651 * libio/wfiledoalloc.c: Likewise.
41652 * libio/wgenops.c: Likewise.
41653 * locale/programs/xmalloc.c: Likewise.
41654 * misc/syslog.c: Likewise.
41655 * stdio-common/xbug.c: Likewise.
41656 * string/memchr.c: Likewise.
41657 * string/memcmp.c: Likewise.
41658 * string/memrchr.c: Likewise.
41659 * string/rawmemchr.c: Likewise.
41660 * sysdeps/posix/getcwd.c: Likewise.
41661 * time/strftime_l.c: Likewise.
41663 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41665 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41666 * config.make.in (config-cflags-sse2avx): Define.
41667 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41670 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41672 * scripts/config.guess: Update from upstream config git repository.
41673 * scripts/config.sub: Likewise.
41675 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41677 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41679 (R_TILEPRO_*, R_TILEGX_*): New macros.
41681 * scripts/firstversions.awk: Fix bug in version range handling.
41683 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41685 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41687 * include/sys/epoll.h: New file.
41688 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41691 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41693 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41694 Avoid unnecessary __WORDSIZE == 64 test.
41695 (fmaxf): Use VEX format if possible.
41700 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41701 * math/math_private.h: Remove libc_fegetround* and
41703 * sysdeps/i386/configure.in: Check for -msse2avx.
41704 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41705 also if SSE2AVX is defined.
41706 Remove libc_fegetround* and libc_fesetround*.
41707 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41708 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41709 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41711 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41712 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41713 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41714 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41715 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41717 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41719 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41721 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41723 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41725 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41728 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41730 * Makeconfig (libm): Define.
41731 * elf/Makefile: Add rules to build and run tst-relsort1.
41732 * elf/tst-relsort1.c: New file.
41733 * elf/tst-relsort1mod1.c: New file.
41734 * elf/tst-relsort1mod2.c: New file.
41736 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41738 * math/s_ldexp.c: Remove __STDC__ conditionals.
41739 * math/s_ldexpf.c: Likewise.
41740 * math/s_ldexpl.c: Likewise.
41741 * math/s_nextafter.c: Likewise.
41742 * math/s_nexttowardf.c: Likewise.
41743 * math/s_significand.c: Likewise.
41744 * math/s_significandf.c: Likewise.
41745 * math/s_significandl.c: Likewise.
41746 * math/w_jnl.c: Likewise.
41747 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41748 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41749 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41750 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41751 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41752 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41753 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41754 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41755 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41756 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41757 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41758 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41759 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41760 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41761 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41762 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41763 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41764 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41765 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41766 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41767 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41768 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41769 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41770 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41771 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41772 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41773 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41774 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41775 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41776 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41777 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41778 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41779 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41780 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41781 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41782 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41783 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41784 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41785 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41786 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41787 * sysdeps/ieee754/k_standard.c: Likewise.
41788 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41789 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41790 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41791 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41792 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41793 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41794 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41795 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41796 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41797 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41798 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41799 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41800 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41801 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41802 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41803 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41804 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41805 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41806 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41807 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41808 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41809 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41810 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41811 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41812 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41813 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41814 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41815 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41816 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41817 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41818 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41819 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41820 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41821 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41822 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41823 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41824 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41825 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41826 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41827 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41828 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41829 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41830 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41831 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41832 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41833 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41834 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41835 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41836 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41837 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41838 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41839 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41840 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41841 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41842 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41843 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41844 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41845 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41846 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41847 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41848 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41849 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41850 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41851 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41852 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41853 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41854 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41855 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41856 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41857 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41858 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41859 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41860 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41861 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41862 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41863 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41864 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41865 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41866 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41867 * sysdeps/ieee754/s_matherr.c: Likewise.
41868 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41869 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41870 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41871 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41873 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41875 * crypt/md5.h: Remove __STDC__ conditionals.
41876 * libio/libioP.h: Likewise.
41877 * locale/programs/config.h: Likewise.
41878 * sysdeps/generic/sysdep.h: Likewise.
41879 * sysdeps/i386/asm-syntax.h: Likewise.
41880 * sysdeps/s390/asm-syntax.h: Likewise.
41881 * sysdeps/unix/sysdep.h: Likewise.
41882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41885 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41887 * libio/libio.h: Remove __STDC__ conditionals.
41888 * malloc/obstack.h: Likewise.
41889 * math/complex.h: Likewise.
41890 * math/math.h: Likewise.
41891 * sysdeps/generic/_G_config.h: Likewise.
41892 * sysdeps/gnu/_G_config.h: Likewise.
41893 * sysdeps/mach/hurd/_G_config.h: Likewise.
41894 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41895 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41896 * sysdeps/sparc/bits/mathdef.h: Likewise.
41898 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41901 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41902 Clean up HAS_* macros.
41903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41904 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41906 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41908 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41909 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41910 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41911 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41912 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41914 2012-01-25 Joseph Myers <joseph@codesourcery.com>
41916 * elf/tst-unique3.cc (gets): Remove declaration.
41917 * elf/tst-unique3lib.cc (gets): Likewise.
41918 * elf/tst-unique3lib2.cc (gets): Likewise.
41919 * elf/tst-unique4.cc (gets): Likewise.
41921 2012-01-24 Ulrich Drepper <drepper@gmail.com>
41923 * include/stdio.h: Add C++ protection. Add gets declarations and
41925 * debug/tst-chk1.c: Don't declare gets here.
41926 * stdio-common/tst-gets.c: Likewise.
41928 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41930 * posix/glob: Remove directory.
41932 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41934 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41936 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41938 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41939 of the non-standard EPFNOSUPPORT.
41941 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41943 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41944 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41945 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41947 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41949 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41951 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41953 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41955 * nscd/grpcache.c (cache_addgr): Likewise.
41956 * nscd/hstcache.c (cache_addhst): Likewise.
41957 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41958 * nscd/pwdcache.c (cache_addpw): Likewise.
41959 * nscd/servicescache.c (cache_addserv): Likewise.
41961 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41963 * malloc/malloc.c: Various cleanups.
41964 * malloc/hooks.c: Likewise.
41966 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41967 * stdlib/bug-fmtmsg1.c: New file.
41969 * stdlib/fmtmsg.c (init): Add missing unlock.
41970 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41972 2012-01-12 Marek Polacek <polacek@redhat.com>
41974 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41977 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41979 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41980 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41981 macro to ensure uniqueness of label name.
41982 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41983 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41985 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41987 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41989 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41990 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41991 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41992 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41994 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41996 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41998 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41999 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42000 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42002 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42004 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42005 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42006 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42007 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42009 * math/bits/math-finite.h: Add ldexp support.
42011 2012-01-10 Marek Polacek <polacek@redhat.com>
42013 * locale/programs/localedef.h (show_archive_content): Add noreturn
42016 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42018 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42020 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42022 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42024 * io/Makefile (headers): Add bits/poll2.h.
42026 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42029 typo #include statement.
42031 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42033 * include/sys/cdefs.h: Define __attribute_alloc_size.
42034 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42035 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42036 * elf/pldd.c: Likewise.
42037 * iconv/iconv_charmap.c: Likewise.
42038 * iconv/iconvconfig.c: Likewise.
42039 * iconv/strtab.c: Likewise.
42040 * locale/programs/locale.c: Likewise.
42041 * locale/programs/localedef.h: Likewise.
42042 * locale/programs/simple-hash.c: Likewise.
42043 * nscd/nscd.h: Likewise.
42044 * nss/makedb.c: Likewise.
42045 * sysdeps/generic/ldconfig.h: Likewise.
42046 * locale/programs/localedef.c: Remove xmalloc prototype.
42047 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42049 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42051 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42054 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42056 * math/Makefile (tests): Add tst-CMPLX.
42057 * math/tst-CMPLX.c: New file.
42059 * math/complex.h (CMPLXL): Fix typo.
42061 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42062 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42064 * debug/tst-chk1.c: Add poll and ppoll tests.
42065 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42066 * include/sys/poll.h: Add hidden proto for ppoll.
42067 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42068 * sysdeps/mach/hurd/ppoll.c: Likewise.
42069 * io/ppoll.c: Likewise.
42070 * debug/poll_chk.c: New file.
42071 * debug/ppoll_chk.c: New file.
42072 * include/bits/poll2.h: New file.
42073 * io/bits/poll2.h: New file.
42076 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42078 * configure.in: static is always set to yes. Remove.
42079 * config.make.in: Don't set build-static.
42080 * Makeconfig: Remove use of build-static.
42081 * dlfcn/Makefile: Likewise.
42082 * elf/Makefile: Likewise.
42083 * math/Makefile: Likewise.
42084 * misc/Makefile: Likewise.
42085 * nptl/Makefile: Likewise.
42086 * sysdeps/mach/hurd/Makefile: Likewise.
42088 * configure.in: PWD_P is not used anymore.
42089 * config.make.in: Remove PWD_P entry.
42091 * configure.in: Remove last remnants of RANLIB.
42092 No need to check for signed size_t anymore.
42093 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42095 Remove __builtin_expect test because we require at least gcc 3.4.
42096 * aclocal.m4: Likewise.
42098 * wcsmbs/mbrtoc16.c: Implement using towc function.
42099 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42100 * wcsmbs/wcsmbsload.c: Likewise.
42101 * iconv/gconv_simple.c: Likewise.
42102 * iconv/gconv_int.h: Likewise.
42103 * iconv/gconv_builtin.h: Likewise.
42104 * iconv/iconv_prog.c: Remove CHAR16 handling.
42106 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42108 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42110 * configure.in: Remove --with-elf and --enable-bounded options.
42111 Dont set base_machine for ia64. More non-ELF conditions removed.
42112 Remove testing and setting of leading underscore information.
42113 * config.make.in (build-bounded): Set to no.
42114 * config.h.in: Remove NO_UNDERSCORES entry.
42115 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42117 * csu/start.c: Remove !NO_UNDERSCORE code.
42118 * locale/localeinfo.h: Likewise.
42119 * sysdeps/generic/machine-gmon.h: Likewise.
42120 * sysdeps/generic/sysdep.h: Likewise.
42121 * sysdeps/i386/sysdep.h: Likewise.
42122 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42123 * sysdeps/mach/sysdep.h: Likewise.
42124 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42125 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42126 * sysdeps/sh/sysdep.h: Likewise.
42127 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42128 * sysdeps/unix/i386/sysdep.S: Likewise.
42129 * sysdeps/unix/sparc/start.c: Likewise.
42130 * sysdeps/unix/sparc/sysdep.S: Likewise.
42131 * sysdeps/unix/sparc/sysdep.h: Likewise.
42132 * sysdeps/unix/start.c: Likewise.
42133 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42134 * sysdeps/x86_64/sysdep.h: Likewise.
42136 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42139 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42141 * argp/argp-fmtstream.h: Use const instead __const.
42142 * argp/argp.h: Likewise.
42143 * assert/assert.h: Likewise.
42144 * bits/fenv.h: Likewise.
42145 * bits/sched.h: Likewise.
42146 * bits/sigset.h: Likewise.
42147 * bits/sigthread.h: Likewise.
42148 * catgets/nl_types.h: Likewise.
42149 * conform/data/pthread.h-data: Likewise.
42150 * crypt/crypt-private.h: Likewise.
42151 * crypt/crypt.h: Likewise.
42152 * crypt/crypt_util.c: Likewise.
42153 * ctype/ctype.h: Likewise.
42154 * debug/execinfo.h: Likewise.
42155 * debug/mbsnrtowcs_chk.c: Likewise.
42156 * debug/mbsrtowcs_chk.c: Likewise.
42157 * debug/wcsnrtombs_chk.c: Likewise.
42158 * debug/wcsrtombs_chk.c: Likewise.
42159 * debug/wcstombs_chk.c: Likewise.
42160 * dirent/dirent.h: Likewise.
42161 * dlfcn/dlfcn.h: Likewise.
42162 * elf/neededtest4.c: Likewise.
42163 * grp/grp.h: Likewise.
42164 * gshadow/gshadow.h: Likewise.
42165 * iconv/gconv.h: Likewise.
42166 * iconv/gconv_int.h: Likewise.
42167 * iconv/gconv_simple.c: Likewise.
42168 * iconv/iconv.h: Likewise.
42169 * iconv/loop.c: Likewise.
42170 * iconv/skeleton.c: Likewise.
42171 * include/aio.h: Likewise.
42172 * include/aliases.h: Likewise.
42173 * include/argz.h: Likewise.
42174 * include/arpa/inet.h: Likewise.
42175 * include/assert.h: Likewise.
42176 * include/dirent.h: Likewise.
42177 * include/dlfcn.h: Likewise.
42178 * include/execinfo.h: Likewise.
42179 * include/fcntl.h: Likewise.
42180 * include/fenv.h: Likewise.
42181 * include/glob.h: Likewise.
42182 * include/grp.h: Likewise.
42183 * include/libintl.h: Likewise.
42184 * include/mntent.h: Likewise.
42185 * include/netdb.h: Likewise.
42186 * include/pwd.h: Likewise.
42187 * include/rpc/netdb.h: Likewise.
42188 * include/sched.h: Likewise.
42189 * include/search.h: Likewise.
42190 * include/shadow.h: Likewise.
42191 * include/signal.h: Likewise.
42192 * include/stdio.h: Likewise.
42193 * include/stdlib.h: Likewise.
42194 * include/string.h: Likewise.
42195 * include/sys/socket.h: Likewise.
42196 * include/sys/stat.h: Likewise.
42197 * include/sys/statfs.h: Likewise.
42198 * include/sys/statvfs.h: Likewise.
42199 * include/sys/syslog.h: Likewise.
42200 * include/sys/time.h: Likewise.
42201 * include/sys/uio.h: Likewise.
42202 * include/time.h: Likewise.
42203 * include/unistd.h: Likewise.
42204 * include/utmp.h: Likewise.
42205 * include/wchar.h: Likewise.
42206 * include/wctype.h: Likewise.
42207 * inet/aliases.h: Likewise.
42208 * inet/arpa/inet.h: Likewise.
42209 * inet/netinet/ether.h: Likewise.
42210 * inet/netinet/in.h: Likewise.
42211 * intl/libintl.h: Likewise.
42212 * io/bits/fcntl2.h: Likewise.
42213 * io/fcntl.h: Likewise.
42214 * io/ftw.h: Likewise.
42215 * io/sys/poll.h: Likewise.
42216 * io/sys/stat.h: Likewise.
42217 * io/sys/statfs.h: Likewise.
42218 * io/sys/statvfs.h: Likewise.
42219 * io/utime.h: Likewise.
42220 * libio/bits/stdio.h: Likewise.
42221 * libio/bits/stdio2.h: Likewise.
42222 * libio/libio.h: Likewise.
42223 * libio/libioP.h: Likewise.
42224 * libio/stdio.h: Likewise.
42225 * locale/lc-ctype.c: Likewise.
42226 * locale/locale.h: Likewise.
42227 * login/utmp.h: Likewise.
42228 * malloc/arena.c: Likewise.
42229 * malloc/malloc.c: Likewise.
42230 * malloc/malloc.h: Likewise.
42231 * malloc/mcheck.c: Likewise.
42232 * malloc/mtrace.c: Likewise.
42233 * math/bits/mathcalls.h: Likewise.
42234 * math/fenv.h: Likewise.
42235 * math/math_private.h: Likewise.
42236 * misc/bits/error.h: Likewise.
42237 * misc/bits/syslog.h: Likewise.
42238 * misc/err.h: Likewise.
42239 * misc/error.h: Likewise.
42240 * misc/fstab.h: Likewise.
42241 * misc/mntent.h: Likewise.
42242 * misc/regexp.h: Likewise.
42243 * misc/search.h: Likewise.
42244 * misc/sgtty.h: Likewise.
42245 * misc/sys/mman.h: Likewise.
42246 * misc/sys/syslog.h: Likewise.
42247 * misc/sys/uio.h: Likewise.
42248 * misc/sys/xattr.h: Likewise.
42249 * misc/ttyent.h: Likewise.
42250 * nis/rpcsvc/ypclnt.h: Likewise.
42251 * nss/nss.h: Likewise.
42252 * posix/bits/unistd.h: Likewise.
42253 * posix/fnmatch.h: Likewise.
42254 * posix/glob.h: Likewise.
42255 * posix/sched.h: Likewise.
42256 * posix/spawn.h: Likewise.
42257 * posix/sys/wait.h: Likewise.
42258 * posix/unistd.h: Likewise.
42259 * posix/wordexp.h: Likewise.
42260 * pwd/pwd.h: Likewise.
42261 * resolv/netdb.h: Likewise.
42262 * resource/sys/resource.h: Likewise.
42263 * rt/aio.h: Likewise.
42264 * rt/bits/mqueue2.h: Likewise.
42265 * rt/mqueue.h: Likewise.
42266 * shadow/shadow.h: Likewise.
42267 * signal/signal.h: Likewise.
42268 * socket/send.c: Likewise.
42269 * socket/sendto.c: Likewise.
42270 * socket/sys/socket.h: Likewise.
42271 * stdio-common/printf.h: Likewise.
42272 * stdlib/bits/stdlib.h: Likewise.
42273 * stdlib/fmtmsg.h: Likewise.
42274 * stdlib/monetary.h: Likewise.
42275 * stdlib/stdlib.h: Likewise.
42276 * stdlib/ucontext.h: Likewise.
42277 * streams/stropts.h: Likewise.
42278 * string/argz.h: Likewise.
42279 * string/bits/string2.h: Likewise.
42280 * string/string.h: Likewise.
42281 * string/strings.h: Likewise.
42282 * sunrpc/rpc/auth.h: Likewise.
42283 * sunrpc/rpc/auth_des.h: Likewise.
42284 * sunrpc/rpc/clnt.h: Likewise.
42285 * sunrpc/rpc/netdb.h: Likewise.
42286 * sunrpc/rpc/pmap_clnt.h: Likewise.
42287 * sunrpc/rpc/xdr.h: Likewise.
42288 * sysdeps/generic/inttypes.h: Likewise.
42289 * sysdeps/generic/net/if.h: Likewise.
42290 * sysdeps/generic/sys/swap.h: Likewise.
42291 * sysdeps/gnu/net/if.h: Likewise.
42292 * sysdeps/gnu/utmpx.h: Likewise.
42293 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42294 * sysdeps/i386/i486/bits/string.h: Likewise.
42295 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42296 * sysdeps/s390/bits/string.h: Likewise.
42297 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42298 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42299 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42300 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42301 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42302 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42303 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42304 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42305 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42306 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42307 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42308 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42309 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42310 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42311 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42312 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42313 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42314 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42315 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42316 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42317 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42318 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42319 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42320 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42321 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42322 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42323 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42324 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42325 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42326 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42327 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42328 * sysvipc/sys/ipc.h: Likewise.
42329 * sysvipc/sys/msg.h: Likewise.
42330 * sysvipc/sys/sem.h: Likewise.
42331 * sysvipc/sys/shm.h: Likewise.
42332 * termios/termios.h: Likewise.
42333 * time/sys/time.h: Likewise.
42334 * time/time.h: Likewise.
42335 * wcsmbs/bits/wchar2.h: Likewise.
42336 * wcsmbs/uchar.h: Likewise.
42337 * wcsmbs/wchar.h: Likewise.
42338 * wctype/wctype.h: Likewise.
42341 * Makeconfig: Remove all but ELF support including AIX support.
42342 * Makerules: Likewise.
42343 * config.h.in: Likewise.
42344 * config.make.in: Likewise.
42345 * configure: Likewise.
42346 * configure.in: Likewise.
42347 * csu/Makefile: Likewise.
42348 * csu/version.c: Likewise.
42349 * debug/Makefile: Likewise.
42350 * dlfcn/Makefile: Likewise.
42351 * elf/Makefile: Likewise.
42352 * extra-lib.mk: Likewise.
42353 * iconv/Makefile: Likewise.
42354 * include/libc-symbols.h: Likewise.
42355 * include/shlib-compat.h: Likewise.
42356 * resolv/Makefile: Likewise.
42357 * resolv/res_libc.c: Likewise.
42358 * rt/Makefile: Likewise.
42359 * sysdeps/i386/asm-syntax.h: Likewise.
42360 * sysdeps/i386/sysdep.h: Likewise.
42361 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42362 * sysdeps/mach/sysdep.h: Likewise.
42363 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42364 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42365 * sysdeps/s390/asm-syntax.h: Likewise.
42366 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42367 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42368 * sysdeps/sh/sysdep.h: Likewise.
42369 * sysdeps/unix/sparc/sysdep.h: Likewise.
42370 * sysdeps/wordsize-32/divdi3.c: Likewise.
42371 * sysdeps/x86_64/sysdep.h: Likewise.
42373 * argp/Versions: Remove _argp_unlock_xxx.
42376 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42377 * abilist/libBrokenLocale.abilist: Likewise.
42378 * abilist/libanl.abilist: Likewise.
42379 * abilist/libc.abilist: Likewise.
42380 * abilist/libcrypt.abilist: Likewise.
42381 * abilist/libdl.abilist: Likewise.
42382 * abilist/libm.abilist: Likewise.
42383 * abilist/libnsl.abilist: Likewise.
42384 * abilist/libpthread.abilist: Likewise.
42385 * abilist/libresolv.abilist: Likewise.
42386 * abilist/librt.abilist: Likewise.
42387 * abilist/libthread_db.abilist: Likewise.
42388 * abilist/libutil.abilist: Likewise.
42389 * abilist/libnss_db.abilist: New file.
42391 * scripts/abilist.awk: Add support for indirect functions.
42393 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42395 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42397 * shlib-versions: Remove entries for ports architectures.
42399 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42401 * elf/stackguard-macros.h: Remove support for IA-64.
42402 * elf/tst-auditmod1.c: Likewise.
42403 * sysdeps/generic/ldsodefs.h: Likewise.
42405 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42406 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42410 * configure.in: Remove --enable-omitfp support.
42412 * config.make.in: Likewise.
42413 * Makeconfig: Likewise.
42414 * manual/install.texi: Likewise.
42416 In case anyone cares, the IA-64 architecture could move to ports.
42417 * sysdeps/ia64/*: Removed.
42418 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42419 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42422 * configure.in: Remove entries for unsupported architectures.
42425 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42426 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42428 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42429 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42430 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42431 fall back to using wcrtomb.
42432 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42433 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42435 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42436 * wcsmbs/tst-c16c32-1.c: New file.
42438 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42441 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42443 * elf/tst-unique3.cc: Add explicit declaration of gets.
42444 * elf/tst-unique3lib.cc: Likewise.
42445 * elf/tst-unique3lib2.cc: Likewise.
42446 * elf/tst-unique4.cc: Likewise.
42448 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42450 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42453 * assert/assert.h (static_assert): Don't define for C++.
42454 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42455 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42457 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42459 * iconv/loop.c (single loop): Fix assertion in storing of
42462 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42464 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42466 * posix/getconf.c: Update copyright year.
42467 * nss/getent.c: Likewise.
42468 * nss/makedb.c: Likewise.
42469 * iconv/iconvconfig.c: Likewise.
42470 * iconv/iconv_prog.c: Likewise.
42471 * elf/ldconfig.c: Likewise.
42472 * elf/pldd.c: Likewise.
42473 * elf/sotruss.ksh: Likewise.
42474 * catgets/gencat.c: Likewise.
42475 * csu/version.c: Likewise.
42476 * elf/ldd.bash.in: Likewise.
42477 * elf/sprof.c (print_version): Likewise.
42478 * locale/programs/locale.c: Likewise.
42479 * locale/programs/localedef.c: Likewise.
42480 * login/programs/pt_chown.c: Likewise.
42481 * nscd/nscd.c (print_version): Likewise.
42482 * debug/xtrace.sh: Likewise.
42483 * malloc/memusage.sh: Likewise.
42484 * malloc/mtrace.pl: Likewise.
42485 * debug/catchsegv.sh: Likewise.
42487 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42489 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42492 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42495 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42496 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42498 * iconv/gconv_int.h: Likewise.
42499 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42500 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42501 from libc for GLIBC_2.16.
42502 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42503 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42504 * wcsmbs/uchar.h: Really define mbstate_t.
42505 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42506 * wcsmbs/c16rtomb.c: New file.
42507 * wcsmbs/mbrtoc16.c: New file.
42508 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42509 for C/POSIX locale.
42510 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42511 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42513 * wcsmbs/wchar.h: Add missing __restrict.
42515 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42518 * time/Makefile (routines): Add timespec_get.
42519 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42520 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42521 timespec for ISO C11.
42522 * time/timespec_get.c: New file.
42523 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42524 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42527 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42528 * stdlib/stdlib.h: Declare aligned_alloc.
42529 * Versions.def: Add GLIBC_2.16 for libc.
42530 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42533 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42536 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42540 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42543 * assert/assert.h (static_assert): Define.
42545 * version.h: Update for 2.16 development version.
42548 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42551 * version.h (RELEASE): Bump for 2.15 release.
42552 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42554 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42555 Patch by Marek Polacek <mpolacek@redhat.com>.
42557 * bits/byteswap.h: Protect long long constants with __extension__.
42558 * sysdeps/i386/bits/byteswap.h: Likewise.
42559 * sysdeps/ia64/bits/byteswap.h: Likewise.
42560 * sysdeps/s390/bits/byteswap.h: Likewise.
42561 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42563 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42566 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42567 destination buffer.
42568 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42570 2011-12-23 Marek Polacek <polacek@redhat.com>
42572 * elf/dl-addr.c (determine_info): Add inline keyword.
42573 * elf/tst-auditmod4b.c (check_avx): Likewise.
42574 * elf/tst-auditmod6b.c (check_avx): Likewise.
42575 * elf/tst-auditmod6c.c (check_avx): Likewise.
42576 * elf/tst-auditmod7b.c (check_avx): Likewise.
42578 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42580 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42583 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42586 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42587 processing for last bytes.
42589 2011-08-06 Bruno Haible <bruno@clisp.org>
42592 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42593 U+0385, not to U+1FEE.
42596 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42597 entry for U+00A5 U+0301.
42599 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42602 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42603 buffer for the output is too small.
42605 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42609 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42610 SSE flags if possible.
42612 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42615 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42616 processing for last bytes.
42618 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42620 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42621 (syscall-list-default-options, syscall-list-default-condition)
42622 (syscall-list-includes): Define.
42623 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42624 list of ABIs and options and #if conditions for each ABI. Do not
42625 handle common syscalls between ABIs specially.
42626 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42628 (syscall-list-variants, syscall-list-32bit-options)
42629 (syscall-list-32bit-condition, syscall-list-64bit-options)
42630 (syscall-list-64bit-condition): Define.
42631 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42632 (syscall-list-variants, syscall-list-32bit-options)
42633 (syscall-list-32bit-condition, syscall-list-64bit-options)
42634 (syscall-list-64bit-condition): Define.
42635 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42637 (syscall-list-variants, syscall-list-32bit-options)
42638 (syscall-list-32bit-condition, syscall-list-64bit-options)
42639 (syscall-list-64bit-condition): Define.
42640 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42642 (syscall-list-variants, syscall-list-32bit-options)
42643 (syscall-list-32bit-condition, syscall-list-64bit-options)
42644 (syscall-list-64bit-condition): Define.
42646 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42648 * locale/iso-639.def: Add brx entry.
42651 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42652 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42654 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42655 __feraiseexcept_renamed.
42657 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42660 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42661 EPOLLET with unsigned values.
42662 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42663 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42665 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42666 to large cancellation.
42667 * math/s_cacoshf.c: Likewise.
42668 * math/s_cacoshl.c: Likewise.
42670 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42674 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42675 * math/s_cacoshf.c: Likewise.
42676 * math/s_cacoshl.c: Likewise.
42678 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42681 * iconv/gconv.h: Define __GCONV_SWAP.
42682 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42683 * iconvdata/utf-16.c: Likewise.
42684 * iconvdata/utf-32.c: Likewise.
42686 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42689 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42690 numerator after shifting it by one limb.
42692 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42694 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42695 under [__USE_EXTERN_INLINES].
42697 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42700 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42702 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42704 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42705 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42707 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42708 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42709 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42710 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42711 for strncasecmp/strncasecmp_l compilation.
42712 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42713 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42715 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42718 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42721 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42724 * time/tzfile.c (__tzfile_read): Check values from file header.
42726 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42728 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42729 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42730 * powerpc/powerpc32/dl-start.S: Likewise.
42731 * powerpc/powerpc32/elf/start.S: Likewise.
42732 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42733 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42734 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42735 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42736 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42737 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42738 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42739 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42740 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42741 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42742 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42743 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42744 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42745 * powerpc/powerpc32/memset.S: Likewise.
42746 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42747 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42748 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42749 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42750 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42751 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42752 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42753 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42754 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42755 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42756 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42757 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42758 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42760 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42762 * math/libm-test.inc: Added more nearbyint tests.
42763 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42764 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42765 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42766 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42768 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42770 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42773 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42775 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42776 Add wcscpy-ssse3 wcscpy-c.
42777 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42778 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42779 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42780 * sysdeps/x86_64/wcschr.S: New file.
42781 * sysdeps/x86_64/wcsrchr.S: New file.
42782 * string/test-strcmp.c: Remove checking of wcscmp function for
42784 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42785 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42786 wcsrchr-sse2 wcsrchr-c.
42787 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42788 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42789 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42790 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42791 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42792 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42793 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42794 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42795 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42796 * wcsmbc/wcschr.c (WCSCHR): New macro.
42798 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42800 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42801 * wcsmbs/test-wcsrchr.c: New file.
42802 * string/test-strrchr.c: Add wcsrchr support.
42804 * wcsmbs/test-wcscpy.c: New file.
42805 * string/test-strcpy.c: Add wcscpy support.
42808 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42810 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42813 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42816 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42818 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42820 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42821 Minor optimizations.
42823 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42824 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42825 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42827 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42829 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42830 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42831 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42832 for gcc to avoid warnings.
42833 * inet/Makefile (tests): Add tst-checks.
42834 * inet/tst-checks.c: New file.
42836 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42839 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42842 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42843 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42845 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42847 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42849 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42852 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42854 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42856 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42857 conditional on GCC version.
42858 (__arch_compare_and_exchange_val_8_acq)
42859 (__arch_compare_and_exchange_val_16_acq)
42860 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42861 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42862 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42864 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42866 * sysdeps/sh/backtrace.c: New file.
42868 2011-12-02 Andreas Schwab <schwab@redhat.com>
42870 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42873 2011-12-01 Andreas Schwab <schwab@redhat.com>
42875 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42876 falling back to utime.
42878 2011-11-30 Andreas Schwab <schwab@redhat.com>
42880 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42881 expectations for float.
42883 2011-11-29 Andreas Schwab <schwab@redhat.com>
42885 * locale/weight.h (findidx): Add parameter len.
42886 * locale/weightwc.h (findidx): Likewise.
42887 * posix/fnmatch_loop.c (FCT): Adjust caller.
42888 * posix/regcomp.c (build_equiv_class): Likewise.
42889 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42890 * posix/regexec.c (check_node_accept_bytes): Likewise.
42891 * string/strcoll_l.c (STRCOLL): Likewise.
42892 * string/strxfrm_l.c (STRXFRM): Likewise.
42894 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42896 * Makefile.in: Remove CVSOPT handling.
42897 * configure.in: Remove use of AC_REVISION.
42898 * iconvdata/Makefile (distribute): No need to filter out CVS.
42899 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42902 2011-11-16 Andreas Schwab <schwab@redhat.com>
42904 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42905 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42906 [USE_AS_STRNCASECMP_L]: Likewise.
42907 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42908 NO_TLS_DIRECT_SEG_REFS.
42909 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42910 Fix argument offsets for non-PIC.
42911 [USE_AS_STRNCASECMP_L]: Likewise.
42912 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42913 NO_TLS_DIRECT_SEG_REFS.
42915 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42917 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42919 * locale/loadlocale.c (_nl_load_locale): Likewise.
42921 2011-11-15 Andreas Schwab <schwab@redhat.com>
42923 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42924 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42925 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42926 (SYSCALL_GETTIME): Set errno on error.
42928 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42929 count references to noai6ai_cached.
42931 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42933 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42935 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42936 FD_CLOEXEC for /proc/self/maps.
42938 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42939 FD_CLOEXEC for /proc/meminfo.
42941 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42944 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42945 FD_CLOEXEC for given file.
42947 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42949 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42950 FD_CLOEXEC for /etc/hosts.
42951 (_gethtent): Likewise.
42953 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42955 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42956 cancellation and set FD_CLOEXEC for /etc/netgroup.
42958 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42959 reading /etc/publickey.
42961 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42962 allow cancellation when reading /etc/group.
42964 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42966 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42968 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42969 when using data file.
42971 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42973 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42974 (write_nis_obj): Use "c" and "e" in fopen.
42976 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42978 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42980 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42982 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42984 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42987 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42989 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42991 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42993 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42994 file parsing and set FD_CLOEXEC.
42996 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42998 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43000 2011-11-14 Andreas Schwab <schwab@redhat.com>
43002 * malloc/arena.c (arena_get2): Don't call reused_arena when
43003 _int_new_arena failed.
43005 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43007 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43008 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43009 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43010 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43011 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43012 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43013 to compile strcasecmp and strncasecmp.
43014 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43015 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43017 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43019 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43021 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43022 locale-defines.sym to gen-as-const-headers.
43023 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43024 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43025 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43026 to compile strcasecmp and strncasecmp.
43027 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43028 strcasecmp_l and strncasecmp_l.
43029 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43030 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43031 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43032 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43033 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43034 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43035 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43036 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43037 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43038 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43039 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43041 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43043 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43044 result of SYSDEP_GETTIME_CPU to retval.
43045 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43046 parameter list to macro. Remove trailing semicolon. Adjust users.
43048 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43051 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43053 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43055 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43056 from unused variable.
43058 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43060 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43063 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43066 * sunrpc/rpc_prot.c (rejected): Fix case value.
43068 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43069 unsigned long long int to avoid warnings in shift.
43071 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43073 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43076 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43077 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43078 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43080 * nis/nis_table.c (nis_list): Use variable of correct type for
43081 result of __follow_path call.
43083 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43085 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43086 of math functions ceil, trunc, floor, round, and sqrt, when
43087 avaliable on the platform.
43088 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43090 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43091 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43092 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43094 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43096 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43097 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43099 2011-11-11 Roland McGrath <roland@hack.frob.com>
43101 * include/unistd.h: Fix __readlink return type.
43102 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43104 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43106 * stdlib/ucontext.h: Undo last change for makecontext.
43108 2011-11-11 Andreas Schwab <schwab@redhat.com>
43110 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43112 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43113 * setjmp/setjmp.h: Mark functions as non-leaf.
43114 * setjmp/bits/setjmp2.h: Likewise.
43115 * stdlib/ucontext.h: Likewise.
43117 2011-11-10 Andreas Schwab <schwab@redhat.com>
43119 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43120 (reused_arena): Don't check arena limit.
43121 (arena_get2): Atomically check arena limit.
43123 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43125 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43126 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43128 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43131 2011-11-07 Andreas Schwab <schwab@redhat.com>
43133 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43134 handler when locking.
43136 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43137 Fix size of allocated buffer.
43139 2011-11-04 Andreas Schwab <schwab@redhat.com>
43142 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43143 declarations for long double functions.
43144 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43146 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43148 2011-11-03 Andreas Schwab <schwab@redhat.com>
43150 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43153 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43156 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43158 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43160 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43162 * include/alloca.h (stackinfo_alloca_round): Define.
43163 (extend_alloca): Use it.
43164 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43165 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43168 * scripts/check-local-headers.sh: Ignore libaudit.h.
43170 * nscd/Makefile (extra-objs): Make recursively expanded.
43172 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43174 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43175 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43177 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43178 * posix/tst-rfc3484-2.c: Likewise.
43179 * posix/tst-rfc3484-3.c: Likewise.
43181 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43183 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43185 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43186 process_vm_writev from libc using GLIBC_2.15 version.
43188 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43190 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43192 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43195 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43198 * nss/getent.c (initgroups_keys): Show error message in case no group
43201 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43202 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43203 __bump_nl_timestamp.
43204 * nscd/connections (nscd_init): When host database is served open
43205 netlink socket and request notification about configuration changes.
43206 (main_loop_poll): Track netlink file descriptor and bump timestamp
43207 in case data becomes available.
43208 (main_loop_epoll): Likewise.
43209 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43210 (database_pers_head): Add extra_data fileds.
43211 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43212 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43213 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43215 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43216 in6ai data, call __free_in6ai.
43217 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43218 Add -DHAVE_NETLINK.
43219 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43220 interface information. Reuse previous data if netlink timestamp
43222 (__bump_nl_timestamp): New function.
43223 (__free_in6ai): New function.
43225 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43227 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43228 close_not_cancel_no_status here.
43229 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43231 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43234 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43237 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43238 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43239 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43241 2011-07-03 Andreas Jaeger <aj@suse.de>
43244 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43245 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43246 * math/libm-test.inc (sin_test): Add test case.
43248 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43251 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43252 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43254 * elf/chroot_canon.c (chroot_canon): Cleanups.
43256 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43259 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43260 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43262 * string/test-strchr.c: Make usable for strchrnul testing.
43263 * string/test-strchrnul.c: New file.
43264 * string/Makefile (strop-tests): Add strchrnul.
43266 * po/it.po: Update from translation team.
43267 * po/es.po: Likewise.
43269 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43271 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43272 the three constants needed as parameters. Drop the others.
43273 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43274 __m128i_strloadu_tolower.
43275 Create and initialize variable zero and use it in all the places
43276 where _mm_setzero_si128 was used.
43278 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43279 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43280 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43281 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43283 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43284 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43285 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43286 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43287 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43288 __mpranred, __mptan.
43289 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43290 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43291 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43292 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43293 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43294 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43295 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43296 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43297 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43299 2011-10-28 Andreas Schwab <schwab@redhat.com>
43301 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43302 redefine if SHARED.
43303 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43306 wide char related routines to wcsmbs subdir.
43308 2011-10-27 Andreas Schwab <schwab@redhat.com>
43311 * misc/sys/cdefs.h (__THROWNL): Define.
43312 * posix/unistd.h: Use __THREADNL instead of __THREAD
43313 for memory synchronization functions.
43315 2011-10-26 Roland McGrath <roland@hack.frob.com>
43318 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43320 * manual/stdio.texi (Obstack Streams): Node removed.
43322 2011-10-26 Andreas Schwab <schwab@redhat.com>
43324 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43325 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43326 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43328 * math/math_private.h (math_force_eval): Allow non-addressable
43330 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43332 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43334 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43335 file is not needed.
43337 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43338 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43339 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43340 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43341 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43342 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43343 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43344 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43346 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43347 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43348 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43349 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43350 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43351 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43352 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43353 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43354 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43355 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43356 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43357 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43358 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43359 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43360 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43361 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43362 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43363 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43364 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43366 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43367 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43369 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43370 place. Use VEX encoding when compiling for AVX.
43372 2011-10-25 Andreas Schwab <schwab@redhat.com>
43374 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43375 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43377 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43379 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43381 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43382 useless if() expression.
43383 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43384 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43385 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43386 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43387 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43388 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43389 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43390 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43391 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43392 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43393 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43394 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43395 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43396 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43397 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43398 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43399 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43400 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43401 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43403 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43405 2011-10-25 Andreas Schwab <schwab@redhat.com>
43407 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43409 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43411 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43413 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43414 .text section. Avoid duplicate constants.
43415 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43416 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43417 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43418 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43419 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43420 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43421 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43422 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43423 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43424 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43425 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43426 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43427 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43428 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43429 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43430 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43431 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43432 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43433 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43434 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43435 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43436 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43437 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43438 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43439 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43440 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43441 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43442 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43443 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43444 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43445 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43446 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43447 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43448 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43449 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43450 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43451 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43452 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43453 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43454 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43455 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43456 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43457 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43458 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43459 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43461 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43463 * sysdeps/x86_64/dla.h: Move to ...
43464 * sysdeps/x86_64/fpu/dla.h: ...here.
43465 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43466 situations. Use __builtin_fma only for gcc 4.6 and up.
43468 * config.make.in: Add have-mfma4 entry.
43469 * configure.in: Substitute libc_cv_cc_fma4.
43470 * math/Makefile (dbl-only-routines): Add sincostab.
43471 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43472 Use __sincostab not sincos.
43473 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43475 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43476 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43477 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43478 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43480 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43481 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43482 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43483 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43485 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43486 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43488 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43489 define aliases when function name is a macro.
43490 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43491 sysdeps/ieee754/dbl-64/sincos.tbl.
43492 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43493 fma4-enabled routines.
43494 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43495 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43496 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43497 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43498 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43499 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43500 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43501 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43502 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43503 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43504 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43505 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43506 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43507 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43508 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43509 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43510 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43511 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43512 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43513 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43514 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43515 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43516 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43517 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43518 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43519 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43520 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43521 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43522 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43523 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43525 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43527 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43528 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43529 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43530 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43531 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43533 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43534 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43536 2011-10-24 Andreas Schwab <schwab@redhat.com>
43538 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43540 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43542 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43544 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43546 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43548 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43549 Remove unused variable magic_bits.
43550 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43552 * string/strnlen.c: Define and use STRNLEN macro.
43553 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43554 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43555 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43556 * wcsmbs/wcslen.c: Define and use WCSLEN.
43557 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43558 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43559 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43560 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43561 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43562 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43563 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43565 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43567 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43568 strnlen-sse2-no-bsf.
43569 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43570 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43571 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43572 Add strnlen support.
43573 (USE_AS_STRNLEN): New macro.
43574 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43575 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43576 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43577 * sysdeps/x86_64/wcslen.S: New file.
43579 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43581 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43582 XMM-moves are used for copying on small sizes.
43584 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43586 * wcsmbs/Makefile (strop-tests): Add wcschr.
43587 * wcsmbs/test-wcschr.c: New file.
43588 * string/test-strchr.c: Update.
43589 Add wcschr support.
43592 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43594 * wcsmbs/Makefile (strop-tests): Add wcslen.
43595 * wcsmbs/test-wcslen.c: New file.
43596 * string/test-strlen.c: Update.
43597 Add wcslen support.
43600 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43602 * po/it.po: Update from translation team.
43604 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43606 * sysdeps/x86_64/wcscmp.S: Update.
43607 Fix wrong comparison semantics.
43608 wcscmp shall use signed comparison not unsigned.
43609 Don't use substraction to avoid overflow bug.
43610 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43611 * wcsmbc/wcscmp.c: Likewise.
43612 * string/test-strcmp.c: Likewise.
43613 Add new tests to check cases with negative values.
43615 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43617 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43618 * sysdeps/x86_64/dla.h: ...here. New file.
43619 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43620 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43622 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43623 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43624 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43625 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43626 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43627 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43629 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43631 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43632 __ynl_finite aliases.
43634 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43638 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43640 [DLA_FMA] (EMULV): Use DLA_FMA.
43641 [DLA_FMA] (MUL12): Use EMULV.
43642 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43643 that are not needed.
43644 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43645 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43646 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43647 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43648 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43649 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43650 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43652 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43654 * math/s_nan.c: Undef __nan.
43655 * math/s_nanf.c: Undef __nanf.
43656 * math/s_nanl.c: Undef __nanl.
43657 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43660 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43662 * math/s_catan.c: Add branch predictions.
43663 * math/s_catanf.c: Likewise.
43664 * math/s_catanh.c: Likewise.
43665 * math/s_catanhf.c: Likewise.
43666 * math/s_catanhl.c: Likewise.
43667 * math/s_catanl.c: Likewise.
43668 * math/s_cexp.c: Likewise.
43669 * math/s_cexpf.c: Likewise.
43670 * math/s_cexpl.c: Likewise.
43671 * math/s_clog.c: Likewise.
43672 * math/s_clog10.c: Likewise.
43673 * math/s_clog10f.c: Likewise.
43674 * math/s_clog10l.c: Likewise.
43675 * math/s_clogf.c: Likewise.
43676 * math/s_clogl.c: Likewise.
43677 * math/s_csqrt.c: Likewise.
43678 * math/s_csqrtf.c: Likewise.
43679 * math/s_csqrtl.c: Likewise.
43680 * math/s_ctanf.c: Likewise.
43681 * math/s_ctanh.c: Likewise.
43682 * math/s_ctanhf.c: Likewise.
43683 * math/s_ctanhl.c: Likewise.
43684 * math/s_ctanl.c: Likewise.
43686 * math/math_private.h: Define __nan, __nanf, __nanl.
43687 * math/s_cacosh.c: Include <math_private.h>.
43688 * math/s_cacoshl.c: Likewise.
43689 * math/s_casinh.c: Likewise.
43690 * math/s_casinhf.c: Likewise.
43691 * math/s_casinhl.c: Likewise.
43692 * math/s_ccos.c: Rely entire on ccosh.
43693 * math/s_ccosf.c: Rely entire on ccoshf.
43694 * math/s_ccosl.c: Rely entirely on ccoshl.
43695 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43696 Remove tests for FE_INVALID.
43697 * math/s_ccoshf.c: Likewise.
43698 * math/s_ccoshl.c: Likewise.
43699 * math/s_csin.c: Likewise.
43700 * math/s_csinf.c: Likewise.
43701 * math/s_csinh.c Likewise.
43702 * math/s_csinhf.c: Likewise.
43703 * math/s_csinhl.c: Likewise.
43704 * math/s_csinl.c: Likewise.
43705 * math/s_ctan.c: Likewise.
43706 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43707 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43708 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43710 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43713 compilation problems.
43715 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43718 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43720 * sysdeps/i386/configure.in: Test for -mfma4 option.
43721 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43722 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43723 COMMON_CPUID_INDEX_80000001.
43724 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43725 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43726 use it if FMA3 is not supported.
43727 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43729 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43730 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43732 2011-10-20 Andreas Schwab <schwab@redhat.com>
43735 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43736 it would create a cycle with a link time dependency.
43738 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43740 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43742 * string/Makefile (strop-tests): Add rawmemchr.
43743 * string/test-rawmemchr.c: New file.
43745 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43746 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43747 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43748 when compiling str{,n}casecmp and when AVX is available. Hook up
43749 new optimized code in initializers.
43751 2011-10-19 Andreas Schwab <schwab@redhat.com>
43753 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43754 __feraiseexcept instead of feraiseexcept.
43756 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43758 * math/math_private.h: Define defaults for libc_fetestexcept and
43760 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43761 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43762 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43763 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43764 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43765 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43766 libc_fetestexcept and libc_feupdateenv.
43768 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43769 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43770 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43771 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43772 libc_feholdexcept_setround.
43774 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43775 Add s_nearbyint-c and s_nearbyintf-c.
43776 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43777 nearbyintf inlines.
43778 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43779 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43780 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43781 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43783 * math/math_private.h: Define defaults for libc_fegetround,
43784 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43785 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43786 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43787 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43788 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43789 standard functions.
43790 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43791 Remove comments and hacks for old compiler versions.
43792 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43793 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43794 libc_feholdexceptl.
43796 2011-10-18 Andreas Schwab <schwab@redhat.com>
43798 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43799 (__feraiseexcept_renamed): Add __NTH.
43800 (feraiseexcept): Add __NTH. Rename local variables to fix
43801 namespace violations.
43803 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43805 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43807 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43809 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43810 recently added interfaces.
43811 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43813 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43814 about macro parameter expansion.
43816 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43817 __NO_MATH_INLINES is defined. Cleanups.
43819 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43820 and __floorf is target has SSE4.1.
43821 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43822 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43823 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43824 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43826 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43828 (floorf): Likewise.
43830 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43832 2011-10-17 Andreas Schwab <schwab@redhat.com>
43834 * misc/sys/cdefs.h: Fix last change.
43836 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43839 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43841 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43843 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43844 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43845 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43846 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43847 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43848 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43849 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43850 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43851 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43852 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43853 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43854 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43855 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43856 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43857 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43858 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43859 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43860 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43861 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43862 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43863 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43864 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43866 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43867 ceil, ceilf, floor, floorf.
43869 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43870 Perform IRELATIVE relocations last.
43872 * elf/do-rel.h: Add another parameter nrelative, replacing the
43873 local variable with the same name. Change name of the function
43874 to end in Rel or Rela (uppercase).
43875 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43876 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43877 elf_dynamic_do_##reloc function.
43879 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43881 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43882 is sufficient, at least on modern CPUs.
43884 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43886 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43887 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43889 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43891 * math/bits/math-finite.h: Add entries for exp.
43892 * math/e_expl.c: Add __*_finite alias.
43893 * sysdeps/i386/fpu/e_exp.S: Likewise.
43894 * sysdeps/i386/fpu/e_expf.S: Likewise.
43895 * sysdeps/i386/fpu/e_expl.c: Likewise.
43896 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43897 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43898 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43899 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43900 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43901 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43902 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43904 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43905 is sufficient, at least on modern CPUs.
43907 * ctype/ctype-info.c (__ctype_init): Define.
43908 * include/ctype.h (__ctype_init): Declare.
43909 (__ctype_b_loc): The variable is always initialized.
43910 (__ctype_toupper_loc): Likewise.
43911 (__ctype_tolower_loc): Likewise.
43912 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43913 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43915 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43917 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43919 * configure.in: Also look in $cxxmachine/include for C++ system
43922 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43924 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43925 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43926 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43927 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43928 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43929 (USE_AS_WMEMCMP): New macro.
43931 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43932 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43933 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43934 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43936 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43937 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43938 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43939 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43940 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43941 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43942 (USE_AS_WMEMCMP): New macro.
43943 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43944 * sysdeps/string/test-memcmp.c: Update.
43945 Fix simple_wmemcmp.
43947 * wcsmbs/wmemcmp.c: Update.
43948 (WMEMCMP): New macro.
43951 2011-10-12 Andreas Jaeger <aj@suse.de>
43954 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43956 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43958 * libio/iofwide.c (do_length): Avoid warning.
43960 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43962 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43964 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43966 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43967 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43968 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43969 * sysdeps/i386/i686/fpu/e_log.S: New file.
43970 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43971 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43973 * ctype/ctype.h: Add support for inlined isXXX functions when
43974 compiling C++ code.
43976 2011-10-14 Andreas Schwab <schwab@redhat.com>
43978 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43980 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43982 2011-10-13 Roland McGrath <roland@hack.frob.com>
43985 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43987 2011-10-13 Andreas Schwab <schwab@redhat.com>
43989 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43990 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43993 * sysdeps/x86_64/memrchr.S: Check for zero size.
43995 * string/stratcliff.c: Add memrchr tests.
43997 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43999 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44000 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44001 rawmemchr-sse2 rawmemchr-sse2-bsf.
44002 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44003 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44004 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44005 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44006 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44007 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44008 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44009 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44010 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44011 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44012 * string/memrchr.c (MEMRCHR): New macro.
44014 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44016 Add integration with gcc's -ffinite-math-only and optimize wrapper
44018 * Versions.def: Define GLIBC_2.15 version for libm.
44019 * math/Makefile (headers): Add bits/math-finite.h.
44020 * math/bits/math-finite.h: New file.
44021 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44022 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44023 * math/e_acoshl.c: Add __*_finite alias.
44024 * math/e_acosl.c: Likewise.
44025 * math/e_asinl.c: Likewise.
44026 * math/e_atan2l.c: Likewise.
44027 * math/e_atanhl.c: Likewise.
44028 * math/e_coshl.c: Likewise.
44029 * math/e_exp10.c: Likewise.
44030 * math/e_exp10f.c: Likewise.
44031 * math/e_exp10l.c: Likewise.
44032 * math/e_exp2l.c: Likewise.
44033 * math/e_fmodl.c: Likewise.
44034 * math/e_gammal_r.c: Likewise.
44035 * math/e_hypotl.c: Likewise.
44036 * math/e_j0l.c: Likewise.
44037 * math/e_j1l.c: Likewise.
44038 * math/e_jnl.c: Likewise.
44039 * math/e_lgammal_r.c: Likewise.
44040 * math/e_log10l.c: Likewise.
44041 * math/e_log2l.c: Likewise.
44042 * math/e_logl.c: Likewise.
44043 * math/e_powl.c: Likewise.
44044 * math/e_sinhl.c: Likewise.
44045 * math/e_sqrtl.c: Likewise.
44046 * math/e_scalb.c: Completely rewritten and optimized.
44047 * math/e_scalbf.c: Likewise.
44048 * math/e_scalbl.c: Likewise.
44049 * math/w_acos.c: Likewise.
44050 * math/w_acosf.c: Likewise.
44051 * math/w_acosl.c: Likewise.
44052 * math/w_acosh.c: Likewise.
44053 * math/w_acoshf.c: Likewise.
44054 * math/w_acoshl.c: Likewise.
44055 * math/w_asin.c: Likewise.
44056 * math/w_asinf.c: Likewise.
44057 * math/w_asinl.c: Likewise.
44058 * math/w_atan2.c: Likewise.
44059 * math/w_atan2f.c: Likewise.
44060 * math/w_atan2l.c: Likewise.
44061 * math/w_atanh.c: Likewise.
44062 * math/w_atanhf.c: Likewise.
44063 * math/w_atanhl.c: Likewise.
44064 * math/w_exp10.c: Likewise.
44065 * math/w_exp10f.c: Likewise.
44066 * math/w_exp10l.c: Likewise.
44067 * math/w_fmod.c: Likewise.
44068 * math/w_fmodf.c: Likewise.
44069 * math/w_fmodl.c: Likewise.
44070 * math/w_j0.c: Likewise.
44071 * math/w_j0f.c: Likewise.
44072 * math/w_j0l.c: Likewise.
44073 * math/w_j1.c: Likewise.
44074 * math/w_j1f.c: Likewise.
44075 * math/w_j1l.c: Likewise.
44076 * math/w_jn.c: Likewise.
44077 * math/w_jnf.c: Likewise.
44078 * math/w_log.c: Likewise.
44079 * math/w_logf.c: Likewise.
44080 * math/w_logl.c: Likewise.
44081 * math/w_log10.c: Likewise.
44082 * math/w_log10f.c: Likewise.
44083 * math/w_log10l.c: Likewise.
44084 * math/w_log2.c: Likewise.
44085 * math/w_log2f.c: Likewise.
44086 * math/w_log2l.c: Likewise.
44087 * math/w_pow.c: Likewise.
44088 * math/w_powf.c: Likewise.
44089 * math/w_powl.c: Likewise.
44090 * math/w_remainder.c: Likewise.
44091 * math/w_remainderf.c: Likewise.
44092 * math/w_remainderl.c: Likewise.
44093 * math/w_scalb.c: Likewise.
44094 * math/w_scalbf.c: Likewise.
44095 * math/w_scalbl.c: Likewise.
44096 * math/w_sqrt.c: Likewise.
44097 * math/w_sqrtf.c: Likewise.
44098 * math/w_sqrtl.c: Likewise.
44099 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44100 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44102 * math/math_private.h: Declare __kernel_standard_f.
44103 * math/w_cosh.c: Remove cruft and optimize a bit.
44104 * math/w_coshf.c: Likewise.
44105 * math/w_coshl.c: Likewise.
44106 * math/w_exp2.c: Likewise.
44107 * math/w_exp2f.c: Likewise.
44108 * math/w_exp2l.c: Likewise.
44109 * math/w_hypot.c: Likewise.
44110 * math/w_hypotf.c: Likewise.
44111 * math/w_hypotl.c: Likewise.
44112 * math/w_lgamma.c: Likewise.
44113 * math/w_lgamma_r.c: Likewise.
44114 * math/w_lgammaf.c: Likewise.
44115 * math/w_lgammaf_r.c: Likewise.
44116 * math/w_lgammal.c: Likewise.
44117 * math/w_lgammal_r.c: Likewise.
44118 * math/w_sinh.c: Likewise.
44119 * math/w_sinhf.c: Likewise.
44120 * math/w_sinhl.c: Likewise.
44121 * math/w_tgamma.c: Likewise.
44122 * math/w_tgammaf.c: Likewise.
44123 * math/w_tgammal.c: Likewise.
44124 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44125 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44126 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44127 Minor optimizations. Pretty printing. Remove cruft.
44128 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44129 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44130 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44131 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44132 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44133 * sysdeps/i386/fpu/e_asin.S: Likewise.
44134 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44135 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44136 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44137 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44138 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44139 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44140 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44141 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44142 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44143 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44144 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44145 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44146 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44147 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44148 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44149 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44150 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44151 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44152 * sysdeps/i386/fpu/e_log.S: Likewise.
44153 * sysdeps/i386/fpu/e_log10.S: Likewise.
44154 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44155 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44156 * sysdeps/i386/fpu/e_log2.S: Likewise.
44157 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44158 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44159 * sysdeps/i386/fpu/e_logf.S: Likewise.
44160 * sysdeps/i386/fpu/e_logl.S: Likewise.
44161 * sysdeps/i386/fpu/e_pow.S: Likewise.
44162 * sysdeps/i386/fpu/e_powf.S: Likewise.
44163 * sysdeps/i386/fpu/e_powl.S: Likewise.
44164 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44165 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44166 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44167 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44168 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44169 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44170 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44171 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44172 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44173 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44174 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44175 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44176 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44177 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44178 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44179 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44180 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44181 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44182 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44183 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44184 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44185 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44186 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44187 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44188 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44189 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44190 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44191 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44192 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44193 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44194 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44195 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44196 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44197 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44198 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44199 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44200 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44201 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44202 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44203 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44204 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44205 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44206 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44207 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44208 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44209 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44210 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44211 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44212 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44213 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44214 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44215 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44216 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44217 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44218 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44219 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44220 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44221 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44222 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44223 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44224 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44225 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44226 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44227 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44228 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44229 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44230 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44231 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44232 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44233 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44234 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44235 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44236 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44237 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44238 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44239 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44240 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44241 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44242 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44243 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44244 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44245 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44246 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44247 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44248 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44249 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44250 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44251 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44252 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44253 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44254 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44255 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44256 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44257 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44258 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44259 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44260 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44261 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44262 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44263 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44264 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44265 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44266 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44267 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44268 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44269 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44270 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44271 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44272 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44273 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44274 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44275 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44276 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44277 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44278 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44279 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44280 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44281 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44282 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44283 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44284 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44285 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44286 (__isnanf): Likewise.
44287 (__isinf_ns): Likewise.
44288 (__isinf_nsf): Likewise.
44289 (__finite): Likewise.
44290 (__finitef): Likewise.
44291 (__ieee754_sqrt): Define as macro.
44292 (__ieee754_sqrtf): Define as macro.
44293 (__ieee754_sqrtl): Define as macro.
44294 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44296 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44297 __FINITE_MATH_ONLY__ consistent.
44298 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44300 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44302 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44305 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44307 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44309 * po/ja.po: Update from translation team.
44311 2011-10-08 Roland McGrath <roland@hack.frob.com>
44313 * locale/programs/locarchive.c (prepare_address_space): New function.
44314 (create_archive, enlarge_archive, open_archive): Use it.
44316 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44317 inside [SHARED], where it is used.
44319 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44321 * nss/getent.c (netgroup_keys): Remove unused variable.
44322 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44324 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44326 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44327 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44328 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44329 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44330 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44331 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44332 * math/Makefile (libm-calls): Add s_isinf_ns.
44333 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44334 * math/multc3.c: Likewise.
44335 * math/s_casin.c: Likewise.
44336 * math/s_casinf.c: Likewise.
44337 * math/s_casinl.c: Likewise.
44338 * math/s_ccos.c: Likewise.
44339 * math/s_ccosf.c: Likewise.
44340 * math/s_ccosl.c: Likewise.
44341 * math/s_ctan.c: Likewise.
44342 * math/s_ctanf.c: Likewise.
44343 * math/s_ctanh.c: Likewise.
44344 * math/s_ctanhf.c: Likewise.
44345 * math/s_ctanhl.c: Likewise.
44346 * math/s_ctanl.c: Likewise.
44347 * math/w_fmod.c: Likewise.
44348 * math/w_fmodf.c: Likewise.
44349 * math/w_fmodl.c: Likewise.
44350 * math/w_remainder.c: Likewise.
44351 * math/w_remainderf.c: Likewise.
44352 * math/w_remainderl.c: Likewise.
44353 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44354 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44355 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44356 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44357 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44358 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44359 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44360 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44362 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44364 * stdio-common/printf_fphex.c: Likewise.
44365 * stdio-common/printf_size.c: Likewise.
44367 * math/e_exp10.c: Include math_private.h using <...> not "...".
44368 * math/e_exp10f.c: Likewise.
44369 * math/e_exp10l.c: Likewise.
44370 * math/e_exp2l.c: Likewise.
44371 * math/e_j0l.c: Likewise.
44372 * math/e_j1l.c: Likewise.
44373 * math/e_jnl.c: Likewise.
44374 * math/e_lgammal_r.c: Likewise.
44375 * math/e_rem_pio2l.c: Likewise.
44376 * math/e_scalb.c: Likewise.
44377 * math/e_scalbf.c: Likewise.
44378 * math/e_scalbl.c: Likewise.
44379 * math/k_cosl.c: Likewise.
44380 * math/k_sinl.c: Likewise.
44381 * math/k_tanl.c: Likewise.
44382 * math/s_cacoshf.c: Likewise.
44383 * math/s_catan.c: Likewise.
44384 * math/s_catanf.c: Likewise.
44385 * math/s_catanh.c: Likewise.
44386 * math/s_catanhf.c: Likewise.
44387 * math/s_catanhl.c: Likewise.
44388 * math/s_catanl.c: Likewise.
44389 * math/s_ccosh.c: Likewise.
44390 * math/s_ccoshf.c: Likewise.
44391 * math/s_ccoshl.c: Likewise.
44392 * math/s_cexp.c: Likewise.
44393 * math/s_cexpf.c: Likewise.
44394 * math/s_cexpl.c: Likewise.
44395 * math/s_clog.c: Likewise.
44396 * math/s_clog10.c: Likewise.
44397 * math/s_clog10f.c: Likewise.
44398 * math/s_clog10l.c: Likewise.
44399 * math/s_clogf.c: Likewise.
44400 * math/s_clogl.c: Likewise.
44401 * math/s_csin.c: Likewise.
44402 * math/s_csinf.c: Likewise.
44403 * math/s_csinh.c: Likewise.
44404 * math/s_csinhf.c: Likewise.
44405 * math/s_csinhl.c: Likewise.
44406 * math/s_csinl.c: Likewise.
44407 * math/s_csqrt.c: Likewise.
44408 * math/s_csqrtf.c: Likewise.
44409 * math/s_csqrtl.c: Likewise.
44410 * math/s_ctan.c: Likewise.
44411 * math/s_ctanf.c: Likewise.
44412 * math/s_ctanh.c: Likewise.
44413 * math/s_ctanhf.c: Likewise.
44414 * math/s_ctanhl.c: Likewise.
44415 * math/s_ctanl.c: Likewise.
44416 * math/s_ldexp.c: Likewise.
44417 * math/s_ldexpf.c: Likewise.
44418 * math/s_ldexpl.c: Likewise.
44419 * math/s_significand.c: Likewise.
44420 * math/s_significandf.c: Likewise.
44421 * math/s_significandl.c: Likewise.
44422 * math/w_acos.c: Likewise.
44423 * math/w_acosf.c: Likewise.
44424 * math/w_acosh.c: Likewise.
44425 * math/w_acoshf.c: Likewise.
44426 * math/w_acoshl.c: Likewise.
44427 * math/w_acosl.c: Likewise.
44428 * math/w_asin.c: Likewise.
44429 * math/w_asinf.c: Likewise.
44430 * math/w_asinl.c: Likewise.
44431 * math/w_atan2.c: Likewise.
44432 * math/w_atan2f.c: Likewise.
44433 * math/w_atan2l.c: Likewise.
44434 * math/w_atanh.c: Likewise.
44435 * math/w_atanhf.c: Likewise.
44436 * math/w_atanhl.c: Likewise.
44437 * math/w_cosh.c: Likewise.
44438 * math/w_coshf.c: Likewise.
44439 * math/w_coshl.c: Likewise.
44440 * math/w_dremf.c: Likewise.
44441 * math/w_exp10.c: Likewise.
44442 * math/w_exp10f.c: Likewise.
44443 * math/w_exp10l.c: Likewise.
44444 * math/w_exp2.c: Likewise.
44445 * math/w_exp2f.c: Likewise.
44446 * math/w_fmod.c: Likewise.
44447 * math/w_fmodf.c: Likewise.
44448 * math/w_fmodl.c: Likewise.
44449 * math/w_hypot.c: Likewise.
44450 * math/w_hypotf.c: Likewise.
44451 * math/w_hypotl.c: Likewise.
44452 * math/w_j0.c: Likewise.
44453 * math/w_j0f.c: Likewise.
44454 * math/w_j0l.c: Likewise.
44455 * math/w_j1.c: Likewise.
44456 * math/w_j1f.c: Likewise.
44457 * math/w_j1l.c: Likewise.
44458 * math/w_jn.c: Likewise.
44459 * math/w_jnf.c: Likewise.
44460 * math/w_jnl.c: Likewise.
44461 * math/w_lgamma.c: Likewise.
44462 * math/w_lgamma_r.c: Likewise.
44463 * math/w_lgammaf.c: Likewise.
44464 * math/w_lgammaf_r.c: Likewise.
44465 * math/w_lgammal.c: Likewise.
44466 * math/w_lgammal_r.c: Likewise.
44467 * math/w_log.c: Likewise.
44468 * math/w_log10.c: Likewise.
44469 * math/w_log10f.c: Likewise.
44470 * math/w_log10l.c: Likewise.
44471 * math/w_log2.c: Likewise.
44472 * math/w_log2f.c: Likewise.
44473 * math/w_log2l.c: Likewise.
44474 * math/w_logf.c: Likewise.
44475 * math/w_logl.c: Likewise.
44476 * math/w_pow.c: Likewise.
44477 * math/w_powf.c: Likewise.
44478 * math/w_powl.c: Likewise.
44479 * math/w_remainder.c: Likewise.
44480 * math/w_remainderf.c: Likewise.
44481 * math/w_remainderl.c: Likewise.
44482 * math/w_scalb.c: Likewise.
44483 * math/w_scalbf.c: Likewise.
44484 * math/w_scalbl.c: Likewise.
44485 * math/w_sinh.c: Likewise.
44486 * math/w_sinhf.c: Likewise.
44487 * math/w_sinhl.c: Likewise.
44488 * math/w_sqrt.c: Likewise.
44489 * math/w_sqrtf.c: Likewise.
44490 * math/w_sqrtl.c: Likewise.
44491 * math/w_tgamma.c: Likewise.
44492 * math/w_tgammaf.c: Likewise.
44493 * math/w_tgammal.c: Likewise.
44495 * po/ja.po: Update from translation team.
44497 2011-09-29 Andreas Jaeger <aj@suse.de>
44500 * sunrpc/netname.c (netname2host): Fix logic.
44504 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44506 * math/w_remainder.c (__remainder): Likewise.
44507 * math/w_remainderf.c (__remainderf): Likewise.
44508 * math/libm-test.inc (remainder_test): Add test cases.
44510 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44512 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44515 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44517 * string/test-memcmp.c: Avoid unncessary #defines.
44518 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44520 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44522 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44523 Use new sse2 version for core i3 - i7 as it's faster
44524 than sse42 version.
44525 (bit_Prefer_PMINUB_for_stringop): New.
44526 * sysdeps/x86_64/rawmemchr.S: Update.
44527 Replace with faster SSE2 version.
44528 * sysdeps/x86_64/memrchr.S: New file.
44529 * sysdeps/x86_64/memchr.S: Update.
44530 Replace with faster SSE2 version.
44532 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44534 * elf/dl-load.c (lose): Add cast to avoid warning.
44536 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44538 * po/ca.po: Update from translation team.
44540 * inet/getnetgrent_r.c: Hook up nscd.
44541 * nscd/Makefile (routines): Add nscd_netgroup.
44542 (nscd-modules): Add netgroupcache.
44543 (CFLAGS-netgroupcache.c): Define.
44544 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44545 (cache_search): Add const to second parameter.
44546 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44548 (dbs): Add netgrdb entry.
44549 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44550 (verify_persistent_db): Handle netgrdb.
44551 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44552 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44554 (netgroup_response_header): Define.
44555 (innetgroup_response_header): Define.
44556 (datahead): Add netgroup_response_header and innetgroup_response_header
44558 * nscd/nscd.conf: Add entries for netgroup cache.
44559 * nscd/nscd.h (dbtype): Add netgrdb.
44560 (_PATH_NSCD_NETGROUP_DB): Define.
44561 (netgroup_iov_disabled): Declare.
44562 (xmalloc, xcalloc, xrealloc): Move declarations here.
44563 (cache_search): Adjust prototype.
44564 Add netgroup-related prototypes.
44565 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44566 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44567 (__nscd_innetgr): Declare.
44568 * nscd/selinux.c (perms): Use access_vector_t as element type and
44569 add netgroup-related initializers.
44570 * nscd/netgroupcache.c: New file.
44571 * nscd/nscd_netgroup.c: New file.
44572 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44573 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44574 For four parameters use innetgr.
44575 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44576 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44577 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44578 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44580 * nscd/connections.c (register_traced_file): Don't register file
44581 for disabled databases.
44583 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44585 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44587 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44588 from tree and freeing node.
44590 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44592 * nss/nsswitch.c (__nss_database_lookup): Handle
44593 nss_parse_service_list out of memory case.
44595 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44597 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44598 out of memory case.
44600 2011-10-04 Andreas Schwab <schwab@redhat.com>
44602 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44603 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44605 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44606 elf_machine_rela, elf_machine_lazy_rel.
44607 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44608 (ELF_DYNAMIC_DO_REL): Likewise.
44609 (ELF_DYNAMIC_DO_RELA): Likewise.
44610 (ELF_DYNAMIC_RELOCATE): Likewise.
44611 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44612 to ELF_DYNAMIC_DO_REL.
44613 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44614 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44615 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44617 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44618 skip_ifunc, don't call ifunc function if non-zero.
44619 (elf_machine_rela): Likewise.
44620 (elf_machine_lazy_rel): Likewise.
44621 (elf_machine_lazy_rela): Likewise.
44622 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44623 (elf_machine_lazy_rel): Likewise.
44624 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44626 (elf_machine_lazy_rel): Likewise.
44627 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44629 (elf_machine_lazy_rel): Likewise.
44630 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44631 (elf_machine_lazy_rel): Likewise.
44632 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44633 (elf_machine_lazy_rel): Likewise.
44634 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44635 (elf_machine_lazy_rel): Likewise.
44636 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44637 (elf_machine_lazy_rel): Likewise.
44638 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44639 (elf_machine_lazy_rel): Likewise.
44640 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44641 (elf_machine_lazy_rel): Likewise.
44643 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44645 * nss/nss_files/files-init.c (_nss_files_init): Use static
44646 initialization for all the *_traced_file variables.
44648 2011-09-28 Andreas Schwab <schwab@redhat.com>
44650 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44652 2011-09-27 Roland McGrath <roland@hack.frob.com>
44655 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44657 2011-09-27 Andreas Schwab <schwab@redhat.com>
44659 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44660 Reread the line before reparsing it.
44662 2011-09-26 Andreas Schwab <schwab@redhat.com>
44664 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44666 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44667 Maxim Kuvyrkov <maxim@codesourcery.com>
44668 Joseph Myers <joseph@codesourcery.com>
44670 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44671 if needed for __stack_chk_guard.
44673 2011-09-19 Roland McGrath <roland@hack.frob.com>
44675 * sysdeps/posix/spawni.c (script_execute): Always define it.
44676 It will be optimized away if unused.
44677 (maybe_script_execute): New function.
44678 (__spawni): Call it.
44680 * Makerules: Don't include tls.make.
44681 (config-tls): Always set to thread.
44682 * tls.make.c: File removed.
44684 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44686 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44687 * config.make.in (CPPFLAGS-config): New substituted variable.
44689 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44691 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44694 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44695 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44697 2011-09-15 Roland McGrath <roland@hack.frob.com>
44699 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44700 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44701 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44702 (CALL_FAIL): Likewise.
44703 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44704 (CALL_FAIL): Macro removed.
44705 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44707 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44709 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44710 for __FINITE_MATH_ONLY__ == 1.
44712 2011-09-15 Andreas Schwab <schwab@redhat.com>
44714 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44715 __ieee754_sqrt instead of sqrt.
44716 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44717 __ieee754_sqrtf instead of sqrtf.
44718 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44719 __floorf instead of floorf.
44720 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44721 __floorf, __truncf instead of floorf, truncf.
44723 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44725 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44727 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44728 __extern_always_inline.
44729 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44732 2011-09-14 Andreas Schwab <schwab@redhat.com>
44734 * elf/rtld.c (dl_main): Also relocate in dependency order when
44735 doing symbol dependency testing.
44737 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44739 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44740 Always define `refsym'.
44742 2011-09-13 Andreas Schwab <schwab@redhat.com>
44744 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44745 (__FD_ELT): Renamed from __FDELT.
44746 * misc/bits/select2.h (__FD_ELT): Likewise.
44747 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44748 __FD_MASK instead of __FDELT, __FDMASK.
44749 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44751 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44754 * elf/Makefile (gen-ldd): Fix pattern.
44756 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44757 (init_tls): Likewise.
44759 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44761 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44763 2011-09-12 Andreas Schwab <schwab@redhat.com>
44765 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44766 `struct cmsghdr *' instead of `void *'.
44767 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44770 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44772 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44774 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44775 ldd_rewrite_script.
44777 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44779 * configure.in: Remove --with-tls option.
44780 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44781 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44782 out in case it is missing.
44783 * sysdeps/ia64/elf/configure.in: Likewise.
44784 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44785 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44786 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44787 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44788 * sysdeps/sh/elf/configure.in: Likewise.
44789 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44790 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44791 * sysdeps/x86_64/elf/configure.in: Likewise.
44792 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44793 * sysdeps/mach/hurd/tls.h: Likewise.
44796 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44799 * configure.in: Fix use of AC_INIT.
44801 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44803 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44805 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44807 * malloc/hooks.c: Likewise.
44810 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44811 variables statically.
44812 (narenas): Initialize.
44813 (list_lock): Initialize.
44814 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44815 initializtion of main_arena and list_lock. Small cleanups.
44816 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44817 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44818 Add initializers to main_arena and mp_.
44819 (malloc_state): Remove pagesize member. Change all users to use
44822 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44823 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44824 is always initialized.
44826 * malloc/malloc.c: Removed unused configurations and dead code.
44827 * malloc/arena.c: Likewise.
44828 * malloc/hooks.c: Likewise.
44829 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44831 * include/tls.h: Removed. USE___THREAD must always be defined.
44832 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44833 * elf/dl-libc.c: Likewise.
44834 * elf/dl-tsd.c: Likewise.
44835 * include/errno.h: Likewise.
44836 * include/netdb.h: Likewise.
44837 * include/resolv.h: Likewise.
44838 * inet/herrno-loc.c: Likewise.
44839 * inet/herrno.c: Likewise.
44840 * malloc/arena.c: Likewise.
44841 * malloc/hooks.c: Likewise.
44842 * malloc/malloc.c: Likewise.
44843 * resolv/res-state.c: Likewise.
44844 * resolv/res_libc.c: Likewise.
44845 * sysdeps/i386/dl-machine.h: Likewise.
44846 * sysdeps/ia64/dl-machine.h: Likewise.
44847 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44848 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44849 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44850 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44851 * sysdeps/sh/dl-machine.h: Likewise.
44852 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44853 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44854 * sysdeps/unix/i386/sysdep.S: Likewise.
44855 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44856 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44857 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44858 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44859 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44860 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44861 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44862 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44863 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44864 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44865 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44866 * sysdeps/x86_64/dl-machine.h: Likewise.
44867 * tls.make.c: Likewise.
44869 * configure.in: Remove --with-__thread option. Make tests for
44870 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44871 tls_model attribute fail if no support is available. Remove
44873 * Makeconfig: Adjust for dropped configure option. All features are
44875 * Makerules: Likewise.
44876 * Versions.def: Likewise.
44877 * argp/argp-fmtstream.c: Likewise.
44878 * argp/argp-fmtstream.h: Likewise.
44879 * argp/argp-help.c: Likewise.
44880 * assert/assert.c: Likewise.
44881 * config.h.in: Likewise.
44882 * config.make.in: Likewise.
44883 * configure: Likewise.
44884 * configure.in: Likewise.
44885 * csu/Versions: Likewise.
44886 * csu/init.c: Likewise.
44887 * elf/tst-audit2.c: Likewise.
44888 * elf/tst-tls10.c: Likewise.
44889 * elf/tst-tls10.h: Likewise.
44890 * elf/tst-tls11.c: Likewise.
44891 * elf/tst-tls12.c: Likewise.
44892 * elf/tst-tls14.c: Likewise.
44893 * elf/tst-tlsmod11.c: Likewise.
44894 * elf/tst-tlsmod12.c: Likewise.
44895 * elf/tst-tlsmod13.c: Likewise.
44896 * elf/tst-tlsmod13a.c: Likewise.
44897 * elf/tst-tlsmod14a.c: Likewise.
44898 * elf/tst-tlsmod15b.c: Likewise.
44899 * elf/tst-tlsmod16a.c: Likewise.
44900 * elf/tst-tlsmod16b.c: Likewise.
44901 * elf/tst-tlsmod7.c: Likewise.
44902 * elf/tst-tlsmod8.c: Likewise.
44903 * elf/tst-tlsmod9.c: Likewise.
44904 * gmon/gmon.c: Likewise.
44905 * grp/fgetgrent_r.c: Likewise.
44906 * grp/putgrent.c: Likewise.
44907 * hurd/fopenport.c: Likewise.
44908 * include/libc-symbols.h: Likewise.
44909 * include/tls.h: Likewise.
44910 * intl/gettextP.h: Likewise.
44911 * intl/loadinfo.h: Likewise.
44912 * locale/global-locale.c: Likewise.
44913 * locale/localeinfo.h: Likewise.
44914 * mach/devstream.c: Likewise.
44915 * malloc/arena.c: Likewise.
44916 * malloc/set-freeres.c: Likewise.
44917 * misc/err.c: Likewise.
44918 * misc/getttyent.c: Likewise.
44919 * misc/mntent_r.c: Likewise.
44920 * posix/getopt.c: Likewise.
44921 * posix/wordexp.c: Likewise.
44922 * pwd/fgetpwent_r.c: Likewise.
44923 * resolv/Versions: Likewise.
44924 * resolv/res_hconf.c: Likewise.
44925 * shadow/fgetspent_r.c: Likewise.
44926 * shadow/putspent.c: Likewise.
44927 * stdio-common/printf_fphex.c: Likewise.
44928 * stdio-common/tmpfile.c: Likewise.
44929 * stdlib/abort.c: Likewise.
44930 * stdlib/fmtmsg.c: Likewise.
44931 * sunrpc/auth_unix.c: Likewise.
44932 * sunrpc/clnt_perr.c: Likewise.
44933 * sunrpc/clnt_tcp.c: Likewise.
44934 * sunrpc/clnt_udp.c: Likewise.
44935 * sunrpc/clnt_unix.c: Likewise.
44936 * sunrpc/openchild.c: Likewise.
44937 * sunrpc/svc_simple.c: Likewise.
44938 * sunrpc/svc_tcp.c: Likewise.
44939 * sunrpc/svc_udp.c: Likewise.
44940 * sunrpc/svc_unix.c: Likewise.
44941 * sunrpc/xdr.c: Likewise.
44942 * sunrpc/xdr_array.c: Likewise.
44943 * sunrpc/xdr_rec.c: Likewise.
44944 * sunrpc/xdr_ref.c: Likewise.
44945 * sunrpc/xdr_stdio.c: Likewise.
44947 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44949 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44951 2011-07-03 Andreas Jaeger <aj@suse.de>
44953 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44954 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44955 regenerate with gen-libm-tests.pl.
44957 2010-05-12 Petr Baudis <pasky@suse.cz>
44960 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44961 around j0() zero points by switching to j1().
44962 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44963 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44964 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44965 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44967 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44969 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44971 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44973 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44974 Patch in part by Pavel Roskin <proski@gnu.org>.
44977 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44979 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44980 Free memory block if necessary.
44983 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44984 be NULL. Don't lock in this case.
44986 2011-09-09 Roland McGrath <roland@hack.frob.com>
44988 * elf/elf.h (ELFOSABI_GNU): New macro.
44989 (ELFOSABI_LINUX): Define to that.
44991 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44993 * string/strncat.c (strncat): Undef the symbol in case it has been
44994 defined in bits/string.h.
44996 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44998 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45000 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45003 2011-08-17 Andreas Jaeger <aj@suse.de>
45005 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45007 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45008 Ian Lance Taylor <iant@google.com>
45010 * math/libm-test.inc (lround_test): New testcase.
45011 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45013 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45015 * Makefile: Remove support for automatic cvs check-ins.
45016 * Makerules: Likewise.
45017 * config.make.in: Likewise.
45018 * configure.in: Likewise.
45019 * intl/Makefile: Likewise.
45020 * locale/Makefile: Likewise.
45021 * po/Makefile: Likewise.
45022 * posix/Makefile: Likewise.
45023 * sysdeps/gnu/Makefile: Likewise.
45024 * sysdeps/mach/hurd/Makefile: Likewise.
45025 * sysdeps/sparc/sparc32/Makefile: Likewise.
45028 * posix/Makefile (bug-regex32-ENV): Define.
45029 Patch by John Stanley <jpsinthemix@verizon.net>.
45031 * misc/Makefile (headers): Add bits/select2.h.
45032 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45033 * misc/bits/select2.h: New file.
45034 * include/bits/select2.h: New file.
45035 * debug/Makefile (routines): Add fdelt_chk.
45036 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45037 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45039 * debug/fdelt_chk.c: New file.
45041 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45042 * wcsmbs/test-wmemcmp.c: Likewise.
45043 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45044 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45046 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45048 * string/Makefile (strop-tests): Add memcmp.
45049 * string/test-wmemcmp.c: New file.
45050 * string/test-memcmp.c: Add wmemcmp support.
45052 2011-09-08 Roland McGrath <roland@hack.frob.com>
45055 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45058 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45059 garbage value in a __mach_port_mod_refs call in the cases of the
45060 task-self and thread-self ports.
45062 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45064 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45066 2011-09-08 Andreas Schwab <schwab@redhat.com>
45068 * elf/dl-load.c (lose): Check for non-null L.
45070 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45072 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45074 * elf/dl-libc.c (dlerror_run): Pass back error code from
45078 * elf/dl-load.c (lose): Free l_origin if it is valid.
45080 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45082 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45083 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45084 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45085 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45086 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45087 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45089 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45091 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45092 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45093 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45094 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45095 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45096 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45097 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45098 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45099 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45100 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45102 2011-08-15 Alan Modra <amodra@gmail.com>
45105 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45106 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45107 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45108 ppc_mcount to static-only-routines.
45109 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45111 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45112 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45114 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45116 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45117 for finite and infinity parameters.
45119 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45121 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45122 and add nop instructions for throughput optimization.
45123 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45125 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45127 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45128 aligned copy for power7 with vector-scalar instructions.
45129 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45131 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45133 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45136 2011-09-07 Andreas Schwab <schwab@redhat.com>
45139 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45142 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45144 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45145 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45146 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45147 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45150 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45152 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45153 Forgot to demangle the pointer.
45155 * sysdeps/i386/sysdep.h: Define atom_text_section.
45156 * sysdeps/x86_64/sysdep.h: Likewise.
45157 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45158 section with atom_text_section.
45159 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45160 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45161 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45162 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45163 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45165 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45166 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45167 already be defined. Change to take two parameters and don't assign
45168 result to variable. Adjust all users.
45169 Define INTERNAL_GETTIME if not already defined.
45170 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45172 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45173 HAVE_CLOCK_GETTIME_VSYSCALL.
45174 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45176 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45177 gettimeofday vsyscall, just use time.
45179 2011-09-06 Andreas Schwab <schwab@redhat.com>
45181 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45184 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45186 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45188 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45190 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45191 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45192 syscall if possible.
45194 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45196 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45197 e_ident. Don't pass to find_mapsXX.
45198 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45200 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45203 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45204 * sysdeps/x86_64/multiarch/strchr.S: Update.
45205 Check bit_slow_BSF bit.
45206 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45207 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45208 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45210 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45213 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45215 (tryshell): Define.
45216 (__spawni): Change last parameter to be flag. Test
45217 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45218 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45219 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45220 * posix/spawni.c: Likewise.
45221 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45222 * posix/spawnp.c: Likewise. Change normal version to use
45223 SPAWN_XFLAGS_USE_PATH.
45224 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45225 SPAWN_XFLAGS_TRY_SHELL.
45228 * posix/glob.h: Remove gcc 1.x support.
45231 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45233 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45235 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45236 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45238 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45239 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45240 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45241 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45242 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45243 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45245 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45247 * sysdeps/x86_64/wcscmp.S: New file.
45249 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45250 wcscmp-c wcscmp-sse2
45251 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45252 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45253 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45254 * wcsmbs/wcscmp.c: Allow renaming.
45256 2011-09-05 David S. Miller <davem@davemloft.net>
45258 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45259 stack slot, rather than the struct return pointer slot.
45260 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45261 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45263 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45265 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45267 * po/ja.po: Update from translation team.
45270 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45271 kernel in 64-bit binaries.
45273 2011-09-01 David S. Miller <davem@davemloft.net>
45275 * elf/elf.h (HWCAP_SPARC_*): Move to..
45276 * sysdeps/sparc/sysdep.h: this new file and add new values.
45277 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45278 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45279 _DL_HWCAP_COUNT to 24.
45280 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45282 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45283 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45284 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45285 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45286 instead of magic constants.
45287 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45289 2011-08-31 David S. Miller <davem@davemloft.net>
45291 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45292 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45293 Reimplement to do errno handling inline.
45294 (SYSCALL_ERROR_HANDLER): New macro.
45295 (__SYSCALL_STRING): Do not do errno handling in asm.
45296 (__CLONE_SYSCALL_STRING): Delete.
45297 (__INTERNAL_SYSCALL_STRING): Delete.
45298 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45299 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45300 (PSEUDO): Reimplement to do errno handling inline.
45301 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45302 (SYSCALL_ERROR_HANDLER): New macro.
45303 (__SYSCALL_STRING): Do not do errno handling in asm.
45304 (__CLONE_SYSCALL_STRING): Delete.
45305 (__INTERNAL_SYSCALL_STRING): Delete.
45306 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45307 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45309 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45310 (inline_syscall*): Add 'err' argument.
45311 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45312 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45313 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45314 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45316 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45317 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45319 2011-08-30 Andreas Schwab <schwab@redhat.com>
45321 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45323 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45325 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45328 2011-08-24 David S. Miller <davem@davemloft.net>
45330 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45332 2011-08-24 Andreas Schwab <schwab@redhat.com>
45334 * elf/Makefile: Add rules to build and run unload8 test.
45335 * elf/unload8.c: New file.
45336 * elf/unload8mod1.c: New file.
45337 * elf/unload8mod1x.c: New file.
45338 * elf/unload8mod2.c: New file.
45339 * elf/unload8mod3.c: New file.
45341 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45344 2011-08-23 David S. Miller <davem@davemloft.net>
45346 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45347 subtract stack bias.
45348 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45349 %sp not %fp in calculations.
45350 (_JMPBUF_UNWINDS_ADJ): Likewise.
45352 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45353 (aio_suspend): Call it to force an exception region around the
45354 AIO_MISC_WAIT() invocation.
45356 2011-08-23 Andreas Schwab <schwab@redhat.com>
45358 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45361 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45363 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45365 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45366 and <dl-machine.h>.
45367 (Elf64_FuncDesc): Remove.
45369 2011-08-22 David S. Miller <davem@davemloft.net>
45371 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45372 sigaltstack check, add missing cfi directives.
45373 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45374 missing cfi directives, and sigaltstack handling.
45376 2011-08-16 Andreas Schwab <schwab@redhat.com>
45379 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45380 object is seen twice.
45381 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45383 * elf/Makefile (distribute): Add tst-initorder2.c.
45384 (tests): Add tst-initorder2.
45385 (modules-names): Add tst-initorder2a tst-initorder2b
45386 tst-initorder2c tst-initorder2d. Add rules to build them.
45387 ($(objpfx)tst-initorder2.out): New rule.
45388 * elf/tst-initorder2.c: New file.
45389 * elf/tst-initorder2.exp: New file.
45391 2011-08-22 Andreas Schwab <schwab@redhat.com>
45393 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45395 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45396 dependencies back to end of function.
45398 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45399 $(elfobjdir)/ld.so.
45401 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45403 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45404 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45405 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45406 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45407 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45408 of __vdso_gettimeofday.
45409 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45410 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45412 (_libc_vdso_platform_setup): Remove initialization of
45413 __vdso_gettimeofday and __vdso_time.
45415 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45417 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45418 and fgetc_unlocked.
45419 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45422 * elf/dl-open.c (add_to_global): Report additions to the global scope
45423 for LD_DEBUG=scopes.
45424 (dl_open_worker): Also print scope of newly loaded dependencies.
45425 (_dl_show_scope): Indicate if there is no scope.
45428 * stdio-common/Makefile (tests): Add bug24.
45429 * stdio-common/bug24.c: New file.
45431 2011-08-19 Andreas Jaeger <aj@suse.de>
45434 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45435 non-existant file when using close-on-exec mode.
45437 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45439 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45440 the very first instruction.
45442 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45443 the CFI state in the end.
45444 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45445 inclusion of dl-trampoline.h.
45446 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45448 2011-08-19 Andreas Schwab <schwab@redhat.com>
45450 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45451 expectations for long double.
45453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45454 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45456 2011-08-14 David S. Miller <davem@davemloft.net>
45458 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45459 artificual limit depends upon the system page size.
45461 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45463 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45464 * resolv/Makefile: Define CFLAGS-libresolv.
45466 2011-08-17 Andreas Schwab <schwab@redhat.com>
45468 * nss/makedb.c (compute_tables): Make variables used in nested
45471 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45473 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45474 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45475 if buffer was too small.
45477 * elf/pldd.c (main): Attach to all threads in the process.
45478 Rewrite /proc handling to use *at functions.
45480 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45482 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45483 specifies first scope to show.
45484 (dl_open_worker): Update callers. Move printing scope of new
45485 object to before the relocation.
45486 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45487 * sysdeps/generic/ldsodefs.h: Update declaration.
45489 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45490 string for the scope number.
45492 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45494 * nscd/servicescache.c (cache_addserv): Make sure written is always
45497 2011-08-14 Roland McGrath <roland@hack.frob.com>
45499 * sysdeps/i386/i486/bits/atomic.h
45500 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45501 statement expression, so as to suppress "set but not used" warning.
45502 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45504 * string/strncat.c (STRNCAT): Use prototype definition.
45506 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45507 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45509 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45510 (localedef-modules): Add localedef.
45511 (locale-modules): Add locale.
45513 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45514 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45515 to avoid a warning.
45517 2011-08-14 David S. Miller <davem@davemloft.net>
45519 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45520 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45522 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45524 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45525 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45526 * elf/rtld.c (dl_main): Set l_name of vDSO.
45527 Call _dl_show_scope when DL_DEBUG_SCOPES.
45528 (process_dl_debug): Recognize scopes flag and also set it for all.
45529 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45530 Declare _dl_show_scope.
45532 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45533 (do_dlopen): Pass caller_dlopen to dl_open.
45534 (__libc_dlopen_mode): Initialize caller_dlopen.
45536 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45537 of libc. Make tolower call locale-independent. Optimize a bit by
45538 using isdigit instead of isalnum.
45539 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45541 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45543 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45544 was a dependency or dynamically loaded.
45546 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45548 * intl/l10nflist.c: Allow architecture-specific pop function.
45549 * sysdeps/x86_64/l10nflist.c: New file.
45551 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45554 2011-08-10 Andreas Schwab <schwab@redhat.com>
45556 * include/dirent.h: Add libc_hidden_proto for scandirat and
45557 scandirat64. Don't declare __scandirat64.
45558 * dirent/scandirat.c: Add libc_hidden_def.
45559 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45560 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45562 2011-08-10 David S. Miller <davem@davemloft.net>
45564 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45566 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45567 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45568 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45570 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45572 * Versions.def [libc]: Add GLIBC_2.15.
45573 * dirent/Makefile (routines): Add scandirat and scandirat64.
45574 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45576 * dirent/dirent.h: Declare scandirat and scandirat64.
45577 * dirent/scandirat.c: New file.
45578 * dirent/scandirat64.c: New file.
45579 * sysdeps/wordsize-64/scandirat.c: New file.
45580 * sysdeps/wordsize-64/scandirat64.c: New file.
45581 * dirent/opendir.c: Define opendirat.
45582 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45584 * dirent/scandir64.c: Adjust for scandir.c change.
45585 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45586 __scandirat64, and __scandir_cancel_handler.
45587 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45588 additional parameter and use openat instead of open (outside of ld.so).
45589 Add new __opendir as wrapper around __opendirat.
45590 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45591 here without requiring old scandirat implementation.
45593 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45595 * dirent/scandir.c (cancel_handler): Renamed to
45596 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45597 defined. Adjust users.
45598 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45599 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45601 2011-08-04 Ulrich Drepper <drepper@gmail.com>
45603 * string/test-string.h (IMPL): Use __STRING to expand name and then
45606 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45609 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45611 * string/Makefile: Update.
45612 (strop-tests): Append strncat.
45613 * string/test-wcscmp.c: New file.
45614 New comprehensive test for wcscmp.
45615 * string/test-strcmp.c: Update.
45616 (WIDE): New define.
45618 2011-07-22 Andreas Schwab <schwab@redhat.com>
45620 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45623 2011-07-26 Andreas Schwab <schwab@redhat.com>
45625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45626 encoding to ACE if AI_IDN.
45628 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45630 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45631 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45633 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45635 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45636 Fix overflow bug in strncat.
45637 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45639 * string/test-strncat.c: Update.
45640 Add new tests for checking overflow bugs.
45642 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45644 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45645 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45646 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45647 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45648 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45649 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45650 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45651 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45652 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45654 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45655 (USE_AS_STRCAT): Define.
45656 Add strcat and strncat support.
45657 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45659 2011-07-25 Andreas Schwab <schwab@redhat.com>
45661 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45662 __n bigger than INT_MAX+1.
45663 (__strncmp_g): Likewise.
45665 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45667 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45668 * libio/stido.h: Likewise.
45670 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45672 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45675 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45676 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45677 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45678 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45679 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45682 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45687 (_dl_x86_64_save_sse): Likewise.
45689 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45691 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45693 (_dl_x86_64_save_sse): Likewise.
45695 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45697 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45699 2011-07-21 Andreas Schwab <schwab@redhat.com>
45701 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45703 (_dl_x86_64_save_sse): Use correct AVX check.
45705 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45707 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45708 bug in strncpy/strncat.
45709 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45711 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45713 * string/tester.c (test_strcat): Add tests for different alignments
45714 of source and destination.
45715 (test_strncat): Likewise.
45717 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45720 * posix/glob.c (glob): Check passed in values before using them in
45721 expressions to avoid some overflows.
45722 (glob_in_dir): Likewise.
45725 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45726 check for AVX enablement so that we don't crash with old kernels and
45728 * elf/tst-audit4.c: Add same checks here.
45729 * elf/tst-audit6.c: Likewise.
45731 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45733 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45735 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45737 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45739 * po/cs.po: Update from translation team.
45740 * po/bg.po: Likewise.
45742 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45744 * misc/sys/cdefs.h: Add support for const attribute.
45745 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45746 to gnu_dev_{major,minor,makedev} functions.
45748 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45750 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45752 2011-07-20 Andreas Schwab <schwab@redhat.com>
45754 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45757 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45759 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45760 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45761 register in order to avoid conflicts with the soft frame pointer
45762 being held in r11 when necessary.
45763 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45764 (INTERNAL_VSYSCALL_NCS): Likewise.
45766 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45768 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45769 * elf/dl-fini.c (_dl_fini): Adjust caller.
45770 * elf/dl-close.c (_dl_close_worker): Likewise.
45771 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45773 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45775 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45776 "aux_cache->nlibs < 0".
45778 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45779 in the reload-count case.
45781 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45784 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45785 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45786 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45787 * sysdeps/x86_64/multiarch/strcat.S: New file.
45788 * sysdeps/x86_64/multiarch/strncat.S: New file.
45789 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45790 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45791 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45792 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45793 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45794 (USE_AS_STRCAT): Define.
45795 Add strcat and strncat support.
45796 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45797 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45798 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45799 * string/strncat.c: Update.
45800 (USE_AS_STRNCAT): Define.
45801 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45802 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45804 * sysdeps/x86_64/multiarch/init-arch.h
45805 (bit_Prefer_PMINUB_for_stringop): New.
45806 (index_Prefer_PMINUB_for_stringop): Likewise.
45807 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45808 bit_Prefer_PMINUB_for_stringop.
45810 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45812 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45814 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45815 of casting of buffer.
45816 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45817 buffer32 and buffer64.
45818 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45819 writes instead of casting of buffer.
45820 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45822 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45825 2011-07-19 Andreas Schwab <schwab@redhat.com>
45827 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45829 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45831 * nscd/nscd.c (termination_handler): Don't do anything for a database
45832 if it has not yet been initialized.
45834 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45836 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45838 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45840 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45842 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45844 * po/nl.po: Update from translation team.
45845 * po/sv.po: Likewise.
45847 2011-07-16 Roland McGrath <roland@hack.frob.com>
45849 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45850 now disallowed by GCC.
45852 * configure.in (use-default-link): Default to yes if a test -shared
45853 link meets our qualifications.
45854 * configure: Regenerated.
45856 * config.make.in (output-format): New variable.
45857 * configure.in: Check for ld --print-output-format support.
45858 * configure: Regenerated.
45859 * Makerules ($(common-objpfx)format.lds)
45860 [$(output-format) != unknown]: Just use $(output-format),
45861 instead of the linker-script munging.
45863 2011-07-14 Roland McGrath <roland@hack.frob.com>
45865 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45866 of $(common-objpfx)shlib.lds.
45867 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45869 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45870 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45872 * configure.in (-z relro check): Adjust test code to add a large
45873 writable data section after it.
45874 * configure: Regenerated.
45876 2011-07-11 Roland McGrath <roland@hack.frob.com>
45878 * configure.in (-z relro check): Fix test code to make the variable
45880 * configure: Regenerated.
45882 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45884 * nscd/nscd.h (struct traced_file): Define.
45885 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45886 elements. Add traced_files.
45887 (inotify_fd): Declare.
45888 (register_traced_file): Declare.
45889 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45890 (inotify_fd): Export.
45891 (resolv_conf_descr): Remove.
45892 (nscd_init): Move inotify descriptor creation to main.
45893 Don't register files for notification here.
45894 (register_traced_file): New function.
45895 (invalidate_cache): Don't use reset_res to determine whether to call
45896 res_init, go through the list of registered files.
45897 (main_loop_poll): The inotify descriptors are now stored in the
45898 structures for the traced files.
45899 (main_loop_epoll): Likewise
45900 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45901 to __nss_disable_nscd.
45902 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45903 for a database anymore. Check the records for all the registered
45905 * nss/Makefile (libnss_files-routines): Add files-init.
45906 (libnss_db-routines): Add db-init.
45907 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45908 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45909 * nss/nss_db/db-init.c: New file.
45910 * nss/nss_files/files-init.c: New file.
45911 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45912 __nss_lookup_function.
45913 (__nss_lookup_function): Call nss_load_library.
45914 (nss_load_all_libraries): New function.
45915 (__nss_disable_nscd): Take parameter with callback function for files
45916 to register. Set is_nscd. Load all the DSOs for the NSS modules
45917 used for the cached services.
45918 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45919 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45920 options for features to all the files in nscd.
45922 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45924 2011-07-10 Roland McGrath <roland@hack.frob.com>
45926 * csu/elf-init.c (__libc_csu_init): Comment typo.
45928 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45930 * po/pl.po: Update from translation team.
45931 * po/ja.po: Likewise.
45932 * po/ru.po: Likewise.
45933 * po/ko.po: Likewise.
45934 * po/fr.po: Likewise.
45936 2011-07-09 Roland McGrath <roland@hack.frob.com>
45938 * configure.in (.ctors/.dtors header and trailer check):
45939 Use an empirical test on a built program.
45940 * configure: Regenerated.
45942 * configure.in (-z relro check): Use an empirical test on a built DSO.
45943 Detect, but do not require, on ia64.
45944 * configure: Regenerated.
45946 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45947 Update tests that use readelf to use $READELF instead.
45948 * configure: Regenerated.
45950 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45952 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45953 if the result is not used.
45955 2011-07-05 Andreas Jaeger <aj@suse.de>
45958 * stdlib/tst-strtod.c: Add testcase.
45960 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45962 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45963 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45964 The latter has a higher limit. Take additional parameter to pass to
45966 (__pathconf): Pass file to __statfs_link_max.
45967 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45969 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45973 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45974 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45976 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45977 (__statfs_filesize_max): Likewise.
45978 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45980 2011-07-05 Andreas Jaeger <aj@suse.de>
45982 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45984 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45986 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45988 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45991 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45993 * Makefile (strop-tests): Add strncat.
45994 * string/test-strncat.c: New file.
45996 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45998 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46000 2011-06-21 Andreas Jaeger <aj@suse.de>
46002 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46003 Copy rule from iconvdata/Makefile.
46005 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46008 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46009 but no long options are defined, just return 'W'.
46011 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46014 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46016 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46018 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46020 (innetgr): Likewise.
46022 2011-07-05 Roland McGrath <roland@hack.frob.com>
46024 * config.make.in (install_root): Default to $(DESTDIR).
46026 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46028 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46030 2011-07-02 Roland McGrath <roland@hack.frob.com>
46032 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46034 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46035 containing directory rather than embedding absolute directory names.
46037 * scripts/check-local-headers.sh: Rewritten using awk.
46038 Match by word, not by line. Print error messages for matches.
46039 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46041 * Makerules [shlib-lds-flags empty]:
46042 ($(common-objpfx)libc_pic.opts): New target.
46043 ($(common-objpfx)libc_pic.os.clean): New target.
46044 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46046 * config.make.in (OBJCOPY): New variable.
46047 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46048 * configure: Regenerated.
46050 * config.make.in (use-default-link): New variable.
46051 * configure.in (use_default_link): Grok --with-default-link to set it.
46052 * configure: Regenerated.
46053 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46054 (shlib-lds, shlib-lds-flags): Define to empty.
46056 * Makerules (shlib-lds): New variable.
46057 (shlib-lds-flags): New variable.
46058 (build-shlib, build-moduile, build-module-asneeded): Use it.
46059 ($(common-objpfx)libc.so): Use $(shlib-lds).
46060 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46061 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46063 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46064 DT_FLAGS/DT_FLAGS_1 with zero flags.
46066 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46067 linker script munging.
46069 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46071 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46073 * crypt/sha512.c (sha512_process_block): Perform total addition using
46074 128-bit if possible.
46075 (__sha512_finish_ctx): Likewise.
46076 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46078 * crypt/sha256.c (SWAP64): Define.
46079 (sha256_process_block): Perform total addition using 64-bit if
46081 (__sha256_finish_ctx): Likewise.
46083 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46085 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46086 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46087 * nscd/hstcache.c (cache_addhst): Likewise.
46088 * nscd/grpcache.c (cache_addgr): Likewise.
46089 * nscd/aicache.c (addhstaiX): Likewise
46090 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46092 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46094 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46095 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46096 * nscd/hstcache.c (cache_addhst): Likewise.
46097 * nscd/grpcache.c (cache_addgr): Likewise.
46098 * nscd/aicache.c (addhstaiX): Likewise
46100 2011-07-01 Andreas Schwab <schwab@redhat.com>
46102 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46103 domain only when needed.
46105 2011-06-30 Andreas Schwab <schwab@redhat.com>
46107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46108 is always restored.
46110 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46112 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46113 are re-adding the entry.
46114 * nscd/servicescache.c (cache_addserv): Likewise.
46116 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46118 * sysdeps/generic/dl-irel.h: fix protection against multiple
46120 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46122 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46125 * malloc/memusage.sh: Fix quoting in message.
46126 * debug/xtrace.sh: Likewise.
46128 * configure.in: Remove support for --experimental-malloc option, make
46130 * config.make.in: Likewise.
46131 * malloc/Makefile: Likewise.
46133 2011-06-27 Andreas Schwab <schwab@redhat.com>
46135 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46136 two-byte characters.
46138 2011-06-27 Roland McGrath <roland@hack.frob.com>
46140 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46141 AC_CACHE_CHECK invocation.
46142 * configure: Regenerated.
46144 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46146 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46149 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46150 bit from old_res_options.
46152 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46154 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46155 value type for setfct.
46157 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46159 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46160 __gettimeofday instead of gettimeofday.
46162 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46164 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46166 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46168 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46170 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46173 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46175 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46176 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46177 strcpy-sse2-unaligned strncpy-sse2-unaligned
46178 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46179 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46180 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46181 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46182 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46183 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46184 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46185 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46186 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46187 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46188 (STRCPY): Support SSE2 and SSSE3 versions.
46190 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46193 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46194 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46195 kernels which artificially limit size of requests.
46197 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46200 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46201 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46202 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46203 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46204 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46205 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46206 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46207 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46208 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46209 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46210 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46211 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46212 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46213 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46215 Enable unaligned load optimization for Intel Core i3, i5 and i7
46217 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46219 (index_Fast_Unaligned_Load): Define.
46220 (HAS_FAST_UNALIGNED_LOAD): Define.
46222 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46224 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46226 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46229 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46230 until it is clear that the information is realy needed.
46231 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46233 2011-06-22 Andreas Schwab <schwab@redhat.com>
46235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46237 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46239 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46240 /sys/devices/system/cpu/online if it is usable.
46242 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46243 reading the information from the /proc filesystem to once a second.
46245 2011-06-21 Andreas Jaeger <aj@suse.de>
46247 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46248 NULL after inclusion of kernel headers.
46250 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46252 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46253 calls to internal_setent.
46256 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46257 addresses using gethostbyname4_r ignore IPv4 addresses.
46259 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46260 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46262 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46264 2011-06-20 David S. Miller <davem@davemloft.net>
46266 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46268 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46270 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46271 (elf_irel): Use it.
46272 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46273 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46274 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46275 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46276 * sysdeps/x86_64/dl-irel.h: Likewise.
46278 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46279 * elf/dl-sym.c: Likewise.
46281 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46283 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46284 need to dereference resplen2.
46286 2011-06-14 Andreas Schwab <schwab@redhat.com>
46288 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46290 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46292 * Makeconfig: Define vardbdir and inst_vardbdir.
46293 * nss/Makefile: Add rules to install db-Makefile.
46295 * nss/nss_db/db-XXX.c: Cleanup.
46297 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46298 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46300 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46301 * nss/makedb.c: Implement -g option to specify that value strings
46302 are generated and should not be added to table iterated over for
46304 * nss/nss_db/db-initgroups.c: New file.
46306 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46309 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46310 (internal_getgrouplist): Adjust to name change.
46311 Update use_initgroups_entry if this is not the first call.
46312 * nss/databases.def: Add initgroups entry.
46314 * nss/makedb.c (compute_tables): Check result of multiple hash table
46315 sizes to minimize maximum chain length.
46317 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46319 * Versions.def: Add entry for libnss_db.
46320 * shlib-versions: Likewise.
46321 * nss/Makefile: Add rules to build libnss_db.
46322 * nss/Versions: Add libnss_db information. Organize libnss_files
46324 * nss/db-Makefile: Add gshadow support. Change rules for the new
46325 makedb progra. Some minor improvements to generate smaller files.
46326 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46328 * nss/makedb.c: ...here.
46329 Improve database format to be smaller and require less memory at
46331 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46333 * nss/nss_db/db-netgrp.c: Likewise.
46334 * nss/nss_db/db-open.c: Likewise.
46335 * nss/nss_files/flies-XXX.x: Adjust comments.
46336 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46337 * nss/nss_files/files-grp.c: Likewise.
46338 * nss/nss_files/files-hosts.c: Likewise.
46339 * nss/nss_files/files-network.c: Likewise.
46340 * nss/nss_files/files-proto.c: Likewise.
46341 * nss/nss_files/files-pwd.c: Likewise.
46342 * nss/nss_files/files-rpc.c: Likewise.
46343 * nss/nss_files/files-service.c: Likewise.
46344 * nss/nss_files/files-sgrp.c: Likewise.
46345 * nss/nss_files/files-spwd.c: Likewise.
46346 * nss/nss_db/db-alias.c: Removed.
46347 * nss/nss_db/dummy-db.h: Removed.
46349 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46351 * nss/makedb.c: Rewritten to not use database library.
46352 * nss/Makefile: Update to build new makedb program.
46354 2011-06-14 Andreas Jaeger <aj@suse.de>
46356 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46357 memset declaration.
46359 2011-06-10 Andreas Schwab <schwab@redhat.com>
46361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46364 2011-06-10 Roland McGrath <roland@hack.frob.com>
46366 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46367 * elf/Makefile ($(objpfx)ld.so): Likewise.
46369 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46370 Don't list ld.so twice in dependencies.
46372 * posix/bug-regex31.c: Include <stdlib.h>.
46374 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46376 * nis/nss_compat/compat-spwd.c
46377 (getspent_next_nss_netgr): Remove unused variable.
46378 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46380 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46381 nonmembers" output to use the right array.
46383 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46385 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46387 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46388 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46389 * catgets/gencat.c (read_input_file): Likewise.
46390 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46392 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46393 variable definition inside #if's controlling its use.
46395 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46397 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46399 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46401 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46404 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46406 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46407 * configure: Regenerated.
46409 * Makerules: Revert last change.
46410 * elf/Makefile: Likewise.
46412 2011-06-09 Roland McGrath <roland@hack.frob.com>
46414 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46415 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46416 (reloc-link): Likewise.
46418 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46420 * elf/Makefile: Add rules to build pldd.
46421 * elf/pldd.c: New file.
46422 * elf/pldd-xx.c: New file.
46424 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46426 * version.h: Update for 2.15 development version.
46428 2011-06-07 David S. Miller <davem@davemloft.net>
46430 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46432 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46433 elf_machine_lazy_rel): Likewise.
46434 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46435 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46436 elf_machine_lazy_rel): Likewise.
46437 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46438 dl_hwcap via passed in argument.
46439 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46442 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46444 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46446 2011-06-06 Roland McGrath <roland@hack.frob.com>
46449 * manual/fdl-1.1.texi: New file, verbatim from:
46450 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46451 * manual/lgpl-2.1.texi: New file, verbatim from:
46452 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46453 * manual/Makefile (licenses): New variable, list those new file names.
46455 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46457 * manual/fdl.texi: File removed.
46458 * manual/lesser.texi: File removed.
46459 * manual/libc.texinfo (Copying, Documentation License):
46460 Use new @include file names, put @appendix directive before @include.
46462 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46465 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46466 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46467 (mq_open): Add __NTH.
46469 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46472 Assume Intel Core i3/i5/i7 processor if AVX is available.
46474 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46476 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46479 2011-05-31 Andreas Schwab <schwab@redhat.com>
46481 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46482 memory. Use alloca_account. Fix memory leak when retrying.
46484 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46486 * version.h (RELEASE): Bump for 2.14 release.
46487 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46489 * config.make.in (RANLIB): Remove entry.
46491 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46493 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46494 (libc.pot): Work around missing support for .ksh extension in xgettext.
46497 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46498 if both request failed.
46499 (send_dg): In case of server errors clear resplen or *resplen2.
46502 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46503 when there are multiple maps.
46504 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46505 (_dl_fini): Remove test here.
46507 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46509 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46512 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46513 bit from old_res_options.
46514 (gaih_inet): Likewise.
46517 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46520 * resolv/res_init.c (res_setoptions): Make the code more compact.
46523 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46527 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46529 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46532 * malloc/malloc.h: Declare malloc hook variables as volatile.
46534 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46538 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46539 raise in the comment.
46540 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46541 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46542 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46544 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46547 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46548 grow the buffers more if it already has to be sufficient.
46549 (build_wcs_upper_buffer): Likewise.
46550 * posix/regexec.c (check_matching): Likewise.
46551 (clean_state_log_if_needed): Likewise.
46552 (extend_buffers): Don't enlarge buffers beyond size of the input
46554 Patches mostly by Emil Wojak <emil@wojak.eu>.
46555 * posix/bug-regex32.c: New file.
46556 * posix/Makefile (tests): Add bug-regex32.
46558 * locale/findlocale.c (_nl_find_locale): Return right away if
46559 _nl_explode_name failed.
46560 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46562 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46564 * debug/xtrace.sh: Unify messages.
46565 * malloc/memusage.sh: Likewise.
46568 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46569 time symbol from vDSO. Substitute with vsyscall if not available.
46570 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46573 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46574 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46575 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46576 Add sendmmsg and internal_sendmmsg.
46577 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46578 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46579 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46581 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46582 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46583 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46585 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46588 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46589 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46591 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46595 * iconvdata/Makefile (tests): Add bug-iconv9.
46596 * iconvdata/bug-iconv9.c: New file.
46598 2011-05-27 Andreas Schwab <schwab@redhat.com>
46601 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46603 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46605 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46606 (struct user_regs_struct): Change intcs field back to cs.
46608 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46610 * po/ja.po: Update from translation team.
46612 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46615 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46616 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46618 2011-05-20 Andreas Schwab <schwab@redhat.com>
46620 * stdlib/longlong.h: Update from GCC.
46622 2011-05-23 Andreas Schwab <schwab@redhat.com>
46624 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46626 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46627 Add parameter name.
46628 (__sysconf): Pass it down.
46630 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46633 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46635 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46636 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46637 add in in __libc_use_alloca calls. Adjust callers.
46638 (glob): Use malloc in some situations.
46640 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46641 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46644 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46646 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46647 and CLOCK_BOOTTIME_ALARM.
46650 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46653 * string/_strerror.c (__strerror_r): Print negative errors as signed
46657 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46658 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46659 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46661 * configure.in: Fix typo in redirection and correct removal of test
46662 files in two cases.
46665 * locale/setlocale.c (new_composite_name): Fix test to check for
46666 identical name of all categories.
46669 * libio/filedoalloc.c (local_isatty): New function.
46670 (_IO_file_doallocate): Use local_isatty.
46671 * stdio-common/perror.c (perror): In case a new stream is used
46672 forward the stream error.
46673 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46676 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46679 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46681 * include/alloca.h (extend_alloca_account): Define.
46684 * posix/regex.h: Fix comments with documentation of user-accessible
46685 fields after compilation and describe correct free'ing of pattern
46686 after re_compile_pattern.
46687 Patch by Reuben Thomas <rrt@sc3d.org>.
46689 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46691 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46692 and -mno-altivec to prevent the compiler from using Altivec and/or
46693 VSX instructions when the corresponding registers are not available.
46695 2011-05-19 Andreas Schwab <schwab@redhat.com>
46697 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46699 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46701 * libio/freopen.c (freopen): Use __dup2, not dup2.
46702 * libio/freopen64.c (freopen64): Likewise.
46704 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46707 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46708 * math/Makefile (tests): Add test-powl.
46709 (CFLAGS-test-powl.c): Define.
46710 * math/test-powl.c: New file.
46712 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46714 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46716 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46719 * iconvdata/gb18030.c: Update to GB18020-2005.
46721 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46723 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46724 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46725 Patch by Aharon Robbins <arnold@skeeve.com>.
46728 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46732 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46733 through underflows.
46736 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46737 point to strings before performing equality test for error_one_per_line
46741 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46744 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46745 (struct user_fpregs_struct): Avoid __uint*_t types.
46748 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46749 symbol info. Use it instead of calling _dl_addr locally.
46750 (lock_and_info): New function.
46751 (tr_freehook): Call lock_and_info and pass symbol info as additional
46752 parameter to tr_where.
46753 (tr_mallochook): Likewise.
46754 (tr_reallochook): Likewise.
46755 (tr_memalignhook): Likewise.
46757 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46758 used and couldn't be at all thread-safe.
46760 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46762 * libio/freopen.c (freopen): Don't close old file descriptor
46763 before the new one is opened. Instead dup the new file descriptor
46764 to the old one after the new stream is created.
46765 * libio/freopen64.c (freopen64): Likewise.
46766 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46767 * libio/fileops.c (_IO_new_file_close_it): Handle new
46768 _IO_FLAGS2_NOCLOSE flag.
46769 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46770 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46771 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46772 _IO_FLAGS2_NOCLOSE flag.
46773 * include/unistd.h: Add hidden_proto for dup3.
46774 Define __have_dup3.
46775 * io/dup3.c: Define hidden symbol.
46776 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46779 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46780 when an incomplete long option is used.
46781 * posix/tst-getopt_long1.c: New file.
46782 * posix/Makefile (tests): Add tst-getopt_long1.
46785 * scripts/config.guess: Update from autoconf-2.68.
46786 * scripts/config.sub: Likewise.
46789 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46791 (has_cpuclock): ...this. New function.
46792 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46793 macro here based on has_cpuclock code.
46796 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46797 First byte (not low byte) is now always NUL.
46798 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46800 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46801 Use non-cancelable interfaces.
46804 * locale/iso-639.def: Add entry for Sorani.
46807 * include/stdlib.h: Move include protection to the right place.
46808 Define abort_msg_s. Declare __abort_msg with it.
46809 * stdlib/abort.c (__abort_msg): Adjust type.
46810 * assert/assert.c (__assert_fail_base): New function. Majority
46811 of code from __assert_fail. Allocate memory for __abort_msg with
46813 (__assert_fail): Now call __assert_fail_base.
46814 * assert/assert-perr.c: Remove bulk of implementation. Use
46815 __assert_fail_base.
46816 * include/assert.hL Declare __assert_fail_base.
46817 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46819 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46821 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46825 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46826 until all modules are registered in the DTV.
46827 * elf/Makefile: Add rules to build and run tst-tls19.
46828 * elf/tst-tls19.c: New file.
46829 * elf/tst-tls19mod1.c: New file.
46830 * elf/tst-tls19mod2.c: New file.
46831 * elf/tst-tls19mod3.c: New file.
46832 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46835 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46839 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46840 two-byte sequence errors.
46841 * iconvdata/Makefile (tests): Add bug-iconv8.
46842 * iconvdata/bug-iconv8.c: New file.
46845 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46848 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46851 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46852 (dummy_getcfa): New function.
46853 (init): Get _Unwind_GetCFA address, use dummy if not found.
46854 (backtrace_helper): In recursion check, also check whether CFA changes.
46855 (__backtrace): Completely initialize arg.
46857 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46858 storing incomplete byte sequence in state object. Avoid testing for
46859 guaranteed too small input if we know there is enough data available.
46861 2011-05-11 Andreas Schwab <schwab@redhat.com>
46863 * Makeconfig (+link-pie): Indent.
46864 * Rules (binaries-pie): Define if $(have-fpie) and
46866 (binaries-shared): Also filter out $(binaries-pie).
46867 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46868 * nscd/Makefile (others-pie): Add nscd.
46869 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46870 ($(objpfx)nscd): Remove command override.
46871 * login/Makefile (others-pie): Add pt_chown.
46872 ($(objpfx)pt_chown): Remove command override.
46873 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46874 remove command overrides.
46876 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46878 * libio/tst_putwc.c: Fix error messages.
46881 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46882 currently writing and seek to current position when not.
46883 * libio/Makefile (tests): Add bug-fclose1.
46884 * libio/bug-fclose1.c: New file.
46886 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46889 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46890 don't set DF_1_NODELETE here.
46891 (do_lookup_x): When entering new entry test for copy relocation
46892 and if necessary set DF_1_NODELETE flag.
46893 * elf/tst-unique4.cc: New file.
46894 * elf/tst-unique4.h: New file.
46895 * elf/tst-unique4lib.cc: New file.
46896 * elf/Makefile: Add rules to build and run tst-unique4.
46897 Patch by Piotr Bury <pbury@goahead.com>.
46899 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46902 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46905 * misc/mntent_r.c (addmntent): Flush the stream after the output
46908 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46909 (is_trusted_path_normalize): Skip initial colon. Append slash
46910 to empty buffer. Duplicate is_trusted_path code but allow
46911 constructed patch to be prefix.
46912 (is_dst): Allow $ORIGIN followed by /.
46913 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46914 Correct testing of result of is_trusted_path_normalize
46915 (decompose_rpath): Fix warning.
46917 2011-05-10 Ulrich Drepper <drepper@gmail.com>
46920 * grp/initgroups.c (internal_getgrouplist): When we found the service
46921 list through the initgroups entry in nsswitch.conf do not always
46922 continue on a successful lookup. Don't always use the
46923 __nss_group_database value if it is set.
46924 * nss/nsswitch.conf (initgroups): Change action for successful db
46925 lookup to continue for compatibility.
46927 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46930 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46932 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46934 * iconvdata/tst-tables.sh: Likewise.
46935 * iconvdata/cp770.c: New file.
46936 * iconvdata/cp771.c: New file.
46937 * iconvdata/cp772.c: New file.
46938 * iconvdata/cp773.c: New file.
46939 * iconvdata/cp774.c: New file.
46940 * iconvdata/testdata/CP770: New file.
46941 * iconvdata/testdata/CP770..UTF8: New file.
46942 * iconvdata/testdata/CP771: New file.
46943 * iconvdata/testdata/CP771..UTF8: New file.
46944 * iconvdata/testdata/CP772: New file.
46945 * iconvdata/testdata/CP772..UTF8: New file.
46946 * iconvdata/testdata/CP773: New file.
46947 * iconvdata/testdata/CP773..UTF8: New file.
46948 * iconvdata/testdata/CP774: New file.
46949 * iconvdata/testdata/CP774..UTF8: New file.
46951 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46953 * iconvdata/gen-8bit-gap.sh: Likewise.
46954 * iconvdata/gen-8bit.sh: Likewise.
46956 * locale/iso-639.def: Add ary entry.
46959 * locale/C-translit.h.in: Add U20A1 transliteration.
46962 * locale/iso-639.def: Add wae entry.
46963 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46966 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46970 * locale/C-translit.h.in: Add entry for U20B9.
46971 Patch by pravin.d.s@gmail.com.
46973 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46976 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46977 ENAMETOOLONG use generic getcwd.
46978 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46979 in rtld. Use *stat64.
46980 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46981 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46982 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46983 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46984 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46985 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46986 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46987 __fstatat64 macros.
46988 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46989 * dirent/rewinddir.c: Add libc_hidden_def.
46990 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46991 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46993 * include/dirent.h (__alloc_dir): Add flags parameter.
46994 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46995 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46997 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46998 from fdopendir if O_CLOEXEC is already set.
47000 2011-03-15 Alan Modra <amodra@gmail.com>
47002 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47003 l_tls_firstbyte_offset non-zero. Save padding offset in
47004 l_tls_firstbyte_offset for later use.
47005 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47006 freeing static tls block.
47008 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47010 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47011 where #ifdef was intended. The intent is to prevent ARG_MAX from
47012 being defined by the kernel headers.
47014 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47017 * resolv/resolv.h: Define RES_NOTLDQUERY.
47018 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47019 no-tld-query and set RES_NOTLDQUERY.
47020 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47021 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47022 modern BIND to search name as TLD unless forbidden.
47024 2011-05-07 Petr Baudis <pasky@suse.cz>
47025 Ulrich Drepper <drepper@gmail.com>
47028 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47029 (is_trusted_path): ...to here.
47030 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47031 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47032 using is_trusted_path_normalize() in setuid scripts.
47034 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47036 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47037 __BEGIN/__END_DECLS.
47039 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47041 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47042 NSS_STATUS_NOTFOUND if no record was found.
47044 2011-05-05 Andreas Schwab <schwab@redhat.com>
47046 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47047 (headers-not-in-tirpc): Remove rpc/netdb.h
47048 * resolv/netdb.h: Revert last change.
47050 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47052 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47053 circular dependency between libgcc.a and libc.a.
47055 2011-05-05 Andreas Schwab <schwab@redhat.com>
47057 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47058 * nis/Makefile: Don't install rpcsvc/*.
47059 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47060 instead of <rpc/types.h>.
47061 (MAXHOSTNAMELEN): Define.
47063 2011-05-03 Andreas Schwab <schwab@redhat.com>
47065 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47067 2011-04-28 Maciej Babinski <mbabinski@google.com>
47070 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47071 gethostbyname4_r when IPv6 results are possible.
47073 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47076 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47077 _PC_PIPE_BUF handling.
47079 2011-04-30 Bruno Haible <bruno@clisp.org>
47082 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47083 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47085 * inet/getnameinfo.c (getnameinfo): Likewise.
47087 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47089 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47090 to groups setting in database lookup.
47091 * nss/nsswitch.conf: Add initgroups entry.
47093 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47096 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47098 Patch by Eric Blake <eblake@redhat.com>.
47100 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47102 * sunrpc/Makefile (need-export-routines): Add svc_run.
47103 (routines): Remove svc_run.
47104 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47105 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47106 * sunrpc/svc_run.c (svc_run): Likewise.
47107 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47109 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47111 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47112 problem in reallocation in last patch.
47114 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47116 * sunrpc/Makefile: Move inclusion of Rules.
47118 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47120 * nss/nss_files/files-initgroups.c: New file.
47121 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47122 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47123 _nss_files_initgroups_dyn.
47125 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47127 * elf/elf.h (R_ARM_IRELATIVE): Define.
47129 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47131 * po/ru.po: Update from translation team.
47133 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47135 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47138 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47141 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47142 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47143 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47144 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47145 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47147 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47149 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47151 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47152 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47153 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47155 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47158 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47160 * stdlib/bug-getcontext.c: New file.
47161 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47163 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47165 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47166 instructions into .machine "z9-109".
47167 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47168 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47170 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47172 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47173 between environment variables and auxiliary vector.
47175 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47177 * Makefile: Add rules to build linkobj/libc.so.
47178 * include/libc-symbols.h: Define libc_hidden_nolink.
47179 * include/rpc/auth.h: Mark functions which are to be hidden.
47180 * include/rpc/auth_des.h: Likewise.
47181 * include/rpc/auth_unix.h: Likewise.
47182 * include/rpc/clnt.h: Likewise.
47183 * include/rpc/des_crypt.h: Likewise.
47184 * include/rpc/key_prot.h: Likewise.
47185 * include/rpc/pmap_clnt.h: Likewise.
47186 * include/rpc/pmap_prot.h: Likewise.
47187 * include/rpc/pmap_rmt.h: Likewise.
47188 * include/rpc/rpc_msg.h: Likewise.
47189 * include/rpc/svc.h: Likewise.
47190 * include/rpc/svc_auth.h: Likewise.
47191 * include/rpc/xdr.h: Likewise.
47192 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47193 * nss/Makefile: Likewise.
47194 * sunrpc/Makefile: Don't install headers. Build library with normal
47195 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47196 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47197 for the compat linking library. Remove use of INTDEF/INTUSE.
47198 * sunrpc/auth_none.c: Likewise.
47199 * sunrpc/auth_unix.c: Likewise.
47200 * sunrpc/authdes_prot.c: Likewise.
47201 * sunrpc/authuxprot.c: Likewise.
47202 * sunrpc/clnt_gen.c: Likewise.
47203 * sunrpc/clnt_perr.c: Likewise.
47204 * sunrpc/clnt_raw.c: Likewise.
47205 * sunrpc/clnt_simp.c: Likewise.
47206 * sunrpc/clnt_tcp.c: Likewise.
47207 * sunrpc/clnt_udp.c: Likewise.
47208 * sunrpc/clnt_unix.c: Likewise.
47209 * sunrpc/des_crypt.c: Likewise.
47210 * sunrpc/des_soft.c: Likewise.
47211 * sunrpc/get_myaddr.c: Likewise.
47212 * sunrpc/key_call.c: Likewise.
47213 * sunrpc/key_prot.c: Likewise.
47214 * sunrpc/netname.c: Likewise.
47215 * sunrpc/pm_getmaps.c: Likewise.
47216 * sunrpc/pm_getport.c: Likewise.
47217 * sunrpc/pmap_clnt.c: Likewise.
47218 * sunrpc/pmap_prot.c: Likewise.
47219 * sunrpc/pmap_prot2.c: Likewise.
47220 * sunrpc/pmap_rmt.c: Likewise.
47221 * sunrpc/publickey.c: Likewise.
47222 * sunrpc/rpc_cmsg.c: Likewise.
47223 * sunrpc/rpc_common.c: Likewise.
47224 * sunrpc/rpc_dtable.c: Likewise.
47225 * sunrpc/rpc_prot.c: Likewise.
47226 * sunrpc/rpc_thread.c: Likewise.
47227 * sunrpc/rtime.c: Likewise.
47228 * sunrpc/svc.c: Likewise.
47229 * sunrpc/svc_auth.c: Likewise.
47230 * sunrpc/svc_authux.c: Likewise.
47231 * sunrpc/svc_raw.c: Likewise.
47232 * sunrpc/svc_run.c: Likewise.
47233 * sunrpc/svc_simple.c: Likewise.
47234 * sunrpc/svc_tcp.c: Likewise.
47235 * sunrpc/svc_udp.c: Likewise.
47236 * sunrpc/svc_unix.c: Likewise.
47237 * sunrpc/svcauth_des.c: Likewise.
47238 * sunrpc/xcrypt.c: Likewise.
47239 * sunrpc/xdr.c: Likewise.
47240 * sunrpc/xdr_array.c: Likewise.
47241 * sunrpc/xdr_float.c: Likewise.
47242 * sunrpc/xdr_intXX_t.c: Likewise.
47243 * sunrpc/xdr_mem.c: Likewise.
47244 * sunrpc/xdr_rec.c: Likewise.
47245 * sunrpc/xdr_ref.c: Likewise.
47246 * sunrpc/xdr_sizeof.c: Likewise.
47247 * sunrpc/xdr_stdio.c: Likewise.
47249 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47252 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47253 * sysdeps/ia64/dl-tls.h: Likewise.
47254 * sysdeps/powerpc/dl-tls.h: Likewise.
47255 * sysdeps/s390/dl-tls.h: Likewise.
47256 * sysdeps/sh/dl-tls.h: Likewise.
47257 * sysdeps/sparc/dl-tls.h: Likewise.
47258 * sysdeps/x86_64/dl-tls.h: Likewise.
47259 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47261 2011-03-14 Andreas Schwab <schwab@redhat.com>
47263 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47264 rpath element also skip the following colon.
47265 (expand_dynamic_string_token): Add is_path parameter and pass
47266 down to DL_DST_REQUIRED and _dl_dst_substitute.
47267 (decompose_rpath): Call expand_dynamic_string_token with
47268 non-zero is_path. Ignore empty rpaths.
47269 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47272 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47277 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47280 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47281 Patch by Filipe David Manana <fdmanana@apache.org>.
47283 2011-04-07 Andreas Schwab <schwab@redhat.com>
47285 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47286 Maintain aligned stack.
47287 (CHECK_RSP): Remove unused macro.
47289 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47291 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47292 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47294 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47296 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47298 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47300 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47303 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47304 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47305 * sysdeps/x86_64/memmove.c: New file.
47306 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47307 (memcpy): Renamed to ...
47308 (__new_memcpy): This.
47309 (memcpy): Provide GLIBC_2_14 memcpy.
47310 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47311 (memcpy): Provide GLIBC_2_2_5 memcpy.
47313 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47316 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47318 2011-03-30 Andreas Schwab <schwab@redhat.com>
47320 * misc/syncfs.c: New file.
47321 * misc/Makefile (routines): Add syncfs.
47322 * posix/unistd.h: Declare syncfs.
47323 * sysdeps/unix/syscalls.list: Add syncfs.
47325 2011-04-01 Andreas Schwab <schwab@redhat.com>
47327 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47329 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47330 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47331 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47332 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47333 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47334 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47335 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47337 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47339 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47340 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47341 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47342 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47343 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47344 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47345 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47347 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47348 sync_file_range.c with -fexceptions.
47349 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47350 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47351 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47352 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47353 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47354 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47355 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47356 sync_file_range as cancellation point
47357 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47358 now a wrapper around __call_sync_file_range with cancellation handling.
47359 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47360 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47361 function name to __call_sync_file_range.
47362 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47363 Add call_sync_file_range.
47365 2011-04-01 Andreas Schwab <schwab@redhat.com>
47367 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47370 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47372 * iconv/iconv.h: Fix typo in comment.
47373 * io/fcntl.h: Likewise.
47374 * libio/stdio.h: Likewise.
47375 * posix/spawn.h: Likewise.
47376 * posix/unistd.h: Likewise.
47377 * stdlib/stdlib.h: Likewise.
47378 * time/time.h: Likewise.
47379 * wcsmbs/wchar.h: Likewise.
47381 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47382 open_by_handle): Add.
47383 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47384 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47385 Augment a few comments.
47386 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47387 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47388 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47389 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47390 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47391 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47394 * io/fcntl.h (AT_EMPTY_PATH): Define.
47396 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47398 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47399 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47400 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47402 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47403 * Versions.def: Add GLIBC_2.14.
47404 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47407 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47409 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47411 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47413 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47416 * string/test-strncmp.c (do_page_test): New function.
47417 (check2): Likewise.
47418 (test_main): Call check2.
47419 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47421 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47424 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47425 Handle cache information in CPU leaf 4.
47426 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47428 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47431 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47432 character representation.
47433 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47435 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47437 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47438 END(__isnan) to END(__isnanf) to match function entry point/label
47439 EALIGN(__isnanf,...).
47441 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47443 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47445 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47448 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47449 copy from the symbol referenced in the relocation to initialize the
47451 Patch by Piotr Bury <pbury@goahead.com>.
47452 * elf/Makefile: Add rules to build and tst-unique3.
47453 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47454 * elf/tst-unique3.cc: New file.
47455 * elf/tst-unique3.h: New file.
47456 * elf/tst-unique3lib.cc: New file.
47457 * elf/tst-unique3lib2.cc: New file.
47459 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47461 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47463 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47464 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47467 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47469 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47470 to-be-loaded object along a path to loader is ld.so.
47472 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47473 Ulrich Drepper <drepper@gmail.com>
47475 * sysdeps/x86_64/memset.S: After aligning destination, code
47476 branches to different locations depending on the value of
47477 misalignment, when multiarch is enabled. Fix this.
47479 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47481 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47482 Set _x86_64_preferred_memory_instruction for AMD processsors.
47483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47484 Set bit_Prefer_SSE_for_memop for AMD processors.
47486 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47488 * libio/fmemopen.c (fmemopen): Optimize a bit.
47490 2011-03-03 Andreas Schwab <schwab@redhat.com>
47492 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47494 2011-03-03 Roland McGrath <roland@redhat.com>
47496 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47498 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47500 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47501 __bzero_ultra1 instead of __memset_ultra1.
47503 2011-02-23 Andreas Schwab <schwab@redhat.com>
47504 Ulrich Drepper <drepper@gmail.com>
47507 * include/link.h (struct link_map): Add l_orig_initfini.
47508 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47509 returning unsuccessfully.
47510 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47511 close of a file loaded at startup, restore the original l_initfini
47513 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47514 list, store the pointer.
47515 * elf/Makefile ($(objpfx)noload-mem): New rule.
47516 (noload-ENV): Define.
47517 (tests): Add $(objpfx)noload-mem.
47518 * elf/noload.c: Include <memcheck.h>.
47519 (main): Call mtrace. Close all opened handles.
47521 2011-02-17 Andreas Schwab <schwab@redhat.com>
47524 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47525 dependencies are missing.
47527 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47529 Fix __if_freereq crash: Unlike the generic version which uses free,
47531 * sysdeps/mach/hurd/ifreq.h: New file.
47533 2011-01-27 Petr Baudis <pasky@suse.cz>
47534 Ulrich Drepper <drepper@gmail.com>
47537 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47538 to extend_alloca().
47539 * stdio-common/bug23.c: New file.
47540 * stdio-common/Makefile (tests): Add bug23.
47542 2010-09-28 Andreas Schwab <schwab@redhat.com>
47543 Ulrich Drepper <drepper@gmail.com>
47546 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47547 before performing relro protection. At old place add assertion
47548 to make sure nothing changed.
47550 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47551 Glauber de Oliveira Costa <glommer@gmail.com>
47553 * elf/elf.h: Add new ARM TLS relocs.
47555 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47558 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47560 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47562 * sysdeps/wordsize-64/tst-writev.c: New file.
47564 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47566 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47567 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47568 insns in _dl_start to prevent a TOC reference before relocs are
47571 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47574 * Makeconfig: Remove RANLIB definition.
47575 * Makerules: Don't use RANLIB.
47576 * aclocal.m4: Remove ranlib test.
47577 * configure.in: No need to check for ranlib.
47578 * elf/rtld-Rules: Don't use RANLIB.
47580 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47582 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47584 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47585 inclusion protection macro.
47587 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47588 SIGRTMIN and SIGRTMAX and print information in that case only when
47589 SIGRTMIN is defined.
47591 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47593 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47594 arginfo fn returning -1.
47596 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47597 and thousands string is zero terminated.
47599 2011-02-03 Andreas Schwab <schwab@redhat.com>
47601 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47602 sysdeps/unix/sysv/linux/bits/socket.h.
47604 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47606 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47607 (__CPU_COUNT): Remove old macros.
47608 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47609 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47610 (__CPU_ALLOC, __CPU_FREE): Add macros.
47611 (__sched_cpualloc, __sched_cpufree): Add declarations.
47613 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47615 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47616 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47617 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47618 (readdhstai): Return value of addhstaiX call.
47619 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47620 (addgrbyX): Return value returned by cache_addgr.
47621 (readdgrbyname): Return value returned by addgrbyX.
47622 (readdgrbygid): Likewise.
47623 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47624 (addpwbyX): Return value returned by cache_addpw.
47625 (readdpwbyname): Return value returned by addhstbyX.
47626 (readdpwbyuid): Likewise.
47627 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47628 (addservbyX): Return value returned by cache_addserv.
47629 (readdservbyname): Return value returned by addservbyX:
47630 (readdservbyport): Likewise.
47631 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47632 (addhstbyX): Return value returned by cache_addhst.
47633 (readdhstbyname): Return value returned by addhstbyX.
47634 (readdhstbyaddr): Likewise.
47635 (readdhstbynamev6): Likewise.
47636 (readdhstbyaddrv6): Likewise.
47637 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47638 (readdinitgroups): Return value returned by addinitgroupsX.
47639 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47640 (prune_cache): Keep track of timeout value of re-added entries.
47641 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47642 * nscd/nscd.h: Adjust prototypes of readd* functions.
47644 2011-02-04 Roland McGrath <roland@redhat.com>
47646 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47647 (nis_stats): Likewise.
47648 * nis/nis_modify.c (nis_modify): Likewise.
47649 * nis/nis_remove.c (nis_remove): Likewise.
47650 * nis/nis_add.c (nis_add): Likewise.
47652 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47654 * posix/fnmatch_loop.c: Add some consts.
47656 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47658 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47661 * config.make.in (config-cflags-novzeroupper): Define.
47662 * configure.in: Substitute libc_cv_cc_novzeroupper.
47663 * elf/Makefile (AVX-CFLAGS): Define.
47664 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47665 (CFLAGS-tst-auditmod4a.c): Likewise.
47666 (CFLAGS-tst-auditmod4b.c): Likewise.
47667 (CFLAGS-tst-auditmod6b.c): Likewise.
47668 (CFLAGS-tst-auditmod6c.c): Likewise.
47669 (CFLAGS-tst-auditmod7b.c): Likewise.
47670 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47672 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47674 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47675 function to the callback.
47676 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47678 2011-02-02 Andreas Schwab <schwab@redhat.com>
47680 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47683 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47686 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47688 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47690 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47693 * elf/Makefile: Add rules to build and run new test.
47694 * elf/tst-initorder.c: New file.
47695 * elf/tst-initorder.exp: New file.
47696 * elf/tst-initordera1.c: New file.
47697 * elf/tst-initordera2.c: New file.
47698 * elf/tst-initordera3.c: New file.
47699 * elf/tst-initordera4.c: New file.
47700 * elf/tst-initorderb1.c: New file.
47701 * elf/tst-initorderb2.c: New file.
47702 * elf/tst-order-a1.c: New file.
47703 * elf/tst-order-a2.c: New file.
47704 * elf/tst-order-a3.c: New file.
47705 * elf/tst-order-a4.c: New file.
47706 * elf/tst-order-b1.c: New file.
47707 * elf/tst-order-b2.c: New file.
47708 * elf/tst-order-main.c: New file.
47709 New test case by George Gensure <werkt0@gmail.com>.
47711 2010-10-01 Andreas Schwab <schwab@redhat.com>
47713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47714 decoding ACE if AI_CANONIDN.
47716 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47718 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47720 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47722 * version.h (RELEASE): Bump for 2.13 release.
47723 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47725 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47727 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47729 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47730 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47731 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47732 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47733 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47734 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47736 * posix/getconf.c: Update copyright year.
47737 * catgets/gencat.c: Likewise.
47738 * csu/version.c: Likewise.
47739 * debug/catchsegv.sh: Likewise.
47740 * debug/xtrace.sh: Likewise.
47741 * elf/ldconfig.c: Likewise.
47742 * elf/ldd.bash.in: Likewise.
47743 * elf/sprof.c (print_version): Likewise.
47744 * iconv/iconv_prog.c: Likewise.
47745 * iconv/iconvconfig.c: Likewise.
47746 * locale/programs/locale.c: Likewise.
47747 * locale/programs/localedef.c: Likewise.
47748 * malloc/memusage.sh: Likewise.
47749 * malloc/mtrace.pl: Likewise.
47750 * nscd/nscd.c (print_version): Likewise.
47751 * nss/getent.c: Likewise.
47753 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47754 PF_CAIF, and PF_ALG.
47755 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47757 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47759 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47760 (modules-names): Use them.
47761 (ifunc-test-modules, ifunc-pie-tests): Define.
47762 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47763 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47764 (test-extras): Likewise.
47765 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47766 $(compile-command.c).
47767 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47768 (all-built-dso): Define.
47769 (check-textrel.out, check-execstack.out): Depend on it.
47771 * configure.in: Don't override --enable-multi-arch.
47773 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47776 * nscd/hstcache.c (tryagain): Define.
47777 (cache_addhst): Return tryagain not notfound for temporary errors.
47778 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47781 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47784 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47785 to make the syscall.
47786 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47789 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47790 and fall back to matching as normal character if the string ends before
47791 the matching ']' is found. This is what POSIX requires.
47792 * posix/testfnm.c: Adjust test result.
47793 * posix/globtest.sh: Adjust test result. Add new test.
47794 * posix/tst-fnmatch.input: Likewise.
47795 * posix/tst-fnmatch2.c: Add new test.
47797 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47799 * elf/Makefile (check-execstack): Revert last change. Depend on
47801 (check-execstack.h): New target.
47802 (generated): Add check-execstack.h.
47803 * elf/check-execstack.c: Include "check-execstack.h".
47804 (main): Revert last change.
47805 (handle_file): Return zero if GNU_STACK is absent and
47806 DEFAULT_STACK_PERMS doesn't include PF_X.
47808 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47810 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47811 in child fails because the descriptor is already closed.
47812 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47813 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47814 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47817 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47821 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47822 temporary buffer used to handle multi lookups locally.
47823 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47825 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47827 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47830 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47832 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47833 alignment for SSE2.
47835 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47838 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47839 characters. When rounding increased number of integer digits recompute
47841 * stdio-common/tst-grouping.c: New file.
47842 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47844 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47846 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47847 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47849 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47851 * bits/select.h: Likewise.
47853 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47855 * po/ja.po: Update from translation team.
47857 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47860 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47861 implementation just like for lxstat, fxstatat, et al.
47863 2010-12-27 Jim Meyering <meyering@redhat.com>
47866 * posix/regexec.c (build_trtable): Return failure indication upon
47867 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47869 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47872 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47873 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47874 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47875 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47878 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47881 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47882 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47884 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47886 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47887 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47888 script has SORT_BY_INIT_PRIORITY.
47889 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47890 NO_CTORS_DTORS_SECTIONS is defined.
47891 * elf/soinit.c: Likewise.
47892 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47893 NO_CTORS_DTORS_SECTIONS is defined.
47894 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47895 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47896 * sysdeps/sh/init-first.c: Likewise.
47897 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47899 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47901 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47902 always use the slow path.
47904 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47906 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47907 similar rule which adds the sysdep directories to the header search in
47908 order to pick up the correct platform stackinfo.h.
47909 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47910 perform test if it is, otherwise return successfully without testing.
47911 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47912 DEFAULT_STACK_PERMS define in stackinfo.h.
47913 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47914 defined in stackinfo.h.
47915 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47916 DEFAULT_STACK_PERMS defined in stackinfo.h.
47917 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47918 * sysdeps/ia64/stackinfo.h: Likewise.
47919 * sysdeps/s390/stackinfo.h: Likewise.
47920 * sysdeps/sh/stackinfo.h: Likewise.
47921 * sysdeps/sparc/stackinfo.h: Likewise.
47922 * sysdeps/x86_64/stackinfo.h: Likewise.
47923 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47924 PF_X for powerpc64. Retain PF_X for powerpc32.
47926 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47928 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47930 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47931 GETDENTS_64BIT_ALIGNED.
47933 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47935 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47937 2010-12-10 Andreas Schwab <schwab@redhat.com>
47939 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47942 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47943 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47945 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47946 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47948 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47951 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47954 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47956 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47958 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47960 * po/it.po: Update from translation team.
47962 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47964 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47967 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47969 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47971 2010-11-24 Andreas Schwab <schwab@redhat.com>
47973 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47975 (gaih_getanswer_slice): Likewise.
47977 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47979 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47981 2010-05-31 Petr Baudis <pasky@suse.cz>
47984 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47985 silently even in the chroot mode.
47987 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47989 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47990 last patch a bit. Pretty printing
47992 2010-05-31 Petr Baudis <pasky@suse.cz>
47995 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47996 initialization of skip_initgroups_dyn.
47998 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48000 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48001 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48003 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48005 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48007 2010-11-11 Andreas Schwab <schwab@redhat.com>
48009 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48010 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48011 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48012 ($(objpfx)tst-fnmatch-mem): New rule.
48013 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48014 * posix/tst-fnmatch.c (main): Call mtrace.
48016 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48019 Support Intel processor model 6 and model 0x2c.
48021 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48023 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48026 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48029 * string/test-strncasecmp.c (check_result): New function.
48030 (do_one_test): Use it.
48031 (check1): New function.
48032 (test_main): Use it.
48033 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48034 Support strcasecmp and strncasecmp.
48036 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48039 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48040 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48042 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48044 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48046 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48048 * sysdeps/x86_64/multiarch/bzero.S: New file.
48049 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48050 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48051 * sysdeps/x86_64/multiarch/memset.S: New file.
48052 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48054 Set bit_Prefer_SSE_for_memop for Intel processors.
48055 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48057 (index_Prefer_SSE_for_memop): Define.
48058 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48060 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48062 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48063 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48065 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48068 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48069 (__x86_64_raw_data_cache_size_half): Likewise.
48070 (__x86_64_raw_shared_cache_size): Likewise.
48071 (__x86_64_raw_shared_cache_size_half): Likewise.
48073 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48074 (__x86_64_raw_data_cache_size_half): Likewise.
48075 (__x86_64_raw_shared_cache_size): Likewise.
48076 (__x86_64_raw_shared_cache_size_half): Likewise.
48077 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48078 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48079 and __x86_64_raw_shared_cache_size_half. Round
48080 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48081 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48082 to multiple of 256 bytes.
48084 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48087 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48088 of inacessible symlinks. Verify result of symlink before returning it.
48089 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48090 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48092 2010-10-28 Erich Ritz <erichritz@gmail.com>
48094 * math/math.h (isinf): Fix typo in comment.
48096 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48098 * po/da.po: Update from translation team.
48100 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48102 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48103 is added to the list.
48105 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48106 Ulrich Drepper <drepper@gmail.com>
48108 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48109 the global list here. Move code to...
48110 (_dl_add_to_namespace_list): ...here. New function.
48111 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48112 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48113 * elf/dl-load.c (lose): Don't remove the element from the list.
48114 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48115 (_dl_map_object): Likewise.
48117 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48120 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48121 into all bytes of SSE register.
48122 Patch by Richard Li <richardpku@gmail.com>.
48124 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48127 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48130 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48132 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48133 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48134 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48135 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48140 2010-10-22 Andreas Schwab <schwab@redhat.com>
48142 * include/dlfcn.h (__RTLD_SECURE): Define.
48143 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48144 mode & __RTLD_SECURE instead.
48145 (open_path): Rename preloaded parameter to secure.
48146 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48147 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48148 * elf/dl-deps.c (openaux): Likewise.
48149 * elf/rtld.c (struct map_args): Remove is_preloaded.
48150 (map_doit): Don't use it.
48151 (dl_main): Likewise.
48152 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48153 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48155 2010-09-09 Andreas Schwab <schwab@redhat.com>
48157 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48158 (sysd-rules-targets): Remove duplicates.
48159 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48160 rtld-%.$o dependency.
48162 2010-10-18 Andreas Schwab <schwab@redhat.com>
48164 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48165 _dl_map_object do it.
48167 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48169 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48170 fast fma builtins, define the macros in the C99 standard.
48171 (FP_FAST_FMAF): Likewise.
48172 (FP_FAST_FMAL): Likewise.
48173 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48175 * bits/mathdef.h: Update copyright year.
48176 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48178 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48180 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48181 builtins, define the macros in the C99 standard.
48182 (FP_FAST_FMAF): Likewise.
48183 (FP_FAST_FMAL): Likewise.
48184 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48186 (FP_FAST_FMAF): Likewise.
48188 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48191 * math/libm-test.inc (fma_test): Some new testcases.
48192 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48193 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48194 y and infinite z. Do multiplication by C already in long double.
48195 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48197 y and infinite z. Do bitwise or of inexact bit into u.d.
48198 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48199 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48200 * sysdeps/i386/fpu/s_fma.S: Removed.
48201 * sysdeps/i386/fpu/s_fmal.S: Removed.
48203 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48206 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48207 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48208 computation is not scheduled after fetestexcept. Fix value
48209 of minimum denormal long double.
48211 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48214 * math/libm-test.inc (fma_test): Add some more tests.
48215 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48218 2010-10-15 Andreas Schwab <schwab@redhat.com>
48220 * scripts/data/localplt-s390-linux-gnu.data: New file.
48221 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48223 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48226 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48227 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48229 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48231 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48233 if one of x and y is very large and the other is subnormal.
48234 * sysdeps/s390/fpu/s_fmaf.c: New file.
48235 * sysdeps/s390/fpu/s_fma.c: New file.
48236 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48237 * sysdeps/powerpc/fpu/s_fma.S: New file.
48238 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48239 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48240 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48242 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48245 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48247 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48248 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48249 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48250 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48251 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48252 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48253 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48255 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48258 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48259 * posix/bug-regex31.input: Add test case.
48261 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48263 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48264 * posix/bug-regex31.input: New file.
48267 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48268 (parse_sub_exp): Fix last change, use postorder.
48270 * posix/bug-regex31.c: New file.
48271 * posix/Makefile: Add rules to build and run bug-regex31.
48273 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48276 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48279 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48280 to have entries in sys_siglist.
48283 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48286 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48289 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48290 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48291 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48292 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48293 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48294 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48295 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48296 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48297 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48298 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48299 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48300 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48301 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48302 * math/ftestexcept.c (fetestexcept): Likewise.
48303 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48304 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48305 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48306 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48307 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48308 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48309 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48311 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48314 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48317 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48319 * string/bug-strstr1.c: New file.
48320 * string/Makefile: Add rules to build and run bug-strstr1.
48322 2010-10-05 Eric Blake <eblake@redhat.com>
48325 * string/str-two-way.h (two_way_long_needle): Always clear memory
48326 when skipping input due to the shift table.
48328 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48331 * malloc/mcheck.c: Handle large requests.
48334 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48335 for strncmp and strncasecmp.
48336 * string/stratcliff.c: Add tests for strcmp and strncmp.
48337 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48339 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48341 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48344 2010-09-30 Andreas Jaeger <aj@suse.de>
48346 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48347 (CGROUP_SUPER_MAGIC): Define.
48348 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48349 Handle btrfs and cgroup file systems.
48350 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48353 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48355 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48356 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48358 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48361 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48362 trying to locate the ELF header.
48364 2010-09-27 Andreas Schwab <schwab@redhat.com>
48367 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48368 Mask out sign-bit copies when constructing f_fsid.
48370 2010-09-24 Petr Baudis <pasky@suse.cz>
48372 * debug/stack_chk_fail_local.c: Add missing licence exception.
48373 * debug/warning-nop.c: Likewise.
48375 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48377 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48378 implementing getdents64 using getdents syscall, set d_type if
48379 __ASSUME_GETDENTS32_D_TYPE.
48381 2010-09-16 Andreas Schwab <schwab@redhat.com>
48383 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48384 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48386 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48389 * posix/unistd.h: Undo change of feature selection for ftruncate from
48392 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48394 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48397 2010-09-20 Andreas Schwab <schwab@redhat.com>
48399 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48401 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48403 2010-09-14 Andreas Schwab <schwab@redhat.com>
48405 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48406 variables after CHECK_SP call.
48407 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48409 2010-09-13 Andreas Schwab <schwab@redhat.com>
48410 Ulrich Drepper <drepper@redhat.com>
48412 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48413 re-relocationg ld.so.
48414 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48415 _dl_init_paths call.
48416 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48419 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48421 * resolv/res_init.c (__res_vinit): Count the default server we added.
48423 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48424 Ulrich Drepper <drepper@redhat.com>
48427 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48428 (____longjmp_chk): Use %ebx for saving value across system call.
48431 2010-09-06 Andreas Schwab <schwab@redhat.com>
48433 * manual/Makefile: Don't mix pattern rules with normal rules.
48435 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48437 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48439 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48440 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48441 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48442 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48443 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48446 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48449 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48450 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48452 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48454 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48455 * sysdeps/x86_64/addmul_1.S: Likewise.
48456 * sysdeps/x86_64/lshift.S: Likewise.
48457 * sysdeps/x86_64/mul_1.S: Likewise.
48458 * sysdeps/x86_64/rshift.S: Likewise.
48459 * sysdeps/x86_64/sub_n.S: Likewise.
48460 * sysdeps/x86_64/submul_1.S: Likewise.
48462 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48464 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48465 Define __sched_param instead of SCHED_* and sched_param when
48466 <bits/sched.h> is included with __need_schedparam defined.
48467 * bits/sched.h [__need_schedparam]
48468 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48469 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48470 (__defined_schedparam): Define to 1.
48471 (__sched_param): New structure, identical to sched_param.
48472 (__need_schedparam): Undefine.
48474 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48476 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48477 (epoll_create1): Declare.
48479 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48481 2010-08-31 Andreas Schwab <schwab@redhat.com>
48484 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48485 shifting retval into place.
48487 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48489 * nis/rpcsvc/nis.h: Update copyright notice.
48490 * nis/rpcsvc/nis.x: Likewise.
48491 * nis/rpcsvc/nis_callback.h: Likewise.
48492 * nis/rpcsvc/nis_callback.x: Likewise.
48493 * nis/rpcsvc/nis_object.x: Likewise.
48494 * nis/rpcsvc/nis_tags.h: Likewise.
48495 * nis/rpcsvc/yp.h: Likewise.
48496 * nis/rpcsvc/yp.x: Likewise.
48497 * nis/rpcsvc/ypupd.h: Likewise.
48498 * nis/yp_xdr.c: Likewise.
48499 * nis/ypupdate_xdr.c: Likewise.
48501 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48502 mainly the body of pmap_getport. Add parameters to specify timeouts.
48503 (pmap_getport): Use __libc_rpc_getport.
48504 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48505 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48506 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48508 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48513 2010-08-27 Roland McGrath <roland@redhat.com>
48515 * sysdeps/i386/i686/multiarch/Makefile
48516 (CFLAGS-varshift.c): New variable.
48518 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48520 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48521 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48523 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48525 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48527 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48529 * sysdeps/x86_64/strlen.S: Unroll the loop.
48530 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48531 strlen-sse2 strlen-sse2-bsf.
48532 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48533 __strlen_no_bsf if bit_Slow_BSF is set.
48534 (__strlen_sse42): Removed.
48535 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48536 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48538 2010-08-25 Roland McGrath <roland@redhat.com>
48540 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48541 * sysdeps/x86_64/multiarch/varshift.c: New file.
48542 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48543 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48544 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48545 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48547 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48550 strlen-sse2 strlen-sse2-bsf.
48551 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48552 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48553 (__strlen_sse2): Removed.
48554 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48555 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48557 bit_Slow_BSF for Atom.
48558 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48559 (index_Slow_BSF): Define.
48560 (HAS_SLOW_BSF): Define.
48562 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48565 * resolv/res_init.c (__res_vinit): When no server address at all
48566 is given default to loopback.
48568 2010-08-24 Roland McGrath <roland@redhat.com>
48570 * configure.in: Remove config-name.h generation.
48571 * configure: Regenerated.
48572 * config-name.in: File removed.
48573 * scripts/config-uname.sh: New file.
48574 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48575 ($(objdir)config-name.h): New target.
48577 * sunrpc/rpc_parse.h: Avoid nested comment.
48579 2010-08-24 Richard Henderson <rth@redhat.com>
48580 Ulrich Drepper <drepper@redhat.com>
48581 H.J. Lu <hongjiu.lu@intel.com>
48583 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48584 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48585 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48586 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48587 _mm_alignr_epi8 with _mm_loadu_si128.
48588 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48589 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48590 (__m128i_shift_right): Removed.
48591 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48592 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48593 * sysdeps/x86_64/multiarch/varshift.h: New file.
48594 * sysdeps/x86_64/multiarch/varshift.S: New file.
48596 2010-08-21 Mike Frysinger <vapier@gentoo.org>
48598 * configure.in: Move assembler checks to before sysdep dir checking.
48600 2010-08-20 Petr Baudis <pasky@suse.cz>
48602 * LICENSES: Sync the sunrpc license.
48604 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48606 * sunrpc/auth_des.c: Update copyright notice once again.
48607 * sunrpc/auth_none.c: Likewise.
48608 * sunrpc/auth_unix.c: Likewise.
48609 * sunrpc/authdes_prot.c: Likewise.
48610 * sunrpc/authuxprot.c: Likewise.
48611 * sunrpc/bindrsvprt.c: Likewise.
48612 * sunrpc/clnt_gen.c: Likewise.
48613 * sunrpc/clnt_perr.c: Likewise.
48614 * sunrpc/clnt_raw.c: Likewise.
48615 * sunrpc/clnt_simp.c: Likewise.
48616 * sunrpc/clnt_tcp.c: Likewise.
48617 * sunrpc/clnt_udp.c: Likewise.
48618 * sunrpc/clnt_unix.c: Likewise.
48619 * sunrpc/des_crypt.c: Likewise.
48620 * sunrpc/des_soft.c: Likewise.
48621 * sunrpc/get_myaddr.c: Likewise.
48622 * sunrpc/getrpcport.c: Likewise.
48623 * sunrpc/key_call.c: Likewise.
48624 * sunrpc/key_prot.c: Likewise.
48625 * sunrpc/openchild.c: Likewise.
48626 * sunrpc/pm_getmaps.c: Likewise.
48627 * sunrpc/pm_getport.c: Likewise.
48628 * sunrpc/pmap_clnt.c: Likewise.
48629 * sunrpc/pmap_prot.c: Likewise.
48630 * sunrpc/pmap_prot2.c: Likewise.
48631 * sunrpc/pmap_rmt.c: Likewise.
48632 * sunrpc/rpc/auth.h: Likewise.
48633 * sunrpc/rpc/auth_unix.h: Likewise.
48634 * sunrpc/rpc/clnt.h: Likewise.
48635 * sunrpc/rpc/des_crypt.h: Likewise.
48636 * sunrpc/rpc/key_prot.h: Likewise.
48637 * sunrpc/rpc/netdb.h: Likewise.
48638 * sunrpc/rpc/pmap_clnt.h: Likewise.
48639 * sunrpc/rpc/pmap_prot.h: Likewise.
48640 * sunrpc/rpc/pmap_rmt.h: Likewise.
48641 * sunrpc/rpc/rpc.h: Likewise.
48642 * sunrpc/rpc/rpc_des.h: Likewise.
48643 * sunrpc/rpc/rpc_msg.h: Likewise.
48644 * sunrpc/rpc/svc.h: Likewise.
48645 * sunrpc/rpc/svc_auth.h: Likewise.
48646 * sunrpc/rpc/types.h: Likewise.
48647 * sunrpc/rpc/xdr.h: Likewise.
48648 * sunrpc/rpc_clntout.c: Likewise.
48649 * sunrpc/rpc_cmsg.c: Likewise.
48650 * sunrpc/rpc_common.c: Likewise.
48651 * sunrpc/rpc_cout.c: Likewise.
48652 * sunrpc/rpc_dtable.c: Likewise.
48653 * sunrpc/rpc_hout.c: Likewise.
48654 * sunrpc/rpc_main.c: Likewise.
48655 * sunrpc/rpc_parse.c: Likewise.
48656 * sunrpc/rpc_parse.h: Likewise.
48657 * sunrpc/rpc_prot.c: Likewise.
48658 * sunrpc/rpc_sample.c: Likewise.
48659 * sunrpc/rpc_scan.c: Likewise.
48660 * sunrpc/rpc_scan.h: Likewise.
48661 * sunrpc/rpc_svcout.c: Likewise.
48662 * sunrpc/rpc_tblout.c: Likewise.
48663 * sunrpc/rpc_util.c: Likewise.
48664 * sunrpc/rpc_util.h: Likewise.
48665 * sunrpc/rpcinfo.c: Likewise.
48666 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48667 * sunrpc/rpcsvc/key_prot.x: Likewise.
48668 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48669 * sunrpc/rpcsvc/mount.x: Likewise.
48670 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48671 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48672 * sunrpc/rpcsvc/rex.x: Likewise.
48673 * sunrpc/rpcsvc/rstat.x: Likewise.
48674 * sunrpc/rpcsvc/rusers.x: Likewise.
48675 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48676 * sunrpc/rpcsvc/spray.x: Likewise.
48677 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48678 * sunrpc/rtime.c: Likewise.
48679 * sunrpc/svc.c: Likewise.
48680 * sunrpc/svc_auth.c: Likewise.
48681 * sunrpc/svc_authux.c: Likewise.
48682 * sunrpc/svc_raw.c: Likewise.
48683 * sunrpc/svc_run.c: Likewise.
48684 * sunrpc/svc_simple.c: Likewise.
48685 * sunrpc/svc_tcp.c: Likewise.
48686 * sunrpc/svc_udp.c: Likewise.
48687 * sunrpc/svc_unix.c: Likewise.
48688 * sunrpc/svcauth_des.c: Likewise.
48689 * sunrpc/xcrypt.c: Likewise.
48690 * sunrpc/xdr.c: Likewise.
48691 * sunrpc/xdr_array.c: Likewise.
48692 * sunrpc/xdr_float.c: Likewise.
48693 * sunrpc/xdr_mem.c: Likewise.
48694 * sunrpc/xdr_rec.c: Likewise.
48695 * sunrpc/xdr_ref.c: Likewise.
48696 * sunrpc/xdr_sizeof.c: Likewise.
48697 * sunrpc/xdr_stdio.c: Likewise.
48699 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48702 2010-08-19 Andreas Schwab <schwab@redhat.com>
48704 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48706 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48708 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48709 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48710 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48711 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48712 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48713 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48714 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48715 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48716 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48717 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48718 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48719 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48720 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48721 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48723 2010-07-26 Anton Blanchard <anton@samba.org>
48725 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48726 * malloc/arena.c (heap_trim): Likewise.
48728 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48730 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48732 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48733 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48735 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48737 * sysdeps/i386/elf/Makefile: New file.
48739 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48741 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48742 from fanotify_init.
48743 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48746 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48748 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48750 * sysdeps/multiarch/strcmp.S: Likewise.
48752 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48754 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48755 strncase_l-nonascii.
48756 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48757 Add strncase_l-ssse3.
48758 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48759 * sysdeps/x86_64/strcmp.S: Likewise.
48760 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48761 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48762 * sysdeps/x86_64/strncase.S: New file.
48763 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48764 * sysdeps/x86_64/strncase_l.S: New file.
48765 * string/Makefile (strop-tests): Add strncasecmp.
48766 * string/test-strncasecmp.c: New file.
48768 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48771 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48772 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48774 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48776 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48778 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48780 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48781 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48782 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48784 2010-05-01 Alan Modra <amodra@gmail.com>
48786 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48787 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48788 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48789 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48790 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48791 tidying. Don't tail-call __sigjmp_save for static lib.
48792 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48794 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48795 (CALL_MCOUNT): Add eh info, and nop after bl.
48796 (TAIL_CALL_SYSCALL_ERROR): New macro.
48797 (PSEUDO_RET): Use it.
48798 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48799 Correct save location of integer regs and cr.
48800 (_dl_profile_resolve): Correct cr save location. Delete nops
48801 after bl when SHARED. Reduce cfi size a little by better
48802 placement of cfi directives.
48803 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48804 make a stack frame. Instead use parm save area as a temp.
48805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48806 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48808 Don't make a stack frame for parent, use parm save area.
48809 Increase child stack frame to 112 bytes. Don't save unused reg,
48810 and adjust reg usage. Set up cfi on error recovery and
48811 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48813 (__makecontext): Add dummy nop after jump to exit.
48814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48815 Use correct parm save area and cr save, reduce stack frame.
48816 Correct cfi for possible PSEUDO_RET frame setup.
48817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48818 Branch to local label emitted by PSEUDO_RET rather than
48821 2010-08-12 Andreas Schwab <schwab@redhat.com>
48824 * locale/programs/locale.c (print_assignment): New function.
48825 (show_locale_vars): Use it.
48827 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48829 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48831 (struct statfs64): Likewise.
48832 (_STATFS_F_FLAGS): Define.
48833 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48834 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48835 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48836 (ST_VALID): Define locally.
48837 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48838 __statvfs_getflags, use the provided value.
48839 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48840 __ASSUME_STATFS_F_FLAGS.
48842 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48844 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48845 Add sys/fanotify.h.
48846 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48847 fanotify_mask for GLIBC_2.13.
48848 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48849 fanotify_init and fanotify_mark.
48850 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48851 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48853 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48855 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48856 prlimit64 for GLIBC_2.13.
48857 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48859 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48862 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48863 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48864 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48865 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48867 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48870 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48871 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48873 * nss/Makefile: Add rules to build and run tst-nss-test1.
48874 * shlib-versions: Add entry for libnss_test1.
48875 * nss/nss_test1.c: New file.
48876 * nss/tst-nss-test1.c: New file.
48878 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48879 (__nss_configure_lookup): Set appropriate entry in
48880 __nss_configure_lookup to true.
48881 * nss/nsswitch.h: Define enum with indeces of databases in
48882 databases and __nss_database_custom arrays. Declare
48883 __nss_database_custom.
48884 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48885 to avoid using nscd when custom rules are installed.
48886 * nss/getXXbyYY_r.c: Likewise.
48887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48889 * nss/nss_files/files-parse.c: Whitespace fixes.
48891 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48894 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48895 * posix/fnmatch_loop.c: Likewise.
48897 2010-07-17 Andi Kleen <ak@linux.intel.com>
48899 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48900 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48901 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48902 * Versions.def [GLIBC_2.13]: Add.
48904 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48906 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48907 Also fail if tpwd after pwuid call is NULL.
48909 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48911 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48912 when converting to ms.
48914 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48916 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48917 EOPNOTSUPP errors with ENOTTY.
48918 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48919 EOPNOTSUPP errors with ENOTTY.
48921 2010-07-31 Ulrich Drepper <drepper@redhat.com>
48923 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48924 Add strcasecmp_l-ssse3.
48925 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48927 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48928 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48929 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48931 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48933 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48935 * string/Makefile (strop-tests): Add strcasecmp.
48936 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48937 strcasecmp_l-nonascii.
48938 (gen-as-const-headers): Add locale-defines.sym.
48939 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48940 * sysdeps/x86_64/strcasecmp.S: New file.
48941 * sysdeps/x86_64/strcasecmp_l.S: New file.
48942 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48943 * sysdeps/x86_64/locale-defines.sym: New file.
48944 * string/test-strcasecmp.c: New file.
48946 * string/test-strcasestr.c: Test both ends of the range of characters.
48947 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48949 2010-07-29 Roland McGrath <roland@redhat.com>
48952 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48954 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48956 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48959 2010-07-27 Andreas Schwab <schwab@redhat.com>
48961 * manual/memory.texi (Malloc Tunable Parameters): Document
48964 2010-07-26 Roland McGrath <roland@redhat.com>
48967 * configure.in (-fgnu89-inline check): Set and substitute
48968 gnu89_inline, not libc_cv_gnu89_inline.
48969 * configure: Regenerated.
48970 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48972 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48974 * string/test-strnlen.c: New file.
48975 * string/Makefile (strop-tests): Add strnlen.
48976 * string/tester.c (test_strnlen): Add a few more test cases.
48977 * string/tst-strlen.c: Better error reporting.
48979 * sysdeps/x86_64/strnlen.S: New file.
48981 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48983 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48984 lower-latency instructions.
48986 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48988 * string/test-strcasestr.c: New file.
48989 * string/test-strstr.c: New file.
48990 * string/Makefile (strop-tests): Add strstr and strcasestr.
48991 * string/str-two-way.h: Don't undefine MAX.
48992 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48994 2010-07-21 Andreas Schwab <schwab@redhat.com>
48996 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48997 strcasestr-nonascii.
48998 (CFLAGS-strcasestr-nonascii.c): Define.
48999 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49000 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49001 Remove unused attribute.
49003 2010-07-20 Roland McGrath <roland@redhat.com>
49005 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49006 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49007 ld.so.cache was broken. With it, there is no way to disable dsocaps
49008 like LD_HWCAP_MASK can disable hwcaps.
49010 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49012 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49014 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49016 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49017 call in strcasestr.
49018 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49019 __strcasestr_sse42_nonascii.
49020 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49021 strcasestr-nonascii.c.
49022 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49024 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49026 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49027 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49028 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49029 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49031 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49033 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49036 2010-07-06 Andreas Schwab <schwab@redhat.com>
49039 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49042 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49044 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49045 _PC_PIPE_BUF using F_GETPIPE_SZ.
49047 2010-07-05 Roland McGrath <roland@redhat.com>
49049 * manual/arith.texi (Rounding Functions): Fix rint description
49050 implicit in round description.
49052 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49054 * elf/Makefile: Fix linking for a few tests to make recent linker
49057 2010-06-30 Andreas Schwab <schwab@redhat.com>
49059 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49060 $(common-objpfx)libc_nonshared.a.
49062 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49064 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49065 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49066 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49067 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49068 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49069 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49070 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49071 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49086 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49087 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49088 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49089 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49090 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49091 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49092 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49093 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49094 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49095 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49096 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49097 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49113 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49115 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49116 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49117 * string/memmove.c (memmove): Renamed to ...
49118 (MEMMOVE): ...this. Default to memmove.
49119 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49120 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49122 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49123 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49124 mempcpy-ssse3-back memmove-ssse3-back.
49125 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49126 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49127 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49128 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49129 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49130 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49131 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49132 * sysdeps/x86_64/multiarch/memmove.c: New file.
49133 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49134 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49135 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49136 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49137 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49138 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49140 (index_Fast_Copy_Backward): Define.
49141 (HAS_ARCH_FEATURE): Define.
49142 (HAS_FAST_REP_STRING): Define.
49143 (HAS_FAST_COPY_BACKWARD): Define.
49145 2010-06-21 Andreas Schwab <schwab@redhat.com>
49147 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49148 Restore proper fallback handling.
49150 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49153 * posix/group_member.c (__group_member): Correct checking loop.
49155 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49156 OOM in getpwuid_r correctly. Return error number when the caller
49157 should return, otherwise -1.
49158 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49159 call returning > 0 value.
49160 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49162 2010-06-07 Andreas Schwab <schwab@redhat.com>
49164 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49165 libc_nonshared.a from targets in modules-names.
49167 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49169 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49172 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49174 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49175 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49176 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49177 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49179 2010-06-02 Andreas Schwab <schwab@redhat.com>
49181 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49183 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49185 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49187 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49188 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49189 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49190 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49191 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49192 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49194 2010-06-14 Roland McGrath <roland@redhat.com>
49196 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49198 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49200 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49201 __REDIRECT followed by __THROW.
49202 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49203 * posix/getopt.h (getopt): Likewise.
49205 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49207 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49208 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49209 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49211 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49212 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49214 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49216 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49218 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49222 Properly check family and model.
49224 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49226 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49228 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49230 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49232 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49234 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49237 2010-05-19 Andreas Schwab <schwab@redhat.com>
49239 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49242 2010-05-21 Andreas Schwab <schwab@redhat.com>
49244 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49245 and internal_recvmmsg.
49246 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49247 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49248 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49249 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49251 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49252 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49253 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49255 2010-05-20 Andreas Schwab <schwab@redhat.com>
49257 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49259 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49261 POWER7 optimizations.
49262 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49263 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49265 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49267 * version.h: Update for 2.13 development version.
49269 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49271 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49272 exceptions. Return 0.
49274 2010-05-07 Roland McGrath <roland@redhat.com>
49276 * elf/ldconfig.c (main): Add a const.
49278 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49280 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49281 (args_options): Add no-idn option.
49282 (ahosts_keys_int): Add idn_flags to ai_flags.
49283 (parse_option): Handle 'i' option to clear idn_flags.
49285 * malloc/malloc.c (_int_free): Possible race in the most recently
49286 added check. Only act on the data if no current modification
49289 See ChangeLog.17 for earlier changes.