1 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3 * shlib-versions: Remove OS-specific entries. Moved to files in
5 * sysdeps/mach/hurd/shlib-versions: New file.
6 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8 * nptl/shlib-versions: Remove architecture-specific entries.
9 Moved to files in sysdeps.
10 * shlib-versions: Likewise.
11 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
18 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
19 (UDP_NO_CHECK6_RX): Likewise.
21 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23 * sysdeps/posix/sysconf.c (__sysconf): Spell
24 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
26 2014-08-12 Florian Weimer <fweimer@redhat.com>
28 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30 * iconv/Versions (__gconv_transliterate): Export for use from
32 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
33 (struct __gconv_trans_data, __gconv_trans_fct,
34 __gconv_trans_context_fct, __gconv_trans_query_fct,
35 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
37 (struct __gconv_step_data): Remove __trans member.
38 (__gconv_transliterate): Declaration moved from gconv_int.h. No
39 longer hidden. Remove unused trans_data argument.
40 * iconv/gconv_int.h (struct trans_struct): Remove definition.
41 (__gconv_translit_find): Remove declaration.
42 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
44 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
45 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46 trans_data argument. Add hidden definition.
47 (__gconv_translit_find): Remove.
48 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
49 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
50 * iconv/skeleton.c: Remove transliteration initialization.
51 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
52 __gconv_step_data initialization.
53 * libio/iofwide.c (__libio_translit_): Remove.
54 (_IO_fwide): Adjust struct __gconv_step_data initialization.
55 * wcsmbs/btowc.c (__btowc): Likewise.
56 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
58 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
59 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
60 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
61 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
62 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
63 * wcsmbs/wctob.c (wctob): Likewise.
65 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
68 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
69 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
71 * sysdeps/x86/Makefile: Adjust.
73 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
74 Roland McGrath <roland@hack.frob.com>
76 * locale/weight.h: Add include guard.
77 (findidx): Make static rather than auto; take new parameters
78 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
79 * locale/weightwc.h: Likewise.
80 * posix/fnmatch_loop.c
81 (FCT): Change type of EXTRA from int32_t to wint_t.
82 Don't include either header inside the function.
83 Call FINDIDX rather than findidx, and pass new arguments.
84 #undef FINDIDX at the end of the file.
85 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
86 FINDIDX before including fnmatch_loop.c for the non-wide version.
87 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
88 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
90 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
91 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
92 Pass new arguments to findidx.
93 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
94 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
95 Don't #include it inside the function. Pass new arguments to findidx.
96 * posix/regex_internal.h
97 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
98 (re_string_elem_size_at): Don't #include it inside the function.
99 Pass new arguments to findidx.
100 * string/strcoll_l.c: #include WEIGHT_H at top level.
101 (get_next_seq): Don't #include it inside the function.
102 Pass new arguments to findidx.
103 (get_next_seq_nocache): Likewise.
104 * string/strxfrm_l.c: #include WEIGHT_H at top level.
105 (STRXFRM): Don't #include it inside the function.
106 Pass new arguments to findidx.
108 2014-09-11 Florian Weimer <fweimer@redhat.com>
111 * malloc/malloc.c (unlink): Turn asserts into a call to
114 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
117 * libio/wfileops (do_ftell_wide): Free OUT.
119 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
121 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
123 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
126 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
127 group if the current group is empty.
129 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
131 * benchtests/bench-memset.c (test_main): Add more test from size
132 from 32 to 512 bytes.
133 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
134 Add POWER8 memset object.
135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
136 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
137 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
139 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
141 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
142 multiarch POWER8 memset optimization.
143 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
144 POWER8 memset optimization.
146 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
147 Remove bzero multiarch objects.
148 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
149 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
150 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
151 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
153 [__bzero]: Redefine to specific name.
154 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
155 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
156 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
158 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
159 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
161 2014-09-10 Florian Weimer <fweimer@redhat.com>
163 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
164 warnings into errors.
166 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
167 __cxa_thread_atexit_impl prototype.
169 2014-09-09 Steve Ellcey <sellcey@mips.com>
171 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
172 Fix capitalization of error message.
174 2014-09-09 Steve Ellcey <sellcey@mips.com>
176 * sysdeps/mips/preconfigure: Modify ABI tests.
178 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
180 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
182 2014-09-07 Roland McGrath <roland@hack.frob.com>
183 Carlos O'Donell <carlos@systemhalted.org>
185 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
186 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
187 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
188 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
189 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
190 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
191 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
192 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
193 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
194 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
195 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
196 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
197 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
198 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
199 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
200 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
201 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
202 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
203 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
204 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
205 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
206 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
207 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
208 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
209 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
210 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
211 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
212 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
213 Deconditionalize the code that was previously under [RESET_PID].
214 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
215 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
216 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
217 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
220 2014-09-08 Allan McRae <allan@archlinux.org>
222 * version.h (RELEASE): Set to "development".
223 (VERSION): Set to "2.20.90"
225 2014-09-07 Allan McRae <allan@archlinux.org
227 * version.h (RELEASE): Set to "stable".
228 (VERSION): Set to "2.20"
229 * include/features.h (__GLIBC_MINOR__): Set to 20.
231 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
234 * po/ko.po: Update Korean translation from translation project.
236 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
239 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
240 macro for handling signed relocations.
242 2014-09-03 Florian Weimer <fweimer@redhat.com>
245 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
246 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
248 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
249 * iconvdata/ibm935.c (BODY): Likewise.
250 * iconvdata/ibm937.c (BODY): Likewise.
251 * iconvdata/ibm939.c (BODY): Likewise.
252 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
254 * iconvdata/Makefile (iconv-test.out): Pass module list to test
256 * iconvdata/run-iconv-test.sh: New test loop for checking for
259 2014-09-02 Khem Raj <raj.khem@gmail.com>
261 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
264 2014-09-01 Allan McRae <allan@archlinux.org>
266 * po/eo.po: Update Esperanto translation from translation project.
268 * po/ca.po: Update Catalan translation from translation project.
270 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
272 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
275 2014-08-27 Mark Wielaard <mjw@redhat.com>
278 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
279 to call set_thread_area instead of hand written asm.
280 (__NR_set_thread_area): Removed define.
281 (TLS_FLAG_WRITABLE): Likewise.
282 (__ASSUME_SET_THREAD_AREA): Remove check.
283 (TLS_EBX_ARG): Remove define.
284 (TLS_LOAD_EBX): Likewise.
286 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
288 Simplify atomicity of socket creation in bind.
290 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
291 looking up the name after linking the file.
293 2014-08-27 Allan McRae <allan@archlinux.org>
295 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
297 2014-08-26 Florian Weimer <fweimer@redhat.com>
300 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
301 trans_compare, open_translit, __gconv_translit_find):
302 Remove module loading code.
304 2014-08-26 Allan McRae <allan@archlinux.org>
306 * po/vi.po: Update Vietnamese translation from translation project.
308 * po/uk.po: Update Ukrainian translation from translation project.
310 * po/fr.po: Update French translation from translation project.
312 * po/ru.po: Update Russian translation from translation project.
314 * po/pl.po: Update Polish translation from translation project.
316 * po/cs.po: Update Czech translation from translation project.
318 * po/de.po: Update German translation from translation project.
320 * po/bg.po: Update Bulgarian translation from translation project.
322 * po/sv.po: Update Sweedish translation from translation project.
324 * po/nl.po: Update Dutch translation from translation project.
326 * po/es.po: Update Spanish translation from translation project.
328 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
330 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
332 * catgets/Makefile (CPPFLAGS-gencat): Remove.
333 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
334 (CPPFLAGS-iconvconfig): Likewise.
335 * timezone/Makefile (CPPFLAGS-zic): Likewise.
337 * include/libc-symbols.h: Remove unnecessary check for
339 * nptl/pthreadP.h: Likewise.
340 * sysdeps/aarch64/setjmp.S: Likewise.
341 * sysdeps/alpha/setjmp.S: Likewise.
342 * sysdeps/arm/sysdep.h: Likewise.
343 * sysdeps/i386/setjmp.S: Likewise.
344 * sysdeps/m68k/setjmp.c: Likewise.
345 * sysdeps/posix/getcwd.c: Likewise.
346 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
347 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
348 * sysdeps/s390/s390-32/setjmp.S: Likewise.
349 * sysdeps/s390/s390-64/setjmp.S: Likewise.
350 * sysdeps/sh/sh3/setjmp.S: Likewise.
351 * sysdeps/sh/sh4/setjmp.S: Likewise.
352 * sysdeps/unix/alpha/sysdep.h: Likewise.
353 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
354 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
355 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
356 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
359 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
360 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
361 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
362 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
363 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
364 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
365 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
366 * sysdeps/x86_64/setjmp.S: Likewise.
368 2014-08-13 Joseph Myers <joseph@codesourcery.com>
371 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
373 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
374 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
376 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
378 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
381 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
382 and __x86_64__ when disabling x87 inline functions.
384 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
387 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
388 asm statement with __cpuid_count.
390 2014-08-12 Mike Frysinger <vapier@gentoo.org>
392 * configure.ac: Change __ehdr_start code to dereference the struct.
393 Run readelf on the output to look for relocations.
394 * configure: Regenerated.
396 2014-08-12 Joseph Myers <joseph@codesourcery.com>
399 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
401 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
403 2014-08-12 Roland McGrath <roland@hack.frob.com>
405 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
407 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
410 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
411 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
413 2014-08-12 Sean Anderson <seanga2@gmail.com>
415 * malloc/malloc.c: Fix typo in comment.
417 2014-08-09 Allan McRae <allan@archlinux.org>
419 * Regenerate libc.po.
421 2014-08-08 Mike Frysinger <vapier@gentoo.org>
423 * intl/tst-gettext2.sh: Check every lang file for creation.
425 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
427 * sysdeps/aarch64/fpu/math_private.h
428 (libc_feholdsetround_noex_aarch64_ctx): New function.
430 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
432 * sysdeps/arm/armv6/strcpy.S (strcpy):
433 Fix performance issue in misaligned cases.
435 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
437 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
438 Move definition from termios.h.
439 (struct termio): Likewise.
440 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
441 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
442 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
443 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
445 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
446 Move definition to ioctl-types.h
447 (struct termio): Likewise.
448 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
449 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
450 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
451 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
454 2014-08-05 Richard Henderson <rth@redhat.com>
456 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
458 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
460 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
462 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
463 Protect libm symbols with IS_IN_libm.
465 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
467 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
469 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
471 2014-08-04 Will Newton <will.newton@linaro.org>
473 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
476 2014-08-04 Mike Frysinger <vapier@gentoo.org>
478 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
479 variants for each function.
481 2014-08-04 Roland McGrath <roland@hack.frob.com>
483 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
485 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
486 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
488 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
489 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
490 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
491 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
492 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
493 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
494 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
495 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
496 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
497 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
498 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
499 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
500 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
501 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
502 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
503 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
504 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
505 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
506 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
507 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
508 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
509 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
510 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
511 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
512 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
513 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
514 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
515 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
516 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
517 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
518 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
519 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
520 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
521 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
522 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
523 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
524 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
525 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
526 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
527 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
528 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
529 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
530 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
531 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
532 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
533 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
534 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
535 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
536 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
537 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
538 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
539 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
540 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
542 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
543 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
545 2014-08-04 Roland McGrath <roland@hack.frob.com>
547 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
548 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
549 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
550 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
551 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
552 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
554 2014-08-04 Roland McGrath <roland@hack.frob.com>
556 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
557 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
558 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
559 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
561 2014-08-04 Roland McGrath <roland@hack.frob.com>
563 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
564 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
565 (__libc_vfork): Define function under this name.
566 (__vfork): Define as an alias.
567 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
568 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
570 2014-08-04 Roland McGrath <roland@hack.frob.com>
572 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
573 that was previously under [RESET_PID].
574 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
576 2014-08-04 Andreas Schwab <schwab@suse.de>
578 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
580 2014-08-03 Mike Frysinger <vapier@gentoo.org>
582 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
585 2014-08-01 Roland McGrath <roland@hack.frob.com>
587 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
589 2014-08-01 Richard Henderon <rth@redhat.com>
591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
592 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
593 typo in exact zero test.
594 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
595 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
596 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
598 2014-08-01 Roland McGrath <roland@hack.frob.com>
600 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
601 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
602 * sysdeps/arm/sysdep.h: ... here.
603 [!__ASSEMBLER__]: Include <stdint.h>.
605 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
607 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
608 (HAVE_WCTYPE_H): Likewise.
609 (HAVE_ISWCTYPE): Likewise.
610 (ENABLE_NLS): Likewise.
611 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
612 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
614 * posix/regex_internal.c: Check if DEBUG is defined and is
617 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
618 (HAVE_MBSRTOWCS): Likewise.
619 * posix/fnmatch.c: Include string.h unconditionally.
621 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
623 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
626 2014-07-31 Roland McGrath <roland@hack.frob.com>
628 * sysdeps/generic/safe-fatal.h: New file.
629 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
630 * nptl/forward.c: Include it.
631 (__pthread_unwind): Use __safe_fatal as default action, rather
632 than a bogus use of INTERNAL_SYSCALL that could never work.
634 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
635 * configure.ac (libc_cv_builtin_trap): New test.
636 * configure: Regenerated.
637 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
638 (ABORT_INSTRUCTION): Define using __builtin_trap.
640 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
641 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
642 * sysdeps/nptl/nptl-signals.h: New file.
643 * nptl/pthreadP.h: Include <nptl-signals.h>.
645 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
647 * sysdeps/s390/s390-64/utf16-utf32-z9.c
648 (ONE_DIRECTION): Define.
649 * sysdeps/s390/s390-64/utf8-utf16-z9.c
650 (ONE_DIRECTION): Define.
651 * sysdeps/s390/s390-64/utf8-utf32-z9.c
652 (ONE_DIRECTION): Define.
654 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
656 * sysdeps/s390/Makefile: Delete file.
657 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
658 * sysdeps/s390/__longjmp.c: Delete file.
659 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
660 Remove fields __flags and __reserved.
661 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
663 * sysdeps/s390/rtld-__longjmp.c: Delete file.
664 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
665 * sysdeps/s390/rtld-setjmp.S: Likewise.
666 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
667 * sysdeps/s390/s390-32/__longjmp.c: ... here.
668 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
669 * sysdeps/s390/s390-32/setjmp.S: ... here.
671 (__sigsetjmp): Remove setting __flags field.
672 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
673 * sysdeps/s390/s390-64/__longjmp.c: ... here.
674 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
675 * sysdeps/s390/s390-64/setjmp.S: ... here.
677 (__sigsetjmp): Remove setting __flags field.
678 * sysdeps/s390/setjmp.S: Delete file.
679 * sysdeps/s390/sigjmp.c: Likewise.
680 * sysdeps/s390/v1-longjmp.c: Likewise.
681 * sysdeps/s390/v1-setjmp.h: Likewise.
682 * sysdeps/s390/v1-sigjmp.c: Likewise.
683 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
684 Remove v1-longjmp_chk.
685 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
686 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
687 Include debug/longjmp_chk.c and add versioning.
688 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
689 Include nptl/pt-longjmp.c and add versioning.
690 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
691 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
693 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
695 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
696 (__getcontext): Remove setting __flags field.
698 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
699 Don't restore upper high grps.
700 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
702 (__swapcontext): Remove setting uc_flags field.
703 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
705 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
707 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
709 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
710 (__getcontext): Remove setting __flags field.
712 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
713 (__swapcontext): Remove setting uc_flags field.
714 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
715 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
716 Remove fields uc_high_gprs and __reserved.
717 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
718 New file with reverted content.
719 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
720 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
722 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
725 2014-07-31 Andreas Schwab <schwab@suse.de>
727 * config.h.in (HAVE_IFUNC): Define to 0.
728 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
731 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
734 memmove-avx-unaligned, memcpy-avx-unaligned and
735 mempcpy-avx-unaligned.
736 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
737 Add tests for AVX memcpy functions.
738 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
739 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
741 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
742 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
744 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
745 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
747 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
748 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
749 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
751 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
754 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
757 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
760 * manual/llio.texi: Add section about open file description locks.
761 * manual/examples/ofdlocks.c: Example of open file description
763 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
764 F_OFD_SETLK, and F_OFD_SETLKW.
766 2014-07-23 Allan McRae <allan@archlinux.org>
768 * po/es.po: Update Spanish translation from translation project.
770 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
772 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
774 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
777 * sysdeps/arm/dl-machine.h (elf_machine_rela)
778 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
779 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
781 2014-07-17 Joseph Myers <joseph@codesourcery.com>
784 * math/fesetenv.c (__fesetenv)
785 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
786 * math/feupdateenv.c (__feupdateenv)
787 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
789 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
790 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
791 (__ASSUME_SOCKETCALL): Do not define.
793 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
794 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
795 (__ASSUME_SOCKETCALL): Do not define.
796 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
797 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
798 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
799 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
800 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
801 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
802 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
803 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
805 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
806 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
807 (__ASSUME_SOCKETCALL): Do not define.
808 (__ASSUME_IPC64): Define unconditionally.
809 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
810 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
811 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
812 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
813 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
814 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
815 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
818 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
819 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
820 (__ASSUME_SOCKETCALL): Do not define.
821 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
822 (__ASSUME_FUTEX_LOCK_PI): Likewise.
823 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
824 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
825 (__ASSUME_REQUEUE_PI): Define unconditionally.
826 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
827 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
828 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
829 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
830 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
831 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
833 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
834 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
835 (__ASSUME_SOCKETCALL): Do not define.
836 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
837 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
838 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
839 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
840 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
841 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
843 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
844 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
845 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
846 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
847 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
848 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
849 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
850 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
851 (__ASSUME_GETCPU_SYSCALL): Likewise.
853 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
854 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
855 cases for individual architectures.
856 * sysdeps/gnu/configure: Regenerated.
857 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
858 LIBC_SLIBDIR_RTLDDIR.
859 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
860 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
861 LIBC_SLIBDIR_RTLDDIR.
862 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
864 LIBC_SLIBDIR_RTLDDIR.
865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
867 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
868 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
870 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
871 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
873 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
874 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
875 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
876 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
878 * sysdeps/aarch64/shlib-versions: Move to ...
879 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
880 * sysdeps/alpha/shlib-versions: Move to ...
881 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
882 * sysdeps/arm/shlib-versions: Move to ...
883 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
884 * sysdeps/hppa/shlib-versions: Move all contents except for
885 libgcc_s entry to ...
886 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
888 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
889 * sysdeps/ia64/shlib-versions: Move to ...
890 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
892 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
893 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
894 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
895 * sysdeps/microblaze/shlib-versions: Move to ...
896 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
897 * sysdeps/mips/shlib-versions: Move to ...
898 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
900 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
901 * sysdeps/tile/shlib-versions: Move to ...
902 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
903 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
905 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
906 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
908 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
910 2014-07-17 Will Newton <will.newton@linaro.org>
912 * sysdeps/arm/bits/atomic.h
913 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
914 (__arch_compare_and_exchange_bool_16_int): Likewise.
915 (__arch_compare_and_exchange_bool_64_int): Likewise.
917 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
920 2014-07-16 Roland McGrath <roland@hack.frob.com>
922 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
923 just Linux configurations. Test empirically that the compiler sets
924 __ARM_EABI__, rather than using the tuple to decide.
925 * sysdeps/arm/preconfigure: Regenerated.
926 * sysdeps/unix/sysv/linux/arm/configure: File removed.
927 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
928 contents appended ...
929 * sysdeps/arm/configure.ac: ... here.
930 * sysdeps/arm/configure: Regenerated.
932 2014-07-15 Roland McGrath <roland@hack.frob.com>
934 * nptl/pthread_kill.c: New file.
935 * nptl/pthread_sigmask.c: New file.
936 * nptl/pthread_sigqueue.c: New file.
938 * sysdeps/nptl/lowlevellock.h: New file.
939 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
940 * sysdeps/nptl/lowlevellock-futex.h: New file.
942 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
943 Remove dead declarations.
945 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
947 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
948 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
950 * sysdeps/x86_64/configure.ac: Likewise.
951 * sysdeps/i386/configure: Regenerated.
952 * sysdeps/x86_64/configure: Likewise.
953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
954 memset-avx2 only if config-cflags-avx2 is yes.
955 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
956 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
958 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
959 only if HAVE_AVX2_SUPPORT is defined.
960 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
962 2014-07-14 Alan Modra <amodra@gmail.com>
965 * elf/elf.h (DT_PPC64_NUM): Correct value.
966 * NEWS: Add to fixed bug list.
968 2014-07-13 Jim Meyering <meyering@fb.com>
971 regex: don't deref NULL upon heap allocation failure
972 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
973 failure in one more place.
974 To trigger the segfault, configure grep -with-included-regex,
975 build it, and run these commands:
976 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
978 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
980 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
982 2014-07-11 Richard Henderson <rth@redhat.com>
984 * sysdeps/aarch64/libm-test-ulps: Update.
986 2014-07-10 Florian Weimer <fweimer@redhat.com>
989 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
990 * nptl/allocatestack.c (__nptl_setxid_error): New function.
991 (__nptl_setxid): Initialize error member. Call
993 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
994 * nptl/descr.h (struct xid_command): Add error member.
995 * nptl/tst-setuid3.c: New file.
996 * nptl/Makefile (tests): Add it.
998 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1000 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1002 (__lll_trylock): Use __lll_base_trylock.
1003 (__lll_cond_trylock): Likewise.
1005 2014-07-10 Roland McGrath <roland@hack.frob.com>
1007 * nptl/pthread_create.c (start_thread): Use atomic_or and
1008 lll_futex_wake directly rather than lll_robust_dead.
1009 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1010 (lll_robust_dead): Macro removed.
1011 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1012 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1013 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1014 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1015 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1016 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1017 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1018 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1019 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1020 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1021 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1022 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1023 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1024 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1025 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1027 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1028 Use atomic_compare_and_exchange_val_acq directly rather than
1030 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1031 (__lll_robust_trylock, lll_robust_trylock): Removed.
1032 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1033 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1034 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1035 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1036 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1037 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1038 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1039 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1040 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1041 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1042 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1043 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1044 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1045 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1047 2014-07-02 Florian Weimer <fweimer@redhat.com>
1049 * manual/locale.texi (Locale Names): New section documenting
1050 locale name syntax. Adjust menu and node chaining accordingly.
1051 (Choosing Locale): Reference Locale Names, Locale Categories.
1052 Mention setting LC_ALL=C. Reflect that name syntax is now
1054 (Locale Categories): New section title. Reference Locale Names.
1055 LC_ALL is an environment variable, but not a category.
1056 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1057 description, now in Locale Name. Reference that section. Locale
1058 name syntax is now documented.
1060 2014-07-02 Florian Weimer <fweimer@redhat.com>
1063 * locale/findlocale.c (name_present, valid_locale_name): New
1065 (_nl_find_locale): Use the loc_name variable to store name
1066 candidates. Call name_present and valid_locale_name to check and
1067 validate locale names. Return an error if the locale is invalid.
1069 2014-07-02 Florian Weimer <fweimer@redhat.com>
1071 * locale/setlocale.c (setlocale): Use strdup for allocating
1072 composite name copy.
1074 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1076 Sync up with gnulib.
1077 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1078 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1079 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1080 and _GL_ARG_NONNULL.
1081 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1082 [!_LIBC]: Include code for Windows and Cygwin.
1083 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1084 Include prototype for int strerror_r.
1085 [!_LIBC] (is_open): New function.
1086 (flush_stdout): New function.
1087 (print_errno_message): Use it.
1089 (error_at_line): Likewise.
1090 (error_tail) Add function attribute macros. Use
1093 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1095 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1097 * io/ftw.c: Include sys/param.h unconditionally.
1099 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1102 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1104 (freecache): New function to free CACHE on exit.
1106 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1109 2014-07-09 David S. Miller <davem@davemloft.net>
1111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1113 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1114 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1115 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1116 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1117 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1118 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1119 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1120 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1121 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1122 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1123 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1124 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1125 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1127 2014-07-09 Andreas Schwab <schwab@suse.de>
1129 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1131 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1132 (do_test): Likewise.
1134 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1136 2014-07-09 Will Newton <will.newton@linaro.org>
1138 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1139 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1140 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1141 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1142 * sysdeps/hppa/start.S (_start): Likewise.
1144 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1146 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1148 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1151 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1153 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1154 after checking that it is non-NULL.
1156 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1158 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1160 * sysdeps/powerpc/memmove.c: Remove file.
1161 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1162 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1163 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1164 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1165 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1166 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1167 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1168 string memmove instead of removed powerpc one.
1170 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1171 [weak_alias]: Fix compiler warning due trailing data.
1172 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1173 [weak_alias]: Likewise.
1174 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1175 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1177 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1178 (__libc_ifunc_impl_list): Add memmove functions.
1180 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1182 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1184 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1186 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1188 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1190 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1192 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1194 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1196 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1198 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1200 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1202 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1204 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1206 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1208 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1210 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1212 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1214 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1217 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1219 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1220 to avoid alignment traps in non-cacheable memory.
1221 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1223 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1225 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1226 file: multiarch power7 memmove.
1227 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1228 multiarch default memmove.
1229 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1230 multiarch memove for powerpc32/power4.
1232 * string/bcopy.c: Use full path to include memmove.c.
1233 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1235 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1236 bcopy for powerpc64.
1237 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1238 bcopy for powerpc64.
1239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1240 and memmove implementations.
1241 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1242 optimized multiarch memmove for POWER7/powerpc64.
1243 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1244 default multiarch memmove for powerpc64.
1245 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1246 multiarch for powerpc64.
1247 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1248 for POWER7/powerpc64.
1249 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1250 memmove for POWER7/powerpc64.
1252 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1255 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1256 __ELF_NATIVE_CLASS equal to 64.
1258 2014-07-07 Roland McGrath <roland@hack.frob.com>
1260 * sysdeps/nptl/lowlevellock.h: File removed.
1262 * NEWS: NPTL is no longer an add-on!
1263 * nptl/internaltypes.h: Moved ...
1264 * sysdeps/nptl/internaltypes.h: ... here.
1265 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1266 * sysdeps/nptl/fork.c: Likewise.
1267 * sysdeps/nptl/gai_misc.h: Likewise.
1268 * sysdeps/nptl/librt-cancellation.c: Likewise.
1269 * sysdeps/nptl/jmp-unwind.c: Likewise.
1270 * sysdeps/nptl/setxid.h: Likewise.
1271 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1272 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1273 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1274 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1275 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1276 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1277 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1278 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1279 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1280 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1281 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1282 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1283 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1284 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1285 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1286 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1287 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1288 * nptl/Makeconfig: Moved ...
1289 * sysdeps/nptl/Makeconfig: ... here.
1290 * nptl/configure: File removed.
1291 * nptl/ANNOUNCE: File removed.
1292 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1293 * sysdeps/unix/sysv/linux/configure: Regenerated.
1295 * nptl/Makefile (routines): Add libc_pthread_init,
1296 libc_multiple_threads, register-atfork and unregister-atfork.
1297 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1298 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1299 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1300 pthread-pi-defines.sym, structsem.sym.
1301 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1302 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1303 [$(subdir) = nptl] (tests): Add tst-setgetname.
1304 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1305 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1306 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1307 [!LIBC_SIGACTION]: Remove aliases.
1308 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1309 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1310 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1311 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1312 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1313 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1314 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1315 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1316 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1317 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1318 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1319 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1320 __libc_allocate_rtsig_private.
1321 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1322 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1323 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1324 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1325 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1326 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1327 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1328 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1329 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1330 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1331 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1332 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1333 * nptl/internaltypes.h: ... here.
1334 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1335 * sysdeps/nptl/jmp-unwind.c: ... here.
1336 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1337 * nptl/libc-lowlevellock.c: ... here.
1338 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1339 * nptl/libc_multiple_threads.c: ... here.
1340 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1341 * nptl/libc_pthread_init.c: ... here.
1342 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1343 * nptl/lowlevelbarrier.sym: ... here.
1344 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1345 * nptl/lowlevelcond.sym: ... here.
1346 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1347 * nptl/lowlevellock.c: ... here.
1348 * nptl/lowlevellock.h: Moved ...
1349 * sysdeps/nptl/lowlevellock.h: ... here.
1350 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1351 * nptl/lowlevelrobustlock.c: ... here.
1352 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1353 * nptl/lowlevelrobustlock.sym: ... here.
1354 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1355 * nptl/lowlevelrwlock.sym: ... here.
1356 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1357 * nptl/pt-fork.c: ... here.
1358 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1359 * nptl/pthread-pi-defines.sym: ... here.
1360 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1361 * nptl/pthread_attr_getaffinity.c: ... here.
1362 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1363 * nptl/pthread_attr_setaffinity.c: ... here.
1364 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1365 * nptl/pthread_mutex_cond_lock.c: ... here.
1366 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1368 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1369 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1370 * nptl/pthread_once.c: ... here, replacing old file.
1371 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1372 * nptl/pthread_yield.c: ... here.
1373 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1374 * nptl/register-atfork.c: ... here.
1375 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1376 * nptl/sem_post.c: ... here.
1377 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1378 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1379 * nptl/sem_timedwait.c: ... here.
1380 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1381 * nptl/sem_trywait.c: ... here.
1382 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1383 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1384 * nptl/sem_wait.c: ... here.
1385 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1386 * nptl/structsem.sym: ... here.
1387 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1388 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1389 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1390 * nptl/unregister-atfork.c: ... here.
1391 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1392 * nptl/unwindbuf.sym: ... here.
1393 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1394 * sysdeps/nptl/fork.c: ... here.
1395 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1396 * sysdeps/nptl/fork.h: ... here.
1397 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1398 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1399 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1400 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1401 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1402 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1403 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1404 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1405 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1406 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1407 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1408 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1409 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1410 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1411 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1412 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1413 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1414 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1415 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1416 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1417 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1418 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1419 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1420 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1421 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1422 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1423 * sysdeps/unix/sysv/linux/raise.c: ... here.
1424 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1425 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1426 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1427 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1428 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1429 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1430 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1431 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1432 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1433 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1434 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1435 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1436 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1437 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1438 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1440 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1442 * sysdeps/generic/memcopy.h: Add comment for
1443 MEMCPY_OK_FOR_FWD_MEMMOVE.
1445 2014-07-04 Will Newton <will.newton@linaro.org>
1447 * string/memchr.c: Merge from gnulib.
1448 [_LIBC]: Remove conditionals.
1449 (__ptr_t): Remove define.
1450 (LONG_MAX_32_BITS): Likewise.
1451 (LONG_MAX): Likewise.
1452 (MEMCHR): Use ANSI prototype and optimize algorithm.
1454 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1456 2014-07-03 Roland McGrath <roland@hack.frob.com>
1458 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1459 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1461 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1462 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1463 in a bare environment with no <stdlib.h> installed.
1464 * sysdeps/nptl/configure: Regenerated.
1466 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1468 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1469 AC_EGREP_CPP for kernel header checks, so they only succeed if
1470 including <linux/version.h> actually works right.
1471 * sysdeps/unix/sysv/linux/configure: Regenerated.
1473 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1474 value so it's not diagnosed as unused.
1476 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1477 thing) with "ifeq ($(subdir),rt)".
1479 2014-07-03 Richard Henderson <rth@redhat.com>
1481 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1482 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1483 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1485 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1486 (math_force_eval): New.
1488 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1489 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1491 * sysdeps/alpha/fpu/s_round.c: Remove file.
1492 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1494 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1495 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1496 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1497 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1498 (_dl_start, print_statistics): Likewise.
1499 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1500 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1502 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1503 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1504 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1505 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1506 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1507 (HP_SMALL_TIMING_AVAIL): Define.
1508 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1509 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1510 (HP_SMALL_TIMING_AVAIL): Define.
1511 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1512 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1514 * sysdeps/aarch64/hp-timing.h: New file.
1516 * sysdeps/generic/hp-timing.h: Remove dead comment.
1517 * sysdeps/generic/hp-timing-common.h: New file.
1518 * sysdeps/alpha/hp-timing.h: Include it.
1519 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1520 * sysdeps/i386/i686/hp-timing.h: Likewise.
1521 * sysdeps/ia64/hp-timing.h: Likewise.
1522 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1523 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1524 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1525 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1526 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1527 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1530 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1531 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1532 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1533 * elf/rtld.c (_dl_start_final): Likewise.
1534 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1535 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1536 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1537 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1538 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1539 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1540 (HP_TIMING_DIFF_INIT): Remove.
1541 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1542 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1543 (HP_TIMING_DIFF_INIT): Remove.
1544 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1545 * sysdeps/i386/i686/hp-timing.c: Remove file.
1546 * sysdeps/x86_64/hp-timing.c: Remove file.
1547 * sysdeps/ia64/hp-timing.c: Remove file.
1548 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1549 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1550 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1551 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1553 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1554 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1555 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1556 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1557 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1558 (HP_TIMING_ACCUM): Remove.
1559 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1560 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1561 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1563 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1564 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1565 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1566 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1567 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1568 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1569 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1570 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1572 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1574 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1576 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1578 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1580 Sync up with gettext.
1581 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1582 [_MSC_VER]: Include malloc.h
1583 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1584 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1585 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1586 TEMP_FAILURE_RETRY. Cast return of alloca.
1587 [!_LIBC] Call gl_rwlock_init.
1588 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1590 2014-07-02 Roland McGrath <roland@hack.frob.com>
1592 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1593 before checking its value.
1595 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1597 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1599 * debug/memcpy_chk.c: Don't include pagecopy.h.
1600 * debug/mempcpy_chk.c: Likewise.
1601 * string/memcpy.c: Likewise.
1602 * string/memmove.c: Likewise.
1603 * sysdeps/powerpc/memmove.c: Likewise.
1604 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1605 definition of PAGE_COPY_FWD_MAYBE here...
1606 * sysdeps/generic/pagecopy.h: ... from here.
1607 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1609 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1610 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1612 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1616 (__libc_ifunc_impl_list): Likewise.
1617 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1618 multiarch strcat for PPC64.
1619 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1620 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1622 2014-07-02 Roland McGrath <roland@hack.frob.com>
1624 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1626 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1628 * intl/loadmsgcat.c: Remove declaration of
1629 get_sysdep_segment_value.
1630 (get_sysdep_segment_value): Use ISO C style.
1631 (_nl_load_domain): Use ISO C style. Get rid of redundant
1632 semicolon. Fix typo and formatting in comment.
1633 (_nl_unload_domain): Use ISO C style.
1635 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1637 2014-07-02 Will Newton <will.newton@linaro.org>
1639 * malloc/obstack.c: Merge from gnulib master.
1640 [HAVE_CONFIG_H]: Remove conditional code.
1641 [!_LIBC]: Include config.h.
1642 [!ELIDE_CODE]: Don't include inttypes.h, include
1643 stdint.h unconditionally.
1644 (print_and_abort): Mark as _Noreturn.
1645 (_obstack_allocated_p): Mark as __attribute_pure__.
1646 (obstack_free): Rename to __obstack_free.
1647 [!__attribute__]: Remove conditional code.
1648 * malloc/obstack.h: Merge from gnulib master.
1649 [__cplusplus]: Move conditional down.
1650 [!__attribute_pure__]: Define __attribute_pure__ here
1651 if it is not already defined.
1652 (_obstack_memory_used): Mark as __attribute_pure__.
1653 [!__obstack_free]: Define as obstack_free.
1654 [__GNUC__]: Remove check for ancient NeXT gcc.
1656 2014-07-02 Will Newton <will.newton@linaro.org>
1657 Paul Eggert <eggert@cs.ucla.edu>
1659 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1661 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1663 * resolv/gethnamaddr.c: Add comment warning that the file is
1666 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1668 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1671 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1672 entry for aio_cancel and aio_cancel64.
1673 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1674 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1675 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1676 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1677 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1678 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1679 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1680 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1681 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1682 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1683 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1684 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1685 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1687 2014-07-01 Roland McGrath <roland@hack.frob.com>
1689 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1690 * nptl/pthread_mutex_lock.c: Likewise.
1691 * nptl/pthread_mutex_timedlock.c: Likewise.
1692 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1694 2014-07-01 Richard henderson <rth@redhat.com>
1696 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1697 (__isnan, __isnanl): Remove.
1698 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1700 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1702 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1704 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1706 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1708 * resolv/nss_dns/dns-host.c (getanswer_r)
1709 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1711 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1713 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1714 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1716 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1717 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1719 2014-07-01 Roland McGrath <roland@hack.frob.com>
1721 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1722 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1724 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1725 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1727 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1728 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1730 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1731 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1733 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1734 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1735 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1736 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1738 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1739 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1740 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1741 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1742 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1744 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1746 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1747 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1748 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1749 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1750 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1751 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1752 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1753 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1754 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1755 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1756 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1757 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1758 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1759 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1760 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1761 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1762 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1763 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1764 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1765 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1767 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1768 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1769 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1770 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1771 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1772 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1773 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1774 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1776 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1778 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1779 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1780 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1783 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1787 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1789 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1790 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1792 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1794 * sysdeps/arm/libm-test-ulps: Regenerated.
1796 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1797 Roland McGrath <roland@hack.frob.com>
1799 * test-skeleton.c (signal_handler): Kill the whole process group
1800 before killing the child individually.
1801 (main): Report any failure on `setpgid'.
1803 2014-06-30 Roland McGrath <roland@hack.frob.com>
1805 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1806 from _TLS_H to _ARM_NPTL_TLS_H.
1807 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1808 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1810 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1813 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1814 (__expm1l): Return argument unchanged when small but not
1817 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1819 (_FP_UNPACK_RAW_1_P): Likewise.
1820 (_FP_PACK_RAW_1): Likewise.
1821 (_FP_PACK_RAW_1_P): Likewise.
1822 (_FP_MUL_MEAT_1_wide): Likewise.
1823 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1824 (_FP_MUL_MEAT_1_hard): Likewise.
1825 (_FP_DIV_MEAT_1_imm): Likewise.
1826 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1827 (_FP_DIV_MEAT_1_udiv): Likewise.
1828 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1829 (_FP_UNPACK_RAW_2): Likewise.
1830 (_FP_UNPACK_RAW_2_P): Likewise.
1831 (_FP_PACK_RAW_2): Likewise.
1832 (_FP_PACK_RAW_2_P): Likewise.
1833 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1834 (_FP_MUL_MEAT_2_wide): Likewise.
1835 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1836 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1837 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1838 (_FP_MUL_MEAT_2_gmp): Likewise.
1839 (_FP_DIV_MEAT_2_udiv): Likewise.
1840 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1841 (_FP_FRAC_SRL_4): Likewise.
1842 (_FP_FRAC_SRST_4): Likewise.
1843 (_FP_FRAC_SRS_4): Likewise.
1844 (_FP_UNPACK_RAW_4): Likewise.
1845 (_FP_UNPACK_RAW_4_P): Likewise.
1846 (_FP_PACK_RAW_4): Likewise.
1847 (_FP_PACK_RAW_4_P): Likewise.
1848 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1849 (_FP_MUL_MEAT_4_wide): Likewise.
1850 (_FP_MUL_MEAT_4_gmp): Likewise.
1851 (umul_ppppmnnn): Likewise.
1852 (_FP_DIV_MEAT_4_udiv): Likewise.
1853 (__FP_FRAC_ADD_4): Likewise.
1854 (__FP_FRAC_SUB_3): Likewise.
1855 (__FP_FRAC_SUB_4): Likewise.
1856 (__FP_FRAC_DEC_3): Likewise.
1857 (__FP_FRAC_DEC_4): Likewise.
1858 (__FP_FRAC_ADDI_4): Likewise.
1859 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1860 (_FP_FRAC_SRL_8): Likewise.
1861 (_FP_FRAC_SRS_8): Likewise.
1863 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1865 (FP_UNPACK_RAW_EP): Likewise.
1866 (FP_PACK_RAW_E): Likewise.
1867 (FP_PACK_RAW_EP): Likewise.
1868 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1869 (_FP_ISSIGNAN): Likewise.
1870 (_FP_ADD_INTERNAL): Likewise.
1871 (_FP_FMA): Likewise.
1872 (_FP_CMP): Likewise.
1873 (_FP_SQRT): Likewise.
1874 (_FP_TO_INT): Likewise.
1875 (_FP_FROM_INT): Likewise.
1876 (FP_EXTEND): Likewise.
1877 (_FP_DIV_MEAT_N_loop): Likewise.
1879 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1881 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1884 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1887 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1888 result with correct sign in case of exponents that produce
1889 overflow except for X very close to 1.
1891 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1893 mktime: merge #if/#ifdef usage from glibc
1894 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1895 as that works with both Glibc's and Gnulib's style.
1896 See thread starting at Siddhesh Poyarekar's bug report at:
1897 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1899 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1901 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1902 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1903 * sysdeps/tile/tilegx/memmove.c: Remove file.
1905 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1907 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1908 abi-name definition.
1909 * scripts/soversions.awk: Do not handle or generate ABI lines.
1910 * shlib-versions: Remove ABI entries.
1911 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1912 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1914 2014-06-27 Roland McGrath <roland@hack.frob.com>
1916 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1917 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1918 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1919 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1920 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1921 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1922 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1924 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1926 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1927 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1928 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1929 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1930 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1931 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1932 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1933 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1934 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1935 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1936 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1937 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1938 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1940 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1941 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1942 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1943 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1944 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1945 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1947 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1948 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1950 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1951 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1952 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1953 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1955 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1956 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1957 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1958 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1959 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1960 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1961 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1962 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1964 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1965 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1966 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1967 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1969 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1970 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1972 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1973 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1974 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1975 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1977 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1979 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1980 Identical file removed.
1981 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1983 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1984 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1985 Identical file removed.
1986 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1987 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1988 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1990 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1991 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1992 Identical file removed.
1993 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1994 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1995 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1996 Identical file removed.
1997 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1998 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1999 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2000 Identical file removed.
2001 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2002 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2003 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2004 Identical file removed.
2005 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2007 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2008 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2009 Identical file removed.
2010 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2012 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2013 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2014 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2015 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2016 Identical file removed.
2017 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2019 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2021 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2022 Identical file removed.
2023 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2025 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2026 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2027 Identical file removed.
2028 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2030 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2031 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2032 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2033 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2034 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2035 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2037 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2038 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2039 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2041 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2042 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2043 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2044 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2045 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2047 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
2050 * nscd/nscd.c (monitor_child): Return exit status of child
2051 instead of return value from wait syscall.
2053 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2055 * configure.ac (libc_commonpagesize): Remove variable.
2056 (libc_relro_required): Likewise.
2057 (libc_cv_z_relro): Remove configure test.
2058 * configure: Regenerated.
2059 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2061 (libc_relro_required): Likewise.
2062 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2063 (libc_relro_required): Likewise.
2064 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2065 (libc_relro_required): Likewise.
2066 * sysdeps/arm/preconfigure: Regenerated.
2067 * sysdeps/ia64/preconfigure: Remove file.
2068 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2070 (libc_relro_required): Likewise.
2074 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2075 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2076 recompute overflowing results in original rounding mode.
2077 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2078 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2079 recompute overflowing results in original rounding mode.
2080 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2081 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2082 recompute overflowing results in original rounding mode.
2083 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2084 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2085 recompute overflowing results in original rounding mode.
2086 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2087 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2088 recompute overflowing results in original rounding mode.
2089 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2090 (libc_feholdsetround_ctx): New macro.
2091 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2092 * sysdeps/i386/fpu/libm-test-ulps: Update.
2093 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2095 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2097 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2098 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2099 corresponding .cpsetup call.
2101 2014-06-26 Roland McGrath <roland@hack.frob.com>
2103 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2104 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2105 * sysdeps/arm/Makefile [$(subdir) = csu]
2106 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2107 (static-only-routines): Add aeabi_read_tp here.
2108 (shared-only-routines): Add libc-aeabi_read_tp here.
2109 (CFLAGS-libc-start.c): Add -fexceptions here.
2110 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2111 (sysdep_routines, static-only-routines, shared-only-routines):
2112 Don't add to these here.
2113 (CFLAGS-libc-start.c): Likewise.
2115 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2116 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2117 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2118 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2119 * sysdeps/arm/Makefile [$(subdir) = rt]
2120 (librt-sysdep_routines, librt-shared-only-routines):
2121 Append rt-aeabi_unwind_cpp_pr1 here.
2122 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2123 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2124 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2125 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2126 Append nptl-aeabi_unwind_cpp_pr1 here.
2127 (tests): Filter out tst-cleanupx4 here.
2128 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2129 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2130 Don't do those here.
2132 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2134 * scripts/list-sources.sh: Do not handle ports specially.
2136 2014-06-26 Roland McGrath <roland@hack.frob.com>
2138 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2139 * sysdeps/arm/feupdateenv.c: Likewise.
2141 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2143 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2145 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2146 trailing whitespace removed.
2147 * scripts/config.guess: Update to version 2014-03-23.
2148 * scripts/config.sub: Update to version 2014-05-01
2149 * scripts/install-sh: Update to version 2013-12-25.23.
2150 * scripts/move-if-change: Update from gnulib.
2152 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2154 * debug/memmove_chk.c: Remove pagecopy.h include.
2156 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2158 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2159 identical to gnulib mktime.
2161 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2163 * configure.ac: Do not test for machine being rs6000. Do not test
2165 * configure: Regenerated.
2167 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2169 * configure: Regenerated.
2170 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2171 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2172 Remove configure test.
2173 * sysdeps/arm/configure: Regenerated.
2174 * sysdeps/nptl/configure.ac: Do not check
2175 libc_cv_asm_cfi_directives.
2176 * sysdeps/nptl/configure: Regenerated.
2177 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2178 * sysdeps/x86_64/nptl/configure: Remove generated file.
2179 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2181 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2183 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2185 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2186 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2187 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2190 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2191 instead of whether it is defined.
2192 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2193 * sysdeps/hppa/dl-machine.h: Likewise.
2194 * sysdeps/ia64/dl-machine.h: Likewise.
2195 * sysdeps/m68k/dl-machine.h: Likewise.
2196 * sysdeps/microblaze/dl-machine.h: Likewise.
2197 * sysdeps/mips/dl-machine.: Likewise.
2198 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2199 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2200 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2201 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2202 * sysdeps/sh/dl-machine.h: Likewise.
2203 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2204 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2205 * sysdeps/tile/dl-machine.h: Likewise.
2206 * sysdeps/x86_64/dl-machine.h: Likewise.
2208 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2210 (verify_persistent_db): Likewise.
2212 2014-06-26 Roland McGrath <roland@hack.frob.com>
2214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2215 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2217 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2220 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2223 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2225 Identical file removed.
2226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2227 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2229 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2231 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2233 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2235 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2238 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2240 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2242 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2245 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2247 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2249 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2251 Identical file removed.
2252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2253 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2255 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2258 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2261 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2263 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2265 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2267 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2269 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2272 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2275 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2277 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2280 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2282 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2284 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2286 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2287 * sysdeps/unix/sysv/linux/s390/Versions
2288 (libpthread: GLIBC_2.19): New version set.
2289 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2290 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2291 (librt: GLIBC_2.3.3): New version set.
2292 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2293 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2294 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2295 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2296 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2297 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2298 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2299 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2300 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2301 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2302 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2303 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2304 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2305 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2306 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2307 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2308 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2309 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2310 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2311 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2312 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2313 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2314 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2315 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2316 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2317 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2318 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2319 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2320 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2321 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2322 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2323 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2324 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2325 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2326 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2327 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2328 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2329 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2330 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2331 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2332 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2333 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2334 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2335 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2336 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2338 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2339 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2340 (__libc_vfork): Define the function under this name.
2341 [!NOT_IN_libc] (__vfork): Make this an alias.
2342 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2343 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2344 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2345 (__libc_vfork): Define the function under this name.
2346 [!NOT_IN_libc] (__vfork): Make this an alias.
2347 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2348 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2349 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2350 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2351 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2352 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2354 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2355 code that was previously under [RESET_PID].
2356 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2357 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2358 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2360 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2361 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2362 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2363 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2364 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2365 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2366 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2367 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2368 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2369 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2370 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2372 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2373 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2374 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2375 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2376 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2377 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2378 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2379 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2380 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2381 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2382 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2383 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2384 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2385 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2386 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2387 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2388 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2389 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2390 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2391 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2392 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2393 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2394 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2395 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2396 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2397 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2398 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2399 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2400 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2402 2014-06-25 Roland McGrath <roland@hack.frob.com>
2404 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2405 that was previously under [RESET_PID].
2406 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2408 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2410 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2411 not undefine and redefine.
2412 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2413 [O_CLOEXEC]: Make code unconditional.
2414 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2415 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2416 <kernel-features.h>.
2417 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2418 conditional variable definition.
2419 (shm_open) [O_CLOEXEC]: Make code unconditional.
2420 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2423 * configure.ac (USE_REGPARMS): Don't define here.
2424 * configure: Regenerated.
2425 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2426 * sysdeps/i386/configure: Regenerated.
2428 * nptl/createthread.c: Don't include kernel-features.h.
2429 * nptl/pthread_cancel.c: Likewise.
2430 * nptl/pthread_condattr_setclock.c: Likewise.
2431 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2432 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2433 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2434 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2435 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2436 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2437 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2438 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2439 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2440 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2441 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2442 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2443 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2444 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2445 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2446 * nscd/gai.c: Likewise.
2447 * nss/nss_db/db-open.c: Likewise.
2448 * sysdeps/generic/ldsodefs.h: Likewise.
2449 * sysdeps/sh/nptl/tls.h: Likewise.
2450 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2451 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2452 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2453 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2454 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2455 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2456 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2457 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2458 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2459 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2460 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2461 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2462 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2463 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2464 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2465 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2466 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2467 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2468 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2469 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2470 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2471 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2472 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2473 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2474 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2475 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2476 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2477 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2478 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2479 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2480 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2481 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2482 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2483 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2484 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2485 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2486 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2487 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2488 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2489 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2490 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2491 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2492 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2493 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2494 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2495 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2496 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2497 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2498 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2499 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2500 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2501 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2502 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2503 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2504 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2505 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2506 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2507 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2530 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2531 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2532 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2533 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2534 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2535 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2536 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2537 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2538 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2539 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2540 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2541 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2542 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2543 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2544 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2545 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2546 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2547 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2548 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2549 * sysdeps/unix/sysv/linux/system.c: Likewise.
2550 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2551 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2552 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2553 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2554 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2555 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2556 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2558 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2559 * configure: Regenerated.
2560 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2562 * configure.ac (base_machine): Do not set specially for particular
2564 * configure: Regenerated.
2565 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2566 settings from configure.ac.
2567 * sysdeps/i386/preconfigure: New file.
2568 * sysdeps/s390/preconfigure: Likewise.
2569 * sysdeps/sh/preconfigure: Likewise.
2570 * sysdeps/sparc/preconfigure: Likewise.
2572 2014-06-25 Roland McGrath <roland@hack.frob.com>
2574 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2575 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2576 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2577 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2578 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2579 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2580 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2581 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2582 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2583 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2584 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2585 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2586 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2587 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2588 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2589 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2590 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2591 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2592 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2594 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2595 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2596 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2597 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2598 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2599 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2600 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2601 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2602 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2603 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2604 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2605 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2606 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2607 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2608 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2609 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2610 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2611 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2612 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2613 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2614 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2615 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2616 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2617 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2618 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2619 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2620 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2621 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2622 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2623 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2624 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2625 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2626 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2627 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2628 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2629 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2630 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2631 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2634 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2636 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2639 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2642 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2644 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2647 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2649 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2651 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2653 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2656 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2659 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2661 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2664 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2666 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2668 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2670 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2672 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2675 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2678 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2680 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2683 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2685 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2687 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2689 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2692 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2695 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2697 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2700 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2702 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2704 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2706 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2708 * timezone/checktab.awk: Update from tzcode 2014e.
2709 * timezone/private.h: Likewise.
2710 * timezone/tzfile.h: Likewise.
2711 * timezone/zdump.c: Likewise.
2712 * timezone/zic.c: Likewise.
2714 * sysdeps/unix/sysv/linux/kernel-features.h
2715 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2716 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2717 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2718 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2719 Remove conditional code.
2721 2014-06-25 Will Newton <will.newton@linaro.org>
2723 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2724 (_dl_arm_cap_flags): Add HWCAP2 values.
2725 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2726 (_DL_HWCAP_COUNT): Increase to 37.
2727 (_DL_HWCAP_LAST): New define.
2728 (_DL_HWCAP2_LAST): New define.
2729 (_dl_procinfo): Add support for printing
2731 (_dl_string_hwcap): Use _dl_hwcap_string.
2733 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2737 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2739 * README: Do not mention ports directory.
2741 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2743 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2744 <kernel-features.h>.
2745 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2746 conditional variable definition.
2747 (__futimes): Update comment.
2748 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2749 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2752 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2753 arguments close to 0.
2754 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2756 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2758 * math/auto-libm-test-in: Add more tests of exp10.
2759 * math/auto-libm-test-out: Regenerated.
2760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2762 * sysdeps/unix/sysv/linux/kernel-features.h
2763 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2764 * sysdeps/unix/sysv/linux/readv.c: Do not include
2765 <kernel-features.h>.
2766 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2767 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2768 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2770 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2772 * sysdeps/unix/sysv/linux/writev.c: Do not include
2773 <kernel-features.h>.
2774 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2775 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2776 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2778 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2781 2014-06-25 Will Newton <will.newton@linaro.org>
2783 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2784 comment changes throughout the file. Remove checks
2785 for HAVE_*_H definitions that are not required.
2786 (__gen_tempname): Call abort if an unknown kind value is
2789 2014-06-25 Andreas Schwab <schwab@suse.de>
2792 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2793 scalbln, scalblnf, scalblnl in libc.
2795 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2798 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2799 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2800 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2802 2014-06-24 Roland McGrath <roland@hack.frob.com>
2804 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2805 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2806 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2807 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2809 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2810 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2812 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2813 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2814 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2815 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2816 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2817 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2818 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2819 * sysdeps/x86/bits/semaphore.h: ... here.
2820 * sysdeps/x86/nptl/elide.h: Moved ...
2821 * sysdeps/x86/elide.h: ... here.
2822 * sysdeps/x86_64/nptl/Implies: File removed.
2823 * sysdeps/i386/nptl/Implies: File removed.
2825 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2828 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2829 return the argument for normal arguments with exponent below -64.
2830 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2832 * math/auto-libm-test-in: Add another test of expm1.
2833 * math/auto-libm-test-out: Regenerated.
2836 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2837 calling __erfcl for arguments at least 16.
2838 * math/auto-libm-test-in: Add more tests of erf.
2839 * math/auto-libm-test-out: Regenerated.
2841 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2842 individual architectures.
2843 * sysdeps/unix/sysv/linux/configure: Regenerated.
2844 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2845 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2846 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2847 (ldd_rewrite_script): Define variable.
2848 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2853 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2854 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2855 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2856 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2857 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2858 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2859 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2860 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2862 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2865 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2866 Rename member __data.d to __data.__elision_data.
2868 2014-06-24 Wilco <wdijkstr@arm.com>
2870 * NEWS: Add 16918 to fixed bug list.
2872 2014-06-24 Wilco <wdijkstr@arm.com>
2874 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2876 2014-06-24 Wilco <wdijkstr@arm.com>
2878 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2879 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2880 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2881 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2882 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2883 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2884 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2887 2014-06-24 Wilco <wdijkstr@arm.com>
2889 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2891 2014-06-24 Wilco <wdijkstr@arm.com>
2893 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2894 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2895 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2896 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2898 2014-06-24 Wilco <wdijkstr@arm.com>
2901 * sysdeps/arm/feupdateenv.c (feupdateenv):
2902 Rewrite to reduce FPSCR accesses and fix return value.
2904 2014-06-24 Wilco <wdijkstr@arm.com>
2906 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2907 Optimize to avoid unnecessary FPSCR writes.
2908 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2909 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2910 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2911 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2913 2014-06-24 Wilco <wdijkstr@arm.com>
2915 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2916 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2917 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2918 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2919 Call libc_fetestexcept_vfp.
2920 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2921 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2922 __SOFTFP__ ifdef so that they can be built for softfp.
2924 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2926 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2927 argument type signed char.
2929 * Makerules (check-abi): Dump diff of symlist if the test
2932 2014-06-23 Roland McGrath <roland@hack.frob.com>
2934 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2937 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2938 Remove unused variable ST.
2940 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2944 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2945 small arguments before calling __expm1.
2946 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2947 small arguments before calling __expm1f.
2948 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2949 small arguments before calling __expm1l.
2950 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2952 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2953 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2954 spurious underflow for some cosh tests.
2955 * math/auto-libm-test-out: Regenerated.
2956 * sysdeps/i386/fpu/libm-test-ulps: Update.
2959 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2960 (__ieee754_y1): Set errno if return value overflows.
2961 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2962 (__ieee754_y1f): Set errno if return value overflows.
2963 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2964 (__ieee754_y1l): Set errno if return value overflows.
2965 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2966 (__ieee754_y1l): Set errno if return value overflows.
2967 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2968 * math/auto-libm-test-out: Regenerated.
2970 * math/gen-auto-libm-tests.c: Document use of
2971 ignore-zero-inf-sign.
2972 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2973 (input_flags): Add ignore-zero-inf-sign.
2974 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2975 * math/gen-libm-test.pl (generate_testfile): Handle
2976 ignore-zero-inf-sign.
2977 * math/auto-libm-test-in: Mark some cpow tests with
2978 ignore-zero-inf-sign and some with xfail-rounding.
2979 * math/auto-libm-test-out: Regenerated.
2980 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2981 * sysdeps/i386/fpu/libm-test-ulps: Update.
2982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2985 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2986 overflowing or underflowing operations take place with sign of
2988 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2989 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2990 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2991 (__ieee754_pow): Recompute overflowing and underflowing results in
2992 original rounding mode.
2993 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2994 (__powl_helper): Allow negative argument X and scale negated value
2995 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2996 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2997 overflowing or underflowing operations take place with sign of
2999 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3001 * math/auto-libm-test-in: Add more tests of pow.
3002 * math/auto-libm-test-out: Regenerated.
3003 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3004 (pow_tonearest_test_data): Remove.
3005 (pow_test_tonearest): Likewise.
3006 (pow_towardzero_test_data): Likewise.
3007 (pow_test_towardzero): Likewise.
3008 (pow_downward_test_data): Likewise.
3009 (pow_test_downward): Likewise.
3010 (pow_upward_test_data): Likewise.
3011 (pow_test_upward): Likewise.
3012 (main): Don't call removed functions.
3013 * sysdeps/i386/fpu/libm-test-ulps: Update.
3014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3016 2014-06-23 Roland McGrath <roland@hack.frob.com>
3018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3192 2014-06-23 Will Newton <will.newton@linaro.org>
3193 Wilco <wdijkstr@arm.com>
3195 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3196 implementation. Include get-rounding-mode.h.
3197 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3198 [!libc_feholdsetround_noex_ctx]: Define
3199 libc_feholdsetround_noex_ctx.
3200 [!libc_feholdsetround_noexf_ctx]: Define
3201 libc_feholdsetround_noexf_ctx.
3202 [!libc_feholdsetround_noexl_ctx]: Define
3203 libc_feholdsetround_noexl_ctx.
3204 (libc_feholdsetround_ctx): New function.
3205 (libc_feresetround_ctx): New function.
3206 (libc_feholdsetround_noex_ctx): New function.
3207 (libc_feresetround_noex_ctx): New function.
3209 2014-06-23 Roland McGrath <roland@hack.frob.com>
3211 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3212 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3213 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3214 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3215 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3216 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3218 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3219 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3220 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3221 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3222 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3223 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3224 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3225 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3226 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3227 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3228 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3230 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3232 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3233 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3234 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3235 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3236 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3238 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3239 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3240 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3241 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3242 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3243 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3244 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3245 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3247 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3248 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3250 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3251 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3252 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3253 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3255 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3256 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3257 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3258 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3259 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3260 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3261 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3262 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3263 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3264 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3266 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3268 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3269 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3270 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3271 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3272 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3273 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3274 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3275 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3276 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3277 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3278 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3279 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3280 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3282 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3283 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3284 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3285 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3286 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3287 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3289 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3290 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3291 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3292 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3293 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3295 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3296 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3297 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3298 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3299 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3300 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3301 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3302 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3303 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3304 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3305 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3306 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3307 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3308 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3309 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3310 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3311 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3312 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3313 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3314 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3315 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3316 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3317 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3318 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3319 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3320 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3321 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3322 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3324 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3326 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3327 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3328 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3329 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3330 (IPV6_PMTUDISC_INTERFACE): Likewise.
3331 (IPV6_PMTUDISC_OMIT): Likewise.
3333 2014-06-23 Andreas Schwab <schwab@suse.de>
3335 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3336 Remove unused errout label.
3338 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3340 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3341 macro: hardware supports Vector Crypto instructions.
3343 2014-06-23 Will Newton <will.newton@linaro.org>
3345 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3346 rather than __builtin_expect.
3348 * elf/dl-lookup.c (undefined_msg): Remove variable.
3349 (_dl_lookup_symbol_x): Replace undefined_msg with string
3352 * elf/dl-lookup.c (do_lookup_unique): New function.
3353 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3354 to a separate function.
3356 2014-06-23 Andreas Schwab <schwab@suse.de>
3359 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3360 before reading the next line.
3362 2014-06-23 Will Newton <will.newton@linaro.org>
3364 * test-skeleton.c (signal_handler): Use printf and %m
3365 rather than perror. Use printf rather than fprintf to
3366 stderr. Use puts rather than fputs to stderr.
3369 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3371 * nscd/nscd.c (thread_info_t): Remove typedef.
3372 (thread_info): Remove variable.
3374 2014-06-21 Allan McRae <allan@archlinux.org>
3376 * NEWS: Mention CVE-2014-4043.
3378 2014-06-20 Roland McGrath <roland@hack.frob.com>
3380 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3381 * nptl/smp.h: ... here.
3383 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3385 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3386 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3387 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3388 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3390 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3391 * nptl/stack-aliasing.h: New file.
3392 * sysdeps/i386/i686/stack-aliasing.h: New file.
3393 * sysdeps/i386/i686/nptl/Makefile: File removed.
3394 * sysdeps/x86_64/stack-aliasing.h: New file.
3395 * sysdeps/x86_64/nptl/Makefile
3396 (CFLAGS-pthread_create.c): Variable removed.
3398 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3399 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3401 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3402 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3405 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3407 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3408 (__ASSUME_SIGFRAME_V2): Remove macro.
3409 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3410 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3411 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3412 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3413 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3414 Declare as function. Remove conditional macro definitions.
3415 (__default_rt_sa_restorer): Likewise.
3416 (__default_sa_restorer_v1): Remove declaration.
3417 (__default_sa_restorer_v2): Likewise.
3418 (__default_rt_sa_restorer_v1): Likewise.
3419 (__default_rt_sa_restorer_v2): Likewise.
3420 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3421 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3422 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3424 2014-06-20 Roland McGrath <roland@hack.frob.com>
3426 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3427 (libpthread-routines): Add sysdep.
3428 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3429 * sysdeps/unix/sysv/linux/sparc/Versions
3430 (libpthread: GLIBC_2.3.3): New version set.
3431 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3432 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3433 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3434 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3435 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3436 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3438 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3439 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3440 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3441 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3442 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3443 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3444 * sysdeps/sparc/nptl/sem_init.c: ... here.
3445 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3446 * sysdeps/sparc/nptl/sem_post.c: ... here.
3447 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3448 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3449 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3450 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3451 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3452 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3453 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3454 (libpthread-routines): Add cpu_relax.
3455 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3457 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3458 (librt: GLIBC_2.3.3): New version set.
3459 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3460 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3461 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3462 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3464 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3465 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3466 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3468 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3470 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3471 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3472 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3473 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3474 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3475 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3476 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3477 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3479 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3481 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3483 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3487 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3491 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3495 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3497 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3499 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3501 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3502 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3503 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3504 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3505 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3506 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3507 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3508 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3510 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3511 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3513 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3514 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3515 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3516 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3517 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3519 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3521 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3522 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3523 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3524 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3525 * nscd/nscd.c: Likewise.
3526 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3527 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3528 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3529 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3531 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3532 <kernel-features.h>.
3533 (init_mq_netlink): Remove conditional have_sock_cloexec
3534 definitions. Remove code conditional on have_sock_cloexec < 0.
3535 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3536 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3537 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3538 <kernel-features.h>.
3539 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3540 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3542 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3544 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3545 Add tests for memset_chk and memset.
3547 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3550 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3553 * elf/tst-dl-iter-static.c: New file.
3554 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3556 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3559 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3561 * sysdeps/unix/sysv/linux/kernel-features.h
3562 (__ASSUME_F_GETOWN_EX): Remove macro.
3563 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3564 <kernel-features.h>.
3565 (miss_F_GETOWN_EX): Remove variable or macro.
3566 (do_fcntl): Do not check miss_F_GETOWN_EX.
3567 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3569 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3571 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3572 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3573 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3575 * sysdeps/unix/sysv/linux/kernel-features.h
3576 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3577 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3578 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3579 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3581 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3584 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3585 Fix calculation of the symbol's value.
3586 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3587 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3588 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3589 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3590 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3591 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3592 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3593 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3594 (modules-names): Add `tst-armtlsdescmod',
3595 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3596 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3597 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3598 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3599 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3600 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3601 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3602 ($(objpfx)tst-armtlsdescloc): New dependency.
3603 ($(objpfx)tst-armtlsdescextnow): Likewise.
3604 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3605 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3607 * sysdeps/arm/configure: Regenerate.
3609 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3611 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3612 (__atfct_seterrno_2): Likewise.
3613 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3614 <kernel-features.h>.
3615 (__ASSUME_ATFCTS): Do not undefine and redefine.
3616 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3617 (__have_atfcts): Remove conditional definition.
3618 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3619 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3620 unreachable if [__ASSUME_ATFCTS].
3621 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3622 not undefine and redefine.
3623 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3624 <kernel-features.h>.
3625 (faccessat) [__NR_faccessat]: Make code unconditional.
3626 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3627 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3628 <kernel-features.h>.
3629 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3630 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3631 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3632 <kernel-features.h>.
3633 (fchownat) [__NR_fchownat]: Make code unconditional.
3634 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3635 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3636 <kernel-features.h>.
3637 (futimesat) [__NR_futimesat]: Make code unconditional.
3638 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3639 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3640 <kernel-features.h>.
3641 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3642 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3643 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3644 <kernel-features.h>.
3645 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3646 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3647 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3648 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3649 <kernel-features.h>.
3650 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3651 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3652 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3653 <kernel-features.h>.
3654 (linkat) [__NR_linkat]: Make code unconditional.
3655 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3656 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3657 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3658 <kernel-features.h>.
3659 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3660 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3661 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3662 <kernel-features.h>.
3663 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3664 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3665 * sysdeps/unix/sysv/linux/openat.c: Do not include
3666 <kernel-features.h>.
3667 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3668 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3669 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3670 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3671 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3672 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3673 <kernel-features.h>.
3674 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3675 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3676 result of INLINE_SYSCALL directly, not via int variable.
3677 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3678 <kernel-features.h>.
3679 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3680 (renameat) [__NR_renameat]: Make code unconditional.
3681 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3682 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3683 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3684 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3685 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3686 (__ASSUME_ATFCTS): Do not undefine and redefine.
3687 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3688 <kernel-features.h>.
3689 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3690 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3691 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3692 <kernel-features.h>.
3693 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3694 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3695 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3696 (__ASSUME_ATFCTS): Do not undefine and redefine.
3697 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3698 <kernel-features.h>.
3699 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3700 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3701 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3702 <kernel-features.h>.
3703 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3704 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3706 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3708 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3710 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3713 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3714 constructed tree before returning error.
3715 * posix/bug-regexp36.c: Expand test case.
3717 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3720 * math/libm-test.inc (scalbln_test_date):
3721 Add errno expectations.
3722 * math/w_scalblnf.c: New File.
3723 Add wrapper which checks for setting errno to ERANGE.
3724 Add weak_alias for corresponding scalbln function.
3725 * math/w_scalbln.c: Likewise.
3726 * math/w_scalblnl.c: Likewise.
3727 * math/Makefile (libm-calls): Add w_scalbln.
3728 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3729 Remove weak_alias for corresponding scalbln function.
3730 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3731 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3732 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3733 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3734 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3735 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3736 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3737 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3738 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3739 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3740 Remove long_double_symbol for scalblnl function in libm, libc.
3741 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3742 Add wrapper which checks for setting errno to ERANGE.
3743 Add long_double_symbol for scalblnl function in libm, libc.
3744 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3745 Remove long_double_symbol for scalblnl in libm.
3746 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3747 Add wrapper which checks for setting errno to ERANGE.
3748 Add long_double_symbol for scalblnl function in libm.
3749 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3750 Do not use wrapper because of own implementation.
3752 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3754 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3755 3 bytes for __pad1 for x32.
3756 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3758 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3759 H.J. Lu <hongjiu.lu@intel.com>
3761 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3762 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3763 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3764 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3765 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3767 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3770 * posix/regcomp.c (parse_expression): Deallocate partially
3771 constructed tree before returning error.
3772 * posix/Makefile.c (tests): Add bug-regex36.
3773 (generated): Add bug-regex36.mtrace.
3774 (tests-special): Add $(objpfx)bug-regex36-mem.out
3775 (bug-regex36-ENV): New variable.
3776 ($(objpfx)bug-regex36-mem.out): New rule.
3777 * posix/bug-regex36.c: New file.
3779 2014-06-19 Will Newton <will.newton@linaro.org>
3781 * malloc/malloc.c (systrim): If extra is zero then return
3784 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3786 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3788 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3790 * sysdeps/aarch64/strchr.S: New file.
3792 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3795 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3796 from arguments -2 or below.
3797 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3798 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3800 2014-06-18 Andreas Schwab <schwab@suse.de>
3803 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3804 of a bracket expr not to run off the end of the string.
3805 * posix/Makefile (tests): Add tst-fnmatch3.
3806 * posix/tst-fnmatch3.c: New file.
3808 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3810 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3811 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3812 [$(cross-compiling) = no]: Likewise.
3813 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3814 [$(cross-compiling) = no]: Likewise.
3816 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3819 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3820 double, adjusted for any remainder from the high double.
3821 * math/libm-test.inc (nearbyint): Add tests.
3824 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3826 * nptl/sysdeps/powerpc/Makefile: Moved ...
3827 * sysdeps/powerpc/nptl/Makefile: ... here.
3828 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3829 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3830 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3831 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3832 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3833 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3834 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3835 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3836 * nptl/sysdeps/powerpc/tls.h: Moved ...
3837 * sysdeps/powerpc/nptl/tls.h: ... here.
3839 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3842 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3843 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3844 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3845 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3846 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3847 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3848 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3849 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3850 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3852 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3854 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3856 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3858 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3861 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3864 2014-06-16 Florian Weimer <fweimer@redhat.com>
3867 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3868 non-executed part of the test.
3870 2014-06-16 Andreas Schwab <schwab@suse.de>
3872 * string/bits/string2.h (strdup, strndup): Update feature guard.
3874 2014-06-14 David S. Miller <davem@davemloft.net>
3876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3878 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3880 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3881 that was previously under [RESET_PID].
3882 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3884 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3885 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3886 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3887 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3888 (__libc_vfork): New strong alias.
3889 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3891 2014-06-14 Andi Kleen <ak@linux.intel.com>
3893 * sysdeps/generic/elide.h: New file.
3895 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3897 * Makefile (installed-headers): Adjust path of pthread.h header.
3899 2014-06-13 Roland McGrath <roland@hack.frob.com>
3901 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3902 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3903 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3904 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3906 * nptl/sysdeps/s390/Makefile: Moved ...
3907 * sysdeps/s390/nptl/Makefile: ... here.
3908 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3909 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3910 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3911 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3912 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3913 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3914 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3915 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3916 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3917 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3918 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3919 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3920 * nptl/sysdeps/s390/tls.h: Moved ...
3921 * sysdeps/s390/nptl/tls.h: ... here.
3923 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3924 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3926 2014-06-13 David S. Miller <davem@davemloft.net>
3928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3929 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3931 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3933 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3934 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3935 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3936 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3937 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3938 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3939 Remove RESET_PID cpp guards.
3940 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3941 Remove RESET_PID cpp guards.
3942 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3944 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3946 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3949 2014-06-13 Andi Kleen <ak@linux.intel.com>
3951 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3952 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3953 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3954 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3955 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3956 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3957 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3958 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3959 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3960 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3961 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3962 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3963 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3964 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3965 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3966 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3967 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3968 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3969 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3970 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3972 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3973 (pthread_rwlock_rdlock): Add elision.
3974 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3975 (pthread_rwlock_wrlock): Add elision.
3976 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3977 (pthread_rwlock_trywrlock): Add elision.
3978 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3979 (pthread_rwlock_tryrdlock): Add elision.
3980 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3981 (pthread_rwlock_tryrdlock): Add elision unlock.
3982 * nptl/sysdeps/pthread/pthread.h:
3983 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3984 (PTHREAD_RWLOCK_INITIALIZER,
3985 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3986 Handle new elision field.
3987 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3988 * sysdeps/arm/nptl/bits/pthreadtypes.h
3989 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3990 * sysdeps/sh/nptl/bits/pthreadtypes.h
3991 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3992 * sysdeps/tile/nptl/bits/pthreadtypes.h
3993 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3994 * sysdeps/a/nptl/bits/pthreadtypes.h
3995 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3996 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3997 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3998 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3999 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4000 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4001 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4002 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4003 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4004 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4005 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4006 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4007 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4008 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4009 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4010 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4011 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4012 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4013 (elision_init): Set try_xbegin to zero when no RTM.
4014 * sysdeps/x86/nptl/bits/pthreadtypes.h
4015 (pthread_rwlock_t): Change __pad1 to __rwelision.
4016 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4018 2014-06-13 Andi Kleen <ak@linux.intel.com>
4020 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4021 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4022 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4023 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4025 2014-06-13 Meador Inge <meadori@codesourcery.com>
4028 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4029 that the cached result has been set before returning it.
4031 2014-06-12 Roland McGrath <roland@hack.frob.com>
4033 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4034 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4035 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4036 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4037 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4038 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4040 * nptl/sysdeps/sparc/Makefile: Moved ...
4041 * sysdeps/sparc/nptl/Makefile: ... here.
4042 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4043 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4044 * nptl/sysdeps/sparc/tls.h: Moved ...
4045 * sysdeps/sparc/nptl/tls.h: ... here.
4046 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4047 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4048 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4049 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4050 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4051 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4052 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4053 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4054 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4055 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4056 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4057 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4058 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4059 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4060 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4061 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4062 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4063 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4065 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4066 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4068 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4069 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4071 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4072 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4075 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4077 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4078 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4080 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4081 (struct list_links): Type removed.
4082 (struct thread_node, struct timer_node): Replace struct list_links
4083 with struct list_head.
4084 (list_unlink_ip): Likewise.
4085 * sysdeps/pthread/timer_routines.c
4086 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4087 (list_append, list_insbefore): Likewise.
4088 (list_init): Function removed.
4089 (thread_init, init_module): Use INIT_LIST_HEAD instead.
4090 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4091 * sysdeps/pthread/Makefile: ... here, new file.
4093 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4094 * sysdeps/nptl/Implies: ... here.
4095 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4096 * nptl/sysdeps/pthread/list.h: Moved ...
4097 * include/list.h: ... here.
4098 * nptl/sysdeps/pthread/createthread.c: Moved ...
4099 * nptl/createthread.c: ... here.
4100 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4101 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4102 * nptl/pt-longjmp.c: ... here.
4103 * nptl/sysdeps/pthread/Makefile: Moved ...
4104 * sysdeps/nptl/Makefile: ... here.
4105 * nptl/sysdeps/pthread/Subdirs: Moved ...
4106 * sysdeps/nptl/Subdirs: ... here.
4107 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4108 * sysdeps/nptl/aio_misc.h: ... here.
4109 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4110 * sysdeps/nptl/bits/libc-lock.h: ... here.
4111 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4112 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4113 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4114 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4115 * nptl/sysdeps/pthread/configure: Moved ...
4116 * sysdeps/nptl/configure: ... here.
4117 * nptl/sysdeps/pthread/configure.ac: Moved ...
4118 * sysdeps/nptl/configure.ac: ... here.
4119 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4120 * sysdeps/nptl/gai_misc.h: ... here.
4121 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4122 * sysdeps/nptl/librt-cancellation.c: ... here.
4123 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4124 * sysdeps/nptl/malloc-machine.h: ... here.
4125 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4126 * sysdeps/nptl/pthread-functions.h: ... here.
4127 * nptl/sysdeps/pthread/pthread.h: Moved ...
4128 * sysdeps/nptl/pthread.h: ... here.
4129 * nptl/sysdeps/pthread/setxid.h: Moved ...
4130 * sysdeps/nptl/setxid.h: ... here.
4131 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4132 * sysdeps/nptl/sigfillset.c: ... here.
4133 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4134 * sysdeps/nptl/tcb-offsets.h: ... here.
4135 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4136 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4137 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4138 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4139 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4140 * sysdeps/pthread/allocalim.h: ... here.
4141 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4142 * sysdeps/pthread/bits/sigthread.h: ... here.
4143 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4144 * sysdeps/pthread/flockfile.c: ... here.
4145 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4146 * sysdeps/pthread/ftrylockfile.c: ... here.
4147 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4148 * sysdeps/pthread/funlockfile.c: ... here.
4149 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4150 * sysdeps/pthread/posix-timer.h: ... here.
4151 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4152 * sysdeps/pthread/timer_create.c: ... here.
4153 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4154 * sysdeps/pthread/timer_delete.c: ... here.
4155 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4156 * sysdeps/pthread/timer_getoverr.c: ... here.
4157 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4158 * sysdeps/pthread/timer_gettime.c: ... here.
4159 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4160 * sysdeps/pthread/timer_routines.c: ... here.
4161 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4162 * sysdeps/pthread/timer_settime.c: ... here.
4163 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4164 * sysdeps/pthread/tst-timer.c: ... here.
4165 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4166 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4168 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4169 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4171 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4172 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4173 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4174 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4175 Update #include target.
4176 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4177 * sysdeps/i386/i686/nptl/Makefile: ... here.
4178 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4179 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4180 Update #include target.
4181 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4182 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4183 * nptl/sysdeps/i386/Makefile: Moved ...
4184 * sysdeps/i386/nptl/Makefile: ... here.
4185 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4186 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4187 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4188 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4189 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4190 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4191 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4192 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4193 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4194 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4195 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4196 * nptl/sysdeps/i386/tls.h: Moved ...
4197 * sysdeps/i386/nptl/tls.h: ... here.
4199 * sysdeps/sh/Makefile [$(subdir) = csu]
4200 (gen-as-const-headers): Add tcb-offsets.sym.
4201 * nptl/sysdeps/sh/Makefile: File removed.
4202 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4203 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4204 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4205 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4206 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4207 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4208 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4209 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4210 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4211 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4212 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4213 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4214 * nptl/sysdeps/sh/tls.h: Moved ...
4215 * sysdeps/sh/nptl/tls.h: ... here.
4216 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4217 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4218 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4219 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4220 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4221 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4222 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4223 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4224 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4225 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4226 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4227 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4228 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4229 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4230 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4231 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4232 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4233 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4234 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4235 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4236 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4237 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4238 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4239 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4240 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4242 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4243 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4245 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4246 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4247 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4248 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4249 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4250 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4251 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4252 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4253 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4254 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4255 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4256 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4257 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4258 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4259 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4260 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4261 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4262 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4263 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4265 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4267 * posix/spawn_faction_addopen.c: Include string.h.
4269 2014-06-11 Roland McGrath <roland@hack.frob.com>
4271 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4272 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4273 * nptl/sysdeps/x86_64/Makefile: Moved ...
4274 * sysdeps/x86_64/nptl/Makefile: ... here.
4275 * nptl/sysdeps/x86_64/configure: Moved ...
4276 * sysdeps/x86_64/nptl/configure: ... here.
4277 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4278 * sysdeps/x86_64/nptl/configure.ac: ... here.
4279 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4280 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4281 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4282 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4283 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4284 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4285 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4286 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4287 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4288 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4289 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4290 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4291 * nptl/sysdeps/x86_64/tls.h: Moved ...
4292 * sysdeps/x86_64/nptl/tls.h: ... here.
4293 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4294 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4295 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4296 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4298 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4300 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4304 2014-06-11 Joseph Myers <joseph@codesourcery.com>
4306 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4308 [POSIX] (off_t): Likewise.
4309 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4310 [POSIX] (S_ISBLK): Require macro.
4311 [POSIX] (S_ISCHR): Likewise.
4312 [POSIX] (S_ISDIR): Likewise.
4313 [POSIX] (S_ISFIFO): Likewise.
4314 [POSIX] (S_ISREG): Likewise.
4315 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4317 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4319 [POSIX] (time_t): Likewise.
4320 [POSIX] (timer_t): Likewise.
4322 2014-06-11 Florian Weimer <fweimer@redhat.com>
4325 * posix/spawn_int.h (struct __spawn_action): Make the path string
4326 non-const to support deallocation.
4327 * posix/spawn_faction_addopen.c
4328 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4329 * posix/spawn_faction_destroy.c
4330 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4331 path in all spawn_do_open actions.
4332 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4333 posix_spawn_file_actions_addopen.
4335 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4337 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4338 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4339 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4340 conditional code always true.
4341 (__libc_vfork): New alias.
4343 2014-06-11 Roland McGrath <roland@hack.frob.com>
4345 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4346 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4348 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4350 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4351 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4353 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4354 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4356 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4357 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4359 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4361 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4362 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4363 multiarch strcmp for PPC64.
4364 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4365 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4366 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4367 multiarch optimizations.
4368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4369 (__libc_ifunc_impl_list): Likewise.
4371 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4373 * benchtests/scripts/validate_benchout.py: New script.
4374 * benchtests/Makefile (bench-func): Call it.
4375 * benchtests/scripts/benchout.schema.json: New file.
4377 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4379 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4380 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4381 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4382 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4383 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4384 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4385 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4386 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4387 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4388 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4389 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4390 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4391 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4392 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4393 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4394 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4498 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4499 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4500 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4501 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4502 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4504 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4506 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4507 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4508 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4509 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4510 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4511 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4512 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4513 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4514 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4515 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4516 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4517 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4518 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4520 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4521 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4523 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4524 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4525 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4526 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4528 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4529 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4530 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4531 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4532 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4533 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4534 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4536 2014-06-10 Wilco <wdijkstr@arm.com>
4538 * math/test-fenv-return.c: New file.
4539 * math/Makefile: Add new test test-fenv-return.
4541 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4544 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4546 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4547 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4548 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4549 0.0L for an argument of 1.0L.
4550 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4552 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4553 value when x - 1 is zero.
4554 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4555 * sysdeps/i386/fpu/libm-test-ulps: Update.
4556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4558 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4561 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4563 2014-06-09 Roland McGrath <roland@hack.frob.com>
4565 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4566 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4568 2014-06-09 Roland McGrath <roland@hack.frob.com>
4570 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4571 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4573 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4574 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4576 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4577 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4579 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4580 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4582 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4583 if not already defined.
4584 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4585 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4586 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4587 (TLS_INIT_TP): Use it.
4588 (TLS_DEFINE_INIT_TP): New macro.
4589 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4591 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4593 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4595 [POSIX] (IXANY): Likewise.
4596 [POSIX] (OLCUC): Likewise.
4597 [POSIX || POSIX2008] (CBAUD): Do not allow.
4598 [POSIX || POSIX2008] (DEFECHO): Likewise.
4599 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4600 [POSIX || POSIX2008] (ECHOKE): Likewise.
4601 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4602 [POSIX || POSIX2008] (EXTA): Likewise.
4603 [POSIX || POSIX2008] (EXTB): Likewise.
4604 [POSIX || POSIX2008] (FLUSHO): Likewise.
4605 [POSIX || POSIX2008] (LOBLK): Likewise.
4606 [POSIX || POSIX2008] (PENDIN): Likewise.
4607 [POSIX || POSIX2008] (SWTCH): Likewise.
4608 [POSIX || POSIX2008] (VDISCARD): Likewise.
4609 [POSIX || POSIX2008] (VDSUSP): Likewise.
4610 [POSIX || POSIX2008] (VLNEXT): Likewise.
4611 [POSIX || POSIX2008] (VREPRINT): Likewise.
4612 [POSIX || POSIX2008] (VSTATUS): Likewise.
4613 [POSIX || POSIX2008] (VWERASE): Likewise.
4614 (B*): Change to B[0123456789]*.
4615 * conform/data/time.h-data [POSIX || UNIX98]
4616 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4617 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4618 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4619 [POSIX] (tm_*): Do not allow.
4621 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4623 * Makefile (install): Don't set LANGUAGE.
4624 * Makefile.in (install): Likewise.
4625 * assert/Makefile (test-assert-ENV): Remove variable.
4626 (test-assert-perr-ENV): Likewise.
4627 * elf/Makefile (neededtest4-ENV): Likewise.
4628 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4629 [$(cross-compiling) = no]: Don't set LANGUAGE.
4630 * io/ftwtest-sh (LANG): Remove variable.
4631 * libio/Makefile (tst-widetext-ENV): Likewise.
4632 * manual/install.texi (Running make install): Don't refer to
4633 environment settings for make install.
4634 * INSTALL: Regenerated.
4635 * nptl/tst-tls6.sh: Don't set LANG.
4636 * posix/globtest.sh (LANG): Remove variable.
4637 * string/Makefile (tester-ENV): Likewise.
4638 (inl-tester-ENV): Likewise.
4639 (noinl-tester-ENV): Likewise.
4640 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4641 [$(cross-compiling) = no]: Don't set LANGUAGE.
4642 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4643 without explicit environment settings.
4645 2014-06-06 Roland McGrath <roland@hack.frob.com>
4647 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4648 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4649 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4650 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4652 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4654 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4655 other files in the crypt directory.
4656 * crypt/crypt.c: Remove duplicate includes.
4657 * crypt/crypt-entry.c: Likewise.
4658 * crypt/crypt_util.c: Likewise.
4660 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4662 * Makeconfig (run-program-env): New variable.
4663 (run-program-prefix-before-env): Likewise.
4664 (run-program-prefix-after-env): Likewise.
4665 (run-program-prefix): Define in terms of new variables.
4666 (built-program-cmd-before-env): New variable.
4667 (built-program-cmd-after-env): Likewise.
4668 (built-program-cmd): Define in terms of new variables.
4669 (test-program-prefix-before-env): New variable.
4670 (test-program-prefix-after-env): Likewise.
4671 (test-program-prefix): Define in terms of new variables.
4672 (test-program-cmd-before-env): New variable.
4673 (test-program-cmd-after-env): Likewise.
4674 (test-program-cmd): Define in terms of new variables.
4675 * Rules (make-test-out): Use $(run-program-env).
4676 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4677 (help): Do not mention environment variables. Mention
4678 --timeoutfactor option.
4679 (timeoutfactor): New variable.
4680 (blacklist_exports): Remove function.
4681 (exports): Remove variable.
4682 (command): Do not include ${exports}.
4683 * manual/install.texi (Configuring and compiling): Do not mention
4684 test wrappers preserving environment variables. Mention that last
4685 assignment to a variable must take precedence.
4686 * INSTALL: Regenerated.
4687 * benchtests/Makefile (run-bench): Use $(run-program-env).
4688 * catgets/Makefile ($(objpfx)test1.cat): Use
4689 $(built-program-cmd-before-env), $(run-program-env) and
4690 $(built-program-cmd-after-env).
4691 ($(objpfx)test2.cat): Do not specify environment variables
4693 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4694 $(run-program-env) and $(built-program-cmd-after-env).
4695 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4696 $(run-program-env) and $(test-program-cmd-after-env).
4697 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4699 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4700 run_program_env and test_program_cmd_after_env arguments.
4701 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4702 * elf/tst-pathopt.sh: Use run_program_env argument.
4703 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4704 $(test-wrapper-env) and $(run-program-env).
4705 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4706 run_program_env arguments.
4707 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4708 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4709 $(test-program-prefix-before-env), $(run-program-env) and
4710 $(test-program-prefix-after-env).
4711 ($(objpfx)tst-gettext2.out): Likewise.
4712 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4713 run_program_env and test_program_prefix_after_env arguments.
4714 * intl/tst-gettext2.sh: Likewise.
4715 * intl/tst-gettext4.sh: Do not set environment variables
4717 * intl/tst-gettext6.sh: Likewise.
4718 * intl/tst-translit.sh: Likewise.
4719 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4720 $(test-program-prefix-before-env), $(run-program-env) and
4721 $(test-program-prefix-after-env).
4722 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4723 run_program_env and test_program_prefix_after_env arguments.
4724 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4725 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4726 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4727 explicitly with each use of ${test_wrapper_env}.
4728 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4729 $(test-program-prefix-before-env), $(run-program-env) and
4730 $(test-program-prefix-after-env).
4731 * posix/tst-getconf.sh: Do not set environment variables
4733 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4734 run_program_env and test_program_prefix_after_env arguments.
4735 * stdio-common/tst-printf.sh: Do not set environment variables
4737 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4738 $(test-program-prefix-before-env), $(run-program-env) and
4739 $(test-program-prefix-after-env).
4740 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4741 run_program_env and test_program_prefix_after_env arguments.
4742 Split $test calls into $test_pre and $test.
4743 * timezone/Makefile (build-testdata): Use
4744 $(built-program-cmd-before-env), $(run-program-env) and
4745 $(built-program-cmd-after-env).
4747 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4749 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4750 strlen for non SHARED builds.
4752 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4754 * nptl/allocatestack.c (check_list): Inlined function...
4755 (__reclaim_stacks): ... here.
4757 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4760 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4763 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4765 * Rules (make-test-out): Include
4766 LOCPATH=$(common-objpfx)localedata in default environment.
4767 * debug/Makefile (tst-chk1-ENV): Remove variable.
4768 (tst-chk2-ENV): Likewise.
4769 (tst-chk3-ENV): Likewise.
4770 (tst-chk4-ENV): Likewise.
4771 (tst-chk5-ENV): Likewise.
4772 (tst-chk6-ENV): Likewise.
4773 (tst-lfschk1-ENV): Likewise.
4774 (tst-lfschk2-ENV): Likewise.
4775 (tst-lfschk3-ENV): Likewise.
4776 (tst-lfschk4-ENV): Likewise.
4777 (tst-lfschk5-ENV): Likewise.
4778 (tst-lfschk6-ENV): Likewise.
4779 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4780 (tst-iconv7-ENV): Likewise.
4781 * intl/Makefile (LOCPATH-ENV): Likewise.
4782 (tst-codeset-ENV): Likewise.
4783 (tst-gettext3-ENV): Likewise.
4784 (tst-gettext5-ENV): Likewise.
4785 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4786 (tst-fopenloc-ENV): Likewise.
4787 (tst-fgetws-ENV): Remove variable.
4788 (tst-ungetwc1-ENV): Likewise.
4789 (tst-ungetwc2-ENV): Likewise.
4790 (bug-ungetwc2-ENV): Likewise.
4791 (tst-swscanf-ENV): Likewise.
4792 (bug-ftell-ENV): Likewise.
4793 (tst-fgetwc-ENV): Likewise.
4794 (tst-fseek-ENV): Likewise.
4795 (tst-ftell-partial-wide-ENV): Likewise.
4796 (tst-ftell-active-handler-ENV): Likewise.
4797 (tst-ftell-append-ENV): Likewise.
4798 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4799 (tst-regexloc-ENV): Likewise.
4800 (bug-regex1-ENV): Likewise.
4801 (tst-regex-ENV): Likewise.
4802 (tst-regex2-ENV): Likewise.
4803 (bug-regex5-ENV): Likewise.
4804 (bug-regex6-ENV): Likewise.
4805 (bug-regex17-ENV): Likewise.
4806 (bug-regex18-ENV): Likewise.
4807 (bug-regex19-ENV): Likewise.
4808 (bug-regex20-ENV): Likewise.
4809 (bug-regex22-ENV): Likewise.
4810 (bug-regex23-ENV): Likewise.
4811 (bug-regex25-ENV): Likewise.
4812 (bug-regex26-ENV): Likewise.
4813 (bug-regex30-ENV): Likewise.
4814 (bug-regex32-ENV): Likewise.
4815 (bug-regex33-ENV): Likewise.
4816 (bug-regex34-ENV): Likewise.
4817 (bug-regex35-ENV): Likewise.
4818 (tst-rxspencer-ENV): Likewise.
4819 (tst-rxspencer-no-utf8-ENV): Likewise.
4820 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4821 (tst-sscanf-ENV): Likewise.
4822 (tst-swprintf-ENV): Likewise.
4823 (tst-swscanf-ENV): Likewise.
4824 (test-vfprintf-ENV): Likewise.
4825 (scanf13-ENV): Likewise.
4826 (bug14-ENV): Likewise.
4827 (tst-grouping-ENV): Likewise.
4828 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4829 (tst-strtod3-ENV): Likewise.
4830 (tst-strtod4-ENV): Likewise.
4831 (tst-strtod5-ENV): Likewise.
4832 (testmb2-ENV): Likewise./
4833 * string/Makefile (tst-strxfrm-ENV): Likewise.
4834 (tst-strxfrm2-ENV): Likewise.
4835 (bug-strcoll1-ENV): Likewise.
4836 (test-strcasecmp-ENV): Likewise.
4837 (test-strncasecmp-ENV): Likewise.
4838 * time/Makefile (tst-strptime-ENV): Likewise.
4839 (tst-ftime_l-ENV): Likewise.
4840 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4841 (tst-mbrtowc-ENV): Likewise.
4842 (tst-wcrtomb-ENV): Likewise.
4843 (tst-mbrtowc2-ENV): Likewise.
4844 (tst-c16c32-1-ENV): Likewise.
4845 (tst-mbsnrtowcs-ENV): Likewise.
4847 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4849 * manual/resource.texi (How to get information about the memory
4850 subsystem?): Fix typo.
4851 Reported by Peon de la Parra Ivan <peon@keba.com>
4853 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4856 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4857 (pthread_spin_lock): Branch out of spin loop to proper location.
4858 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4859 (pthread_spin_lock): Likewise.
4861 * nptl/tst-spin4.c: New test.
4862 * nptl/Makefile (tests): Add tst-spin4.
4864 2014-06-03 Andreas Schwab <schwab@suse.de>
4867 * resolv/res_send.c (send_dg): Reload file descriptor after
4870 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4872 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4874 2014-06-03 Richard Henderson <rth@redhat.com>
4876 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4877 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4878 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4879 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4880 in the SAVE_PID block.
4881 (__libc_vfork): New alias.
4882 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4884 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4885 child in registers, not on the stack. Remove RESET_PID conditionals.
4886 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4888 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4890 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4892 2014-06-03 Wilco <wdijkstr@arm.com>
4894 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4895 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4896 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4897 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4898 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4901 2014-06-03 Wilco <wdijkstr@arm.com>
4903 * sysdeps/aarch64/fpu/math_private.h
4904 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4905 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4906 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4907 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4910 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4912 * crypt/crypt-private.h: Include ufc-crypt.h.
4913 (__b64_from_24bit): Declare extern.
4914 * crypt/crypt_util.c(__b64_from_24bit): New function.
4915 (b64t): New static const variable.
4916 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4917 (b64t): Remove variable.
4918 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4919 * crypt/sha256-crypt.c: Include crypt-private.h.
4920 (b64t): Remove variable.
4921 (__sha256_crypt_r): Remove b64_from_24bit and replace
4922 with __b64_from_24bit.
4923 * crypt/sha512-crypt.c: Likewise.
4925 2014-06-02 Roland McGrath <roland@hack.frob.com>
4927 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4928 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4929 Label the code __libc_vfork rather than __vfork.
4930 [!NOT_IN_libc] (vfork): Define as weak alias.
4931 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4932 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4933 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4935 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4937 * malloc/malloc.c (malloc_info): Fix format specifier for
4940 2014-06-02 Wilco <wdijkstr@arm.com>
4942 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4945 2014-06-02 Wilco <wdijkstr@arm.com>
4948 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4949 Rewrite to reduce FPCR/FPSR accesses.
4951 2014-06-01 David S. Miller <davem@davemloft.net>
4953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4955 2014-05-31 David S. Miller <davem@davemloft.net>
4957 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4958 to occur in round to nearest mode when |x| >= 2.0
4960 2014-05-30 Richard Henderson <rth@twiddle.net>
4962 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4963 (PSEUDO_RET_NOERRNO): Remove.
4964 (ret): Don't redefine.
4965 (ret_NOERRNO): Define in terms of ret.
4966 (ret_ERRVAL): Likewise.
4968 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4969 use of PSEUDO_RET; perform the error check directly.
4971 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4973 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4976 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4978 * malloc/malloc (malloc_info): Fix formatting.
4980 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4981 Roland McGrath <roland@hack.frob.com>
4983 * malloc/malloc (malloc_info): Also print mmapped statistics.
4985 2014-05-30 Roland McGrath <roland@hack.frob.com>
4987 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4988 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4990 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4992 * malloc/malloc.c (malloc_info): Inline mi_arena.
4994 2014-05-29 Richard Henderson <rth@twiddle.net>
4996 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4997 Remove comma before expanding ASM_ARGS_##nr.
4998 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4999 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5001 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5002 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5003 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5004 (ASM_ARGS_1): Add leading comma.
5006 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5007 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5008 to __errno_location.
5009 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5010 Remove the expected plt for __errno_location.
5012 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5013 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5016 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5017 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5018 it and break it down.
5019 (DOCARGS_0, DOCARGS_1): Do nothing.
5020 (DOCARGS_2): Update to store into the new stack frame.
5021 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5022 (UNDOCARGS_1): Update to restore from the new stack frame.
5023 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5024 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5026 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5027 (SINGLE_THREAD_P): New parameter for result regno.
5028 (PSEUDO): Update to match; use cbz instead of beq.
5030 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5031 Use ENTRY to define the _nocancel entry point. Share the syscall
5032 and syscall error check paths with the cancel path.
5035 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5036 whitespace; tabs before and after asm mnemonics.
5038 2014-05-29 Eric Wong <normalperson@yhbt.net>
5041 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5042 Call fstat64 or stat64 internally, depending on arguments passed.
5043 Replace stat buffer argument with file descriptor argument.
5044 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5045 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5046 Pass fd to __internal_statvfs instead of calling fstat64.
5047 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5048 Pass fd to __internal_statvfs64 instead of calling fstat64.
5049 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5050 Pass -1 to __internal_statvfs instead of calling stat64.
5051 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5052 Pass -1 to __internal_statvfs64 instead of calling stat64.
5054 2014-05-28 Roland McGrath <roland@hack.frob.com>
5056 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5057 that was previously under [RESET_PID].
5058 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5060 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5061 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5063 2014-05-27 Roland McGrath <roland@hack.frob.com>
5065 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5067 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5068 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5070 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
5072 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5074 2014-05-27 Andreas Schwab <schwab@suse.de>
5076 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5078 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5079 * elf/rtld.c (init_tls, dl_main): Likewise.
5080 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5081 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5082 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5083 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5084 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5085 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5086 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5087 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5088 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5089 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5090 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5091 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5092 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5093 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5094 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5095 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5096 * sysdeps/generic/tls.h: Update description.
5098 2014-05-27 Will Newton <will.newton@linaro.org>
5101 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5102 and restore r2 rather than just restoring.
5104 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5107 * libio/tst-ftell-append.c: New test case.
5108 * libio/Makefile (tests): Add test case.
5109 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5111 * libio/wfileops.c (do_ftell_wide): Likewise.
5113 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5117 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5121 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5122 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5123 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5124 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5125 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5126 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5127 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5130 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5133 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5134 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5135 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5136 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5137 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5139 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5140 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5142 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5144 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5146 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5147 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5148 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5150 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5151 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5152 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5153 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5155 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5158 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5161 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5164 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5168 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5171 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5176 conditional [RESET_PID].
5177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5178 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5180 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5185 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5186 (__libc_vfork): New strong alias.
5187 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5189 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5194 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5195 (__libc_vfork): New strong alias.
5196 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5198 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5201 2014-05-26 Carlos O'Donell <carlos@redhat.com>
5203 * malloc/malloc.c (mi_arena): New function.
5204 (malloc_info): Remove nested function mi_arena. Call non-nosted
5207 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5209 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5211 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5212 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5213 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5214 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5215 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5216 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5217 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5219 2014-05-26 Andreas Schwab <schwab@suse.de>
5222 * locale/programs/repertoire.c (repertoire_read): Add slash
5223 between I18NPATH element and file name.
5224 * locale/programs/locfile.c (locfile_read): Likewise.
5226 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5228 * nptl/pthread_mutexattr_settype.c
5229 (__pthread_mutexattr_settype):
5230 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5232 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5234 * nptl/tst-mutex5 (do_test):
5235 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5237 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5239 * benchtests/README: Document 'init' directive.
5240 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5242 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5243 (parse_file): Recognize 'init' directive.
5245 2014-05-26 Kyle McMartin <kyle@redhat.com>
5248 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5249 alignment of struct pthread.
5251 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5254 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5255 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5256 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5257 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5259 2014-05-25 Richard Henderson <rth@twiddle.net>
5261 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5262 (SINGLE_THREAD_P_PIC): Remove.
5263 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5264 (SINGLE_THREAD_P_PIC): Remove.
5266 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5267 branch to syscall error ...
5269 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5270 from __local_syscall_error to .Lsyscall_error.
5271 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5272 (SYSCALL_ERROR): Update label name.
5274 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5275 Do not use DOARGS/UNDOARGS.
5276 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5277 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5278 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5279 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5280 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5282 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5285 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5286 define if !NOT_IN_libc.
5287 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5288 define with non-default symbol versions.
5290 2014-05-23 Richard Henderson <rth@twiddle.net>
5292 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5293 (vfork, __vfork): Define via compat_symbol.
5295 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5296 [!HAVE_IFUNC] (vfork_compat): Remove.
5297 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5299 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5302 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5303 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5306 2014-05-23 Richard Henderson <rth@twiddle.net>
5308 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5309 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5310 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5311 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5313 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5314 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5315 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5316 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5317 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5318 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5319 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5320 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5321 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5322 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5323 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5324 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5325 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5326 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5327 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5328 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5329 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5330 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5331 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5332 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5333 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5334 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5335 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5336 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5337 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5338 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5339 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5340 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5341 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5342 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5343 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5344 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5345 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5346 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5347 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5348 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5349 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5350 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5351 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5352 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5353 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5354 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5355 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5356 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5357 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5358 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5359 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5360 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5361 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5362 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5363 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5364 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5365 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5366 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5367 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5368 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5370 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5371 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5372 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5373 before exiting on error.
5374 (__libc_vfork): New strong alias.
5375 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5376 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5378 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5379 that was previously under [RESET_PID].
5380 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5382 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5384 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5387 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5388 value when x - 1 is zero.
5389 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5390 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5391 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5392 0.0L for an argument of 1.0L.
5393 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5395 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5396 value when x - 1 is zero.
5397 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5398 * sysdeps/i386/fpu/libm-test-ulps: Update.
5399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5401 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5403 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5404 alphasort and versionsort.
5406 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5408 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5410 [copysignf]: Likewise.
5412 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5414 * crypt/md5-crypt.c: Fix formatting.
5416 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5418 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5419 (b64_from_24bit): New function.
5421 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5423 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5424 libc_hidden_builtin_def to ifunc.
5425 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5426 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5428 2014-05-21 Roland McGrath <roland@hack.frob.com>
5430 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5431 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5433 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5435 * nscd/Depend (linuxthreads): Remove.
5437 * resolv/Depend (linuxthreads): Remove.
5438 * rt/Depend (linuxthreads): Remove.
5440 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5441 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5442 $(common-objpfx)elf/.
5443 (link-libc-before-gnulib): Likewise.
5444 (elfobjdir): Remove variable.
5445 * Makefile (install): Use $(elf-objpfx) instead of
5446 $(common-objpfx)elf/.
5447 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5449 (link-libc-deps): Likewise.
5450 ($(common-objpfx)libc.so): Likewise.
5451 ($(common-objpfx)linkobj/libc.so): Likewise.
5452 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5453 instead of $(common-objpfx)elf/.
5454 (symbolic-link-list): Likewise.
5455 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5456 [$(cross-compiling) = no]: Likewise.
5457 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5459 (static-gnulib-arch): Likewise.
5460 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5461 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5462 $(common-objpfx)elf/.
5464 2014-05-21 Richard Henderson <rth@redhat.com>
5466 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5467 (SINGLE_THREAD_P): Use the correct width load. Fold
5468 into the ldr offset.
5470 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5471 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5473 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5475 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5476 (libgcc_s_resume): Use __attribute_used__.
5477 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5480 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5482 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5483 optimization when used with float constants.
5485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5487 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5490 * locale/nl_langinfo_l.c: Make direct reference to every
5491 _nl_current_CATEGORY symbol.
5492 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5493 (tests-static): Add tst-langinfo-static.
5494 (tests-special): Add tst-langinfo-static.out.
5495 ($(objpfx)tst-langinfo.out): Redirect output.
5496 ($(objpfx)tst-langinfo-static.out): New.
5497 * localedata/tst-langinfo.sh: Send output to stdout.
5498 * localedata/tst-langinfo-static.c: New file.
5501 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5502 when the shift amount is modulo the limb size.
5504 2014-05-20 Richard Henderson <rth@redhat.com>
5507 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5508 Change type of sa_flags from unsigned int to int.
5511 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5513 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5515 2014-05-20 Will Newton <will.newton@linaro.org>
5517 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5518 Test the return value of the system call in the nocancel case.
5520 2014-05-20 Will Newton <will.newton@linaro.org>
5521 Yvan Roux <yvan.roux@linaro.org>
5523 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5524 #include of asm/ptrace.h.
5525 (PTRACE_GET_THREAD_AREA): Remove #undef.
5526 (PTRACE_GETHBPREGS): Likewise.
5527 (PTRACE_SETHBPREGS): Likewise.
5528 (struct user_regs_struct): New structure.
5529 (struct user_fpsimd_struct): New structure.
5530 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5531 #include of asm/ptrace.h and second #include of sys/user.h.
5532 (PTRACE_GET_THREAD_AREA): Remove #undef.
5533 (PTRACE_GETHBPREGS): Likewise.
5534 (PTRACE_SETHBPREGS): Likewise.
5535 (ELF_NGREG): Use new struct user_regs_struct.
5536 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5538 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5540 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5541 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5543 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5546 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5547 membar to avoid block loads/stores to overlap previous stores.
5549 2014-05-17 Richard Henderson <rth@redhat.com>
5551 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5552 Create the __##syscall_name##_nocancel entry point.
5553 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5554 Remove; let the sysdep-cancel.h code create it.
5556 2014-05-17 David S. Miller <davem@davemloft.net>
5558 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5559 Protect with __USE_GNU.
5560 (TIOCSET_TEMPT): Likewise.
5561 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5562 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5563 these are already provided in bits/ioctl-types.h
5565 2014-05-16 Roland McGrath <roland@hack.frob.com>
5567 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5568 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5570 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5571 Use wait4 regardless of [__NR_waitpid].
5573 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5576 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5577 (_FP_NANSIGN_Q): Set the quiet bit.
5579 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5581 * benchtests/Makefile
5582 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5583 not $(common-objpfx)math/libm.so.
5584 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5585 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5586 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5587 $(common-objpfx)dlfcn/libdl.so.
5588 ($(objpfx)tst-audit8): Depend on $(libm), not
5589 $(common-objpfx)math/libm.so.
5590 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5591 not $(common-objpfx)dlfcn/libdl.so.
5593 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5594 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5595 [$(build-shared) = yes].
5596 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5597 $(common-objpfx)nptl/libpthread.so.
5598 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5599 $(common-objpfx)math/libm.so$(libm.so-version) or
5600 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5601 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5602 $(common-objpfx)dlfcn/libdl.so.
5603 * setjmp/Makefile (link-libm): Remove variable.
5604 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5605 * stdio-common/Makefile (link-libm): Remove variable.
5606 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5607 * stdlib/Makefile (link-libm): Remove variable.
5608 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5609 ($(objpfx)tst-strtod-round): Likewise.
5610 ($(objpfx)tst-tininess): Likewise.
5611 ($(objpfx)tst-strtod-underflow): Likewise.
5612 ($(objpfx)tst-strtod6): Likewise.
5613 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5614 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5615 $(common-objpfx)dlfcn/libdl.so.
5617 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5619 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5620 BSD terminal modes definitions.
5622 2014-05-16 Roland McGrath <roland@hack.frob.com>
5624 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5625 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5627 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5628 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5629 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5630 Don't do #include_next.
5631 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5632 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5633 Don't do #include_next.
5634 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5635 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5636 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5637 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5639 2014-05-16 Allan McRae <allan@archlinux.org>
5641 * po/sv.po: Update Swedish translation from translation project.
5643 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5646 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5649 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5650 errno if the TIOCGPTN ioctl fails with an error different than
5652 * login/tst-ptsname.c: New file.
5653 * login/Makefile (tests): Add tst-ptsname.
5656 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5659 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5663 herrno to return EAI_AGAIN.
5665 2014-05-14 Roland McGrath <roland@hack.frob.com>
5667 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5668 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5669 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5670 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5671 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5672 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5673 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5674 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5675 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5676 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5677 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5678 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5679 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5680 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5681 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5682 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5683 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5684 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5685 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5686 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5687 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5688 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5689 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5690 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5691 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5692 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5693 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5694 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5695 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5696 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5698 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5700 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5703 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5705 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5707 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5709 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5711 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5713 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5715 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5717 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5718 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5719 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5721 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5723 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5725 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5727 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5729 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5732 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5734 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5736 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5738 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5740 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5742 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5744 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5746 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5748 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5750 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5753 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5755 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5757 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5758 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5759 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5760 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5761 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5762 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5763 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5764 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5765 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5766 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5767 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5768 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5769 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5770 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5771 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5772 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5773 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5774 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5775 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5776 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5777 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5778 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5779 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5780 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5781 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5782 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5783 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5784 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5785 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5786 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5787 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5789 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5790 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5792 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5793 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5794 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5795 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5796 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5797 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5799 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5800 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5802 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5803 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5805 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5806 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5808 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5809 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5810 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5811 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5813 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5814 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5815 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5816 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5817 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5818 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5819 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5820 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5822 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5823 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5825 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5827 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5828 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5829 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5830 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5831 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5833 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5835 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5837 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5838 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5839 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5840 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5841 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5842 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5844 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5845 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5847 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5848 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5850 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5851 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5853 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5854 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5855 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5856 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5858 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5859 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5860 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5861 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5862 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5863 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5864 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5865 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5867 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5868 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5870 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5872 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5873 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5874 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5875 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5876 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5878 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5880 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5882 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5883 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5884 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5885 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5886 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5887 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5888 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5889 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5890 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5891 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5893 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5894 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5896 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5897 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5899 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5900 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5902 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5903 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5904 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5905 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5906 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5907 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5909 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5910 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5911 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5912 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5913 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5914 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5915 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5916 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5918 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5919 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5921 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5923 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5924 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5925 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5926 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5927 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5929 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5931 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5933 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5934 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5935 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5936 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5937 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5938 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5939 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5940 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5941 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5942 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5943 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5945 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5946 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5948 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5949 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5951 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5952 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5953 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5954 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5955 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5956 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5957 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5958 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5959 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5960 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5961 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5962 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5963 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5964 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5965 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5966 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5967 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5968 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5970 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5971 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5972 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5973 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5975 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5976 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5977 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5978 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5979 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5980 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5981 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5982 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5984 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5985 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5987 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5988 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5989 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5990 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5991 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5992 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5993 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5994 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5995 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5996 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5997 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5998 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5999 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6000 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6001 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6002 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6003 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6005 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6006 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6007 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6008 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6009 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6011 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6012 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6013 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6014 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6015 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6016 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6017 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6018 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6019 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6020 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6022 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6023 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6025 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6026 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6027 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6028 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6029 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6030 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6031 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6032 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6033 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6034 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6035 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6036 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6037 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6038 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6039 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6041 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6043 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6045 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6047 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6055 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6059 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6060 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6061 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6062 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6063 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6064 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6065 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6066 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6067 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6068 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6069 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6070 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6071 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6072 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6073 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
6075 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6076 that was previously under [RESET_PID].
6077 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6078 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6079 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6081 * sysdeps/i386/nptl/Implies: New file.
6082 * sysdeps/x86_64/nptl/Implies: New file.
6083 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6084 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6085 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6086 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6088 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6089 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6090 (__libc_vfork): New strong alias.
6091 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6092 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6094 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6095 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6096 (__libc_vfork): New strong alias.
6097 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6098 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6100 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6101 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6102 (__libc_vfork): New strong alias.
6103 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6104 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6105 * nptl/pt-vfork.c: New file.
6106 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6107 (libpthread: GLIBC_2.20): New version set (empty).
6109 2014-05-14 Will Newton <will.newton@linaro.org>
6111 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6114 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6117 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6118 arguments with exponent 65 or above.
6119 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6120 arguments 0x1p113L or above.
6121 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6122 to arguments 0x1p107L or above.
6123 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6124 positive arguments with exponent 65 or above.
6125 * math/auto-libm-test-in: Add more tests of log1p.
6126 * math/auto-libm-test-out: Regenerated.
6129 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6130 non-finite arguments is +0.
6131 * math/s_cacosf.c (__cacosf): Likewise.
6132 * math/s_cacosl.c (__cacosl): Likewise.
6133 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6134 * sysdeps/i386/fpu/libm-test-ulps: Update.
6135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6138 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6140 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6141 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6142 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6143 for explicit high bit of mantissa when testing for argument equal
6145 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6146 * sysdeps/i386/fpu/libm-test-ulps: Update.
6147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6150 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6151 (__erf): Scale by 16 instead of 8 in potentially underflowing
6152 case. Ensure exception if result actually underflows.
6153 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6154 (__erff): Scale by 16 instead of 8 in potentially underflowing
6155 case. Ensure exception if result actually underflows.
6156 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6157 (efx8): Remove variable.
6158 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6159 case. Ensure exception if result actually underflows.
6160 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6161 (efx8): Remove variable.
6162 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6163 case. Ensure exception if result actually underflows.
6164 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6165 (efx8): Remove variable.
6166 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6167 case. Ensure exception if result actually underflows.
6168 * math/auto-libm-test-in: Add more tests of erf.
6169 * math/auto-libm-test-out: Regenerated.
6171 2014-05-14 Andreas Schwab <schwab@suse.de>
6173 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6174 Remove code conditionalized on USE___THREAD.
6176 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6177 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6180 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6182 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6183 Define unconditionally.
6184 (__ASSUME_O_CLOEXEC): Likewise.
6185 (__ASSUME_SOCK_CLOEXEC): Likewise.
6186 (__ASSUME_IN_NONBLOCK): Likewise.
6187 (__ASSUME_PIPE2): Likewise.
6188 (__ASSUME_EVENTFD2): Likewise.
6189 (__ASSUME_SIGNALFD4): Likewise.
6190 (__ASSUME_DUP3): Likewise.
6191 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6192 (__ASSUME_DUP3): Do not define.
6193 (__ASSUME_EVENTFD2): Likewise.
6194 (__ASSUME_IN_NONBLOCK): Likewise.
6195 (__ASSUME_O_CLOEXEC): Likewise.
6196 (__ASSUME_PIPE2): Likewise.
6197 (__ASSUME_SIGNALFD4): Likewise.
6198 (__ASSUME_SOCK_CLOEXEC): Likewise.
6199 (__ASSUME_UTIMES): Undefine.
6200 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6201 (__ASSUME_UTIMES): Do not define.
6202 (__ASSUME_O_CLOEXEC): Likewise.
6203 (__ASSUME_SOCK_CLOEXEC): Likewise.
6204 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6205 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6207 (__ASSUME_PIPE2): Likewise.
6208 (__ASSUME_EVENTFD2): Likewise.
6209 (__ASSUME_SIGNALFD4): Likewise.
6210 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6211 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6213 (__ASSUME_EVENTFD2): Likewise.
6214 (__ASSUME_SIGNALFD4): Likewise.
6215 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6216 (__ASSUME_32BITUIDS): Likewise.
6217 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6218 (__ASSUME_IPC64): Likewise.
6219 (__ASSUME_ST_INO_64_BIT): Likewise.
6220 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6221 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6222 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6223 (__ASSUME_UTIMES): Do not define.
6224 (__ASSUME_PSELECT): Likewise.
6225 (__ASSUME_PPOLL): Likewise.
6226 (__ASSUME_O_CLOEXEC): Likewise.
6227 (__ASSUME_SOCK_CLOEXEC): Likewise.
6228 (__ASSUME_IN_NONBLOCK): Likewise.
6229 (__ASSUME_PIPE2): Likewise.
6230 (__ASSUME_EVENTFD2): Likewise.
6231 (__ASSUME_SIGNALFD4): Likewise.
6232 (__ASSUME_DUP3): Likewise.
6233 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6234 (__ASSUME_UTIMES): Likewise.
6235 (__ASSUME_O_CLOEXEC): Likewise.
6236 (__ASSUME_SOCK_CLOEXEC): Likewise.
6237 (__ASSUME_IN_NONBLOCK): Likewise.
6238 (__ASSUME_PIPE2): Likewise.
6239 (__ASSUME_EVENTFD2): Likewise.
6240 (__ASSUME_SIGNALFD4): Likewise.
6241 (__ASSUME_DUP3): Likewise.
6242 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6243 (__ASSUME_UTIMES): Likewise.
6244 (__ASSUME_O_CLOEXEC): Likewise.
6245 (__ASSUME_SOCK_CLOEXEC): Likewise.
6246 (__ASSUME_IN_NONBLOCK): Likewise.
6247 (__ASSUME_PIPE2): Likewise.
6248 (__ASSUME_EVENTFD2): Likewise.
6249 (__ASSUME_SIGNALFD4): Likewise.
6250 (__ASSUME_DUP3): Likewise.
6251 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6253 (__ASSUME_UTIMES): Likewise.
6254 (__ASSUME_EVENTFD2): Likewise.
6255 (__ASSUME_SIGNALFD4): Likewise.
6256 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6257 (__ASSUME_O_CLOEXEC): Likewise.
6258 (__ASSUME_SOCK_CLOEXEC): Likewise.
6259 (__ASSUME_IN_NONBLOCK): Likewise.
6260 (__ASSUME_PIPE2): Likewise.
6261 (__ASSUME_EVENTFD2): Likewise.
6262 (__ASSUME_SIGNALFD4): Likewise.
6263 (__ASSUME_DUP3): Likewise.
6264 (__ASSUME_UTIMES): Undefine.
6266 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6267 feclearexcept. Remove symbol versioning code.
6268 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6269 symbol versioning code.
6270 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6271 symbol versioning code.
6272 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6273 feupdateenv. Remove symbol versioning code.
6274 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6275 fegetexceptflag. Remove symbol versioning code.
6276 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6277 fesetexceptflag. Remove symbol versioning code.
6278 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6279 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6280 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6281 (__posix_fadvise64_l32): Remove prototype.
6282 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6285 2014-05-13 Roland McGrath <roland@hack.frob.com>
6287 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6288 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6289 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6290 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6292 2014-05-13 Sami Kerola <kerolasa@iki.fi>
6294 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6295 current working directory
6297 2014-05-13 Roland McGrath <roland@hack.frob.com>
6299 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6300 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6301 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6302 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6303 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6304 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6305 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6306 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6307 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6308 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6309 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6310 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6311 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6312 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6313 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6314 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6315 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6316 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6317 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6318 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6319 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6320 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6321 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6322 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6323 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6324 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6325 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6326 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6327 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6328 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6329 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6330 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6331 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6332 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6333 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6334 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6335 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6336 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6337 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6338 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6339 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6340 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6342 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6343 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6345 * sysdeps/unix/sysv/linux/arm/Makefile
6346 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6347 Add rt-aeabi_unwind_cpp_pr1.
6348 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6349 Add nptl-aeabi_unwind_cpp_pr1.
6350 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6351 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6352 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6353 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6354 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6355 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6357 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6358 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6359 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6360 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6362 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6363 Deconditionalize the code that was previously under [RESET_PID].
6364 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6366 * sysdeps/generic/exit-thread.h: New file.
6367 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6368 * include/unistd.h (__exit_thread): Remove declaration.
6369 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6370 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6371 * csu/libc-start.c: Include <exit-thread.h>.
6372 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6373 * nptl/pthread_create.c: Include <exit-thread.h>.
6374 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6375 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6376 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6377 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6378 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6379 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6380 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6381 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6382 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6383 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6384 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6385 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6386 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6387 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6388 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6389 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6390 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6392 2014-05-13 Andreas Schwab <schwab@suse.de>
6394 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6396 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6398 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6399 (__ASSUME_UTIMES): Do not condition on kernel version.
6400 (__ASSUME_PSELECT): Define unconditionally.
6401 (__ASSUME_PPOLL): Likewise.
6402 (__ASSUME_ATFCTS): Likewise.
6403 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6404 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6405 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6406 (__ASSUME_UTIMENSAT): Define unconditionally.
6407 (__ASSUME_PRIVATE_FUTEX): Likewise.
6408 (__ASSUME_FALLOCATE): Likewise.
6409 (__ASSUME_O_CLOEXEC): Likewise.
6410 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6411 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6412 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6413 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6414 (__ASSUME_IN_NONBLOCK): Likewise.
6415 (__ASSUME_PIPE2): Likewise.
6416 (__ASSUME_EVENTFD2): Likewise.
6417 (__ASSUME_SIGNALFD4): Likewise.
6418 (__ASSUME_DUP3): Likewise.
6419 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6420 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6421 (__ASSUME_AT_RANDOM): Likewise.
6422 (__ASSUME_PREADV): Likewise.
6423 (__ASSUME_PWRITEV): Likewise.
6424 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6425 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6426 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6427 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6428 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6429 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6430 (__ASSUME_O_CLOEXEC): Define unconditionally.
6431 (__ASSUME_PSELECT): Do not undefine conditionally.
6432 (__ASSUME_PPOLL): Likewise.
6433 (__ASSUME_ATFCTS): Likewise.
6434 (__ASSUME_SET_ROBUST_LIST): Likewise.
6435 (__ASSUME_UTIMENSAT): Likewise.
6436 (__ASSUME_FDATASYNC): Define unconditionally.
6437 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6438 (__ASSUME_SIGFRAME_V2): Likewise.
6439 )__ASSUME_EVENTFD2): Likewise.
6440 (__ASSUME_SIGNALFD4): Likewise.
6441 (__ASSUME_PSELECT): Do not undefine conditionally.
6442 (__ASSUME_PPOLL): Likewise.
6443 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6444 (__ASSUME_PSELECT): Define unconditionally.
6445 (__ASSUME_PPOLL): Likewise.
6446 (__ASSUME_O_CLOEXEC): Likewise.
6447 (__ASSUME_SOCK_CLOEXEC): Likewise.
6448 (__ASSUME_IN_NONBLOCK): Likewise.
6449 (__ASSUME_PIPE2): Likewise.
6450 (__ASSUME_EVENTFD2): Likewise.
6451 (__ASSUME_SIGNALFD4): Likewise.
6452 (__ASSUME_DUP3): Likewise.
6453 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6454 (__ASSUME_O_CLOEXEC): Likewise.
6455 (__ASSUME_SOCK_CLOEXEC): Likewise.
6456 (__ASSUME_IN_NONBLOCK): Likewise.
6457 (__ASSUME_PIPE2): Likewise.
6458 (__ASSUME_EVENTFD2): Likewise.
6459 (__ASSUME_SIGNALFD4): Likewise.
6460 (__ASSUME_DUP3): Likewise.
6461 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6462 (__ASSUME_EVENTFD2): Likewise.
6463 (__ASSUME_SIGNALFD4): Likewise.
6464 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6466 2014-05-12 Andreas Schwab <schwab@suse.de>
6469 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6470 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6471 than maximum RPC packet size.
6472 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6473 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6474 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6475 (_nss_nis_getservbyport_r): Likewise.
6477 2014-05-12 Will Newton <will.newton@linaro.org>
6479 * malloc/Makefile (tests): Add tst-mallopt.
6480 * malloc/tst-mallopt.c: New file.
6482 2014-05-09 Roland McGrath <roland@hack.frob.com>
6484 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6485 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6487 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6489 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6490 (tst-tlsmod6.so): Likewise.
6492 2014-05-09 Roland McGrath <roland@hack.frob.com>
6494 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6496 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6499 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6500 and <dl-procinfo.h>.
6501 (__fegetenv): Save SSE state in envp->__eip if supported.
6502 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6503 envp->__eip if supported.
6504 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6505 and <dl-procinfo.h>.
6506 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6507 __data_offset and __data_selector in environment to 0. Set SSE
6509 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6511 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6513 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6515 2014-05-09 Will Newton <will.newton@linaro.org>
6517 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6518 and libc_relro_required for ARM.
6519 * sysdeps/arm/preconfigure: Regenerate.
6521 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6522 Stefan Liebler <stli@linux.vnet.ibm.com>
6524 * config.make.in (enable-lock-elision): New Makefile variable.
6525 * configure.ac: Likewise.
6526 * configure: Regenerate.
6527 * sysdeps/s390/configure.ac:
6528 Add check for gcc transactions support.
6529 * sysdeps/s390/configure: Regenerate.
6530 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6531 Build elision files if enabled.
6532 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6533 Add lock elision support for s390.
6534 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6535 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6536 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6537 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6538 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6539 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6540 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6542 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6544 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6546 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6548 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6549 (__lll_timedlock_elision, __lll_lock_elision)
6550 (__lll_unlock_elision, __lll_trylock_elision)
6551 (lll_timedlock_elision, lll_lock_elision)
6552 (lll_unlock_elision, lll_trylock_elision): Add.
6553 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6554 (pthread_mutex_t): Add lock elision support for s390.
6556 2014-05-14 Wilco <wdijkstr@arm.com>
6558 * sysdeps/arm/fclrexcpt.c: Cleanup.
6559 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6560 * sysdeps/arm/feenablxcpt.c: Cleanup.
6561 * sysdeps/arm/fegetenv.c: Cleanup.
6562 * sysdeps/arm/fegetexcept.c: Cleanup.
6563 * sysdeps/arm/fegetround.c: Cleanup.
6564 * sysdeps/arm/feholdexcpt.c: Cleanup.
6565 * sysdeps/arm/fesetenv.c: Cleanup.
6566 * sysdeps/arm/fesetround.c: Cleanup.
6567 * sysdeps/arm/feupdateenv.c: Cleanup.
6568 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6569 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6570 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6571 * sysdeps/arm/ftestexcept.c: Cleanup.
6572 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6573 * sysdeps/arm/setfpucw.c: Cleanup.
6575 2014-05-09 Will Newton <will.newton@linaro.org>
6577 * sysdeps/arm/armv7/strcmp.S: New file.
6578 * NEWS: Mention addition of ARMv7 optimized strcmp.
6580 2014-05-08 Roland McGrath <roland@hack.frob.com>
6582 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6583 look for %.ac rather than %.in.
6585 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6586 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6587 * sysdeps/mach/hurd/configure: Regenerated.
6588 * sysdeps/unix/sysv/linux/configure: Regenerated.
6590 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6592 2014-05-07 Steve Ellcey <sellcey@mips.com>
6595 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6599 2014-05-07 Andreas Schwab <schwab@suse.de>
6601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6602 when skipping over non-matching result from nscd.
6604 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6607 * nptl/sockperf.c (client): Check socket return value.
6610 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6611 nscd security class.
6613 2014-05-06 Roland McGrath <roland@hack.frob.com>
6615 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6616 * sysdeps/arm/unwind.h: ... here.
6618 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6621 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6624 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6626 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6627 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6628 multiarch strncpy for PPC64.
6629 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6630 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6632 multiarch optimizations.
6633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6634 (__libc_ifunc_impl_list): Likewise.
6635 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6636 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6637 multiarch stpncpy for PPC64.
6638 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6639 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6641 2014-05-06 Andreas Schwab <schwab@suse.de>
6644 * gmon/mcount.c (_MCOUNT_DECL): Use
6645 atomic_compare_and_exchange_bool_acq instead of
6646 catomic_compare_and_exchange_bool_acq.
6648 2014-05-05 Roland McGrath <roland@hack.frob.com>
6650 * elf/Makefile (others, install-bin): Remove pldd.
6651 (pldd-modules): Variable removed.
6652 ($(objpfx)pldd): Target removed.
6653 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6654 (others, install-bin): Append pldd here.
6655 ($(objpfx)pldd): New target.
6657 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6658 to 0, so the first #if test emitted later doesn't see it undefined.
6659 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6660 * sysdeps/gnu/errlist.c: Regenerated.
6662 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6664 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6665 [libc_hidden_builtin_def]: Define to empty value.
6666 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6667 [libc_hidden_builtin_def]: Likewise.
6668 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6669 [libc_hidden_builtin_def]: Likewise.
6670 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6671 [libc_hidden_builtin_def]: Likewise.
6672 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6673 __redirect_memcpy and define ifunc as default hidden symbol.
6674 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6675 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6677 2014-05-04 Adam Conrad <adconrad@0c3.net>
6679 * locale/iso-4217.def: Reintroduce XDR currency.
6681 2014-05-04 Allan McRae <allan@archlinux.org>
6683 * po/eo.po: Update Esperanto translation from translation project.
6685 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6687 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6688 and FEATURE_INDEX_MAX to 1.
6689 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6691 2014-05-01 Steve Ellcey <sellcey@mips.com>
6693 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6694 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6695 * iconvdata/big5.c (ONE_DIRECTION): Define.
6696 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6697 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6698 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6699 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6700 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6701 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6702 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6703 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6704 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6705 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6706 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6707 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6708 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6709 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6710 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6711 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6712 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6713 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6714 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6715 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6716 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6717 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6718 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6719 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6720 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6721 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6722 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6723 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6724 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6725 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6726 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6727 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6728 * iconvdata/johab.c (ONE_DIRECTION): Define.
6729 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6730 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6731 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6732 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6733 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6734 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6735 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6736 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6737 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6738 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6740 2014-05-01 Roland McGrath <roland@hack.frob.com>
6742 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6743 (_IO_JUMPS_OFFSET): Define to 0.
6745 * nptl/sysdeps/pthread/bits/libc-lock.h
6746 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6747 (__libc_lock_define_initialized_recursive): Always define using
6748 initializer. Modern compilers treat uninitialized (implicit zero) and
6749 explicit zero initializers the same (i.e. put the datum in bss).
6751 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6753 * nscd/nscd-client.h: Include <string.h>.
6755 2014-05-01 David S. Miller <davem@davemloft.net>
6758 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6759 multiple zero bytes exist at the end of a string.
6760 Reported by Aurelien Jarno <aurelien@aurel32.net>
6762 * string/test-strcmp.c (check): Add explicit test for situations where
6763 there are multiple zero bytes after the first.
6765 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6768 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6769 when compiling wprintf.
6770 * stdio-common/tstdiomisc.c (t3): New function.
6773 2014-05-01 Steve Ellcey <sellcey@mips.com>
6775 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6776 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6777 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6778 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6780 2014-05-01 Steve Ellcey <sellcey@mips.com>
6782 * stdlib/longlong.h: Updated from GCC.
6784 2014-05-01 Will Newton <will.newton@linaro.org>
6785 Bernard Ogden <bernie.ogden@linaro.org>
6787 * NEWS: Update fixed bug list.
6790 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6792 2014-04-30 David S. Miller <davem@davemloft.net>
6794 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6795 (libc_feholdexcept_setround_sparc_ctx): New function.
6796 (libc_fesetenv_sparc_ctx): Likewise.
6797 (libc_feupdateenv_sparc_ctx): Likewise.
6798 (libc_feholdsetround_sparc_ctx): Likewise.
6799 (libc_feholdexcept_setround_ctx): Define.
6800 (libc_feholdexcept_setroundf_ctx): Likewise.
6801 (libc_feholdexcept_setroundl_ctx): Likewise.
6802 (libc_fesetenv_ctx): Likewise.
6803 (libc_fesetenvf_ctx): Likewise.
6804 (libc_fesetenvl_ctx): Likewise.
6805 (libc_feupdateenv_ctx): Likewise.
6806 (libc_feupdateenvf_ctx): Likewise.
6807 (libc_feupdateenvl_ctx): Likewise.
6808 (libc_feresetround_ctx): Likewise.
6809 (libc_feresetroundf_ctx): Likewise.
6810 (libc_feresetroundl_ctx): Likewise.
6811 (libc_feholdsetround_ctx): Likewise.
6812 (libc_feholdsetroundf_ctx): Likewise.
6813 (libc_feholdsetroundl_ctx): Likewise.
6815 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6816 with __USE_GNU instead of XOPEN cpp guards.
6818 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6821 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6822 with XOPEN cpp guards.
6824 2014-04-30 Julian Brown <julian@codesourcery.com>
6827 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6830 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6833 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6835 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6836 * sysdeps/unix/sysv/linux/configure: Regenerated.
6837 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6838 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6839 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6840 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6841 * README: Update reference to required Linux kernel version.
6842 * manual/install.texi (Linux): Update reference to required Linux
6843 kernel headers version.
6844 * INSTALL: Regenerated.
6846 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6848 [POSIX] (limits.h): Likewise.
6849 [POSIX] (math.h): Likewise.
6850 [POSIX] (sys/wait.h): Likewise.
6851 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6853 [POSIX] (stddef.h): Do not allow header inclusion.
6855 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6857 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6859 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6861 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6862 Return immediately after lll_futex_wake.
6864 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6867 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6869 (datahead_init_pos): Call datahead_init_common early.
6870 (datahead_init_neg): Likewise.
6872 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6873 datahead_init_neg): New functions.
6874 * nscd/aicache.c (addhstaiX): Use them.
6875 * nscd/grpcache.c (cache_addgr): Likewise.
6876 * nscd/hstcache.c (cache_addhst): Likewise.
6877 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6878 * nscd/netgroupcache.c (do_notfound): Likewise.
6879 (addgetnetgrentX): Likewise.
6880 (addinnetgrX): Likewise.
6881 * nscd/pwdcache.c (cache_addpw): Likewise.
6882 * nscd/servicescache.c (cache_addserv): Likewise.
6884 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6885 Atsushi Onoe <atsushi@onoe.org>
6890 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6891 one response is valid.
6892 * resolv/res_send.c (send_dg): Check for validity of other
6893 response if the current response is a referral.
6895 2014-04-29 Steve Ellcey <sellcey@mips.com>
6897 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6899 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6902 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6903 Always divide by positive zero when computing -Inf result.
6904 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6905 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6907 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6909 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6910 FPSCR if value do not change.
6911 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6912 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6913 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6914 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6915 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6916 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6919 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6921 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6922 * sysdeps/unix/sysv/linux/hppa: Move directory from
6923 ports/systeps/unix/sysv/linux/hppa.
6924 * README: Update listing for hppa-*-linux-gnu.
6926 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6929 * manual/stdio.texi (Hook functions): Fix types of stream hook
6932 * socket/sys/socket.h: Fix typo in comment.
6934 2014-04-28 Wilco <wdijkstr@arm.com>
6936 * sysdeps/arm/fenv_private.h: New file.
6937 * sysdeps/arm/math_private.h: New file.
6938 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6940 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6942 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6944 (La_x86_64_retval): Likewise.
6946 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6948 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6949 fpsr if value didn't change.
6950 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6951 to fpcr if value didn't change.
6952 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6953 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6954 fpsr or fpcr if value didn't change.
6955 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6956 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6957 fpcr if value didn't change.
6958 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6959 to fpsr if value didn't change.
6961 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6963 * nptl/tst-sem3.c: Use test-skeleton.c
6964 (main): Rename to do_test. Use return instead of
6966 * nptl/tst-sem4.c: Use test-skeleton.c
6967 (main): Rename to do_test.
6969 2014-04-22 David S. Miller <davem@davemloft.net>
6971 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6972 (struct sigaction): New struct member __glibc_reserved0, change
6973 type of sa_flags to int.
6975 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6977 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6978 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6980 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6982 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6983 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6985 2014-04-22 Will Newton <will.newton@linaro.org>
6986 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6988 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6989 (__longjmp): Add longjmp and longjmp_target SystemTap
6991 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6992 (__sigsetjmp): Add setjmp SystemTap probe.
6994 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6996 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6999 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7001 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7003 * sysdeps/powerpc/fpu/fenv_private.h
7004 (libc_feholdexcept_setroundl_ctx): Define to
7005 libc_feholdexcept_setround_ppc_ctx.
7006 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7007 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7008 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7009 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7011 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7013 * sysdeps/aarch64/math-tests.h: New file.
7015 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7017 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7020 Check and set bit_AVX2_Usable.
7021 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7023 (bit_AVX2): Likewise.
7024 (index_AVX2_Usable): Likewise.
7025 (CPUID_AVX2): Likewise.
7026 (HAS_AVX2): Likewise.
7028 2014-04-17 Will Newton <will.newton@linaro.org>
7030 * manual/setjmp.texi (System V contexts): Add note that
7031 calling setcontext on a context created by a call to a
7032 signal handler is undefined. Update text to note that
7033 setcontext from a signal handler is possible but not
7037 * stdlib/tst-setcontext.c: Include signal.h.
7038 (main): Check that the signal stack before and
7039 after swapcontext is the same.
7041 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7042 Re-implement to restore registers in user code and avoid
7043 rt_sigreturn system call.
7045 2014-04-17 Wilco <wdijkstr@arm.com>
7047 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7048 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7049 * math/test-fenv.c: Skip exception trap tests on targets which only
7050 support non-stop mode.
7052 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7053 Wilco Dijkstra <wilco.dijkstra@arm.com>
7055 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7056 (libc_feholdsetround_aarch64_ctx)
7057 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7058 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7059 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7060 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7061 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7062 (libc_feresetround_noexl_ctx): Define.
7064 2014-04-16 Richard Henderson <rth@redhat.com>
7066 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7068 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7071 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7072 const from the non-libc, non-ldso copy.
7074 * sysdeps/alpha/libm-test-ulps: Regenerate.
7076 2014-04-16 Ian Bolton <ian.bolton@arm.com>
7077 Wilco Dijkstra <wilco.dijkstra@arm.com>
7079 * sysdeps/aarch64/fpu/math_private.h: New file.
7081 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7083 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7085 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7088 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7089 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7090 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7091 Intel MPX bound registers before _dl_profile_fixup.
7092 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7093 registers after _dl_profile_fixup. Save and restore bound
7094 registers bnd0/bnd1 when calling _dl_call_pltexit.
7095 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7096 (LR_BND_OFFSET): Likewise.
7097 (LRV_BND0_OFFSET): Likewise.
7098 (LRV_BND1_OFFSET): Likewise.
7100 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7102 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7104 * sysdeps/mach/hurd/i386/tls.h: ... here.
7105 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7106 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7109 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7111 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7113 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7115 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7117 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7120 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7121 * sysdeps/s390/configure: Regenerate.
7124 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7125 Set round-to-nearest internally to reduce error accumulation.
7127 2014-04-16 Alan Modra <amodra@gmail.com>
7131 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7132 * math/libm-test.inc (frexp_test_data): Add tests.
7133 * NEWS: Update fixed bug list.
7135 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7137 * benchtests/Makefile: Depend on libraries in build directory.
7138 (bench-math): Separate out math tests.
7139 (bench-pthread): Separate out pthread tests.
7140 (bench): Include math and pthread tests.
7142 2014-04-14 Carlos O'Donell <carlos@redhat.com>
7145 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7146 _dl_debug_initialize.
7148 * configure.ac: Remove SELinux header check.
7149 * configure: Regenerate.
7150 * nscd/selinux.c (perms): Array of const char* to permission names.
7151 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7152 default policy. Call string_to_security_class and string_to_av_perm to
7153 translate strings. Enforce default policy and call avs_has_perm with
7154 results of translated strings.
7156 2014-04-13 David S. Miller <davem@davemloft.net>
7158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7160 2014-04-12 Allan McRae <allan@archlinux.org>
7163 * manual/string.texi (Collation Functions): Fix qsort argument
7165 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7167 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7169 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7170 Make the test a no-op if there are no exceptions defined.
7172 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7174 * elf/Makefile (tests): make tst-dlopen-aout conditional on
7175 enable-hardcoded-path-in-tests
7177 2014-04-11 Will Newton <will.newton@linaro.org>
7179 * benchtests/Makefile (extra-objs): Add json-lib.o.
7180 (bench-func): Tidy up JSON output.
7181 * benchtests/bench-skeleton.c: Include json-lib.h.
7182 (main): Use JSON library functions to do output of
7184 * benchtests/bench-timing-type.c (main): Output the
7185 timing type simply, leaving formatting to the user.
7186 * benchtests/json-lib.c: New file.
7187 * benchtests/json-lib.h: Likewise.
7189 2014-04-11 Torvald Riegel <triegel@redhat.com>
7192 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7193 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7194 memory barriers. Add comments.
7195 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7196 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7197 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7198 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7199 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7200 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7202 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7204 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7205 * sysdeps/s390/s390-64/configure.ac: ... this ...
7206 * sysdeps/s390/configure.ac: ... to here.
7207 * sysdeps/s390/s390-32/configure: Delete file.
7208 * sysdeps/s390/s390-64/configure: Delete file.
7209 * sysdeps/s390/configure: Regenerate.
7211 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7213 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7215 2014-04-11 Will Newton <will.newton@linaro.org>
7217 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7218 to zero if it is not defined elsewhere. (mtrim): Test
7219 the value of MALLOC_DEBUG with #if rather than #ifdef.
7221 2014-04-10 Torvald Riegel <triegel@redhat.com>
7223 * benchtests/pthread_once-inputs: New file.
7224 * benchtests/pthread_once-source.c: New file.
7225 * benchtests/README: Update documentation.
7227 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7228 H.J. Lu <hongjiu.lu@intel.com>
7231 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7232 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7233 * sysdeps/x86_64/configure: Regenerated.
7234 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7236 (REGISTER_SAVE_RAX): Likewise.
7237 (REGISTER_SAVE_RCX): Likewise.
7238 (REGISTER_SAVE_RDX): Likewise.
7239 (REGISTER_SAVE_RSI): Likewise.
7240 (REGISTER_SAVE_RDI): Likewise.
7241 (REGISTER_SAVE_R8): Likewise.
7242 (REGISTER_SAVE_R9): Likewise.
7243 (REGISTER_SAVE_BND0): Likewise.
7244 (REGISTER_SAVE_BND1): Likewise.
7245 (REGISTER_SAVE_BND2): Likewise.
7246 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7247 bound registers when calling _dl_fixup.
7249 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7251 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7252 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7254 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7255 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7256 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7257 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7258 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7259 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7260 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7262 2014-04-09 Peter Brett <peter@peter-b.co.uk>
7265 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7266 pathconf(_PC_NAME_MAX).
7268 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7270 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7272 (__PTHREAD_SPINS): Move definition to ...
7273 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7274 (__PTHREAD_SPINS): ... here.
7275 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7276 (__PTHREAD_SPIN): Likewise.
7277 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7278 (__PTHREAD_SPIN): Likewise.
7279 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7280 (__PTHREAD_SPIN): Likewise.
7281 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7282 (__PTHREAD_SPIN): Likewise.
7283 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7284 (__PTHREAD_SPIN): Likewise.
7285 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7286 (__PTHREAD_SPIN): Likewise.
7287 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7288 (__PTHREAD_SPIN): Likewise.
7289 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7290 (__PTHREAD_SPIN): Likewise.
7291 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7292 (__PTHREAD_SPIN): Likewise.
7293 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7294 (__PTHREAD_SPIN): Likewise.
7295 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7296 (__PTHREAD_SPIN): Likewise.
7297 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7298 (__PTHREAD_SPIN): Likewise.
7300 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7301 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7302 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7303 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7305 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7306 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7307 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7308 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7310 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7311 strlen symbol for non multi-arch builds.
7312 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7313 missing hidden_def and weak_alias.
7315 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7317 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7319 2014-04-07 Will Newton <will.newton@linaro.org>
7321 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7322 and contents. [!_LIBC] Remove #ifndef and contents.
7323 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7324 * string/memccpy.c (__memccpy): Use ANSI prototype.
7325 * string/memfrob.c (memfrob): Likewise.
7326 * string/strcoll.c (STRCOLL): Likewise.
7327 * string/strlen.c (strlen): Likewise.
7328 * string/strtok.c (STRTOK): Likewise.
7329 * string/strcat.c: Remove unused #include of memcopy.h.
7330 (strcat): Use ANSI prototype.
7331 * string/strchr.c: Remove unused #include of memcopy.h.
7332 (strchr): Use ANSI prototype.
7333 * string/strcmp.c: Remove unused #include of memcopy.h.
7334 (strcmp): Use ANSI prototype.
7335 * string/strcpy.c: Remove unused #include of memcopy.h.
7336 (strcpy): Use ANSI prototype.
7338 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7340 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7341 * config.make.in (config-extra-cppflags): Set it from
7342 libc_extra_cppflags.
7343 * configure.ac (libc_extra_cflags): Make it accumulate over
7344 configure fragments.
7345 (libc_extra_cppflags): New flag.
7346 * configure. Regenerate.
7347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7348 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7349 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7353 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7354 result for FE_DOWNWARD rounding mode.
7355 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7359 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7361 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7362 in function argument name.
7364 2014-04-03 David Svoboda <svoboda@cert.org>
7367 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7370 2014-04-03 Roland McGrath <roland@hack.frob.com>
7372 * elf/dl-unmap-segments.h: New file.
7373 * sysdeps/generic/ldsodefs.h
7374 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7375 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7376 * elf/dl-fptr.c: Likewise.
7377 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7378 * sysdeps/aarch64/tlsdesc.c: Likewise.
7379 * sysdeps/arm/tlsdesc.c: Likewise.
7380 * sysdeps/i386/tlsdesc.c: Likewise.
7381 * sysdeps/tile/dl-runtime.c: Likewise.
7382 * sysdeps/x86_64/tlsdesc.c: Likewise.
7383 * elf/dl-load.h: New file.
7384 * elf/dl-load.c: Include it.
7385 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7386 Macros moved to dl-load.h.
7387 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7388 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7389 Use _dl_unmap_segments in place of __munmap.
7390 Break out segment-mapping loop into ...
7391 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7393 2014-04-03 Will Newton <will.newton@linaro.org>
7395 * elf/dl-lookup.c (do_lookup_x): Remove comment
7396 referring to nested function and move variable
7397 declarations down to before first use.
7399 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7403 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7405 * math/s_catanf.c (__catanf): Likewise.
7406 * math/s_catanh.c (__catanh): Likewise.
7407 * math/s_catanhf.c (__catanhf): Likewise.
7408 * math/s_catanhl.c (__catanhl): Likewise.
7409 * math/s_catanl.c (__catanl): Likewise.
7410 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7411 by positive zero when computing -Inf result.
7412 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7413 (catanh_test): Likewise.
7414 * sysdeps/i386/fpu/libm-test-ulps: Update.
7415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7418 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7419 instead of using underflowing value in computing result.
7420 * math/s_clog10.c (__clog10): Likewise.
7421 * math/s_clog10f.c (__clog10f): Likewise.
7422 * math/s_clog10l.c (__clog10l): Likewise.
7423 * math/s_clogf.c (__clogf): Likewise.
7424 * math/s_clogl.c (__clogl): Likewise.
7425 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7426 (clog10_test): Likewise.
7427 * sysdeps/i386/fpu/libm-test-ulps: Update.
7428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7430 2014-04-02 Alan Modra <amodra@gmail.com>
7433 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7434 output when value is near a power of two. Use int64_t for lx and
7435 remove casts. Use decimal rather than hex exponent constants.
7436 Don't use long double multiplication when double will suffice.
7437 * math/libm-test.inc (nextafter_test_data): Add tests.
7438 * NEWS: Add 16739 and 16786 to bug list.
7440 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7442 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7444 2014-04-01 Will Newton <will.newton@linaro.org>
7446 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7447 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7449 2014-04-01 Florian Weimer <fweimer@redhat.com>
7452 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7453 * nptl/tst-setuid2.c: New file.
7454 * nptl/Makefile (xtests): Add tst-setuid2.
7456 2014-04-01 Alan Modra <amodra@gmail.com>
7459 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7461 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7465 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7466 set errno as appropriate.
7467 * math/w_scalbf.c (__scalbf): Likewise.
7468 * math/w_scalbl.c (__scalbl): Likewise.
7469 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7470 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7471 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7475 * math/w_atan2.c: Include <errno.h>.
7476 (__atan2): Set errno for result underflowing to zero.
7477 * math/w_atan2f.c: Include <errno.h>.
7478 (__atan2f): Set errno for result underflowing to zero.
7479 * math/w_atan2l.c: Include <errno.h>.
7480 (__atan2l): Set errno for result underflowing to zero.
7481 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7483 * math/auto-libm-test-out: Regenerated.
7485 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7487 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7488 Encode instruction correctly in little endian.
7489 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7491 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7493 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7495 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7498 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7501 * sysdeps/unix/sysv/linux/kernel-features.h
7502 [__sparc__ && !__arch64__ && !__sparc_v9__]
7503 (__ASSUME_SET_ROBUST_LIST): Do not define.
7504 [__sparc__ && !__arch64__ && !__sparc_v9__]
7505 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7506 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7508 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7509 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7510 (__ASSUME_REQUEUE_PI): Likewise.
7511 (__ASSUME_SET_ROBUST_LIST): Likewise.
7512 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7513 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7515 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7516 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7518 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7520 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7522 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7523 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7525 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7526 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7530 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7531 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7532 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7534 2014-03-31 Will Newton <will.newton@linaro.org>
7536 * benchtests/Makefile (bench): Add ffs and ffsll to list
7538 * benchtests/ffs-inputs: New file.
7539 * benchtests/ffsll-inputs: Likewise.
7541 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7544 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7545 too large before casting to int.
7546 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7547 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7548 * math/libm-test.inc (scalb_test_data): Add more tests.
7550 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7552 * benchtests/Makefile (DETAILED_OPT): New make option.
7553 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7555 * benchtests/bench-skeleton.c: Include stdbool.h.
7556 (main): Store and print timings per input.
7557 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7558 member to each argument value.
7559 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7560 (_print_arg_data): Initialize per-input timing to 0.
7562 * benchtests/Makefile (timing-type): New binary.
7563 (bench-clean): Also remove bench-timing-type.
7564 (bench): New target for timing-type.
7565 (bench-func): Print output in JSON format.
7566 * benchtests/bench-skeleton.c (main): Print output in JSON
7568 * benchtests/bench-timing-type.c: New file.
7569 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7570 (TIMING_PRINT_STATS): Remove.
7571 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7574 * benchtests/bench-modf.c: Remove.
7575 * benchtests/modf-inputs: New inputs file.
7577 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7580 * math/s_clog10.c (M_PI_LOG10E): New macro.
7581 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7582 imaginary parts are 0.
7583 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7584 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7585 imaginary parts are 0.
7586 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7587 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7588 imaginary parts are 0.
7589 * math/libm-test.inc (clog10_test_data): Update expected results
7590 for when real and imaginary parts are 0.
7592 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7594 * elf/dl-load.c: Finish conversion of __builtin_expect into
7597 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7600 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7601 1+x for argument with exponent below -67.
7602 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7604 * math/auto-libm-test-in: Add more tests of exp.
7605 * math/auto-libm-test-out: Regenerated.
7607 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7610 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7611 (nscd_getnetgrent): Use it.
7614 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7617 2014-03-27 Andi Kleen <ak@linux.intel.com>
7619 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7620 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7621 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7622 (lll_robust_unlock): Remove out of line section. Use cfi
7624 (LLL_STUB_UNWIND_INFO*): Remove.
7625 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7626 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7627 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7628 (lll_robust_unlock): Remove out of line section. Use cfi
7630 (LLL_STUB_UNWIND_INFO*): Remove.
7632 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7635 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7638 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7640 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7642 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7645 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7647 * math/test-fenv-preserve.c: New file.
7648 * math/Makefile (tests): Add test-fenv-preserve.
7650 2014-03-26 Will Newton <will.newton@linaro.org>
7652 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7654 2014-03-25 Roland McGrath <roland@hack.frob.com>
7656 * scripts/versionlist.awk: Partition the version sets and emit all
7657 GLIBC_* (sorted) before all others (sorted).
7659 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7661 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7662 GLIBC_2.2.5 version.
7664 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7666 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7669 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7674 2014-03-25 Andreas Schwab <schwab@suse.de>
7676 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7677 label to be used after in6ailist is initialized.
7679 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7681 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7682 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7684 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7688 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7690 (fp_formats): Update initializers.
7691 (init_fp_formats): Initialize new field.
7692 (output_for_one_input_case): Allow underflow for results up to
7694 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7695 * math/auto-libm-test-in: Don't mark some underflows from asin and
7697 * math/auto-libm-test-out: Regenerated.
7698 * sysdeps/i386/fpu/libm-test-ulps: Update.
7699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7701 2014-03-25 Andreas Schwab <schwab@suse.de>
7703 * libio/Makefile (tst-ftell-partial-wide-ENV)
7704 (tst-ftell-active-handler-ENV): Define.
7706 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7708 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7710 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7712 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7714 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7716 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7717 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7718 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7720 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7723 * elf/dl-load.c (open_verify): Add mode parameter.
7724 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7725 (open_path): Change from boolean 'secure' to complete flag 'mode'
7726 (_dl_map_object): Adjust.
7727 * elf/Makefile (tests): Add tst-dlopen-aout.
7728 * elf/tst-dlopen-aout.c: New test.
7730 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7733 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7734 (struct stat): Rename member pad0 to __glibc_reserved0.
7737 * sysdeps/s390/s390-32/bits/wordsize.h
7738 (__WORDSIZE32_SIZE_ULONG): New define.
7739 * sysdeps/s390/s390-64/bits/wordsize.h
7740 (__WORDSIZE32_SIZE_ULONG): Likewise.
7741 * sysdeps/generic/stdint.h (SIZE_MAX):
7742 Define as UL if __WORDSIZE32_SIZE_ULONG.
7745 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7746 (__glibc_reserved0): New variable.
7747 (sa_flags): Change type to int.
7749 * posix/Makefile (before-compile): Use += before-compile instead
7752 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7753 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7755 2014-03-20 Andreas Schwab <schwab@suse.de>
7758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7759 non-matching result from nscd.
7761 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7763 * scripts/bench.py: Moved to ...
7764 * benchtests/scripts/bench.py: ... here.
7765 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7767 2014-03-24 Andreas Schwab <schwab@suse.de>
7770 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7771 alloca_account and account alloca use for struct in6ailist.
7773 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7776 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7777 rounding mode to recompute results that overflow to infinity or
7779 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7781 * math/auto-libm-test-out: Regenerated.
7782 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7783 (ccosh_test): Likewise.
7784 (csin_test_data): Use plus_oflow.
7785 (csin_test): Use ALL_RM_TEST.
7786 (csinh_test_data): Use plus_oflow.
7787 (csinh_test): Use ALL_RM_TEST.
7788 * sysdeps/i386/fpu/libm-test-ulps: Update.
7789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7791 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7793 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7794 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7795 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7798 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7800 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7801 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7802 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7803 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7805 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7806 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7808 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7809 * sysdeps/i386/fpu/libm-test-ulps: Update.
7810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7812 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7814 * scripts/bench.pl: Remove file.
7815 * scripts/bench.py: New benchmark script.
7816 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7817 * benchtests/README: Mention python dependency.
7818 * scripts/pylintrc: New file.
7819 * scripts/pylint: New file.
7821 * bits/mathdef.h: Use #ifdef instead of #if.
7822 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7823 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7824 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7825 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7826 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7827 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7829 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7830 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7832 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7833 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7834 and strpbrk-ppc64 objects.
7835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7836 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7837 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7838 multiarch strpbrk for POWER7.
7839 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7840 multiarch strpbrk for PPC64.
7841 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7843 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7846 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7848 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7849 (atan_test): Likewise.
7850 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7851 (atanh_test): Use ALL_RM_TEST.
7852 (atan2_test_data): Likewise.
7853 (cabs_test): Likewise.
7854 (cacosh_test): Likewise.
7855 (carg_test): Likewise.
7856 (casin_test): Likewise.
7857 (casinh_test): Likewise.
7858 (cbrt_test): Likewise.
7859 (csqrt_test): Likewise.
7860 (erf_test): Likewise.
7861 (erfc_test): Likewise.
7862 (pow10_test): Likewise.
7863 (exp2_test): Likewise.
7864 (hypot_test): Likewise.
7865 (j0_test): Likewise.
7866 (j1_test): Likewise.
7867 (lgamma_test): Likewise.
7868 (gamma_test): Likewise.
7869 (sincos_test): Likewise.
7870 (tanh_test): Likewise.
7871 (y0_test): Likewise.
7872 (y1_test): Likewise.
7873 * sysdeps/i386/fpu/libm-test-ulps: Update.
7874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7876 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7878 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7879 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7880 and strcspn-ppc64 objects.
7881 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7882 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7883 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7884 multiarch strcspn for POWER7.
7885 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7886 multiarch strcspn for PPC64.
7887 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7889 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7892 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7894 * math/gen-libm-test.pl (generate_testfile): Expect only function
7895 name as argument to AUTO_TESTS_* and pass results for all rounding
7896 modes to parse_args.
7897 (parse_auto_input): Separate inputs of automatic tests from
7898 outputs before storing in %auto_tests.
7899 * math/libm-test.inc (acos_test_data): Update call to
7901 (acos_test): Use ALL_RM_TEST.
7902 (acos_tonearest_test_data): Remove.
7903 (acos_test_tonearest): Likewise.
7904 (acos_towardzero_test_data): Likewise.
7905 (acos_test_towardzero): Likewise.
7906 (acos_downward_test_data): Likewise.
7907 (acos_test_downward): Likewise.
7908 (acos_upward_test_data): Likewise.
7909 (acos_test_upward): Likewise.
7910 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7911 (asin_test_data): Likewise.
7912 (asin_test): Use ALL_RM_TEST.
7913 (asin_tonearest_test_data): Remove.
7914 (asin_test_tonearest): Likewise.
7915 (asin_towardzero_test_data): Likewise.
7916 (asin_test_towardzero): Likewise.
7917 (asin_downward_test_data): Likewise.
7918 (asin_test_downward): Likewise.
7919 (asin_upward_test_data): Likewise.
7920 (asin_test_upward): Likewise.
7921 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7922 (atan_test_data): Likewise.
7923 (atanh_test_data): Likewise.
7924 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7925 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7926 (carg_test_data): Likewise.
7927 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7928 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7929 (ccosh_test_data): Likewise.
7930 (cexp_test_data): Likewise.
7931 (clog_test_data): Likewise.
7932 (clog10_test_data): Likewise.
7933 (cos_test_data): Update call to AUTO_TESTS_f_f.
7934 (cos_test): Use ALL_RM_TEST.
7935 (cos_tonearest_test_data): Remove.
7936 (cos_test_tonearest): Likewise.
7937 (cos_towardzero_test_data): Likewise.
7938 (cos_test_towardzero): Likewise.
7939 (cos_downward_test_data): Likewise.
7940 (cos_test_downward): Likewise.
7941 (cos_upward_test_data): Likewise.
7942 (cos_test_upward): Likewise.
7943 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7944 (cosh_test): Use ALL_RM_TEST.
7945 (cosh_tonearest_test_data): Remove.
7946 (cosh_test_tonearest): Likewise.
7947 (cosh_towardzero_test_data): Likewise.
7948 (cosh_test_towardzero): Likewise.
7949 (cosh_downward_test_data): Likewise.
7950 (cosh_test_downward): Likewise.
7951 (cosh_upward_test_data): Likewise.
7952 (cosh_test_upward): Likewise.
7953 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7954 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7955 (ctan_test_data): Likewise.
7956 (ctan_test): Use ALL_RM_TEST.
7957 (ctan_tonearest_test_data): Remove.
7958 (ctan_test_tonearest): Likewise.
7959 (ctan_towardzero_test_data): Likewise.
7960 (ctan_test_towardzero): Likewise.
7961 (ctan_downward_test_data): Likewise.
7962 (ctan_test_downward): Likewise.
7963 (ctan_upward_test_data): Likewise.
7964 (ctan_test_upward): Likewise.
7965 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7966 (ctanh_test): Use ALL_RM_TEST.
7967 (ctanh_tonearest_test_data): Remove.
7968 (ctanh_test_tonearest): Likewise.
7969 (ctanh_towardzero_test_data): Likewise.
7970 (ctanh_test_towardzero): Likewise.
7971 (ctanh_downward_test_data): Likewise.
7972 (ctanh_test_downward): Likewise.
7973 (ctanh_upward_test_data): Likewise.
7974 (ctanh_test_upward): Likewise.
7975 (erf_test_data): Update call to AUTO_TESTS_f_f.
7976 (erfc_test_data): Likewise.
7977 (exp_test_data): Likewise.
7978 (exp_test): Use ALL_RM_TEST.
7979 (exp_tonearest_test_data): Remove.
7980 (exp_test_tonearest): Likewise.
7981 (exp_towardzero_test_data): Likewise.
7982 (exp_test_towardzero): Likewise.
7983 (exp_downward_test_data): Likewise.
7984 (exp_test_downward): Likewise.
7985 (exp_upward_test_data): Likewise.
7986 (exp_test_upward): Likewise.
7987 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7988 (exp10_test): Use ALL_RM_TEST.
7989 (exp10_tonearest_test_data): Remove.
7990 (exp10_test_tonearest): Likewise.
7991 (exp10_towardzero_test_data): Likewise.
7992 (exp10_test_towardzero): Likewise.
7993 (exp10_downward_test_data): Likewise.
7994 (exp10_test_downward): Likewise.
7995 (exp10_upward_test_data): Likewise.
7996 (exp10_test_upward): Likewise.
7997 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7998 (expm1_test_data): Likewise.
7999 (expm1_test): Use ALL_RM_TEST.
8000 (expm1_tonearest_test_data): Remove.
8001 (expm1_test_tonearest): Likewise.
8002 (expm1_towardzero_test_data): Likewise.
8003 (expm1_test_towardzero): Likewise.
8004 (expm1_downward_test_data): Likewise.
8005 (expm1_test_downward): Likewise.
8006 (expm1_upward_test_data): Likewise.
8007 (expm1_test_upward): Likewise.
8008 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8009 (fma_test): Use ALL_RM_TEST.
8010 (fma_towardzero_test_data): Remove.
8011 (fma_test_towardzero): Likewise.
8012 (fma_downward_test_data): Likewise.
8013 (fma_test_downward): Likewise.
8014 (fma_upward_test_data): Likewise.
8015 (fma_test_upward): Likewise.
8016 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8017 (j0_test_data): Update call to AUTO_TESTS_f_f.
8018 (j1_test_data): Likewise.
8019 (jn_test_data): Update call to AUTO_TESTS_if_f.
8020 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8021 (log_test_data): Update call to AUTO_TESTS_f_f.
8022 (log10_test_data): Likewise.
8023 (log1p_test_data): Likewise.
8024 (log2_test_data): Likewise.
8025 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8026 (pow_tonearest_test_data): Likewise.
8027 (sin_test_data): Update call to AUTO_TESTS_f_f.
8028 (sin_test): Use ALL_RM_TEST.
8029 (sin_tonearest_test_data): Remove.
8030 (sin_test_tonearest): Likewise.
8031 (sin_towardzero_test_data): Likewise.
8032 (sin_test_towardzero): Likewise.
8033 (sin_downward_test_data): Likewise.
8034 (sin_test_downward): Likewise.
8035 (sin_upward_test_data): Likewise.
8036 (sin_test_upward): Likewise.
8037 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8038 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8039 (sinh_test): Use ALL_RM_TEST.
8040 (sinh_tonearest_test_data): Remove.
8041 (sinh_test_tonearest): Likewise.
8042 (sinh_towardzero_test_data): Likewise.
8043 (sinh_test_towardzero): Likewise.
8044 (sinh_downward_test_data): Likewise.
8045 (sinh_test_downward): Likewise.
8046 (sinh_upward_test_data): Likewise.
8047 (sinh_test_upward): Likewise.
8048 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8049 (sqrt_test): Use ALL_RM_TEST.
8050 (sqrt_tonearest_test_data): Remove.
8051 (sqrt_test_tonearest): Likewise.
8052 (sqrt_towardzero_test_data): Likewise.
8053 (sqrt_test_towardzero): Likewise.
8054 (sqrt_downward_test_data): Likewise.
8055 (sqrt_test_downward): Likewise.
8056 (sqrt_upward_test_data): Likewise.
8057 (sqrt_test_upward): Likewise.
8058 (tan_test_data): Update call to AUTO_TESTS_f_f.
8059 (tan_test): Use ALL_RM_TEST.
8060 (tan_tonearest_test_data): Remove.
8061 (tan_test_tonearest): Likewise.
8062 (tan_towardzero_test_data): Likewise.
8063 (tan_test_towardzero): Likewise.
8064 (tan_downward_test_data): Likewise.
8065 (tan_test_downward): Likewise.
8066 (tan_upward_test_data): Likewise.
8067 (tan_test_upward): Likewise.
8068 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8069 (tgamma_test_data): Likewise.
8070 (y0_test_data): Likewise.
8071 (y1_test_data): Likewise.
8072 (yn_test_data): Update call to AUTO_TESTS_if_f.
8073 (main): Do not call removed functions.
8075 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8077 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8078 (ldexp_test_data): Remove.
8079 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8081 (scalb_test): Use ALL_RM_TEST.
8083 2014-03-19 Andreas Schwab <schwab@suse.de>
8085 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8087 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8090 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8091 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8092 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8093 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8094 (__ASSUME_PREADV): Undefine.
8095 (__ASSUME_PWRITEV): Likewise.
8097 2014-03-18 Roland McGrath <roland@hack.frob.com>
8099 * bits/mman-linux.h: Add comment about non-Linux use.
8100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8101 bits/mman-linux.h resting place.
8103 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8104 * bits/mman-linux.h: ... here.
8106 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8108 * conform/conformtest.pl: Add standard definition when calling C
8109 preprocessor on data files.
8110 (checknamespace): Remove unused variable.
8112 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8114 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8115 minus_oflow, plus_uflow and minus_uflow in expected results.
8116 * math/libm-test.inc (scalbn_test_data): Add more tests of
8117 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8119 (scalbn_test): Use ALL_RM_TEST.
8120 (scalbln_test_data): Add more tests of negative arguments. Use
8121 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8122 (scalbln_test): Use ALL_RM_TEST.
8124 2014-03-18 Roland McGrath <roland@hack.frob.com>
8126 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8128 2014-03-18 Will Newton <will.newton@linaro.org>
8130 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8133 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8135 * Makerules [!subdir] (check-abi): Exit with error status if a
8138 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8140 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8141 for rint. Include results for all rounding modes.
8142 (nearbyint_test): Use ALL_RM_TEST.
8143 (rint_test_data): Include all tests used for nearbyint.
8145 2014-03-17 Will Newton <will.newton@linaro.org>
8147 * nptl/sysdeps/pthread/pthread.h: Revert previous
8150 * sysdeps/generic/ldsodefs.h: Revert previous
8153 * libio/genops.c: Revert previous change.
8154 * libio/libioP.h: Likewise.
8155 * stdio-common/vfprintf.c: Likewise.
8157 * sysdeps/generic/math_private.h: Revert previous
8160 * sysdeps/generic/math_private.h: Check whether
8161 HAVE_RM_CTX is defined with #ifdef rather
8164 * argp/argp-fmtstream.h: Check whether
8165 __STRICT_ANSI__ is defined with #ifdef rather
8167 * argp/argp.h: Likewise.
8169 * libio/genops.c: Check whether
8170 _IO_JUMPS_OFFSET is defined with #ifdef rather
8172 * libio/libioP.h: Likewise.
8173 * stdio-common/vfprintf.c: Likewise.
8175 * sysdeps/generic/ldsodefs.h: Check whether
8176 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8179 * nptl/sysdeps/pthread/pthread.h: Check
8180 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8183 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8185 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8187 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8191 * libio/fileops.c (_IO_file_open): Seek to end of file but
8192 don't cache the offset.
8193 (get_file_offset): Remove function.
8194 (do_ftell): Use cached offset when available.
8195 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8196 don't cache the offset.
8197 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8199 (do_one_test): Call it.
8200 (do_ftell_test): Fix up expected old offset for a+ mode.
8201 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8204 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8205 up test status with function return status.
8206 (do_write_test): Likewise.
8207 (do_append_test): Likewise.
8209 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8210 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8213 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8215 * math/gen-libm-test.pl (parse_args): Handle results specified for
8216 each rounding mode separately.
8217 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8218 tests and results from lrint_tonearest_test_data,
8219 lrint_towardzero_test_data, lrint_downward_test_data and
8220 lrint_upward_test_data.
8221 (lrint_test): Use ALL_RM_TEST.
8222 (lrint_tonearest_test_data): Remove.
8223 (lrint_test_tonearest): Likewise.
8224 (lrint_towardzero_test_data): Likewise.
8225 (lrint_test_towardzero): Likewise.
8226 (lrint_downward_test_data): Likewise.
8227 (lrint_test_downward): Likewise.
8228 (lrint_upward_test_data): Likewise.
8229 (lrint_test_upward): Likewise.
8230 (llrint_test_data): Merge in per-rounding-mode tests and results
8231 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8232 llrint_downward_test_data and llrint_upward_test_data.
8233 (llrint_test): Use ALL_RM_TEST.
8234 (llrint_tonearest_test_data): Remove.
8235 (llrint_test_tonearest): Likewise.
8236 (llrint_towardzero_test_data): Likewise.
8237 (llrint_test_towardzero): Likewise.
8238 (llrint_downward_test_data): Likewise.
8239 (llrint_test_downward): Likewise.
8240 (llrint_upward_test_data): Likewise.
8241 (llrint_test_upward): Likewise.
8242 (rint_test_data): Merge in per-rounding-mode tests and results
8243 from rint_tonearest_test_data, rint_towardzero_test_data,
8244 rint_downward_test_data and rint_upward_test_data. Add
8245 per-rounding-mode results for tests not in those arrays.
8246 (rint_test): Use ALL_RM_TEST.
8247 (rint_tonearest_test_data): Remove.
8248 (rint_test_tonearest): Likewise.
8249 (rint_towardzero_test_data): Likewise.
8250 (rint_test_towardzero): Likewise.
8251 (rint_downward_test_data): Likewise.
8252 (rint_test_downward): Likewise.
8253 (rint_upward_test_data): Likewise.
8254 (rint_test_upward): Likewise.
8255 (main): Don't call removed functions.
8257 2014-03-14 Roland McGrath <roland@hack.frob.com>
8259 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8260 "Compiled on ..." crapola. It is anti-useful.
8262 2014-03-14 Joseph Myers <joseph@codesourcery.com>
8264 * scripts/evaluate-test.sh: Handle fourth argument to determine
8265 whether test run should stop on failure.
8266 * Makeconfig (stop-on-test-failure): New variable.
8267 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8268 $(stop-on-test-failure).
8269 * Makefile (tests): Give a summary of results from testing and
8270 exit with failure status if they include an ERROR or FAIL.
8272 * manual/install.texi (Configuring and compiling): Mention
8273 stop-on-test-failure=y.
8274 * INSTALL: Regenerated.
8276 2014-03-14 Roland McGrath <roland@hack.frob.com>
8278 * scripts/versionlist.awk: New file.
8279 * Makerules [$(build-shared) = yes]
8280 (postclean-generated): Add Versions.def, not Versions.def.v and
8282 ($(common-objpfx)Versions.def.v.i): Target removed.
8283 ($(common-objpfx)Versions.def): New target.
8284 ($(common-objpfx)Versions.all): Depend on that rather that
8285 $(common-objpfx)Versions.def.v.
8286 * Versions.def: File removed.
8288 * Makeconfig (+gccwarn): Add -Wundef.
8289 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8290 a dl-sysdep.h breaking its contract.
8291 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8292 * include/stackinfo.h: New file.
8293 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8294 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8295 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8296 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8297 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8298 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8299 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8300 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8301 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8302 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8303 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8304 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8305 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8306 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8307 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8309 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8312 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8314 * math/libm-test.inc (round_test_data): Add more tests.
8317 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8319 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8322 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8324 * math/libm-test.inc (ceil_test_data): Add more tests.
8326 * math/libm-test.inc (trunc_test_data): Add more tests related to
8329 2014-03-14 Roland McGrath <roland@hack.frob.com>
8331 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8332 with #if rather than #ifdef.
8333 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8335 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8337 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8338 first. Disable AVX-512 GCC support if assembler doesn't support
8340 * sysdeps/x86_64/configure: Regenerated.
8342 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8344 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8345 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8346 (__old_pthread_attr_setstack): Likewise.
8347 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8348 [!_STACK_GROWS_DOWN]: Likewise.
8350 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8352 * config.make.in (have-bash2): Delete.
8353 * configure.ac (libc_cv_have_bash2): Delete.
8354 * configure: Regenerate.
8355 * elf/Makefile (common-ldd-rewrite): Rename to ...
8356 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8357 (sh-ldd-rewrite): Delete.
8358 (bash-ldd-rewrite): Delete.
8359 (have-bash2): Delete checks.
8360 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8363 * config.make.in (have-ksh): Delete.
8365 * configure.ac (libc_cv_have_ksh): Delete.
8366 * configure: Regenerate.
8368 * elf/Makefile: Delete $(have-ksh) check.
8369 ($(objpfx)sotruss): Change KSH to BASH.
8370 * elf/sotruss.ksh: Rename to ...
8371 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8372 function style to match POSIX. Drop ksh vim mode setting.
8374 * manual/time.texi (Specifying the Time Zone with TZ): Change
8375 Tuesday to Thursday.
8377 * debug/tst-longjmp_chk2.c: Update header comment.
8378 (stackoverflow_handler): Add comment. Call assert on pass value.
8380 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8383 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8384 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8385 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8386 (La_x86_64_vector): Add zmm.
8387 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8388 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8389 ($(objpfx)tst-audit10): New target.
8390 ($(objpfx)tst-audit10.out): Likewise.
8391 (tst-audit10-ENV): New.
8392 (AVX512-CFLAGS): Likewise.
8393 (CFLAGS-tst-audit10.c): Likewise.
8394 (CFLAGS-tst-auditmod10a.c): Likewise.
8395 (CFLAGS-tst-auditmod10b.c): Likewise.
8396 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8397 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8398 * sysdeps/x86_64/configure: Regenerated.
8399 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8400 AVX-512 zmm register support.
8401 (_dl_x86_64_save_sse): Likewise.
8402 (_dl_x86_64_restore_sse): Likewise.
8403 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8404 size vector registers.
8405 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8406 (ZMM_SIZE): Likewise.
8407 * sysdeps/x86_64/tst-audit10.c: New file.
8408 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8409 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8411 2014-03-13 Roland McGrath <roland@hack.frob.com>
8413 * configure.ac (HAVE_EHDR_START): New check.
8414 * configure: Regenerated.
8415 * config.h.in (HAVE_EHDR_START): New #undef.
8416 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8417 assuming the lowest-addressed segment maps the start of the file.
8419 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8421 * INSTALL: Regenerated.
8423 2014-03-13 Will Newton <will.newton@linaro.org>
8425 * manual/setjmp.texi (System V contexts): Improve
8426 clarity and grammar of documentation.
8428 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8431 * elf/Makefile (tests): Add tst-pie2.
8432 (tests-pie): Add tst-pie2.
8433 * elf/tst-pie2.c: New file.
8434 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8436 * elf/rtld.c (map_doit): Load executable as lt_executable.
8437 (dl_main): Likewise.
8439 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8442 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8443 (__ASSUME_PSELECT): Undefine.
8445 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8448 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8449 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8451 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8452 selector for static builds.
8454 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8457 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8460 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8462 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8463 IFUNC selector for static builds.
8465 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8467 * sysdeps/mips/math_private.h [__mips_hard_float]
8468 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8469 libc_feresetround_mips_ctx.
8470 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8471 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8472 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8475 * math/s_nextafter.c (__nextafter): Do not return value from
8476 overflowing computation.
8477 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8478 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8479 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8481 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8483 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8484 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8486 2014-03-11 Roland McGrath <roland@hack.frob.com>
8488 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8489 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8490 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8491 the new mov targetting sp.
8493 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8496 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8497 Define it for static builds as well.
8498 (NO_BZERO_IMPL): Likewise.
8500 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8502 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8503 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8504 multiarch strspn for PPC64.
8505 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8506 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8508 (__libc_ifunc_impl_list): Likewise.
8509 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8510 multiarch optimizations
8511 * string/strspn.c (strspn): Using macro to redefine symbol name.
8513 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8514 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8516 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8517 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8518 multiarch strncat for PPC64.
8519 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8520 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8521 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8522 (__libc_ifunc_impl_list): Likewise.
8523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8524 multiarch optimizations
8526 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8529 * nscd/nscd.service: Make service type forking.
8531 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8533 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8534 sign in non default rounding modes.
8535 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8537 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8539 * math/libm-test.inc (ALL_RM_TEST): New macro.
8540 (ceil_test): Use ALL_RM_TEST.
8541 (cimag_test): Likewise.
8542 (conj_test): Likewise.
8543 (copysign_test): Likewise.
8544 (cproj_test): Likewise.
8545 (creal_test): Likewise.
8546 (fabs_test): Likewise.
8547 (floor_test): Likewise.
8548 (fmax_test): Likewise.
8549 (fmin_test): Likewise.
8550 (fmod_test): Likewise.
8551 (fpclassify_test): Likewise.
8552 (frexp_test): Likewise.
8553 (ilogb_test): Likewise.
8554 (isfinite_test): Likewise.
8555 (finite_test): Likewise.
8556 (isgreater_test): Likewise.
8557 (isgreaterequal_test): Likewise.
8558 (isinf_test): Likewise.
8559 (isless_test): Likewise.
8560 (islessequal_test): Likewise.
8561 (islessgreater_test): Likewise.
8562 (isnan_test): Likewise.
8563 (isnormal_test): Likewise.
8564 (issignaling_test): Likewise.
8565 (isunordered_test): Likewise.
8566 (logb_test): Likewise.
8567 (logb_downward_test_data): Remove.
8568 (logb_test_downward): Likewise.
8569 (lround_test): Use ALL_RM_TEST.
8570 (llround_test): Likewise.
8571 (modf_test): Likewise.
8572 (nexttoward_test): Likewise.
8573 (remainder_test): Likewise.
8574 (drem_test): Likewise.
8575 (remainder_tonearest_test_data): Likewise.
8576 (remainder_test_tonearest): Likewise.
8577 (drem_test_tonearest): Likewise.
8578 (remainder_towardzero_test_data): Likewise.
8579 (remainder_test_towardzero): Likewise.
8580 (drem_test_towardzero): Likewise.
8581 (remainder_downward_test_data): Likewise.
8582 (remainder_test_downward): Likewise.
8583 (drem_test_downward): Likewise.
8584 (remainder_upward_test_data): Likewise.
8585 (remainder_test_upward): Likewise.
8586 (drem_test_upward): Likewise.
8587 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8588 (round_test): Use ALL_RM_TEST.
8589 (signbit_test): Likewise.
8590 (trunc_test): Likewise.
8591 (significand_test): Likewise.
8592 (main): Don't call removed functions.
8594 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8597 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8599 (ILL_ILLOPN): Likewise.
8600 (ILL_ILLADR): Likewise.
8601 (ILL_ILLTRP): Likewise.
8602 (ILL_PRVOPC): Likewise.
8603 (ILL_PRVREG): Likewise.
8604 (ILL_COPROC): Likewise.
8605 (ILL_BADSTK): Likewise.
8606 (FPE_INTDIV): Likewise.
8607 (FPE_INTOVF): Likewise.
8608 (FPE_FLTDIV): Likewise.
8609 (FPE_FLTOVF): Likewise.
8610 (FPE_FLTUND): Likewise.
8611 (FPE_FLTRES): Likewise.
8612 (FPE_FLTINV): Likewise.
8613 (FPE_FLTSUB): Likewise.
8614 (SEGV_MAPERR): Likewise.
8615 (SEGV_ACCERR): Likewise.
8616 (BUS_ADRALN): Likewise.
8617 (BUS_ADRERR): Likewise.
8618 (BUS_OBJERR): Likewise.
8619 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8620 (TRAP_TRACE): Likewise.
8621 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8623 (CLD_KILLED): Likewise.
8624 (CLD_DUMPED): Likewise.
8625 (CLD_TRAPPED): Likewise.
8626 (CLD_STOPPED): Likewise.
8627 (CLD_CONTINUED): Likewise.
8628 (POLL_IN): Likewise.
8629 (POLL_OUT): Likewise.
8630 (POLL_MSG): Likewise.
8631 (POLL_ERR): Likewise.
8632 (POLL_PRI): Likewise.
8633 (POLL_HUP): Likewise.
8634 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8636 (ILL_ILLOPN): Likewise.
8637 (ILL_ILLADR): Likewise.
8638 (ILL_ILLTRP): Likewise.
8639 (ILL_PRVOPC): Likewise.
8640 (ILL_PRVREG): Likewise.
8641 (ILL_COPROC): Likewise.
8642 (ILL_BADSTK): Likewise.
8643 (FPE_INTDIV): Likewise.
8644 (FPE_INTOVF): Likewise.
8645 (FPE_FLTDIV): Likewise.
8646 (FPE_FLTOVF): Likewise.
8647 (FPE_FLTUND): Likewise.
8648 (FPE_FLTRES): Likewise.
8649 (FPE_FLTINV): Likewise.
8650 (FPE_FLTSUB): Likewise.
8651 (SEGV_MAPERR): Likewise.
8652 (SEGV_ACCERR): Likewise.
8653 (BUS_ADRALN): Likewise.
8654 (BUS_ADRERR): Likewise.
8655 (BUS_OBJERR): Likewise.
8656 (BUS_MCEERR_AR): Likewise.
8657 (BUS_MCEERR_AO): Likewise.
8658 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8659 (TRAP_TRACE): Likewise.
8660 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8662 (CLD_KILLED): Likewise.
8663 (CLD_DUMPED): Likewise.
8664 (CLD_TRAPPED): Likewise.
8665 (CLD_STOPPED): Likewise.
8666 (CLD_CONTINUED): Likewise.
8667 (POLL_IN): Likewise.
8668 (POLL_OUT): Likewise.
8669 (POLL_MSG): Likewise.
8670 (POLL_ERR): Likewise.
8671 (POLL_PRI): Likewise.
8672 (POLL_HUP): Likewise.
8673 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8674 (ILL_ILLOPN): Likewise.
8675 (ILL_ILLADR): Likewise.
8676 (ILL_ILLTRP): Likewise.
8677 (ILL_PRVOPC): Likewise.
8678 (ILL_PRVREG): Likewise.
8679 (ILL_COPROC): Likewise.
8680 (ILL_BADSTK): Likewise.
8681 (FPE_INTDIV): Likewise.
8682 (FPE_INTOVF): Likewise.
8683 (FPE_FLTDIV): Likewise.
8684 (FPE_FLTOVF): Likewise.
8685 (FPE_FLTUND): Likewise.
8686 (FPE_FLTRES): Likewise.
8687 (FPE_FLTINV): Likewise.
8688 (FPE_FLTSUB): Likewise.
8689 (SEGV_MAPERR): Likewise.
8690 (SEGV_ACCERR): Likewise.
8691 (BUS_ADRALN): Likewise.
8692 (BUS_ADRERR): Likewise.
8693 (BUS_OBJERR): Likewise.
8694 (BUS_MCEERR_AR): Likewise.
8695 (BUS_MCEERR_AO): Likewise.
8696 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8697 (TRAP_TRACE): Likewise.
8698 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8700 (CLD_KILLED): Likewise.
8701 (CLD_DUMPED): Likewise.
8702 (CLD_TRAPPED): Likewise.
8703 (CLD_STOPPED): Likewise.
8704 (CLD_CONTINUED): Likewise.
8705 (POLL_IN): Likewise.
8706 (POLL_OUT): Likewise.
8707 (POLL_MSG): Likewise.
8708 (POLL_ERR): Likewise.
8709 (POLL_PRI): Likewise.
8710 (POLL_HUP): Likewise.
8711 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8713 (ILL_ILLOPN): Likewise.
8714 (ILL_ILLADR): Likewise.
8715 (ILL_ILLTRP): Likewise.
8716 (ILL_PRVOPC): Likewise.
8717 (ILL_PRVREG): Likewise.
8718 (ILL_COPROC): Likewise.
8719 (ILL_BADSTK): Likewise.
8720 (ILL_BADIADDR): Likewise.
8721 (ILL_BREAK): Likewise.
8722 (FPE_INTDIV): Likewise.
8723 (FPE_INTOVF): Likewise.
8724 (FPE_FLTDIV): Likewise.
8725 (FPE_FLTOVF): Likewise.
8726 (FPE_FLTUND): Likewise.
8727 (FPE_FLTRES): Likewise.
8728 (FPE_FLTINV): Likewise.
8729 (FPE_FLTSUB): Likewise.
8730 (FPE_DECOVF): Likewise.
8731 (FPE_DECDIV): Likewise.
8732 (FPE_DECERR): Likewise.
8733 (FPE_INVASC): Likewise.
8734 (FPE_INVDEC): Likewise.
8735 (SEGV_MAPERR): Likewise.
8736 (SEGV_ACCERR): Likewise.
8737 (SEGV_PSTKOVF): Likewise.
8738 (BUS_ADRALN): Likewise.
8739 (BUS_ADRERR): Likewise.
8740 (BUS_OBJERR): Likewise.
8741 (BUS_MCEERR_AR): Likewise.
8742 (BUS_MCEERR_AO): Likewise.
8743 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8744 (TRAP_TRACE): Likewise.
8745 (TRAP_BRANCH): Likewise.
8746 (TRAP_HWBKPT): Likewise.
8747 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8749 (CLD_KILLED): Likewise.
8750 (CLD_DUMPED): Likewise.
8751 (CLD_TRAPPED): Likewise.
8752 (CLD_STOPPED): Likewise.
8753 (CLD_CONTINUED): Likewise.
8754 (POLL_IN): Likewise.
8755 (POLL_OUT): Likewise.
8756 (POLL_MSG): Likewise.
8757 (POLL_ERR): Likewise.
8758 (POLL_PRI): Likewise.
8759 (POLL_HUP): Likewise.
8760 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8761 (ILL_ILLOPN): Likewise.
8762 (ILL_ILLADR): Likewise.
8763 (ILL_ILLTRP): Likewise.
8764 (ILL_PRVOPC): Likewise.
8765 (ILL_PRVREG): Likewise.
8766 (ILL_COPROC): Likewise.
8767 (ILL_BADSTK): Likewise.
8768 (FPE_INTDIV): Likewise.
8769 (FPE_INTOVF): Likewise.
8770 (FPE_FLTDIV): Likewise.
8771 (FPE_FLTOVF): Likewise.
8772 (FPE_FLTUND): Likewise.
8773 (FPE_FLTRES): Likewise.
8774 (FPE_FLTINV): Likewise.
8775 (FPE_FLTSUB): Likewise.
8776 (SEGV_MAPERR): Likewise.
8777 (SEGV_ACCERR): Likewise.
8778 (BUS_ADRALN): Likewise.
8779 (BUS_ADRERR): Likewise.
8780 (BUS_OBJERR): Likewise.
8781 (BUS_MCEERR_AR): Likewise.
8782 (BUS_MCEERR_AO): Likewise.
8783 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8784 (TRAP_TRACE): Likewise.
8785 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8787 (CLD_KILLED): Likewise.
8788 (CLD_DUMPED): Likewise.
8789 (CLD_TRAPPED): Likewise.
8790 (CLD_STOPPED): Likewise.
8791 (CLD_CONTINUED): Likewise.
8792 (POLL_IN): Likewise.
8793 (POLL_OUT): Likewise.
8794 (POLL_MSG): Likewise.
8795 (POLL_ERR): Likewise.
8796 (POLL_PRI): Likewise.
8797 (POLL_HUP): Likewise.
8798 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8799 (ILL_ILLOPN): Likewise.
8800 (ILL_ILLADR): Likewise.
8801 (ILL_ILLTRP): Likewise.
8802 (ILL_PRVOPC): Likewise.
8803 (ILL_PRVREG): Likewise.
8804 (ILL_COPROC): Likewise.
8805 (ILL_BADSTK): Likewise.
8806 (FPE_INTDIV): Likewise.
8807 (FPE_INTOVF): Likewise.
8808 (FPE_FLTDIV): Likewise.
8809 (FPE_FLTOVF): Likewise.
8810 (FPE_FLTUND): Likewise.
8811 (FPE_FLTRES): Likewise.
8812 (FPE_FLTINV): Likewise.
8813 (FPE_FLTSUB): Likewise.
8814 (SEGV_MAPERR): Likewise.
8815 (SEGV_ACCERR): Likewise.
8816 (BUS_ADRALN): Likewise.
8817 (BUS_ADRERR): Likewise.
8818 (BUS_OBJERR): Likewise.
8819 (BUS_MCEERR_AR): Likewise.
8820 (BUS_MCEERR_AO): Likewise.
8821 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8822 (TRAP_TRACE): Likewise.
8823 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8825 (CLD_KILLED): Likewise.
8826 (CLD_DUMPED): Likewise.
8827 (CLD_TRAPPED): Likewise.
8828 (CLD_STOPPED): Likewise.
8829 (CLD_CONTINUED): Likewise.
8830 (POLL_IN): Likewise.
8831 (POLL_OUT): Likewise.
8832 (POLL_MSG): Likewise.
8833 (POLL_ERR): Likewise.
8834 (POLL_PRI): Likewise.
8835 (POLL_HUP): Likewise.
8836 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8837 (ILL_ILLOPN): Likewise.
8838 (ILL_ILLADR): Likewise.
8839 (ILL_ILLTRP): Likewise.
8840 (ILL_PRVOPC): Likewise.
8841 (ILL_PRVREG): Likewise.
8842 (ILL_COPROC): Likewise.
8843 (ILL_BADSTK): Likewise.
8844 (FPE_INTDIV): Likewise.
8845 (FPE_INTOVF): Likewise.
8846 (FPE_FLTDIV): Likewise.
8847 (FPE_FLTOVF): Likewise.
8848 (FPE_FLTUND): Likewise.
8849 (FPE_FLTRES): Likewise.
8850 (FPE_FLTINV): Likewise.
8851 (FPE_FLTSUB): Likewise.
8852 (SEGV_MAPERR): Likewise.
8853 (SEGV_ACCERR): Likewise.
8854 (BUS_ADRALN): Likewise.
8855 (BUS_ADRERR): Likewise.
8856 (BUS_OBJERR): Likewise.
8857 (BUS_MCEERR_AR): Likewise.
8858 (BUS_MCEERR_AO): Likewise.
8859 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8860 (TRAP_TRACE): Likewise.
8861 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8863 (CLD_KILLED): Likewise.
8864 (CLD_DUMPED): Likewise.
8865 (CLD_TRAPPED): Likewise.
8866 (CLD_STOPPED): Likewise.
8867 (CLD_CONTINUED): Likewise.
8868 (POLL_IN): Likewise.
8869 (POLL_OUT): Likewise.
8870 (POLL_MSG): Likewise.
8871 (POLL_ERR): Likewise.
8872 (POLL_PRI): Likewise.
8873 (POLL_HUP): Likewise.
8874 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8875 (ILL_ILLOPN): Likewise.
8876 (ILL_ILLADR): Likewise.
8877 (ILL_ILLTRP): Likewise.
8878 (ILL_PRVOPC): Likewise.
8879 (ILL_PRVREG): Likewise.
8880 (ILL_COPROC): Likewise.
8881 (ILL_BADSTK): Likewise.
8882 (ILL_DBLFLT): Likewise.
8883 (ILL_HARDWALL): Likewise.
8884 (FPE_INTDIV): Likewise.
8885 (FPE_INTOVF): Likewise.
8886 (FPE_FLTDIV): Likewise.
8887 (FPE_FLTOVF): Likewise.
8888 (FPE_FLTUND): Likewise.
8889 (FPE_FLTRES): Likewise.
8890 (FPE_FLTINV): Likewise.
8891 (FPE_FLTSUB): Likewise.
8892 (SEGV_MAPERR): Likewise.
8893 (SEGV_ACCERR): Likewise.
8894 (BUS_ADRALN): Likewise.
8895 (BUS_ADRERR): Likewise.
8896 (BUS_OBJERR): Likewise.
8897 (BUS_MCEERR_AR): Likewise.
8898 (BUS_MCEERR_AO): Likewise.
8899 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8900 (TRAP_TRACE): Likewise.
8901 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8903 (CLD_KILLED): Likewise.
8904 (CLD_DUMPED): Likewise.
8905 (CLD_TRAPPED): Likewise.
8906 (CLD_STOPPED): Likewise.
8907 (CLD_CONTINUED): Likewise.
8908 (POLL_IN): Likewise.
8909 (POLL_OUT): Likewise.
8910 (POLL_MSG): Likewise.
8911 (POLL_ERR): Likewise.
8912 (POLL_PRI): Likewise.
8913 (POLL_HUP): Likewise.
8914 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8915 (ILL_ILLOPN): Likewise.
8916 (ILL_ILLADR): Likewise.
8917 (ILL_ILLTRP): Likewise.
8918 (ILL_PRVOPC): Likewise.
8919 (ILL_PRVREG): Likewise.
8920 (ILL_COPROC): Likewise.
8921 (ILL_BADSTK): Likewise.
8922 (FPE_INTDIV): Likewise.
8923 (FPE_INTOVF): Likewise.
8924 (FPE_FLTDIV): Likewise.
8925 (FPE_FLTOVF): Likewise.
8926 (FPE_FLTUND): Likewise.
8927 (FPE_FLTRES): Likewise.
8928 (FPE_FLTINV): Likewise.
8929 (FPE_FLTSUB): Likewise.
8930 (SEGV_MAPERR): Likewise.
8931 (SEGV_ACCERR): Likewise.
8932 (BUS_ADRALN): Likewise.
8933 (BUS_ADRERR): Likewise.
8934 (BUS_OBJERR): Likewise.
8935 (BUS_MCEERR_AR): Likewise.
8936 (BUS_MCEERR_AO): Likewise.
8937 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8938 (TRAP_TRACE): Likewise.
8939 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8941 (CLD_KILLED): Likewise.
8942 (CLD_DUMPED): Likewise.
8943 (CLD_TRAPPED): Likewise.
8944 (CLD_STOPPED): Likewise.
8945 (CLD_CONTINUED): Likewise.
8946 (POLL_IN): Likewise.
8947 (POLL_OUT): Likewise.
8948 (POLL_MSG): Likewise.
8949 (POLL_ERR): Likewise.
8950 (POLL_PRI): Likewise.
8951 (POLL_HUP): Likewise.
8952 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8953 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8956 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8957 before #include of <time.h>.
8958 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8959 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8960 (test-xfail-UNIX98/sched.h/conform): Likewise.
8962 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8964 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8965 error absence of trapping exception support.
8966 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8968 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8970 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8971 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8972 * timezone/Makefile (testdata): Move definition above include of
8974 (test-zones): New variable.
8975 (tests-special): Add zone files.
8976 (build-testdata): Use $(evaluate-test).
8978 * elf/Makefile (tests-special): Rename tests to end with .out.
8979 ($(objpfx)noload-mem): Likewise.
8980 ($(objpfx)tst-leaks1-mem): Likewise.
8981 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8982 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8983 $(objpfx)test-iconvconfig.out.
8984 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8985 set -e inside subshell and redirect output to file.
8986 * iconvdata/Makefile (generated): Rename tests to end with .out.
8988 (tests-special): Rename tests to end with .out.
8989 ($(objpfx)mtrace-tst-loading): Likewise.
8990 * intl/Makefile (generated): Likewise.
8991 (tests-special): Likewise.
8992 ($(objpfx)mtrace-tst-gettext): Likewise.
8993 * misc/Makefile (generated): Likewise.
8994 (tests-special): Likewise.
8995 ($(objpfx)tst-error1-mem): Likewise.
8996 * nptl/Makefile (tests-special): Likewise.
8997 ($(objpfx)tst-stack3-mem): Likewise.
8998 (generated): Likewise.
8999 * posix/Makefile (generated): Likewise.
9000 (tests-special): Likewise.
9001 (xtests-special): Likewise.
9002 ($(objpfx)tst-fnmatch-mem): Likewise.
9003 ($(objpfx)bug-regex2-mem): Likewise.
9004 ($(objpfx)bug-regex14-mem): Likewise.
9005 ($(objpfx)bug-regex21-mem): Likewise.
9006 ($(objpfx)bug-regex31-mem): Likewise.
9007 ($(objpfx)tst-vfork3-mem): Likewise.
9008 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9009 ($(objpfx)tst-pcre-mem): Likewise.
9010 ($(objpfx)tst-boost-mem): Likewise.
9011 ($(objpfx)bug-ga2-mem): Likewise.
9012 ($(objpfx)bug-glob2-mem): Likewise.
9013 * resolv/Makefile (generate): Likewise.
9014 (tests-special): Likewise.
9015 (xtests-special): Likewise.
9016 (generated): Likewise.
9017 ($(objpfx)mtrace-tst-leaks): Likewise.
9018 ($(objpfx)mtrace-tst-leaks2): Likewise.
9020 * scripts/merge-test-results.sh: New file.
9021 * Makefile (tests-special-notdir): New variable.
9022 (tests): Run merge-test-results.sh.
9024 * Rules (tests-special-notdir): New variable.
9025 (xtests-special-notdir): Likewise.
9026 (tests): Run merge-test-results.sh
9029 * Makeconfig (test-xfail-name): New variable.
9030 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9031 compute variable name for expected failures.
9032 * conform/Makefile (conformtest-headers-data): New variable.
9033 (conformtest-standards): Likewise.
9034 (conformtest-headers-ISO): Likewise.
9035 (conformtest-headers-ISO99): Likewise.
9036 (conformtest-headers-ISO11): Likewise.
9037 (conformtest-headers-POSIX): Likewise.
9038 (conformtest-headers-XPG3): Likewise.
9039 (conformtest-headers-XPG4): Likewise.
9040 (conformtest-headers-UNIX98): Likewise.
9041 (conformtest-headers-XOPEN2K): Likewise.
9042 (conformtest-headers-POSIX2008): Likewise.
9043 (conformtest-headers-XOPEN2K8): Likewise.
9044 (conformtest-header-list-base): Likewise.
9045 (conformtest-header-list-tests): Likewise.
9046 (conformtest-header-base): Likewise.
9047 (conformtest-header-tests): Likewise.
9048 (tests-special): Add $(conformtest-header-list-tests). If
9049 [$(fast-check) && !$(cross-compiling)], add
9050 $(conformtest-header-tests) instead of
9051 $(objpfx)run-conformtest.out.
9052 (generated): Add $(conformtest-header-list-base). If
9053 [$(fast-check) && !$(cross-compiling)], add
9054 $(conformtest-header-base). Remove previous setting.
9055 ($(conformtest-header-list-tests)): New target.
9056 (test-xfail-run-conformtest): Remove variable.
9057 ($(objpfx)run-conformtest.out): Remove target.
9058 (test-xfail-ISO11/complex.h/conform): New variable.
9059 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9060 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9061 (test-xfail-XPG3/varargs.h/conform): Likewise.
9062 (test-xfail-XPG4/varargs.h/conform): Likewise.
9063 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9064 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9065 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9066 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9067 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9068 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9069 (test-xfail-XPG3/ftw.h/conform): Likewise.
9070 (test-xfail-XPG3/grp.h/conform): Likewise.
9071 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9072 (test-xfail-XPG3/limits.h/conform): Likewise.
9073 (test-xfail-XPG3/pwd.h/conform): Likewise.
9074 (test-xfail-XPG3/search.h/conform): Likewise.
9075 (test-xfail-XPG3/signal.h/conform): Likewise.
9076 (test-xfail-XPG3/stdio.h/conform): Likewise.
9077 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9078 (test-xfail-XPG3/string.h/conform): Likewise.
9079 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9080 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9081 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9082 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9083 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9084 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9085 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9086 (test-xfail-XPG3/termios.h/conform): Likewise.
9087 (test-xfail-XPG3/time.h/conform): Likewise.
9088 (test-xfail-XPG3/unistd.h/conform): Likewise.
9089 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9090 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9091 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9092 (test-xfail-XPG4/netdb.h/conform): Likewise.
9093 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9094 (test-xfail-XPG4/signal.h/conform): Likewise.
9095 (test-xfail-XPG4/stdio.h/conform): Likewise.
9096 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9097 (test-xfail-XPG4/stropts.h/conform): Likewise.
9098 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9099 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9100 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9101 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9102 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9103 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9104 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9105 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9106 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9107 (test-xfail-XPG4/termios.h/conform): Likewise.
9108 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9109 (test-xfail-XPG4/unistd.h/conform): Likewise.
9110 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9111 (test-xfail-POSIX/sched.h/conform): Likewise.
9112 (test-xfail-POSIX/signal.h/conform): Likewise.
9113 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9114 (test-xfail-POSIX/tar.h/conform): Likewise.
9115 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9116 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9117 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9118 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9119 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9120 (test-xfail-UNIX98/sched.h/conform): Likewise.
9121 (test-xfail-UNIX98/signal.h/conform): Likewise.
9122 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9123 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9124 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9125 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9126 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9127 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9128 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9129 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9130 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9131 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9132 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9133 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9134 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9135 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9136 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9137 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9138 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9139 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9140 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9141 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9142 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9143 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9144 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9145 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9146 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9147 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9148 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9149 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9150 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9151 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9152 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9153 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9154 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9155 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9156 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9157 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9158 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9159 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9160 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9161 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9162 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9163 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9164 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9165 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9166 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9167 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9168 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9169 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9170 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9171 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9172 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9173 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9174 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9175 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9176 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9177 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9178 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9179 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9180 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9181 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9182 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9183 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9184 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9185 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9186 (conformtest-cc-flags): Likewise.
9187 ($(conformtest-header-tests): New target.
9188 * conform/check-header-lists.sh: New file.
9189 * conform/run-conformtest.sh: Remove.
9191 * conform/conformtest.pl: Allow ' and \ in values given for
9193 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9195 [POSIX] (sys/types.h): Likewise.
9196 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9198 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9200 * conform/data/signal.h-data (SIGIO): Remove expectation.
9201 [XPG3] (SIGBUS): Do not expect.
9202 [POSIX || XPG3] (SIGPOLL): Likewise.
9203 [POSIX || XPG3] (SIGPROF): Likewise.
9204 [POSIX || XPG3] (SIGSYS): Likewise.
9205 [XPG3] (SIGTRAP): Likewise.
9206 [POSIX || XPG3] (SIGURG): Likewise.
9207 [POSIX || XPG3] (SIGVTALRM): Likewise.
9208 [POSIX || XPG3] (SIGXCPU): Likewise.
9209 [POSIX || XPG3] (SIGXFSZ): Likewise.
9210 [POSIX] (SA_SIGINFO): Expect.
9211 [XPG3] (siginfo_t): Do not expect type or contents.
9212 [POSIX] (si_pid): Do not expect element.
9213 [POSIX] (si_uid): Likewise.
9214 [POSIX] (si_addr): Likewise.
9215 [POSIX] (si_status): Likewise.
9216 [POSIX] (si_band): Likewise.
9217 [XPG4] (si_value): Likewise.
9218 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9219 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9220 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9221 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9222 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9223 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9224 [POSIX || XPG3] (ILL_COPROC): Likewise.
9225 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9226 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9227 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9228 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9229 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9230 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9231 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9232 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9233 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9234 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9235 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9236 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9237 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9238 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9239 [POSIX || XPG3] (CLD_EXITED): Likewise.
9240 [POSIX || XPG3] (CLD_KILLED): Likewise.
9241 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9242 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9243 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9244 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9245 [POSIX || XPG3] (POLL_IN): Likewise.
9246 [POSIX || XPG3] (POLL_OUT): Likewise.
9247 [POSIX || XPG3] (POLL_MSG): Likewise.
9248 [POSIX || XPG3] (POLL_ERR): Likewise.
9249 [POSIX || XPG3] (POLL_PRI): Likewise.
9250 [POSIX || XPG3] (POLL_HUP): Likewise.
9251 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9252 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9253 (SIG*): Do not allow.
9254 [XPG3] (si_*): Likewise.
9255 [XPG3] (SI_*): Likewise.
9256 [XPG3 || XPG4] (sigev_*): Likewise.
9257 [XPG3 || XPG4] (SIGEV_*): Likewise.
9258 [XPG3 || XPG4] (sival_*): Likewise.
9259 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9260 [POSIX || XPG3] (BUS_*): Likewise.
9261 [POSIX || XPG3] (CLD_*): Likewise.
9262 [POSIX || XPG3] (FPE_*): Likewise.
9263 [POSIX || XPG3] (ILL_*): Likewise.
9264 [POSIX || XPG3] (POLL_*): Likewise.
9265 [POSIX || XPG3] (SEGV_*): Likewise.
9266 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9267 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9268 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9269 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9270 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9271 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9272 Specify type and value.
9273 (TVERSLEN): Likewise.
9274 (REGTYPE): Likewise.
9275 (AREGTYPE): Likewise.
9276 (LNKTYPE): Likewise.
9277 (SYMTYPE): Likewise.
9278 (CHRTYPE): Likewise.
9279 (BLKTYPE): Likewise.
9280 (DIRTYPE): Likewise.
9281 (FIFOTYPE): Likewise.
9282 (CONTTYPE): Likewise.
9287 (TUWRITE): Likewise.
9290 (TGWRITE): Likewise.
9293 (TOWRITE): Likewise.
9295 [POSIX] (TSVTX): Expect constant.
9297 2014-03-06 Joseph Myers <joseph@codesourcery.com>
9299 * Makefile (tests): Change dependencies to ....
9300 (tests-special): ... additions to this variable.
9301 (tests): Depend on $(tests-special).
9302 * Makerules (check-abi-list): New variable.
9303 (check-abi): Depend on $(check-abi-list).
9304 [$(subdir) = elf] (tests-special): Add
9305 $(objpfx)check-abi-libc.out.
9306 [$(build-shared) = yes && subdir] (tests-special): Add
9308 [$(build-shared) = yes && subdir] (tests): Do not depend on
9310 * Rules (tests): Depend on $(tests-special).
9311 (xtests): Depend on $(xtests-special).
9312 * catgets/Makefile (tests): Change dependencies to ....
9313 (tests-special): ... additions to this variable.
9314 * conform/Makefile (tests): Change dependencies to ....
9315 (tests-special): ... additions to this variable.
9316 * elf/Makefile (tests): Change dependencies to ....
9317 (tests-special): ... additions to this variable.
9318 * grp/Makefile (tests): Change dependencies to ....
9319 (tests-special): ... additions to this variable.
9320 * iconv/Makefile (xtests): Change dependencies to ....
9321 (xtests-special): ... additions to this variable.
9322 * iconvdata/Makefile (tests): Change dependencies to ....
9323 (tests-special): ... additions to this variable.
9324 * intl/Makefile (tests): Change dependencies to ....
9325 (tests-special): ... additions to this variable. Also add
9326 $(objpfx)tst-gettext.out.
9327 * io/Makefile (tests): Change dependencies to ....
9328 (tests-special): ... additions to this variable.
9329 * libio/Makefile (tests): Change dependencies to ....
9330 (tests-special): ... additions to this variable.
9331 * malloc/Makefile (tests): Change dependencies to ....
9332 (tests-special): ... additions to this variable.
9333 * misc/Makefile (tests): Change dependencies to ....
9334 (tests-special): ... additions to this variable.
9335 * nptl/Makefile (tests): Change dependencies to ....
9336 (tests-special): ... additions to this variable.
9337 * nptl_db/Makefile (tests): Change dependencies to ....
9338 (tests-special): ... additions to this variable.
9339 * posix/Makefile (tests): Change dependencies to ....
9340 (tests-special): ... additions to this variable.
9341 (xtests): Change dependencies to ....
9342 (xtests-special): ... additions to this variable.
9343 * resolv/Makefile (tests): Change dependencies to ....
9344 (tests-special): ... additions to this variable.
9345 (xtests): Change dependencies to ....
9346 (xtests-special): ... additions to this variable.
9347 * stdio-common/Makefile (tests): Change dependencies to ....
9348 (tests-special): ... additions to this variable.
9349 (do-tst-unbputc): Remove target.
9350 (do-tst-printf): Likewise.
9351 * stdlib/Makefile (tests): Change dependencies to ....
9352 (tests-special): ... additions to this variable.
9353 * string/Makefile (tests): Change dependencies to ....
9354 (tests-special): ... additions to this variable.
9355 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9356 (tests-special): ... additions to this variable.
9358 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9360 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9362 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9363 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9365 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9366 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9367 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9368 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9369 * conform/data/libgen.h-data [XPG3]: Likewise.
9370 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9371 * conform/data/ndbm.h-data [XPG3]: Likewise.
9372 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9373 * conform/data/netdb.h-data [XPG3]: Likewise.
9374 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9375 * conform/data/poll.h-data [XPG3]: Likewise.
9376 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9377 * conform/data/strings.h-data [XPG3]: Likewise.
9378 * conform/data/stropts.h-data [XPG3]: Likewise.
9379 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9380 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9381 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9383 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9384 * conform/data/sys/time.h-data [XPG3]: Likewise.
9385 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9386 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9387 * conform/data/sys/un.h-data [XPG3]: Likewise.
9388 * conform/data/syslog.h-data [XPG3]: Likewise.
9389 * conform/data/ucontext.h-data [XPG3]: Likewise.
9390 * conform/data/utmpx.h-data [XPG3]: Likewise.
9391 * conform/data/varargs.h-data [UNIX98]: Enable file.
9393 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9395 * math/libm-test.inc (struct test_f_f_data): Move expected results
9396 into structure for each rounding mode.
9397 (struct test_ff_f_data): Likewise.
9398 (struct test_ff_f_data_nexttoward): Likewise.
9399 (struct test_fi_f_data): Likewise.
9400 (struct test_fl_f_data): Likewise.
9401 (struct test_if_f_data): Likewise.
9402 (struct test_fff_f_data): Likewise.
9403 (struct test_c_f_data): Likewise.
9404 (struct test_f_f1_data): Likewise.
9405 (struct test_fF_f1_data): Likewise.
9406 (struct test_ffI_f1_data): Likewise.
9407 (struct test_c_c_data): Likewise.
9408 (struct test_cc_c_data): Likewise.
9409 (struct test_f_i_data): Likewise.
9410 (struct test_ff_i_data): Likewise.
9411 (struct test_f_l_data): Likewise.
9412 (struct test_f_L_data): Likewise.
9413 (struct test_fFF_11_data): Likewise.
9415 (RM_FE_DOWNWARD): Likewise.
9416 (RM_FE_TONEAREST): Likewise.
9417 (RM_FE_TOWARDZERO): Likewise.
9418 (RM_FE_UPWARD): Likewise.
9419 (RUN_TEST_LOOP_f_f): Update references to expected results.
9420 (RUN_TEST_LOOP_2_f): Likewise.
9421 (RUN_TEST_LOOP_fff_f): Likewise.
9422 (RUN_TEST_LOOP_c_f): Likewise.
9423 (RUN_TEST_LOOP_f_f1): Likewise.
9424 (RUN_TEST_LOOP_fF_f1): Likewise.
9425 (RUN_TEST_LOOP_fI_f1): Likewise.
9426 (RUN_TEST_LOOP_ffI_f1): Likewise.
9427 (RUN_TEST_LOOP_c_c): Likewise.
9428 (RUN_TEST_LOOP_cc_c): Likewise.
9429 (RUN_TEST_LOOP_f_i): Likewise.
9430 (RUN_TEST_LOOP_f_i_tg): Likewise.
9431 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9432 (RUN_TEST_LOOP_f_b): Likewise.
9433 (RUN_TEST_LOOP_f_b_tg): Likewise.
9434 (RUN_TEST_LOOP_f_l): Likewise.
9435 (RUN_TEST_LOOP_f_L): Likewise.
9436 (RUN_TEST_LOOP_fFF_11): Likewise.
9437 * math/gen-libm-test.pl (parse_args): Output four copies of
9438 expected results for each test.
9440 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9441 (__ASSUME_UTIMES): Remove.
9442 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9443 (__ASSUME_UTIMES): Likewise.
9445 * math/gen-auto-libm-tests.c: Update comment on output format.
9446 (output_for_one_input_case): Generate before-rounding and
9447 after-rounding information as conditions on output flags not
9448 floating-point format.
9449 * math/auto-libm-test-out: Regenerated.
9450 * math/gen-libm-test.pl (cond_value): New function.
9451 (or_cond_value): Use cond_value.
9452 (generate_testfile): Handle conditional exceptions.
9454 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9456 * math/libm-test.inc (max_valid_error): New variable.
9457 (init_max_error): Take new argument specifying whether function
9458 results are exactly determined. Set max_valid_error and bound
9459 other variables for errors based on this argument.
9460 (set_max_error): Do not record results above max_valid_error.
9461 (check_float_internal): Only accept errors of up to 0.5ulps if
9462 also at most max_valid_error.
9463 (START): Take new argument EXACT and pass it to init_max_error.
9464 (acos_test): Update call to START.
9465 (acos_test_tonearest): Likewise.
9466 (acos_test_towardzero): Likewise.
9467 (acos_test_downward): Likewise.
9468 (acos_test_upward): Likewise.
9469 (acosh_test): Likewise.
9470 (asin_test): Likewise.
9471 (asin_test_tonearest): Likewise.
9472 (asin_test_towardzero): Likewise.
9473 (asin_test_downward): Likewise.
9474 (asin_test_upward): Likewise.
9475 (asinh_test): Likewise.
9476 (atan_test): Likewise.
9477 (atanh_test): Likewise.
9478 (atan2_test): Likewise.
9479 (cabs_test): Likewise.
9480 (cacos_test): Likewise.
9481 (cacosh_test): Likewise.
9482 (carg_test): Likewise.
9483 (casin_test): Likewise.
9484 (casinh_test): Likewise.
9485 (catan_test): Likewise.
9486 (catanh_test): Likewise.
9487 (cbrt_test): Likewise.
9488 (ccos_test): Likewise.
9489 (ccosh_test): Likewise.
9490 (ceil_test): Likewise.
9491 (cexp_test): Likewise.
9492 (cimag_test): Likewise.
9493 (clog_test): Likewise.
9494 (clog10_test): Likewise.
9495 (conj_test): Likewise.
9496 (copysign_test): Likewise.
9497 (cos_test): Likewise.
9498 (cos_test_tonearest): Likewise.
9499 (cos_test_towardzero): Likewise.
9500 (cos_test_downward): Likewise.
9501 (cos_test_upward): Likewise.
9502 (cosh_test): Likewise.
9503 (cosh_test_tonearest): Likewise.
9504 (cosh_test_towardzero): Likewise.
9505 (cosh_test_downward): Likewise.
9506 (cosh_test_upward): Likewise.
9507 (cpow_test): Likewise.
9508 (cproj_test): Likewise.
9509 (creal_test): Likewise.
9510 (csin_test): Likewise.
9511 (csinh_test): Likewise.
9512 (csqrt_test): Likewise.
9513 (ctan_test): Likewise.
9514 (ctan_test_tonearest): Likewise.
9515 (ctan_test_towardzero): Likewise.
9516 (ctan_test_downward): Likewise.
9517 (ctan_test_upward): Likewise.
9518 (ctanh_test): Likewise.
9519 (ctanh_test_tonearest): Likewise.
9520 (ctanh_test_towardzero): Likewise.
9521 (ctanh_test_downward): Likewise.
9522 (ctanh_test_upward): Likewise.
9523 (erf_test): Likewise.
9524 (erfc_test): Likewise.
9525 (exp_test): Likewise.
9526 (exp_test_tonearest): Likewise.
9527 (exp_test_towardzero): Likewise.
9528 (exp_test_downward): Likewise.
9529 (exp_test_upward): Likewise.
9530 (exp10_test): Likewise.
9531 (exp10_test_tonearest): Likewise.
9532 (exp10_test_towardzero): Likewise.
9533 (exp10_test_downward): Likewise.
9534 (exp10_test_upward): Likewise.
9535 (pow10_test): Likewise.
9536 (exp2_test): Likewise.
9537 (expm1_test): Likewise.
9538 (expm1_test_tonearest): Likewise.
9539 (expm1_test_towardzero): Likewise.
9540 (expm1_test_downward): Likewise.
9541 (expm1_test_upward): Likewise.
9542 (fabs_test): Likewise.
9543 (fdim_test): Likewise.
9544 (floor_test): Likewise.
9545 (fma_test): Likewise.
9546 (fma_test_towardzero): Likewise.
9547 (fma_test_downward): Likewise.
9548 (fma_test_upward): Likewise.
9549 (fmax_test): Likewise.
9550 (fmin_test): Likewise.
9551 (fmod_test): Likewise.
9552 (fpclassify_test): Likewise.
9553 (frexp_test): Likewise.
9554 (hypot_test): Likewise.
9555 (ilogb_test): Likewise.
9556 (isfinite_test): Likewise.
9557 (finite_test): Likewise.
9558 (isgreater_test): Likewise.
9559 (isgreaterequal_test): Likewise.
9560 (isinf_test): Likewise.
9561 (isless_test): Likewise.
9562 (islessequal_test): Likewise.
9563 (islessgreater_test): Likewise.
9564 (isnan_test): Likewise.
9565 (isnormal_test): Likewise.
9566 (issignaling_test): Likewise.
9567 (isunordered_test): Likewise.
9568 (j0_test): Likewise.
9569 (j1_test): Likewise.
9570 (jn_test): Likewise.
9571 (ldexp_test): Likewise.
9572 (lgamma_test): Likewise.
9573 (gamma_test): Likewise.
9574 (lrint_test): Likewise.
9575 (lrint_test_tonearest): Likewise.
9576 (lrint_test_towardzero): Likewise.
9577 (lrint_test_downward): Likewise.
9578 (lrint_test_upward): Likewise.
9579 (llrint_test): Likewise.
9580 (llrint_test_tonearest): Likewise.
9581 (llrint_test_towardzero): Likewise.
9582 (llrint_test_downward): Likewise.
9583 (llrint_test_upward): Likewise.
9584 (log_test): Likewise.
9585 (log10_test): Likewise.
9586 (log1p_test): Likewise.
9587 (log2_test): Likewise.
9588 (logb_test): Likewise.
9589 (logb_test_downward): Likewise.
9590 (lround_test): Likewise.
9591 (llround_test): Likewise.
9592 (modf_test): Likewise.
9593 (nearbyint_test): Likewise.
9594 (nextafter_test): Likewise.
9595 (nexttoward_test): Likewise.
9596 (pow_test): Likewise.
9597 (pow_test_tonearest): Likewise.
9598 (pow_test_towardzero): Likewise.
9599 (pow_test_downward): Likewise.
9600 (pow_test_upward): Likewise.
9601 (remainder_test): Likewise.
9602 (drem_test): Likewise.
9603 (remainder_test_tonearest): Likewise.
9604 (drem_test_tonearest): Likewise.
9605 (remainder_test_towardzero): Likewise.
9606 (drem_test_towardzero): Likewise.
9607 (remainder_test_downward): Likewise.
9608 (drem_test_downward): Likewise.
9609 (remainder_test_upward): Likewise.
9610 (drem_test_upward): Likewise.
9611 (remquo_test): Likewise.
9612 (rint_test): Likewise.
9613 (rint_test_tonearest): Likewise.
9614 (rint_test_towardzero): Likewise.
9615 (rint_test_downward): Likewise.
9616 (rint_test_upward): Likewise.
9617 (round_test): Likewise.
9618 (scalb_test): Likewise.
9619 (scalbn_test): Likewise.
9620 (scalbln_test): Likewise.
9621 (signbit_test): Likewise.
9622 (sin_test): Likewise.
9623 (sin_test_tonearest): Likewise.
9624 (sin_test_towardzero): Likewise.
9625 (sin_test_downward): Likewise.
9626 (sin_test_upward): Likewise.
9627 (sincos_test): Likewise.
9628 (sinh_test): Likewise.
9629 (sinh_test_tonearest): Likewise.
9630 (sinh_test_towardzero): Likewise.
9631 (sinh_test_downward): Likewise.
9632 (sinh_test_upward): Likewise.
9633 (sqrt_test): Likewise.
9634 (sqrt_test_tonearest): Likewise.
9635 (sqrt_test_towardzero): Likewise.
9636 (sqrt_test_downward): Likewise.
9637 (sqrt_test_upward): Likewise.
9638 (tan_test): Likewise.
9639 (tan_test_tonearest): Likewise.
9640 (tan_test_towardzero): Likewise.
9641 (tan_test_downward): Likewise.
9642 (tan_test_upward): Likewise.
9643 (tanh_test): Likewise.
9644 (tgamma_test): Likewise.
9645 (trunc_test): Likewise.
9646 (y0_test): Likewise.
9647 (y1_test): Likewise.
9648 (yn_test): Likewise.
9649 (significand_test): Likewise.
9651 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9652 individual tests in comment.
9653 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9654 (prev_max_error): New variable.
9655 (prev_real_max_error): Likewise.
9656 (prev_imag_max_error): Likewise.
9657 (compare_ulp_data): Don't refer to test names in comment.
9658 (find_test_ulps): Remove function.
9659 (find_function_ulps): Likewise.
9660 (find_complex_function_ulps): Likewise.
9661 (init_max_error): Take function name as argument. Look up ulps
9663 (print_ulps): Remove function.
9664 (print_max_error): Use prev_max_error instead of calling
9666 (print_complex_max_error): Use prev_real_max_error and
9667 prev_imag_max_error instead of calling find_complex_function_ulps.
9668 (check_float_internal): Take max_ulp parameter instead of calling
9669 find_test_ulps. Don't call print_ulps.
9670 (check_float): Update call to check_float_internal.
9671 (check_complex): Update calls to check_float_internal.
9672 (START): Pass argument to init_max_error.
9673 * math/gen-libm-test.pl (%results): Don't include "kind"
9675 (parse_ulps): Don't handle ulps of individual tests.
9676 (print_ulps_file): Likewise.
9677 (output_ulps): Likewise.
9678 * math/README.libm-test: Update.
9679 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9681 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9682 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9683 * sysdeps/arm/libm-test-ulps: Likewise.
9684 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9685 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9686 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9687 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9688 * sysdeps/microblaze/libm-test-ulps: Likewise.
9689 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9690 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9691 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9692 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9693 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9694 * sysdeps/sh/libm-test-ulps: Likewise.
9695 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9696 * sysdeps/tile/libm-test-ulps: Likewise.
9697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9699 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9701 * math/libm-test.inc (print_complex_max_error): Check separately
9702 whether real and imaginary errors are within allowed range and
9703 pass 0 to print_complex_function_ulps instead of value within
9706 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9708 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9710 (get_handles_fopen): Likewise.
9711 (do_write_test): Likewise.
9713 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9715 * libio/fileops.c (do_ftell): Use cached offset when
9717 * libio/iofwide.c (do_ftell_wide): Likewise.
9718 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9720 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9723 * libio/libioP.h (get_file_offset): New function.
9724 * libio/fileops.c (get_file_offset): Likewise.
9725 (do_ftell): Likewise.
9726 (_IO_new_file_seekoff): Split out ftell logic.
9727 * libio/wfileops.c (do_ftell_wide): Likewise.
9728 (_IO_wfile_seekoff): Split out ftell logic.
9729 * libio/tst-ftell-active-handler.c: New test case.
9730 * libio/Makefile (tests): Add it.
9732 2014-03-03 Roland McGrath <roland@hack.frob.com>
9734 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9735 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9737 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9740 * nscd/connections.c (nscd_init): Call do_exit.
9741 (start_threads): Call do_exit and notify_parent.
9742 (begin_drop_privileges): Call do_exit.
9743 (finish_drop_privileges): Likewise.
9744 * nscd/selinux.c (preserve_capabilities): Likewise.
9745 (install_real_capabilities): Likewise.
9746 (nscd_selinux_enabled): Likewise.
9747 (avc_create_thread): Likewise.
9748 (avc_alloc_lock): Likewise.
9749 (nscd_avc_init): Likewise.
9750 * nscd/nscd.c (parent_fd): New static variable.
9751 (main): Create a pipe between parent and child processes.
9752 Skip closing parent_fd.
9753 (monitor_child): New function.
9754 (do_exit): Likewise.
9755 (notify_parent): Likewise.
9756 * nscd/nscd.h (notify_parent): Likewise.
9757 (do_exit): Likewise.
9759 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9761 * malloc/malloc.c (__libc_calloc): Revert last change.
9763 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9767 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9769 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9770 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9772 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9773 (__libc_ifunc_impl_list): Likewise.
9774 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9775 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9776 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9777 * string/strrchr.c: Define STRRCHR.
9779 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9781 * benchtest/bench-strtok.c (simple_strtok): Delete.
9782 (strtok_string): Use as benchmark.
9783 * string/strtok (STRTOK): New macro.
9785 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9787 * manual/threads.texi: Add header and standard comments to all
9790 * elf/dl-lookup.c (check_match): New function.
9791 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9792 (do_lookup_x): Remove nested function check_match. Use non-nested
9793 function check_match.
9795 2014-02-28 Roland McGrath <roland@hack.frob.com>
9797 * csu/Makefile (generated, before-compile): Use += rather than =.
9798 * catgets/Makefile (generated, generated-dirs): Likewise.
9799 * debug/Makefile (generated): Likewise.
9800 * dlfcn/Makefile (generated): Likewise.
9801 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9802 * iconvdata/Makefile (before-compile, generated): Likewise.
9803 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9804 * libio/Makefile (generated): Likewise.
9805 * malloc/Makefile (generated): Likewise.
9806 * manual/Makefile (generated, generated-dirs): Likewise.
9807 * misc/Makefile (generated): Likewise.
9808 * posix/Makefile (generated): Likewise.
9809 * resolv/Makefile (generated): Likewise.
9810 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9811 * timezone/Makefile (generated, generated-dirs): Likewise.
9813 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9815 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9817 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9818 power8 implementation.
9819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9820 file: POWER8 llround ifunc implementation.
9821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9822 (__lllround): Add POWER8 implementation.
9823 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9824 POWER8 llround implementation.
9826 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9827 power8 implementation.
9828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9829 file: POWER8 llrint ifunc implementation.
9830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9831 Add POWER8 implementation.
9832 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9833 POWER8 llrint implementation.
9835 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9836 power8 implementation.
9837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9838 file: POWER8 finite ifunc implementation.
9839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9840 Add POWER8 implementation.
9841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9843 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9844 POWER8 finite implementation.
9845 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9847 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9848 power8 implementation.
9849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9850 file: POWER8 isinf ifunc implementation.
9851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9852 POWER8 implementation.
9853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9855 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9856 isinf implementation.
9857 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9859 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9860 (INIT_ARCH): Add hwcap2 initialization.
9861 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9862 power8 implementation.
9863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9864 file: POWER8 isnan ifunc implementation.
9865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9866 POWER8 implementation.
9867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9869 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9870 isnan implementation.
9871 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9873 2014-02-27 Joey Ye <joey.ye@arm.com>
9875 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9876 (_FP_NANFRAC_Q): Set to zero.
9878 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9881 * math/auto-libm-test-in: New test inputs.
9882 * math/auto-libm-test-out: Regenerate.
9883 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9886 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9888 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9890 * scripts/evaluate-test.sh: Take new argument indicating whether
9891 failure is expected.
9892 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9893 indicating whether failure is expected.
9894 * conform/Makefile (test-xfail-run-conformtest): New variable.
9895 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9897 * posix/Makefile (test-xfail-annexc): New variable.
9898 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9900 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9902 * argp/Makefile: Include Makeconfig immediately after defining
9904 * assert/Makefile: Likewise.
9905 * benchtests/Makefile: Likewise.
9906 * catgets/Makefile: Likewise.
9907 * conform/Makefile: Likewise.
9908 * crypt/Makefile: Likewise.
9909 * csu/Makefile: Likewise.
9910 (all): Remove target.
9911 * ctype/Makefile: Include Makeconfig immediately after defining
9913 * debug/Makefile: Likewise.
9914 * dirent/Makefile: Likewise.
9915 * dlfcn/Makefile: Likewise.
9916 * gmon/Makefile: Likewise.
9917 * gnulib/Makefile: Likewise.
9918 * grp/Makefile: Likewise.
9919 * gshadow/Makefile: Likewise.
9920 * hesiod/Makefile: Likewise.
9921 * hurd/Makefile: Likewise.
9922 (all): Remove target.
9923 * iconvdata/Makefile: Include Makeconfig immediately after
9925 * inet/Makefile: Likewise.
9926 * intl/Makefile: Likewise.
9927 * io/Makefile: Likewise.
9928 * libio/Makefile: Likewise.
9929 (all): Remove target.
9930 * locale/Makefile: Include Makeconfig immediately after defining
9932 * login/Makefile: Likewise.
9933 * mach/Makefile: Likewise.
9934 (all): Remove target.
9935 * malloc/Makefile: Include Makeconfig immediately after defining
9937 (all): Remove target.
9938 * manual/Makefile: Include Makeconfig immediately after defining
9940 * math/Makefile: Likewise.
9941 * misc/Makefile: Likewise.
9942 * nis/Makefile: Likewise.
9943 * nss/Makefile: Likewise.
9944 * po/Makefile: Likewise.
9945 (all): Remove target.
9946 * posix/Makefile: Include Makeconfig immediately after defining
9948 * pwd/Makefile: Likewise.
9949 * resolv/Makefile: Likewise.
9950 * resource/Makefile: Likewise.
9951 * rt/Makefile: Likewise.
9952 * setjmp/Makefile: Likewise.
9953 * shadow/Makefile: Likewise.
9954 * signal/Makefile: Likewise.
9955 * socket/Makefile: Likewise.
9956 * soft-fp/Makefile: Likewise.
9957 * stdio-common/Makefile: Likewise.
9958 * stdlib/Makefile: Likewise.
9959 * streams/Makefile: Likewise.
9960 * string/Makefile: Likewise.
9961 * sunrpc/Makefile: Likewise.
9962 (all): Remove target.
9963 * sysvipc/Makefile: Include Makeconfig immediately after defining
9965 * termios/Makefile: Likewise.
9966 * time/Makefile: Likewise.
9967 * timezone/Makefile: Likewise.
9968 (all): Remove target.
9969 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9971 * wctype/Makefile: Likewise.
9973 2014-02-26 Steve Ellcey <sellcey@mips.com>
9975 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9976 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9977 (libc_feholdexcept_setround_mips): Ditto.
9978 (libc_feholdsetround): New.
9979 (libc_feholdsetroundf): New.
9980 (libc_feholdsetroundl): New.
9981 (libc_feupdateenv_test_mips): New.
9982 (libc_feupdateenv_test): New.
9983 (libc_feupdateenv_testf): New.
9984 (libc_feupdateenv_testl): New.
9985 (libc_feresetround): New.
9986 (libc_feresetroundf): New.
9987 (libc_feresetroundl): New.
9988 (libc_fetestexcept_mips): New.
9989 (libc_fetestexcept): New.
9990 (libc_fetestexceptf): New.
9991 (libc_fetestexceptl): New.
9993 (libc_feholdexcept_setround_mips_ctx): New.
9994 (libc_feholdexcept_setround_ctx): New.
9995 (libc_feholdexcept_setroundf_ctx): New.
9996 (libc_feholdexcept_setroundl_ctx): New.
9997 (libc_fesetenv_mips_ctx): New.
9998 (libc_fesetenv_ctx): New.
9999 (libc_fesetenv_ctxf): New.
10000 (libc_fesetenv_ctxl): New.
10001 (libc_feupdateenv_mips_ctx): New.
10002 (libc_feupdateenv_ctx): New.
10003 (libc_feupdateenvf_ctx): New.
10004 (libc_feupdateenvl_ctx): New.
10005 (libc_feholdsetround_mips_ctx): New.
10006 (libc_feholdsetround_ctx): New.
10007 (libc_feholdsetroundf_ctx): New.
10008 (libc_feholdsetroundl_ctx): New.
10009 (libc_feresetround_mips_ctx): New.
10010 (libc_feresetround_ctx): New.
10011 (libc_feresetroundf_ctx): New.
10012 (libc_feresetroundl_ctx): New.
10014 2014-02-26 Carlos O'Donell <carlos@redhat.com>
10016 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10018 * manual/ipc.texi: New file.
10019 * manual/Makefile (chapters): Add ipc.
10020 * manual/job.texi: Add "Inter-Process Communication" to next.
10021 * manual/process.texi: Add "Inter-Process Communication" to prev.
10023 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10027 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
10029 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10031 * manual/arith.texi: Fix spaces after sentences.
10032 * manual/charset.texi: Likewise.
10033 * manual/errno.texi: Likewise.
10034 * manual/install.texi: Likewise.
10035 * manual/llio.texi: Likewise.
10036 * manual/locale.texi: Likewise.
10037 * manual/maint.texi: Likewise.
10038 * manual/math.texi: Likewise.
10039 * manual/memory.texi: Likewise.
10040 * manual/message.texi: Likewise.
10041 * manual/probes.texi: Likewise.
10042 * manual/resource.texi: Likewise.
10043 * manual/signal.texi: Likewise.
10044 * manual/socket.texi: Likewise.
10045 * manual/stdio.texi: Likewise.
10046 * manual/string.texi: Likewise.
10047 * manual/time.texi: Likewise.
10048 * manual/users.texi: Likewise.
10050 2014-02-25 Carlos O'Donell <carlos@redhat.com>
10053 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10054 _DEFAULT_SOURCE is defined.
10056 2014-02-25 Ulrich Drepper <drepper@gmail.com>
10057 Carlos O'Donell <carlos@redhat.com>
10060 * elf/dl-tls.c (_dl_count_modids): New function.
10061 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10062 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10063 audit library and increment generation counter.
10064 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10065 * elf/tst-audit9.c: New file.
10066 * elf/tst-auditmod9a.c: New file.
10067 * elf/tst-auditmod9b.c: New file.
10068 * elf/Makefile: Add rules to build and run tst-audit9.
10070 2014-02-25 Florian Weimer <fweimer@redhat.com>
10073 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10075 2014-02-25 Will Newton <will.newton@linaro.org>
10077 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10078 (__longjmp): Restore sp and lr before restoring callee
10079 saved registers. Add longjmp and longjmp_target
10080 SystemTap probe point.
10081 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10082 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10083 Define to zero to match jmpbuf layout.
10084 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10085 (__sigsetjmp): Save sp and lr before saving callee
10086 saved registers. Add setjmp SystemTap probe point.
10088 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10090 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10092 2014-02-24 Andreas Schwab <schwab@suse.de>
10095 * elf/pldd.c (wait_for_ptrace_stop): New function.
10096 (main): Call it after attaching.
10098 2014-02-22 Roland McGrath <roland@hack.frob.com>
10100 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10101 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10102 Versions files is now verboten.
10103 * hurd/Versions (libc: GLIBC_2.0):
10104 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10105 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10106 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10107 * mach/Versions: Likewise.
10109 * csu/Versions: Remove unused %include.
10110 * resolv/Versions: Likewise.
10112 2014-02-21 Joseph Myers <joseph@codesourcery.com>
10114 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10115 ($(objpfx)check-local-headers.out): Likewise.
10116 ($(objpfx)begin-end-check.out): Likewise.
10117 * Makerules (check-abi-%.out): Likewise.
10118 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10119 ($(objpfx)test2.cat): Likewise.
10120 ($(objpfx)de/libc.cat): Likewise.
10121 ($(objpfx)test-gencat.out): Likewise.
10122 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10123 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10124 ($(objpfx)noload-mem): Likewise.
10125 ($(objpfx)tst-pathopt.out): Likewise.
10126 ($(objpfx)tst-rtld-load-self.out): Likewise.
10127 ($(objpfx)tst-array1-cmp.out): Likewise.
10128 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10129 ($(objpfx)tst-array2-cmp.out): Likewise.
10130 ($(objpfx)tst-array3-cmp.out): Likewise.
10131 ($(objpfx)tst-array4-cmp.out): Likewise.
10132 ($(objpfx)tst-array5-cmp.out): Likewise.
10133 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10134 ($(objpfx)check-textrel.out): Likewise.
10135 ($(objpfx)check-execstack.out): Likewise.
10136 ($(objpfx)check-localplt.out): Likewise.
10137 ($(objpfx)order2-cmp.out): Likewise.
10138 ($(objpfx)tst-leaks1-mem): Likewise.
10139 ($(objpfx)tst-leaks1-static-mem): Likewise.
10140 ($(objpfx)tst-initorder-cmp.out): Likewise.
10141 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10142 ($(objpfx)tst-unused-dep.out): Likewise.
10143 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10144 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10145 * iconv/Makefile (test-iconvconfig): Likewise.
10146 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10147 ($(objpfx)iconv-test.out): Likewise.
10148 ($(objpfx)tst-tables.out): Likewise.
10149 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10150 ($(objpfx)tst-gettext.out): Likewise.
10151 ($(objpfx)tst-translit.out): Likewise.
10152 ($(objpfx)tst-gettext2.out): Likewise.
10153 ($(objpfx)tst-gettext4.out): Likewise.
10154 ($(objpfx)tst-gettext6.out): Likewise.
10155 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10156 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10157 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10158 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10159 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10160 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10161 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10162 ($(objpfx)wordexp-tst.out): Likewise.
10163 ($(objpfx)annexc.out): Likewise.
10164 ($(objpfx)tst-fnmatch-mem): Likewise.
10165 ($(objpfx)bug-regex2-mem): Likewise.
10166 ($(objpfx)bug-regex14-mem): Likewise.
10167 ($(objpfx)bug-regex21-mem): Likewise.
10168 ($(objpfx)bug-regex31-mem): Likewise.
10169 ($(objpfx)tst-vfork3-mem): Likewise.
10170 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10171 ($(objpfx)tst-pcre-mem): Likewise.
10172 ($(objpfx)tst-boost-mem): Likewise.
10173 ($(objpfx)tst-getconf.out): Likewise.
10174 ($(objpfx)bug-ga2-mem): Likewise.
10175 ($(objpfx)bug-glob2-mem): Likewise.
10176 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10177 ($(objpfx)mtrace-tst-leaks2): Likewise.
10178 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10179 ($(objpfx)tst-printf.out): Likewise.
10180 ($(objpfx)tst-setvbuf1.out): Likewise.
10181 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10182 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10183 ($(objpfx)tst-fmtmsg.out): Likewise.
10184 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10185 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10187 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10188 * bits/sigaction.h [__USE_MISC]: Likewise.
10189 * bits/waitstatus.h: Update #endif comments.
10190 * ctype/ctype.h: Likewise.
10191 * dirent/dirent.h: Likewise.
10192 [__USE_MISC]: Remove redundant conditionals.
10193 * grp/grp.h: Update #endif comments.
10194 [__USE_GNU]: Remove redundant conditionals.
10195 [__USE_MISC]: Likewise.
10196 * inet/netinet/in.h [__USE_GNU]: Likewise.
10197 * io/sys/stat.h [__USE_MISC]: Likewise.
10198 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10199 * libio/bits/stdio.h: Update #endif comments.
10200 [__USE_MISC]: Remove redundant conditionals.
10201 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10202 * libio/stdio.h: Update #endif comments.
10203 [__USE_MISC]: Remove redundant conditionals.
10204 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10205 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10206 * math/math.h: Update #else and #endif comments.
10207 [__USE_MISC]: Remove redundant conditionals.
10208 * misc/sys/uio.h: Update #endif comments.
10209 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10210 * posix/glob.h [__USE_MISC]: Likewise.
10211 * posix/sys/types.h: Update #endif comments.
10212 [__USE_MISC]: Remove redundant conditionals.
10213 * posix/sys/wait.h: Update #endif comments.
10214 [__USE_MISC]: Remove redundant conditionals.
10215 * posix/unistd.h: Update #endif comments.
10216 [__USE_MISC]: Remove redundant conditionals.
10217 * pwd/pwd.h [__USE_GNU]: Likewise.
10218 [__USE_MISC]: Likewise.
10219 * resolv/netdb.h [__USE_GNU]: Likewise.
10220 * signal/signal.h: Update #endif comments.
10221 [__USE_MISC]: Remove redundant conditionals.
10222 * stdlib/stdlib.h: Update #else and #endif comments.
10223 [__USE_MISC]: Remove redundant conditionals.
10224 [__USE_GNU]: Likewise.
10225 * string/bits/string2.h [__USE_MISC]: Likewise.
10226 * string/string.h: Update #endif comments.
10227 [__USE_MISC]: Remove redundant conditionals.
10228 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10230 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10231 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10232 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10234 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10236 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10238 [__USE_MISC]: Remove redundant conditionals.
10239 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10240 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10241 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10242 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10243 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10245 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10246 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10248 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10249 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10251 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10253 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10254 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10256 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10258 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10259 * sysdeps/x86/bits/string.h: Update #endif comments.
10260 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10262 * time/sys/time.h: Update #endif comments.
10263 * time/time.h: Likewise.
10264 [__USE_MISC]: Remove redundant conditionals.
10266 2014-02-21 Yury Gribov <y.gribov@samsung.com>
10269 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10271 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10273 * Versions.def (librt): Add GLIBC_2.17.
10275 2014-02-21 Adam Conrad <adconrad@0c3.net>
10277 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10278 synonym for _SYS_AUXV_H to allow direct inclusion.
10279 * sysdeps/sparc/bits/hwcap.h: Likewise.
10280 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10281 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10282 * sysdeps/sparc/sysdep.h: Likewise.
10284 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10286 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10288 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10290 * benchtests/bench-strrchr.c: Print length instead of position.
10292 2014-02-20 Joseph Myers <joseph@codesourcery.com>
10295 * sysdeps/unix/sysv/linux/kernel-features.h
10296 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10297 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10298 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10299 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10301 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10302 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10303 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10304 (__ASSUME_SENDMMSG): Define instead of using previous
10305 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10306 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10307 (__ASSUME_SENDMMSG_SYSCALL): Define.
10308 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10309 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10311 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10312 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10314 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10315 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10317 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10318 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10319 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10320 [__ASSUME_SENDMMSG]: Change conditionals to
10321 [__ASSUME_SENDMMSG_SOCKETCALL].
10322 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10323 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10325 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10326 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10328 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10329 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10330 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10331 [!__ASSUME_SENDMMSG]: Change conditional to
10332 [!__ASSUME_SENDMMSG_SOCKETCALL].
10333 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10334 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10338 * sysdeps/unix/sysv/linux/kernel-features.h
10339 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10340 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10341 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10342 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10343 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10344 [__i386__ || __sparc__]
10345 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10346 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10347 (__ASSUME_RECVMMSG): Define instead of using previous
10348 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10349 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10350 (__ASSUME_RECVMMSG_SYSCALL): Define.
10351 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10352 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10354 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10355 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10357 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10358 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10360 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10361 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10362 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10363 [__ASSUME_RECVMMSG]: Change condition to
10364 [__ASSUME_RECVMMSG_SOCKETCALL].
10365 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10366 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10368 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10369 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10370 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10372 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10373 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10374 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10375 [!__ASSUME_RECVMMSG]: Change condition to
10376 [!__ASSUME_RECVMMSG_SOCKETCALL].
10377 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10378 (__ASSUME_RECVMMSG_SYSCALL): Define.
10381 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10382 __powerpc__ || __s390__ || __sh__ || __sparc__]
10383 (__ASSUME_SOCKETCALL): Define.
10384 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10385 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10386 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10387 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10388 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10389 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10390 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10391 (__ASSUME_ACCEPT4): Define instead of using previous
10392 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10393 __powerpc__ || __sparc__ || __s390__)] condition.
10394 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10395 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10396 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10397 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10398 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10399 [!__ASSUME_ACCEPT4]: Change condition to
10400 [!__ASSUME_ACCEPT4_SOCKETCALL].
10401 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10402 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10403 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10404 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10405 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10406 __ASSUME_ACCEPT4_SYSCALL.
10407 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10408 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10409 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10410 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10411 __ASSUME_ACCEPT4_SYSCALL.
10412 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10413 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10414 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10415 [__ASSUME_ACCEPT4]: Change condition to
10416 [__ASSUME_ACCEPT4_SOCKETCALL].
10417 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10418 (__ASSUME_SOCKETCALL): Define.
10419 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10420 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10421 (__ASSUME_SOCKETCALL): Define.
10422 (__ASSUME_ACCEPT4): Remove.
10423 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10425 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10426 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10428 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10429 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10431 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10433 (HWCAP_ARM_LPAE): Likewise.
10434 (HWCAP_ARM_EVTSTRM): Likewise.
10435 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10436 Add vpfd32, lpae and evtstrm.
10437 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10440 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10442 * math/auto-libm-test-in: Add tests of clog10.
10443 * math/auto-libm-test-out: Regenerated.
10444 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10445 * sysdeps/i386/fpu/libm-test-ulps: Update.
10446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10448 2014-02-18 Andreas Schwab <schwab@suse.de>
10451 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10452 Store non-zero if the second buffer was newly allocated.
10453 (send_dg): Likewise.
10454 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10455 to send_vc and send_dg.
10456 (res_nsend): Pass NULL for ansp2_malloced.
10457 * resolv/res_query.c (__libc_res_nquery): Add parameter
10458 answerp2_malloced and pass it down to __libc_res_nsend.
10459 (res_nquery): Pass additional NULL to __libc_res_nquery.
10460 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10461 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10462 second answer buffer if answerp2_malloced was set.
10463 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10464 (__libc_res_nquerydomain): Add parameter
10465 answerp2_malloced and pass it down to __libc_res_nquery.
10466 (res_nquerydomain): Pass additional NULL to
10467 __libc_res_nquerydomain.
10468 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10469 additional NULL to __libc_res_nsend and __libc_res_nquery.
10470 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10471 additional NULL to __libc_res_nsearch.
10472 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10473 parameter of __libc_res_nsearch to check for separately allocated
10475 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10477 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10478 additional NULL to __libc_res_nquery.
10479 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10480 __libc_res_nsearch.
10481 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10482 * include/resolv.h: Update prototypes of __libc_res_nquery,
10483 __libc_res_nsearch, __libc_res_nsend.
10485 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10487 * math/auto-libm-test-in: Add tests of fma.
10488 * math/auto-libm-test-out: Regenerated.
10489 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10490 (fma_towardzero_test_data): Likewise.
10491 (fma_downward_test_data): Likewise.
10492 (fma_upward_test_data): Likewise.
10493 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10495 (rounding_modes): Add values for new field.
10496 (func_calc_method): Add value mpfr_fff_f.
10497 (func_calc_desc): Add mpfr_fff_f union field.
10498 (test_function): Add field exact_args.
10499 (FUNC): Add macro argument EXACT_ARGS.
10500 (FUNC_mpfr_f_f): Update call to FUNC.
10501 (FUNC_mpfr_f_f): Likewise.
10502 (FUNC_mpfr_ff_f): Likewise.
10503 (FUNC_mpfr_if_f): Likewise.
10504 (FUNC_mpc_c_f): Likewise.
10505 (FUNC_mpc_c_c): Likewise.
10506 (test_functions): Add fma. Update calls to FUNC.
10507 (handle_input_arg): Add argument exact_args.
10508 (add_test): Update call to handle_input_arg.
10509 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10510 (output_for_one_input_case): Update call to calc_generic_results.
10511 Recalculate exact zero results in each rounding mode.
10513 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10514 non-negative before setting low bit.
10515 * math/auto-libm-test-in: Mark one asin test possibly having
10516 spurious underflow.
10517 * math/auto-libm-test-out: Regenerated.
10518 * sysdeps/i386/fpu/libm-test-ulps: Update.
10519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10521 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10523 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10524 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10525 ports/sysdeps/unix/sysv/linux/microblaze.
10526 * README: Add missing listing for microblaze*-*-linux-gnu.
10528 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10530 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10533 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10535 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10536 * sysdeps/unix/sysv/linux/ia64: Move directory from
10537 ports/sysdeps/unix/sysv/linux/ia64.
10538 * README: Update listing for ia64-*-linux-gnu.
10540 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10541 Joseph Myers <joseph@codesourcery.com>
10543 * Makeconfig (test-name): New variable.
10544 (evaluate-test): Likewise.
10545 * Makerules (do-test-clean): Remove .test-result files.
10546 (common-mostlyclean): Likewise.
10547 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10548 * scripts/evaluate-test.sh: New file.
10550 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10552 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10553 separate $(objpfx)tst-fopenloc-cmp.out and
10554 $(objpfx)tst-fopenloc-mem.out targets.
10555 (tests): Update dependencies.
10556 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10557 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10558 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10559 (tst-rxspencer-no-utf8-ARGS): New variable.
10560 (tst-rxspencer-no-utf8-ENV): Likewise.
10561 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10562 instead of $(objpfx)tst-rxspencer-mem.
10563 ($(objpfx)tst-rxspencer-mem): Change target to
10564 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10565 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10566 * posix/tst-rxspencer-no-utf8.c: New file.
10568 * elf/Makefile ($(objpfx)order.out): Remove rule.
10569 [$(run-built-tests) = yes] (tests): Depend on
10570 $(objpfx)order-cmp.out.
10571 ($(objpfx)order-cmp.out): New rule.
10572 [$(run-built-tests) = yes] (tests): Depend on
10573 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10574 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10575 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10576 $(objpfx)tst-array5-static-cmp.out.
10577 ($(objpfx)tst-array1.out): Remove rule.
10578 ($(objpfx)tst-array1-cmp.out): New rule.
10579 ($(objpfx)tst-array1-static.out): Remove rule.
10580 ($(objpfx)tst-array1-static-cmp.out): New rule.
10581 ($(objpfx)tst-array2.out): Remove rule.
10582 ($(objpfx)tst-array2-cmp.out): New rule.
10583 ($(objpfx)tst-array3.out): Remove rule.
10584 ($(objpfx)tst-array3-cmp.out): New rule.
10585 ($(objpfx)tst-array4.out): Remove rule.
10586 ($(objpfx)tst-array4-cmp.out): New rule.
10587 ($(objpfx)tst-array5.out): Remove rule.
10588 ($(objpfx)tst-array5-cmp.out): New rule.
10589 ($(objpfx)tst-array5-static.out): Remove rule.
10590 ($(objpfx)tst-array5-static-cmp.out): New rule.
10591 [$(run-built-tests) = yes] (tests): Depend on
10592 $(objpfx)order2-cmp.out.
10593 ($(objpfx)order2.out): Remove rule.
10594 ($(objpfx)order2-cmp.out): New rule.
10595 ($(objpfx)tst-initorder.out): Remove rule.
10596 [$(run-built-tests) = yes] (tests): Depend on
10597 $(objpfx)tst-initorder-cmp.out.
10598 ($(objpfx)tst-initorder-cmp.out): New rule.
10599 ($(objpfx)tst-initorder2.out): Remove rule.
10600 [$(run-built-tests) = yes] (tests): Depend on
10601 $(objpfx)tst-initorder2-cmp.out.
10602 ($(objpfx)tst-initorder2-cmp.out): New rule.
10603 [$(run-built-tests) = yes] (tests): Depend on
10604 $(objpfx)tst-unused-dep-cmp.out.
10605 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10606 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10607 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10608 on $(objpfx)tst-setvbuf1-cmp.out.
10609 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10610 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10611 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10612 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10613 ($(objpfx)tst-svc.out): Remove rule.
10614 ($(objpfx)tst-svc-cmp.out): New rule.
10616 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10618 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10619 * ctype/ctype.h [__USE_MISC]: Likewise.
10620 * dirent/dirent.h [__USE_MISC]: Likewise.
10621 * grp/grp.h [__USE_MISC]: Likewise.
10622 * io/fcntl.h [__USE_MISC]: Likewise.
10623 * io/sys/stat.h [__USE_MISC]: Likewise.
10624 * libio/stdio.h [__USE_MISC]: Likewise.
10625 * posix/unistd.h [__USE_MISC]: Likewise.
10626 * pwd/pwd.h [__USE_MISC]: Likewise.
10627 * stdlib.h [__USE_MISC]: Likewise.
10628 * string/bits/string2.h [__USE_MISC]: Likewise.
10629 * string/string.h [__USE_MISC]: Likewise.
10630 * time/time.h [__USE_MISC]: Likewise.
10632 2014-02-13 Andreas Schwab <schwab@suse.de>
10635 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10636 second answer buffer if it was separately allocated.
10638 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10640 * sysdeps/mips/math-tests.h: Include <features.h>.
10641 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10642 (ROUNDING_TESTS_long_double): Do not define.
10643 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10644 (EXCEPTION_TESTS_long_double): Likewise.
10645 * sysdeps/mips/mips64/libm-test-ulps: Update.
10647 * include/features.h (__USE_BSD): Remove macro definitions.
10648 (__USE_SVID): Likewise.
10649 (_BSD_SOURCE): Likewise.
10650 (_SVID_SOURCE): Likewise.
10651 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10652 from definition of _DEFAULT_SOURCE.
10653 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10655 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10656 * bits/mman.h [__USE_BSD]: Likewise.
10657 * bits/termios.h [__USE_BSD]: Likewise.
10658 * bits/waitstatus.h [__USE_BSD]: Likewise.
10659 * ctype/ctype.h [__USE_SVID]: Likewise.
10660 * dirent/dirent.h [__USE_BSD]: Likewise.
10661 * grp/grp.h [__USE_SVID]: Likewise.
10662 [__USE_BSD]: Likewise.
10663 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10664 * io/fcntl.h [__USE_BSD]: Likewise.
10665 * io/ftw.h [__USE_BSD]: Likewise.
10666 * io/sys/stat.h [__USE_BSD]: Likewise.
10667 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10668 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10669 * libio/stdio.h [__USE_SVID]: Likewise.
10670 [__USE_BSD]: Likewise.
10671 * math/math.h [__USE_SVID]: Likewise.
10672 [__USE_BSD]: Likewise.
10673 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10674 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10675 * misc/search.h [__USE_SVID]: Likewise.
10676 * misc/sys/mman.h [__USE_BSD]: Likewise.
10677 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10678 * misc/sys/uio.h [__USE_BSD]: Likewise.
10679 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10680 * posix/glob.h [__USE_BSD]: Likewise.
10681 * posix/regex.h [__USE_BSD]: Likewise.
10682 * posix/sys/types.h [__USE_BSD]: Likewise.
10683 [__USE_SVID]: Likewise.
10684 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10685 * posix/sys/wait.h [__USE_BSD]: Likewise.
10686 [__USE_SVID]: Likewise.
10687 * posix/unistd.h [__USE_BSD]: Likewise.
10688 [__USE_SVID]: Likewise.
10689 * pwd/pwd.h [__USE_SVID]: Likewise.
10690 * resolv/netdb.h [__USE_BSD]: Likewise.
10691 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10692 * signal/signal.h [__USE_BSD]: Likewise.
10693 [__USE_SVID]: Likewise.
10694 * socket/sys/socket.h [__USE_BSD]: Likewise.
10695 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10696 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10697 [__USE_SVID]: Likewise.
10698 * string/bits/string2.h [__USE_BSD]: Likewise.
10699 [__USE_SVID]: Likewise.
10700 * string/bits/string3.h [__USE_BSD]: Likewise.
10701 * string/endian.h [__USE_BSD]: Likewise.
10702 * string/string.h [__USE_SVID]: Likewise.
10703 [__USE_BSD]: Likewise.
10704 * string/strings.h [__USE_BSD]: Likewise.
10705 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10706 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10707 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10708 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10709 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10710 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10712 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10714 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10715 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10717 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10718 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10720 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10722 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10723 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10724 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10726 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10728 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10729 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10730 * termios/termios.h [__USE_BSD]: Likewise.
10731 * time/sys/time.h [__USE_BSD]: Likewise.
10732 * time/time.h [__USE_BSD]: Likewise.
10733 [__USE_SVID]: Likewise.
10735 * Makefile (subdir_targets): Remove subdir_lint.out.
10737 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10738 (do-tst-printf): Likewise.
10739 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10740 $(objpfx)tst-printf.out.
10742 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10744 * Makerules (check-abi-%): Change target to
10745 $(objpfx)check-abi-%.out.
10746 (check-abi target): Update dependencies.
10747 (check-abi-pattern variable): Redirect output of diff to $@.
10748 (check-abi variable): Likewise.
10749 * elf/Makefile (check-abi): Update dependencies.
10751 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10753 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10754 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10756 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10757 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10758 value has largest subnormal exponent.
10759 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10760 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10761 * sysdeps/aarch64/soft-fp/sfp-machine.h
10762 (_FP_TININESS_AFTER_ROUNDING): New macro.
10763 * sysdeps/alpha/soft-fp/sfp-machine.h
10764 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10765 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10767 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10768 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10769 * sysdeps/mips/soft-fp/sfp-machine.h
10770 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10771 * sysdeps/powerpc/soft-fp/sfp-machine.h
10772 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10773 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10775 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10776 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10777 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10778 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10779 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10782 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10785 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10788 2014-02-12 Richard Henderson <rth@redhat.com>
10790 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10791 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10792 * sysdeps/unix/sysv/linux/alpha: Move directory from
10793 ports/sysdeps/unix/sysv/linux/alpha.
10794 * README: Update listing for alpha-*-linux-gnu.
10796 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10798 * include/features.h: Update comment documenting feature test
10800 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10802 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10803 (_SVID_SOURCE): Likewise.
10804 (_DEFAULT_SOURCE): Update description of default features.
10805 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10807 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10808 (S_ISVTX): Likewise.
10809 * manual/math.texi (Mathematical Constants): Likewise.
10810 * manual/signal.texi (Interrupted Primitives): Likewise.
10811 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10812 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10813 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10814 Don't refer to _SVID_SOURCE in warning text.
10816 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10818 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10820 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10821 * sysdeps/mips/dl-lookup.c: Remove.
10822 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10824 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10827 * math/auto-libm-test-in: Add testcase for expl.
10828 * math/auto-libm-test-out: Regenerate.
10829 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10830 calculation of unsafe.
10831 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10833 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10835 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10836 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10837 ports/sysdeps/unix/sysv/linux/aarch64.
10838 * README: Update listing for aarch64*-*-linux-gnu.
10840 2014-02-11 Will Newton <will.newton@linaro.org>
10842 * manual/probes.texi (Mathematical Function Probes): Use
10843 "triggered" instead of "hit".
10845 * manual/probes.texi (Internal Probes): Add documentation
10846 of setjmp, longjmp and longjmp_target probes.
10848 * include/stap-probe.h: Add comment about probe argument
10851 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10852 definition. (tr_where, tr_freehook, tr_mallochook,
10853 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10855 2014-02-11 David S. Miller <davem@davemloft.net>
10857 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10858 processing int_tests.
10860 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10862 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10863 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10864 * sysdeps/unix/sysv/linux/mips: Move directory from
10865 ports/sysdeps/unix/sysv/linux/mips.
10866 * README: Update listing for mips-*-linux-gnu and
10867 mips64-*-linux-gnu.
10869 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10871 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10872 * sysdeps/unix/sysv/linux/m68k: Move directory from
10873 ports/sysdeps/unix/sysv/linux/m68k.
10874 * README: Update listing for m68k-*-linux-gnu.
10876 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10878 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10879 * sysdeps/unix/sysv/linux/generic: Move directory from
10880 ports/sysdeps/unix/sysv/linux/generic.
10881 * sysdeps/unix/sysv/linux/tile: Move directory from
10882 ports/sysdeps/unix/sysv/linux/tile.
10883 * README: Update listing for tile*-*-linux-gnu.
10885 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10887 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10889 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10890 * catgets/open_catalog.c (__open_catalog): Likewise.
10891 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10892 * debug/confstr_chk.c: Likewise.
10893 * debug/fread_chk.c (__fread_chk): Likewise.
10894 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10895 * debug/getgroups_chk.c: Likewise.
10896 * debug/mbsnrtowcs_chk.c: Likewise.
10897 * debug/mbsrtowcs_chk.c: Likewise.
10898 * debug/mbstowcs_chk.c: Likewise.
10899 * debug/memcpy_chk.c: Likewise.
10900 * debug/memmove_chk.c: Likewise.
10901 * debug/mempcpy_chk.c: Likewise.
10902 * debug/memset_chk.c: Likewise.
10903 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10904 * debug/strcat_chk.c (__strcat_chk): Likewise.
10905 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10906 * debug/strncat_chk.c (__strncat_chk): Likewise.
10907 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10908 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10909 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10910 * debug/wcpncpy_chk.c: Likewise.
10911 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10912 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10913 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10914 * debug/wcsncpy_chk.c: Likewise.
10915 * debug/wcsnrtombs_chk.c: Likewise.
10916 * debug/wcsrtombs_chk.c: Likewise.
10917 * debug/wcstombs_chk.c: Likewise.
10918 * debug/wmemcpy_chk.c: Likewise.
10919 * debug/wmemmove_chk.c: Likewise.
10920 * debug/wmempcpy_chk.c: Likewise.
10921 * debug/wmemset_chk.c: Likewise.
10922 * dirent/scandirat.c (SCANDIRAT): Likewise.
10923 * dlfcn/dladdr1.c (dladdr1): Likewise.
10924 * dlfcn/dladdr.c (dladdr): Likewise.
10925 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10926 * dlfcn/dlerror.c (__dlerror): Likewise.
10927 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10928 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10929 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10930 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10931 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10932 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10933 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10934 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10936 * elf/dl-conflict.c: Likewise.
10937 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10938 * elf/dl-dst.h: Likewise.
10939 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10940 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10941 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10942 * elf/dl-init.c (call_init, _dl_init): Likewise.
10943 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10944 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10945 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10947 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10949 * elf/dl-minimal.c (__libc_memalign): Likewise.
10950 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10951 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10952 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10953 * elf/dl-sym.c (do_sym): Likewise.
10954 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10955 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10956 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10957 * elf/dl-writev.h (_dl_writev): Likewise.
10958 * elf/ldconfig.c (search_dir): Likewise.
10959 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10960 (dl_main): Likewise.
10961 * elf/setup-vdso.h (setup_vdso): Likewise.
10962 * grp/compat-initgroups.c (compat_call): Likewise.
10963 * grp/fgetgrent.c (fgetgrent): Likewise.
10964 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10965 * grp/putgrent.c (putgrent): Likewise.
10966 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10968 * hurd/hurdinit.c: Likewise.
10969 * iconvdata/8bit-gap.c (struct): Likewise.
10970 * iconvdata/ansi_x3.110.c : Likewise.
10971 * iconvdata/big5.c : Likewise.
10972 * iconvdata/big5hkscs.c : Likewise.
10973 * iconvdata/cp1255.c: Likewise.
10974 * iconvdata/cp1258.c : Likewise.
10975 * iconvdata/cp932.c : Likewise.
10976 * iconvdata/euc-cn.c: Likewise.
10977 * iconvdata/euc-jisx0213.c : Likewise.
10978 * iconvdata/euc-jp.c: Likewise.
10979 * iconvdata/euc-jp-ms.c : Likewise.
10980 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10981 * iconvdata/gb18030.c : Likewise.
10982 * iconvdata/gbbig5.c (const): Likewise.
10983 * iconvdata/gbgbk.c: Likewise.
10984 * iconvdata/gbk.c : Likewise.
10985 * iconvdata/ibm1364.c : Likewise.
10986 * iconvdata/ibm930.c : Likewise.
10987 * iconvdata/ibm932.c: Likewise.
10988 * iconvdata/ibm933.c : Likewise.
10989 * iconvdata/ibm935.c : Likewise.
10990 * iconvdata/ibm937.c : Likewise.
10991 * iconvdata/ibm939.c : Likewise.
10992 * iconvdata/ibm943.c: Likewise.
10993 * iconvdata/iso_11548-1.c: Likewise.
10994 * iconvdata/iso-2022-cn.c : Likewise.
10995 * iconvdata/iso-2022-cn-ext.c : Likewise.
10996 * iconvdata/iso-2022-jp-3.c: Likewise.
10997 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10998 * iconvdata/iso-2022-kr.c : Likewise.
10999 * iconvdata/iso646.c (gconv_end): Likewise.
11000 * iconvdata/iso_6937-2.c : Likewise.
11001 * iconvdata/iso_6937.c : Likewise.
11002 * iconvdata/iso8859-1.c: Likewise.
11003 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11004 * iconvdata/shift_jisx0213.c : Likewise.
11005 * iconvdata/sjis.c : Likewise.
11006 * iconvdata/t.61.c : Likewise.
11007 * iconvdata/tcvn5712-1.c : Likewise.
11008 * iconvdata/tscii.c: Likewise.
11009 * iconvdata/uhc.c : Likewise.
11010 * iconvdata/unicode.c (gconv_end): Likewise.
11011 * iconvdata/utf-16.c (gconv_end): Likewise.
11012 * iconvdata/utf-32.c (gconv_end): Likewise.
11013 * iconvdata/utf-7.c (base64): Likewise.
11014 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11015 * iconv/gconv_close.c (__gconv_close): Likewise.
11016 * iconv/gconv_open.c (__gconv_open): Likewise.
11017 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11018 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11019 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11020 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11021 (ucs4le_internal_loop_single): Likewise.
11022 * iconv/iconv.c (iconv): Likewise.
11023 * iconv/iconv_close.c: Likewise.
11024 * iconv/loop.c (SINGLE): Likewise.
11025 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11026 * include/atomic.h: Likewise.
11027 * inet/inet6_option.c (option_alloc): Likewise.
11028 * intl/bindtextdom.c (set_binding_values): Likewise.
11029 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11030 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11031 * intl/localealias.c (read_alias_file): Likewise.
11032 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11033 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11034 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11035 * libio/fmemopen.c (fmemopen): Likewise.
11036 * libio/iofgets.c (_IO_fgets): Likewise.
11037 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11038 * libio/iofgetws.c (fgetws): Likewise.
11039 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11040 * libio/iogetdelim.c (_IO_getdelim): Likewise.
11041 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11042 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11043 * locale/findlocale.c (_nl_find_locale): Likewise.
11044 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11045 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11047 * locale/setlocale.c (setlocale): Likewise.
11048 * login/programs/pt_chown.c (main): Likewise.
11049 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11050 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11051 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11052 (mmap, mmap64, mremap, munmap): Likewise.
11053 * math/e_exp2l.c: Likewise.
11054 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11055 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11056 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11057 * math/s_catan.c (__catan): Likewise.
11058 * math/s_catanf.c (__catanf): Likewise.
11059 * math/s_catanh.c (__catanh): Likewise.
11060 * math/s_catanhf.c (__catanhf): Likewise.
11061 * math/s_catanhl.c (__catanhl): Likewise.
11062 * math/s_catanl.c (__catanl): Likewise.
11063 * math/s_ccosh.c (__ccosh): Likewise.
11064 * math/s_ccoshf.c (__ccoshf): Likewise.
11065 * math/s_ccoshl.c (__ccoshl): Likewise.
11066 * math/s_cexp.c (__cexp): Likewise.
11067 * math/s_cexpf.c (__cexpf): Likewise.
11068 * math/s_cexpl.c (__cexpl): Likewise.
11069 * math/s_clog10.c (__clog10): Likewise.
11070 * math/s_clog10f.c (__clog10f): Likewise.
11071 * math/s_clog10l.c (__clog10l): Likewise.
11072 * math/s_clog.c (__clog): Likewise.
11073 * math/s_clogf.c (__clogf): Likewise.
11074 * math/s_clogl.c (__clogl): Likewise.
11075 * math/s_csin.c (__csin): Likewise.
11076 * math/s_csinf.c (__csinf): Likewise.
11077 * math/s_csinh.c (__csinh): Likewise.
11078 * math/s_csinhf.c (__csinhf): Likewise.
11079 * math/s_csinhl.c (__csinhl): Likewise.
11080 * math/s_csinl.c (__csinl): Likewise.
11081 * math/s_csqrt.c (__csqrt): Likewise.
11082 * math/s_csqrtf.c (__csqrtf): Likewise.
11083 * math/s_csqrtl.c (__csqrtl): Likewise.
11084 * math/s_ctan.c (__ctan): Likewise.
11085 * math/s_ctanf.c (__ctanf): Likewise.
11086 * math/s_ctanh.c (__ctanh): Likewise.
11087 * math/s_ctanhf.c (__ctanhf): Likewise.
11088 * math/s_ctanhl.c (__ctanhl): Likewise.
11089 * math/s_ctanl.c (__ctanl): Likewise.
11090 * math/w_pow.c: Likewise.
11091 * math/w_powf.c: Likewise.
11092 * math/w_powl.c: Likewise.
11093 * math/w_scalb.c (sysv_scalb): Likewise.
11094 * math/w_scalbf.c (sysv_scalbf): Likewise.
11095 * math/w_scalbl.c (sysv_scalbl): Likewise.
11096 * misc/error.c (error_tail): Likewise.
11097 * misc/pselect.c (__pselect): Likewise.
11098 * nis/nis_callback.c (__nis_create_callback): Likewise.
11099 * nis/nis_call.c (__nisfind_server): Likewise.
11100 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11101 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11102 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11103 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11104 * nis/nis_lookup.c (nis_lookup): Likewise.
11105 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11106 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11107 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11108 * nis/nis_xdr.c (xdr_endpoint): Likewise.
11109 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11110 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11111 * nis/nss_compat/compat-initgroups.c (add_group)
11112 (internal_getgrent_r): Likewise.
11113 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11114 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11115 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11116 (internal_getspnam_r): Likewise.
11117 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11118 (_nss_nis_getaliasbyname_r): Likewise.
11119 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11120 (_nss_nis_getntohost_r): Likewise.
11121 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11122 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11123 (_nss_nis_getgrgid_r): Likewise.
11124 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11125 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11126 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11127 (_nss_nis_gethostbyname4_r): Likewise.
11128 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11129 (initgroups_netid): Likewise.
11130 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11131 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11132 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11133 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11134 (_nss_nis_getprotobynumber_r): Likewise.
11135 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11136 (_nss_nis_getsecretkey): Likewise.
11137 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11138 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11139 (_nss_nis_getpwuid_r): Likewise.
11140 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11141 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11142 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11143 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11144 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11145 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11146 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11148 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11149 (_nss_nisplus_getntohost_r): Likewise.
11150 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11151 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11152 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11153 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11155 * nis/nss_nisplus/nisplus-initgroups.c
11156 (_nss_nisplus_initgroups_dyn): Likewise.
11157 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11158 (_nss_nisplus_getnetbyaddr_r): Likewise.
11159 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11160 (_nss_nisplus_getprotobynumber_r): Likewise.
11161 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11162 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11163 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11165 * nis/nss_nisplus/nisplus-service.c
11166 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11167 (_nss_nisplus_getservbyport_r): Likewise.
11168 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11169 (_nss_nisplus_getspnam_r): Likewise.
11170 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11172 * nscd/aicache.c (addhstaiX): Likewise.
11173 * nscd/cache.c (cache_search, prune_cache): Likewise.
11174 * nscd/connections.c (register_traced_file, send_ro_fd)
11175 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11176 (main_loop_epoll): Likewise.
11177 * nscd/grpcache.c (addgrbyX): Likewise.
11178 * nscd/hstcache.c (addhstbyX): Likewise.
11179 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11180 * nscd/mem.c (gc, mempool_alloc): Likewise.
11181 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11182 (addinnetgrX): Likewise.
11183 * nscd/nscd-client.h (__nscd_acquire_maplock)
11184 (__nscd_drop_map_ref): Likewise.
11185 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11186 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11187 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11189 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11190 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11191 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11192 (__nscd_get_map_ref): Likewise.
11193 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11194 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11196 * nscd/pwdcache.c (addpwbyX): Likewise.
11197 * nscd/selinux.c (preserve_capabilities): Likewise.
11198 * nscd/servicescache.c (addservbyX): Likewise.
11199 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11200 * posix/fnmatch.c (fnmatch): Likewise.
11201 * posix/getopt.c (_getopt_internal_r): Likewise.
11202 * posix/glob.c (glob, glob_in_dir): Likewise.
11203 * posix/wordexp.c (exec_comm_child): Likewise.
11204 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11205 (getanswer_r, gaih_getanswer_slice): Likewise.
11206 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11207 * resolv/res_init.c: Likewise.
11208 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11209 * resolv/res_query.c (__libc_res_nquery): Likewise.
11210 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11212 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11213 * stdio-common/perror.c (perror): Likewise.
11214 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11215 * stdio-common/tmpnam.c (tmpnam): Likewise.
11216 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11217 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11218 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11220 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11221 * stdlib/putenv.c (putenv): Likewise.
11222 * stdlib/setenv.c (__add_to_environ): Likewise.
11223 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11224 * stdlib/strtol_l.c (INTERNAL): Likewise.
11225 * string/memmem.c (memmem): Likewise.
11226 * string/strerror.c (strerror): Likewise.
11227 * string/strnlen.c (__strnlen): Likewise.
11228 * string/test-memmem.c (simple_memmem): Likewise.
11229 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11230 * sunrpc/pm_getport.c (__get_socket): Likewise.
11231 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11232 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11233 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11234 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11236 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11237 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11238 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11239 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11240 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11241 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11243 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11245 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11246 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11247 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11248 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11249 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11250 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11251 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11252 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11253 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11254 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11255 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11256 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11258 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11260 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11262 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11263 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11264 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11265 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11266 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11267 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11268 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11269 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11270 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11271 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11272 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11273 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11274 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11275 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11276 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11277 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11279 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11281 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11283 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11285 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11286 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11287 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11289 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11290 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11291 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11292 * sysdeps/posix/sleep.c: Likewise.
11293 * sysdeps/posix/tempname.c: Likewise.
11294 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11295 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11297 * sysdeps/powerpc/powerpc32/dl-machine.h
11298 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11299 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11300 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11301 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11302 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11304 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11305 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11306 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11307 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11308 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11309 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11310 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11311 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11312 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11313 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11314 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11315 (elf_machine_lazy_rel): Likewise.
11316 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11317 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11318 (elf_machine_lazy_rel): Likewise.
11319 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11320 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11321 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11322 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11323 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11324 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11325 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11326 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11328 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11329 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11330 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11331 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11332 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11333 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11334 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11335 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11336 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11337 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11338 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11340 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11341 (__posix_fallocate64_l64): Likewise.
11342 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11343 (posix_fallocate): Likewise.
11344 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11346 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11347 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11348 (getifaddrs_internal): Likewise.
11349 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11350 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11351 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11352 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11353 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11354 (__posix_fallocate64_l64): Likewise.
11355 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11357 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11358 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11359 (__get_clockfreq): Likewise.
11360 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11361 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11362 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11363 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11364 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11365 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11366 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11367 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11369 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11370 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11371 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11372 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11373 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11374 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11375 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11377 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11378 (posix_fallocate): Likewise.
11379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11380 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11381 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11382 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11383 (elf_machine_rela, elf_machine_rela_relative)
11384 (elf_machine_lazy_rel): Likewise.
11385 * time/asctime.c (asctime_internal): Likewise.
11386 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11387 * time/tzset.c (__tzset_parse_tz): Likewise.
11388 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11389 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11390 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11391 * wcsmbs/wcsmbsload.h: Likewise.
11394 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11396 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11397 (arena_get2): Remove THREAD_STATS conditionals.
11398 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11399 (__malloc_stats, int): Likewise.
11401 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11403 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11404 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11406 * manual/setjmp.texi: Fix typos/grammar errors.
11408 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11409 Only return early when n is <= 0. Delete unused return statement.
11411 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11412 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11413 * debug/tst-longjmp_chk3.c: New file.
11415 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11416 (test_main): Replace code with set_fortify_handler call.
11417 * debug/test-strcpy_chk.c: Likewise.
11418 * debug/tst-chk1.c: Likewise.
11419 * debug/tst-longjmp_chk.c: Likewise.
11420 * test-skeleton.c: Include fcntl.h & paths.h
11421 (set_fortify_handler): Define.
11423 * debug/tst-longjmp_chk.c: Add header comment and include
11424 ../test-skeleton.c.
11425 (do_test): Mark static.
11426 (TEST_FUNCTION): Define.
11428 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11429 (IP_PMTUDISC_INTERFACE): Likewise.
11430 (IP_MULTICAST_IF): Likewise.
11431 (IP_MULTICAST_TTL): Likewise.
11432 (IP_MULTICAST_LOOP): Likewise.
11433 (IP_ADD_MEMBERSHIP): Likewise.
11434 (IP_DROP_MEMBERSHIP): Likewise.
11435 (IP_UNBLOCK_SOURCE): Likewise.
11436 (IP_BLOCK_SOURCE): Likewise.
11437 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11438 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11439 (IP_MSFILTER): Likewise.
11440 (MCAST_JOIN_GROUP): Likewise.
11441 (MCAST_BLOCK_SOURCE): Likewise.
11442 (MCAST_UNBLOCK_SOURCE): Likewise.
11443 (MCAST_LEAVE_GROUP): Likewise.
11444 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11445 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11446 (MCAST_MSFILTER): Likewise.
11447 (IP_MULTICAST_ALL): Likewise.
11448 (IP_UNICAST_IF): Likewise.
11450 * timezone/Makefile: Delete $(have-ksh) check.
11451 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11452 * timezone/tzselect.ksh: Add +x mode bits.
11454 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11455 (ANON_INODE_FS_MAGIC): Likewise.
11456 (BDEVFS_MAGIC): Likewise.
11457 (BINFMTFS_MAGIC): Likewise.
11458 (BTRFS_TEST_MAGIC): Likewise.
11459 (CRAMFS_MAGIC_WEND): Likewise.
11460 (DEBUGFS_MAGIC): Likewise.
11461 (ECRYPTFS_SUPER_MAGIC): Likewise.
11462 (EXT3_SUPER_MAGIC): Likewise.
11463 (EXT4_SUPER_MAGIC): Likewise.
11464 (FUTEXFS_SUPER_MAGIC): Likewise.
11465 (HOSTFS_SUPER_MAGIC): Likewise.
11466 (HUGETLBFS_MAGIC): Likewise.
11467 (MINIX3_SUPER_MAGIC): Likewise.
11468 (MTD_INODE_FS_MAGIC): Likewise.
11469 (NILFS_SUPER_MAGIC): Likewise.
11470 (OPENPROM_SUPER_MAGIC): Likewise.
11471 (PIPEFS_MAGIC): Likewise.
11472 (PSTOREFS_MAGIC): Likewise.
11473 (QNX6_SUPER_MAGIC): Likewise.
11474 (RAMFS_MAGIC): Likewise.
11475 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11476 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11477 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11478 (SECURITYFS_MAGIC): Likewise.
11479 (SELINUX_MAGIC): Likewise.
11480 (SMACK_MAGIC): Likewise.
11481 (SOCKFS_MAGIC): Likewise.
11482 (SQUASHFS_MAGIC): Likewise.
11483 (STACK_END_MAGIC): Likewise.
11484 (TMPFS_MAGIC): Likewise.
11485 (USBDEVICE_SUPER_MAGIC): Likewise.
11486 (V9FS_MAGIC): Likewise.
11487 (XENFS_SUPER_MAGIC): Likewise.
11488 (CRAMFS_MAGIC): Fix typo in comment.
11489 (EXT2_SUPER_MAGIC): Update comment.
11490 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11492 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11494 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11495 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11496 * sysdeps/unix/sysv/linux/arm: Move directory from
11497 ports/sysdeps/unix/sysv/linux/arm.
11498 * README: Update listing for arm-*-linux-gnueabi.
11500 * README: Remove mention of am33.
11502 2014-02-07 Roland McGrath <roland@hack.frob.com>
11504 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11505 than the comma operator, to avoid "rhs of comma has no effect"
11507 (__sigfillset, __sigandset, __sigorset): Likewise.
11508 * include/signal.h (__sigemptyset): Likewise.
11509 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11511 2014-02-07 Allan McRae <allan@archlinux.org>
11513 * version.h (RELEASE): Set to "development".
11514 (VERSION): Set to "2.19.90"
11515 * NEWS: Add 2.20 section.
11517 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11520 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11522 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11524 * manual/contrib.texi: Update entry for Carlos O'Donell,
11525 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11527 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11529 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11531 * sysdeps/unix/sysv/linux/kernel-features.h
11532 [__LINUX_KERNEL_VERSION >= 0x020621]
11533 (__ASSUME_PROC_PID_TASK_COMM): Define.
11535 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11538 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11539 conversion when destination buffer does not have enough space.
11540 * libio/tst-ftell-partial-wide.c: New test case.
11541 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11543 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11544 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11545 Leonard and Allan McRae.
11547 2014-02-04 David S. Miller <davem@davemloft.net>
11549 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11552 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11581 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11583 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11584 * shlib-versions: Likewise.
11586 2014-02-04 Roland McGrath <roland@hack.frob.com>
11587 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11589 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11590 (abilist-pattern): New variable, set to %-le.abilist.
11592 * Makerules (abilist-pattern): New variable.
11593 (vpath): Use $(abilist-pattern) in place of %.abilist.
11594 (check-abi-% pattern rule): Likewise.
11595 (check-abi, update-abi): Likewise.
11597 2014-02-04 Eric Wong <normalperson@yhbt.net>
11599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11601 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11603 * manual/startup.texi: Add next, previous, and top entries for
11604 the `Program Arguments' and `Environment Variables' nodes.
11606 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11608 * manual/macros.texi: Add comments before MTASC-safety macros.
11610 * manual/users.texi: Document MTASC-safety properties.
11612 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11613 (pthread_getspecific, pthread_setspecific): Format with
11614 @deftypefun, and add @safety note.
11615 * manual/signal.texi: Move comments that analyze the above
11616 functions to their home place.
11618 2014-02-03 Allan McRae <allan@archlinux.org>
11620 * po/sl.po: Update Slovenian translation from translation project.
11622 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11624 * manual/time.texi (timegm): Add missing blank after @c.
11625 Reported by Joseph Myers <joseph@codesourcery.com>.
11627 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11629 * manual/check-safety.sh: New.
11630 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11632 * manual/terminal.texi: Document MTASC-safety properties.
11634 * manual/filesys.texi: Document MTASC-safety properties.
11636 * manual/errno.texi: Document MTASC-safety properties.
11638 * manual/intro.texi: Document safety identifiers and
11641 * manual/string.texi (wcstok): Fix prototype.
11642 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11644 * manual/time.texi: Document MTASC-safety properties.
11646 * manual/string.texi: Document MTASC-safety properties.
11648 * manual/threads.texi: Document MTASC-safety properties.
11650 * manual/stdio.texi: Document MTASC-safety properties.
11652 * manual/syslog.texi: Document MTASC-safety properties.
11654 * manual/sysinfo.texi: Document MTASC-safety properties.
11656 * manual/startup.texi: Document MTASC-safety properties.
11658 * manual/socket.texi: Document MTASC-safety properties.
11660 * manual/signal.texi: Document MTASC-safety properties.
11662 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11664 * manual/setjmp.texi: Document MTASC-safety properties.
11666 * manual/search.texi: Document MTASC-safety properties.
11668 * manual/resource.texi: Document MTASC-safety properties.
11670 * manual/process.texi: Document MTASC-safety properties.
11672 * manual/platform.texi: Document MTASC-safety properties.
11674 * manual/pipe.texi: Document MTASC-safety properties.
11676 * manual/pattern.texi: Document MTASC-safety properties.
11678 * manual/message.texi: Document MTASC-safety properties.
11681 * manual/memory.texi: Document MTASC-safety properties.
11683 * manual/math.texi: Document MTASC-safety properties.
11685 * manual/locale.texi: Document MTASC-safety properties.
11687 * manual/llio.texi: Document MTASC-safety properties.
11689 * manual/libdl.texi: New.
11691 * manual/lang.texi: Document MTASC-safety properties.
11693 * manual/job.texi: Document MTASC-safety properties.
11695 * manual/getopt.texi: Document MTASC-safety properties.
11697 * manual/ctype.texi: Document MTASC-safety properties.
11699 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11702 * csu/libc-tls.c (static_map): Remove variable.
11703 (__libc_setup_tls): Use main executable's link map for TLS data.
11704 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11705 casing for LM_ID_BASE and GL(dl_nns).
11706 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11707 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11708 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11709 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11710 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11712 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11715 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11717 * manual/debug.texi: Document MTASC-safety properties.
11719 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11722 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11723 of __x86_64__ when disabling x87 inline functions.
11725 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11727 * manual/charset.texi: Document MTASC-safety properties.
11729 * manual/crypt.texi: Document MTASC-safety properties.
11731 * manual/conf.texi: Document MTASC-safety properties.
11733 * manual/arith.texi: Document MTASC-safety properties.
11735 * manual/argp.texi: Document MTASC-safety properties.
11737 * manual/macros.texi: Introduce macros to document multi
11738 thread, asynchronous signal and asynchronous cancellation
11740 * manual/intro.texi: Introduce the properties themselves.
11742 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11744 * sysdeps/sh/sh4/Makefile: New file.
11746 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11748 * math/gen-libm-test.pl ($srcdir): New variable.
11749 ($auto_input): Use it.
11751 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11754 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11755 access beyond array bounds when parsing netgroups file.
11757 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11758 the old buffer before realloc.
11760 2014-01-27 Allan McRae <allan@archlinux.org>
11762 * po/fr.po: Update French translation from translation project.
11764 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11766 * sysdeps/sh/libm-test-ulps: Regenerate.
11768 2014-01-24 David S. Miller <davem@davemloft.net>
11770 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11772 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11774 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11775 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11777 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11780 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11781 string pointers after reallocation.
11783 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11785 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11786 __SH4A__ instead of __SH_FPU_ANY__.
11788 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11790 * sysdeps/sh/fpu_control.h: New file.
11791 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11792 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11793 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11794 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11795 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11796 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11797 * sysdeps/sh/sys/ucontext.h: Remove.
11798 * sysdeps/sh/sys: Remove directory.
11800 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11802 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11803 s390/sys/ucontext.h.
11804 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11805 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11807 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11810 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11812 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11815 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11816 Adjust the vDSO correctly for internal calls.
11817 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11819 2014-01-20 Allan McRae <allan@archlinux.org>
11821 * po/ca.po: Update Catalan translation from translation project.
11823 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11825 * sysdeps/s390/sotruss-lib.c: New file.
11827 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11830 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11831 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11832 local calls issues by not having a PLT stub required for IFUNC calls.
11833 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11835 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11837 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11838 * math/test-fpucw-static.c: Likewise.
11840 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11843 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11845 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11847 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11848 implementation for powerpc.
11850 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11853 * sysdeps/posix/system.c (__libc_system): Do not enable
11854 asynchronous cancellation.
11856 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11859 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11860 handling only for numbers special also in the IEEE case.
11862 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11864 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11866 2014-01-11 Allan McRae <allan@archlinux.org>
11868 * po/bg.po: Update Bulgarian translation from translation project.
11870 * po/de.po: Update German translation from translation project.
11872 2014-01-10 Roland McGrath <roland@hack.frob.com>
11874 * sysdeps/generic/gcc-compat.h: New file.
11876 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11878 * benchtests/asin-inputs: Correct slow inputs.
11879 * benchtests/acos-inputs: Likewise.
11881 2014-01-10 Allan McRae <allan@archlinux.org>
11883 * po:sv.po: Update Swedish translation from translation project.
11885 * po/vi.po: Update Vietnamese translation from translation project.
11887 * po/eo.po: Update Esperanto translation from translation project.
11889 * po/cs.po: Update Czech translation from translation project.
11891 * po/nl.po: Update Dutch translation from translation project.
11893 * po/pl.po: Update Polish translation from translation project.
11895 * po/ru.po: Update Russian translation from translation project.
11897 * po/uk.po: Update Ukrainian translation from translation project.
11899 2014-01-08 Brooks Moses <bmoses@google.com>
11901 * elf/dl-load.c: Fix comment typo.
11903 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11905 * po/header.pot: Rename to...
11906 * po/pot.header: ... this.
11907 * po/Makefile: Use pot.header.
11909 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11910 Maxim Kuvyrkov <maxim@kugelworks.com>
11913 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11914 SRC and DEST against LEN.
11916 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11919 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11921 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11923 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11927 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11930 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11931 for large positive arguments.
11933 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11935 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11937 * math/auto-libm-test-in: Mark various tests with
11938 xfail-rounding:ldbl-128ibm.
11939 * math/auto-libm-test-out: Regenerated.
11942 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11943 Increase overflow threshold.
11945 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11948 * stdio-common/vfprintf.c: Check for integer overflow.
11950 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11952 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11953 the first argument and return value of __tls_get_addr_internal.
11955 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11957 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11958 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11960 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11962 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11963 * sysdeps/s390/rtld-global-offsets.sym: New file.
11964 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11966 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11967 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11968 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11970 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11971 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11977 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11978 halfs of GPRs for high_gprs contexts.
11979 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11980 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11982 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11984 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11986 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11987 for high GPRs (uc_high_gprs) and for future extensions
11989 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11990 for future extensions (__reserved).
11991 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11993 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11994 SC_HIGHGPRS offset definition.
11995 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11996 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11998 * Versions.def: Add GLIBC_2.19 for libpthread.
11999 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12000 siglongjmp for libpthread with GLIBC_2.19 symver.
12001 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12002 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12003 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12004 * sysdeps/s390/__longjmp.c: New file.
12005 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12006 * sysdeps/s390/longjmp.c: New file.
12007 * sysdeps/s390/setjmp.S: New file.
12008 * sysdeps/s390/sigjmp.S: New file.
12009 * sysdeps/s390/v1-longjmp.c: New file.
12010 * sysdeps/s390/v1-setjmp.h: New file.
12011 * sysdeps/s390/v1-sigjmp.c: New file.
12012 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12013 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12014 GLIBC_2.19 version.
12015 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12016 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12017 versioned symbols for ____longjmp_chk.
12018 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12028 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12029 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12030 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12031 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12032 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12033 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12034 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12035 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12036 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12037 * sysdeps/s390/rtld-__longjmp.c: New file.
12038 * sysdeps/s390/rtld-setjmp.S: New file.
12040 2014-01-06 Joseph Myers <joseph@codesourcery.com>
12043 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12044 Return -__logl (x) for small positive arguments without evaluating
12047 2014-01-06 Mike Frysinger <vapier@gentoo.org>
12049 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12051 (__ptrace_peeksiginfo_args): ... this.
12052 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12053 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12054 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12056 2014-01-06 Allan McRae <allan@archlinux.org>
12058 * inet/netinet/in.h: Fix typo in comment.
12060 2014-01-05 Andreas Jaeger <aj@suse.de>
12062 * sysdeps/i386/fpu/libm-test-ulps: Update.
12064 2014-01-05 Allan McRae <allan@archlinux.org>
12066 * po/libc.pot: Regenerated.
12068 * malloc/memusagestat.c: Fix gettext call formatting.
12070 2014-01-04 Sami Kerola <kerolasa@iki.fi>
12072 * nscd/nscd.c: Improve usage() output.
12074 2014-01-04 Mike Frysinger <vapier@gentoo.org>
12076 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12077 * sysdeps/unix/sysv/linux/configure: Regenerated.
12078 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12079 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12081 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12084 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12085 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12087 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12089 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12090 extra tokens at end of #undef directive.
12091 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12092 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12093 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12095 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12097 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12099 * math/auto-libm-test-in: Mark various tests with
12100 xfail-rounding:ldbl-128ibm.
12101 * math/auto-libm-test-out: Regenerated.
12103 2014-01-02 Joseph Myers <joseph@codesourcery.com>
12106 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12107 numbers with subnormal high part when calculating exponent.
12110 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12114 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12116 (__ieee754_acoshl): Use __log1pl not __log1p.
12118 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
12120 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12121 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12122 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12123 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12124 (reused_arena, arena_get2): Convert to GNU style.
12125 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12126 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12127 (memalign_check, __malloc_set_state): Likewise.
12128 * malloc/mallocbug.c (main): Likewise.
12129 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12130 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12131 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12132 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12133 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12134 (__posix_memalign, malloc_info): Likewise.
12135 * malloc/malloc.h: Likewise.
12136 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12137 (mallochook, memalignhook, reallochook, mabort): Likewise.
12138 * malloc/mcheck.h: Likewise.
12139 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12140 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12141 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12142 * malloc/morecore.c (__default_morecore): Likewise.
12143 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12144 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12145 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12146 (print_and_abort): Likewise.
12147 * malloc/obstack.h: Likewise.
12148 * malloc/set-freeres.c (__libc_freeres): Likewise.
12149 * malloc/tst-mallocstate.c (main): Likewise.
12150 * malloc/tst-mtrace.c (main): Likewise.
12151 * malloc/tst-realloc.c (do_test): Likewise.
12153 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12156 * nscd/netgroupcache.c (do_notfound): New function.
12157 (addgetnetgrentX): Use it.
12160 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12161 NSS_STATUS_NOTFOUND.
12163 2014-01-01 Joseph Myers <joseph@codesourcery.com>
12165 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12168 2014-01-01 Allan McRae <allan@archlinux.org>
12170 * scripts/update-copyrights: Update configure input file suffix.
12172 * NEWS: Update copyright year.
12173 * catgets/gencat.c: Likewise.
12174 * csu/version.c: Likewise.
12175 * debug/catchsegv.sh: Likewise.
12176 * debug/pcprofiledump.c: Likewise.
12177 * debug/xtrace.sh: Likewise.
12178 * elf/ldconfig.c: Likewise.
12179 * elf/ldd.bash.in: Likewise.
12180 * elf/pldd.c: Likewise.
12181 * elf/sotruss.ksh: Likewise.
12182 * elf/sprof.c: Likewise.
12183 * iconv/iconv_prog.c: Likewise.
12184 * iconv/iconvconfig.c: Likewise.
12185 * locale/programs/locale.c: Likewise.
12186 * locale/programs/localedef.c: Likewise.
12187 * login/programs/pt_chown.c: Likewise.
12188 * malloc/memusage.sh: Likewise.
12189 * malloc/memusagestat.c: Likewise.
12190 * malloc/mtrace.pl: Likewise.
12191 * manual/libc.texinfo: Likewise.
12192 * nscd/nscd.c: Likewise.
12193 * nss/getent.c: Likewise.
12194 * nss/makedb.c: Likewise.
12195 * posix/getconf.c: Likewise.
12196 * scripts/test-installation.pl: Likewise.
12198 * All files with FSF copyright notices: Update copyright dates
12199 using scripts/update-copyrights.
12200 * intl/plural.c: Regenerated.
12201 * locale/programs/charmap-kw.h: Likewise.
12202 * locale/programs/locfile-kw.h: Likewise.
12204 2013-12-31 Mike Frysinger <vapier@gentoo.org>
12206 * sysdeps/unix/sysv/linux/configure: Regenerated.
12207 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12208 the linux/fanotify.h header.
12209 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12210 HAVE_LINUX_FANOTIFY_H is defined.
12212 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12214 * benchtests/cos-inputs: New inputs.
12215 * benchtests/sin-inputs: Likewise.
12217 * benchtests/atan-inputs: New inputs. Fix name of multiple
12218 precision fallback inputs.
12220 * benchtests/atanh-inputs: New inputs.
12221 * benchtests/tanh-inputs: Likewise.
12223 * benchtests/acosh-inputs: New inputs.
12224 * benchtests/asinh-inputs: Likewise.
12226 * benchtests/cosh-inputs: New inputs.
12227 * benchtests/sinh-inputs: Likewise.
12229 * benchtests/acos-inputs: Add more inputs.
12230 * benchtests/asin-inputs: Likewise.
12232 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
12235 * manual/arith.texi: Fix spelling.
12236 * manual/charset.texi: Likewise.
12237 * manual/errno.texi: Likewise.
12238 * manual/filesys.texi: Likewise.
12239 * manual/lang.texi: Likewise.
12240 * manual/llio.texi: Likewise.
12241 * manual/locale.texi: Likewise.
12242 * manual/message.texi: Likewise.
12243 * manual/resource.texi: Likewise.
12244 * manual/search.texi: Likewise.
12245 * manual/setjmp.texi: Likewise.
12246 * manual/stdio.texi: Likewise.
12247 * manual/string.texi: Likewise.
12248 * manual/sysinfo.texi: Likewise.
12249 * manual/time.texi: Likewise.
12251 2013-12-27 Carlos O'Donell <carlos@redhat.com>
12253 * po/sl.po: New file.
12255 2013-12-27 Mike Frysinger <vapier@gentoo.org>
12257 * .gitignore: Add core/.gdbinit/.gdb_history.
12259 2013-12-27 Allan McRae <allan@archlinux.org>
12262 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12263 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12265 2013-12-24 Brooks Moses <bmoses@google.com>
12267 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12268 all compilers that claim C++98 compliance, not just GCC.
12269 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12272 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12274 * NEWS: Restore accidentally deleted bug-fix entries.
12276 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12277 Ondřej Bílka <neleai@seznam.cz>
12280 * malloc/malloc.c (_int_free): Perform sanity check only if we
12283 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
12286 * manual/stdio.texi (String Input Conversions): Clarify that character
12287 classes are not supported.
12289 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12293 2013-12-22 Joseph Myers <joseph@codesourcery.com>
12296 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12297 Calculate results for small negative arguments directly rather
12298 than using reflection formula with special underflow handling.
12300 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12301 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12302 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12303 (fchflags): Likewise.
12304 (revoke): Likewise.
12305 (setlogin): Likewise.
12306 (sigaltstack): Likewise.
12308 (sigblock): Remove.
12309 (sigsetmask): Likewise.
12311 (waitpid): Likewise.
12312 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12313 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12315 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12316 * sysdeps/unix/bsd/Makefile: ... here.
12317 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12318 * sysdeps/unix/bsd/Versions: ... here.
12319 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12320 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12321 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12322 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12323 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12324 * sysdeps/unix/bsd/sigblock.c: ... here.
12325 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12326 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12327 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12328 * sysdeps/unix/bsd/sigvec.c: ... here.
12329 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12330 * sysdeps/unix/bsd/tcdrain.c: ... here.
12331 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12332 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12333 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12334 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12335 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12336 * sysdeps/unix/bsd/wait.c: ... here.
12337 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12338 * sysdeps/unix/bsd/wait3.c: ... here.
12339 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12340 * sysdeps/unix/bsd/waitpid.c: ... here.
12342 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12345 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12346 round-to-nearest for [!USE_AS_EXPM1L].
12347 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12348 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12349 more tests of exp and exp10. Expect some exp10 tests to miss
12350 exceptions or fail in directed rounding modes.
12351 * math/auto-libm-test-out: Regenerated.
12352 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12353 (exp10_test_tonearest): New function.
12354 (exp10_towardzero_test_data): New array.
12355 (exp10_test_towardzero): New function.
12356 (exp10_downward_test_data): New array.
12357 (exp10_test_downward): New function.
12358 (exp10_upward_test_data): New array.
12359 (exp10_test_upward): New function.
12360 (main): Call the new functions.
12361 * sysdeps/i386/fpu/libm-test-ulps: Update.
12362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12364 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12366 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12367 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12368 * math/auto-libm-test-out: Regenerated.
12369 * math/libm-test.inc (acosh_test_data): Add more tests.
12370 (atanh_test_data): Likewise.
12371 (ceil_test_data): Likewise.
12372 (copysign_test_data): Likewise.
12373 * sysdeps/i386/fpu/libm-test-ulps: Update.
12374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12376 * timezone/checktab.awk: Update from tzcode 2013i.
12377 * timezone/private.h: Likewise.
12378 * timezone/scheck.c: Likewise.
12379 * timezone/tzfile.h: Likewise.
12380 * timezone/tzselect.ksh: Likewise.
12381 * timezone/zdump.c: Likewise.
12382 * timezone/zic.c: Likewise.
12384 * math/auto-libm-test-in: Add tests of cpow.
12385 * math/auto-libm-test-out: Regenerated.
12386 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12387 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12389 (func_calc_desc): Add mpc_cc_c union field.
12390 (test_functions): Add cpow.
12391 (special_fill_2pi): New function.
12392 (special_real_inputs): Add 2pi.
12393 (calc_generic_results): Handle mpc_cc_c.
12394 * sysdeps/i386/fpu/libm-test-ulps: Update.
12395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12397 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12398 csqrt, ctan and ctanh.
12399 * math/auto-libm-test-out: Regenerated.
12400 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12401 (TEST_COND_x86): Likewise.
12402 (ccos_test_data): Use AUTO_TESTS_c_c.
12403 (ccosh_test_data): Likewise.
12404 (cexp_test_data): Likewise.
12405 (clog_test_data): Likewise.
12406 (csqrt_test_data): Likewise.
12407 (ctan_test_data): Likewise.
12408 (ctan_tonearest_test_data): Likewise.
12409 (ctan_towardzero_test_data): Likewise.
12410 (ctan_downward_test_data): Likewise.
12411 (ctan_upward_test_data): Likewise.
12412 (ctanh_test_data): Likewise.
12413 (ctanh_tonearest_test_data): Likewise.
12414 (ctanh_towardzero_test_data): Likewise.
12415 (ctanh_downward_test_data): Likewise.
12416 (ctanh_upward_test_data): Likewise.
12417 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12419 (func_calc_desc): Add mpc_c_c union field.
12420 (FUNC_mpc_c_c): New macro.
12421 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12422 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12424 (special_fill_min_subnorm_p120): New function.
12425 (special_real_inputs): Add min_subnorm_p120.
12426 (calc_generic_results): Handle mpc_c_c.
12427 * sysdeps/i386/fpu/libm-test-ulps: Update.
12428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12430 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12432 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12433 (do_sin_slow): New functions.
12434 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12435 (cslow2, csloww1, csloww2): Use the new functions.
12437 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12438 Use M to change sign of result instead of X. Assume X is
12440 (csloww1): Likewise.
12444 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12445 arguments A and DA.
12449 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12451 (sloww1): Don't adjust sign of DX.
12452 (csloww1): Likewise.
12453 (sloww2): Use X directly and don't adjust sign of DX.
12454 (csloww2): Likewise.
12456 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12458 * math/auto-libm-test-in: Add tests of cabs and carg.
12459 * math/auto-libm-test-out: Regenerated.
12460 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12461 (carg_test_data): Likewise.
12462 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12464 (func_calc_desc): Add mpc_c_f union field.
12465 (test_functions): Add cabs and carg.
12466 (calc_generic_results): Handle mpc_c_f.
12468 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12469 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12470 as a macro and a compat symbol.
12471 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12472 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12473 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12474 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12475 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12476 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12478 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12480 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12482 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12484 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12486 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12488 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12489 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12492 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12496 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12498 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12499 trailing whitespace removed.
12500 * scripts/config.guess: Update to version 2013-11-29.
12501 * scripts/config.sub: Update to version 2013-10-01.
12503 * math/auto-libm-test-in: Add tests of sincos.
12504 * math/auto-libm-test-out: Regenerated.
12505 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12506 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12508 (func_calc_desc): Add mpfr_f_11 union field.
12509 (test_functions): Add sincos.
12510 (calc_generic_results): Handle mpfr_f_11.
12511 * sysdeps/i386/fpu/libm-test-ulps: Update.
12512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12514 2013-12-19 Andreas Schwab <schwab@suse.de>
12516 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12518 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12519 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12520 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12522 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12524 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12525 * sysdeps/i386/fpu/libm-test-ulps: Update.
12526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12529 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12530 round-to-nearest mode when using frndint.
12531 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12532 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12533 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12535 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12537 * math/auto-libm-test-out: Regenerated.
12538 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12539 (TEST_COND_x86): Likewise.
12540 (expm1_tonearest_test_data): New array.
12541 (expm1_test_tonearest): New function.
12542 (expm1_towardzero_test_data): New array.
12543 (expm1_test_towardzero): New function.
12544 (expm1_downward_test_data): New array.
12545 (expm1_test_downward): New function.
12546 (expm1_upward_test_data): New array.
12547 (expm1_test_upward): New function.
12548 (main): Run the new test functions.
12549 * sysdeps/i386/fpu/libm-test-ulps: Update.
12550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12552 * include/features.h: Update comment documenting feature test
12553 macros. Mention _DEFAULT_SOURCE in comment.
12554 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12555 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12556 _BSD_SOURCE and _SVID_SOURCE.
12557 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12558 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12559 !_SVID_SOURCE]: Likewise.
12560 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12561 (__USE_POSIX_IMPLICITLY): Define.
12562 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12563 (_POSIX_SOURCE): Undefine and redefine.
12564 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12565 (_POSIX_C_SOURCE): Likewise.
12566 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12567 (Feature Test Macros): Update documentation of default features.
12569 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12571 * benchtests/Makefile: Add bench-strtok.
12572 * benchtests/bench-strtok.c: New file: strtok benchtest.
12574 2013-12-19 Allan McRae <allan@archlinux.org>
12576 * manual/install.texi: Suppress menu for plain text output.
12577 * INSTALL: Regenerated.
12579 2013-12-18 Brooks Moses <bmoses@google.com>
12582 * misc/getauxval.c: Include errno.h.
12583 (__getauxval): Set errno to ENOENT if the requested type is not
12585 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12586 don't declare with __attribute_const__.
12587 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12588 * manual/startup.texi: Document that getauxval sets errno.
12590 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12592 * math/auto-libm-test-in: Add tests of jn and yn.
12593 * math/auto-libm-test-out: Regenerated.
12594 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12595 (yn_test_data): Likewise.
12596 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12598 (func_calc_desc): Add mpfr_if_f union field.
12599 (FUNC_mpfr_if_f): New macro.
12600 (test_functions): Add jn and yn.
12601 (calc_generic_results): Assert type of second input for
12602 mpfr_ff_f. Handle mpfr_if_f.
12603 (output_for_one_input_case): Disable all checking for arguments
12604 fitting floating-point types in case of an integer argument.
12605 * sysdeps/i386/fpu/libm-test-ulps: Update.
12606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12609 Don't expect fegetround reference in libm.so.
12611 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12613 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12614 $(config-cflags-nofma).
12616 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12618 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12619 * math/auto-libm-test-out: Regenerated.
12622 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12623 to determine exponent and adjust argument to have exponent of -1.
12624 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12626 * math/auto-libm-test-out: Regenerated.
12627 * sysdeps/i386/fpu/libm-test-ulps: Update.
12628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12630 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12632 * manual/probes.texi: Remove cases when per-thread arenas are
12635 2013-12-18 Andreas Schwab <schwab@suse.de>
12637 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12638 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12639 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12640 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12641 * sysdeps/i386/i686/multiarch/Makefile: Update.
12642 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12644 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12646 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12647 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12649 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12652 Support TZ transition times < 00:00:00.
12653 This is needed for version-3 tz-format files; it supports time
12654 stamps past 2037 for America/Godthab (the only entry in the tz
12655 database for which this change is relevant).
12656 * manual/time.texi (TZ Variable): Document transition times
12657 from -167:59:59 through -00:00:01.
12658 * time/tzset.c (tz_rule): Time of day is now signed.
12659 (__tzset_parse_tz): Parse negative time of day.
12661 Document TZ transition times >= 25:00:00.
12662 * manual/time.texi (TZ Variable): Document transition times from
12663 25:00:00 through 167:59:59. These are already supported, and this
12664 support will help with version-3 tz-format files.
12666 * manual/time.texi (TZ Variable): Modernize North America example
12667 to reflect current (i.e., 2007-and-later) daylight saving rules.
12669 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12671 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12673 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12674 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12675 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12676 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12677 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12678 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12679 * sysdeps/unix/bsd/clock.c: Likewise.
12680 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12681 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12682 * sysdeps/unix/bsd/init-posix.c: Likewise.
12683 * sysdeps/unix/bsd/poll.c: Likewise.
12684 * sysdeps/unix/bsd/ptsname.c: Likewise.
12685 * sysdeps/unix/bsd/seekdir.c: Likewise.
12686 * sysdeps/unix/bsd/setegid.c: Likewise.
12687 * sysdeps/unix/bsd/seteuid.c: Likewise.
12688 * sysdeps/unix/bsd/setgid.c: Likewise.
12689 * sysdeps/unix/bsd/setrgid.c: Likewise.
12690 * sysdeps/unix/bsd/setruid.c: Likewise.
12691 * sysdeps/unix/bsd/setsid.c: Likewise.
12692 * sysdeps/unix/bsd/setuid.c: Likewise.
12693 * sysdeps/unix/bsd/sigaction.c: Likewise.
12694 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12695 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12696 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12697 * sysdeps/unix/bsd/telldir.c: Likewise.
12698 * sysdeps/unix/bsd/times.c: Likewise.
12699 * sysdeps/unix/bsd/usleep.c: Likewise.
12701 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12702 ($(objpfx)libbsd-compat.a): Remove rule.
12704 * include/features.h (__FAVOR_BSD): Do not define.
12705 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12706 features conflicting with POSIX.
12707 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12708 (_BSD_SOURCE): Remove description of not being a subset of other
12709 feature test macros.
12710 * manual/job.texi (getpgrp): Do not document BSD version.
12711 (getpgid): Do not document by reference to BSD getpgrp.
12712 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12713 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12714 * signal/signal.h [__FAVOR_BSD]: Likewise.
12715 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12716 instead of making contents conditional on [__FAVOR_BSD].
12717 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12719 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12723 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12726 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12727 values below 2**-450, not 2**-500.
12728 * math/auto-libm-test-in: Don't allow spurious underflow from
12730 * math/auto-libm-test-out: Regenerated.
12734 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12735 values of ha and hb and sort them after adjusting subnormal
12737 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12739 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12740 values of ea and eb and sort them after adjusting subnormal
12742 * math/auto-libm-test-in: Do not expect some hypot tests of
12743 subnormals to fail. Add more hypot tests.
12744 * math/auto-libm-test-out: Regenerated.
12746 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12749 * sysdeps/sh/s_fma.c: New file.
12750 * sysdeps/sh/s_fmaf.c: New file.
12751 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12753 * sysdeps/sh/Implies: Add sh/soft-fp.
12755 2013-12-16 Roland McGrath <roland@hack.frob.com>
12757 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12758 level of indirection to members `objname', `errstring', `malloced'.
12759 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12760 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12761 it as the __longjmp argument (just pass 1 instead).
12762 (_dl_catch_error): Initialize C with argument pointers and address of
12763 volatile local ERRCODE rather than copying values out of C at return.
12765 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12767 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12768 * math/auto-libm-test-out: Regenerated.
12769 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12770 (hypot_test_data): Likewise.
12771 (pow_test_data): Likewise.
12772 (pow_tonearest_test_data): Likewise.
12773 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12775 (func_calc_desc): Add mpfr_ff_f union field.
12776 (FUNC_mpfr_ff_f): New macro.
12777 (test_functions): Add atan2, hypot and pow.
12778 (special_fill_min): New function.
12779 (special_fill_minus_min): Likewise.
12780 (special_fill_min_subnorm): Likewise.
12781 (special_fill_minus_min_subnorm): Likewise.
12782 (special_real_inputs): Add min, -min, min_subnorm and
12784 (calc_generic_results): Handle mpfr_ff_f.
12785 * sysdeps/i386/fpu/libm-test-ulps: Update.
12786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12788 2013-12-16 Will Newton <will.newton@linaro.org>
12790 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12791 (Aligned Memory Blocks): Add documentation for aligned_alloc
12792 and suggest it as an alternative to posix_memalign.
12793 (Hooks for Malloc): Document __memalign_hook is also called
12794 for aligned_alloc. (Summary of Malloc): Add summary for
12795 aligned alloc. Document __memalign_hook is also called
12798 2013-12-16 Will Newton <will.newton@linaro.org>
12800 * manual/memory.texi (Malloc Examples): Clarify default
12801 alignment documentation. Suggest posix_memalign rather
12802 than memalign or valloc.
12803 (Aligned Memory Blocks): Remove suggestion to use memalign
12804 or valloc. Remove obsolete comment about BSD.
12805 Document memalign errno values and mark the function obsolete.
12806 Document posix_memalign returned error codes. Mark valloc
12807 as obsolete. (Hooks for Malloc): __memalign_hook is also
12808 called for posix_memalign and valloc.
12809 (Summary of Malloc): Add posix_memalign to function summary.
12810 __memalign_hook is also called for posix_memalign and valloc.
12812 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12814 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12818 (sloww): Use mynumber union. Expand ternary operator into
12819 if-else statements.
12820 (cslow): use mynumber union.
12822 2013-12-16 Allan McRae <allan@archlinux.org>
12824 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12825 * configure: Regenerated.
12827 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12830 * configure.ac: Added --enable-maintainer-mode. Check for
12831 autoconf when enabled.
12832 * configure: Regenerated.
12834 * nscd/nscd.service: New file.
12835 * nscd/nscd.tmpfiles: New file.
12837 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12840 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12841 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12842 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12843 (strstr): Add __strstr_sse2_unaligned ifunc.
12844 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12845 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12846 (strcasestr): Remove __strcasestr_sse42 ifunc.
12847 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12848 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12849 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12851 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12853 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12854 * sysdeps/sh/bits/fenv.h: ... here.
12855 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12857 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12859 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12861 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12862 hypotf multiarch implementations.
12863 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12864 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12865 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12866 multiarch hypot for PPC64.
12867 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12868 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12869 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12870 multiarch hypotf for PPC64.
12872 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12873 modff multiarch implementations.
12874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12877 multiarch modf for PPC64.
12878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12881 multiarch modff for PPC64.
12883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12884 and logl multiarch implementations.
12885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12888 multiarch logb for PPC64.
12889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12892 multiarch logb for PPC64.
12893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12896 multiarch logb for PPC64.
12898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12899 isinff multiarch implementation.
12900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12904 multiarch isinf for PPC64.
12905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12908 multiarch isinff for PPC64.
12910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12911 finitef multiarch implementation.
12912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12916 multiarch finite for PPC64.
12917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12920 multiarch finitef for PPC64.
12922 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12923 lrint multiarch implementation.
12924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12928 multiarch llrint for PPC64.
12929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12930 multiarch lrint for PPC64.
12932 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12933 copysignf multiarch implementation.
12934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12939 multiarch copysign for PPC64.
12940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12941 multiarch copysignf for PPC64.
12943 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12944 multiarch implementation.
12945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12953 multiarch llround for PPC64.
12954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12955 multiarch trunc for PPC64.
12956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12957 multiarch truncf for PPC64.
12959 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12960 multiarch implementation.
12961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12969 multiarch llround for PPC64.
12970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12971 multiarch round for PPC64.
12972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12973 multiarch roundf for PPC64.
12975 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12976 multiarch implementation.
12977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12985 multiarch llround for PPC64.
12986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12987 multiarch floor for PPC64.
12988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12989 multiarch floorf for PPC64.
12991 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12992 multiarch implementation.
12993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13001 multiarch llround for PPC64.
13002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13003 multiarch ceil for PPC64.
13004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13005 multiarch ceilf for PPC64.
13007 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13008 multiarch implementation.
13009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13016 multiarch llround for PPC64.
13017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13018 multiarch lround for PPC64.
13020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13021 multiarch implementation.
13022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13029 multiarch isnan for PPC64.
13030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13031 multiarch isnanf for PPC64.
13033 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13034 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13035 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13036 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13037 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13040 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13041 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13042 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13043 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13046 multiarch implementations.
13047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13048 (__libc_ifunc_impl_list): Likewise.
13049 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13050 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13051 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13052 multiarch stpcpy for PPC64.
13054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13055 multiarch implementations.
13056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13057 (__libc_ifunc_impl_list): Likewise.
13058 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13059 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13060 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13061 multiarch strcpy for PPC64.
13063 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13064 redefine function name.
13065 (_wordcopy_fwd_dest_aligned): Likewise.
13066 (_wordcopy_bwd_aligned): Likewise.
13067 (_wordcopy_bwd_dest_aligned): Likewise.
13068 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13069 multiarch implementations.
13070 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13071 (__libc_ifunc_impl_list): Likewise.
13072 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13073 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13074 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13075 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13076 multiarch wcscpy for PPC64.
13078 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13079 multiarch implementations.
13080 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13081 (__libc_ifunc_impl_list): Likewise.
13082 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13083 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13084 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13085 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13086 multiarch wcscpy for PPC64.
13088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13089 multiarch implementations.
13090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13091 (__libc_ifunc_impl_list): Likewise.
13092 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13093 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13094 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13095 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13096 multiarch wcsrchr for PPC64.
13098 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13099 multiarch implementations.
13100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13101 (__libc_ifunc_impl_list): Likewise.
13102 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13103 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13104 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13105 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13106 multiarch wcschr for PPC64.
13108 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13109 multiarch implementations.
13110 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13111 (__libc_ifunc_impl_list): Likewise.
13112 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13113 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13114 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13115 multiarch strchrnul for PPC64.
13117 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13120 (__libc_ifunc_impl_list): Likewise.
13121 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13122 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13123 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13124 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13130 (__libc_ifunc_impl_list): Likewise.
13131 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13132 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13133 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13134 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13138 multiarch implementations.
13139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13140 (__libc_ifunc_impl_list): Likewise.
13141 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13142 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13143 strncasecmp for PPC64.
13144 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13145 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13146 multiarch strncasecmp_l for PPC64.
13148 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13149 multiarch implementations.
13150 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13151 (__libc_ifunc_impl_list): Likewise.
13152 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13153 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13154 multiarch strcasecmp for PPC64.
13155 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13157 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13158 multiarch strcasecmp_l for PPC64.
13160 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13162 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13163 (__libc_ifunc_impl_list): Likewise.
13164 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13165 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13166 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13169 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13171 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13172 (__libc_ifunc_impl_list): Likewise.
13173 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13174 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13175 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13181 (__libc_ifunc_impl_list): Likewise.
13182 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13183 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13184 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13185 rawmemrchr for PPC64.
13187 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13189 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13190 (__libc_ifunc_impl_list): Likewise.
13191 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13192 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13193 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13199 (__libc_ifunc_impl_list): Likewise.
13200 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13201 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13202 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13208 (__libc_ifunc_impl_list): Likewise.
13209 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13210 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13211 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13214 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13215 avoid cretion of __bzero symbol.
13216 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13218 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13220 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13223 multiarch implementations.
13224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13225 (__libc_ifunc_impl_list): Likewise.
13226 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13227 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13228 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13229 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13231 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13232 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13233 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13234 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13235 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13237 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13239 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13243 (__libc_ifunc_impl_list): Likewise.
13244 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13245 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13246 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13247 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13251 multiarch for POWER/PPC64.
13252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13253 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13254 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13255 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13256 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13257 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13258 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13259 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13260 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13263 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13264 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13265 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13266 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13267 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13268 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13269 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13270 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13271 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13272 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13273 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13274 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13275 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13276 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13277 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13286 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13288 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13290 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13292 * benchtests/Makefile (bench): Add exp2 and log2.
13293 (LDLIBS-bench-exp2): Add -lm.
13294 (LDLIBS-bench-log2): Likewise.
13295 * benchtests/exp2-inputs: New inputs file.
13296 * benchtests/log2-inputs: New inputs file.
13297 * benchtests/log-inputs: Add new inputs.
13298 * benchtests/tan-inputs: Likewise.
13300 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13302 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13304 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13305 (csloww2): ... from here.
13307 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13308 instead of structures.
13309 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13310 (POLYNOMIAL): Likewise.
13311 (TAYLOR_SLOW): Likewise.
13317 (sloww1); Likewise.
13318 (sloww2): Likewise.
13319 (bsloww1): Likewise.
13320 (bsloww2): Likewise.
13321 (cslow2): Likewise.
13322 (csloww): Likewise.
13323 (csloww1): Likewise.
13324 (csloww2): Likewise.
13326 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13328 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13329 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13330 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13331 * malloc/hooks.c (realloc_check): Likewise.
13333 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13334 * malloc/arena.c: Remove PER_THREAD conditional.
13335 [!PER_THREAD]: Remove code.
13336 (ptmalloc_unlock_all2): Likewise.
13337 (ptmalloc_init): Likewise.
13338 (_int_new_arena): Likewise.
13339 (arena_get2): Likewise.
13340 * malloc/hooks.c (__malloc_get_state): Likewise.
13341 (__malloc_set_state): Likewise.
13342 * malloc/malloc.c: Likewise.
13343 (struct malloc_state): Likewise.
13344 (struct malloc_par): Likewise.
13345 (__libc_realloc): Likewise.
13346 (__libc_mallopt): Likewise.
13348 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13350 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13352 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13354 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13355 macro to a function. Check for zero perturb_byte.
13356 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13358 * malloc/malloc.c: (force_reg): Remove.
13359 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13360 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13361 force_reg by atomic_forced_read.
13362 * malloc/arena.c (ptmalloc_init): Likewise.
13363 * malloc/hooks.c (top_check): Likewise.
13365 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13369 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13373 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13375 * math/auto-libm-test-in: Add tests of lgamma.
13376 * math/auto-libm-test-out: Regenerated.
13377 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13378 (M_LOG_2_SQRT_PIl): Likewise.
13379 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13380 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13382 (func_calc_desc): Add mpfr_f_f1 union field.
13383 (ARGS1): New macro.
13391 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13392 (test_functions): Add lgamma.
13393 (calc_generic_results): Handle mpfr_f_f1.
13394 * sysdeps/i386/fpu/libm-test-ulps: Update.
13395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13397 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13399 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13400 __mpn_add_n for PowerPC64/POWER7.
13401 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13402 __mpn_sub_n for PowerPC64/POWER7.
13404 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13405 __mpn_addmul_1 for PowerPC64.
13406 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13407 __mpn_submul_1 for PowerPC64.
13408 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13410 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13413 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13416 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13418 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13420 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13422 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13423 add multiarch folders.
13424 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13425 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13426 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13427 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13428 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13429 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13430 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13431 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13432 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13433 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13434 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13443 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13449 multiarch __ieee754_hypot for PowerPC32.
13450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13455 multiarch __ieee754_hypotf for PowerPC32.
13457 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13458 long_double_symbol only if __logbl is defined.
13459 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13460 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13461 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13462 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13463 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13464 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13465 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13466 path for implementation.
13467 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13468 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13470 logb, and logbl multiarch implementations for PowerPC32.
13471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13476 multiarch logb for PowerPC32.
13477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13482 multiarch logbf for PowerPC32.
13483 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13487 multiarch logbl implementation for PowerPC32.
13489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13490 and modff multiarch implementations.
13491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13496 multiarch modf for PowerPC32.
13497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13502 multiarch modff for PowerPC32.
13504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13505 and lrintf multiarch implementations.
13506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13511 multiarch lrint for PowerPC32.
13512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13513 file: multiarch lrintf for PowerPC32.
13515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13516 and lroundf multiarch implementations.
13517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13524 multiarch lround for PowerPC32.
13525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13526 file: multiarch lroundf for PowerPC32.
13528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13529 copysign and copysignf multiarch implementations.
13530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13535 file: multiarch copysign for PowerPC32.
13536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13537 file: multiarch copysignf for PowerPC32.
13539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13540 and truncf multiarch implementations.
13541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13546 multiarch trunc for PowerPC32.
13547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13552 multiarch truncf for PowerPC32.
13554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13555 and roundf multiarch implementations.
13556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13561 multiarch round for PowerPC32.
13562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13567 multiarch roundf for PowerPC32.
13569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13570 and floorf multiarch implementations.
13571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13576 multiarch floor for PowerPC32.
13577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13582 multiarch floorf for PowerPC32.
13584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13585 and ceilf multiarch implementations.
13586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13591 multiarch ceil for PowerPC32.
13592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13597 multiarch ceilf for PowerPC32.
13599 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13601 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13602 FINITEF is defined.
13603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13604 and finitef multiarch implementations.
13605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13610 multiarch finite for PowerPC32.
13611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13614 file: multiarch finitef for PowerPC32.
13616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13617 and isinff multiarch implementations.
13618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13623 multiarch isinf for PowerPC32.
13624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13627 multiarch isinff for PowerPC32.
13629 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13630 alias when __isnan is defined.
13631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13632 and isnanf multiarch implementations.
13633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13642 multiarch isnan for PowerPC32.
13643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13648 multiarch isnanf for PowerPC32.
13650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13651 and sqrtf multiarch implementations.
13652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13657 multiarch sqrt for PowerPC32.
13658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13663 multiarch sqrtf for PowerPC32.
13665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13666 and llroundf multiarch implementations.
13667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13674 file: multiarch llround for PowerPC32.
13675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13676 file: multiarch llroundf for PowerPC32.
13678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13679 multiarch PowerPC32 fpu implementations.
13680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13685 multiarch llrint for PowerPC32.
13686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13695 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13697 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13699 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13701 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13702 multiarch wordcopy for PPC32.
13703 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13705 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13706 (__libc_ifunc_impl_list): Likewise.
13707 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13708 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13709 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13710 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13711 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13712 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13714 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13715 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13717 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13719 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13721 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13722 multiarch wcscpy for PPC32.
13723 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13725 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13726 (__libc_ifunc_impl_list): Likewise.
13727 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13728 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13729 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13730 sysdeps/powerpc/power6/wcscpy.c.
13732 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13733 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13735 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13737 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13739 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13740 multiarch wcsrchr for PPC32.
13741 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13743 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13744 (__libc_ifunc_impl_list): Likewise.
13745 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13746 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13747 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13748 sysdeps/powerpc/power6/wcsrchr.c.
13750 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13752 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13754 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13755 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13756 multiarch wcschr for PPc32.
13757 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13759 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13760 (__libc_ifunc_impl_list): Likewise.
13761 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13762 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13763 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13764 sysdeps/powerpc/power6/wcschr.c.
13766 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13767 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13769 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13770 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13771 file: multiarch strchr for PPC32.
13772 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13774 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13775 (__libc_ifunc_impl_list): Likewise.
13777 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13779 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13781 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13783 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13784 multiarch strchrnul for PPC32.
13785 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13787 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13788 (__libc_ifunc_impl_list): Likewise.
13790 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13792 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13793 multiarch strncasecmp for PPC32.
13794 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13796 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13797 multiarch strncasecmp_l for PPC32.
13798 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13799 strncasecmp multiarch objects.
13800 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13801 (__libc_ifunc_impl_list): Likewise.
13803 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13805 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13806 multiarch strncasecmp for PPC32.
13807 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13809 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13810 multiarch strcasecmp_l for PPC32.
13811 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13813 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13814 (__libc_ifunc_impl_list): Likewise.
13816 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13818 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13820 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13821 multiarch strncmp for PPC32.
13822 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13824 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13825 (__libc_ifunc_impl_list): Likewise.
13827 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13828 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13830 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13831 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13832 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13834 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13835 (__libc_ifunc_impl_list): Likewise.
13837 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13839 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13841 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13842 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13845 (__libc_ifunc_impl_list): Likewise.
13847 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13849 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13851 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13852 multiarch rawmemchr for PPC32.
13853 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13855 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13856 (__libc_ifunc_impl_list): Likewise.
13858 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13860 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13862 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13863 file: memrchr multiarch for PPC32.
13864 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13866 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13867 (__libc_ifunc_impl_list): Likewise.
13869 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13870 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13872 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13873 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13874 multiarch memchr for PPC32.
13875 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13877 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13878 (__libc_ifunc_impl_list): Likewise.
13880 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13881 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13883 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13885 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13886 file: multiarch mempcpy for PPC32.
13887 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13889 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13890 (__libc_ifunc_impl_list): Likewise.
13892 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13893 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13894 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13895 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13896 multiarch bzero for PPC32.
13897 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13899 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13901 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13902 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13903 file: multiarch memset for PPC32.
13904 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13905 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13906 memset multiarch objects.
13907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13908 (__libc_ifunc_impl_list): Likewise.
13910 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13912 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13913 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13915 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13916 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13918 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13919 (__libc_ifunc_impl_list): Likewise.
13921 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13922 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13923 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13925 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13927 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13929 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13930 multiarch memcpy for PPC32.
13931 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13933 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13934 (__libc_ifunc_impl_list): Likewise.
13936 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13937 support multiarch for POWER/PPC32.
13938 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13940 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13942 Implies file to make multiarch folder appers before the fpu and
13943 default folder for power4 configuration.
13945 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13947 * scripts/bench.pl: Append volatile keyword to type.
13949 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13951 * sysdeps/sh/sotruss-lib.c: New file.
13952 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13954 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13958 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13961 * math/w_tgamma.c: Include <errno.h>.
13962 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13963 * math/w_tgammaf.c: Include <errno.h>.
13964 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13965 * math/w_tgammal.c: Include <errno.h>.
13966 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13967 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13968 underflow. Add more tgamma tests.
13969 * math/auto-libm-test-out: Regenerated.
13970 * sysdeps/i386/fpu/libm-test-ulps: Update.
13971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13973 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13974 sin, sinh, tan, tanh, tgamma, y0 and y1.
13975 * math/auto-libm-test-out: Regenerated.
13976 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13977 (TEST_COND_x86): Likewise.
13978 (M_E2l): Remove macro.
13980 (M_2_SQRT_PIl): Likewise.
13981 (M_SQRT_PIl): Likewise.
13982 (M_1_DIV_El): Likewise.
13983 (log_test_data): Use AUTO_TESTS_f_f.
13984 (log10_test_data): Likewise.
13985 (log1p_test_data): Likewise.
13986 (log2_test_data): Likewise.
13987 (sin_test_data): Likewise.
13988 (sin_tonearest_test_data): Likewise.
13989 (sin_towardzero_test_data): Likewise.
13990 (sin_downward_test_data): Likewise.
13991 (sin_upward_test_data): Likewise.
13992 (sinh_test_data): Likewise.
13993 (sinh_tonearest_test_data): Likewise.
13994 (sinh_towardzero_test_data): Likewise.
13995 (sinh_downward_test_data): Likewise.
13996 (sinh_upward_test_data): Likewise.
13997 (tan_test_data): Likewise.
13998 (tan_tonearest_test_data): Likewise.
13999 (tan_towardzero_test_data): Likewise.
14000 (tan_downward_test_data): Likewise.
14001 (tan_upward_test_data): Likewise.
14002 (tanh_test_data): Likewise.
14003 (tgamma_test_data): Likewise.
14004 (y0_test_data): Likewise.
14005 (y1_test_data): Likewise.
14006 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14007 (special_real_inputs): Add pi/4.
14008 * sysdeps/i386/fpu/libm-test-ulps: Update.
14009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14011 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14013 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14014 "longjmp_target" static probes.
14015 (__longjmp): Rename to __longjmp_symbol.
14016 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14017 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14018 on which longjmp to generate.
14019 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14020 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14022 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14023 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14024 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14025 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14026 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14027 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14029 __longjmp_symbol based on which __longjmp to generate.
14030 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14032 (setjmp): Rename to setjmp_symbol.
14033 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14034 (_setjmp): Rename to _setjmp_symbol.
14035 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14036 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14037 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14038 which setjmp to generate.
14039 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14040 "longjmp_target" static probes.
14042 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14044 * benchtests/README: Add note about output arguments.
14045 * benchtests/bench-sincos.c: Remove file.
14046 * benchtests/sincos-inputs: New file.
14047 * scripts/bench.pl: Identify output arguments and define
14048 static variables for them.
14050 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14053 * Makefile (INSTALL): Add install-plain.texi as the primary
14055 * manual/install-plain.texi: New file.
14056 * manual/install.texi: Include node directive only for
14057 non-plaintext output.
14059 2013-12-04 Joseph Myers <joseph@codesourcery.com>
14061 * stdlib/longlong.h: Update from GCC.
14065 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14066 * math/w_j0f.c (y0f): Likewise.
14067 * math/w_j0l.c (__y0l): Likewise.
14068 * math/w_j1.c (y1): Likewise.
14069 * math/w_j1f.c (y1f): Likewise.
14070 * math/w_j1l.c (__y1l): Likewise
14071 * math/w_jn.c (yn): Likewise.
14072 * math/w_jnf.c (ynf): Likewise.
14073 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14074 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14075 value for Bessel function domain errors outside _SVID_ mode.
14076 Adjust sign of return value for yn (negative integer, 0).
14077 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14078 by zero in return for negative x and set sign appropriately for
14080 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14081 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14082 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14083 expectations in error cases.
14084 (y1_test_data): Likewise.
14085 (yn_test_data): Likewise.
14086 * sysdeps/i386/fpu/libm-test-ulps: Update.
14087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14089 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14091 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14092 "64" to "64-v1". Add "64-v2".
14093 (abi-64-options): Rename to ...
14094 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14095 (abi-64-condition): Rename to ...
14096 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14097 (abi-64-ld-soname): Rename to ...
14098 (abi-64-v1-ld-soname): ... this.
14099 (abi-64-v2-options): Define.
14100 (abi-64-v2-condition): Likewise.
14101 (abi-64-v2-ld-soname): Likewise.
14102 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14103 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14108 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14109 Alan Modra <amodra@gmail.com>
14111 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14112 New versions for use with the ELFv2 ABI.
14113 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14114 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14116 (struct La_ppc64v2_retval): Likewise.
14117 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14118 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14119 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14120 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14121 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14122 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14123 Do not save or restore CR.
14124 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14125 (_dl_profile_resolve): Do no save or restore CR. Support extended
14126 return values for ELFv2 ABI. Fix location of FPR return registers.
14127 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14128 updated values for _CALL_ELF == 2.
14129 (La_regs, La_retval, int_retval): Likewise.
14131 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14133 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14134 (FRAME_MIN_SIZE_PARM): Likewise.
14135 (FRAME_BACKCHAIN): Likewise.
14136 (FRAME_CR_SAVE): Likewise.
14137 (FRAME_LR_SAVE): Likewise.
14138 (FRAME_TOC_SAVE): Likewise.
14139 (FRAME_PARM_SAVE): Likewise.
14140 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14141 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14142 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14143 (call_mcount_parm_offset): New macro.
14144 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14145 (PROF): Use symbolic stack frame offsets.
14146 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14147 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14148 Redefine in terms of FRAME_MIN_SIZE.
14149 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14150 (_dl_profile_resolve): Likewise. Update comment.
14151 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14152 symbols stack frame offsets.
14153 (__sigsetjmp): Likewise.
14154 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14155 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14156 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14157 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14160 (FRAME_BACKCHAIN): Remove.
14161 (FRAME_CR_SAVE): Likewise.
14162 (FRAME_LR_SAVE): Likewise.
14163 (FRAME_COMPILER_DW): Likewise.
14164 (FRAME_LINKER_DW): Likewise.
14165 (FRAME_TOC_SAVE): Likewise.
14166 (FRAME_PARM_SAVE): Likewise.
14167 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14168 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14169 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14171 (CHECK_SP): Use symbolic stack frame offsets.
14172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14173 zone" instead of caller's parameter save area for temp storage.
14174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14175 Likewise. Also, use symbolic stack frame offsets.
14176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14177 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14178 our own stack frame instead of the caller's.
14179 (__socket): Use symbolic stack frame offsets.
14181 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14182 Alan Modra <amodra@gmail.com>
14184 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14186 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14187 (PPC64_LOCAL_ENTRY_OFFSET): Define.
14188 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14190 (elf_machine_fixup_plt): Call it.
14191 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14193 (elf_machine_rela): Update call to elf_machine_plt_conflict.
14194 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14195 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14196 r2 before calling target.
14198 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14199 Alan Modra <amodra@gmail.com>
14201 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14202 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14203 versions of macros to support ELFv2 ABI.
14204 (LOCALENTRY): New macro.
14205 (ENTRY, EALIGN): Use it.
14206 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14207 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14208 fall through into ENTRY entry point.
14209 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14210 Only define if _CALL_ELF != 2.
14212 (elf_machine_matches_host): Verify ABI version matches.
14213 (RTLD_START): Use LOCALENTRY.
14214 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14215 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14216 (PLT_ENTRY_WORDS): New macro.
14217 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14218 (elf_machine_runtime_setup): Support ELFv2 ABI.
14219 (elf_machine_fixup_plt): Likewise.
14220 (elf_machine_plt_conflict): Likewise.
14221 (resolve_ifunc): Likewise.
14222 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14223 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14226 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14228 (makecontext): Support ELFv2 ABI.
14229 * elf/elf.h (EF_PPC64_ABI): Define.
14231 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14233 * sysdeps/powerpc/powerpc64/sysdep.h
14234 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14235 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14236 (ENTRY) [ASSEMBLER]: ... but instead here ...
14237 (EALIGN) [ASSEMBLER]: ... and here.
14238 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14239 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14240 (ENTRY_2) [!ASSEMBLER]: Use it.
14241 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14242 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
14243 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14244 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14245 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14247 Use PPC64_LOAD_FUNCPTR.
14249 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14251 2013-12-04 Alan Modra <amodra@gmail.com>
14253 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14254 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14255 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14256 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14258 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14259 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14260 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14261 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14262 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14263 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14265 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14268 (__makecontext): Fix incorrect CFI when backtracing out of
14269 context created via makecontext.
14270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14271 (__setcontext): Fix incorrect CFI during switch to new context.
14272 (__novec_setcontext): Likewise.
14274 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14277 * time/strptime_l.c (__strptime_internal): Allow modifiers
14279 * time/tst-strptime.c (day_tests): Add testcase.
14281 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14283 * scripts/bench.pl: Skip over blank lines.
14285 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14288 * manual/time.texi (Calendar Time): Clarify what timezone functions
14291 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14295 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14297 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14299 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14300 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14301 * debug/memset_chk.c (__memset_chk): Likewise.
14302 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14303 * debug/strncpy_chk.c: Likewise.
14305 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14309 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14310 (__ieee754_exp): For possibly underflowing results, check size of
14311 result and force underflow exception if required.
14312 * math/auto-libm-test-in: Add more tests of exp.
14313 * math/auto-libm-test-out: Regenerated.
14314 * sysdeps/i386/fpu/libm-test-ulps: Update.
14315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14318 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14319 * math/w_exp2f.c (__exp2f): Likewise.
14320 * math/w_exp2l.c (__exp2l): Likewise.
14321 * math/auto-libm-test-in: Do not allow missing errno on exp2
14323 * math/auto-libm-test-out: Regenerated.
14325 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14328 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14329 handle filename validation.
14330 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14333 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14336 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14337 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14338 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14340 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14341 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14342 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14343 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14344 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14345 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14346 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14347 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14348 Add more erfc tests.
14349 * math/auto-libm-test-out: Regenerated.
14350 * sysdeps/i386/fpu/libm-test-ulps: Update.
14351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14353 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14354 exp2, expm1, j0 and j1.
14355 * math/auto-libm-test-out: Regenerated.
14356 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14357 (erfc_test_data): Likewise.
14358 (exp_test_data): Likewise.
14359 (exp_tonearest_test_data): Likewise.
14360 (exp_towardzero_test_data): Likewise.
14361 (exp_downward_test_data): Likewise.
14362 (exp_upward_test_data): Likewise.
14363 (exp10_test_data): Likewise.
14364 (exp2_test_data): Likewise.
14365 (expm1_test_data): Likewise.
14366 (j0_test_data): Likewise.
14367 (j1_test_data): Likewise.
14368 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14369 (input_flag_type): Add flag_xfail_rounding.
14370 (input_flags): Add xfail-rounding.
14371 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14372 (output_for_one_input_case): Handle flag_xfail_rounding.
14373 * sysdeps/i386/fpu/libm-test-ulps: Update.
14374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14376 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14379 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14382 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14385 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14386 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14387 (STAP_PROBE0): New macro.
14388 (STAP_PROBE1): Likewise.
14389 (STAP_PROBE2): Likewise.
14390 (STAP_PROBE3): Likewise.
14391 (STAP_PROBE4): Likewise.
14393 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14395 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14397 2013-12-02 Steve Ellcey <sellcey@mips.com>
14399 * benchtests/Makefile (bench): Add sqrt.
14400 (LDLIBS-bench-sqrt): New.
14401 * benchtests/sqrt-input: New.
14403 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14405 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14406 (GAIH_EAI): Likewise.
14407 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14408 (gaih_inet): Likewise.
14409 (getaddrinfo): Don't use GAIH_EAI.
14411 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14412 (struct gaih): Remove definition.
14414 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14416 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14417 Use HERRNOP directly.
14419 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14423 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14425 * math/gen-auto-libm-tests.c (test_functions): Add more
14426 single-argument functions.
14427 (special_fill_pi_2): New function.
14428 (special_fill_minus_pi_2): Likewise.
14429 (special_fill_pi_6): Likewise.
14430 (special_fill_minus_pi_6): Likewise.
14431 (special_fill_pi_3): Likewise.
14432 (special_fill_2pi_3): Likewise.
14433 (special_fill_e): Likewise.
14434 (special_fill_1_e): Likewise.
14435 (special_fill_e_minus_1): Likewise.
14436 (special_real_inputs): Add more special inputs.
14437 (output_for_one_input_case): Do not require ERANGE on underflow to
14438 zero if round-to-nearest result does not underflow to zero, unless
14439 exact results required.
14440 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14441 atan, atanh, cbrt, cos and cosh.
14442 * math/auto-libm-test-out: Regenerated.
14443 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14444 (acos_tonearest_test_data): Likewise.
14445 (acos_towardzero_test_data): Likewise.
14446 (acos_downward_test_data): Likewise.
14447 (acos_upward_test_data): Likewise.
14448 (acosh_test_data): Likewise.
14449 (asin_test_data): Likewise.
14450 (asin_tonearest_test_data): Likewise.
14451 (asin_towardzero_test_data): Likewise.
14452 (asin_upward_test_data): Likewise.
14453 (asinh_test_data): Likewise.
14454 (atan_test_data): Likewise.
14455 (atanh_test_data): Likewise.
14456 (cbrt_test_data): Likewise.
14457 (cos_test_data): Likewise.
14458 (cos_tonearest_test_data): Likewise.
14459 (cos_towardzero_test_data): Likewise.
14460 (cos_downward_test_data): Likewise.
14461 (cos_upward_test_data): Likewise.
14462 (cosh_test_data): Likewise.
14463 (cosh_tonearest_test_data): Likewise.
14464 (cosh_towardzero_test_data): Likewise.
14465 (cosh_downward_test_data): Likewise.
14466 (cosh_upward_test_data): Likewise.
14467 * sysdeps/i386/fpu/libm-test-ulps: Update.
14468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14470 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14473 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14474 * math/w_exp10f.c (__exp10f): Likewise.
14475 * math/w_exp10l.c (__exp10l): Likewise.
14476 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14477 errno settings in existing tests.
14480 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14481 precision control set to double precision.
14482 * sysdeps/i386/fpu/w_sqrt.c: New file.
14483 * math/auto-libm-test-in: Add more tests.
14484 * math/auto-libm-test-out: Update.
14486 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14487 (sqrt_test_tonearest): New function.
14488 (sqrt_towardzero_test_data): New variable.
14489 (sqrt_test_towardzero): New function.
14490 (sqrt_downward_test_data): New variable.
14491 (sqrt_test_downward): New function.
14492 (sqrt_upward_test_data): New variable.
14493 (sqrt_test_upward): New function.
14494 (main): Call the new functions.
14496 * math/gen-auto-libm-tests.c: New file.
14497 * math/auto-libm-test-in: Likewise.
14498 * math/auto-libm-test-out: New generated file.
14499 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14501 (%beautify): Add generated representations of zero.
14502 (top level): Set $auto_input and call parse_auto_input.
14503 (beautify): Remove trailing "f" from hex float constants.
14504 (parse_args): Handle XFAIL_TEST.
14505 (convert_condition): New function.
14506 (or_value): Likewise.
14507 (or_cond_value): Likewise.
14508 (generate_testfile): Handle AUTO_TESTS_* lines.
14509 (parse_auto_input): New function.
14510 * math/libm-test.inc (XFAIL_TEST): New macro.
14511 (ERRNO_UNCHANGED): Update value.
14512 (ERRNO_EDOM): Likewise.
14513 (ERRNO_ERANGE): Likewise.
14514 (IGNORE_RESULT): Likewise.
14515 (TEST_COND_flt_32): New macro.
14516 (TEST_COND_dbl_64): Likewise.
14517 (TEST_COND_ldbl_96_intel): Likewise.
14518 (TEST_COND_ldbl_96_m68k): Likewise.
14519 (TEST_COND_ldbl_128): Likewise.
14520 (TEST_COND_ldbl_128ibm): Likewise.
14521 (TEST_COND_long32): Likewise.
14522 (TEST_COND_long64): Likewise.
14523 (TEST_COND_before_rounding): Likewise.
14524 (TEST_COND_after_rounding): Likewise.
14525 (enable_test): Handle XFAIL_TEST flag.
14526 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14527 with finite results.
14528 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14529 auto-libm-test-out.
14531 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14532 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14535 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14536 __tls_get_addr_internal instead of __tls_get_offset in order to
14537 avoid GOT pointer dependency. Make rtld export
14538 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14539 __tls_get_addr since we are a __tls_get_offset platform.
14540 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14541 GOT pointer being set up before.
14542 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14544 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14546 * manual/math.texi (Errors in Math Functions): Document accuracy
14550 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14551 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14552 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14553 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14554 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14555 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14556 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14557 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14558 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14559 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14560 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14561 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14562 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14563 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14564 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14565 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14567 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14568 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14569 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14570 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14571 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14573 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14575 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14577 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14578 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14579 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14580 atomic-feupdateenv and flt-rounds.
14581 * sysdeps/powerpc/nofpu/Versions (libc): Add
14582 __atomic_feholdexcept, __atomic_feclearexcept,
14583 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14584 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14585 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14586 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14587 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14592 * manual/arith.texi (FP Exceptions): Document that exceptions may
14593 not be raised when matherr is used.
14594 (Math Error Reporting): Document overflow in directed rounding
14595 modes. Document that errno may not be set when finite values are
14596 returned on overflow. Document intent to set errno on underflow
14597 only for underflow to zero.
14600 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14601 round-to-nearest then adjust result for other rounding modes.
14602 * include/fenv.h (fegetround): Use libm_hidden_proto.
14603 * math/fegetround.c (fegetround): Use libm_hidden_def.
14604 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14605 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14606 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14607 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14609 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14610 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14611 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14612 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14614 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14617 * nss/Versions (libnss_files): Add
14618 _nss_files_gethostbyname3_r.
14619 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14621 (HOST_DB_LOOKUP): Remove macro.
14622 (_nss_files_gethostbyname_r): Implement function without the
14623 HOST_DB_LOOKUP macro.
14624 (_nss_files_gethostbyname2_r): Likewise.
14626 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14628 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14630 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14632 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14633 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14636 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14638 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14639 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14640 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14641 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14642 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14643 __fe_nomask_env_priv and attribute_hidden.
14644 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14645 (libc_feupdateenv_test_ppc): Likewise.
14646 (libc_feresetround_ppc): Likewise.
14647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14648 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14649 compat_symbol macro.
14650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14651 (__fe_nomask_env): Likewise.
14652 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14654 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14656 * string/Makefile: Remove ifunc tests.
14657 * string/test-string.h: Define TEST_IFUNC.
14658 * string/test-bcopy-ifunc.c: Remove.
14659 * string/test-bzero-ifunc.c: Likewise.
14660 * string/test-memccpy-ifunc.c: Likewise.
14661 * string/test-memchr-ifunc.c: Likewise.
14662 * string/test-memcmp-ifunc.c: Likewise.
14663 * string/test-memcpy-ifunc.c: Likewise.
14664 * string/test-memmem-ifunc.c: Likewise.
14665 * string/test-memmove-ifunc.c: Likewise.
14666 * string/test-mempcpy-ifunc.c: Likewise.
14667 * string/test-memrchr-ifunc.c: Likewise.
14668 * string/test-memset-ifunc.c: Likewise.
14669 * string/test-rawmemchr-ifunc.c: Likewise.
14670 * string/test-stpcpy-ifunc.c: Likewise.
14671 * string/test-stpncpy-ifunc.c: Likewise.
14672 * string/test-strcasecmp-ifunc.c: Likewise.
14673 * string/test-strcasestr-ifunc.c: Likewise.
14674 * string/test-strcat-ifunc.c: Likewise.
14675 * string/test-strchr-ifunc.c: Likewise.
14676 * string/test-strchrnul-ifunc.c: Likewise.
14677 * string/test-strcmp-ifunc.c: Likewise.
14678 * string/test-strcpy-ifunc.c: Likewise.
14679 * string/test-strcspn-ifunc.c: Likewise.
14680 * string/test-strlen-ifunc.c: Likewise.
14681 * string/test-strncasecmp-ifunc.c: Likewise.
14682 * string/test-strncat-ifunc.c: Likewise.
14683 * string/test-strncmp-ifunc.c: Likewise.
14684 * string/test-strncpy-ifunc.c: Likewise.
14685 * string/test-strnlen-ifunc.c: Likewise.
14686 * string/test-strpbrk-ifunc.c: Likewise.
14687 * string/test-strrchr-ifunc.c: Likewise.
14688 * string/test-strspn-ifunc.c: Likewise.
14689 * string/test-strstr-ifunc.c: Likewise.
14691 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14693 * benchtests/Makefile: Remove ifunc tests.
14694 * benchtests/bench-string.h: Define TEST_IFUNC.
14695 * benchtests/bench-bcopy-ifunc.c: Remove.
14696 * benchtests/bench-bzero-ifunc.c: Likewise.
14697 * benchtests/bench-memccpy-ifunc.c: Likewise.
14698 * benchtests/bench-memchr-ifunc.c: Likewise.
14699 * benchtests/bench-memcmp-ifunc.c: Likewise.
14700 * benchtests/bench-memcpy-ifunc.c: Likewise.
14701 * benchtests/bench-memmem-ifunc.c: Likewise.
14702 * benchtests/bench-memmove-ifunc.c: Likewise.
14703 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14704 * benchtests/bench-memrchr-ifunc.c: Likewise.
14705 * benchtests/bench-memset-ifunc.c: Likewise.
14706 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14707 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14708 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14709 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14710 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14711 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14712 * benchtests/bench-strcat-ifunc.c: Likewise.
14713 * benchtests/bench-strchr-ifunc.c: Likewise.
14714 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14715 * benchtests/bench-strcmp-ifunc.c: Likewise.
14716 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14717 * benchtests/bench-strcpy-ifunc.c: Likewise.
14718 * benchtests/bench-strcspn-ifunc.c: Likewise.
14719 * benchtests/bench-strlen-ifunc.c: Likewise.
14720 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14721 * benchtests/bench-strncat-ifunc.c: Likewise.
14722 * benchtests/bench-strncmp-ifunc.c: Likewise.
14723 * benchtests/bench-strncpy-ifunc.c: Likewise.
14724 * benchtests/bench-strnlen-ifunc.c: Likewise.
14725 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14726 * benchtests/bench-strrchr-ifunc.c: Likewise.
14727 * benchtests/bench-strsep-ifunc.c: Likewise.
14728 * benchtests/bench-strspn-ifunc.c: Likewise.
14729 * benchtests/bench-strstr-ifunc.c: Likewise.
14731 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14733 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14735 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14737 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14738 * rt/aio.h: Likewise.
14739 * sysdeps/gnu/bits/utmp.h: Likewise.
14740 * sysdeps/gnu/bits/utmpx.h: Likewise.
14741 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14742 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14743 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14744 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14745 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14746 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14747 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14748 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14749 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14750 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14751 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14752 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14753 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14755 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14756 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14757 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14758 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14759 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14760 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14761 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14762 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14763 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14764 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14765 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14766 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14767 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14768 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14769 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14770 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14771 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14772 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14773 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14774 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14775 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14776 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14777 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14778 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14779 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14780 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14781 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14782 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14784 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14787 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14788 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14790 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14792 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14793 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14796 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14798 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14799 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14800 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14801 (__fesetround): Remove define.
14802 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14803 rounding and exceptions handling.
14804 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14805 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14806 (__fe_nomask_env): Likewise.
14807 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14808 __fegetround instead of fegetround.
14809 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14810 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14812 2013-11-21 Roland McGrath <roland@hack.frob.com>
14814 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14817 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14819 2013-11-21 Meador Inge <meadori@codesourcery.com>
14822 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14823 (encrypt_r): Likewise.
14824 * malloc/obstack.h (obstack_free): Likewise.
14825 * posix/unistd.h (encrypt): Likewise.
14827 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14829 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14830 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14831 DL_CALL_DT_FINI() that call the functions directly.
14832 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14833 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14834 * elf/dl-fini.c: Likewise.
14836 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14838 * malloc/hooks.c (memalign_check): Add alignment rounding.
14839 * malloc/malloc.c (_mid_memalign): New function.
14840 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14841 Implement by calling _mid_memalign.
14842 * manual/probes.texi (Memory Allocation Probes): Remove
14843 memory_valloc_retry and memory_pvalloc_retry.
14845 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14847 * locale/programs/locarchive.c (open_archive): Add const
14848 qualifier to ARCHIVEFNAME and copy default fname to
14852 * libio/tst-widetext.input: Rename Oriya to Odia.
14853 * locale/iso-639.def: Likewise.
14855 * manual/probes.texi (Mathematical Function Probes): Add
14856 documentation for sin, cos, asin and acos probes.
14857 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14858 (__sin32): Add slowasin probe.
14859 (__cos32): Add slowacos probe.
14860 (__mpsin): Add slowsin probe.
14861 (__mpcos): Add slowcos probe.
14863 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14866 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14867 thread-local __sim_exceptions_thread and global
14868 __sim_exceptions_global.
14869 (__sim_disabled_exceptions): Change to thread-local
14870 __sim_disabled_exceptions_thread and global
14871 __sim_disabled_exceptions_global.
14872 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14873 and global __sim_round_mode_global.
14874 (__simulate_exceptions): Use thread-local floating-point state and
14875 set global state from it as needed.
14876 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14877 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14878 __sim_round_mode_thread.
14879 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14880 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14881 and global __sim_exceptions_global.
14882 (__sim_disabled_exceptions): Change to thread-local
14883 __sim_disabled_exceptions_thread and global
14884 __sim_disabled_exceptions_global.
14885 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14886 and global __sim_round_mode_global.
14887 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14888 (SIM_SET_GLOBAL): Likewise.
14889 * sysdeps/powerpc/soft-fp/sfp-machine.h
14890 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14891 __sim_round_mode_thread.
14892 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14893 __sim_disabled_exceptions_thread.
14894 (__sim_exceptions): Change to __sim_exceptions_thread.
14895 (__sim_disabled_exceptions): Change to
14896 __sim_disabled_exceptions_thread.
14897 (__sim_round_mode): Change to __sim_round_mode_thread.
14898 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14899 thread-local floating-point state and set global state from it as
14901 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14902 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14903 (__sim_disabled_exceptions): Remove extern declaration.
14904 (feenableexcept): Use thread-local floating-point state and set
14905 global state from it as needed.
14906 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14907 extern declaration.
14908 (__sim_disabled_exceptions): Likewise.
14909 (__sim_round_mode): Likewise.
14910 (__fegetenv): Use thread-local floating-point state.
14911 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14912 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14913 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14914 floating-point state and set global state from it as needed.
14915 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14916 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14917 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14919 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14920 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14922 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14923 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14924 Use __sim_round_mode_thread.
14925 * math/test-fenv-tls.c: New file.
14926 * math/Makefile (tests): Add test-fenv-tls.
14927 ($(objpfx)test-fenv-tls): Depend on
14928 $(common-objpfx)nptl/libpthread.so.
14930 2013-11-19 Andreas Schwab <schwab@suse.de>
14932 * locale/programs/locale.c (show_info): Decode wordarray elements.
14933 * locale/categories.def (LC_MONETARY): Add element for
14934 _NL_MONETARY_CRNCYSTR.
14935 * locale/C-monetary.c (conversion_rate): New variable.
14936 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14939 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14941 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14942 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14944 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14946 * elf/Makefile (tst-auxv): New test.
14947 * elf/tst-auxv.c: New
14948 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14950 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14952 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14953 (hidden_proto): Caller changed.
14954 (hidden_tls_proto): New macro.
14955 (libc_hidden_tls_proto): Likewise.
14956 (rtld_hidden_tls_proto): Likewise.
14957 (libm_hidden_tls_proto): Likewise.
14958 (libresolv_hidden_tls_proto): Likewise.
14959 (librt_hidden_tls_proto): Likewise.
14960 (libdl_hidden_tls_proto): Likewise.
14961 (libnss_files_hidden_tls_proto): Likewise.
14962 (libnsl_hidden_tls_proto): Likewise.
14963 (libnss_nisplus_hidden_tls_proto): Likewise.
14964 (libutil_hidden_tls_proto): Likewise.
14966 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14969 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14970 (decompose_rpath): Defer expansion to fillin_rpath.
14971 (_dl_init_paths): Pass linkmap to fillin_rpath.
14973 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14975 * benchtests/Makefile: Add strsep.
14976 * benchtests/bench-strsep.c: New file: strsep benchtest.
14977 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14979 2013-11-18 Andreas Schwab <schwab@suse.de>
14981 * locale/programs/locale.c (show_info) [case byte]: Check for
14982 '\377' instead of '\177'.
14983 * locale/C-monetary.c (not_available): Always use "\377".
14984 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14985 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14986 detect unavailable sign_posn locale elements.
14987 * locale/localeconv.c (__localeconv): For grouping and
14988 mon_grouping handle "\177" and "\377" like no grouping.
14989 (INT_ELEM): New macro. Use it to set all numeric members.
14990 * locale/programs/ld-monetary.c (monetary_read)
14991 <tok_mon_grouping>: Normalize single -1 to the empty string.
14992 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14995 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14998 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14999 when we match (nil).
15000 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15002 2013-11-16 Joseph Myers <joseph@codesourcery.com>
15004 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15005 (NO_TEST_INLINE): Update value.
15006 (ERRNO_UNCHANGED): Likewise.
15007 (ERRNO_EDOM): Likewise.
15008 (ERRNO_ERANGE): Likewise.
15009 (IGNORE_RESULT): Likewise.
15010 (check_float_internal): Check signs of NaN results if
15011 TEST_NAN_SIGN used.
15012 (check_complex): Pass TEST_NAN_SIGN flag through to second
15013 check_float_internal call.
15014 (copysign_test_data): Add tests with quiet NaNs as second
15015 argument. Use TEST_NAN_SIGN.
15016 (fabs_test_data): Add test of negative quiet NaN argument. Use
15018 (signbit_test_data): Add tests of quiet NaN argument.
15019 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15021 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15023 (parse_args): Handle function results specified as IGNORE.
15024 * math/libm-test.inc (IGNORE_RESULT): New macro.
15025 (check_float_internal): Do not check numerical result if flag
15027 (check_complex): Pass through IGNORE_RESULT to second
15028 check_float_internal call.
15029 (check_int): Do not check numerical result if flag IGNORE_RESULT
15031 (check_long): Likewise.
15032 (check_bool): Likewise.
15033 (check_longlong): Likewise.
15034 (lrint_test_data): Add tests of infinite and NaN arguments.
15035 (lrint_tonearest_test_data): Likewise.
15036 (lrint_towardzero_test_data): Likewise.
15037 (lrint_downward_test_data): Likewise.
15038 (lrint_upward_test_data): Likewise.
15039 (llrint_test_data): Likewise.
15040 (llrint_tonearest_test_data): Likewise.
15041 (llrint_towardzero_test_data): Likewise.
15042 (llrint_downward_test_data): Likewise.
15043 (llrint_upward_test_data): Likewise.
15044 (lround_test_data): Likewise.
15045 (llround_test_data): Likewise.
15047 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15048 (ERRNO_UNCHANGED): Update value.
15049 (ERRNO_EDOM): Likewise.
15050 (ERRNO_ERANGE): Likewise.
15051 (NO_TEST_INLINE_FLOAT): New macro.
15052 (NO_TEST_INLINE_DOUBLE): Likewise.
15053 (enable_test): New function.
15054 (RUN_TEST_f_f): Check enable_test before running test.
15055 (RUN_TEST_2_f): Likewise.
15056 (RUN_TEST_fff_f): Likewise.
15057 (RUN_TEST_c_f): Likewise.
15058 (RUN_TEST_f_f1): Likewise.
15059 (RUN_TEST_fF_f1): Likewise.
15060 (RUN_TEST_fI_f1): Likewise.
15061 (RUN_TEST_ffI_f1): Likewise.
15062 (RUN_TEST_c_c): Likewise.
15063 (RUN_TEST_cc_c): Likewise.
15064 (RUN_TEST_f_i): Likewise.
15065 (RUN_TEST_f_i_tg): Likewise.
15066 (RUN_TEST_ff_i_tg): Likewise.
15067 (RUN_TEST_f_b): Likewise.
15068 (RUN_TEST_f_b_tg): Likewise.
15069 (RUN_TEST_f_l): Likewise.
15070 (RUN_TEST_f_L): Likewise.
15071 (RUN_TEST_fFF_11): Likewise.
15072 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15074 (cosh_test_data): Likewise.
15075 (exp_test_data): Likewise.
15076 (expm1_test_data): Likewise.
15077 (hypot_test_data): Likewise.
15078 (pow_test_data): Likewise.
15079 (sinh_test_data): Likewise.
15080 (tanh_test_data): Likewise.
15081 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15084 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15085 tests with quiet NaN input and output.
15086 (acosh_test_data): Likewise.
15087 (asin_test_data): Likewise.
15088 (asinh_test_data): Likewise.
15089 (atan_test_data): Likewise.
15090 (atanh_test_data): Likewise.
15091 (atan2_test_data): Likewise.
15092 (cbrt_test_data): Likewise.
15093 (cos_test_data): Likewise.
15094 (cosh_test_data): Likewise.
15095 (erf_test_data): Likewise.
15096 (erfc_test_data): Likewise.
15097 (exp_test_data): Likewise.
15098 (exp10_test_data): Likewise.
15099 (exp2_test_data): Likewise.
15100 (expm1_test_data): Likewise.
15101 (hypot_test_data): Likewise.
15102 (j0_test_data): Likewise.
15103 (j1_test_data): Likewise.
15104 (jn_test_data): Likewise.
15105 (lgamma_test_data): Likewise.
15106 (log_test_data): Likewise.
15107 (log10_test_data): Likewise.
15108 (log1p_test_data): Likewise.
15109 (log2_test_data): Likewise.
15110 (pow_test_data): Likewise.
15111 (scalb_test_data): Likewise.
15112 (sin_test_data): Likewise.
15113 (sincos_test_data): Likewise.
15114 (sinh_test_data): Likewise.
15115 (tan_test_data): Likewise.
15116 (tanh_test_data): Likewise.
15117 (tgamma_test_data): Likewise.
15118 (y0_test_data): Likewise.
15119 (y1_test_data): Likewise.
15120 (yn_test_data): Likewise.
15123 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15124 argument being NaN and avoid computations with second argument in
15126 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15127 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15128 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15130 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15132 * locale/iso-639.def: Add Chitwani Tharu (the).
15134 2013-11-14 Andreas Schwab <schwab@suse.de>
15136 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15137 word instead of empty string.
15139 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15142 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15144 (__fe_nomask_env): Likewise.
15146 2013-11-13 Steve Ellcey <sellcey@mips.com>
15148 * benchtests/bench-timing.h: Include time.h.
15150 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15153 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15155 * sysdeps/unix/sysv/linux/configure: Regenerated.
15157 2013-11-13 Joseph Myers <joseph@codesourcery.com>
15160 * stdlib/strtod_l.c (round_and_return): Do not consider
15161 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15162 exponent one less than half the least subnormal exponent.
15163 * stdlib/test-strtod-round-data: Add more tests.
15164 * stdlib/tst-strtod-round.c (tests): Regenerated.
15166 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15169 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15170 (__fe_mask_env): Likewise.
15171 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15172 libm_hidden_proto and add function prototype.
15173 (__fe_mask_env): Add function prototype.
15174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15175 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15177 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15179 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15181 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15183 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15184 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15186 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15188 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15189 of htab_find_slot().
15191 2013-11-11 David S. Miller <davem@davemloft.net>
15194 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15195 symbol in the non-vis3 case in static builds.
15196 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15197 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15198 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15199 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15201 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15204 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15207 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15209 * benchtests/Makefile: Add bench-strtod.
15210 * benchtests/bench-strtod.c: New file: strtod benchtest
15212 2013-11-11 Andreas Schwab <schwab@suse.de>
15215 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15216 terminating NUL in key length.
15218 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15220 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15221 Add artificial ODP entry for vDSO symbol for PPC64.
15222 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15223 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15225 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15228 * nss/getent.c (services_keys): Recognize services starting with digit.
15230 2013-11-06 David S. Miller <davem@davemloft.net>
15233 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15234 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15236 2013-11-06 Will Newton <will.newton@linaro.org>
15238 * manual/memory.texi (Malloc Examples): Remove register
15239 keyword from examples.
15241 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
15243 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15245 2013-11-04 Joseph Myers <joseph@codesourcery.com>
15248 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15249 depending on [__GCC_IEC_559 > 0].
15250 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15251 depending on [__GCC_IEC_559_COMPLEX > 0].
15253 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
15255 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15258 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
15260 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15262 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
15265 * malloc/malloc (malloc_info): Do not handle first bin as
15268 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
15270 * locale/iso-639.def: Add Central Nahuatl (nhn).
15272 2013-11-01 Bruno Haible <bruno@clisp.org>
15275 * manual/math.texi (BSD Random): Specify range upper bound as
15278 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
15280 * locale/iso-639.def: Add Meadow Mari (mhr).
15282 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
15284 [BZ #14752], [BZ #15763]
15285 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15287 * rt/tst_shm.c: Add test for escaping directory.
15289 2013-10-31 Andreas Schwab <schwab@suse.de>
15292 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15293 followed by 'x' as part of digit sequence.
15294 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15296 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15299 * configure.ac: allow GNU Make 4.0 and greater.
15300 * configure: Regenerated.
15302 2013-10-30 Will Newton <will.newton@linaro.org>
15305 * malloc/hooks.c (memalign_check): Limit alignment to the
15306 maximum representable power of two.
15307 * malloc/malloc.c (__libc_memalign): Likewise.
15308 * malloc/tst-memalign.c (do_test): Add test for very
15309 large alignment values.
15310 * malloc/tst-posix_memalign.c (do_test): Likewise.
15312 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15315 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15316 (munmap_chunk): Likewise.
15317 (mremap_chunk): Likewise.
15319 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15322 * stdlib/div.c (div): Remove obsolete code.
15323 * stdlib/ldiv.c (ldiv): Likewise.
15324 * stdlib/lldiv.c (lldiv): Likewise.
15326 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15329 * nss/nss_files/files-XXX.c (get_contents_ret): New
15331 (get_contents): New function.
15332 (internal_getent): Use it. Expand size of LINEBUFLEN.
15334 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15336 * configure.in: Moved to ...
15337 * configure.ac: ... here. Change reference to configure.in
15339 * sysdeps/arm/preconfigure.ac: ... here.
15340 configure.in to configure.ac.
15341 * sysdeps/gnu/configure.in: Moved to ...
15342 * sysdeps/gnu/configure.ac: ... here.
15343 * sysdeps/i386/configure.in: Moved to ...
15344 * sysdeps/i386/configure.ac: ... here.
15345 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15346 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15347 * sysdeps/mach/configure.in: Moved to ...
15348 * sysdeps/mach/configure.ac: ... here.
15349 * sysdeps/mach/hurd/configure.in: Moved to ...
15350 * sysdeps/mach/hurd/configure.ac: ... here.
15351 * sysdeps/powerpc/configure.in: Moved to ...
15352 * sysdeps/powerpc/configure.ac: ... here.
15353 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15354 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15355 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15356 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15357 * sysdeps/s390/s390-32/configure.in: Moved to ...
15358 * sysdeps/s390/s390-32/configure.ac: ... here.
15359 * sysdeps/s390/s390-64/configure.in: Moved to ...
15360 * sysdeps/s390/s390-64/configure.ac: ... here.
15361 * sysdeps/sh/configure.in: Moved to ...
15362 * sysdeps/sh/configure.ac: ... here.
15363 * sysdeps/sparc/configure.in: Moved to ...
15364 * sysdeps/sparc/configure.ac: ... here.
15365 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15366 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15367 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15368 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15369 * sysdeps/x86_64/configure.in: Moved to ...
15370 * sysdeps/x86_64/configure.ac: ... here.
15371 * sysdeps/x86_64/preconfigure.in: Moved to ...
15372 * sysdeps/x86_64/preconfigure.ac: ... here.
15373 * aclocal.m4: Change reference to configure.in to configure.ac.
15374 * config.h.in: Likewise.
15375 * manual/install.texi: Likewise.
15376 * manual/maint.texi: Likewise.
15377 * Makefile: Likewise.
15378 * malloc/Makefile: Likewise.
15379 * nscd/Makefile: Likewise.
15380 * Makeconfig: Change reference to configure.in and
15381 preconfigure.in to configure.ac and preconfigure.ac
15383 * INSTALL: Regenerated.
15384 * configure: Likewise.
15385 * sysdeps/gnu/configure: Likewise.
15386 * sysdeps/i386/configure: Likewise.
15387 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15388 * sysdeps/mach/configure: Likewise.
15389 * sysdeps/mach/hurd/configure: Likewise.
15390 * sysdeps/powerpc/configure: Likewise.
15391 * sysdeps/powerpc/powerpc32/configure: Likewise.
15392 * sysdeps/powerpc/powerpc64/configure: Likewise.
15393 * sysdeps/s390/s390-32/configure: Likewise.
15394 * sysdeps/s390/s390-64/configure: Likewise.
15395 * sysdeps/sh/configure: Likewise.
15396 * sysdeps/sparc/configure: Likewise.
15397 * sysdeps/unix/sysv/linux/configure: Likewise.
15398 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15399 * sysdeps/x86_64/configure: Likewise.
15400 * sysdeps/x86_64/preconfigure: Likewise.
15402 2013-10-29 Andreas Schwab <schwab@suse.de>
15404 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15406 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15408 * benchtests/pow-inputs: Add new inputs.
15410 * benchtests/exp-inputs: Add new inputs.
15412 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15413 conditional check for return value.
15414 (__cos32): Likewise.
15416 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15418 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15419 to provide a boost for large inputs with word alignment.
15420 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15421 implementation based on optimized PPC64 strcpy.
15422 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15423 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15424 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15425 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15427 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15430 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15432 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15435 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15436 * time/tst-strptime.c (day_tests): Add testcase.
15438 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15441 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15443 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15446 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15447 MAP_FAILED on error.
15449 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15452 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15453 heap for large requests.
15455 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15458 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15459 result if the result has no associated interface.
15460 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15461 interface for all 127.X.Y.Z addresses.
15463 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15465 * locale/iso-639.def: Add Ligurian (lij)
15467 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15470 * sunrpc/rpc_main.c: Document rpcgen -5.
15472 2013-10-19 Michael Stahl <mstahl@redhat.com>
15474 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15476 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15479 * posix/glob.c: Match only directories when trailing slash is present.
15480 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15481 (main): Add testcase.
15483 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15486 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15488 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15490 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15491 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15492 AUTH_DES and cindex for FIPS 140-2.
15493 (DES Encryption): Add cindex FIPS 46-3.
15495 * locale/locarchive.h (struct locarhandle): Add fname.
15496 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15497 if an optional argument was specified to --list-archive,
15499 * locale/programs/locarchive.c (show_archive_content): Take new
15500 argument fname and pass it via ah.fname to open_archive.
15501 * locale/programs/localedef.h: Update decl.
15502 (open_archive): If AH->fname is non-null, open that file
15503 rather than the default file name, and don't ignore ENOENT.
15504 (create_archive): Set AH.fname to NULL.
15505 (delete_locales_from_archive): Likewise.
15506 (add_locales_to_archive): Likewise.
15507 * locale/programs/locfile.c (write_all_categories): Likewise.
15509 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15510 Aldy Hernandez <aldyh@redhat.com>
15512 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15513 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15514 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15515 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15516 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15517 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15518 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15519 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15520 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15521 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15522 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15523 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15524 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15525 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15526 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15528 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15530 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15532 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15534 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15535 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15537 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15538 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15539 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15540 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15542 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15543 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15544 * sysdeps/powerpc/preconfigure: Likewise.
15545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15547 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15548 Replace contents of file by #include of <fenv_libc.h>.
15549 * sysdeps/powerpc/soft-fp/sfp-machine.h
15550 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15552 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15553 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15554 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15555 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15556 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15557 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15558 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15559 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15560 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15561 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15562 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15563 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15565 Allow copysignl PLT reference to be missing.
15567 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15568 Joseph Myers <joseph@codesourcery.com
15571 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15573 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15575 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15577 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15578 * elf/tst-tls1.c: Likewise.
15579 * elf/tst-tls10.h: Likewise.
15580 * elf/tst-tls14.c: Likewise.
15581 * elf/tst-tls2.c: Likewise.
15582 * elf/tst-tls3.c: Likewise.
15583 * elf/tst-tls4.c: Likewise.
15584 * elf/tst-tls5.c: Likewise.
15585 * elf/tst-tls6.c: Likewise.
15586 * elf/tst-tls7.c: Likewise.
15587 * elf/tst-tls8.c: Likewise.
15588 * elf/tst-tls9.c: Likewise.
15589 * elf/tst-tlsmod1.c: Likewise.
15590 * elf/tst-tlsmod13.c: Likewise.
15591 * elf/tst-tlsmod13a.c: Likewise.
15592 * elf/tst-tlsmod14a.c: Likewise.
15593 * elf/tst-tlsmod16a.c: Likewise.
15594 * elf/tst-tlsmod16b.c: Likewise.
15595 * elf/tst-tlsmod2.c: Likewise.
15596 * elf/tst-tlsmod3.c: Likewise.
15597 * elf/tst-tlsmod4.c: Likewise.
15598 * elf/tst-tlsmod5.c: Likewise.
15599 * elf/tst-tlsmod6.c: Likewise.
15601 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15604 * malloc/malloc.c: remove checks for statistics.
15606 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15609 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15610 * inet/tst-network.c: Add testcase.
15612 2013-10-17 Andreas Schwab <schwab@suse.de>
15615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15616 to determine canonical name.
15618 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15620 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15621 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15622 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15623 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15624 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15625 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15626 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15627 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15628 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15629 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15630 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15631 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15632 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15633 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15634 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15635 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15636 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15637 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15638 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15639 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15640 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15641 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15642 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15643 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15644 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15645 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15646 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15647 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15648 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15649 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15650 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15651 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15652 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15653 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15654 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15655 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15656 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15657 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15658 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15659 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15660 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15661 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15662 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15663 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15664 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15665 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15666 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15667 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15668 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15669 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15670 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15671 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15672 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15673 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15674 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15675 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15676 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15677 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15679 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15682 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15683 make result into a quiet NaN.
15685 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15687 * soft-fp/adddf3.c: Fix horizontal whitespace.
15688 * soft-fp/addsf3.c: Likewise.
15689 * soft-fp/addtf3.c: Likewise.
15690 * soft-fp/divdf3.c: Likewise.
15691 * soft-fp/divsf3.c: Likewise.
15692 * soft-fp/divtf3.c: Likewise.
15693 * soft-fp/double.h: Likewise.
15694 * soft-fp/eqdf2.c: Likewise.
15695 * soft-fp/eqsf2.c: Likewise.
15696 * soft-fp/eqtf2.c: Likewise.
15697 * soft-fp/extenddftf2.c: Likewise.
15698 * soft-fp/extended.h: Likewise.
15699 * soft-fp/extendsfdf2.c: Likewise.
15700 * soft-fp/extendsftf2.c: Likewise.
15701 * soft-fp/extendxftf2.c: Likewise.
15702 * soft-fp/fixdfdi.c: Likewise.
15703 * soft-fp/fixdfsi.c: Likewise.
15704 * soft-fp/fixdfti.c: Likewise.
15705 * soft-fp/fixsfdi.c: Likewise.
15706 * soft-fp/fixsfsi.c: Likewise.
15707 * soft-fp/fixsfti.c: Likewise.
15708 * soft-fp/fixtfdi.c: Likewise.
15709 * soft-fp/fixtfsi.c: Likewise.
15710 * soft-fp/fixtfti.c: Likewise.
15711 * soft-fp/fixunsdfdi.c: Likewise.
15712 * soft-fp/fixunsdfsi.c: Likewise.
15713 * soft-fp/fixunsdfti.c: Likewise.
15714 * soft-fp/fixunssfdi.c: Likewise.
15715 * soft-fp/fixunssfsi.c: Likewise.
15716 * soft-fp/fixunssfti.c: Likewise.
15717 * soft-fp/fixunstfdi.c: Likewise.
15718 * soft-fp/fixunstfsi.c: Likewise.
15719 * soft-fp/fixunstfti.c: Likewise.
15720 * soft-fp/floatdidf.c: Likewise.
15721 * soft-fp/floatdisf.c: Likewise.
15722 * soft-fp/floatditf.c: Likewise.
15723 * soft-fp/floatsidf.c: Likewise.
15724 * soft-fp/floatsisf.c: Likewise.
15725 * soft-fp/floatsitf.c: Likewise.
15726 * soft-fp/floattidf.c: Likewise.
15727 * soft-fp/floattisf.c: Likewise.
15728 * soft-fp/floattitf.c: Likewise.
15729 * soft-fp/floatundidf.c: Likewise.
15730 * soft-fp/floatundisf.c: Likewise.
15731 * soft-fp/floatunditf.c: Likewise.
15732 * soft-fp/floatunsidf.c: Likewise.
15733 * soft-fp/floatunsisf.c: Likewise.
15734 * soft-fp/floatunsitf.c: Likewise.
15735 * soft-fp/floatuntidf.c: Likewise.
15736 * soft-fp/floatuntisf.c: Likewise.
15737 * soft-fp/floatuntitf.c: Likewise.
15738 * soft-fp/fmadf4.c: Likewise.
15739 * soft-fp/fmasf4.c: Likewise.
15740 * soft-fp/fmatf4.c: Likewise.
15741 * soft-fp/gedf2.c: Likewise.
15742 * soft-fp/gesf2.c: Likewise.
15743 * soft-fp/getf2.c: Likewise.
15744 * soft-fp/ledf2.c: Likewise.
15745 * soft-fp/lesf2.c: Likewise.
15746 * soft-fp/letf2.c: Likewise.
15747 * soft-fp/muldf3.c: Likewise.
15748 * soft-fp/mulsf3.c: Likewise.
15749 * soft-fp/multf3.c: Likewise.
15750 * soft-fp/negdf2.c: Likewise.
15751 * soft-fp/negsf2.c: Likewise.
15752 * soft-fp/negtf2.c: Likewise.
15753 * soft-fp/op-1.h: Likewise.
15754 * soft-fp/op-2.h: Likewise.
15755 * soft-fp/op-4.h: Likewise.
15756 * soft-fp/op-8.h: Likewise.
15757 * soft-fp/op-common.h: Likewise.
15758 * soft-fp/quad.h: Likewise.
15759 * soft-fp/single.h: Likewise.
15760 * soft-fp/soft-fp.h: Likewise.
15761 * soft-fp/sqrtdf2.c: Likewise.
15762 * soft-fp/sqrtsf2.c: Likewise.
15763 * soft-fp/sqrttf2.c: Likewise.
15764 * soft-fp/subdf3.c: Likewise.
15765 * soft-fp/subsf3.c: Likewise.
15766 * soft-fp/subtf3.c: Likewise.
15767 * soft-fp/truncdfsf2.c: Likewise.
15768 * soft-fp/trunctfdf2.c: Likewise.
15769 * soft-fp/trunctfsf2.c: Likewise.
15770 * soft-fp/trunctfxf2.c: Likewise.
15771 * soft-fp/unorddf2.c: Likewise.
15772 * soft-fp/unordsf2.c: Likewise.
15773 * soft-fp/unordtf2.c: Likewise.
15775 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15777 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15778 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15780 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15782 * elf/dl-libc.c: Clear initfini list after freeing.
15784 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15786 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15787 * soft-fp/addsf3.c: Likewise.
15788 * soft-fp/addtf3.c: Likewise.
15789 * soft-fp/divdf3.c: Likewise.
15790 * soft-fp/divsf3.c: Likewise.
15791 * soft-fp/divtf3.c: Likewise.
15792 * soft-fp/double.h: Likewise.
15793 * soft-fp/eqdf2.c: Likewise.
15794 * soft-fp/eqsf2.c: Likewise.
15795 * soft-fp/eqtf2.c: Likewise.
15796 * soft-fp/extenddftf2.c: Likewise.
15797 * soft-fp/extended.h: Likewise.
15798 * soft-fp/extendsfdf2.c: Likewise.
15799 * soft-fp/extendsftf2.c: Likewise.
15800 * soft-fp/extendxftf2.c: Likewise.
15801 * soft-fp/fixdfdi.c: Likewise.
15802 * soft-fp/fixdfsi.c: Likewise.
15803 * soft-fp/fixdfti.c: Likewise.
15804 * soft-fp/fixsfdi.c: Likewise.
15805 * soft-fp/fixsfsi.c: Likewise.
15806 * soft-fp/fixsfti.c: Likewise.
15807 * soft-fp/fixtfdi.c: Likewise.
15808 * soft-fp/fixtfsi.c: Likewise.
15809 * soft-fp/fixtfti.c: Likewise.
15810 * soft-fp/fixunsdfdi.c: Likewise.
15811 * soft-fp/fixunsdfsi.c: Likewise.
15812 * soft-fp/fixunsdfti.c: Likewise.
15813 * soft-fp/fixunssfdi.c: Likewise.
15814 * soft-fp/fixunssfsi.c: Likewise.
15815 * soft-fp/fixunssfti.c: Likewise.
15816 * soft-fp/fixunstfdi.c: Likewise.
15817 * soft-fp/fixunstfsi.c: Likewise.
15818 * soft-fp/fixunstfti.c: Likewise.
15819 * soft-fp/floatdidf.c: Likewise.
15820 * soft-fp/floatdisf.c: Likewise.
15821 * soft-fp/floatditf.c: Likewise.
15822 * soft-fp/floatsidf.c: Likewise.
15823 * soft-fp/floatsisf.c: Likewise.
15824 * soft-fp/floatsitf.c: Likewise.
15825 * soft-fp/floattidf.c: Likewise.
15826 * soft-fp/floattisf.c: Likewise.
15827 * soft-fp/floattitf.c: Likewise.
15828 * soft-fp/floatundidf.c: Likewise.
15829 * soft-fp/floatundisf.c: Likewise.
15830 * soft-fp/floatunsidf.c: Likewise.
15831 * soft-fp/floatunsisf.c: Likewise.
15832 * soft-fp/floatuntidf.c: Likewise.
15833 * soft-fp/floatuntisf.c: Likewise.
15834 * soft-fp/floatuntitf.c: Likewise.
15835 * soft-fp/fmadf4.c: Likewise.
15836 * soft-fp/fmasf4.c: Likewise.
15837 * soft-fp/fmatf4.c: Likewise.
15838 * soft-fp/gedf2.c: Likewise.
15839 * soft-fp/gesf2.c: Likewise.
15840 * soft-fp/getf2.c: Likewise.
15841 * soft-fp/ledf2.c: Likewise.
15842 * soft-fp/lesf2.c: Likewise.
15843 * soft-fp/letf2.c: Likewise.
15844 * soft-fp/muldf3.c: Likewise.
15845 * soft-fp/mulsf3.c: Likewise.
15846 * soft-fp/multf3.c: Likewise.
15847 * soft-fp/negdf2.c: Likewise.
15848 * soft-fp/negsf2.c: Likewise.
15849 * soft-fp/negtf2.c: Likewise.
15850 * soft-fp/op-1.h: Likewise.
15851 * soft-fp/op-2.h: Likewise.
15852 * soft-fp/op-4.h: Likewise.
15853 * soft-fp/op-8.h: Likewise.
15854 * soft-fp/op-common.h: Likewise.
15855 * soft-fp/quad.h: Likewise.
15856 * soft-fp/single.h: Likewise.
15857 * soft-fp/soft-fp.h: Likewise.
15858 * soft-fp/sqrtdf2.c: Likewise.
15859 * soft-fp/sqrtsf2.c: Likewise.
15860 * soft-fp/sqrttf2.c: Likewise.
15861 * soft-fp/subdf3.c: Likewise.
15862 * soft-fp/subsf3.c: Likewise.
15863 * soft-fp/subtf3.c: Likewise.
15864 * soft-fp/truncdfsf2.c: Likewise.
15865 * soft-fp/trunctfdf2.c: Likewise.
15866 * soft-fp/trunctfsf2.c: Likewise.
15867 * soft-fp/trunctfxf2.c: Likewise.
15868 * soft-fp/unorddf2.c: Likewise.
15869 * soft-fp/unordsf2.c: Likewise.
15870 * soft-fp/unordtf2.c: Likewise.
15872 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15875 * misc/error.c (error_tail): Fix possible buffer overflow.
15877 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15880 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15883 2013-10-14 P. J. McDermott <pj@pehjota.net>
15886 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15887 testing pipefail option.
15889 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15891 * soft-fp/double.h: Indent preprocessor directives inside #if.
15892 * soft-fp/extended.h: Likewise.
15893 * soft-fp/op-2.h: Likewise.
15894 * soft-fp/op-4.h: Likewise.
15895 * soft-fp/op-common.h: Likewise.
15896 * soft-fp/quad.h: Likewise.
15897 * soft-fp/single.h: Likewise.
15898 * soft-fp/soft-fp.h: Likewise.
15900 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15902 * iconv/iconv_prog.c: Fix typos.
15903 * stdio-common/psiginfo-data.h: Likewise.
15905 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15908 * locale/setlocale.c: Fix typo.
15910 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15913 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15914 signaling NaN arguments.
15915 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15916 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15919 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15920 unordered operands.
15921 * soft-fp/gesf2.c (__gesf2): Likewise.
15922 * soft-fp/getf2.c (__getf2): Likewise.
15923 * soft-fp/ledf2.c (__ledf2): Likewise.
15924 * soft-fp/lesf2.c (__lesf2): Likewise.
15925 * soft-fp/letf2.c (__letf2): Likewise.
15927 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15928 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15929 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15930 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15931 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15932 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15933 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15934 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15935 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15936 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15937 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15938 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15939 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15940 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15941 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15942 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15943 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15944 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15945 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15946 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15947 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15948 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15949 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15950 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15951 * soft-fp/floattidf.c (__floattidf): Likewise.
15952 * soft-fp/floattisf.c (__floattisf): Likewise.
15953 * soft-fp/floattitf.c (__floattitf): Likewise.
15954 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15955 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15956 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15957 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15958 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15959 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15960 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15961 * soft-fp/gesf2.c (__gesf2): Likewise.
15962 * soft-fp/getf2.c (__getf2): Likewise.
15963 * soft-fp/ledf2.c (__ledf2): Likewise.
15964 * soft-fp/lesf2.c (__lesf2): Likewise.
15965 * soft-fp/letf2.c (__letf2): Likewise.
15967 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15968 Undefine and redefine.
15969 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15970 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15971 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15972 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15973 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15974 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15975 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15976 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15977 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15978 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15979 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15980 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15981 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15982 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15983 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15986 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15987 without decrementing exponent if mantissa >= that for the
15988 denominator, not >.
15989 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15990 denominator, not >. Decrement exponent in < case instead of
15991 incrementing in >= case.
15992 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15993 without decrementing exponent if mantissa >= that for the
15994 denominator, not >.
15996 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15997 computing saturated result for unsigned overflow.
15999 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16000 Jeff Law <law@redhat.com>
16002 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16003 (atan2Mp): Add systemtap probe marker.
16004 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16005 (__ieee754_log): Add systemtap probe marker.
16006 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16007 (atanMp): Add systemtap probe marker.
16008 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16009 (tanMp): Add systemtap probe marker.
16010 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16011 (__slowexp): Add systemtap probe marker.
16012 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16013 (__slowpow): Add systemtap probe marker.
16014 * manual/probes.texi: Document probes.
16016 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
16019 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16021 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16023 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16024 written to buffer but not flushed.
16025 * libio/iofwrite_u.c: Likewise.
16026 * libio/iopadn.c: Return bytes returned even if EOF was
16028 * libio/iowpadn.c: Likewise.
16029 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16030 if _IO_padn does not write the whole buffer.
16031 [!COMPILE_WPRINTF] (PAD): Likewise.
16033 2013-10-10 David S. Miller <davem@davemloft.net>
16035 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16038 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16040 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16041 instead of FSF address.
16042 * soft-fp/fixdfti.c: Likewise.
16043 * soft-fp/fixsfti.c: Likewise.
16044 * soft-fp/fixtfti.c: Likewise.
16045 * soft-fp/fixunsdfti.c: Likewise.
16046 * soft-fp/fixunssfti.c: Likewise.
16047 * soft-fp/fixunstfti.c: Likewise.
16048 * soft-fp/floattidf.c: Likewise.
16049 * soft-fp/floattisf.c: Likewise.
16050 * soft-fp/floattitf.c: Likewise.
16051 * soft-fp/floatuntidf.c: Likewise.
16052 * soft-fp/floatuntisf.c: Likewise.
16053 * soft-fp/floatuntitf.c: Likewise.
16054 * soft-fp/trunctfxf2.c: Likewise.
16056 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16057 * soft-fp/fixdfti.c: Likewise.
16058 * soft-fp/fixsfti.c: Likewise.
16059 * soft-fp/fixtfti.c: Likewise.
16060 * soft-fp/fixunsdfti.c: Likewise.
16061 * soft-fp/fixunssfti.c: Likewise.
16062 * soft-fp/fixunstfti.c: Likewise.
16063 * soft-fp/floattidf.c: Likewise.
16064 * soft-fp/floattisf.c: Likewise.
16065 * soft-fp/floattitf.c: Likewise.
16066 * soft-fp/floatuntidf.c: Likewise.
16067 * soft-fp/floatuntisf.c: Likewise.
16068 * soft-fp/floatuntitf.c: Likewise.
16069 * soft-fp/trunctfxf2.c: Likewise.
16071 2013-10-10 David S. Miller <davem@davemloft.net>
16073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16075 2013-10-10 Joseph Myers <joseph@codsourcery.com>
16077 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16078 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16079 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16080 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16081 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16082 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16083 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16085 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16086 for NaNs before doing comparisons on argument.
16087 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16090 2013-10-10 Will Newton <will.newton@linaro.org>
16092 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16093 passed to _int_memalign does not overflow.
16095 2013-10-10 Torvald Riegel <triegel@redhat.com>
16097 * scripts/bench.pl: Add include-sources directive.
16098 * benchtests/README: Update documentation.
16100 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16102 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16103 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16104 instead of FP_INIT_ROUNDMODE.
16105 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16106 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16109 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16110 copy class of input value.
16111 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16112 not handle exceptions.
16113 * soft-fp/negsf2.c (__negsf2): Likewise.
16114 * soft-fp/negtf2.c (__negtf2): Likewise.
16115 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16117 2013-10-09 Joseph Myers <joseph@codesourcery.com>
16119 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16120 semicolon. From Linux kernel.
16122 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16124 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16126 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16129 * manual/socket.texi: Added statement about buffer
16130 for gethostbyname2_r.
16132 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
16134 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16135 Use .p2align directive instead, throughout.
16136 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16137 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16138 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16139 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16140 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16141 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16142 * sysdeps/x86_64/strchr.S: Likewise.
16143 * sysdeps/x86_64/strrchr.S: Likewise.
16145 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16147 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16149 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16151 * sysdeps/generic/math_private.h (__mpsin1): Remove
16153 (__mpcos1): Likewise.
16154 (__mpsin): New argument __range_reduce.
16155 (__mpcos): Likewise.
16156 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16157 (slow): Use __mpsin and __mpcos.
16161 (sloww1): Likewise.
16162 (sloww2): Likewise.
16163 (bsloww): Likewise.
16164 (bsloww1): Likewise.
16165 (bsloww2): Likewise.
16166 (cslow2): Likewise.
16167 (csloww): Likewise.
16168 (csloww1): Likewise.
16169 (csloww2): Likewise.
16170 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16171 range_reduce. Merge in __mpsin1.
16172 (__mpcos): Likewise.
16173 (__mpsin1): Remove.
16174 (__mpcos1): Likewise.
16176 2013-10-07 Joseph Myers <joseph@codesourcery.com>
16178 * locale/loadlocale.c (_nl_intern_locale_data): Use
16180 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16181 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16182 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16183 obstack data is appropriately aligned.
16184 (obstack_int32_grow_fast): Likewise.
16185 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16186 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16187 (add_locale_uint32_array): Likewise.
16189 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16191 * benchtests/Makefile: Remove ARGLIST and RET variables.
16192 ($(objpfx)bench-%.c): Pass only function name to the script.
16193 * benchtests/README: Update documentation.
16194 * benchtests/acos-inputs: Add new directives.
16195 * benchtests/acosh-inputs: Likewise.
16196 * benchtests/asin-inputs: Likewise.
16197 * benchtests/asinh-inputs: Likewise.
16198 * benchtests/atan-inputs: Likewise.
16199 * benchtests/atanh-inputs: Likewise.
16200 * benchtests/cos-inputs: Likewise.
16201 * benchtests/cosh-inputs: Likewise.
16202 * benchtests/exp-inputs: Likewise.
16203 * benchtests/log-inputs: Likewise.
16204 * benchtests/pow-inputs: Likewise.
16205 * benchtests/rint-inputs: Likewise.
16206 * benchtests/sin-inputs: Likewise.
16207 * benchtests/sinh-inputs: Likewise.
16208 * benchtests/tan-inputs: Likewise.
16209 * benchtests/tanh-inputs: Likewise.
16210 * scripts/bench.pl: Add support for new directives.
16212 2013-10-07 Alan Modra <amodra@gmail.com>
16214 * README: Fix careless merge.
16216 2013-10-05 Alan Modra <amodra@gmail.com>
16218 * NEWS: Mention powerpc64le support and bugs fixed.
16219 * README: Both big-endian and little-endian powerpc64 supported.
16221 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16223 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16224 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16225 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16226 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16228 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16230 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16233 2013-10-04 Joseph Myers <joseph@codesourcery.com>
16235 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16236 Move -mhard-float appending from
16237 ports/sysdeps/powerpc/powerpc32/Makefile.
16238 [$(with-fp) = yes] (ASFLAGS): Likewise.
16239 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16240 * sysdeps/powerpc/nofpu: Move directory from
16241 ports/sysdeps/powerpc/nofpu.
16242 * sysdeps/powerpc/soft-fp: Move directory from
16243 ports/sysdeps/powerpc/soft-fp.
16244 * sysdeps/powerpc/powerpc32/405: Move directory from
16245 ports/sysdeps/powerpc/powerpc32/405.
16246 * sysdeps/powerpc/powerpc32/440: Move directory from
16247 ports/sysdeps/powerpc/powerpc32/440.
16248 * sysdeps/powerpc/powerpc32/464: Move directory from
16249 ports/sysdeps/powerpc/powerpc32/464.
16250 * sysdeps/powerpc/powerpc32/476: Move directory from
16251 ports/sysdeps/powerpc/powerpc32/476.
16252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16253 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16255 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16257 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16259 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16261 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16262 * README: Update for powerpc-*-linux-gnu software floating point
16265 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16266 case to powerpc/powerpc32*.
16267 * sysdeps/unix/sysv/linux/configure: Regenerated.
16269 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16270 (_FPU_MASK_OM): Define as 0x04.
16271 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16272 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16274 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16276 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16279 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16282 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16285 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16286 and setcontext_e500.
16288 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16290 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16292 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16294 * manual/threads.texi (Default Thread Attributes): Fix typo.
16296 2013-10-04 Will Newton <will.newton@linaro.org>
16298 * malloc/Makefile: Add tst-memalign.
16299 * malloc/tst-memalign.c: New file.
16301 * malloc/tst-posix_memalign.c: Add comments.
16302 (do_test): Add comments and call free on all potentially
16303 allocated pointers. Add space after cast.
16305 * malloc/tst-pvalloc.c: Add comments.
16306 (do_test): Add comments and call free on all potentially
16307 allocated pointers. Remove duplicate check for NULL pointer.
16308 Add space after cast.
16310 * malloc/tst-valloc.c: Add comments.
16311 (do_test): Add comments and call free on all potentially
16312 allocated pointers. Remove duplicate check for NULL pointer.
16313 Add space after cast.
16315 2013-10-04 Alan Modra <amodra@gmail.com>
16317 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16318 Use stdint types in rather than __attribute__((mode())).
16319 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16321 2013-10-04 Alan Modra <amodra@gmail.com>
16323 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16324 Correct handling of unaligned relocs for little-endian.
16325 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16327 2013-10-04 Alan Modra <amodra@gmail.com>
16329 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16330 * configure: Regenerate.
16331 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16332 * shlib-versions: Likewise.
16334 2013-10-04 Alan Modra <amodra@gmail.com>
16336 * string/tester.c (test_memrchr): Increment reported test cycle.
16338 2013-10-04 Alan Modra <amodra@gmail.com>
16340 * string/test-memcpy.c (do_one_test): When reporting errors, print
16341 string address and don't overrun end of string.
16343 2013-10-04 Alan Modra <amodra@gmail.com>
16345 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16346 insrdi. Make better use of reg selection to speed exit slightly.
16347 Schedule entry path a little better. Remove useless "are we done"
16348 checks on entry to main loop. Handle wrapping around zero address.
16349 Correct main loop count. Handle single left-over word from main
16350 loop inline rather than by using loop_small. Remove extra word
16351 case in loop_small caused by wrong loop count. Add little-endian
16353 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16354 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16356 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16357 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16358 support. Avoid rlwimi.
16359 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16361 2013-10-04 Alan Modra <amodra@gmail.com>
16363 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16364 insrdi. Formatting.
16365 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16366 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16367 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16368 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16369 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16370 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16372 2013-10-04 Alan Modra <amodra@gmail.com>
16374 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16375 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16376 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16377 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16378 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16379 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16380 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16381 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16382 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16383 use of regs. Use power7 mtocrf. Tidy function tails.
16385 2013-10-04 Alan Modra <amodra@gmail.com>
16387 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16388 Formatting. Consistently use rXXX register defines or rN defines.
16389 Use early exit labels that avoid restoring unused non-volatile regs.
16390 Make cr field use more consistent with rWORDn compares. Rename
16391 regs used as shift registers for unaligned loop, using rN defines
16392 for short lifetime/multiple use regs.
16393 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16394 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16395 addi 1,1,64 to pop stack frame. Simplify return value code.
16396 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16398 2013-10-04 Alan Modra <amodra@gmail.com>
16400 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16401 support. Correct typos, formatting. Optimize tail. Use insrdi
16402 rather than rlwimi.
16403 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16404 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16405 little-endian support. Correct typos.
16406 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16407 rather than rlwimi.
16408 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16409 in loop and entry code to keep "and." results.
16410 (strchr): Add little-endian support. Comment. Move cntlzd
16412 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16414 2013-10-04 Alan Modra <amodra@gmail.com>
16416 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16417 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16418 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16419 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16421 2013-10-04 Alan Modra <amodra@gmail.com>
16423 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16424 (rTMP): Define as r11.
16425 (strcmp): Add little-endian support. Optimise tail.
16426 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16427 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16428 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16429 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16430 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16431 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16432 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16434 2013-10-04 Alan Modra <amodra@gmail.com>
16436 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16437 little-endian support. Remove unnecessary "are we done" tests.
16438 Handle "s" wrapping around zero and extremely large "size".
16439 Correct main loop count. Handle single left-over word from main
16440 loop inline rather than by using small_loop. Correct comments.
16441 Delete "zero" tail, use "end_max" instead.
16442 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16444 2013-10-04 Alan Modra <amodra@gmail.com>
16446 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16447 support. Don't branch over align.
16448 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16449 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16450 support. Rearrange tmp reg use to suit. Comment.
16451 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16453 2013-10-04 Alan Modra <amodra@gmail.com>
16455 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16457 2013-10-04 Alan Modra <amodra@gmail.com>
16459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16460 conditional form of branch and link when obtaining pc.
16461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16463 2013-10-04 Alan Modra <amodra@gmail.com>
16465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16470 2013-10-04 Alan Modra <amodra@gmail.com>
16472 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16473 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16474 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16475 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16476 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16477 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16478 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16479 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16480 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16481 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16483 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16484 Alistair Popple <alistair@ozlabs.au.ibm.com>
16485 Alan Modra <amodra@gmail.com>
16488 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16489 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16490 _dl_hwcap access for little-endian.
16491 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16492 destroy vmx regs when saving unaligned.
16493 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16494 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16495 destroy vmx regs when saving unaligned.
16497 2013-10-04 Alan Modra <amodra@gmail.com>
16499 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16500 Don't use a union to pack hi/low value.
16502 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16504 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16506 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16507 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16508 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16509 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16510 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16512 2013-10-04 Alan Modra <amodra@gmail.com>
16514 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16515 constants to usual value for .cst8 section, and remove redundant
16517 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16518 constant for 0x1p52. Load little-endian words of double from
16519 correct stack offsets.
16521 2013-10-04 Alan Modra <amodra@gmail.com>
16523 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16524 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16525 words of double from correct stack offsets.
16526 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16527 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16528 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16529 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16530 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16531 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16532 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16533 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16534 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16535 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16536 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16537 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16538 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16539 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16540 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16541 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16542 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16544 2013-10-04 Alan Modra <amodra@gmail.com>
16546 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16547 64-bit int/double union.
16548 (_FPU_SETCW): Likewise.
16549 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16550 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16552 2013-10-04 Alan Modra <amodra@gmail.com>
16554 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16555 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16557 2013-10-04 Alan Modra <amodra@gmail.com>
16559 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16560 use vector int constants.
16561 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16563 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16565 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16566 array with long long.
16567 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16568 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16569 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16570 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16571 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16572 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16573 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16574 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16575 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16576 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16577 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16578 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16579 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16581 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16583 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16584 (__signbit): Likewise. Correct for little-endian.
16585 (__signbitl): Call __signbit.
16586 (lrint): Correct for little-endian.
16587 (lrintf): Call lrint.
16589 2013-10-04 Alan Modra <amodra@gmail.com>
16591 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16592 union 32-bit int array member with 64-bit int array.
16593 (t515, tm256): Double rather than long double.
16594 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16596 2013-10-04 Alan Modra <amodra@gmail.com>
16598 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16600 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16601 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16602 version of math_ldbl.h.
16604 2013-10-04 Alan Modra <amodra@gmail.com>
16606 [BZ #15734], [BZ #15735]
16607 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16608 all uses of ieee875 long double macros and unions. Simplify test
16609 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16610 ldbl_extract_mantissa value for ix,iy exponents. Properly
16611 normalize after ldbl_extract_mantissa, and don't add hidden bit
16612 already handled. Don't treat low word of ieee854 mantissa like
16613 low word of IBM long double and mask off bit when testing for
16615 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16616 all uses of ieee875 long double macros and unions. Simplify tests
16617 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16618 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16619 two1022, instead use their values. Recognise that tests for large
16620 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16621 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16622 Rewrite all uses of ieee875 long double macros and unions. Simplify
16623 test for 0.0L and nan. Correct negation.
16624 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16625 ieee875 long double macros and unions. Correct output for large
16626 magnitude x. Correct absolute value calculation.
16627 (__erfcl): Likewise.
16628 * math/libm-test.inc: Add tests for errors discovered in IBM long
16629 double versions of fmodl, remainderl, erfl and erfcl.
16631 2013-10-04 Alan Modra <amodra@gmail.com>
16633 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16634 all uses of ieee854 long double macros and unions. Simplify tests
16635 for long doubles that are fully specified by the high double.
16636 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16638 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16639 Remove dead code too.
16640 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16641 (__ieee754_ynl): Likewise.
16642 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16643 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16644 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16645 Remove dead code too.
16646 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16647 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16648 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16649 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16651 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16653 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16654 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16655 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16656 Comment on variable precision.
16657 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16658 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16660 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16661 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16662 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16663 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16664 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16666 2013-10-04 Alan Modra <amodra@gmail.com>
16668 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16669 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16670 all uses of ieee854 long double macros and unions.
16671 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16672 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16673 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16674 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16675 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16676 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16678 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16679 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16680 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16681 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16682 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16683 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16684 Simplify sign and nan test too.
16685 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16686 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16687 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16688 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16690 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16691 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16693 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16694 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16695 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16696 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16697 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16698 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16700 2013-10-04 Alan Modra <amodra@gmail.com>
16702 * stdio-common/printf_size.c (__printf_size): Don't use
16703 union ieee854_long_double in fpnum union.
16704 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16705 signbit macro to retrieve sign from long double.
16706 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16707 retrieve sign from long double.
16708 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16709 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16710 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16711 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16712 * math/test-misc.c (main): Don't use union ieee854_long_double.
16714 2013-10-04 Alan Modra <amodra@gmail.com>
16717 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16718 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16719 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16720 calculation. Remove unnecessary test for denormal exponent.
16721 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16722 Correct handling of denormals. Avoid undefined shift behaviour.
16723 Correct normalisation of low mantissa when low double is denormal.
16724 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16725 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16726 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16727 Correct normalisation of low mantissa. Test for overflow of high
16728 mantissa and normalise.
16729 (ldbl_nearbyint): Use more readable constant for two52.
16730 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16731 (__mpn_construct_long_double): Fix test for overflow of high
16732 mantissa and correct normalisation. Avoid undefined shift.
16734 2013-10-04 Alan Modra <amodra@gmail.com>
16736 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16737 (union ibm_extended_long_double): Define as an array of ieee754_double.
16738 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16739 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16740 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16741 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16745 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16750 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16752 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16753 page size instead of calling getpagesize.
16755 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16756 (LOCFILE_ALIGN_MASK): Likewise.
16757 (LOCFILE_ALIGN_UP): Likewise.
16758 (LOCFILE_ALIGNED_P): Likewise.
16759 * locale/programs/ld-collate.c (collate_output): Use the new
16760 macros instead of __alignof__ (int32_t).
16761 * locale/weight.h (findidx): Likewise.
16763 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16766 * manual/string.texi: Fix strncat and wcsncat.
16768 2013-10-03 Brooks Moses <bmoses@google.com>
16771 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16772 * Makerules: ...here, and adjust associated comments.
16774 2013-10-02 Will Newton <will.newton@linaro.org>
16776 * malloc/Makefile: Add tst-pvalloc.
16777 * malloc/tst-pvalloc.c: New file.
16779 2013-10-02 Will Newton <will.newton@linaro.org>
16781 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16782 improve test coverage.
16784 2013-10-02 Will Newton <will.newton@linaro.org>
16786 * malloc/Makefile: Add tst-posix_memalign.
16787 * malloc/tst-posix_memalign.c: New file.
16789 2013-10-01 Eric Blake <eblake@redhat.com>
16791 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16792 Use __THROWNL rather than __THROW on static functions.
16794 2013-09-30 Petr Machata <pmachata@redhat.com>
16796 * elf/elf.h (R_AARCH64_ABS16): New macro.
16797 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16798 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16799 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16800 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16801 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16802 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16803 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16804 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16805 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16806 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16807 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16808 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16809 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16810 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16811 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16812 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16813 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16814 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16815 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16816 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16817 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16818 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16819 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16820 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16821 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16822 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16823 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16824 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16825 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16826 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16827 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16828 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16829 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16830 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16831 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16832 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16833 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16834 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16835 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16836 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16837 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16838 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16839 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16840 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16841 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16842 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16843 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16844 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16845 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16846 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16847 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16848 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16849 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16850 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16851 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16852 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16853 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16854 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16855 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16856 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16857 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16858 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16859 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16860 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16861 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16862 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16863 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16864 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16865 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16866 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16867 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16868 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16869 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16870 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16871 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16872 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16873 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16874 (R_AARCH64_TLSDESC_LDR): Likewise.
16875 (R_AARCH64_TLSDESC_ADD): Likewise.
16876 (R_AARCH64_TLSDESC_CALL): Likewise.
16878 2013-09-30 Andreas Schwab <schwab@suse.de>
16881 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16882 the nss database lookup.
16883 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16886 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16888 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16890 2013-09-28 P. J. McDermott <pj@pehjota.net>
16892 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16893 ${Bash-specific parameter/pattern/string} parameter expansion.
16894 * sysdeps/unix/make-syscalls.sh: Likewise.
16896 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16898 * sysdeps/sh/stackguard-macros.h: New file.
16900 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16902 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16903 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16904 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16905 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16906 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16907 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16909 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16911 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16912 Fix thread ID register.
16914 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16916 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16917 [POSIX || UNIX98]: Require rather than permitting all symbols from
16919 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16920 element of struct sched_param.
16921 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16922 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16923 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16924 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16927 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16929 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16930 argument calculation.
16932 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16934 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16936 [POSIX] (pthread_attr_t): Do not require type.
16937 [POSIX] (pthread_cond_t): Likewise.
16938 [POSIX] (pthread_condattr_t): Likewise.
16939 [POSIX] (pthread_key_t): Likewise.
16940 [POSIX] (pthread_mutex_t): Likewise.
16941 [POSIX] (pthread_mutexattr_t): Likewise.
16942 [POSIX] (pthread_once_t): Likewise.
16943 [POSIX] (pthread_t): Likewise.
16944 [POSIX-based standards] (pthread_atfork): Expect function.
16946 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16947 Richard Sandiford <richard@codesourcery.com>
16949 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16950 (swap_endianness_p): New extern variable.
16951 (set_big_endian): New inline function.
16952 (maybe_swap_uint32): Likewise.
16953 (maybe_swap_uint32_array): Likewise.
16954 (maybe_swap_uint32_obstack): Likewise.
16955 * locale/programs/locfile.c: Include <stdbool.h>.
16956 (swap_endianness_p): New variable.
16957 (add_locale_uint32): Call maybe_swap_uint32.
16958 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16959 (write_locale_data): Call maybe_swap_uint32_array.
16960 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16962 (obstack_int32_grow_fast): Likewise.
16963 (output_weightwc): Call maybe_swap_uint32_obstack.
16964 (collate_output): Likewise.
16965 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16966 (OPT_LITTLE_ENDIAN): Likewise.
16967 (options): Add --little-endian and --big-endian options.
16968 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16969 * locale/programs/locarchive.c: Include "locfile.h".
16973 (create_archive): Use the new macros to access fields of
16974 structures directly mapped from or written to locale archives.
16975 (oldlocrecentcmp): Likewise.
16976 (enlarge_archive): Likewise.
16977 (insert_name): Likewise.
16978 (add_alias): Likewise.
16979 (add_locale): Likewise.
16980 (delete_locales_from_archive): Likewise.
16981 (show_archive_content): Likewise.
16982 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16985 2013-09-24 Roland McGrath <roland@hack.frob.com>
16987 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16988 http://www.gnu.org/doc/freemanuals.texi.
16989 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16991 2013-09-24 Will Newton <will.newton@linaro.org>
16993 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16996 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16998 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17001 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17003 * manual/threads.texi (POSIX Threads): Fix a typo.
17005 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17008 * string/tst-strcoll-overflow.c: New test case.
17009 * string/Makefile (xtests): Add tst-strcoll-overflow.
17010 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17011 cache if string sizes may cause integer overflow.
17014 * string/strcoll_l.c (coll_seq): New members rule, idx,
17015 save_idx and back_us.
17016 (get_next_seq_nocache): New function.
17017 (do_compare_nocache): New function.
17018 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17021 2013-09-23 Carlos O'Donell <carlos@redhat.com>
17024 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17025 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17026 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17029 * elf/Makefile (tests): Add tst-ptrguard1.
17030 (tests-static): Add tst-ptrguard1-static.
17031 (tst-ptrguard1-ARGS): Define.
17032 (tst-ptrguard1-static-ARGS): Define.
17033 * elf/tst-ptrguard1.c: New file.
17034 * elf/tst-ptrguard1-static.c: New file.
17035 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17036 * sysdeps/i386/stackguard-macros.h: Likewise.
17037 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17038 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17039 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17040 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17041 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17042 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17044 2013-09-23 Hector Marco <hecmargi@upv.es>
17045 Ismael Ripoll <iripoll@disca.upv.es>
17046 Carlos O'Donell <carlos@redhat.com>
17049 * sysdeps/generic/stackguard-macros.h: Define
17050 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17051 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17052 Define __pointer_chk_guard_local.
17053 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17054 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17056 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17059 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17061 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17063 * include/string.h (__ffs): Declare as hidden.
17064 * string/ffs.c (__ffs): Define as hidden.
17065 * sysdeps/i386/ffs.c (__ffs): Likewise.
17066 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17067 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17068 * sysdeps/s390/ffs.c (__ffs): Likewise.
17069 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17071 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
17073 * NEWS: Mention malloc probes.
17075 * malloc/arena.c (new_heap): New memory_heap_new probe.
17076 (grow_heap): New memory_heap_more probe.
17077 (shrink_heap): New memory_heap_less probe.
17078 (heap_trim): New memory_heap_free probe.
17079 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17080 (systrim): New memory_sbrk_less probe.
17081 * manual/probes.texi: Document them.
17083 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17084 * manual/probes.texi: Document it.
17086 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17087 (__libc_realloc): Add memory_realloc_retry probe.
17088 (__libc_memalign): Add memory_memalign_retry probe.
17089 (__libc_valloc): Add memory_valloc_retry probe.
17090 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17091 (__libc_calloc): Add memory_calloc_retry probe.
17092 * manual/probes.texi: Document them.
17094 * malloc/arena.c (get_free_list): Add probe
17095 memory_arena_reuse_free_list.
17096 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17097 and memory_arena_reuse.
17098 (arena_get2) [!PER_THREAD]: Likewise.
17099 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17100 memory_arena_reuse_realloc.
17101 * manual/probes.texi: Document them.
17103 * malloc/malloc.c (__libc_free): Add
17104 memory_mallopt_free_dyn_thresholds probe.
17105 (__libc_mallopt): Add multiple memory_mallopt probes.
17106 * manual/probes.texi: Document them.
17108 * malloc/malloc.c: Include stap-probe.h.
17109 (__libc_mallopt): Add memory_mallopt probe.
17110 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17111 * manual/probes.texi: New.
17112 * manual/Makefile (chapters): Add probes.
17113 * manual/threads.texi: Set next node.
17115 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
17117 [BZ #15963, #13985]
17118 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17119 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17120 Add `Chinese' to `nan' entry name.
17122 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17124 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17125 (POLYNOMIAL): Likewise.
17126 (TAYLOR_SINCOS): Likewise.
17127 (TAYLOR_SLOW): Likewise.
17128 (__sin): Use TAYLOR_SINCOS.
17130 (slow): Use TAYLOR_SLOW.
17132 (bsloww): Likewise.
17133 (csloww): Likewise.
17135 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17137 * stdlib/strtod_l.c: Fix buffer overrun.
17139 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17141 * benchtests/Makefile (bench): Add sincos.
17142 * benchtests/bench-sincos.c: New file.
17144 * math/libm-test.inc (cos_test_data): New test inputs.
17145 (sin_test_data): Likewise.
17147 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17153 (sloww1): Likewise.
17154 (sloww2): Likewise.
17155 (bsloww1): Likewise.
17156 (bsloww2): Likewise.
17157 (cslow2): Likewise.
17158 (csloww1): Likewise.
17159 (csloww2): Likewise.
17161 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17166 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17170 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17172 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17173 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17174 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17175 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17176 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17177 * elf/cache.c (print_entry): Handle the new cache flags.
17179 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17180 Aldy Hernandez <aldyh@redhat.com>
17182 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17183 Change condition to [_SOFT_FLOAT].
17184 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17187 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17188 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17189 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17190 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17191 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17192 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17193 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17194 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17195 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17196 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17197 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17198 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17199 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17202 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17204 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17205 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17206 (__longjmp): Use LOAD_GP to load saved GPRs.
17207 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17208 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17209 (__sigsetjmp): Use SAVE_GP to save GPRs.
17211 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17212 Do not append -msoft-float.
17213 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17215 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17217 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17219 2013-09-17 Joseph Myers <joseph@codesourcery.com>
17222 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17223 (_FPU_GETCW): Use initial "__" on variable and field names but not
17224 on macro parameter name.
17225 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17226 parentheses around reference to macro parameter.
17228 2013-09-13 Richard Sandiford <richard@codesourcery.com>
17230 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17232 (ctype_startup): Use uint32_t in cast and sizeof for
17235 2013-09-11 Jia Liu <proljc@gmail.com>
17237 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17239 [__FreeBSD__]: Likewise.
17241 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
17243 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17244 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17245 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17246 (strchr): Remove __strchr_sse42 ifunc selection.
17247 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17248 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17250 2013-09-11 Will Newton <will.newton@linaro.org>
17252 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17253 parameter to RES. Remove hardcoded 1000 value.
17254 * benchtests/bench-skeleton.c (main): Pass RES parameter
17255 to TIMING_INIT and multiply result by 1000.
17257 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17261 2013-09-11 Andreas Schwab <schwab@suse.de>
17263 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17265 (O_TMPFILE) [__USE_GNU]: Define.
17266 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17269 2013-09-11 Will Newton <will.newton@linaro.org>
17272 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17275 2013-09-11 Will Newton <will.newton@linaro.org>
17278 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17281 2013-09-11 Will Newton <will.newton@linaro.org>
17284 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17287 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
17289 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17290 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17291 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17292 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17293 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17295 2013-09-10 Allan McRae <allan@archlinux.org>
17298 * manual/arith.texi (Parsing of Floats): Clarify
17302 * manual/install.texi (Running make install): Mention
17304 * INSTALL: Regenerated.
17306 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17308 * csu/init-first.c (_init): Remove the !SHARED condition around
17309 FPU control word initialization.
17310 * elf/dl-support.c (_dl_fpu_control): New variable.
17311 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17312 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17313 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17314 * math/test-fpucw-static.c: New file.
17315 * math/test-fpucw-ieee.c: New file.
17316 * math/test-fpucw-ieee-static.c: New file.
17317 * math/Makefile (tests): Add `test-fpucw-ieee' and
17319 (tests-static): New variable.
17320 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17322 [($(build-shared),yes)]
17323 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17325 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17328 2013-09-09 Allan McRae <allan@archlinux.org>
17331 * manual/string.texi (Collation Functions): Fix typo in
17333 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17336 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17339 * libio/memstream.c (open_memstream): Fix memory leak.
17340 * libio/wmemstream.c (open_wmemstream): Likewise.
17343 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17345 2013-09-09 Will Newton <will.newton@linaro.org>
17347 * malloc/Makefile: Add tst-realloc to tests.
17348 * malloc/tst-realloc.c: New file.
17350 2013-09-09 Allan McRae <allan@archlinux.org>
17353 * COPYING: Update from GNU website to fix FSF address.
17354 * COPYING.LIB: Likewise.
17356 2013-09-06 David S. Miller <davem@davemloft.net>
17358 * po/zh_TW.po: Update Chinese (traditional) translation from
17359 translation project.
17361 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17362 Joseph Myers <joseph@codesourcery.com>
17364 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17366 (obstack_chunk_alloc): New macro.
17367 (obstack_chunk_free): Likewise.
17368 (record_offset): New function.
17369 (init_locale_data): Likewise.
17370 (align_locale_data): Likewise.
17371 (add_locale_empty): Likewise.
17372 (add_locale_raw_data): Likewise.
17373 (add_locale_raw_obstack): Likewise.
17374 (add_locale_string): Likewise.
17375 (add_locale_wstring): Likewise.
17376 (add_locale_uint32): Likewise.
17377 (add_locale_uint32_array): Likewise.
17378 (add_locale_char): Likewise.
17379 (start_locale_structure): Likewise.
17380 (end_locale_structure): Likewise.
17381 (start_locale_prelude): Likewise.
17382 (end_locale_prelude): Likewise.
17383 (write_locale_data): Take locale_file structure rather than an
17385 * locale/programs/locfile.h: Include "obstack.h".
17386 (struct locale_file): Change to store locale file contents instead
17388 (init_locale_data): New prototype.
17389 (align_locale_data): Likewise.
17390 (add_locale_empty): Likewise.
17391 (add_locale_raw_data): Likewise.
17392 (add_locale_raw_obstack): Likewise.
17393 (add_locale_string): Likewise.
17394 (add_locale_wstring): Likewise.
17395 (add_locale_uint32): Likewise.
17396 (add_locale_uint32_array): Likewise.
17397 (add_locale_char): Likewise.
17398 (start_locale_structure): Likewise.
17399 (end_locale_structure): Likewise.
17400 (start_locale_prelude): Likewise.
17401 (end_locale_prelude): Likewise.
17402 (write_locale_data): Update prototype.
17403 * locale/programs/3level.h (struct TABLE): Remove result field.
17404 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17405 Use new locale_file interface.
17406 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17407 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17408 * locale/programs/ld-address.c (address_output): Use new
17409 locale_file interface.
17410 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17412 (collate_finish): Don't call collseq_table_finalize.
17413 (collate_output): Use new locale_file interface.
17414 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17416 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17417 (TABLE): Move defines earlier in file.
17418 (ELEMENT): Likewise.
17419 (DEFAULT): Likewise.
17420 (wctrans_table_add): Move macro and inline function earlier in
17422 (struct wctype_table): Move type earlier in file.
17423 (add_locale_wctype_table): New static prototype.
17424 (struct locale_ctype_t): Use logical types instead of struct iovec
17425 pointers for members.
17426 (ctype_output): Use new locale_file interface.
17427 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17428 new locale_file interface.
17429 (allocate_arrays): Update for use of new locale_file interface.
17430 * locale/programs/ld-identification.c (identification_output): Use
17431 new locale_file interface.
17432 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17433 * locale/programs/ld-messages.c (messages_output): Likewise.
17434 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17435 * locale/programs/ld-name.c (name_output): Likewise.
17436 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17437 * locale/programs/ld-paper.c (paper_output): Likewise.
17438 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17439 * locale/programs/ld-time.c (time_output): Likewise.
17441 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17443 * benchtests/Makefile: Add memrchr benchmark.
17444 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17445 benchmark as memrchr.
17446 * benchtests/bench-memrchr-ifunc.c: New file.
17447 * benchtests/bench-memrchr.c: New file.
17449 2013-09-06 Will Newton <will.newton@linaro.org>
17451 * benchtests/Makefile (string-bench): Add memcpy.
17453 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17454 Cong Wang <amwang@redhat.com>
17457 * sysdeps/unix/sysv/linux/bits/in.h
17458 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17459 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17460 before __USE_KERNEL_IPV6_DEFS uses.
17461 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17463 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17464 sockaddr_in6, or ipv6_mreq.
17466 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17468 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17469 memory access for final bytes in some large inputs.
17470 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17472 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17474 * string/test-memrchr.c: New file.
17475 * string/test-memrchr-ifunc.c: New file.
17476 * string/Makefile: Add new memrchr testcase.
17478 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17480 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17481 fanotify_init returns EPERM.
17483 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17485 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17487 (top level): Treat second token from macro or constant entries for
17488 allowed headers as allowed.
17489 * include/complex.h: Condition internal declarations on
17491 * include/fenv.h: Condition include of <stdbool.h> and internal
17492 declarations on [!_ISOMAC].
17494 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17497 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17499 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17501 * configure.in (--enable-versioning): Remove configure option.
17502 (libc_cv_asm_symver_directive): Remove configure test.
17503 (libc_cv_ld_version_script_option): Likewise.
17504 (VERSIONING): Remove variable and AC_SUBST.
17505 (DO_VERSIONING): Remove AC_DEFINE.
17506 * configure: Regenerated.
17507 * config.h.in (DO_VERSIONING): Remove macro.
17508 * Makerules [$(versioning) = yes]: Change conditionals to
17509 [$(build-shared) = yes].
17510 * config.make.in (versioning): Remove variable.
17511 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17512 [$(build-shared) = yes].
17513 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17514 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17515 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17516 [$(build-shared) = yes].
17517 * extra-lib.mk [$(versioning) = yes]: Likewise.
17518 * hurd/Makefile [$(versioning) = yes]: Likewise.
17519 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17521 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17523 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17524 [SHARED && !NO_HIDDEN].
17525 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17527 [SHARED && DO_VERSIONING]: Likewise..
17528 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17529 [$(build-shared) = yes].
17530 * manual/install.texi (--disable-versioning): Remove
17532 * INSTALL: Regenerated.
17533 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17535 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17536 [$(build-shared) = yes].
17537 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17538 * sysdeps/i386/i686/multiarch/strstr-c.c
17539 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17540 [SHARED && !NO_HIDDEN].
17541 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17542 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17543 * sysdeps/powerpc/powerpc32/dl-machine.c
17544 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17545 * sysdeps/powerpc/powerpc32/sysdep.h
17546 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17547 to [SHARED && PIC && !NO_HIDDEN].
17548 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17549 conditional to [SHARED].
17551 2013-09-04 Will Newton <will.newton@linaro.org>
17553 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17554 * benchtests/bench-string.h: Include bench-timing.h instead
17555 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17556 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17557 call to HP_TIMING_DIFF_INIT.
17558 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17559 instead of hp-timing.h macros.
17560 * benchtests/bench-memchr.c: Likewise.
17561 * benchtests/bench-memcmp.c: Likewise.
17562 * benchtests/bench-memcpy.c: Likewise.
17563 * benchtests/bench-memmem.c: Likewise.
17564 * benchtests/bench-memmove.c: Likewise.
17565 * benchtests/bench-memset.c: Likewise.
17566 * benchtests/bench-rawmemchr.c: Likewise.
17567 * benchtests/bench-strcasecmp.c: Likewise.
17568 * benchtests/bench-strcasestr.c: Likewise.
17569 * benchtests/bench-strcat.c: Likewise.
17570 * benchtests/bench-strchr.c: Likewise.
17571 * benchtests/bench-strcmp.c: Likewise.
17572 * benchtests/bench-strcpy.c: Likewise.
17573 * benchtests/bench-strcpy_chk.c: Likewise.
17574 * benchtests/bench-strlen.c: Likewise.
17575 * benchtests/bench-strncasecmp.c: Likewise.
17576 * benchtests/bench-strncat.c: Likewise.
17577 * benchtests/bench-strncmp.c: Likewise.
17578 * benchtests/bench-strncpy.c: Likewise.
17579 * benchtests/bench-strnlen.c: Likewise.
17580 * benchtests/bench-strpbrk.c: Likewise.
17581 * benchtests/bench-strrchr.c: Likewise.
17582 * benchtests/bench-strspn.c: Likewise.
17583 * benchtests/bench-strstr.c: Likewise.
17585 2013-09-04 Will Newton <will.newton@linaro.org>
17587 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17589 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17592 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17593 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17594 * math/libm-test.inc (lgamma_test_data): Add more tests.
17595 * sysdeps/i386/fpu/libm-test-ulps: Update.
17596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17598 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17600 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17601 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17604 Add strcmp-sse2-unaligned
17605 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17607 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17609 * Versions.def (libc): Add GLIBC_2.19.
17611 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17613 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17614 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17616 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17619 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17620 intermediate calculations in recurrence.
17621 (__ieee754_ynf): Likewise.
17622 * math/libm-test.inc (jn_test_data): Do not allow spurious
17623 underflow exception. Add more tests.
17624 (yn_test_data): Add more tests.
17625 * sysdeps/i386/fpu/libm-test-ulps: Update.
17626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17628 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17630 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17632 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17634 * csu/init-first.c: Fix then/than typos.
17635 * locale/programs/ld-collate.c: Likewise.
17636 * locale/programs/linereader.h: Likewise.
17637 * manual/charset.texi: Likewise.
17638 * manual/filesys.texi: Likewise.
17639 * manual/stdio.texi: Likewise.
17640 * manual/string.texi: Likewise.
17641 * stdlib/fmtmsg.c: Likewise.
17642 * sysdeps/i386/stpncpy.S: Likewise.
17643 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17644 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17645 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17646 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17648 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17650 * elf/dl-open.c: Fix typos.
17651 * iconvdata/gbbig5.c: Likewise.
17652 * iconvdata/iso-2022-jp.c: Likewise.
17653 * iconv/gconv_int.h: Likewise.
17654 * iconv/loop.c: Likewise.
17655 * nis/rpcsvc/nis.h: Likewise.
17656 * resolv/ns_name.c: Likewise.
17657 * stdio-common/vfscanf.c: Likewise.
17658 * streams/stropts.h: Likewise.
17659 * sunrpc/rpc_thread.c: Likewise.
17660 * sysdeps/i386/strpbrk.S: Likewise.
17661 * sysdeps/ieee754/k_standard.c: Likewise.
17662 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17663 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17664 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17665 * sysdeps/mach/hurd/profil.c: Likewise.
17666 * sysdeps/s390/dl-procinfo.h: Likewise.
17667 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17668 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17669 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17670 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17671 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17673 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17675 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17676 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17678 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17680 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17681 aix specific files.
17682 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17683 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17684 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17685 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17686 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17687 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17688 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17689 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17691 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17692 Roland McGrath <roland@hack.frob.com>
17694 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17695 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17697 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17699 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17700 __executable_start symbol instead of _start.
17702 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17704 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17705 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17707 * sysdeps/gnu/ldsodefs.h: ... this new file.
17709 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17710 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17711 instead of ELFOSABI_LINUX.
17713 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17714 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17715 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17716 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17718 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17719 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17720 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17722 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17723 (ibm_extended_long_double): Add ieee_nan member.
17724 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17725 (do_test): New function.
17727 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17729 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17730 functions, renamed from truncdfsf_test, trunctfsf_test,
17732 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17734 (do_test): Run all these.
17736 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17738 * argp/argp-help.c: Fix typos.
17739 * argp/argp-parse.c: Likewise.
17740 * debug/backtracesyms.c: Likewise.
17741 * elf/elf.h: Likewise.
17742 * malloc/malloc.c: Likewise.
17743 * nis/nis_print.c: Likewise.
17744 * resolv/res_comp.c: Likewise.
17745 * stdlib/stdlib.h: Likewise.
17746 * sunrpc/clnt_tcp.c: Likewise.
17747 * sunrpc/clnt_udp.c: Likewise.
17748 * sunrpc/clnt_unix.c: Likewise.
17749 * sysdeps/unix/bsd/ptsname.c: Likewise.
17750 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17751 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17758 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17760 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17762 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17765 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17768 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17769 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17770 ($(objpfx)bug-dl-leaf): New rule.
17771 ($(objpfx)bug-dl-leaf.so): Likewise.
17772 ($(objpfx)bug-dl-leaf.out): Likewise.
17773 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17774 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17775 * dlfcn/bug-dl-leaf.c: New test.
17776 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17777 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17778 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17779 (dlclose): Likewise.
17780 (dlmopen): Likewise.
17782 2013-08-27 Roland McGrath <roland@hack.frob.com>
17784 * include/netdb.h [!_ISOMAC]:
17785 Don't include <tls.h>.
17786 (h_errno, __libc_h_errno): Move declaration and macros out of
17789 * include/resolv.h [_RESOLV_H_]:
17790 Don't include <tls.h>.
17791 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17792 * resolv/res_libc.c: Don't include <tls.h>.
17793 (_res): Use __attribute__ ((nocommon)) in place of
17794 __attribute__ ((section (".bss"))).
17796 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17797 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17799 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17801 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17802 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17804 * resolv/res_mkquery.c: Include <sys/time.h>.
17806 * inet/ifreq.c: Moved to ...
17807 * sysdeps/unix/ifreq.c: ... here.
17808 * inet/ifreq.c: New file, true stub version.
17810 * socket/sa_len.c: New file.
17811 * socket/Makefile (aux): Add it.
17812 * sysdeps/unix/sysv/linux/Makefile
17813 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17814 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17815 and #include <socket/sa_len.c>.
17816 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17817 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17819 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17820 * bits/socket.h: ... here.
17822 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17823 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17824 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17826 2013-08-27 Andreas Schwab <schwab@suse.de>
17829 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17830 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17831 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17832 * string/test-strcasecmp.c (test_main): Run tests in several
17834 * string/test-strncasecmp.c (test_main): Likewise.
17836 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17837 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17838 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17839 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17840 (__strncasecmp_ssse3) [PIC]: Likewise.
17842 2013-08-26 Roland McGrath <roland@hack.frob.com>
17844 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17846 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17847 instead of explicitly declaring xdecrypt.
17848 * nis/nss_nis/nis-publickey.c: Likewise.
17850 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17853 * nscd/aicache.c: Include res_hconf.h.
17854 (addhstaiX): Initialize res_hconf.
17856 2013-08-26 Andreas Schwab <schwab@suse.de>
17858 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17859 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17861 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17863 * nscd/aicache.c (addhstaiX): Fix indentation.
17865 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17867 * configure.ac: Quote $build_pt_chown test.
17868 * configure: Regenerated.
17870 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17873 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17874 * math/s_cexpf.c (__cexpf): Likewise.
17875 * math/s_cexpl.c (__cexpl): Likewise.
17876 * math/libm-test.inc (cexp_test_data): Correct expected return
17877 value for NaN + i0. Add another test.
17879 2013-08-22 David S. Miller <davem@davemloft.net>
17881 * po/ca.po: Update Catalan translation from translation project.
17882 * po/uk.po: Add Ukrainian translations from translation project.
17884 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17887 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17888 is infinite, not alongside NaN test.
17889 * math/s_fdimf.c (__fdimf): Likewise.
17890 * math/s_fdiml.c (__fdiml): Likewise.
17891 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17892 errno is unchanged.
17894 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17896 * argp/argp-help.c: Fix typos.
17897 * crypt/speeds.c: Likewise.
17898 * csu/check_fds.c: Likewise.
17899 * elf/dl-load.c: Likewise.
17900 * elf/dl-open.c: Likewise.
17901 * elf/reldep3.c: Likewise.
17902 * elf/reldep.c: Likewise.
17903 * elf/sprof.c: Likewise.
17904 * iconv/iconv_charmap.c: Likewise.
17905 * iconv/skeleton.c: Likewise.
17906 * iconv/strtab.c: Likewise.
17907 * io/lockf64.c: Likewise.
17908 * libio/libioP.h: Likewise.
17909 * resolv/gai_notify.c: Likewise.
17910 * resolv/ns_name.c: Likewise.
17911 * resolv/ns_samedomain.c: Likewise.
17912 * resolv/res_send.c: Likewise.
17913 * stdlib/random.c: Likewise.
17914 * sunrpc/rpc/xdr.h: Likewise.
17915 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17916 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17917 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17918 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17919 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17920 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17921 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17922 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17923 * sysdeps/mach/hurd/check_fds.c: Likewise.
17924 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17925 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17926 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17927 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17928 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17929 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17930 * sysdeps/pthread/aio_notify.c: Likewise.
17931 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17932 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17933 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17934 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17935 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17937 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17939 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17940 version if bit_Slow_SSE4_2 is set.
17941 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17942 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17944 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17947 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17948 trampoline stack frame information.
17949 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17950 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17951 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17952 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17953 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17954 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17955 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17956 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17958 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17959 interrupting a syscall and set with option SA_SIGINFO.
17961 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17964 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17965 argument is infinite.
17966 * math/s_cprojf.c (__cprojf): Likewise.
17967 * math/s_cprojl.c (__cprojl): Likewise.
17968 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17969 * math/libm-test.inc (cproj_test_data): Add more tests.
17971 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17973 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17974 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17975 size. Use __ffs to determine corresponding shift.
17977 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17978 Roland McGrath <roland@hack.frob.com>
17980 * Makefile (INSTALL): Remove trailing blank lines from output of
17983 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17985 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17986 Align 32 bit compat elf_greg to 8 bytes.
17988 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17990 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17992 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17994 * string/strcoll_l.c (coll_seq): New structure.
17995 (get_next_seq_cached): New function.
17996 (get_next_seq): New function.
17997 (do_compare): New function.
17998 (STRCOLL): Use GNU style definition. Simplify implementation
17999 by using get_next_seq, get_next_seq_cached and do_compare.
18001 2013-08-16 Florian Weimer <fweimer@redhat.com>
18005 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18007 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18009 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18010 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18011 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18013 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18014 GETDENTS_64BIT_ALIGNED.
18015 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18016 * manual/filesys.texi (Reading/Closing Directory): Document
18017 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18019 * manual/conf.texi (Limits for Files): Add portability note to
18020 NAME_MAX, PATH_MAX.
18021 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18023 2013-08-13 Andreas Schwab <schwab@suse.de>
18026 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18028 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18029 LDBL_MAX_EXP >= 16384]: Add tests for it.
18031 2013-08-12 David S. Miller <davem@davemloft.net>
18033 * version.h (RELEASE): Set to "development".
18034 (VERSION): Set to "2.18.90".
18035 * NEWS: Add 2.19 section.
18037 2013-08-03 David S. Miller <davem@davemloft.net>
18039 * po/ko.po: Update Korean translation from translation project.
18041 2013-08-01 David S. Miller <davem@davemloft.net>
18043 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18044 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18047 2013-07-30 David S. Miller <davem@davemloft.net>
18049 * po/fr.po: Update French translation from translation project.
18051 2013-07-28 David S. Miller <davem@davemloft.net>
18053 * po/cs.po: Update Czech translation from translation project.
18055 * po/sv.po: Update Swedish translation from translation project.
18057 2013-07-27 David S. Miller <davem@davemloft.net>
18059 * po/eo.po: Update Esperanto translation from translation project.
18061 * po/vi.po: Update Vietnamese translation from translation project.
18063 * po/de.po: Update German translation from translation project.
18065 2013-07-26 David S. Miller <davem@davemloft.net>
18067 * po/bg.po: Update Bulgarian translation from translation project.
18069 * po/nl.po: Update Dutch translation from translation project.
18070 * po/pl.po: Update Polish translation from translation project.
18071 * po/ru.po: Update Russian translation from translation project.
18073 2013-07-24 David S. Miller <davem@davemloft.net>
18075 * po/libc.pot: Update.
18077 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18079 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18080 variable page size.
18081 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18082 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18083 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18085 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18087 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18089 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18090 Andreas Schwab <schwab@suse.de>
18091 Roland McGrath <roland@hack.frob.com>
18092 Joseph Myers <joseph@codesourcery.com>
18093 Carlos O'Donell <carlos@redhat.com>
18096 * config.h.in: Define HAVE_PT_CHOWN.
18097 * config.make.in (build-pt-chown): New variable.
18098 * configure.in (--enable-pt_chown): New configure option.
18099 * configure: Regenerate.
18100 * login/Makefile: Include Makeconfig. Build pt_chown only if
18101 build-pt-chown is enabled.
18102 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18103 pt_chown to fix pty ownership.
18104 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18106 * manual/install.texi (Configuring and compiling): Mention
18107 --enable-pt_chown. Add @findex for grantpt.
18108 * INSTALL: Regenerate.
18110 2013-07-20 David S. Miller <davem@davemloft.net>
18112 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18113 difference between 32-bit and 64-bit.
18115 2013-07-15 Carlos O'Donell <carlos@redhat.com>
18118 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18119 Avoid system header dependency with -ffreestanding.
18120 ($(objpfx)bits/syscall%d): Likewise.
18122 2013-07-13 David S. Miller <davem@davemloft.net>
18124 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18125 underflows from atanl/atan2l due to bug 15319.
18126 (casinh_test_data): Likewise.
18128 2013-07-07 David S. Miller <davem@davemloft.net>
18130 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18132 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18134 * sysdeps/i386/fpu/libm-test-ulps: Update.
18135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18137 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18139 * configure.in (--enable-lock-elision): Fix message text.
18140 * INSTALL: Regenerate.
18141 * configure: Regenerate.
18143 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18147 2013-07-03 Andreas Jaeger <aj@suse.de>
18149 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18151 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18152 (ptrace_peeksiginfo_args): Add.
18153 (__ptrace_peeksiginfo_flags): Add.
18154 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18155 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18156 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18158 2013-07-03 Allan McRae <allan@archlinux.org>
18160 * sysdeps/i386/fpu/libm-test-ulps: Update.
18162 2013-07-02 David S. Miller <davem@davemloft.net>
18164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18166 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18170 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18172 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18175 2013-07-02 Andi Kleen <ak@linux.intel.com>
18177 * config.h.in (ENABLE_LOCK_ELISION): Add.
18178 * configure.in (--enable-lock-elision): Add option.
18179 * manual/install.texi: Document --enable lock elision.
18180 * configure: Regenerate
18181 * INSTALL: Regenerate.
18183 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18185 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18186 SSE4.2 strcasecmp for libc.a.
18187 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18189 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18192 * soft-fp/op-common.h (_FP_FMA): New macro.
18193 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18194 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18195 (_FP_MUL_MEAT_1_imm): ... here.
18196 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18197 (_FP_MUL_MEAT_1_wide): ... here.
18198 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18199 (_FP_MUL_MEAT_1_hard): ... here.
18200 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18201 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18202 (_FP_MUL_MEAT_2_wide): ... here.
18203 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18204 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18205 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18206 (_FP_MUL_MEAT_2_gmp): ... here.
18207 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18208 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18209 (_FP_MUL_MEAT_4_wide): ... here.
18210 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18211 (_FP_MUL_MEAT_4_gmp): ... here.
18212 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18213 (_FP_WFRACBITS_DW_S): Likewise.
18214 (_FP_WFRACXBITS_DW_S): Likewise.
18215 (_FP_HIGHBIT_DW_S): Likewise.
18216 (FP_FMA_S): Likewise.
18217 (_FP_FRAC_HIGH_DW_S): Likewise.
18218 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18219 (_FP_WFRACBITS_DW_D): Likewise.
18220 (_FP_WFRACXBITS_DW_D): Likewise.
18221 (_FP_HIGHBIT_DW_D): Likewise.
18222 (FP_FMA_D): Likewise.
18223 (_FP_FRAC_HIGH_DW_D): Likewise.
18224 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18225 (_FP_WFRACBITS_DW_E): Likewise.
18226 (_FP_WFRACXBITS_DW_E): Likewise.
18227 (_FP_HIGHBIT_DW_E): Likewise.
18228 (FP_FMA_E): Likewise.
18229 (_FP_FRAC_HIGH_DW_E): Likewise.
18230 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18231 (_FP_WFRACBITS_DW_Q): Likewise.
18232 (_FP_WFRACXBITS_DW_Q): Likewise.
18233 (_FP_HIGHBIT_DW_Q): Likewise.
18234 (FP_FMA_Q): Likewise.
18235 (_FP_FRAC_HIGH_DW_Q): Likewise.
18236 * soft-fp/fmasf4.c: New file.
18237 * soft-fp/fmadf4.c: Likewise.
18238 * soft-fp/fmatf4.c: Likewise.
18240 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18242 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18243 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18245 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18247 (index_Slow_SSE4_2): Likewise.
18248 (index_Prefer_PMINUB_for_stringop): Likewise.
18249 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18250 bit_Slow_SSE4_2 is set.
18251 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18252 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18254 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18256 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18257 rtld_global._dl_hwcap2.
18258 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18260 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18261 POWER8 feature descriptions defined in _dl_hwcap2.
18262 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18263 string handling for POWER8 feature bits.
18264 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18265 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18266 _dl_powerpc_cap_flags.
18267 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18268 * sysdeps/powerpc/rtld-global-offsets.sym
18269 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18270 _dl_hwcap2 in the rtld_global_ro structure.
18272 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18274 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18275 hardware capabilities in support of AT_HWCAP2.
18276 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18277 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18279 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18280 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18281 explicitly the unknown a_type display mechanism is used.
18282 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18283 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18285 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18286 to macro prototype for AT_HWCAP2 support.
18287 * sysdeps/i386/dl-procinfo.h: Likewise.
18288 * sysdeps/s390/dl-procinfo.h: Likewise.
18289 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18290 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18291 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18292 return -1 for unknown a_type display fallback.
18293 * sysdeps/sparc/dl-procinfo.h: Likewise.
18294 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18295 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18297 2013-06-28 Joseph Myers <joseph@codesourcery.com>
18299 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18300 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18302 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18305 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18306 mprotect making __stack_prot writable.
18308 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18309 Joseph Myers <joseph@codesourcery.com>
18311 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18312 as being properly aligned.
18314 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18316 * dlfcn/modstatic5.c: New file.
18317 * dlfcn/tststatic5.c: New file.
18318 * dlfcn/Makefile (tests): Add tststatic5.
18319 (tests-static): Likewise.
18320 (modules-names): Add modstatic5.
18321 (tststatic5-ENV): New variable.
18322 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18325 * elf/dl-support.c (_dl_main_map): New variable.
18326 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18327 (_dl_nns, _dl_load_adds): Set to 1.
18328 (_dl_initial_searchlist): Refer to _dl_main_map.
18329 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18330 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18331 call to _dl_get_origin.
18332 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18334 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18335 * dlfcn/modstatic3.c: New file.
18336 * dlfcn/tststatic3.c: New file.
18337 * dlfcn/tststatic4.c: New file.
18338 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18339 (tests-static): Likewise.
18340 (modules-names): Add modstatic3.
18341 (tststatic3-ENV, tststatic4-ENV): New variables.
18342 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18343 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18345 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18347 * configure.in (CC): Require GCC version 4.4 or later.
18348 * configure: Regenerated.
18349 * manual/install.texi (Tools for Compilation): Update GCC version
18351 * INSTALL: Regenerated.
18353 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18356 * string/test-memcmp.c (check2): New.
18357 (main): Call check2.
18359 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18361 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18364 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18366 (dl_open_worker) [!SHARED]: ... here.
18368 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18370 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18372 2013-06-25 Richard Henderson <rth@redhat.com>
18374 * locale/programs/locarchive.c: Include <libc-internal.h>
18376 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18378 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18379 trailing whitespace removed.
18381 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18384 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18385 * locale/programs/locarchive.c: Include libc-mmap.h.
18386 (prepare_address_space): Take two new outputs (the mmap base and len).
18387 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18389 (create_archive): Declare new mmap base and len values for
18390 prepare_address_space, and store the result in ah.
18391 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18392 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18393 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18394 Declare new mmap base and len values for
18395 prepare_address_space, and store the result in new_ah.
18396 (open_archive): Declare new mmap base and len values for
18397 prepare_address_space, and store the result in ah.
18398 (close_archive): If ah->mmap_base is not NULL, use that and
18399 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18400 * sysdeps/generic/libc-mmap.h: New file.
18402 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18404 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18405 (ALIGN_UP): Likewise.
18406 (PTR_ALIGN_DOWN): Likewise.
18407 (PTR_ALIGN_UP): Likewise.
18409 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18411 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18412 entry mapped to PPC_PLATFORM_POWER8.
18413 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18415 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18416 (_dl_string_platform): Add case for exporting platform position for
18418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18419 search path to sysdeps/powerpc/powerpc32/power8 directory.
18420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18421 search path to sysdeps/powerpc/powerpc64/power8 directory.
18422 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18423 power7 directories.
18424 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18425 power7 directories.
18427 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18429 * INSTALL: Regenerate.
18431 * nscd/connections.c (nscd_init): Fix comment.
18433 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18435 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18438 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18439 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18441 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18443 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18445 (DL_DST_REQ_STATIC): Remove macro.
18447 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18450 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18451 with a shift of 0 bits.
18453 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18455 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18458 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18461 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18463 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18465 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18466 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18467 accepts -fno-tree-loop-distribute-patterns.
18468 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18469 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18471 * string/memset.c (memset): Likewise.
18472 * string/test-memmove.c (simple_memmove): Disable loop transformation
18474 * string/test-memset.c (simple_memset): Likewise.
18475 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18476 * benchtests/bench-memset.c (simple_memset): Likewise.
18477 * configure: Regenerated.
18479 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18481 * math/test-misc.c (main): Ignore fesetround failure when failures
18482 of subsequent rounding tests would be ignored.
18485 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18486 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18487 * math/fegetenv.c (__fegetenv): Return 0.
18488 * math/fegetexcept.c (fegetexcept): Return 0.
18489 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18491 * math/feholdexcpt.c (feholdexcept): Return 0.
18492 * math/fesetenv.c (__fesetenv): Return 0.
18493 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18494 argument FE_TONEAREST.
18495 * math/feupdateenv.c (__feupdateenv): Return 0.
18496 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18498 2013-06-18 Roland McGrath <roland@hack.frob.com>
18500 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18501 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18502 ($(objpfx)rtld-%.os rules): Use them.
18504 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18506 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18509 2013-06-17 Roland McGrath <roland@hack.frob.com>
18511 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18512 length of target pattern, then descending length of dependency pattern.
18513 * configure.in (AWK): Require gawk 3.1.2 or newer.
18514 * manual/install.texi (Tools for Compilation): Say that we do.
18515 * configure: Regenerated.
18517 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18518 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18519 * scripts/sysd-rules.awk: ... this new script.
18520 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18521 than a glob-style pattern.
18523 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18525 * math/test-misc.c (main): Do not treat incorrectly rounded
18526 conversions as failure unless ROUNDING_TESTS passes.
18528 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18531 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18532 restore exception state around main square root computation, then
18533 check for inexactness explicitly.
18535 * math/libm-test.inc (fma_test_data): Add another test.
18537 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18539 * manual/threads.texi (Non-POSIX Extensions): New document
18540 node. Document pthread_getattr_default_np and
18541 pthread_setattr_default_np.
18543 * Versions.def (libpthread): Add GLIBC_2.18.
18544 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18553 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18564 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18567 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18569 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18570 H.J. Lu <hjl.tools@gmail.com>
18573 * sysdeps/x86_64/rtld-memset.c: Remove file.
18574 * sysdeps/x86_64/rtld-memset.S: New file.
18576 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18578 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18579 (test_in_one_mode): Take arguments for whether the rounding mode
18580 is supported for each floating-point type.
18581 (do_test): Pass new arguments to test_in_one_mode using
18584 2013-06-13 Roland McGrath <roland@hack.frob.com>
18586 * posix/tst-waitid.c (do_test): Distinguish different instances of
18587 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18588 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18589 before entering the kernel for waitpid.
18591 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18593 * NEWS: Fix note on clock function precision. Text by Roland
18596 2013-06-13 Roland McGrath <roland@hack.frob.com>
18598 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18599 it into place only when and if the sanity check passes.
18601 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18603 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18604 output for whether conversion result is exact. Take argument
18605 indicating whether type is IBM long double.
18606 (round_for_all): Change need_exact field to ibm_ld.
18607 * stdlib/tst-strtod-round.c (struct exactness): New type.
18608 (struct test): Change bool ld_ok field to struct exactness exact.
18609 (TEST): Update all definitions for change to field.
18610 (tests): Regenerate array contents.
18611 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18612 field value. Check for IBM long double here.
18613 (do_test): Update calls to test_in_one_mode.
18615 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18618 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18619 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18621 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18624 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18625 generated by the compiler on loop optimizations.
18626 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18627 general definitions.
18629 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18631 * math/bug-nextafter.c: Include <math-tests.h>.
18632 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18634 * math/bug-nexttoward.c: Include <math-tests.h>.
18635 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18637 * math/test-misc.c: Include <math-tests.h>.
18638 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18641 2013-06-12 Andreas Jaeger <aj@suse.de>
18643 * po/ia.po: Update Interlingua translation from translation
18646 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18648 * include/fenv.h: Include stdbool.h.
18649 (struct rm_ctx): New structure.
18650 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18652 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18653 (SET_RESTORE_ROUNDF): Likewise.
18654 (SET_RESTORE_ROUNDL): Likewise.
18655 (SET_RESTORE_ROUND_NOEX): Likewise.
18656 (SET_RESTORE_ROUND_NOEXF): Likewise.
18657 (SET_RESTORE_ROUND_NOEXL): Likewise.
18658 (SET_RESTORE_ROUND_53BIT): Likewise.
18659 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18660 (libc_feresetround_noexf_ctx): Likewise.
18661 (libc_feresetround_noexl_ctx): Likewise.
18662 (libc_feholdsetround_53bit_ctx): Likewise.
18663 (libc_feresetround_53bit_ctx): Likewise.
18664 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18665 (libc_feholdexcept_setround_sse_ctx): New function.
18666 (libc_fesetenv_sse_ctx): Likewise.
18667 (libc_feupdateenv_sse_ctx): Likewise.
18668 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18669 (libc_feholdexcept_setround_387_ctx): Likewise.
18670 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18671 (libc_feholdsetround_387_prec_ctx): Likewise.
18672 (libc_feholdsetround_387_ctx): Likewise.
18673 (libc_feholdsetround_387_53bit_ctx): Likewise.
18674 (libc_feholdsetround_sse_ctx): Likewise.
18675 (libc_feresetround_sse_ctx): Likewise.
18676 (libc_feresetround_387_ctx): Likewise.
18677 (libc_feupdateenv_387_ctx): Likewise.
18678 (libc_feholdexcept_setroundf_ctx): Define macro.
18679 (libc_fesetenvf_ctx): Likewise.
18680 (libc_feupdateenvf_ctx): Likewise.
18681 (libc_feholdsetroundf_ctx): Likewise.
18682 (libc_feresetroundf_ctx): Likewise.
18683 (libc_feholdexcept_setround_ctx): Likewise.
18684 (libc_fesetenv_ctx): Likewise.
18685 (libc_feupdateenv_ctx): Likewise.
18686 (libc_feholdsetround_ctx): Likewise.
18687 (libc_feresetround_ctx): Likewise.
18688 (libc_feholdexcept_setroundl_ctx): Likewise.
18689 (libc_feupdateenvl_ctx): Likewise.
18690 (libc_feholdsetroundl_ctx): Likewise.
18691 (libc_feresetroundl_ctx): Likewise.
18692 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18693 (libc_feresetround_53bit_ctx): Likewise.
18695 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18697 * locale/iso-639.def: Convert to UTF-8.
18699 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18701 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18702 (EXCEPTION_TESTS_double): Likewise.
18703 (EXCEPTION_TESTS_long_double): Likewise.
18704 (EXCEPTION_TESTS): Likewise.
18705 * math/libm-test.inc (test_exceptions): Only test exceptions if
18706 EXCEPTION_TESTS (FLOAT).
18708 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18710 * benchtests/Makefile (string-bench): Add strcpy_chk and
18712 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18713 * benchtests/bench-stpcpy_chk.c: New file.
18714 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18715 * benchtests/bench-strcpy_chk.c: New file.
18716 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18718 (do_test): Likewise.
18720 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18722 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18723 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18724 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18725 with tabs where appropriate.
18726 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18728 [PPC_PLATFORM_PPC440]: Likewise.
18729 [PPC_PLATFORM_PPC464]: Likewise.
18730 [PPC_PLATFORM_PPC476]: Likewise.
18731 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18732 ppc464, and ppc476 platform strings merging from ports/
18735 2013-06-11 Andreas Schwab <schwab@suse.de>
18738 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18739 (from_ucs4_idx): Regenerate.
18740 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18741 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18742 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18743 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18744 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18745 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18746 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18747 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18748 from FROM_LOOP and TO_LOOP specific macros.
18749 (BODY): Handle combining characters.
18750 * iconvdata/BIG5HKSCS.irreversible: Update.
18751 * iconvdata/BIG5HKSCS.precomposed: New file.
18752 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18754 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18756 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18758 * include/sys/time.h: Fix indentation and add copyright header.
18760 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18761 (do_test): Likewise.
18762 * string/test-memchr.c (do_one_test): Likewise.
18763 (do_test): Likewise.
18764 * string/test-memcmp.c (do_one_test): Likewise.
18765 (do_test): Likewise.
18766 * string/test-memcpy.c (do_one_test): Likewise.
18767 (do_test): Likewise.
18768 * string/test-memmem.c (do_one_test): Likewise.
18769 (do_test): Likewise.
18770 (do_random_tests): Likewise.
18771 * string/test-memmove.c (do_one_test): Likewise.
18772 (do_test): Likewise.
18773 * string/test-memset.c (do_one_test): Likewise.
18774 (do_test): Likewise.
18775 * string/test-rawmemchr.c (do_one_test): Likewise.
18776 (do_test): Likewise.
18777 * string/test-strcasecmp.c (do_one_test): Likewise.
18778 (do_test): Likewise.
18779 * string/test-strcasestr.c (do_one_test): Likewise.
18780 (do_test): Likewise.
18781 * string/test-strcat.c (do_one_test): Likewise.
18782 (do_test): Likewise.
18783 * string/test-strchr.c (do_one_test): Likewise.
18784 (do_test): Likewise.
18785 * string/test-strcmp.c (do_one_test): Likewise.
18786 (do_test): Likewise.
18787 * string/test-strcpy.c (do_one_test): Likewise.
18788 (do_test): Likewise.
18789 * string/test-string.h: Likewise.
18790 (test_init): Likewise.
18791 * string/test-strlen.c (do_one_test): Likewise.
18792 (do_test): Likewise.
18793 * string/test-strncasecmp.c (do_one_test): Likewise.
18794 (do_test): Likewise.
18795 * string/test-strncat.c (do_one_test): Likewise.
18796 (do_test): Likewise.
18797 * string/test-strncmp.c (do_one_test): Likewise.
18798 (do_test_limit): Likewise.
18799 (do_test): Likewise.
18800 * string/test-strncpy.c (do_one_test): Likewise.
18801 (do_test): Likewise.
18802 * string/test-strnlen.c (do_one_test): Likewise.
18803 (do_test): Likewise.
18804 * string/test-strpbrk.c (do_one_test): Likewise.
18805 (do_test): Likewise.
18806 * string/test-strrchr.c (do_one_test): Likewise.
18807 (do_test): Likewise.
18808 * string/test-strspn.c (do_one_test): Likewise.
18809 (do_test): Likewise.
18810 * string/test-strstr.c (do_one_test): Likewise.
18811 (do_test): Likewise.
18813 * benchtests/Makefile (string-bench): Add string benchmarks.
18814 * benchtests/bench-bcopy-ifunc.c: New file.
18815 * benchtests/bench-bcopy.c: New file.
18816 * benchtests/bench-bzero-ifunc.c: New file.
18817 * benchtests/bench-bzero.c: New file.
18818 * benchtests/bench-memccpy-ifunc.c: New file.
18819 * benchtests/bench-memccpy.c: New file.
18820 * benchtests/bench-memchr-ifunc.c: New file.
18821 * benchtests/bench-memchr.c: New file.
18822 * benchtests/bench-memcmp-ifunc.c: New file.
18823 * benchtests/bench-memcmp.c: New file.
18824 * benchtests/bench-memmem-ifunc.c: New file.
18825 * benchtests/bench-memmem.c: New file.
18826 * benchtests/bench-memmove-ifunc.c: New file.
18827 * benchtests/bench-memmove.c: New file.
18828 * benchtests/bench-mempcpy-ifunc.c: New file.
18829 * benchtests/bench-mempcpy.c: New file.
18830 * benchtests/bench-memset-ifunc.c: New file.
18831 * benchtests/bench-memset.c: New file.
18832 * benchtests/bench-rawmemchr-ifunc.c: New file.
18833 * benchtests/bench-rawmemchr.c: New file.
18834 * benchtests/bench-stpcpy-ifunc.c: New file.
18835 * benchtests/bench-stpcpy.c: New file.
18836 * benchtests/bench-stpncpy-ifunc.c: New file.
18837 * benchtests/bench-stpncpy.c: New file.
18838 * benchtests/bench-strcasecmp-ifunc.c: New file.
18839 * benchtests/bench-strcasecmp.c: New file.
18840 * benchtests/bench-strcasestr-ifunc.c: New file.
18841 * benchtests/bench-strcasestr.c: New file.
18842 * benchtests/bench-strcat-ifunc.c: New file.
18843 * benchtests/bench-strcat.c: New file.
18844 * benchtests/bench-strchr-ifunc.c: New file.
18845 * benchtests/bench-strchr.c: New file.
18846 * benchtests/bench-strchrnul-ifunc.c: New file.
18847 * benchtests/bench-strchrnul.c: New file.
18848 * benchtests/bench-strcmp-ifunc.c: New file.
18849 * benchtests/bench-strcmp.c: New file.
18850 * benchtests/bench-strcpy-ifunc.c: New file.
18851 * benchtests/bench-strcpy.c: New file.
18852 * benchtests/bench-strcspn-ifunc.c: New file.
18853 * benchtests/bench-strcspn.c: New file.
18854 * benchtests/bench-strlen-ifunc.c: New file.
18855 * benchtests/bench-strlen.c: New file.
18856 * benchtests/bench-strncasecmp-ifunc.c: New file.
18857 * benchtests/bench-strncasecmp.c: New file.
18858 * benchtests/bench-strncat-ifunc.c: New file.
18859 * benchtests/bench-strncat.c: New file.
18860 * benchtests/bench-strncmp-ifunc.c: New file.
18861 * benchtests/bench-strncmp.c: New file.
18862 * benchtests/bench-strncpy-ifunc.c: New file.
18863 * benchtests/bench-strncpy.c: New file.
18864 * benchtests/bench-strnlen-ifunc.c: New file.
18865 * benchtests/bench-strnlen.c: New file.
18866 * benchtests/bench-strpbrk-ifunc.c: New file.
18867 * benchtests/bench-strpbrk.c: New file.
18868 * benchtests/bench-strrchr-ifunc.c: New file.
18869 * benchtests/bench-strrchr.c: New file.
18870 * benchtests/bench-strspn-ifunc.c: New file.
18871 * benchtests/bench-strspn.c: New file.
18872 * benchtests/bench-strstr-ifunc.c: New file.
18873 * benchtests/bench-strstr.c: New file.
18875 * benchtests/Makefile: Disable parallel execution of targets.
18876 (string-bench): Add memcpy.
18877 (benchset): New variable to store a list of benchmark sets.
18878 (bench-func): Renamed from bench.
18879 (bench-set): New target.
18880 (bench): Depend on bench-func and bench-set.
18881 * benchtests/README: Add section on benchmark sets.
18882 * benchtests/bench-memcpy-ifunc.c: New file.
18883 * benchtests/bench-memcpy.c: New file.
18884 * benchtests/bench-string.h: New file.
18886 2013-06-11 Andreas Schwab <schwab@suse.de>
18889 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18890 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18891 values in the triple.
18892 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18893 terminator in the group key.
18895 2013-06-11 Andreas Jaeger <aj@suse.de>
18897 * po/zh_TW.po: Update Chinese (traditional) translation from
18898 translation project.
18900 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18902 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18903 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18904 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18905 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18906 (clock_getcpuclockid): Likewise.
18907 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18908 Add weak_alias and libc_hidden_def.
18909 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18910 * rt/clock_gettime.c (clock_gettime): Rename to
18911 __clock_gettime. Add weak_alias and libc_hidden_def.
18912 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18913 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18914 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18915 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18916 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18918 * rt/clock_settime.c (clock_settime): Rename to
18919 __clock_settime. Add weak_alias and libc_hidden_def.
18920 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18922 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18924 * mach/err_boot.sub: Remove trailing whitespace.
18925 * mach/err_ipc.sub: Likewise.
18926 * mach/err_mach.sub: Likewise.
18928 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18929 (ROUNDING_TESTS_double): Likewise.
18930 (ROUNDING_TESTS_long_double): Likewise.
18931 (ROUNDING_TESTS): Likewise.
18932 * math/libm-test.inc: Include <math-tests.h>.
18933 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18934 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18935 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18936 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18938 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18940 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18943 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18945 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18946 otherwise empty TRANS lines.
18947 * sysdeps/gnu/errlist.c: Regenerated.
18949 * catgets/gencat.c (error_print): Use (void) in function
18951 * crypt/crypt_util.c (__init_des): Likewise.
18952 * crypt/speeds.c (Stop): Likewise.
18954 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18955 * inet/ruserpass.c (token): Likewise.
18956 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18957 * intl/localealias.c (extend_alias_table): Likewise.
18958 * intl/plural-exp.c (init_germanic_plural): Likewise.
18959 * libio/fcloseall.c (__fcloseall): Likewise.
18960 * libio/genops.c (_IO_flush_all): Likewise.
18961 (_IO_flush_all_linebuffered): Likewise.
18962 (_IO_cleanup): Likewise.
18963 (_IO_iter_begin): Likewise.
18964 (_IO_iter_end): Likewise.
18965 (_IO_list_lock): Likewise.
18966 (_IO_list_unlock): Likewise.
18967 (_IO_list_resetlock): Likewise.
18968 * libio/getchar.c (getchar): Likewise.
18969 * libio/getchar_u.c (getchar_unlocked): Likewise.
18970 * libio/getwchar.c (getwchar): Likewise.
18971 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18972 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18973 * login/getpt.c (__getpt): Likewise.
18974 * login/tst-utmp.c (main): Likewise.
18975 * malloc/hooks.c (__malloc_check_init): Likewise.
18976 * malloc/malloc.c (__malloc_stats): Likewise.
18977 * malloc/mtrace.c (tr_break): Likewise.
18978 (mtrace): Likewise.
18979 (muntrace): Likewise.
18980 * misc/fstab.c (endfsent): Likewise.
18981 * misc/getclktck.c (__getclktck): Likewise.
18982 * misc/getdtsz.c (__getdtablesize): Likewise.
18983 * misc/gethostid.c (gethostid): Likewise.
18984 * misc/getpagesize.c (__getpagesize): Likewise.
18985 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18986 (__get_nprocs): Likewise.
18987 (__get_phys_pages): Likewise.
18988 (__get_avphys_pages): Likewise.
18989 * misc/getttyent.c (getttyent): Likewise.
18990 (setttyent): Likewise.
18991 (endttyent): Likewise.
18992 * misc/getusershell.c (getusershell): Likewise.
18993 (endusershell): Likewise.
18994 (setusershell): Likewise.
18995 (initshells): Likewise.
18996 * misc/hsearch.c (__hdestroy): Likewise.
18997 * misc/sync.c (sync): Likewise.
18998 * misc/syslog.c (closelog_internal): Likewise.
18999 (closelog): Likewise.
19000 * misc/ttyslot.c (ttyslot): Likewise.
19001 * misc/vhangup.c (vhangup): Likewise.
19002 * posix/fork.c (__fork): Likewise.
19003 * posix/getegid.c (__getegid): Likewise.
19004 * posix/geteuid.c (__geteuid): Likewise.
19005 * posix/getgid.c (__getgid): Likewise.
19006 * posix/getpid.c (__getpid): Likewise.
19007 * posix/getppid.c (__getppid): Likewise.
19008 * posix/getuid.c (__getuid): Likewise.
19009 * posix/pause.c (pause): Likewise.
19010 * posix/setpgrp.c (setpgrp): Likewise.
19011 * posix/setsid.c (__setsid): Likewise.
19012 * posix/test-vfork.c (noop): Likewise.
19013 * resolv/gethnamaddr.c (_endhtent): Likewise.
19014 (_gethtent): Likewise.
19015 (ht_endhostent): Likewise.
19016 (gethostent): Likewise.
19017 (dns_service): Likewise.
19018 * stdlib/drand48.c (drand48): Likewise.
19019 * stdlib/lrand48.c (lrand48): Likewise.
19020 * stdlib/mrand48.c (mrand48): Likewise.
19021 * stdlib/rand.c (rand): Likewise.
19022 * stdlib/random.c (__random): Likewise.
19023 * stdlib/setenv.c (clearenv): Likewise.
19024 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19025 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19026 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19027 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19028 (__get_nprocs): Likewise.
19029 (__get_phys_pages): Likewise.
19030 (__get_avphys_pages): Likewise.
19031 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19032 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19033 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19034 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19035 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19036 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19037 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19038 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19039 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19040 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19041 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19042 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19043 * sysdeps/posix/clock.c (clock): Likewise.
19044 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19045 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19046 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19047 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19048 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19049 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19050 (__get_nprocs_conf): Likewise.
19051 (__get_phys_pages): Likewise.
19052 (__get_avphys_pages): Likewise.
19053 * time/clock.c (clock): Likewise.
19054 * time/tzset.c (__tzname_max): Likewise.
19056 2013-06-07 Joseph Myers <joseph@codesourcery.com>
19058 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19059 (__bswap_32): Do not use "register".
19060 * crypt/crypt.c (_ufc_doit_r): Likewise.
19061 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19062 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19063 * gmon/gmon.c (__monstartup): Likewise.
19064 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19065 * hurd/hurdmalloc.c (more_memory): Likewise.
19066 (malloc): Likewise.
19068 (realloc): Likewise.
19069 (malloc_fork_prepare): Likewise.
19070 (malloc_fork_parent): Likewise.
19071 (malloc_fork_child): Likewise.
19072 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19073 (_svcauth_des): Likewise.
19074 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19075 * inet/inet_net.c (inet_network): Likewise.
19076 * inet/inet_netof.c (inet_netof): Likewise.
19077 * inet/rcmd.c (__validuser2_sa): Likewise.
19078 * io/fts.c (fts_open): Likewise.
19079 (fts_load): Likewise.
19080 (fts_close): Likewise.
19081 (fts_read): Likewise.
19082 (fts_children): Likewise.
19083 (fts_build): Likewise.
19084 (fts_stat): Likewise.
19085 (fts_sort): Likewise.
19086 (fts_alloc): Likewise.
19087 (fts_lfree): Likewise.
19088 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19089 (_IO_file_xsgetn): Likewise.
19090 (_IO_file_xsgetn_mmap): Likewise.
19091 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19092 (_IO_cookie_write): Likewise.
19093 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19094 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19095 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19096 * malloc/obstack.c (_obstack_begin): Likewise.
19097 (_obstack_begin_1): Likewise.
19098 (_obstack_newchunk): Likewise.
19099 (_obstack_allocated_p): Likewise.
19100 (obstack_free): Likewise.
19101 (_obstack_memory_used): Likewise.
19102 * misc/getttyent.c (getttynam): Likewise.
19103 (getttyent): Likewise.
19106 * misc/getusershell.c (initshells): Likewise.
19107 * misc/syslog.c (__vsyslog_chk): Likewise.
19108 * misc/ttyslot.c (ttyslot): Likewise.
19109 * nis/nis_hash.c (__nis_hash): Likewise.
19110 * posix/fnmatch_loop.c (FCT): Likewise.
19111 * posix/getconf.c (print_all): Likewise.
19113 * posix/getopt.c (exchange): Likewise.
19114 * posix/glob.c (globfree): Likewise.
19115 (prefix_array): Likewise.
19116 (__glob_pattern_type): Likewise.
19117 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19118 (NS_GET32): Likewise.
19119 (NS_PUT16): Likewise.
19120 (NS_PUT32): Likewise.
19121 * resolv/gethnamaddr.c (getanswer): Likewise.
19122 (gethostbyname2): Likewise.
19123 (gethostbyaddr): Likewise.
19124 (_gethtent): Likewise.
19125 (_gethtbyname2): Likewise.
19126 (_gethtbyaddr): Likewise.
19127 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19128 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19129 * resolv/res_init.c (__res_vinit): Likewise.
19130 (net_mask): Likewise.
19131 * resolv/res_mkquery.c (outchar): Likewise.
19133 * stdio-common/printf_fp.c (outchar): Likewise.
19135 * stdio-common/printf_fphex.c (outchar): Likewise.
19137 * stdio-common/printf_size.c (outchar): Likewise.
19139 * stdio-common/test_rdwr.c (main): Likewise.
19140 * stdio-common/tfformat.c (matches): Likewise.
19141 * stdio-common/vfprintf.c (outchar): Likewise.
19142 (printf_unknown): Likewise.
19143 (buffered_vfprintf): Likewise.
19144 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19145 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19146 (ReadFile): Likewise.
19147 * stdlib/qsort.c (SWAP): Likewise.
19148 (_quicksort): Likewise.
19149 * stdlib/setenv.c (__add_to_environ): Likewise.
19150 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19151 * stdlib/strtol_l.c (__strtol_l): Likewise.
19152 * stdlib/tst-strtod.c (main): Likewise.
19153 * stdlib/tst-strtol.c (main): Likewise.
19154 * stdlib/tst-strtoll.c (main): Likewise.
19155 * string/bits/string2.h (__strcmp_cc): Likewise.
19156 (__strcmp_cg): Likewise.
19157 (__strcspn_c1): Likewise.
19158 (__strcspn_c2): Likewise.
19159 (__strcspn_c3): Likewise.
19160 (__strspn_c1): Likewise.
19161 (__strspn_c2): Likewise.
19162 (__strspn_c3): Likewise.
19163 (__strsep_1c): Likewise.
19164 (__strsep_2c): Likewise.
19165 (__strsep_3c): Likewise.
19166 * string/memccpy.c (__memccpy): Likewise.
19167 * string/stpcpy.c (__stpcpy): Likewise.
19168 * string/strcmp.c (strcmp): Likewise.
19169 * string/strrchr.c (strrchr): Likewise.
19170 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19172 * sysdeps/mach/hurd/getcwd.c
19173 (_hurd_canonicalize_directory_name_internal): Likewise.
19174 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19175 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19176 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19177 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19178 Likewise, in both definitions.
19179 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19181 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19182 64] (__bswap_64): Likewise.
19183 * time/test_time.c (main): Likewise.
19184 * time/tzfile.c (__tzfile_read): Likewise.
19185 (__tzfile_compute): Likewise.
19186 * time/tzset.c (__tzset_parse_tz): Likewise.
19187 (tzset_internal): Likewise.
19188 (compute_change): Likewise.
19189 * wcsmbs/wcscat.c (__wcscat): Likewise.
19190 * wcsmbs/wcschr.c (wcschr): Likewise.
19191 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19192 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19193 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19194 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19195 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19196 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19197 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19198 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19199 * wcsmbs/wmemset.c (wmemset): Likewise.
19201 2013-06-06 Joseph Myers <joseph@codesourcery.com>
19203 * scripts/config.guess: Update to version 2013-05-16.
19204 * scripts/config.sub: Update to version 2013-04-24.
19205 * scripts/install-sh: Update to version 2011-11-20.07.
19206 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19207 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19209 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
19211 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19212 * elf/sln.c: Likewise.
19213 * hurd/hurd/ioctl.h: Likewise.
19214 * hurd/hurdmalloc.c: Likewise.
19215 * hurd/xattr.c: Likewise.
19216 * include/shlib-compat.h: Likewise.
19217 * inet/ruserpass.c: Likewise.
19218 * libio/iofgets_u.c: Likewise.
19219 * libio/iofgetws_u.c: Likewise.
19220 * locale/programs/ld-identification.c: Likewise.
19221 * locale/programs/ld-time.c: Likewise.
19222 * mach/msg-destroy.c: Likewise.
19223 * nss/nss_files/files-netgrp.c: Likewise.
19224 * resolv/res_data.c: Likewise.
19225 * soft-fp/op-1.h: Likewise.
19226 * soft-fp/op-2.h: Likewise.
19227 * soft-fp/op-4.h: Likewise.
19228 * soft-fp/op-common.h: Likewise.
19229 * stdio-common/printf_fphex.c: Likewise.
19230 * stdlib/strtod_l.c: Likewise.
19231 * sunrpc/rpc/clnt.h: Likewise.
19232 * sysdeps/generic/framestate.c: Likewise.
19233 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19234 * sysdeps/i386/bsd-setjmp.S: Likewise.
19235 * sysdeps/i386/__longjmp.S: Likewise.
19236 * sysdeps/i386/setjmp.S: Likewise.
19237 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19238 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19239 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19240 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19241 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19242 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19243 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19244 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19245 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19246 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19247 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19248 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19249 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19250 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19251 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19252 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19253 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19254 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19255 * sysdeps/ieee754/support.c: Likewise.
19256 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19257 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19258 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19259 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19260 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19261 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19262 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19263 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19264 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19265 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19266 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19267 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19268 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19269 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19270 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19271 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19272 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19275 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
19277 * posix/transbug.c: Remove executable mode.
19279 2013-06-05 Joseph Myers <joseph@codesourcery.com>
19281 * crypt/speeds.c: Remove trailing whitespace.
19282 * dlfcn/default.c: Likewise.
19283 * elf/ifuncdep2.c: Likewise.
19284 * elf/ifuncmain1.c: Likewise.
19285 * elf/ifuncmain1vis.c: Likewise.
19286 * elf/testobj.h: Likewise.
19287 * elf/tst-stackguard1.c: Likewise.
19288 * gmon/sys/gmon.h: Likewise.
19289 * hurd/hurdmsg.c: Likewise.
19290 * hurd/new-fd.c: Likewise.
19291 * hurd/ports-get.c: Likewise.
19292 * iconvdata/ibm1008_420.c: Likewise.
19293 * inet/tst-getni1.c: Likewise.
19294 * inet/tst-getni2.c: Likewise.
19295 * libio/ioungetc.c: Likewise.
19296 * libio/wfiledoalloc.c: Likewise.
19297 * manual/libm-err-tab.pl: Likewise.
19298 * math/w_dremf.c: Likewise.
19299 * misc/ftruncate.c: Likewise.
19300 * posix/bug-glob2.c: Likewise.
19301 * posix/tst-pcre.c: Likewise.
19302 * posix/wait4.c: Likewise.
19303 * resolv/README: Likewise.
19304 * resolv/res_debug.h: Likewise.
19305 * resolv/tst-inet_ntop.c: Likewise.
19306 * setjmp/bug269-setjmp.c: Likewise.
19307 * soft-fp/extended.h: Likewise.
19308 * soft-fp/op-1.h: Likewise.
19309 * soft-fp/op-2.h: Likewise.
19310 * soft-fp/op-4.h: Likewise.
19311 * soft-fp/op-8.h: Likewise.
19312 * soft-fp/testit.c: Likewise.
19313 * stdio-common/bug16.c: Likewise.
19314 * stdlib/random.c: Likewise.
19315 * sunrpc/rpcsvc/rquota.x: Likewise.
19316 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19317 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19318 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19319 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19320 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19321 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19322 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19323 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19324 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19325 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19326 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19327 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19328 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19329 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19330 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19331 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19332 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19333 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19334 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19335 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19336 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19337 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19338 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19339 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19340 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19341 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19342 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19343 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19344 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19345 * sysdeps/ieee754/s_lib_version.c: Likewise.
19346 * sysdeps/mach/hurd/check_fds.c: Likewise.
19347 * sysdeps/mach/hurd/getsockname.c: Likewise.
19348 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19349 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19350 * sysdeps/powerpc/bits/link.h: Likewise.
19351 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19352 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19353 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19354 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19355 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19356 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19357 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19358 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19359 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19360 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19361 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19362 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19363 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19364 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19365 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19366 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19367 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19368 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19369 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19370 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19371 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19372 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19373 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19374 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19375 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19376 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19377 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19378 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19379 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19380 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19381 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19382 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19383 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19384 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19385 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19386 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19387 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19388 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19389 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19390 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19391 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19392 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19393 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19394 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19395 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19396 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19397 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19398 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19399 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19400 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19401 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19402 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19403 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19404 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19405 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19406 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19407 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19408 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19409 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19410 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19411 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19412 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19413 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19414 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19415 * sysdeps/powerpc/sysdep.h: Likewise.
19416 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19417 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19418 * sysdeps/sh/dl-trampoline.S: Likewise.
19419 * sysdeps/sh/memset.S: Likewise.
19420 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19421 * sysdeps/sh/strlen.S: Likewise.
19422 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19423 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19424 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19425 * sysdeps/sparc/sparc32/rem.S: Likewise.
19426 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19427 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19428 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19429 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19430 * sysdeps/sparc/sparc32/urem.S: Likewise.
19431 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19432 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19433 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19434 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19435 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19436 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19437 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19438 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19439 * sysdeps/unix/bsd/times.c: Likewise.
19440 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19441 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19445 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19446 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19447 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19448 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19449 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19450 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19451 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19452 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19453 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19454 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19455 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19456 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19457 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19458 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19459 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19460 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19461 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19462 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19463 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19464 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19465 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19466 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19467 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19468 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19469 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19470 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19471 * sysdeps/x86_64/strcspn.S: Likewise.
19473 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19475 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19476 generated file. Regenerate properly from gen-translit.pl.
19477 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19478 locale/C-translit.h.
19480 2013-06-05 Andreas Schwab <schwab@suse.de>
19483 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19484 week as 6 instead of -1.
19485 * time/tst-strptime.c (day_tests): Add test case.
19487 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19489 * sysdeps/generic/math_private.h
19490 (libc_feholdexcept_setround_53bit): Replace with
19491 libc_feholdsetround_53bit.
19492 (libc_feupdateenv_53bit): Replace with
19493 libc_feresetround_53bit.
19494 (SET_RESTORE_ROUND_53BIT): Adjust.
19496 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19498 * string/test-strchrnul.c: Add copyright header.
19500 * posix/tst-getaddrinfo4.c: Increase test timeout.
19502 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19505 * math/libm-test.inc (MAX_EXP): Remove
19507 (ulp): Use MIN_EXP - MANT_DIG.
19508 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19510 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19512 * po/be.po: Revert last change.
19513 * po/zh_CN.po: Likewise.
19514 * po/header.pot: Likewise.
19516 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19518 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19519 link-libc-deps to empty as target-specific variable.
19520 * Makerules (link-libc-args): New variable.
19521 (libc-for-link): Likewise.
19522 (link-libc-deps): Likewise.
19523 (lib%.so): Depend on $(link-libc-deps). Link with
19525 (build-module): Link with $(link-libc-args).
19526 (build-module-asneeded): Likewise.
19527 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19529 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19530 target-specific variable.
19531 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19532 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19533 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19535 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19537 ($(objpfx)libpcprofile.so): Likewise.
19538 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19540 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19541 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19542 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19544 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19545 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19546 * login/Makefile ($(objpfx)libutil.so): Likewise.
19547 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19548 * math/Makefile ($(objpfx)libm.so): Likewise.
19549 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19550 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19551 variable instead of depending directly on libc.
19552 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19553 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19555 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19557 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19558 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19559 ($(objpfx)libanl.so): Likewise.
19560 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19562 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19564 * sysdeps/i386/fpu/Makefile: Remove file.
19565 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19566 ($(objpfx)libm.so): Remove dependency on ld.so.
19568 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19571 * nis/yp_xdr.c (XDRMAXNAME): Define.
19572 (XDRMAXRECORD): Define.
19573 (xdr_domainname): Use XDRMAXNAME.
19574 (xdr_mapname): Likewise.
19575 (xdr_peername): Likewise.
19576 (xdr_keydat): Use XDRMAXRECORD.
19577 (xdr_valdat): Likewise.
19579 2013-05-30 Jeff Law <law@redhat.com>
19582 * manual/errno.texi (ESTALE): Update to account for more than
19583 just NFS file systems.
19584 * sysdeps/gnu/errlist.c: Regenerated.
19586 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19589 * elf/Makefile (tests): Add tst-null-argv.
19590 (modules-names): Add tst-null-argv-lib.
19591 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19592 (tst-null-argv-ENV): Set environment for tst-null-argv.
19593 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19594 (RTLD_PROGNAME): New macro.
19595 * elf/tst-null-argv.c: New test case.
19596 * elf/tst-null-argv-lib.c: Library for test case.
19597 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19598 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19599 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19600 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19601 * elf/dl-init.c (call_init): Likewise.
19602 (_dl_init): Likewise.
19603 * elf/dl-load.c (print_search_path): Likewise.
19604 (_dl_map_object): Likewise.
19605 * elf/dl-lookup.c (do_lookup_x): Likewise.
19606 (add_dependency): Likewise.
19607 (_dl_lookup_symbol_x): Likewise.
19608 (_dl_debug_bindings): Likewise.
19609 * elf/dl-open.c (_dl_show_scope): Likewise.
19610 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19611 * elf/dl-version.c (match_symbol): Likewise.
19612 (_dl_check_map_versions): Likewise.
19613 * elf/rtld.c (dl_main): Likewise.
19614 (print_unresolved): Use RTLD_PROGNAME.
19615 (print_missing_version): Likewise.
19616 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19617 (elf_machine_rela): Likewise.
19618 * sysdeps/powerpc/powerpc32/dl-machine.c
19619 (__process_machine_rela): Likewise.
19620 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19622 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19624 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19626 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19627 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19629 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19631 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19633 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19635 * po/be.po: Add descriptive title.
19636 * po/zh_CN.po: Likewise.
19637 * po/header.pot: Likewise.
19639 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19641 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19643 (enlarge_archive): Likewise.
19645 2013-05-28 Ben North <ben@redfrontdoor.org>
19647 * manual/arith.texi (frexp): It is the magnitude of the return
19648 value which lies in [0.5, 1), not the return value itself.
19650 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19654 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19656 * stdio-common/bug26.c (main): Correct fscanf template.
19658 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19659 declare _dl_skip_args.
19661 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19664 * manual/platform.texi: Add missing @end deftypefun.
19666 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19669 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19670 bit of mantissa of 2^16382.
19671 * math/libm-test.inc (hypot_test_data): Add more tests.
19673 * math/libm-test.inc: Add drem and pow10 to list of tested
19675 (pow10_test): New function.
19676 (drem_test): Likewise.
19677 (drem_test_tonearest): Likewise.
19678 (drem_test_towardzero): Likewise.
19679 (drem_test_downward): Likewise.
19680 (drem_test_upward): Likewise.
19681 (main): Call the new functions.
19683 * math/libm-test.inc (finite_test_data): Remove.
19684 (finite_test): Run tests from isfinite_test_data.
19685 (gamma_test_data): Remove.
19686 (gamma_test): Run tests from lgamma_test_data.
19687 * sysdeps/i386/fpu/libm-test-ulps: Update.
19688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19690 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19692 * manual/platform.texi: Add PowerPC PPR function set documentation.
19693 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19696 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19698 * math/libm-test.inc (MAX_EXP): Define.
19700 (ulp): New function.
19701 (check_float_internal): Use ULPDIFF.
19702 (cpow_test): Disable failing test.
19703 (check_ulp): Test ulp() implemetnation.
19704 (main): Call check_ulp before starting tests.
19706 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19708 * math/gen-libm-test.pl (generate_testfile): Do not handle
19709 START_DATA and END_DATA.
19710 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19712 (acos_tonearest_test_data): Likewise.
19713 (acos_towardzero_test_data): Likewise.
19714 (acos_downward_test_data): Likewise.
19715 (acos_upward_test_data): Likewise.
19716 (acosh_test_data): Likewise.
19717 (asin_test_data): Likewise.
19718 (asin_tonearest_test_data): Likewise.
19719 (asin_towardzero_test_data): Likewise.
19720 (asin_downward_test_data): Likewise.
19721 (asin_upward_test_data): Likewise.
19722 (asinh_test_data): Likewise.
19723 (atan_test_data): Likewise.
19724 (atanh_test_data): Likewise.
19725 (atan2_test_data): Likewise.
19726 (cabs_test_data): Likewise.
19727 (cacos_test_data): Likewise.
19728 (cacosh_test_data): Likewise.
19729 (carg_test_data): Likewise.
19730 (casin_test_data): Likewise.
19731 (casinh_test_data): Likewise.
19732 (catan_test_data): Likewise.
19733 (catanh_test_data): Likewise.
19734 (cbrt_test_data): Likewise.
19735 (ccos_test_data): Likewise.
19736 (ccosh_test_data): Likewise.
19737 (ceil_test_data): Likewise.
19738 (cexp_test_data): Likewise.
19739 (cimag_test_data): Likewise.
19740 (clog_test_data): Likewise.
19741 (clog10_test_data): Likewise.
19742 (conj_test_data): Likewise.
19743 (copysign_test_data): Likewise.
19744 (cos_test_data): Likewise.
19745 (cos_tonearest_test_data): Likewise.
19746 (cos_towardzero_test_data): Likewise.
19747 (cos_downward_test_data): Likewise.
19748 (cos_upward_test_data): Likewise.
19749 (cosh_test_data): Likewise.
19750 (cosh_tonearest_test_data): Likewise.
19751 (cosh_towardzero_test_data): Likewise.
19752 (cosh_downward_test_data): Likewise.
19753 (cosh_upward_test_data): Likewise.
19754 (cpow_test_data): Likewise.
19755 (cproj_test_data): Likewise.
19756 (creal_test_data): Likewise.
19757 (csin_test_data): Likewise.
19758 (csinh_test_data): Likewise.
19759 (csqrt_test_data): Likewise.
19760 (ctan_test_data): Likewise.
19761 (ctan_tonearest_test_data): Likewise.
19762 (ctan_towardzero_test_data): Likewise.
19763 (ctan_downward_test_data): Likewise.
19764 (ctan_upward_test_data): Likewise.
19765 (ctanh_test_data): Likewise.
19766 (ctanh_tonearest_test_data): Likewise.
19767 (ctanh_towardzero_test_data): Likewise.
19768 (ctanh_downward_test_data): Likewise.
19769 (ctanh_upward_test_data): Likewise.
19770 (erf_test_data): Likewise.
19771 (erfc_test_data): Likewise.
19772 (exp_test_data): Likewise.
19773 (exp_tonearest_test_data): Likewise.
19774 (exp_towardzero_test_data): Likewise.
19775 (exp_downward_test_data): Likewise.
19776 (exp_upward_test_data): Likewise.
19777 (exp10_test_data): Likewise.
19778 (exp2_test_data): Likewise.
19779 (expm1_test_data): Likewise.
19780 (fabs_test_data): Likewise.
19781 (fdim_test_data): Likewise.
19782 (finite_test_data): Likewise.
19783 (floor_test_data): Likewise.
19784 (fma_test_data): Likewise.
19785 (fma_towardzero_test_data): Likewise.
19786 (fma_downward_test_data): Likewise.
19787 (fma_upward_test_data): Likewise.
19788 (fmax_test_data): Likewise.
19789 (fmin_test_data): Likewise.
19790 (fmod_test_data): Likewise.
19791 (fpclassify_test_data): Likewise.
19792 (frexp_test_data): Likewise.
19793 (gamma_test_data): Likewise.
19794 (hypot_test_data): Likewise.
19795 (ilogb_test_data): Likewise.
19796 (isfinite_test_data): Likewise.
19797 (isgreater_test_data): Likewise.
19798 (isgreaterequal_test_data): Likewise.
19799 (isinf_test_data): Likewise.
19800 (isless_test_data): Likewise.
19801 (islessequal_test_data): Likewise.
19802 (islessgreater_test_data): Likewise.
19803 (isnan_test_data): Likewise.
19804 (isnormal_test_data): Likewise.
19805 (issignaling_test_data): Likewise.
19806 (isunordered_test_data): Likewise.
19807 (j0_test_data): Likewise.
19808 (j1_test_data): Likewise.
19809 (jn_test_data): Likewise.
19810 (ldexp_test_data): Likewise.
19811 (lgamma_test_data): Likewise.
19812 (lrint_test_data): Likewise.
19813 (lrint_tonearest_test_data): Likewise.
19814 (lrint_towardzero_test_data): Likewise.
19815 (lrint_downward_test_data): Likewise.
19816 (lrint_upward_test_data): Likewise.
19817 (llrint_test_data): Likewise.
19818 (llrint_tonearest_test_data): Likewise.
19819 (llrint_towardzero_test_data): Likewise.
19820 (llrint_downward_test_data): Likewise.
19821 (llrint_upward_test_data): Likewise.
19822 (log_test_data): Likewise.
19823 (log10_test_data): Likewise.
19824 (log1p_test_data): Likewise.
19825 (log2_test_data): Likewise.
19826 (logb_test_data): Likewise.
19827 (logb_downward_test_data): Likewise.
19828 (lround_test_data): Likewise.
19829 (llround_test_data): Likewise.
19830 (modf_test_data): Likewise.
19831 (nearbyint_test_data): Likewise.
19832 (nextafter_test_data): Likewise.
19833 (nexttoward_test_data): Likewise.
19834 (pow_test_data): Likewise.
19835 (pow_tonearest_test_data): Likewise.
19836 (pow_towardzero_test_data): Likewise.
19837 (pow_downward_test_data): Likewise.
19838 (pow_upward_test_data): Likewise.
19839 (remainder_test_data): Likewise.
19840 (remainder_tonearest_test_data): Likewise.
19841 (remainder_towardzero_test_data): Likewise.
19842 (remainder_downward_test_data): Likewise.
19843 (remainder_upward_test_data): Likewise.
19844 (remquo_test_data): Likewise.
19845 (rint_test_data): Likewise.
19846 (rint_tonearest_test_data): Likewise.
19847 (rint_towardzero_test_data): Likewise.
19848 (rint_downward_test_data): Likewise.
19849 (rint_upward_test_data): Likewise.
19850 (round_test_data): Likewise.
19851 (scalb_test_data): Likewise.
19852 (scalbn_test_data): Likewise.
19853 (scalbln_test_data): Likewise.
19854 (signbit_test_data): Likewise.
19855 (sin_test_data): Likewise.
19856 (sin_tonearest_test_data): Likewise.
19857 (sin_towardzero_test_data): Likewise.
19858 (sin_downward_test_data): Likewise.
19859 (sin_upward_test_data): Likewise.
19860 (sincos_test_data): Likewise.
19861 (sinh_test_data): Likewise.
19862 (sinh_tonearest_test_data): Likewise.
19863 (sinh_towardzero_test_data): Likewise.
19864 (sinh_downward_test_data): Likewise.
19865 (sinh_upward_test_data): Likewise.
19866 (sqrt_test_data): Likewise.
19867 (tan_test_data): Likewise.
19868 (tan_tonearest_test_data): Likewise.
19869 (tan_towardzero_test_data): Likewise.
19870 (tan_downward_test_data): Likewise.
19871 (tan_upward_test_data): Likewise.
19872 (tanh_test_data): Likewise.
19873 (tgamma_test_data): Likewise.
19874 (trunc_test_data): Likewise.
19875 (y0_test_data): Likewise.
19876 (y1_test_data): Likewise.
19877 (yn_test_data): Likewise.
19878 (significand_test_data): Likewise.
19880 * math/gen-libm-test.pl (@functions): Remove variable.
19881 (generate_testfile): Don't handle START and END lines.
19882 * math/libm-test.inc (START): New macro.
19884 (END_COMPLEX): Likewise.
19885 (acos_test): Use END macro without arguments.
19886 (acos_test_tonearest): Likewise.
19887 (acos_test_towardzero): Likewise.
19888 (acos_test_downward): Likewise.
19889 (acos_test_upward): Likewise.
19890 (acosh_test): Likewise.
19891 (asin_test): Likewise.
19892 (asin_test_tonearest): Likewise.
19893 (asin_test_towardzero): Likewise.
19894 (asin_test_downward): Likewise.
19895 (asin_test_upward): Likewise.
19896 (asinh_test): Likewise.
19897 (atan_test): Likewise.
19898 (atanh_test): Likewise.
19899 (atan2_test): Likewise.
19900 (cabs_test): Likewise.
19901 (cacos_test): Use END_COMPLEX macro without arguments.
19902 (cacosh_test): Likewise.
19903 (carg_test): Use END macro without arguments.
19904 (casin_test): Use END_COMPLEX macro without arguments.
19905 (casinh_test): Likewise.
19906 (catan_test): Likewise.
19907 (catanh_test): Likewise.
19908 (cbrt_test): Use END macro without arguments.
19909 (ccos_test): Use END_COMPLEX macro without arguments.
19910 (ccosh_test): Likewise.
19911 (ceil_test): Use END macro without arguments.
19912 (cexp_test): Use END_COMPLEX macro without arguments.
19913 (cimag_test): Use END macro without arguments.
19914 (clog_test): Use END_COMPLEX macro without arguments.
19915 (clog10_test): Likewise.
19916 (conj_test): Likewise.
19917 (copysign_test): Use END macro without arguments.
19918 (cos_test): Likewise.
19919 (cos_test_tonearest): Likewise.
19920 (cos_test_towardzero): Likewise.
19921 (cos_test_downward): Likewise.
19922 (cos_test_upward): Likewise.
19923 (cosh_test): Likewise.
19924 (cosh_test_tonearest): Likewise.
19925 (cosh_test_towardzero): Likewise.
19926 (cosh_test_downward): Likewise.
19927 (cosh_test_upward): Likewise.
19928 (cpow_test): Use END_COMPLEX macro without arguments.
19929 (cproj_test): Likewise.
19930 (creal_test): Use END macro without arguments.
19931 (csin_test): Use END_COMPLEX macro without arguments.
19932 (csinh_test): Likewise.
19933 (csqrt_test): Likewise.
19934 (ctan_test): Likewise.
19935 (ctan_test_tonearest): Likewise.
19936 (ctan_test_towardzero): Likewise.
19937 (ctan_test_downward): Likewise.
19938 (ctan_test_upward): Likewise.
19939 (ctanh_test): Likewise.
19940 (ctanh_test_tonearest): Likewise.
19941 (ctanh_test_towardzero): Likewise.
19942 (ctanh_test_downward): Likewise.
19943 (ctanh_test_upward): Likewise.
19944 (erf_test): Use END macro without arguments.
19945 (erfc_test): Likewise.
19946 (exp_test): Likewise.
19947 (exp_test_tonearest): Likewise.
19948 (exp_test_towardzero): Likewise.
19949 (exp_test_downward): Likewise.
19950 (exp_test_upward): Likewise.
19951 (exp10_test): Likewise.
19952 (exp2_test): Likewise.
19953 (expm1_test): Likewise.
19954 (fabs_test): Likewise.
19955 (fdim_test): Likewise.
19956 (finite_test): Likewise.
19957 (floor_test): Likewise.
19958 (fma_test): Likewise.
19959 (fma_test_towardzero): Likewise.
19960 (fma_test_downward): Likewise.
19961 (fma_test_upward): Likewise.
19962 (fmax_test): Likewise.
19963 (fmin_test): Likewise.
19964 (fmod_test): Likewise.
19965 (fpclassify_test): Likewise.
19966 (frexp_test): Likewise.
19967 (gamma_test): Likewise.
19968 (hypot_test): Likewise.
19969 (ilogb_test): Likewise.
19970 (isfinite_test): Likewise.
19971 (isgreater_test): Likewise.
19972 (isgreaterequal_test): Likewise.
19973 (isinf_test): Likewise.
19974 (isless_test): Likewise.
19975 (islessequal_test): Likewise.
19976 (islessgreater_test): Likewise.
19977 (isnan_test): Likewise.
19978 (isnormal_test): Likewise.
19979 (issignaling_test): Likewise.
19980 (isunordered_test): Likewise.
19981 (j0_test): Likewise.
19982 (j1_test): Likewise.
19983 (jn_test): Likewise.
19984 (ldexp_test): Likewise.
19985 (lgamma_test): Likewise.
19986 (lrint_test): Likewise.
19987 (lrint_test_tonearest): Likewise.
19988 (lrint_test_towardzero): Likewise.
19989 (lrint_test_downward): Likewise.
19990 (lrint_test_upward): Likewise.
19991 (llrint_test): Likewise.
19992 (llrint_test_tonearest): Likewise.
19993 (llrint_test_towardzero): Likewise.
19994 (llrint_test_downward): Likewise.
19995 (llrint_test_upward): Likewise.
19996 (log_test): Likewise.
19997 (log10_test): Likewise.
19998 (log1p_test): Likewise.
19999 (log2_test): Likewise.
20000 (logb_test): Likewise.
20001 (logb_test_downward): Likewise.
20002 (lround_test): Likewise.
20003 (llround_test): Likewise.
20004 (modf_test): Likewise.
20005 (nearbyint_test): Likewise.
20006 (nextafter_test): Likewise.
20007 (nexttoward_test): Likewise.
20008 (pow_test): Likewise.
20009 (pow_test_tonearest): Likewise.
20010 (pow_test_towardzero): Likewise.
20011 (pow_test_downward): Likewise.
20012 (pow_test_upward): Likewise.
20013 (remainder_test): Likewise.
20014 (remainder_test_tonearest): Likewise.
20015 (remainder_test_towardzero): Likewise.
20016 (remainder_test_downward): Likewise.
20017 (remainder_test_upward): Likewise.
20018 (remquo_test): Likewise.
20019 (rint_test): Likewise.
20020 (rint_test_tonearest): Likewise.
20021 (rint_test_towardzero): Likewise.
20022 (rint_test_downward): Likewise.
20023 (rint_test_upward): Likewise.
20024 (round_test): Likewise.
20025 (scalb_test): Likewise.
20026 (scalbn_test): Likewise.
20027 (scalbln_test): Likewise.
20028 (signbit_test): Likewise.
20029 (sin_test): Likewise.
20030 (sin_test_tonearest): Likewise.
20031 (sin_test_towardzero): Likewise.
20032 (sin_test_downward): Likewise.
20033 (sin_test_upward): Likewise.
20034 (sincos_test): Likewise.
20035 (sinh_test): Likewise.
20036 (sinh_test_tonearest): Likewise.
20037 (sinh_test_towardzero): Likewise.
20038 (sinh_test_downward): Likewise.
20039 (sinh_test_upward): Likewise.
20040 (sqrt_test): Likewise.
20041 (tan_test): Likewise.
20042 (tan_test_tonearest): Likewise.
20043 (tan_test_towardzero): Likewise.
20044 (tan_test_downward): Likewise.
20045 (tan_test_upward): Likewise.
20046 (tanh_test): Likewise.
20047 (tgamma_test): Likewise.
20048 (trunc_test): Likewise.
20049 (y0_test): Likewise.
20050 (y1_test): Likewise.
20051 (yn_test): Likewise.
20052 (significand_test): Likewise.
20054 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
20057 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20059 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20062 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20063 __ppc_mdoio and __ppc_mdoom.
20064 * manual/platform.texi: Document new functions __ppc_yield,
20065 __ppc_mdoio and __ppc_mdoom.
20067 2013-05-22 Carlos O'Donell <carlos@redhat.com>
20069 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20070 (main): Mention "tls" pseudo-hwcap is legacy.
20071 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20073 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20075 * math/gen-libm-test.pl (parse_args): Output only string of
20076 arguments as text for test name, not full call or descriptions of
20077 tests for extra outputs.
20078 (generate_testfile): Do not pass function name to parse_args.
20079 Generate this_func variable from START.
20080 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20082 (struct test_ff_f_data): Likewise.
20083 (test_ff_f_data_nexttoward): Likewise.
20084 (struct test_fi_f_data): Likewise.
20085 (struct test_fl_f_data): Likewise.
20086 (struct test_if_f_data): Likewise.
20087 (struct test_fff_f_data): Likewise.
20088 (struct test_c_f_data): Likewise.
20089 (struct test_f_f1_data): Likewise. Remove field extra_name.
20090 (struct test_fF_f1_data): Likewise.
20091 (struct test_ffI_f1_data): Likewise.
20092 (struct test_c_c_data): Rename test_name field to arg_str.
20093 (struct test_cc_c_data): Likewise.
20094 (struct test_f_i_data): Likewise.
20095 (struct test_ff_i_data): Likewise.
20096 (struct test_f_l_data): Likewise.
20097 (struct test_f_L_data): Likewise.
20098 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20100 (COMMON_TEST_SETUP): New macro.
20101 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20102 (COMMON_TEST_CLEANUP): Likewise.
20103 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20104 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20106 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20107 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20109 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20110 (RUN_TEST_fff_f): Take argument string. Call new setup and
20112 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20113 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20115 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20116 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20118 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20119 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20121 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20122 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20124 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20125 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20127 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20128 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20130 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20131 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20133 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20134 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20136 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20137 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20139 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20140 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20142 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20143 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20145 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20146 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20148 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20149 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20151 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20152 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20154 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20155 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20157 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20159 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20161 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20162 to _sifields.sigfault.
20163 (si_addr_lsb): Define new macro.
20164 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20165 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20166 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20168 2013-05-03 Carlos O'Donell <carlos at redhat.com>
20171 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20173 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20175 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20176 loading the domain.
20178 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20180 * math/gen-libm-test.pl (parse_args): Do not include expected
20181 result in test name.
20182 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20183 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20184 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20185 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20186 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20189 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20191 * benchtests/Makefile: Sort function entries.
20193 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20194 tanh, asinh, acosh, atanh.
20195 * benchtests/acos-inputs: New file.
20196 * benchtests/acosh-inputs: New file.
20197 * benchtests/asin-inputs: New file.
20198 * benchtests/asinh-inputs: New file.
20199 * benchtests/atanh-inputs: New file.
20200 * benchtests/cosh-inputs: New file.
20201 * benchtests/log-inputs: New file.
20202 * benchtests/sinh-inputs: New file.
20203 * benchtests/tanh-inputs: New file.
20205 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20208 * posix/tst-getaddrinfo4.c: New test.
20209 * posix/Makefile (tests): Add it.
20211 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20214 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20215 when no services were used.
20216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20217 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20219 2013-05-21 Andreas Schwab <schwab@suse.de>
20222 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20223 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20225 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20226 redundant variable declarations and reallocation of buffer when
20227 parsing as IPv6 address. Always set NSS status when called from
20228 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20229 buffer too small. Correct computation of needed size.
20230 * nss/Makefile (tests): Add test-digits-dots.
20231 * nss/test-digits-dots.c: New test.
20233 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20235 * benchtests/Makefile: Remove instructions for adding
20237 * benchtests/README: New file to explain how to execute and
20238 enhance the benchmark tests.
20240 2013-05-21 Andreas Schwab <schwab@suse.de>
20243 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20244 * setjmp/tst-sigsetjmp.c: New test.
20246 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20248 * sysdeps/x86_64/memset.S (memset): New implementation.
20249 (__bzero): Likewise.
20250 (__memset_tail): New function.
20252 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20254 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20255 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20256 __memcpy_sse2_unaligned ifunc selection.
20257 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20258 Add memcpy-sse2-unaligned.S.
20259 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20260 Add: __memcpy_sse2_unaligned.
20262 2013-05-19 Joseph Myers <joseph@codesourcery.com>
20265 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20266 math_force_eval before restoring floating-point envrionment.
20267 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20268 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20270 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20272 (__nearbyintl): Use math_force_eval before restoring
20273 floating-point environment.
20274 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20276 * math/gen-libm-test.pl (special_functions): Remove.
20277 (parse_args): Don't handle TEST_extra. Handle functions with no
20279 * math/libm-test.inc (struct test_sincos_data): Replace with
20280 struct test_fFF_11_data.
20281 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20282 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20283 (sincos_test_data): Change element type to struct
20284 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20285 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20286 RUN_TEST_LOOP_sincos.
20287 * math/README.libm-test: Don't mention special handling of
20288 individual functions.
20289 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20290 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20291 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20292 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20293 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20296 * math/gen-libm-test.pl (get_variable): Remove function.
20297 (parse_args): Don't show pointer parameters to call in test
20298 names. Use "extra output N" in test names for extra outputs
20299 rather than naming variables.
20301 2013-05-18 Joseph Myers <joseph@codesourcery.com>
20304 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20305 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20306 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20308 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20310 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20313 * math/gen-libm-test.pl (@tests): Remove variable.
20314 ($count): Likewise.
20315 (new_test): Remove function.
20316 (show_exceptions): New function.
20317 (special_functions): Use show_exceptions instead of new_test.
20318 (parse_args): Likewise.
20319 (generate_testfile): Pass only function name in generated call to
20320 print_max_error or print_complex_max_error.
20321 (get_ulps): Do not handle complex tests specially.
20322 (output_test): Rename to ...
20323 (get_all_ulps_for_test): ... this. Return a string rather than
20324 printing to a file. Require ulps to be present.
20325 (output_ulps): Generate arrays rather than #defines.
20326 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20327 (struct ulp_data): New type.
20328 (BUILD_COMPLEX_ULP): Remove macro.
20329 (compare_ulp_data): New function.
20330 (find_ulps): Likewise.
20331 (find_test_ulps): Likewise.
20332 (find_function_ulps): Likewise.
20333 (find_complex_function_ulps): Likewise.
20334 (print_max_error): Determine allowed ulps using
20335 find_function_ulps.
20336 (print_complex_max_error): Determine allowed ulps using
20337 find_complex_function_ulps.
20338 (check_float_internal): Determine max ulps using find_test_ulps.
20339 (check_float): Do not take max_ulp parameter. Update call to
20340 check_float_internal.
20341 (check_complex): Likewise.
20342 (check_int): Do not take max_ulp parameter.
20343 (check_long): Likewise.
20344 (check_bool): Likewise.
20345 (check_longlong): Likewise.
20346 (struct test_f_f_data): Remove max_ulp field.
20347 (struct test_ff_f_data): Likewise.
20348 (struct test_ff_f_data_nexttoward): Likewise.
20349 (struct test_fi_f_data): Likewise.
20350 (struct test_fl_f_data): Likewise.
20351 (struct test_if_f_data): Likewise.
20352 (struct test_fff_f_data): Likewise.
20353 (struct test_c_f_data): Likewise.
20354 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20355 (struct test_fF_f1_data): Likewise.
20356 (struct test_ffI_f1_data): Likewise.
20357 (struct test_c_c_data): Remove max_ulp field.
20358 (struct test_cc_c_data): Likewise.
20359 (struct test_f_i_data): Likewise.
20360 (struct test_ff_i_data): Likewise.
20361 (struct test_f_l_data): Likewise.
20362 (struct test_f_L_data): Likewise.
20363 (struct test_sincos_data): Likewise.
20364 (RUN_TEST_f_f): Do not handle ulps.
20365 (RUN_TEST_LOOP_f_f): Likewise.
20366 (RUN_TEST_2_f): Likewise.
20367 (RUN_TEST_LOOP_2_f): Likewise.
20368 (RUN_TEST_fff_f): Likewise.
20369 (RUN_TEST_LOOP_fff_f): Likewise.
20370 (RUN_TEST_c_f): Likewise.
20371 (RUN_TEST_LOOP_c_f): Likewise.
20372 (RUN_TEST_f_f1): Likewise.
20373 (RUN_TEST_LOOP_f_f1): Likewise.
20374 (RUN_TEST_fF_f1): Likewise.
20375 (RUN_TEST_LOOP_fF_f1): Likewise.
20376 (RUN_TEST_fI_f1): Likewise.
20377 (RUN_TEST_LOOP_fI_f1): Likewise.
20378 (RUN_TEST_ffI_f1): Likewise.
20379 (RUN_TEST_LOOP_ffI_f1): Likewise.
20380 (RUN_TEST_c_c): Likewise.
20381 (RUN_TEST_LOOP_c_c): Likewise.
20382 (RUN_TEST_cc_c): Likewise.
20383 (RUN_TEST_LOOP_cc_c): Likewise.
20384 (RUN_TEST_f_i): Likewise.
20385 (RUN_TEST_LOOP_f_i): Likewise.
20386 (RUN_TEST_f_i_tg): Likewise.
20387 (RUN_TEST_LOOP_f_i_tg): Likewise.
20388 (RUN_TEST_ff_i_tg): Likewise.
20389 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20390 (RUN_TEST_f_b): Likewise.
20391 (RUN_TEST_LOOP_f_b): Likewise.
20392 (RUN_TEST_f_b_tg): Likewise.
20393 (RUN_TEST_LOOP_f_b_tg): Likewise.
20394 (RUN_TEST_f_l): Likewise.
20395 (RUN_TEST_LOOP_f_l): Likewise.
20396 (RUN_TEST_f_L): Likewise.
20397 (RUN_TEST_LOOP_f_L): Likewise.
20398 (RUN_TEST_sincos): Likewise.
20399 (RUN_TEST_LOOP_sincos): Likewise.
20401 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20405 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20406 main case of finite arguments, set rounding mode to FE_TONEAREST
20407 and discard exceptions.
20408 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20410 (remainder_tonearest_test_data): New variable.
20411 (remainder_test_tonearest): New function.
20412 (remainder_towardzero_test_data): New variable.
20413 (remainder_test_towardzero): New function.
20414 (remainder_downward_test_data): New variable.
20415 (remainder_test_downward): New function.
20416 (remainder_upward_test_data): New variable.
20417 (remainder_test_upward): New function.
20418 (main): Call the new test functions.
20420 * math/libm-test.inc (struct test_f_f1_data): Remove field
20422 (struct test_fF_f1_data): Likewise.
20423 (struct test_ffI_f1_data): Likewise.
20424 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20425 based on value of EXTRA_EXPECTED.
20426 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20427 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20428 EXTRA_VAR based on value of EXTRA_EXPECTED.
20429 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20430 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20431 EXTRA_VAR based on value of EXTRA_EXPECTED.
20432 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20433 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20434 EXTRA_VAR based on value of EXTRA_EXPECTED.
20435 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20436 * math/gen-libm-test.pl (parse_args): Don't output initializers
20437 for extra output values.
20439 * math/libm-test.inc (check_int): Expect result to be exactly
20440 equal to expected value and do not handle ulps.
20441 (check_long): Likewise.
20442 (check_longlong): Likewise.
20444 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20446 (cimag_test_data): Likewise.
20447 (conj_test_data): Likewise.
20448 (copysign_test_data): Likewise.
20449 (cproj_test_data): Likewise.
20450 (creal_test_data): Likewise.
20451 (fabs_test_data): Likewise.
20452 (fdim_test_data): Likewise.
20453 (finite_test_data): Likewise.
20454 (floor_test_data): Likewise.
20455 (fmax_test_data): Likewise.
20456 (fmin_test_data): Likewise.
20457 (fmod_test_data): Likewise.
20458 (fpclassify_test_data): Likewise.
20459 (frexp_test_data): Likewise.
20460 (ilogb_test_data): Likewise.
20461 (isfinite_test_data): Likewise.
20462 (isgreater_test_data): Likewise.
20463 (isgreaterequal_test_data): Likewise.
20464 (isinf_test_data): Likewise.
20465 (isless_test_data): Likewise.
20466 (islessequal_test_data): Likewise.
20467 (islessgreater_test_data): Likewise.
20468 (isnan_test_data): Likewise.
20469 (isnormal_test_data): Likewise.
20470 (issignaling_test_data): Likewise.
20471 (isunordered_test_data): Likewise.
20472 (ldexp_test_data): Likewise.
20473 (lrint_test_data): Likewise.
20474 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20475 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20476 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20477 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20478 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20479 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20481 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20482 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20483 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20484 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20486 (lrint_downward_test_data): Test for "inexact" exceptions.
20487 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20488 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20489 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20491 (lrint_upward_test_data): Test for "inexact" exceptions.
20492 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20494 (llrint_test_data): Test for "inexact" exceptions.
20495 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20496 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20497 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20498 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20499 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20500 (llrint_downward_test_data): Test for "inexact" exceptions.
20501 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20502 (llrint_upward_test_data): Test for "inexact" exceptions.
20503 (logb_test_data): Likewise.
20504 (logb_downward_test_data): Likewise.
20505 (nextafter_test_data): Likewise.
20506 (nexttoward_test_data): Likewise.
20507 (remainder_test_data): Likewise.
20508 (remquo_test_data): Likewise.
20509 (scalbn_test_data): Likewise.
20510 (scalbln_test_data): Likewise.
20511 (signbit_test_data): Likewise.
20512 (sqrt_test_data): Likewise.
20513 (significand_test_data): Likewise.
20515 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20518 * benchtests/bench-modf.c (struct args): Mark arg0 as
20520 * scripts/bench.pl: Mark members of struct args as volatile.
20522 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20525 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20526 negative infinity on POWER6 or lower.
20527 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20529 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20532 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20533 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20534 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20535 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20536 (_FP_SETQNAN): New macro.
20537 (_FP_SETQNAN_SEMIRAW): Likewise.
20538 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20539 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20540 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20541 (FP_EXTEND): Use _FP_FRAC_SNANP.
20542 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20543 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20545 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20547 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20550 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20552 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20553 with DIVIDE_BY_ZERO_EXCEPTION.
20554 (gamma_test_data): Likewise.
20555 (lgamma_test_data): Likewise.
20556 (log_test_data): Likewise.
20557 (log10_test_data): Likewise.
20558 (log2_test_data): Likewise.
20559 (tgamma_test_data): Likewise.
20561 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20562 (acos_test_tonearest): Likewise.
20563 (acos_test_towardzero): Likewise.
20564 (acos_test_downward): Likewise.
20565 (acos_test_upward): Likewise.
20566 (acosh_test): Likewise.
20567 (asin_test): Likewise.
20568 (asin_test_tonearest): Likewise.
20569 (asin_test_towardzero): Likewise.
20570 (asin_test_downward): Likewise.
20571 (asin_test_upward): Likewise.
20572 (asinh_test): Likewise.
20573 (atan_test): Likewise.
20574 (atanh_test): Likewise.
20575 (atan2_test): Likewise.
20576 (cabs_test): Likewise.
20577 (cacos_test): Likewise.
20578 (cacosh_test): Likewise.
20579 (casin_test): Likewise.
20580 (casinh_test): Likewise.
20581 (catan_test): Likewise.
20582 (catanh_test): Likewise.
20583 (cbrt_test): Likewise.
20584 (ccos_test): Likewise.
20585 (ccosh_test): Likewise.
20586 (cexp_test): Likewise.
20587 (clog_test): Likewise.
20588 (clog10_test): Likewise.
20589 (cos_test): Likewise.
20590 (cos_test_tonearest): Likewise.
20591 (cos_test_towardzero): Likewise.
20592 (cos_test_downward): Likewise.
20593 (cos_test_upward): Likewise.
20594 (cosh_test): Likewise.
20595 (cosh_test_tonearest): Likewise.
20596 (cosh_test_towardzero): Likewise.
20597 (cosh_test_downward): Likewise.
20598 (cosh_test_upward): Likewise.
20599 (cpow_test): Likewise.
20600 (csin_test): Likewise.
20601 (csinh_test): Likewise.
20602 (csqrt_test): Likewise.
20603 (ctan_test): Likewise.
20604 (ctan_test_tonearest): Likewise.
20605 (ctan_test_towardzero): Likewise.
20606 (ctan_test_downward): Likewise.
20607 (ctan_test_upward): Likewise.
20608 (ctanh_test): Likewise.
20609 (ctanh_test_tonearest): Likewise.
20610 (ctanh_test_towardzero): Likewise.
20611 (ctanh_test_downward): Likewise.
20612 (ctanh_test_upward): Likewise.
20613 (erf_test): Likewise.
20614 (erfc_test): Likewise.
20615 (exp_test): Likewise.
20616 (exp_test_tonearest): Likewise.
20617 (exp_test_towardzero): Likewise.
20618 (exp_test_downward): Likewise.
20619 (exp_test_upward): Likewise.
20620 (exp10_test): Likewise.
20621 (exp2_test): Likewise.
20622 (expm1_test): Likewise.
20623 (fmod_test): Likewise.
20624 (gamma_test): Likewise.
20625 (hypot_test): Likewise.
20626 (j0_test): Likewise.
20627 (j1_test): Likewise.
20628 (jn_test): Likewise.
20629 (lgamma_test): Likewise.
20630 (log_test): Likewise.
20631 (log10_test): Likewise.
20632 (log1p_test): Likewise.
20633 (log2_test): Likewise.
20634 (logb_test_downward): Likewise.
20635 (pow_test): Likewise.
20636 (pow_test_tonearest): Likewise.
20637 (pow_test_towardzero): Likewise.
20638 (pow_test_downward): Likewise.
20639 (pow_test_upward): Likewise.
20640 (remainder_test): Likewise.
20641 (remquo_test): Likewise.
20642 (sin_test): Likewise.
20643 (sin_test_tonearest): Likewise.
20644 (sin_test_towardzero): Likewise.
20645 (sin_test_downward): Likewise.
20646 (sin_test_upward): Likewise.
20647 (sincos_test): Likewise.
20648 (sinh_test): Likewise.
20649 (sinh_test_tonearest): Likewise.
20650 (sinh_test_towardzero): Likewise.
20651 (sinh_test_downward): Likewise.
20652 (sinh_test_upward): Likewise.
20653 (sqrt_test): Likewise.
20654 (tan_test): Likewise.
20655 (tan_test_tonearest): Likewise.
20656 (tan_test_towardzero): Likewise.
20657 (tan_test_downward): Likewise.
20658 (tan_test_upward): Likewise.
20659 (tanh_test): Likewise.
20660 (tgamma_test): Likewise.
20661 (y0_test): Likewise.
20662 (y1_test): Likewise.
20663 (yn_test): Likewise.
20665 * math/gen-libm-test.pl (adjust_arg): Remove function.
20666 (special_function): Remove argument $in_func. Only handle
20667 generating output for tables of tests, not inside functions.
20668 (parse_args): Likewise.
20669 (generate_testfile): Remove variable $in_func. Update call to
20671 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20672 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20673 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20674 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20675 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20676 (MAX_VALUE_INIT): Rename macro to max_value.
20677 (MIN_VALUE_INIT): Rename macro to min_value.
20678 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20679 (plus_zero): Remove variable.
20680 (minus_zero): Likewise.
20681 (plus_infty): Likewise.
20682 (minus_infty): Likewise.
20683 (qnan_value): Likewise.
20684 (max_value): Likewise.
20685 (min_value): Likewise.
20686 (min_subnorm_value): Likewise.
20688 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20690 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20691 uint64_t or uint32_t usage.
20692 * crypt/sha256-block.c: Likewise.
20693 * crypt/sha256-crypt.c: Likewise.
20694 * crypt/sha256.c: Likewise.
20695 * crypt/sha512-block.c: Likewise.
20696 * crypt/sha512-crypt.c: Likewise.
20697 * crypt/sha512.c: Likewise.
20698 * debug/backtrace-tst.c: Likewise.
20699 * debug/pcprofiledump.c: Likewise.
20700 * elf/cache.c: Likewise.
20701 * elf/dl-cache.c: Likewise.
20702 * elf/dl-misc.c: Likewise.
20703 * elf/dl-profile.c: Likewise.
20704 * elf/dl-support.c: Likewise.
20705 * elf/ldconfig.c: Likewise.
20706 * elf/sprof.c: Likewise.
20707 * iconv/dummy-repertoire.c: Likewise.
20708 * iconv/iconv_charmap.c: Likewise.
20709 * iconv/skeleton.c: Likewise.
20710 * iconvdata/8bit-generic.c: Likewise.
20711 * iconvdata/cp737.h: Likewise.
20712 * iconvdata/cp775.h: Likewise.
20713 * iconvdata/ibm1008.h: Likewise.
20714 * iconvdata/ibm1025.h: Likewise.
20715 * iconvdata/ibm1046.h: Likewise.
20716 * iconvdata/ibm1097.h: Likewise.
20717 * iconvdata/ibm1112.h: Likewise.
20718 * iconvdata/ibm1122.h: Likewise.
20719 * iconvdata/ibm1123.h: Likewise.
20720 * iconvdata/ibm1124.h: Likewise.
20721 * iconvdata/ibm1129.h: Likewise.
20722 * iconvdata/ibm1130.h: Likewise.
20723 * iconvdata/ibm1132.h: Likewise.
20724 * iconvdata/ibm1133.h: Likewise.
20725 * iconvdata/ibm1137.h: Likewise.
20726 * iconvdata/ibm1140.h: Likewise.
20727 * iconvdata/ibm1141.h: Likewise.
20728 * iconvdata/ibm1142.h: Likewise.
20729 * iconvdata/ibm1143.h: Likewise.
20730 * iconvdata/ibm1144.h: Likewise.
20731 * iconvdata/ibm1145.h: Likewise.
20732 * iconvdata/ibm1146.h: Likewise.
20733 * iconvdata/ibm1147.h: Likewise.
20734 * iconvdata/ibm1148.h: Likewise.
20735 * iconvdata/ibm1149.h: Likewise.
20736 * iconvdata/ibm1153.h: Likewise.
20737 * iconvdata/ibm1154.h: Likewise.
20738 * iconvdata/ibm1155.h: Likewise.
20739 * iconvdata/ibm1156.h: Likewise.
20740 * iconvdata/ibm1157.h: Likewise.
20741 * iconvdata/ibm1158.h: Likewise.
20742 * iconvdata/ibm1160.h: Likewise.
20743 * iconvdata/ibm1161.h: Likewise.
20744 * iconvdata/ibm1162.h: Likewise.
20745 * iconvdata/ibm1163.h: Likewise.
20746 * iconvdata/ibm1164.h: Likewise.
20747 * iconvdata/ibm1166.h: Likewise.
20748 * iconvdata/ibm1167.h: Likewise.
20749 * iconvdata/ibm12712.h: Likewise.
20750 * iconvdata/ibm1390.h: Likewise.
20751 * iconvdata/ibm1399.h: Likewise.
20752 * iconvdata/ibm16804.h: Likewise.
20753 * iconvdata/ibm4517.h: Likewise.
20754 * iconvdata/ibm4899.h: Likewise.
20755 * iconvdata/ibm4909.h: Likewise.
20756 * iconvdata/ibm4971.h: Likewise.
20757 * iconvdata/ibm5347.h: Likewise.
20758 * iconvdata/ibm803.h: Likewise.
20759 * iconvdata/ibm856.h: Likewise.
20760 * iconvdata/ibm901.h: Likewise.
20761 * iconvdata/ibm902.h: Likewise.
20762 * iconvdata/ibm9030.h: Likewise.
20763 * iconvdata/ibm9066.h: Likewise.
20764 * iconvdata/ibm921.h: Likewise.
20765 * iconvdata/ibm922.h: Likewise.
20766 * iconvdata/ibm9448.h: Likewise.
20767 * iconvdata/isiri-3342.h: Likewise.
20768 * iconvdata/jis0201.h: Likewise.
20769 * include/link.h: Likewise.
20770 * include/netdb.h: Likewise.
20771 * inet/check_native.c: Likewise.
20772 * inet/check_pf.c: Likewise.
20773 * inet/getipv4sourcefilter.c: Likewise.
20774 * inet/getnameinfo.c: Likewise.
20775 * inet/getsourcefilter.c: Likewise.
20776 * inet/htonl.c: Likewise.
20777 * inet/setipv4sourcefilter.c: Likewise.
20778 * inet/setsourcefilter.c: Likewise.
20779 * inet/test-inet6_opt.c: Likewise.
20780 * inet/tst-network.c: Likewise.
20781 * locale/C-collate.c: Likewise.
20782 * locale/C-ctype.c: Likewise.
20783 * locale/C-time.c: Likewise.
20784 * locale/C-translit.h: Likewise.
20785 * locale/loadarchive.c: Likewise.
20786 * locale/programs/3level.h: Likewise.
20787 * locale/programs/charmap.c: Likewise.
20788 * locale/programs/charmap.h: Likewise.
20789 * locale/programs/ld-address.c: Likewise.
20790 * locale/programs/ld-collate.c: Likewise.
20791 * locale/programs/ld-ctype.c: Likewise.
20792 * locale/programs/ld-identification.c: Likewise.
20793 * locale/programs/ld-measurement.c: Likewise.
20794 * locale/programs/ld-messages.c: Likewise.
20795 * locale/programs/ld-monetary.c: Likewise.
20796 * locale/programs/ld-name.c: Likewise.
20797 * locale/programs/ld-numeric.c: Likewise.
20798 * locale/programs/ld-paper.c: Likewise.
20799 * locale/programs/ld-telephone.c: Likewise.
20800 * locale/programs/ld-time.c: Likewise.
20801 * locale/programs/linereader.c: Likewise.
20802 * locale/programs/locale.c: Likewise.
20803 * locale/programs/locarchive.c: Likewise.
20804 * locale/programs/locfile.h: Likewise.
20805 * locale/programs/repertoire.c: Likewise.
20806 * locale/programs/simple-hash.c: Likewise.
20807 * locale/programs/simple-hash.h: Likewise.
20808 * malloc/memusage.c: Likewise.
20809 * malloc/memusagestat.c: Likewise.
20810 * nis/nis_defaults.c: Likewise.
20811 * nis/nis_hash.c: Likewise.
20812 * nis/nis_print.c: Likewise.
20813 * nis/nis_xdr.c: Likewise.
20814 * nscd/connections.c: Likewise.
20815 * nscd/hstcache.c: Likewise.
20816 * nscd/nscd_gethst_r.c: Likewise.
20817 * nscd/nscd_getserv_r.c: Likewise.
20818 * nscd/nscd_helper.c: Likewise.
20819 * nscd/servicescache.c: Likewise.
20820 * nss/makedb.c: Likewise.
20821 * nss/nss_db/db-XXX.c: Likewise.
20822 * nss/nss_db/db-initgroups.c: Likewise.
20823 * nss/nss_db/db-netgrp.c: Likewise.
20824 * nss/nss_files/files-network.c: Likewise.
20825 * nss/nss_files/files-parse.c: Likewise.
20826 * posix/bug-regex5.c: Likewise.
20827 * posix/fnmatch_loop.c: Likewise.
20828 * posix/regcomp.c: Likewise.
20829 * posix/regexec.c: Likewise.
20830 * posix/tst-rfc3484-2.c: Likewise.
20831 * posix/tst-rfc3484-3.c: Likewise.
20832 * posix/tst-rfc3484.c: Likewise.
20833 * resolv/nss_dns/dns-canon.c: Likewise.
20834 * resolv/nss_dns/dns-network.c: Likewise.
20835 * resolv/res_init.c: Likewise.
20836 * resolv/res_mkquery.c: Likewise.
20837 * resolv/tst-aton.c: Likewise.
20838 * stdlib/cxa_atexit.c: Likewise.
20839 * stdlib/cxa_finalize.c: Likewise.
20840 * stdlib/gen-fpioconst.c: Likewise.
20841 * stdlib/strtol_l.c: Likewise.
20842 * string/tst-endian.c: Likewise.
20843 * sunrpc/auth_des.c: Likewise.
20844 * sunrpc/clnt_udp.c: Likewise.
20845 * sunrpc/rtime.c: Likewise.
20846 * sunrpc/svcauth_des.c: Likewise.
20847 * sunrpc/xdr.c: Likewise.
20848 * sunrpc/xdr_intXX_t.c: Likewise.
20849 * sunrpc/xdr_rec.c: Likewise.
20850 * sysdeps/generic/ldconfig.h: Likewise.
20851 * sysdeps/generic/ldsodefs.h: Likewise.
20852 * sysdeps/generic/memusage.h: Likewise.
20853 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20854 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20855 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20856 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20857 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20858 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20859 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20860 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20861 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20862 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20863 * sysdeps/posix/getaddrinfo.c: Likewise.
20864 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20865 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20866 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20867 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20868 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20869 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20870 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20871 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20872 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20873 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20874 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20875 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20876 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20877 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20878 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20879 * sysdeps/x86_64/dl-tls.h: Likewise.
20880 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20881 * time/alt_digit.c: Likewise.
20882 * time/era.c: Likewise.
20883 * wcsmbs/tst-c16c32-1.c: Likewise.
20885 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20887 * math/libm-test.inc (struct test_sincos_data): New type.
20888 (RUN_TEST_LOOP_sincos): New macro.
20889 (sincos_test_data): New variable.
20890 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20892 2013-05-16 Richard Henderson <rth@redhat.com>
20894 * math/atest-exp2.c (LIMB64): New macro.
20895 (CONSTSZ): New macro.
20896 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20898 (print_mpn_fp): ... to function scope.
20899 (read_mpn_hex): Remove.
20900 (get_log2): Remove.
20901 (exp2_mpn): Use mp_log2.
20902 (main): Use mp_exp1.
20904 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20906 * math/libm-test.inc: Remove comment about not testing "inexact"
20908 (INEXACT_EXCEPTION): New macro.
20909 (NO_INEXACT_EXCEPTION): Likewise.
20910 (INVALID_EXCEPTION_OK): Update value.
20911 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20912 (OVERFLOW_EXCEPTION_OK): Likewise.
20913 (UNDERFLOW_EXCEPTION_OK): Likewise.
20914 (IGNORE_ZERO_INF_SIGN): Likewise.
20915 (ERRNO_UNCHANGED): Likewise.
20916 (ERRNO_EDOM): Likewise.
20917 (ERRNO_ERANGE): Likewise.
20918 (test_exceptions): Handle testing "inexact" exceptions.
20919 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20920 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20921 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20922 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20924 (rint_towardzero_test_data): Likewise.
20925 (rint_downward_test_data): Likewise.
20926 (rint_upward_test_data): Likewise.
20928 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20929 with OVERFLOW_EXCEPTION.
20930 (exp10_test_data): Likewise.
20931 (exp2_test_data): Likewise.
20932 (expm1_test_data): Likewise.
20933 (lgamma_test_data): Likewise.
20934 (pow_test_data): Likewise.
20935 (tgamma_test_data): Likewise.
20936 (yn_test_data): Remove duplicate test of overflow.
20938 * math/libm-test.inc (struct test_cc_c_data): New type.
20939 (RUN_TEST_LOOP_cc_c): New macro.
20940 (cpow_test_data): New variable.
20941 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20943 * math/libm-test.inc (struct test_f_L_data): New type.
20944 (RUN_TEST_LOOP_f_L): New macro.
20945 (llrint_test_data): New variable.
20946 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20947 (llrint_tonearest_test_data): New variable.
20948 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20949 (llrint_towardzero_test_data): New variable.
20950 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20951 (llrint_downward_test_data): New variable.
20952 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20953 (llrint_upward_test_data): New variable.
20954 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20955 (llround_test_data): New variable.
20956 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20958 2013-05-13 Peter Collingbourne <pcc@google.com>
20960 * math/atest-exp2.c (get_log2): Remove const attribute.
20962 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20964 * math/libm-test.inc (struct test_f_l_data): New type.
20965 (RUN_TEST_LOOP_f_l): New macro.
20966 (lrint_test_data): New variable.
20967 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20968 (lrint_tonearest_test_data): New variable.
20969 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20970 (lrint_towardzero_test_data): New variable.
20971 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20972 (lrint_downward_test_data): New variable.
20973 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20974 (lrint_upward_test_data): New variable.
20975 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20976 (lround_test_data): New variable.
20977 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20979 2013-05-15 Peter Collingbourne <pcc@google.com>
20981 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20982 (EXTRACT_WORDS64) Use where appropriate.
20983 (INSERT_WORDS64) Likewise.
20985 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20986 constraints with x constraints.
20987 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20989 * malloc/obstack.c (_obstack_compat): Add initializer.
20991 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20993 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20994 si_trapno and add si_addr_lsb to _sifields.sigfault.
20995 (si_trapno): Remove macro.
20996 (si_addr_lsb): Define new macro.
20997 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20999 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21001 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21002 instead of TEST_f_l.
21003 (llrint_test_tonearest): Likewise.
21004 (llrint_test_towardzero): Likewise.
21005 (llrint_test_downward): Likewise.
21006 (llrint_test_upward): Likewise.
21007 (llround_test): Likewise.
21009 * math/libm-test.inc (struct test_f_i_data): Add comment.
21010 (RUN_TEST_LOOP_f_b): New macro.
21011 (RUN_TEST_LOOP_f_b_tg): Likewise.
21012 (finite_test_data): New variable.
21013 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21014 (isfinite_test_data): New variable.
21015 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21016 (isinf_test_data): New variable.
21017 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21018 (isnan_test_data): New variable.
21019 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21020 (isnormal_test_data): New variable.
21021 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21022 (issignaling_test_data): New variable.
21023 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21024 (signbit_test_data): New variable.
21025 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21027 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21028 with INVALID_EXCEPTION.
21029 (acosh_test_data): Likewise.
21030 (asin_test_data): Likewise.
21031 (atanh_test_data): Likewise.
21032 (fmod_test_data): Likewise.
21033 (log_test_data): Likewise.
21034 (log10_test_data): Likewise.
21035 (log2_test_data): Likewise.
21036 (pow_test_data): Likewise.
21037 (sqrt_test_data): Likewise.
21038 (y0_test_data): Likewise.
21039 (y1_test_data): Likewise.
21040 (yn_test_data): Likewise.
21042 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21045 * math/libm-test.inc (struct test_ff_i_data): New type.
21046 (RUN_TEST_LOOP_ff_i_tg): New macro.
21047 (isgreater_test_data): New variable.
21048 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21049 (isgreaterequal_test_data): New variable.
21050 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21051 (isless_test_data): New variable.
21052 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21053 (islessequal_test_data): New variable.
21054 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21055 (islessgreater_test_data): New variable.
21056 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21057 (isunordered_test_data): New variable.
21058 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21060 2013-05-14 David S. Miller <davem@davemloft.net>
21062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21064 2013-05-14 Joseph Myers <joseph@codesourcery.com>
21066 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21068 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21070 (struct test_f_i_data): Change type of max_ulp to int.
21072 * math/libm-test.inc (test_ffI_f1_data): New type.
21073 (RUN_TEST_LOOP_ffI_f1): New macro.
21074 (remquo_test_data): New variable.
21075 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21077 * setjmp/tst-setjmp-fp.c: New file.
21078 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21079 (link-libm): New variable.
21080 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21082 * math/libm-test.inc (struct test_f_i_data): New type.
21083 (RUN_TEST_LOOP_f_i): New macro.
21084 (RUN_TEST_LOOP_f_i_tg): Likewise.
21085 (fpclassify_test_data): New variable.
21086 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21087 (ilogb_test_data): New variable.
21088 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21090 * math/libm-test.inc (scalbln_test): Correct function name in END
21093 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21094 (RUN_TEST_LOOP_fI_f1): New macro.
21095 (frexp_test_data): New variable.
21096 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21098 * math/libm-test.inc (struct test_fF_f1_data): New type.
21099 (RUN_TEST_LOOP_fF_f1): New macro.
21100 (modf_test_data): New variable.
21101 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21103 * math/libm-test.inc (struct test_f_f1_data): New type.
21104 (RUN_TEST_LOOP_f_f1): New macro.
21105 (gamma_test_data): New variable.
21106 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21107 (lgamma_test_data): New variable.
21108 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21110 2013-05-13 Carlos O'Donell <carlos@redhat.com>
21112 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21113 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21114 (main): Comment "tls" pseudo-hwcap.
21116 2013-05-13 Joseph Myers <joseph@codesourcery.com>
21118 * math/libm-test.inc (struct test_fl_f_data): New type.
21119 (RUN_TEST_LOOP_fl_f): New variable.
21120 (scalbln_test_data): New variable.
21121 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21123 * math/libm-test.inc (struct test_fi_f_data): New type.
21124 (RUN_TEST_LOOP_fi_f): New macro.
21125 (ldexp_test_data): New variable.
21126 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21127 (scalbn_test_data): New variable.
21128 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21130 * math/libm-test.inc (struct test_c_f_data): New type.
21131 (RUN_TEST_LOOP_c_f): New macro.
21132 (cabs_test_data): New variable.
21133 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21134 (carg_test_data): New variable.
21135 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21136 (cimag_test_data): New variable.
21137 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21138 (creal_test_data): New variable.
21139 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21141 * math/libm-test.inc (struct test_if_f_data): New type.
21142 (RUN_TEST_LOOP_if_f): New macro.
21143 (jn_test_data): New variable.
21144 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21145 (yn_test_data): New variable.
21146 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21148 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21150 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21152 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21153 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21155 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21157 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21158 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21159 (bench-deps): Add bench-timing.h.
21160 * benchtests-bench-skeleton.c: Include bench-timing.h.
21161 (main): Use TIMING_* macros instead of clock_gettime.
21162 * benchtests/bench-timing.h: New file.
21165 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21166 Renamed from _LIB_VERSION.
21167 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21169 2013-05-12 Joseph Myers <joseph@codesourcery.com>
21171 * math/libm-test.inc (struct test_fff_f_data): New type.
21172 (RUN_TEST_LOOP_fff_f): New macro.
21173 (fma_test_data): New variable.
21174 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21175 (fma_towardzero_test_data): New variable.
21176 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21177 (fma_downward_test_data): New variable.
21178 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21179 (fma_upward_test_data): New variable.
21180 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21182 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21183 (struct test_c_c_data): New type.
21184 (RUN_TEST_LOOP_c_c): New macro.
21185 (cacos_test_data): New variable.
21186 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21187 (cacosh_test_data): New variable.
21188 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21189 (casin_test_data): New variable.
21190 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21191 (casinh_test_data): New variable.
21192 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21193 (catan_test_data): New variable.
21194 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21195 (catanh_test_data): New variable.
21196 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21197 (ccos_test_data): New variable.
21198 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21199 (ccosh_test_data): New variable.
21200 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21201 (cexp_test_data): New variable.
21202 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21203 (clog_test_data): New variable.
21204 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21205 (clog10_test_data): New variable.
21206 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21207 (conj_test_data): New variable.
21208 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21209 (cproj_test_data): New variable.
21210 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21211 (csin_test_data): New variable.
21212 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21213 (csinh_test_data): New variable.
21214 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21215 (csqrt_test_data): New variable.
21216 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21217 (ctan_test_data): New variable.
21218 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21219 (ctan_tonearest_test_data): New variable.
21220 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21221 (ctan_towardzero_test_data): New variable.
21222 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21223 (ctan_downward_test_data): New variable.
21224 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21225 (ctan_upward_test_data): New variable.
21226 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21227 (ctanh_test_data): New variable.
21228 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21229 (ctanh_tonearest_test_data): New variable.
21230 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21231 (ctanh_towardzero_test_data): New variable.
21232 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21233 (ctanh_downward_test_data): New variable.
21234 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21235 (ctanh_upward_test_data): New variable.
21236 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21237 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21240 * math/libm-test.inc (struct test_ff_f_data): New type.
21241 (struct test_ff_f_data_nexttoward): Likewise.
21242 (RUN_TEST_LOOP_2_f): New macro.
21243 (RUN_TEST_LOOP_ff_f): Likewise.
21244 (atan2_test_data): New variable.
21245 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21246 (copysign_test_data): New variable.
21247 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21248 (fdim_test_data): New variable.
21249 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21250 (fmax_test_data): New variable.
21251 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21252 (fmin_test_data): New variable.
21253 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21254 (fmod_test_data): New variable.
21255 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21256 (hypot_test_data): New variable.
21257 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21258 (nextafter_test_data): New variable.
21259 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21260 (nexttoward_test_data): New variable.
21261 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21262 (pow_test_data): New variable.
21263 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21264 (pow_tonearest_test_data): New variable.
21265 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21266 (pow_towardzero_test_data): New variable.
21267 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21268 (pow_downward_test_data): New variable.
21269 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21270 (pow_upward_test_data): New variable.
21271 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21272 (remainder_test_data): New variable.
21273 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21274 (scalb_test_data): New variable.
21275 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21276 * sysdeps/i386/fpu/libm-test-ulps: Update.
21278 2013-05-11 Joseph Myers <joseph@codesourcery.com>
21280 * math/libm-test.inc (fma_test): Use max_value instead of local
21282 (nextafter_test): Likewise.
21284 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21285 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21286 (acos_downward_test_data): New variable.
21287 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21288 (acos_upward_test_data): New variable.
21289 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21290 (acosh_test_data): New variable.
21291 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21292 (asin_test_data): New variable.
21293 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21294 (asin_tonearest_test_data): New variable.
21295 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21296 (asin_towardzero_test_data): New variable.
21297 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21298 (asin_downward_test_data): New variable.
21299 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21300 (asin_upward_test_data): New variable.
21301 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21302 (asinh_test_data): New variable.
21303 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21304 (atan_test_data): New variable.
21305 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21306 (atanh_test_data): New variable.
21307 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21308 (cbrt_test_data): New variable.
21309 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21310 (ceil_test_data): New variable.
21311 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21312 (cos_test_data): New variable.
21313 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21314 (cos_tonearest_test_data): New variable.
21315 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21316 (cos_towardzero_test_data): New variable.
21317 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21318 (cos_downward_test_data): New variable.
21319 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21320 (cos_upward_test_data): New variable.
21321 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21322 (cosh_test_data): New variable.
21323 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21324 (cosh_tonearest_test_data): New variable.
21325 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21326 (cosh_towardzero_test_data): New variable.
21327 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21328 (cosh_downward_test_data): New variable.
21329 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21330 (cosh_upward_test_data): New variable.
21331 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21332 (erf_test_data): New variable.
21333 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21334 (erfc_test_data): New variable.
21335 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21336 (exp_test_data): New variable.
21337 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21338 (exp_tonearest_test_data): New variable.
21339 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21340 (exp_towardzero_test_data): New variable.
21341 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21342 (exp_downward_test_data): New variable.
21343 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21344 (exp_upward_test_data): New variable.
21345 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21346 (exp10_test_data): New variable.
21347 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21348 (exp2_test_data): New variable.
21349 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21350 (expm1_test_data): New variable.
21351 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21352 (fabs_test_data): New variable.
21353 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21354 (floor_test_data): New variable.
21355 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21356 (j0_test_data): New variable.
21357 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21358 (j1_test_data): New variable.
21359 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21360 (log_test_data): New variable.
21361 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21362 (log10_test_data): New variable.
21363 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21364 (log1p_test_data): New variable.
21365 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21366 (log2_test_data): New variable.
21367 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21368 (logb_test_data): New variable.
21369 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21370 (logb_downward_test_data): New variable.
21371 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21372 (nearbyint_test_data): New variable.
21373 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21374 (rint_test_data): New variable.
21375 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21376 (rint_tonearest_test_data): New variable.
21377 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21378 (rint_towardzero_test_data): New variable.
21379 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21380 (rint_downward_test_data): New variable.
21381 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21382 (rint_upward_test_data): New variable.
21383 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21384 (round_test_data): New variable.
21385 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21386 (sin_test_data): New variable.
21387 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21388 (sin_tonearest_test_data): New variable.
21389 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21390 (sin_towardzero_test_data): New variable.
21391 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21392 (sin_downward_test_data): New variable.
21393 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21394 (sin_upward_test_data): New variable.
21395 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21396 (sinh_test_data): New variable.
21397 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21398 (sinh_tonearest_test_data): New variable.
21399 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21400 (sinh_towardzero_test_data): New variable.
21401 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21402 (sinh_downward_test_data): New variable.
21403 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21404 (sinh_upward_test_data): New variable.
21405 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21406 (sqrt_test_data): New variable.
21407 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21408 (tan_test_data): New variable.
21409 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21410 (tan_tonearest_test_data): New variable.
21411 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21412 (tan_towardzero_test_data): New variable.
21413 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21414 (tan_downward_test_data): New variable.
21415 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21416 (tan_upward_test_data): New variable.
21417 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21418 (tanh_test_data): New variable.
21419 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21420 (tgamma_test_data): New variable.
21421 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21422 (trunc_test_data): New variable.
21423 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21424 (y0_test_data): New variable.
21425 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21426 (y1_test_data): New variable.
21427 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21428 (significand_test_data): New variable.
21429 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21431 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21434 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21436 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21438 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21440 2013-05-10 Andreas Jaeger <aj@suse.de>
21443 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21444 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21446 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21448 * math/gen-libm-test.pl (adjust_arg): New function.
21449 (special_functions): Handle generating output in both functions
21451 (parse_args): Likewise.
21452 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21453 $in_func argument to parse_args.
21454 * math/libm-test.inc (struct test_f_f_data): New type.
21455 (IF_ROUND_INIT_): New macro.
21456 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21457 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21458 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21459 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21460 (ROUND_RESTORE_): Likewise.
21461 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21462 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21463 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21464 (ROUND_RESTORE_FE_UPWARD): Likewise.
21465 (RUN_TEST_LOOP_f_f): New macro.
21466 (acos_test_data): New variable.
21467 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21468 (acos_tonearest_test_data): New variable.
21469 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21471 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21473 * benchtests/bench-skeleton.c (startup): Fix coding style.
21475 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21478 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21479 negative infinity argument.
21480 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21481 negative infinity argument.
21482 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21483 negative infinity argument.
21484 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21487 2013-05-10 Florian Weimer <fweimer@redhat.com>
21489 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21490 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21491 * iconv/iconv_prog.c (main): Likewise.
21492 * locale/programs/charmap-dir.c (charmap_readdir)
21493 (fopen_uncompressed): Likewise.
21494 * locale/programs/locfile.c (siblings_uncached)
21495 (write_locale_data): Use lstat64 instead of lstat.
21496 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21499 2013-05-10 Andreas Jaeger <aj@suse.de>
21502 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21504 Include <locale.h>.
21506 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21508 * elf/dl-close.c (_dl_close_worker): Add comments.
21510 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21513 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21515 (__ieee754_rem_pio2l): Update comments.
21518 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21520 (__ieee754_rem_pio2l): Update comments.
21522 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21523 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21525 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21528 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21529 (M_PI_34_LOG10El): Likewise.
21530 (M_PI2_LOG10El): Likewise.
21531 (M_PI4_LOG10El): Likewise.
21532 (M_PI_LOG10El): Likewise.
21534 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21538 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21540 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21541 (MINUS_ZERO_INIT): Likewise.
21542 (PLUS_INFTY_INIT): Likewise.
21543 (MINUS_INFTY_INIT): Likewise.
21544 (QNAN_VALUE_INIT): Likewise.
21545 (MAX_VALUE_INIT): Likewise.
21546 (MIN_VALUE_INIT): Likewise.
21547 (MIN_SUBNORM_VALUE_INIT): Likewise.
21548 (plus_zero): Initialize with PLUS_ZERO_INIT.
21549 (minus_zero): Initialize with MINUS_ZERO_INIT.
21550 (plus_infty): Initialize with PLUS_INFTY_INIT.
21551 (minus_infty): Initialize with MINUS_INFTY_INIT.
21552 (qnan_value): Initialize with QNAN_VALUE_INIT.
21553 (max_value): Initialize with MAX_VALUE_INIT.
21554 (min_value): Initialize with MIN_VALUE_INIT.
21555 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21557 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21558 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21559 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21560 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21562 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21563 (RUN_TEST_2_f): Likewise.
21564 (RUN_TEST_ff_f): Likewise.
21565 (RUN_TEST_fi_f): Likewise.
21566 (RUN_TEST_fl_f): Likewise.
21567 (RUN_TEST_fff_f): Likewise.
21568 (RUN_TEST_c_f): Likewise.
21569 (RUN_TEST_f_f1): Likewise.
21570 (RUN_TEST_fF_f1): Likewise.
21571 (RUN_TEST_fI_f1): Likewise.
21572 (RUN_TEST_ffI_f1): Likewise.
21573 (RUN_TEST_c_c): Likewise.
21574 (RUN_TEST_cc_c): Likewise.
21575 (RUN_TEST_f_i): Likewise.
21576 (RUN_TEST_f_i_tg): Likewise.
21577 (RUN_TEST_ff_i_tg): Likewise.
21578 (RUN_TEST_f_b): Likewise.
21579 (RUN_TEST_f_b_tg): Likewise.
21580 (RUN_TEST_f_l): Likewise.
21581 (RUN_TEST_f_L): Likewise.
21582 (RUN_TEST_sincos): Likewise.
21583 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21584 whether to show exceptions. Do not include ");\n" in return
21586 (special_functions): Output call to RUN_TEST_sincos instead of
21587 check_float calls. Update calls to new_test.
21588 (parse_args): Output call to single RUN_TEST_* macro instead of
21589 check_* calls and other assignments. Update calls to new_test.
21595 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21596 input to result for tgamma overflow.
21597 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21598 (gamma_coeff): New variable.
21599 (NCOEFF): New macro.
21600 (gamma_positive): New function.
21601 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21602 underflow here. Use gamma_positive instead of exp (lgamma) for
21604 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21605 (gamma_coeff): New variable.
21606 (NCOEFF): New macro.
21607 (gammaf_positive): New function.
21608 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21609 underflow here. Use gamma_positive instead of exp (lgamma) for
21611 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21612 (gamma_coeff): New variable.
21613 (NCOEFF): New macro.
21614 (gammal_positive): New function.
21615 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21616 underflow here. Use gamma_positive instead of exp (lgamma) for
21618 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21619 (gamma_coeff): New variable.
21620 (NCOEFF): New macro.
21621 (gammal_positive): New function.
21622 (__ieee754_gammal_r): Handle positive infinity, overflow and
21623 underflow here. Handle NaN the same as positive infinity. Remove
21624 check x < 0xffffffff for negative integers. Use gamma_positive
21625 instead of exp (lgamma) for other arguments.
21626 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21627 (gamma_coeff): New variable.
21628 (NCOEFF): New macro.
21629 (gammal_positive): New function.
21630 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21631 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21632 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21633 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21634 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21635 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21636 * sysdeps/generic/math_private.h (__gamma_productf): New
21638 (__gamma_product): Likewise.
21639 (__gamma_productl): Likewise.
21640 * math/Makefile (libm-calls): Add gamma_product.
21641 * math/libm-test.inc (tgamma_test): Add more tests.
21642 * sysdeps/i386/fpu/libm-test-ulps: Update.
21643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21645 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21647 * benchtests/bench-skeleton.c (main): Preheat CPU.
21649 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21651 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21653 2013-05-07 Roland McGrath <roland@hack.frob.com>
21655 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21656 and _dl_skip_args_internal.
21658 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21660 * manual/message.texi (Message Translation): Talk about users.
21661 Message to key mapping impacts design.
21663 2013-05-06 Roland McGrath <roland@hack.frob.com>
21665 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21667 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21669 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21670 * sysdeps/wordsize-64/glob64.c: ... here.
21672 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21673 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21676 * debug/getlogin_r_chk.c: Moved to ...
21677 * login/getlogin_r_chk.c: ... here.
21678 * debug/Makefile (routines): Move getlogin_r_chk to ...
21679 * login/Makefile (routines): ... here.
21680 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21681 * login/Versions (libc: GLIBC_2.4): ... here.
21683 * io/poll.c (__poll): Renamed from poll.
21684 Add libc_hidden_def.
21685 (poll): Define as weak alias.
21687 * debug/ptsname_r_chk.c: Moved to ...
21688 * login/ptsname_r_chk.c: ... here.
21689 * debug/Makefile (routines): Move ptsname_r_chk to ...
21690 * login/Makefile (routines): ... here.
21691 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21692 * login/Versions (libc: GLIBC_2.4): ... here.
21694 * posix/getlogin.c: Moved to ...
21695 * login/getlogin.c: ... here.
21696 * posix/getlogin_r.c: Moved to ...
21697 * login/getlogin_r.c: ... here.
21698 * posix/getlogin_r.c: Moved to ...
21699 * login/getlogin_r.c: ... here.
21700 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21701 * login/Makefile (routines): ... here.
21702 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21703 * login/Versions (libc: GLIBC_2.0): ... here.
21705 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21706 (setrlimit): Define as weak alias.
21708 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21709 Call __ names for open, ftruncate, and close.
21710 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21711 (truncate): Define as weak alias.
21713 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21715 * math/gen-libm-test.pl (parse_args): Initialize x before each
21716 test of frexp, modf and remquo.
21718 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21719 test signgam value.
21721 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21725 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21727 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21729 2013-05-06 Roland McGrath <roland@hack.frob.com>
21731 * elf/dl-writev.h: New file.
21732 * elf/dl-misc.c: Include it.
21733 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21734 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21736 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21738 * math/libm-test.inc (noXFails): Remove variable.
21739 (noXPasses): Likewise.
21740 (BUILD_COMPLEX_INT): Remove macro.
21741 (print_screen): Remove xfail argument.
21742 (print_screen_max_error): Likewise.
21743 (update_stats): Likewise.
21744 (print_max_error): Likewise. Update calls to other affected
21746 (print_complex_max_error): Likewise.
21747 (test_single_exception): Update calls to print_screen.
21748 (test_single_errno): Likewise.
21749 (check_float_internal): Remove xfail argument. Update calls to
21750 other affected functions.
21751 (check_float): Likewise.
21752 (check_complex): Likewise.
21753 (check_int): Likewise.
21754 (check_long): Likewise.
21755 (check_bool): Likewise.
21756 (check_longlong): Likewise.
21757 (main): Don't print noXFails and noXPasses.
21758 * math/gen-libm-test.pl (top level): Don't mention expected
21759 failure handling in comment.
21760 (new_test): Don't handle expected failures.
21761 (parse_args): Don't mention expected failure handling in comment.
21762 (generate_testfile): Don't handle expected failures.
21763 (parse_ulps): Likewise.
21764 (print_ulps_file): Likewise.
21765 (get_failure): Remove function.
21766 (output_test): Don't handle expected failures.
21767 * make/README.libm-test: Don't mention expected failure handling.
21769 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21770 (minus_zero): Likewise.
21771 (plus_infty): Likewise.
21772 (minus_infty): Likewise.
21773 (qnan_value): Likewise.
21774 (max_value): Likewise.
21775 (min_value): Likewise.
21776 (min_subnorm_value): Likewise.
21777 (initialize): Do not initialize those variables dynamically.
21779 2013-05-03 Roland McGrath <roland@hack.frob.com>
21781 * io/open.c (__open_2): Moved to ...
21782 * io/open_2.c: ... this new file.
21783 * io/open64.c (__open64_2): Moved to ...
21784 * io/open64_2.c: ... this new file.
21785 * io/openat.c (__openat_2): Moved to ...
21786 * io/openat_2.c: ... this new file.
21787 * io/openat64.c (__openat64_2): Moved to ...
21788 * io/openat64_2.c: ... this new file.
21789 * io/Makefile (routines): Add them.
21790 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21791 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21792 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21793 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21794 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21795 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21796 (__openat64): Add hidden_ver.
21797 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21798 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21800 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21801 Separately conditionalize setting of GLRO(dl_sysinfo) so
21802 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21803 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21805 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21807 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21808 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21810 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21811 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21812 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21813 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21814 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21816 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21818 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21819 test signgam value.
21821 * math/libm-test.inc (hypot_test): Do not use
21822 IGNORE_ZERO_INF_SIGN.
21824 2013-05-03 Andreas Jaeger <aj@suse.de>
21826 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21828 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21829 (PF_MAX): Adjust for VSOCK change.
21831 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21835 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21838 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21839 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21840 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21842 2013-05-02 David S. Miller <davem@davemloft.net>
21844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21846 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21848 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21850 2013-05-01 Roland McGrath <roland@hack.frob.com>
21852 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21854 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21857 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21858 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21859 Use __attribute__ ((__gnu_inline__)).
21860 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21861 Don't use __attribute__ ((__gnu_inline__)).
21863 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21866 * math/s_catan.c (__catan): Handle small real or imaginary part of
21867 input specially to avoid spurious underflow.
21868 * math/s_catanf.c (__catanf): Likewise.
21869 * math/s_catanh.c (__catanh): Likewise.
21870 * math/s_catanhf.c (__catanhf): Likewise.
21871 * math/s_catanhl.c (__catanhl): Likewise.
21872 * math/s_catanl.c (__catanl): Likewise.
21873 * math/libm-test.inc (catan_test): Add more tests.
21874 (catanh_test): Likewise.
21875 * sysdeps/i386/fpu/libm-test-ulps: Update.
21876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21878 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21882 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21885 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21886 accurately for denominator in atan2.
21887 * math/s_catanf.c (__catanf): Likewise.
21888 * math/s_catanh.c (__catanh): Likewise.
21889 * math/s_catanhf.c (__catanhf): Likewise.
21890 * math/s_catanhl.c (__catanhl): Likewise.
21891 * math/s_catanl.c (__catanl): Likewise.
21892 * math/libm-test.inc (catan_test): Add more tests.
21893 (catanh_test): Likewise.
21894 * sysdeps/i386/fpu/libm-test-ulps: Update.
21895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21897 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21899 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21901 * benchtests/Makefile (bench): Remove slow benchmarks.
21902 * benchtests/atan-inputs: Add slow benchmark inputs.
21903 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21904 (BENCH_FUNC): Accept variant offset.
21906 * benchtests/bench-skeleton.c (main): Run benchmark for each
21908 * benchtests/cos-inputs: Add slow benchmark inputs.
21909 * benchtests/exp-inputs: Likewise.
21910 * benchtests/pow-inputs: Likewise.
21911 * benchtests/sin-inputs: Likewise.
21912 * benchtests/slowatan-inputs: Remove.
21913 * benchtests/slowatan.c: Remove.
21914 * benchtests/slowcos-inputs: Remove.
21915 * benchtests/slowcos.c: Remove.
21916 * benchtests/slowexp-inputs: Remove.
21917 * benchtests/slowexp.c: Remove.
21918 * benchtests/slowpow-inputs: Remove.
21919 * benchtests/slowpow.c: Remove.
21920 * benchtests/slowsin-inputs: Remove.
21921 * benchtests/slowsin.c: Remove.
21922 * benchtests/slowtan-inputs: Remove.
21923 * benchtests/slowtan.c: Remove.
21924 * benchtests/tan-inputs: Add slow benchmark inputs.
21925 * scripts/bench.pl: Parse comments and directives.
21927 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21929 ($(objpfx)bench-%.c): Remove *-ITER.
21930 * benchtests/bench-modf.c: Remove definition of ITER.
21931 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21932 (main): Loop for DURATION seconds instead of fixed number of
21934 * scripts/bench.pl: Don't expect iterations in parameters.
21936 2013-04-29 Roland McGrath <roland@hack.frob.com>
21938 * io/fchdir.c (__fchdir): Renamed from fchdir.
21939 (fchdir): Define as weak alias.
21941 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21943 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21944 (ERRNO_EDOM): Likewise.
21945 (ERRNO_ERANGE): Likewise.
21946 (noErrnoTests): New variable.
21947 (init_max_error): Set errno to 0.
21948 (test_single_errno): New function.
21949 (test_errno): Likewise.
21950 (check_float_internal): Call test_errno. Set errno to 0.
21951 (check_complex): Refer to errno tests in comment.
21952 (check_int): Call test_errno. Set errno to 0.
21953 (check_long): Likewise.
21954 (check_bool): Likewise.
21955 (check_longlong): Likewise.
21956 (cos_test): Use ERRNO_* flags for errno tests instead of
21958 (expm1_test): Likewise.
21959 (fmod_test): Likewise.
21960 (ilogb_test): Likewise.
21961 (lgamma_test): Likewise.
21962 (pow_test): Likewise.
21963 (remainder_test): Likewise.
21964 (sin_test): Likewise.
21965 (tan_test): Likewise.
21966 (yn_test): Likewise.
21967 (initialize): Set errno to 0.
21968 (main): Print number of errno tests.
21969 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21971 2013-04-29 Andreas Jaeger <aj@suse.de>
21974 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21978 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21979 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21983 * stdlib/random.c (__initstate): Return NULL if
21987 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21988 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21991 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21995 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21997 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21998 of individual tests.
21999 (casin_test): Likewise.
22000 (casinh_test): Likewise.
22002 2013-04-27 Joseph Myers <joseph@codesourcery.com>
22005 * math/s_catan.c (__catan): Handle arguments with large real or
22006 imaginary part separately without squaring.
22007 * math/s_catanf.c (__catanf): Likewise.
22008 * math/s_catanh.c (__catanh): Likewise.
22009 * math/s_catanhf.c (__catanhf): Likewise.
22010 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22012 (__catanhl): Handle arguments with large real or imaginary part
22013 separately without squaring.
22014 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22016 (__catanl): Handle arguments with large real or imaginary part
22017 separately without squaring.
22018 * math/libm-test.inc (catan_test): Add more tests.
22019 (catanh_test): Likewise.
22020 * sysdeps/i386/fpu/libm-test-ulps: Update.
22021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22023 2013-04-27 Andreas Jaeger <aj@suse.de>
22026 * stdlib/stdlib.h: Update guards for qecvt.
22027 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22030 2013-04-27 Allan McRae <allan@archlinux.org>
22032 * sysdeps/i386/fpu/libm-test-ulps: Update.
22034 2013-04-26 Joseph Myers <joseph@codesourcery.com>
22037 * math/s_catan.c: Include <float.h>.
22038 (__catan): Ensure underflow exception occurs for underflowed
22040 * math/s_catanf.c: Include <float.h>.
22041 (__catanf): Ensure underflow exception occurs for underflowed
22043 * math/s_catanh.c: Include <float.h>.
22044 (__catanh): Ensure underflow exception occurs for underflowed
22046 * math/s_catanhf.c: Include <float.h>.
22047 (__catanhf): Ensure underflow exception occurs for underflowed
22049 * math/s_catanhl.c: Include <float.h>.
22050 (__catanhl): Ensure underflow exception occurs for underflowed
22052 * math/s_catanl.c: Include <float.h>.
22053 (__catanl): Ensure underflow exception occurs for underflowed
22055 * math/libm-test.inc (catan_test): Add more tests.
22056 (catanh_test): Likewise.
22059 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22060 underflowed result.
22061 * math/s_ccoshf.c (__ccoshf): Likewise.
22062 * math/s_ccoshl.c (__ccoshl): Likewise.
22063 * math/s_csin.c (__csin): Likewise.
22064 * math/s_csinf.c (__csinf): Likewise.
22065 * math/s_csinh.c (__csinh): Likewise.
22066 * math/s_csinhf.c (__csinhf): Likewise.
22067 * math/s_csinhl.c (__csinhl): Likewise.
22068 * math/s_csinl.c (__csinl): Likewise.
22069 * math/libm-test.inc (ccos_test): Add more tests.
22070 (ccosh_test): Likewise.
22071 (csin_test): Likewise.
22072 (csinh_test): Likewise.
22074 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22076 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22077 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22078 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22079 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22080 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22081 powerpc/power5+/fpu folders.
22082 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22085 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22089 2013-04-25 Joseph Myers <joseph@codesourcery.com>
22091 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22092 additions to variable.
22093 [$(config-machine) = x86_64] (modules-names): Likewise.
22094 ($(objpfx)tst-audit3): Remove dependency.
22095 ($(objpfx)tst-audit3.out): Likewise.
22096 ($(objpfx)tst-audit4): Likewise.
22097 ($(objpfx)tst-audit4.out): Likewise.
22098 ($(objpfx)tst-audit5): Likewise.
22099 ($(objpfx)tst-audit5.out): Likewise.
22100 ($(objpfx)tst-audit6): Likewise.
22101 ($(objpfx)tst-audit6.out): Likewise.
22102 ($(objpfx)tst-audit7): Likewise.
22103 ($(objpfx)tst-audit7.out): Likewise.
22104 (tst-audit3-ENV): Remove variable.
22105 (tst-audit4-ENV): Likewise.
22106 (tst-audit5-ENV): Likewise.
22107 (tst-audit6-ENV): Likewise.
22108 (tst-audit7-ENV): Likewise.
22109 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22110 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22111 addition to variable.
22112 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22113 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22114 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22115 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22116 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22117 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22118 tst-audit3, tst-audit4 and tst-audit5.
22119 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22120 tst-audit6 and tst-audit7.
22121 [$(subdir) = elf] (modules-names): Add audit modules for those
22123 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22124 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22125 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22126 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22127 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22128 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22129 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22130 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22131 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22132 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22133 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22134 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22135 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22136 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22137 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22138 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22140 [$(subdir) = elf && $(config-cflags-avx) = yes]
22141 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22142 [$(subdir) = elf && $(config-cflags-avx) = yes]
22143 (CFLAGS-tst-auditmod4a.c): Likewise.
22144 [$(subdir) = elf && $(config-cflags-avx) = yes]
22145 (CFLAGS-tst-auditmod4b.c): Likewise.
22146 [$(subdir) = elf && $(config-cflags-avx) = yes]
22147 (CFLAGS-tst-auditmod6b.c): Likewise.
22148 [$(subdir) = elf && $(config-cflags-avx) = yes]
22149 (CFLAGS-tst-auditmod6c.c): Likewise.
22150 [$(subdir) = elf && $(config-cflags-avx) = yes]
22151 (CFLAGS-tst-auditmod7b.c): Likewise.
22152 * elf/tst-audit3.c: Move to ...
22153 * sysdeps/x86_64/tst-audit3.c: ... here.
22154 * elf/tst-audit4.c: Move to ...
22155 * sysdeps/x86_64/tst-audit4.c: ... here.
22156 * elf/tst-audit5.c: Move to ...
22157 * sysdeps/x86_64/tst-audit5.c: ... here.
22158 * elf/tst-audit6.c: Move to ...
22159 * sysdeps/x86_64/tst-audit6.c: ... here.
22160 * elf/tst-audit7.c: Move to ...
22161 * sysdeps/x86_64/tst-audit7.c: ... here.
22162 * elf/tst-auditmod3a.c: Move to ...
22163 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22164 * elf/tst-auditmod3b.c: Move to ...
22165 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22166 * elf/tst-auditmod4a.c: Move to ...
22167 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22168 * elf/tst-auditmod4b.c: Move to ...
22169 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22170 * elf/tst-auditmod5a.c: Move to ...
22171 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22172 * elf/tst-auditmod5b.c: Move to ...
22173 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22174 * elf/tst-auditmod6a.c: Move to ...
22175 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22176 * elf/tst-auditmod6b.c: Move to ...
22177 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22178 * elf/tst-auditmod6c.c: Move to ...
22179 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22180 * elf/tst-auditmod7a.c: Move to ...
22181 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22182 * elf/tst-auditmod7b.c: Move to ...
22183 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22185 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22188 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22189 define unconditionally.
22190 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22191 define unconditionally.
22192 (INT8_C, INT16_C, etc.): Likewise.
22194 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22196 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22197 __ehdr_start with hidden visibility.
22199 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22201 2013-04-24 Carlos O'Donell <carlos@redhat.com>
22203 * math/libm-test.inc (cos_test): Use accurate hex constants.
22204 (sincost_test): Likewise.
22206 2013-04-24 Joseph Myers <joseph@codesourcery.com>
22208 * math/libm-test.inc (catan_test): Add more tests.
22209 (catanh_test): Likewise.
22211 * math/s_catanf.c (__catanf): Use suffixed floating-point
22213 * math/s_catanhf.c (__catanhf): Likewise.
22214 * math/s_catanhl.c (__catanhl): Likewise.
22215 * math/s_catanl.c (__catanl): Likewise.
22218 * math/s_catan.c (__catan): Calculate imaginary part of result
22219 with log1p not log unless computing log of number close to 0.
22220 * math/s_catanf.c (__catanf): Likewise.
22221 * math/s_catanl.c (__catanl): Likewise.
22222 * math/s_catanh.c (__catanh): Calculate real part of result with
22223 log1p not log unless computing log of number close to 0.
22224 * math/s_catanhf.c (__catanhf): Likewise.
22225 * math/s_catanhl.c (__catanhl): Likewise.
22226 * math/libm-test.inc (catan_test): Add more tests.
22227 (catanh_test): Likewise.
22228 * sysdeps/i386/fpu/libm-test-ulps: Update.
22229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22231 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22233 * benchtests/Makefile: Mention files in which fast and slow
22234 paths of math functions are implemented.
22236 2013-04-23 Roland McGrath <roland@hack.frob.com>
22238 * sysdeps/posix/timespec_get.c: New file.
22240 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22242 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22244 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22246 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22247 powerpc/power5/fpu folders.
22248 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22249 * benchtests/Makefile: Add modf testcase.
22250 * benchtests/bench-modf.c: New file: Benchmark test for mo
22252 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22255 * time/Makefile (tests): Add tst-strptime-whitespace.
22256 * time/strptime_l.c (get_number): Use ISSPACE.
22257 (__strptime_internal): Likewise.
22258 * time/tst-strptime-whitespace.c: New test case.
22260 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22262 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22264 (_nss_files_init): Set it here.
22266 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22268 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22269 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22272 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22274 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22276 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22278 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22281 2013-04-21 David S. Miller <davem@davemloft.net>
22283 * po/ru.po: Update Russion translation from translation project.
22285 2013-04-17 Adam Conrad <adconrad@0c3.net>
22287 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22290 2013-04-17 Carlos O'Donell <carlos@redhat.com>
22292 * configure.in: Remove i386 configure warning. Remove i386 case.
22293 * configure: Regenerate.
22294 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22295 Add example to error message.
22296 * sysdeps/i386/configure: Regenerate.
22298 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22300 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22302 * benchtests/cos-inputs: New file.
22303 * benchtests/slowcos-inputs: New file.
22304 * benchtests/slowcos.c: New file.
22305 * benchtests/slowtan-inputs: New file.
22306 * benchtests/slowtan.c: New file.
22307 * benchtests/tan-inputs: New file.
22309 2013-04-16 Roland McGrath <roland@hack.frob.com>
22311 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22314 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22316 * benchtests/Makefile: Include cppflags-iterator.mk to add
22317 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22319 * Makefile.in (bench-clean): New target.
22320 * benchtests/Makefile (bench-clean): Likewise.
22322 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22324 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22326 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22328 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22330 2013-04-15 Andreas Schwab <schwab@suse.de>
22332 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22333 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22334 * nscd/pwdcache.c (cache_addpw): Likewise.
22335 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22338 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22340 * benchtests/Makefile (bench): Write all output to
22341 bench-out.tmp together.
22343 2013-04-15 Andreas Schwab <schwab@suse.de>
22345 * nscd/nscd.c (main): Don't fork again after closing files.
22347 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22349 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22351 * benchtests/Rules (bench-deps): Collect dependencies into a
22352 single variable. Add Makefile to dependencies.
22353 ($(objpfx)bench-%.c): Depend on bench-deps.
22355 2013-04-12 Roland McGrath <roland@hack.frob.com>
22356 Xavier Roche <roche+kml2@exalead.com>
22359 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22360 just that it's a file descriptor.
22361 * manual/llio.texi (Synchronizing AIO Operations): Update description
22362 for EBADF error from aio_fsync.
22364 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22366 * Rules (bench): Move target definition...
22367 * benchtests/Makefile: ... here.
22369 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22371 * math/libm-test.inc (cos_test): Fix PI/2 test.
22372 (sincos_test): Likewise.
22373 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22374 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22376 2013-04-11 Andreas Schwab <schwab@suse.de>
22379 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22380 accept exponent character only when digits were seen.
22381 * stdio-common/Makefile (tests): Add bug26.
22382 * stdio-common/bug26.c: New file.
22385 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22388 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22390 * Makeconfig (rtld-prefix): Define built linker prefix.
22391 * Rules (run-bench): Use it.
22392 * math/Makefile (run-regen-ulps): Likewise.
22394 * Rules (bench): Remove eval.
22396 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22397 Roland McGrath <roland@hack.frob.com>
22398 Ondrej Bilka <neleai@seznam.cz>
22401 * time/getdate.c: Include ctype.h and alloca.h.
22402 (__getdate_r): Trim leading and trailing spaces of input.
22403 * time/tst-getdate.c (tests): Add tests with leading and
22406 2013-04-08 Roland McGrath <roland@hack.frob.com>
22409 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22410 when computing value.
22412 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22414 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22415 Use testrun.sh to run libm tests.
22418 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22420 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22423 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22425 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22427 * Makefile.in (regen-ulps): New target.
22428 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22429 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22430 [ifneq (no,$(PERL)] (regen-ulps): New target.
22431 [ifeq (no,$(PERL)] (regen-ulps): New target.
22432 * math/libm-test.inc (ulps_file_name): Define.
22433 (output_dir): New variable.
22434 (options): Add "output-dir" option.
22435 (parse_opt): Handle 'o' case.
22436 (main): If output_dir is non-NULL use it as a prefix
22438 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22440 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22442 [BZ #10060, #10062]
22443 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22444 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22445 fail configure if __sync_val_compare_and_swap is not inlined.
22446 * sysdeps/i386/configure: Regenerate.
22447 * configure.in: Build for i686 when configured for i386.
22448 * configure: Regenerate.
22449 * README: Remove i386 reference.
22451 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22453 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22454 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22456 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22458 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22459 (lmsnanval): New variables.
22460 (F): Add conversion tests.
22461 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22462 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22464 * stdio-common/tstdiomisc.c (F): Properly collect individual
22467 [BZ #14686, #15336]
22468 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22469 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22470 Instead, use input NaN values or generate a qNaN by arithmetic
22471 operation. Also fix bugs to comply with the standard.
22472 * math/libm-test.inc (remainder_test): Add more tests.
22474 [BZ #15335, #15342]
22475 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22476 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22477 input NaN values or generate a qNaN by arithmetic operation.
22479 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22482 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22485 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22488 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22489 underflowed result.
22490 * math/s_cexpf.c (__cexpf): Likewise.
22491 * math/s_cexpl.c (__cexpl): Likewise.
22492 * math/libm-test.inc (cexp_test): Add more tests.
22494 2013-04-03 Andreas Schwab <schwab@suse.de>
22497 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22498 order arrays from heap if bigger than alloca cutoff.
22500 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22502 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22503 (SNAN_TESTS_double): Refer to GCC PR56831.
22504 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22507 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22509 * Rules (bench): Move bench.out after the run is complete.
22511 * Rules (bench): Echo currently running benchmark.
22513 * benchtests/Makefile (bench): Add atan and slowatan.
22514 * benchtests/atan-inputs: New file.
22515 * benchtests/slowatan-inputs: New file.
22516 * benchtests/slowatan.c: New file.
22518 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22519 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22523 * sysdeps/unix/sysv/linux/kernel-features.h
22524 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22525 __ASSUME_XFS_RESTRICTED_CHOWN.
22526 * sysdeps/unix/sysv/linux/pathconf.c
22527 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22528 Save and restore errno.
22530 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22533 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22534 arguments using __kernel_casinh.
22535 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22536 arguments using __kernel_casinhf.
22537 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22538 arguments using __kernel_casinhl.
22539 * math/libm-test.inc (cacosh_test): Add more tests.
22540 * sysdeps/i386/fpu/libm-test-ulps: Update.
22541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22543 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22545 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22546 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22548 * bench/Makefile (bench): Add sin and slowsin.
22549 * benchtests/sin-inputs: New file.
22550 * benchtests/slowsin-inputs: New file.
22551 * benchtests/slowsin.c: New file.
22553 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22554 (bench): Add slowexp and slowpow.
22555 (exp-ITER): Increase iterations.
22556 (pow-ITER): Likewise.
22557 * benchtests/exp-inputs: Change input.
22558 * benchtests/pow-inputs: Likewise.
22559 * benchtests/slowexp-inputs: New file.
22560 * benchtests/slowexp.c: New file.
22561 * benchtests/slowpow-inputs: New file.
22562 * benchtests/slowpow.c: New file.
22564 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22566 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22568 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22569 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22570 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22571 * benchtests/Makefile: Add rint benchtest.
22572 * benchtests/rint-inputs: Input for rint benchtest.
22574 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22576 * Versions.def (libm): Add GLIBC_2.18.
22577 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22578 hidden libm prototypes.
22579 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22580 * math/Makefile (libm-calls): Add s_issignaling.
22581 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22582 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22583 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22585 * math/math.h [__USE_GNU] (issignaling): New macro.
22586 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22587 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22588 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22589 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22590 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22591 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22592 * manual/arith.texi (issignaling): New section.
22593 * manual/libm-err-tab.pl (@all_functions): Update comment.
22594 * math/gen-libm-test.pl (parse_args): Apply special handling for
22596 * math/libm-test.inc (print_float, issignaling_test): New
22598 (check_float_internal): Add issignaling checks.
22599 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22600 default definition.
22601 * sysdeps/powerpc/math-tests.h: New file.
22602 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22604 * math/test-snan.c (TEST_FUNC): Likewise.
22606 2013-03-30 David S. Miller <davem@davemloft.net>
22608 * po/de.po: Update from translation team.
22610 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22613 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22614 imaginary part less than 1.0 and real part less than 0.5
22616 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22617 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22618 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22619 (cacos_test): Add more tests.
22620 (casin_test): Likewise.
22621 (casinh_test): Likewise.
22622 * sysdeps/i386/fpu/libm-test-ulps: Update.
22623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22625 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22627 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22628 ONE with its value.
22630 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22631 (__pow_mp): Replace ONE and MONE with their values.
22632 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22633 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22634 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22635 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22636 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22637 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22639 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22641 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22642 (__pow_mp): Replace ZERO and MZERO with their values.
22643 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22644 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22645 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22646 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22647 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22648 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22651 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22653 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22655 2013-03-28 Roland McGrath <roland@hack.frob.com>
22657 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22658 Declare with __attribute__ ((weak)).
22659 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22660 Call __call_tls_dtors only if it's not NULL.
22662 2013-03-28 Roland McGrath <roland@hack.frob.com>
22664 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22665 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22666 magic __ehdr_start linker symbol if it's defined.
22667 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22668 them up here if it was already done.
22670 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22671 (_dl_aux_init): Use const in cast when setting it.
22672 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22673 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22674 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22676 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22678 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22679 * csu/libc-tls.c: Nor here.
22680 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22682 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22683 (__libc_message): Never call vsyslog.
22685 2013-03-28 Alan Modra <amodra@gmail.com>
22687 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22689 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22692 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22695 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22699 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22702 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22703 Don't add gid passed as argument.
22705 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22707 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22710 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22711 imaginary part between 1.0 and 1.5 and real part less than 0.5
22713 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22714 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22715 * math/libm-test.inc (cacos_test): Add more tests.
22716 (casin_test): Likewise.
22717 (casinh_test): Likewise.
22718 * sysdeps/i386/fpu/libm-test-ulps: Update.
22719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22721 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22723 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22726 (denorm): Likewise.
22727 (__dbl_mp): Likewise.
22728 (add_magnitudes): Likewise.
22729 (sub_magnitudes): Likewise.
22737 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22739 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22740 (__dubcos): Likewise.
22741 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22742 (__ieee754_acos): Likewise.
22743 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22744 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22745 (__exp1): Likewise.
22746 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22747 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22749 (my_log2): Likewise.
22750 (checkint): Likewise.
22751 * sysdeps/ieee754/dbl-64/e_remainder.c
22752 (__ieee754_remainder): Likewise.
22753 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22754 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22755 (bsloww): Likewise.
22756 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22758 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22759 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22760 MANTISSA_STORE_T to store computations on mantissa. Use
22761 macros for rounding and division.
22762 (denorm): Likewise.
22763 (__dbl_mp): Likewise.
22764 (add_magnitudes): Likewise.
22765 (sub_magnitudes): Likewise.
22768 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22769 powers of two in terms of TWOPOW macro.
22770 (mp_no): Make type of mantissa as MANTISSA_T.
22771 [!RADIXI]: Define RADIXI.
22772 [!TWO52]: Define TWO52.
22773 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22775 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22777 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22778 llroundl symbol when building for PPC32.
22780 2013-03-24 Mark H Weaver <mhw@netris.org>
22782 * manual/arith.texi (Normalization Functions): Fix prototypes for
22783 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22785 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22788 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22789 high value to check if expl overflow.
22790 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22791 to check for underflow and overflow.
22792 * math/libm-test.inc: Add exp test.
22794 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22797 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22800 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22802 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22805 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22807 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22808 wrap blocks consisting of several statements.
22810 * sysdeps/generic/math-tests.h: New file.
22811 * sysdeps/i386/fpu/math-tests.h: Likewise.
22812 * math/test-snan.c: Include it.
22813 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22815 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22818 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22819 (__ieee754_j0l): Do not improve calculations using cos of twice
22820 input for inputs above LDBL_MAX / 2.0L.
22821 (__ieee754_y0l): Likewise.
22822 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22823 (__ieee754_j1l): Do not improve calculations using cos of twice
22824 input for inputs above LDBL_MAX / 2.0L.
22825 (__ieee754_y1l): Likewise.
22826 * math/libm-test.inc (j0_test): Add another test.
22827 (j1_test): Likewise.
22828 (y0_test): Likewise.
22829 (y1_test): Likewise.
22830 * sysdeps/i386/fpu/libm-test-ulps: Update.
22832 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22834 * Rules ($(objpfx)bench-%.c): Include code from a C source
22837 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22840 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22841 imaginary part 1.0 and real part less than 0.5 specially.
22842 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22843 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22844 * math/libm-test.inc (cacos_test): Add more tests.
22845 (casin_test): Likewise.
22846 (casinh_test): Likewise.
22847 * sysdeps/i386/fpu/libm-test-ulps: Update.
22848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22850 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22852 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22853 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22855 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22857 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22858 * config.make.in (config-cflags-sse4): Remove variable.
22859 (config-cflags-avx): Likewise.
22860 (config-cflags-sse2avx): Likewise.
22861 (config-cflags-novzeroupper): Likewise.
22862 (config-asflags-i686): Likewise.
22863 (have-mfma4): Likewise.
22864 (have-as-vis3): Likewise.
22866 * configure.in (MIG): Do not AC_SUBST.
22867 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22868 (libc_cv_cc_sse4): Do not AC_SUBST.
22869 (libc_cv_cc_avx): Likewise.
22870 (libc_cv_cc_sse2avx): Likewise.
22871 (libc_cv_cc_novzeroupper): Likewise.
22872 (libc_cv_cc_fma4): Likewise.
22873 (libc_cv_as_i686): Likewise.
22874 (libc_cv_sparc_as_vis3): Likewise.
22875 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22877 (config-asflags-i686): Likewise.
22878 (config-cflags-avx): Likewise.
22879 (config-cflags-sse2avx): Likewise.
22880 (have-mfma4): Likewise.
22881 (config-cflags-novzeroupper): Likewise.
22882 * sysdeps/mach/configure.in (MIG): Likewise.
22883 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22884 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22886 (config-cflags-avx): Likewise.
22887 (config-cflags-sse2avx): Likewise.
22888 (have-mfma4): Likewise.
22889 (config-cflags-novzeroupper): Likewise.
22890 * configure: Regenerated.
22891 * sysdeps/i386/configure: Likewise.
22892 * sysdeps/mach/configure: Likewise.
22893 * sysdeps/sparc/configure: Likewise.
22894 * sysdeps/x86_64/configure: Likewise.
22896 2013-03-20 Roland McGrath <roland@hack.frob.com>
22899 * locale/programs/localedef.c (options): Put N_ translation marker
22900 on argument names, not just descriptions.
22902 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22904 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22906 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22909 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22911 2013-03-19 Roland McGrath <roland@hack.frob.com>
22913 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22914 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22915 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22916 [!BEFORE_ABORT] (before_abort): New function.
22917 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22918 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22919 (writev_for_fatal): New function.
22920 (WRITEV_FOR_FATAL): New macro; call that.
22921 (backtrace_and_maps): New function.
22922 (BEFORE_ABORT): New macro; call that.
22923 (struct str_list): Type removed.
22924 (__libc_message, __libc_fatal): Functions removed.
22925 Include <sysdeps/posix/libc_fatal.c> instead.
22927 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22929 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22931 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22934 2013-03-19 Andreas Schwab <schwab@suse.de>
22936 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22937 * sysdeps/gnu/configure: Regenerate.
22939 * configure.in: Substitute libc_cv_rtlddir.
22940 * configure: Regenerate.
22941 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22942 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22943 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22944 * elf/Makefile (install-others, CFLAGS-interp.c)
22945 (ldso_install, common-ldd-rewrite): Likewise.
22946 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22947 $(inst_slibdir)/$(rtld-installed-name).
22948 * scripts/rellns-sh: Add -p option.
22949 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22952 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22954 * manual/nptl.texi: Renamed to ...
22955 * manual/threads.texi: ... this.
22956 * manual/Makefile (chapters): Update.
22958 2013-03-18 Roland McGrath <roland@hack.frob.com>
22961 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22962 on argument names, not just descriptions.
22963 * malloc/memusagestat.c (options): Likewise.
22964 * nss/getent.c (options): Likewise.
22966 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22969 * iconv/iconv_prog.c (options): Put N_ translation marker
22970 on argument names, not just descriptions.
22971 * iconv/iconvconfig.c (options): Likewise.
22973 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22975 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22976 implementation which is faster on all x86_64 architectures.
22977 Tested on AMD, Intel Nehalem, SNB, IVB.
22978 * sysdeps/x86_64/strnlen.S: Likewise.
22980 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22981 Remove all multiarch strlen and strnlen versions.
22982 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22983 Remove strlen and strnlen related parts.
22985 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22986 Inline strlen part.
22987 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22989 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22990 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22991 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22992 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22993 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22994 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22996 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22998 * manual/memory.texi (Malloc Tunable Parameters):
22999 Sort parameters alphabetically. Add comments for missing entries.
23001 2013-03-17 David S. Miller <davem@davemloft.net>
23003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23005 2013-03-16 Joseph Myers <joseph@codesourcery.com>
23008 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23009 for arguments at most half maximum finite value.
23010 * math/libm-test.inc (j0_test): Add more tests.
23011 (j1_test): Likewise.
23012 (y0_test): Likewise.
23013 (y1_test): Likewise.
23014 * sysdeps/i386/fpu/libm-test-ulps: Update.
23015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23018 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23019 1 / x and functions P and Q for arguments above 0x1p256L.
23020 (__ieee754_y0l): Likewise.
23021 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23022 (__ieee754_y1l): Likewise.
23023 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23024 (j1_test): Likewise.
23025 (y0_test): Likewise.
23026 (y1_test): Likewise.
23028 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23030 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23033 2013-03-15 Roland McGrath <roland@hack.frob.com>
23035 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23036 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23037 zero since it's initialized to EXEC_PAGESIZE.
23039 * sysdeps/unix/sysv/linux/ldsodefs.h
23040 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23041 * sysdeps/generic/ldsodefs.h: ... here.
23043 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23045 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23047 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23049 * math/test-snan.c: Renamed from
23050 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23051 * math/Makefile (tests): Add test-snan.
23052 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23055 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23056 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23058 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23059 __builtin_nan family of functions.
23060 * math/libm-test.inc (initialize): Initialize qnan_value with
23061 __builtin_nan family of functions.
23062 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23064 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23066 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23067 storage class. Initialize qNaN_var and sNaN_var with
23068 __builtin_nan and __builtin_nans families of functions,
23071 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23072 (sqrt_test): Remove duplicate test with qNaN input.
23073 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23074 (round_test, signbit_test, significand_test): Note missing +/-Inf
23075 as well as qNaN tests.
23077 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23078 qNaN_var. Fix a few strings, too.
23079 * math/libm-test.inc (nan_value): Rename to qnan_value.
23080 * math/gen-libm-test.pl (%beautify): Adjust to that.
23081 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23082 * math/test-misc.c (main): Likewise.
23083 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23084 to __qnan_bytes, and __qnan_union, respectively.
23085 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23087 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23088 and lqnanval, respectively.
23089 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23090 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23091 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23092 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23094 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23095 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23098 * math/test-misc.c (main): Fix copy'n'pastos.
23099 * misc/tst-efgcvt.c (special): Likewise.
23101 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23102 Remove declarations.
23104 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23106 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23107 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23108 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23109 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23111 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23113 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23114 macro to return vdso values correctly in IFUNC implementations.
23115 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23116 Optimization by using IFUNC.
23118 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23119 Richard Henderson <rth@redhat.com>
23120 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23122 * Makefile.in (bench): New target.
23123 * NEWS: Mention the benchmark framework.
23124 * Rules (bench): Likewise.
23125 (binaries-bench): Generate binaries for functions to
23127 * benchtests/Makefile: New makefile for benchmark tests.
23128 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23130 * benchtests/exp-inputs: New input file for EXP function.
23131 * benchtests/pow-inputs: New input file for POW function.
23132 * scripts/bench.pl: New script to generate source files for
23133 benchmark programs.
23135 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23137 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23138 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23139 computations on mantissa. Use macros for rounding and
23141 (denorm): Likewise.
23142 (__dbl_mp): Likewise.
23143 (add_magnitudes): Likewise.
23144 (sub_magnitudes): Likewise.
23147 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23148 powers of two in terms of TWOPOW macro.
23149 (mp_no): Make type of mantissa as MANTISSA_T.
23150 [!RADIXI]: Define RADIXI.
23151 [!TWO52]: Define TWO52.
23152 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23154 * manual/nptl.texi (cindex): Modify threads to pthreads.
23156 2013-03-15 Joseph Myers <joseph@codesourcery.com>
23158 * sysdeps/x86_64/preconfigure: Regenerated.
23160 2013-03-14 Joseph Myers <joseph@codesourcery.com>
23163 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23165 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23166 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23168 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23169 * math/libm-test.inc (j0_test): Do not allow one spurious
23170 underflow exception.
23171 (y1_test): Likewise.
23173 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23175 * manual/Makefile (chapters): Add nptl.
23176 * manual/debug.texi (Debugging Support): Add link to Threads
23178 * manual/nptl.texi: New file.
23180 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23182 2013-03-14 Petr Baudis <pasky@ucw.cz>
23184 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23185 for non-NULL pointer before the memory validity test. Pointed
23186 out by Holger Brunck <holger.brunck@keymile.com>.
23188 2013-03-13 Andreas Schwab <schwab@suse.de>
23190 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23193 2013-03-13 Joseph Myers <joseph@codesourcery.com>
23195 * timezone/zic.c: Update from tzcode 2013b.
23197 2013-03-12 Carlos O'Donell <carlos@redhat.com>
23199 * manual/install.texi (Configuring and compiling):
23200 Mention i686 and i586.
23201 * INSTALL: Regenerate.
23203 2013-03-12 Roland McGrath <roland@hack.frob.com>
23205 * sysdeps/init_array/elf-init.c: New file.
23207 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23208 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23210 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23211 __gmon_start__ as global, but as static with a .preinit_array pointer.
23212 * sysdeps/init_array/gmon-start.c: New file. Use that.
23213 * sysdeps/init_array/crti.S: New file, empty except for comments.
23214 * sysdeps/init_array/crtn.S: Likewise.
23216 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
23218 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23221 Remove Prefer_SSE_for_memop.
23222 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23223 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23224 HAS_PREFER_SSE_FOR_MEMOP.
23225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23227 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23228 Remove bzero, memset ifunc support.
23229 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23230 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23231 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23232 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23234 2013-03-11 Andreas Schwab <schwab@suse.de>
23237 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23240 (GLIBC_2.16): Remove pthread_atfork.
23242 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23244 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23245 (ptestcases.h): Likewise.
23247 2013-03-08 Roland McGrath <roland@hack.frob.com>
23249 * Makeconfig ($(common-objpfx)config.status): Depend on
23250 sysdeps/*/preconfigure{,.in} too.
23252 2013-03-08 Joseph Myers <joseph@codesourcery.com>
23254 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23255 (__free_hook): Use void * instead of __malloc_ptr_t.
23256 (__malloc_hook): Likewise.
23257 (__realloc_hook): Likewise.
23258 (__memalign_hook): Likewise.
23259 (__after_morecore_hook): Likewise.
23260 * malloc/arena.c (save_malloc_hook): Likewise.
23261 (save_free_hook): Likewise.
23262 * malloc/hooks.c (malloc_hook_ini): Likewise.
23263 (realloc_hook_ini): Likewise.
23264 (memalign_hook_ini): Likewise.
23265 * malloc/malloc.c (malloc_hook_ini): Likewise.
23266 (realloc_hook_ini): Likewise.
23267 (memalign_hook_ini): Likewise.
23268 (__free_hook): Likewise.
23269 (__malloc_hook): Likewise.
23270 (__realloc_hook): Likewise.
23271 (__memalign_hook): Likewise.
23272 (__libc_malloc): Likewise.
23273 (__libc_free): Likewise.
23274 (__libc_realloc): Likewise.
23275 (__libc_memalign): Likewise.
23276 (__libc_valloc): Likewise.
23277 (__libc_pvalloc): Likewise.
23278 (__libc_calloc): Likewise.
23279 (__posix_memalign): Likewise.
23280 * malloc/morecore.c (__sbrk): Likewise.
23281 (__default_morecore): Likewise.
23283 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23285 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23286 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23287 __malloc_ptrdiff_t.
23289 * malloc/malloc.h (__malloc_size_t): Remove macro.
23290 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23292 (old_memalign_hook): Likewise.
23293 (old_realloc_hook): Likewise.
23294 (struct hdr): Likewise.
23296 (mallochook): Likewise.
23297 (memalignhook): Likewise.
23298 (reallochook): Likewise.
23299 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23300 (tr_old_realloc_hook): Likewise.
23301 (tr_old_memalign_hook): Likewise.
23302 (tr_mallochook): Likewise.
23303 (tr_reallochook): Likewise.
23304 (tr_memalignhook): Likewise.
23306 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23308 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23309 default_ldbl_pack and using as default implementation.
23310 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23312 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23313 redundant definition.
23314 (ldbl_insert_mantissa): Likewise.
23315 (ldbl_canonicalize): Likewise.
23316 (ldbl_nearbyint): Likewise.
23317 (ldbl_pack): Rename to ldbl_pack_ppc.
23318 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23319 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23320 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23322 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23324 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23325 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23326 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23327 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23328 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23329 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23330 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23331 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23333 2013-03-07 Andreas Jaeger <aj@suse.de>
23335 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23338 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23340 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23341 Include mpa.h and declare __MPEXP.
23342 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23343 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23344 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23345 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23346 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23347 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23348 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23350 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23351 (__slowpow): Use long double EXPL and LOGL functions to
23353 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23354 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23355 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23356 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23357 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23358 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23361 intermediate variable to calculate exponent.
23363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23367 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23368 [!NO__SQR]: Define __sqr.
23369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23370 and NO__SQR. Remove all code except __mul and __sqr. Include
23371 sysdeps/ieee754/dbl-64/mpa.c.
23372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23375 * posix/Makefile (tests): Add tst-pathconf.
23376 * posix/tst-pathconf.c: New test case.
23377 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23379 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23381 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23383 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23385 2013-03-06 Andreas Jaeger <aj@suse.de>
23387 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23388 definition via __MAP_ANONYMOUS.
23390 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23391 it's not part of Linux headers.
23393 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23394 (MAP_HUGE_MASK): Define.
23396 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23398 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23399 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23401 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23402 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23404 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23405 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23407 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23409 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23410 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23411 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23412 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23413 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23414 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23416 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23419 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23420 Handle f2fs and efivarfs.
23422 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23425 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23426 (EFIVARFS_MAGIC): Add.
23427 (F2FS_LINK_MAX): Add.
23429 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23431 * stdio-common/vfprintf.c: Replace __builtin_expect with
23434 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23437 * sysdeps/generic/bp-sym.h: Remove file.
23438 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23439 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23440 <bp-sym.h> and <bp-asm.h>.
23441 (__longjmp): Don't use BP_SYM.
23442 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23444 (memcpy): Don't use BP_SYM.
23445 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23446 <bp-sym.h> and <bp-asm.h>.
23447 (memcpy): Don't use BP_SYM.
23448 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23450 (memcpy): Don't use BP_SYM.
23451 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23453 (memset): Don't use BP_SYM.
23454 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23455 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23456 (__bzero): Don't use BP_SYM.
23457 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23458 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23459 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23460 <bp-sym.h> and <bp-asm.h>.
23461 (memcmp): Don't use BP_SYM. Remove comment about bounded
23463 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23464 <bp-sym.h> and <bp-asm.h>.
23465 (memcpy): Don't use BP_SYM.
23466 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23467 <bp-sym.h> and <bp-asm.h>.
23468 (memset): Don't use BP_SYM.
23469 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23470 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23471 (__bzero): Don't use BP_SYM.
23472 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23473 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23474 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23475 <bp-sym.h> and <bp-asm.h>.
23476 (strncmp): Don't use BP_SYM. Remove comment about bounded
23478 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23479 <bp-sym.h> and <bp-asm.h>.
23480 (memcpy): Don't use BP_SYM.
23481 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23482 <bp-sym.h> and <bp-asm.h>.
23483 (memset): Don't use BP_SYM.
23484 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23485 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23486 (__bzero): Don't use BP_SYM.
23487 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23488 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23489 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23490 <bp-sym.h> and <bp-asm.h>.
23491 (__memchr): Don't use BP_SYM.
23492 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23493 <bp-sym.h> and <bp-asm.h>.
23494 (memcmp): Don't use BP_SYM. Remove comment about bounded
23496 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23497 <bp-sym.h> and <bp-asm.h>.
23498 (memcpy): Don't use BP_SYM.
23499 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23500 <bp-sym.h> and <bp-asm.h>.
23501 (__mempcpy): Don't use BP_SYM.
23502 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23503 <bp-sym.h> and <bp-asm.h>.
23504 (__memrchr): Don't use BP_SYM.
23505 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23506 <bp-sym.h> and <bp-asm.h>.
23507 (memset): Don't use BP_SYM.
23508 (__bzero): Likewise.
23509 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23510 <bp-sym.h> and <bp-asm.h>.
23511 (__rawmemchr): Don't use BP_SYM.
23512 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23513 <bp-sym.h> and <bp-asm.h>.
23514 (__STRCMP): Don't use BP_SYM.
23515 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23516 <bp-sym.h> and <bp-asm.h>.
23517 (strchr): Don't use BP_SYM.
23518 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23519 <bp-sym.h> and <bp-asm.h>.
23520 (__strchrnul): Don't use BP_SYM.
23521 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23522 <bp-sym.h> and <bp-asm.h>.
23523 (strlen): Don't use BP_SYM.
23524 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23525 <bp-sym.h> and <bp-asm.h>.
23526 (strncmp): Don't use BP_SYM. Remove comment about bounded
23528 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23529 <bp-sym.h> and <bp-asm.h>.
23530 (__strnlen): Don't use BP_SYM.
23531 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23532 <bp-sym.h> and <bp-asm.h>.
23533 (__GI__setjmp): Don't use BP_SYM.
23534 (_setjmp): Likewise.
23535 (__sigsetjmp): Likewise.
23536 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23537 (L(start_addresses)): Don't use BP_SYM.
23538 (_start): Likewise.
23539 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23541 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23542 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23543 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23544 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23545 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23547 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23548 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23549 about bounded pointers.
23550 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23551 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23552 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23554 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23555 about bounded pointers. Remove GKM FIXME comments.
23556 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23557 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23559 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23560 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23561 Remove GKM FIXME comments.
23562 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23563 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23564 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23566 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23567 about bounded pointers. Remove GKM FIXME comment.
23568 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23570 (strncmp): Don't use BP_SYM. Remove comment about bounded
23572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23573 <bp-sym.h> and <bp-asm.h>.
23574 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23576 <bp-sym.h> and <bp-asm.h>.
23577 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23580 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23582 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23585 2013-03-05 David S. Miller <davem@davemloft.net>
23587 * po/es.po: Update from translation team.
23589 2013-03-05 Andreas Jaeger <aj@suse.de>
23591 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23592 <bits/mman-linux.h>.
23593 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23595 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23596 <bits/mman-linux.h> to end of file.
23597 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23599 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23600 <bits/mman-linux.h> to end of file.
23601 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23603 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23604 <bits/mman-linux.h> to end of file.
23606 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23607 (MCL_CURRENT, MCL_FUTURE): Define here.
23609 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23612 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23614 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23616 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23618 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23619 fourth parameter needed for rt_sigprocmask syscall.
23620 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23621 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23622 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23623 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23624 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23625 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23627 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23630 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23631 comment about bounded pointers.
23632 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23633 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23635 2013-03-04 Andreas Jaeger <aj@suse.de>
23637 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23638 common definitions.
23640 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23641 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23642 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23643 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23644 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23645 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23647 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23650 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23651 __ieee754_sqrl instead of __sqrl.
23653 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23655 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23656 * sysdeps/powerpc/fpu_control.h: ... here.
23657 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23658 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23659 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23660 * sysdeps/powerpc/bits/mathinline.h: ... here.
23662 2013-03-01 Roland McGrath <roland@hack.frob.com>
23664 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23665 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23666 to just [NEED_DL_SYSINFO_DSO].
23667 * elf/dl-support.c: Likewise.
23668 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23669 * elf/rtld.c (dl_main): Likewise.
23670 * elf/setup-vdso.h (setup_vdso): Likewise.
23671 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23672 * sysdeps/unix/sysv/linux/dl-sysdep.c
23673 (_dl_discover_osversion): Likewise.
23675 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23677 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23678 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23680 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23682 * NEWS: Mention libm performance improvements and non-x86 PI
23685 * csu/libc-start.c (__pthread_initialize_minimal): Change
23686 function arguments.
23687 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23689 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23692 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23693 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23694 <bp-sym.h> and <bp-asm.h>.
23695 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23696 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23698 (memcpy): Don't use BP_SYM.
23699 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23701 (__mpn_add_n): Don't use BP_SYM.
23702 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23703 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23705 (__mpn_addmul_1): Don't use BP_SYM.
23706 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23707 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23709 (_setjmp): Don't use BP_SYM.
23710 (__novmx_setjmp): Likewise.
23711 (__GI__setjmp): Likewise.
23712 (__vmx_setjmp): Likewise.
23713 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23715 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23716 (__bzero): Don't use BP_SYM.
23717 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23718 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23719 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23720 <bp-sym.h> and <bp-asm.h>.
23721 (memcpy): Don't use BP_SYM.
23722 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23723 <bp-sym.h> and <bp-asm.h>.
23724 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23725 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23726 <bp-sym.h> and <bp-asm.h>.
23727 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23728 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23730 (__mpn_lshift): Don't use BP_SYM.
23731 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23732 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23734 (memset): Don't use BP_SYM.
23735 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23736 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23737 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23739 (__mpn_mul_1): Don't use BP_SYM.
23740 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23741 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23742 <bp-sym.h> and <bp-asm.h>.
23743 (memcmp): Don't use BP_SYM.
23744 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23745 <bp-sym.h> and <bp-asm.h>.
23746 (memcpy): Don't use BP_SYM.
23747 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23748 <bp-sym.h> and <bp-asm.h>.
23749 (memset): Don't use BP_SYM.
23750 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23751 <bp-sym.h> and <bp-asm.h>.
23752 (strncmp): Don't use BP_SYM.
23753 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23754 <bp-sym.h> and <bp-asm.h>.
23755 (memcpy): Don't use BP_SYM.
23756 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23757 <bp-sym.h> and <bp-asm.h>.
23758 (memset): Don't use BP_SYM.
23759 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23760 <bp-sym.h> and <bp-asm.h>.
23761 (__memchr): Don't use BP_SYM.
23762 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23763 <bp-sym.h> and <bp-asm.h>.
23764 (memcmp): Don't use BP_SYM.
23765 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23766 <bp-sym.h> and <bp-asm.h>.
23767 (memcpy): Don't use BP_SYM.
23768 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23769 <bp-sym.h> and <bp-asm.h>.
23770 (__mempcpy): Don't use BP_SYM.
23771 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23772 <bp-sym.h> and <bp-asm.h>.
23773 (__memrchr): Don't use BP_SYM.
23774 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23775 <bp-sym.h> and <bp-asm.h>.
23776 (memset): Don't use BP_SYM.
23777 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23778 <bp-sym.h> and <bp-asm.h>.
23779 (__rawmemchr): Don't use BP_SYM.
23780 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23781 <bp-sym.h> and <bp-asm.h>.
23782 (__STRCMP): Don't use BP_SYM.
23783 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23784 <bp-sym.h> and <bp-asm.h>.
23785 (strchr): Don't use BP_SYM.
23786 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23787 <bp-sym.h> and <bp-asm.h>.
23788 (__strchrnul): Don't use BP_SYM.
23789 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23790 <bp-sym.h> and <bp-asm.h>.
23791 (strlen): Don't use BP_SYM.
23792 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23793 <bp-sym.h> and <bp-asm.h>.
23794 (strncmp): Don't use BP_SYM.
23795 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23796 <bp-sym.h> and <bp-asm.h>.
23797 (__strnlen): Don't use BP_SYM.
23798 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23800 (__mpn_rshift): Don't use BP_SYM.
23801 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23802 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23803 <bp-sym.h> and <bp-asm.h>.
23804 (__sigsetjmp): Don't use BP_SYM.
23805 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23806 (L(start_addresses)): Don't use BP_SYM.
23807 (_start): Likewise.
23808 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23810 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23811 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23812 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23813 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23815 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23816 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23817 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23818 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23820 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23822 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23823 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23825 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23827 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23828 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23829 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23831 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23833 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23835 (strncmp): Don't use BP_SYM,
23836 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23838 (__mpn_sub_n): Don't use BP_SYM.
23839 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23840 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23842 (__mpn_submul_1): Don't use BP_SYM.
23843 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23845 <bp-sym.h> and <bp-asm.h>.
23846 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23848 <bp-sym.h> and <bp-asm.h>.
23849 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23852 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23855 Use ZK to minimize writes to Z.
23856 (sub_magnitudes): Simplify code a bit.
23857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23858 Use ZK to minimize writes to Z.
23859 (sub_magnitudes): Simplify code a bit.
23861 2013-02-27 Roland McGrath <roland@hack.frob.com>
23863 * csu/gmon-start.c: Add special exception to license text.
23865 2013-02-27 Richard Henderson <rth@redhat.com>
23867 * scripts/config.guess: Update from config.git.
23868 * scripts/config.sub: Likewise.
23870 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23872 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23874 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23876 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23878 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23880 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23882 2013-02-26 Roland McGrath <roland@hack.frob.com>
23884 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23885 [$(build-shared = yes].
23887 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23889 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23890 (__mul): Reduce iterations for calculating mantissa.
23892 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23894 (__mpranred): Likewise.
23897 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23898 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23900 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23902 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23903 Define __attribute__.
23905 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23907 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23909 * posix/regex_internal.h (__attribute): Remove.
23910 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23911 (re_string_context_at): Likewise.
23912 (bitset_not): Use __attribute__ and mark function as possibly
23914 (bitset_merge): Likewise.
23915 (bitset_mask): Likewise.
23916 (re_string_char_size_at): Likewise.
23917 (re_string_wchar_at): Likewise.
23918 (re_string_elem_size_at): Likewise.
23920 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23922 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23926 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23930 (denorm): Likewise.
23931 (__dbl_mp): Likewise.
23932 (add_magnitudes): Likewise.
23933 (sub_magnitudes): Likewise.
23937 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23940 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23943 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23947 up changes with default code.
23948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23951 2013-02-24 Allan McRae <allan@archlinux.org>
23953 * manual/socket.texi (The Internet Namespace): Order menu items
23954 to match that in the file.
23956 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23957 node listing of the info page menu.
23959 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23962 * sysdeps/i386/bp-asm.h: Remove file.
23963 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23964 (PARMS): Do not use macros from bp-asm.h.
23968 (__mpn_add_n): Do not use BP_SYM
23969 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23971 (PARMS): Do not use macros from bp-asm.h.
23974 (__mpn_addmul_1): Do not use BP_SYM
23975 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23977 (PARMS): Do not use macros from bp-asm.h.
23978 (SIGMSK): Likewise.
23979 (_setjmp): Likewise. Do not use BP_SYM.
23980 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23982 (PARMS): Do not use macros from bp-asm.h.
23983 (SIGMSK): Likewise.
23984 (setjmp): Likewise. Do not use BP_SYM.
23985 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23987 (PARMS): Do not use macros from bp-asm.h.
23988 (__frexp): Do not use BP_SYM.
23990 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23992 (PARMS): Do not use macros from bp-asm.h.
23993 (__frexpf): Do not use BP_SYM.
23994 (frexpf): Likewise.
23995 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23997 (PARMS): Do not use macros from bp-asm.h.
23998 (__frexpl): Do not use BP_SYM.
23999 (frexpl): Likewise.
24000 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24002 (PARMS): Do not use macros from bp-asm.h.
24003 (__remquo): Do not use BP_SYM.
24004 (remquo): Likewise.
24005 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24007 (PARMS): Do not use macros from bp-asm.h.
24008 (__remquof): Do not use BP_SYM.
24009 (remquof): Likewise.
24010 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24012 (PARMS): Do not use macros from bp-asm.h.
24013 (__remquol): Do not use BP_SYM.
24014 (remquol): Likewise.
24015 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24017 (PARMS): Do not use macros from bp-asm.h.
24020 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24021 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24023 (PARMS): Do not use macros from bp-asm.h.
24024 (strlen): Do not use BP_SYM.
24025 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24027 (PARMS): Do not use macros from bp-asm.h.
24031 (__mpn_add_n): Do not use BP_SYM.
24032 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24034 (PARMS): Do not use macros from bp-asm.h.
24037 (__mpn_addmul_1): Do not use BP_SYM.
24038 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24041 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24043 (PARMS): Do not use macros from bp-asm.h.
24046 (__mpn_lshift): Do not use BP_SYM.
24047 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24049 (PARMS): Do not use macros from bp-asm.h.
24053 (memcpy): Likewise. Do not use BP_SYM.
24054 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24055 libc_hidden_def and weak_alias.
24056 (mempcpy): Do not use BP_SYM in weak_alias.
24057 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24059 (PARMS): Do not use macros from bp-asm.h.
24062 [!BZERO_P] (CHR): Likewise.
24063 (memset): Likewise. Do not use BP_SYM.
24064 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24066 (PARMS): Do not use macros from bp-asm.h.
24069 (__mpn_mul_1): Do not use BP_SYM.
24070 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24072 (PARMS): Do not use macros from bp-asm.h.
24075 (__mpn_rshift): Do not use BP_SYM.
24076 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24078 (PARMS): Do not use macros from bp-asm.h.
24081 (strchr): Likewise. Do not use BP_SYM.
24082 (index): Do not use BP_SYM in weak_alias.
24083 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24085 (PARMS): Do not use macros from bp-asm.h.
24088 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24089 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24091 (PARMS): Do not use macros from bp-asm.h.
24092 (strlen): Do not use BP_SYM.
24093 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24095 (PARMS): Do not use macros from bp-asm.h.
24099 (__mpn_sub_n): Do not use BP_SYM.
24100 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24102 (PARMS): Do not use macros from bp-asm.h.
24105 (__mpn_submul_1): Do not use BP_SYM.
24106 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24108 (PARMS): Do not use macros from bp-asm.h.
24112 (__mpn_add_n): Do not use BP_SYM.
24113 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24116 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24118 (PARMS): Do not use macros from bp-asm.h.
24121 (memcmp): Do not use BP_SYM.
24122 (bcmp): Do not use BP_SYM in weak_alias.
24123 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24125 (PARMS): Do not use macros from bp-asm.h.
24129 (memcpy): Likewise. Do not use BP_SYM.
24130 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24132 (PARMS): Do not use macros from bp-asm.h.
24136 (memmove): Likewise. Do not use BP_SYM.
24137 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24139 (PARMS): Do not use macros from bp-asm.h.
24143 (__mempcpy): Likewise. Do not use BP_SYM.
24144 (mempcpy): Do not use BP_SYM in weak_alias.
24145 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24147 (PARMS): Do not use macros from bp-asm.h.
24150 [!BZERO_P] (CHR): Likewise.
24151 (memset): Likewise. Do not use BP_SYM.
24152 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24154 (PARMS): Do not use macros from bp-asm.h.
24156 (strcmp): Do not use BP_SYM.
24157 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24159 (PARMS): Do not use macros from bp-asm.h.
24162 [USE_AS_STRTOK_R] (SAVE): Likewise.
24163 (FUNCTION): Likewise. Do not use BP_SYM.
24164 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24166 (strtok_r): Likewise.
24167 (__GI___strtok_r): Likewise.
24168 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24169 (PARMS): Do not use macros from bp-asm.h.
24172 (__mpn_lshift): Do not use BP_SYM.
24173 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24174 (PARMS): Do not use macros from bp-asm.h.
24177 (__memchr): Do not use BP_SYM.
24178 (memchr): Do not use BP_SYM in weak_alias.
24179 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24180 (PARMS): Do not use macros from bp-asm.h.
24183 (memcmp): Do not use BP_SYM.
24184 (bcmp): Do not use BP_SYM in weak_alias.
24185 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24186 (PARMS): Do not use macros from bp-asm.h.
24189 (__mpn_mul_1): Do not use BP_SYM.
24190 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24192 (PARMS): Do not use macros from bp-asm.h.
24195 (__rawmemchr): Do not use BP_SYM.
24196 (rawmemchr): Do not use BP_SYM in weak_alias.
24197 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24198 (PARMS): Do not use macros from bp-asm.h.
24201 (__mpn_rshift): Do not use BP_SYM.
24202 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24203 (PARMS): Do not use macros from bp-asm.h.
24204 (SIGMSK): Likewise.
24205 (__sigsetjmp): Likewise. Do not use BP_SYM.
24206 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24207 (_start): Do not use BP_SYM.
24208 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24209 (PARMS): Do not use macros from bp-asm.h.
24212 (__stpcpy): Likewise. Do not use BP_SYM.
24213 (stpcpy): Do not use BP_SYM in weak_alias.
24214 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24216 (PARMS): Do not use macros from bp-asm.h.
24220 (__stpncpy): Likewise. Do not use BP_SYM.
24221 (stpncpy): Do not use BP_SYM in weak_alias.
24222 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24223 (PARMS): Do not use macros from bp-asm.h.
24226 (strchr): Likewise. Do not use BP_SYM.
24227 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24229 (PARMS): Do not use macros from bp-asm.h.
24232 (__strchrnul): Likewise. Do not use BP_SYM.
24233 (strchrnul): Do not use BP_SYM in weak_alias.
24234 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24236 (PARMS): Do not use macros from bp-asm.h.
24238 (strcspn): Do not use BP_SYM.
24239 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24241 (PARMS): Do not use macros from bp-asm.h.
24244 (strpbrk): Likewise. Do not use BP_SYM.
24245 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24247 (PARMS): Do not use macros from bp-asm.h.
24250 (strrchr): Likewise. Do not use BP_SYM.
24251 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24252 (PARMS): Do not use macros from bp-asm.h.
24254 (strspn): Do not use BP_SYM.
24255 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24256 (PARMS): Do not use macros from bp-asm.h.
24260 (FUNCTION): Likewise. Do not use BP_SYM.
24261 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24263 (strtok_r): Likewise.
24264 (__GI___strtok_r): Likewise.
24265 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24266 (PARMS): Do not use macros from bp-asm.h.
24270 (__mpn_sub_n): Do not use BP_SYM.
24271 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24273 (PARMS): Do not use macros from bp-asm.h.
24276 (__mpn_submul_1): Do not use BP_SYM.
24277 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24279 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24281 (PARMS): Do not use macros from bp-asm.h.
24286 (__clone): Do not use BP_SYM.
24287 (clone): Do not use BP_SYM in weak_alias.
24288 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24290 (PARMS): Do not use macros from bp-asm.h.
24292 (__mmap64): Do not use BP_SYM.
24293 (mmap64): Do not use BP_SYM in weak_alias.
24294 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24295 <bp-sym.h> and <bp-asm.h>.
24296 (PARMS): Do not use macros from bp-asm.h.
24297 (__posix_fadvise64_l64): Do not use BP_SYM.
24298 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24299 (PARMS): Do not use macros from bp-asm.h.
24301 (semtimedop): Do not use BP_SYM.
24302 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24305 2013-02-21 Allan McRae <allan@archlinux.org>
24307 * manual/message.texi (Charset conversion in gettext):
24308 Move @end statement to beginning of line.
24310 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24314 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24317 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24318 (denorm): Likewise.
24319 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24320 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24322 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24324 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24325 tail-call to the resolved function if pltexit isn't needed.
24327 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24329 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24330 or Y being zero as being unlikely.
24331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24334 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24336 * manual/nss.texi (System Databases and Name Service Switch):
24337 Remove frobnicate @pxref.
24339 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24341 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24342 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24344 2013-02-20 Petr Machata <pmachata@redhat.com>
24346 * elf/elf.h (R_ARM_TARGET1): New macro.
24347 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24348 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24349 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24350 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24351 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24352 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24353 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24354 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24355 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24356 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24357 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24358 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24359 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24360 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24361 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24362 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24363 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24364 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24365 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24366 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24367 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24368 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24369 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24370 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24371 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24372 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24373 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24374 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24375 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24376 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24377 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24378 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24379 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24380 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24381 (R_ARM_THM_GOT_BREL12): Likewise.
24382 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24383 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24384 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24385 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24386 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24387 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24388 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24389 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24390 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24392 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24394 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24395 __attribute_used__ to __attribute__ ((unused)).
24397 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24399 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24401 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24402 comment formatting.
24403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24405 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24408 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24410 (ENTER): Remove both macro definitions.
24412 (CHECK_BOUNDS_LOW): Likewise.
24413 (CHECK_BOUNDS_HIGH): Likewise.
24414 (CHECK_BOUNDS_BOTH): Likewise.
24415 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24416 (RETURN_BOUNDED_POINTER): Likewise.
24417 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24418 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24419 (POP_ERRNO_LOCATION_RETURN): Likewise.
24420 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24421 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24422 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24424 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24425 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24426 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24427 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24428 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24429 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24430 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24431 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24432 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24433 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24434 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24435 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24436 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24437 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24439 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24440 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24442 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24443 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24444 * sysdeps/i386/i586/memset.S (memset): Likewise.
24445 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24446 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24447 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24449 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24450 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24451 Change uses of L(2) to L(out).
24452 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24453 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24454 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24455 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24456 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24458 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24459 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24461 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24462 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24463 (RETURN): Do not use macro LEAVE.
24464 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24465 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24466 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24467 * sysdeps/i386/i686/memset.S (memset): Likewise.
24468 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24469 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24470 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24471 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24473 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24474 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24475 L(1_2) and L(1_3) into L(1).
24476 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24477 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24478 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24479 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24480 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24481 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24482 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24483 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24484 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24486 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24487 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24488 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24489 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24490 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24491 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24492 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24493 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24494 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24495 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24496 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24497 * sysdeps/i386/strspn.S (strspn): Likewise.
24498 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24500 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24501 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24502 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24503 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24504 L(1_3) into L(1_1).
24505 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24506 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24507 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24509 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24511 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24513 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24516 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24518 * math/atest-exp.c (exp_mpn): Remove ROUND.
24519 * math/atest-exp2.c (exp_mpn): Likewise.
24520 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24522 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24523 * stdlib/tst-tls-atexit-lib.c: Likewise.
24524 * stdlib/tst-tls-atexit.c: Likewise.
24526 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24528 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24529 and __attribute_alloc_size__.
24531 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24533 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24534 __attribute_alloc_size__.
24535 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24536 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24538 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24540 * include/programs/xmalloc.h: New file.
24541 * catgets/gencat.c: Include it.
24542 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24543 * elf/pldd.c: Likewise.
24544 * iconv/iconv_charmap.c: Likewise.
24545 * iconv/iconvconfig.c: Likewise.
24546 * iconv/strtab.c: Likewise.
24547 * locale/programs/locale.c: Likewise.
24548 * locale/programs/localedef.h: Likewise.
24549 * locale/programs/simple-hash.c: Likewise.
24550 * nscd/nscd.h: Likewise.
24551 * nss/makedb.c: Likewise.
24552 * sysdeps/generic/ldconfig.h: Likewise.
24554 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24556 * Versions.def: Add GLIBC_2.18.
24557 * include/link.h (struct link_map): New member l_tls_dtor_count.
24558 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24559 (__call_tls_dtors): Likewise.
24560 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24561 __cxa_thread_atexit_impl.
24562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24570 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24578 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24579 (tests): Add test case tst-tls-atexit.
24580 (modules-names): Add shared library for tst-tls-atexit.
24581 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24582 (GLIBC_PRIVATE): Add __call_tls_dtors.
24583 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24585 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24586 * stdlib/tst-tls-atexit.c: New test case.
24587 * stdlib/tst-tls-atexit-lib.c: New test case.
24589 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24591 * elf/Versions (ld): Add _dl_find_dso_for_object.
24592 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24593 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24594 (dl_open_worker): Use _dl_find_dso_for_object.
24595 * elf/dl-sym.c (do_sym): Likewise.
24596 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24598 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24600 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24601 Syntactic changes only.
24602 (_dl_runtime_profile): Do a tail-call to the resolved function.
24604 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24607 * sysdeps/x86_64/bp-asm.h: Remove file.
24608 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24609 <bp-sym.h> and <bp-asm.h>.
24610 (__clone): Do not use BP_SYM.
24611 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24612 <bp-sym.h> and <bp-asm.h>.
24613 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24614 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24616 (_setjmp): Do not use BP_SYM.
24617 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24619 (setjmp): Do not use BP_SYM.
24620 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24622 (mempcpy): Do not use BP_SYM in weak_alias.
24623 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24625 (strchr): Do not use BP_SYM.
24626 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24628 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24629 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24630 (_start): Do not use BP_SYM.
24631 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24633 (strcat): Do not use BP_SYM.
24634 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24636 (STRCMP): Do not use BP_SYM.
24637 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24639 (STRCPY): Do not use BP_SYM.
24640 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24642 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24644 (FUNCTION): Do not use BP_SYM.
24645 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24647 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24649 2013-02-17 Andreas Jaeger <aj@suse.de>
24651 * time/Versions: Sort entries.
24652 * string/Versions: Likewise.
24653 * resolv/Versions: Likewise.
24654 * posix/Versions: Likewise.
24655 * iconv/Versions: Likewise.
24656 * elf/Versions: Likewise.
24657 * wcsmbs/Versions: Likewise.
24659 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24661 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24662 loop termination condition.
24664 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24665 variable to calculate EZ.
24668 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24669 the lower precision input.
24671 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24674 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24675 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24676 (run-via-rtld-prefix): Do not handle %-bp tests.
24677 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24678 (all-object-suffixes): Remove .ob.
24679 (bppfx): Remove variable.
24680 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24681 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24682 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24683 [$(build-bounded) = yes] (libtype.ob): Likewise.
24684 * Makerules (elide-routines.ob): Remove variable.
24685 (do-tests-clean): Do not handle *-bp.out.
24686 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24687 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24688 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24689 (tests): Do not include $(tests-bp.out).
24690 (xtests): Do not include $(xtests-bp.out).
24691 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24692 [$(build-bounded) = yes] ($(addprefix
24693 $(objpfx),$(binaries-bounded))): Remove rule.
24694 ($(objpfx)%-bp.out): Remove rule.
24695 * config.make.in (build-bounded): Remove variable.
24696 * crypt/Makefile [$(build-bounded) = yes]
24697 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24698 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24699 append to variable.
24700 [$(build-bounded) = yes] (install-lib): Likewise.
24701 [$(build-bounded) = yes] (generated): Likewise.
24702 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24704 * intl/Makefile [$(build-bounded) = yes]
24705 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24706 * math/Makefile [$(build-bounded) = yes]
24707 ($(tests:%=$(objpfx)%-bp): Likewise.
24708 * misc/Makefile [$(build-bounded) = yes]
24709 ($(objpfx)tst-tsearch-bp): Likewise.
24710 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24711 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24713 * string/Makefile (o-objects.ob): Remove variable.
24714 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24715 (CFLAGS-.ob): Remove variable.
24716 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24717 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24718 both definitions of variable.
24719 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24720 (ASFLAGS-.ob): Remove variable.
24722 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24725 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24726 Remove __BOUNDED_POINTERS__ from condition.
24727 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24728 * string/bits/string2.h [!__NO_STRING_INLINES &&
24729 !__BOUNDED_POINTERS__]: Likewise.
24730 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24732 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24733 Remove conditional code.
24734 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24735 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24736 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24740 * csu/libc-start.c: Do not include <bp-sym.h>.
24741 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24742 * elf/dl-open.c: Do not include <bp-sym.h>.
24743 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24744 * math/fegetenv.c: Do not include <bp-sym.h>.
24745 (fegetenv): Do not use BP_SYM in versioned symbols.
24746 * nptl/sysdeps/pthread/bits/libc-lockP.h
24747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24750 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24752 (__pthread_mutex_destroy): Likewise.
24753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24754 (__pthread_mutex_lock): Likewise.
24755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24756 (__pthread_mutex_trylock): Likewise.
24757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24758 (__pthread_mutex_unlock): Likewise.
24759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24760 (__pthread_mutexattr_init): Likewise.
24761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24762 (__pthread_mutexattr_destroy): Likewise.
24763 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24764 (__pthread_mutexattr_settype): Likewise.
24765 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24766 (__pthread_rwlock_init): Likewise.
24767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24768 (__pthread_rwlock_destroy): Likewise.
24769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24770 (__pthread_rwlock_rdlock): Likewise.
24771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24772 (__pthread_rwlock_tryrdlock): Likewise.
24773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24774 (__pthread_rwlock_wrlock): Likewise.
24775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24776 (__pthread_rwlock_trywrlock): Likewise.
24777 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24778 (__pthread_rwlock_unlock): Likewise.
24779 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24780 (__pthread_key_create): Likewise.
24781 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24782 (__pthread_setspecific): Likewise.
24783 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24784 (__pthread_getspecific): Likewise.
24785 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24787 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24788 (_pthread_cleanup_push_defer): Likewise.
24789 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24790 (_pthread_cleanup_pop_restore): Likewise.
24791 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24792 (pthread_setcancelstate): Likewise.
24793 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24795 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24796 (memchr): Do not use BP_SYM in weak_alias.
24797 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24798 (fegetenv): Do not use BP_SYM in versioned symbols.
24799 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24800 (fesetenv): Do not use BP_SYM in versioned symbols.
24801 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24802 (feupdateenv): Do not use BP_SYM in versioned symbols.
24803 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24804 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24805 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24806 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24807 (open64): Do not use BP_SYM in weak_alias.
24808 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24809 (fegetenv): Do not use BP_SYM in versioned symbols.
24810 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24811 (fesetenv): Do not use BP_SYM in versioned symbols.
24812 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24813 (feupdateenv): Do not use BP_SYM in versioned symbols.
24814 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24815 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24816 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24817 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24818 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24819 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24820 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24822 (__libc_start_main): Do not use BP_SYM.
24824 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24827 redundant return line.
24829 (denorm): Likewise.
24830 (dbl_mp): Likewise.
24831 (sub_magnitudes): Likewise.
24837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24839 (denorm): Likewise.
24840 (dbl_mp): Likewise.
24841 (sub_magnitudes): Likewise.
24848 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24850 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24851 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24854 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24855 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24856 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24857 of __mul for squares.
24858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24862 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24863 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24865 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24868 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24870 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24871 prototype or function definition. Rename ubp_* variables and
24872 parameters. Remove argv definitions conditional on
24873 [__BOUNDED_POINTERS__].
24874 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24875 * elf/dl-runtime.c (_dl_fixup): Likewise.
24876 * include/set-hooks.h (RUN_HOOK): Likewise.
24877 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24879 * string/strcpy.c (strcpy): Do not use __unbounded.
24880 * sysdeps/generic/frame.h (struct layout): Likewise.
24881 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24882 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24883 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24884 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24885 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24886 (__backtrace): Likewise.
24887 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24889 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24890 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24891 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24893 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24894 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24895 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24896 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24897 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24898 Do not use __unbounded.
24899 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24900 Rename __unboundedrlimits parameter to rlimits in prototype.
24901 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24902 Do not use __unbounded.
24903 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24904 not use __ptrvalue.
24905 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24906 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24907 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24908 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24909 __ptrvalue or __unbounded.
24910 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24911 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24913 (__new_msgctl): Do not use __ptrvalue.
24914 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24916 (__libc_msgrcv): Do not use __ptrvalue.
24917 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24918 startup_info): Do not use __unbounded.
24919 (__libc_start_main): Likewise. Rename ubp_* variables and
24920 parameters. Remove argv definitions conditional on
24921 [__BOUNDED_POINTERS__].
24922 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24924 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24926 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24928 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24930 (__new_shmctl): Do not use __ptrvalue.
24931 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24932 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24934 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24935 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24936 (__libc_sigaction): Likewise.
24937 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24938 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24940 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24942 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24944 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24946 * string/mempcpy.c: Implement by calling memcpy.
24948 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24950 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24952 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24955 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24956 values in the mantissa.
24958 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24959 minimize writes to Z.
24960 (sub_magnitudes): Simplify code a bit.
24962 2013-02-12 Roland McGrath <roland@hack.frob.com>
24964 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24965 from the message. The linker prefixes all warnings with that already.
24967 2013-02-12 Andreas Schwab <schwab@suse.de>
24970 * posix/regexec.c (extend_buffers): Add parameter min_len.
24971 (check_matching): Pass minimum needed length.
24972 (clean_state_log_if_needed): Likewise.
24973 (get_subexp): Likewise.
24974 * posix/Makefile (tests): Add bug-regex34.
24975 (bug-regex34-ENV): Define.
24976 * posix/bug-regex34.c: New file.
24979 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24980 elements compare against the byte sequence of it, not its name.
24981 * posix/Makefile (tests): Add bug-regex35.
24982 (bug-regex35-ENV): Define.
24983 * posix/bug-regex35.c: New file.
24985 2013-02-11 Tom de Vries <tom@codesourcery.com>
24987 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24989 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24990 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24991 (CHECK_EOL): Add undef.
24993 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24995 * bits/stdlib-bsearch.h: New file.
24996 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24997 * stdlib/stdlib.h: Likewise.
24999 2013-02-11 Roland McGrath <roland@hack.frob.com>
25001 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25002 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25004 * manual/search.texi (Array Search Function): Add missing const in
25006 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25007 declaration to use rlim_t.
25008 (Basic Scheduling Functions): Remove erroneous const from
25009 sched_getparam prototype. Remove erroneous * from
25010 sched_get_priority_max and sched_get_priority_min prototypes.
25011 (Resource Usage): Fix summary @comment on vtimes to refer to
25012 sys/vtimes.h rather than vtimes.h.
25013 Add missing *s in vtimes prototype.
25014 (Limits on Resources): Fix ulimit prototype to return long int.
25015 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25016 prototypes to use long int rather than double.
25017 (BSD Random): Fix initstate and setstate to use char *, not void *.
25018 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25019 prototype to make second argument 'struct aiocb64 *const[]'.
25020 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25021 (Status of AIO Operations): Remove erroneous const in aio_return and
25022 aio_return64 prototypes.
25023 (Synchronizing I/O): Fix sync prototype to return void.
25024 * manual/startup.texi (Suboptions): Remove an erroneous const in
25025 getsubopt prototype.
25026 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25027 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25028 use size_t rather than int.
25029 (Scanning All Users): Likewise for getpwent_r.
25030 (Setting Groups): Add missing const to setgroups prototype.
25031 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25032 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25033 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25034 'const void *' rather than 'const char *'.
25035 (Host Address Functions): Likewise for inet_ntop.
25036 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25037 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25038 ssize_t for return value.
25039 (Sending Data): Likewise for send, sendto, sendmsg.
25040 (Socket Option Functions): Add a missing const in setsockopt prototype.
25041 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25042 use wchar_t for the argument.
25043 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25044 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25046 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25047 double/float/long double for second argument.
25048 Fix return types of significand, significandf, significandl.
25049 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25050 argument in fchmod prototype.
25051 (File Owner): Use uid_t and gid_t in fchown prototype.
25052 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25053 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25054 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25055 use 'const struct dirent **' as argument types to CMP function pointer
25057 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25058 (File Times): Fix summary magic @comment for struct utimbuf and utime
25059 to refer to utime.h, not time.h.
25060 * manual/string.texi (Argz Functions): Add missing const in
25061 argz_extract and argz_next prototypes.
25062 (Finding Tokens in a String): Likewise for basename.
25063 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25064 (Copying and Concatenation): Fix typo in wmemmove prototype.
25065 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25066 (Signal Stack): Remove erroneous const in sigstack prototype.
25067 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25069 (Simple Calendar Time): Likewise for stime.
25070 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25072 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25073 say sys/sysctl.h instead.
25074 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25075 and vsyslog prototypes.
25077 2013-02-11 Tom de Vries <tom@codesourcery.com>
25079 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25082 2013-02-11 Roland McGrath <roland@hack.frob.com>
25084 * misc/sys/mman.h: Fix typo in mremap comment.
25086 2013-02-08 Roland McGrath <roland@hack.frob.com>
25088 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25089 the '\0' terminator.
25091 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25094 * debug/segfault.c: Don't include <bp-checks.h>.
25095 * sysdeps/generic/bp-checks.h: Remove file.
25096 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25097 (__GETDENTS): Don't use CHECK_N.
25098 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25099 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25100 (__getgroups): Don't use CHECK_N.
25101 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25102 (setgroups): Don't use CHECK_N.
25103 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25104 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25105 (__libc_msgrcv): Don't use CHECK_N.
25106 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25107 (__libc_msgsnd): Don't use CHECK_N.
25108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25110 (__libc_pread): Don't use CHECK_N.
25111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25112 include <bp-checks.h>.
25113 (__libc_pread64): Don't use CHECK_N.
25114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25115 include <bp-checks.h>.
25116 (__libc_pwrite): Don't use CHECK_N.
25117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25118 include <bp-checks.h>.
25119 (__libc_pwrite64): Don't use CHECK_N.
25120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25122 (__libc_pread): Don't use CHECK_N.
25123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25124 include <bp-checks.h>.
25125 (__libc_pread64): Don't use CHECK_N.
25126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25127 include <bp-checks.h>.
25128 (__libc_pwrite): Don't use CHECK_N.
25129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25130 include <bp-checks.h>.
25131 (__libc_pwrite64): Don't use CHECK_N.
25132 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25133 (do_pread): Don't use CHECK_N.
25134 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25135 (do_pread64): Don't use CHECK_N.
25136 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25137 (do_pwrite): Don't use CHECK_N.
25138 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25139 (do_pwrite64): Don't use CHECK_N.
25140 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25141 (__libc_readv): Don't use CHECK_N.
25142 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25143 (semop): Don't use CHECK_N.
25144 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25146 (semtimedop): Don't use CHECK_N.
25147 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25148 (__libc_pread): Don't use CHECK_N.
25149 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25151 (__libc_pread64): Don't use CHECK_N.
25152 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25154 (__libc_pwrite): Don't use CHECK_N.
25155 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25157 (__libc_pwrite64): Don't use CHECK_N.
25158 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25160 (__libc_msgrcv): Don't use CHECK_N.
25161 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25162 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25163 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25164 (__libc_writev): Don't use CHECK_N.
25166 2013-02-08 Roland McGrath <roland@hack.frob.com>
25168 * string/strcpy.c: Removed unused variable.
25170 * Makeconfig (+sysdep-includes): Define with := rather than =.
25171 Use an existing include/ subdir of each sysdeps dir before it.
25173 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25175 * nscd/connection.c (register_traced_file): Comment function.
25176 [HAVE_INOTIFY] (union __inev): Define.
25177 [HAVE_INOTIFY] (inotify_check_files): New function.
25178 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25179 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25181 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25183 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25185 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25186 loaded if not already and that a failure is permanent.
25188 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25191 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25192 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25194 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25197 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25198 (CHECK_1_NULL_OK): Likewise.
25199 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25200 (__fxstat): Do not use CHECK_1.
25201 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25203 (___fxstat64): Do not use CHECK_1.
25204 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25206 (__fxstatat): Do not use CHECK_1.
25207 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25209 (__fxstatat64): Do not use CHECK_1.
25210 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25212 (__fxstat): Do not use CHECK_1.
25213 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25215 (__fxstatat): Do not use CHECK_1.
25216 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25218 (__getresgid): Do not use CHECK_1.
25219 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25221 (__getresuid): Do not use CHECK_1.
25222 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25224 (__lxstat): Do not use CHECK_1.
25225 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25227 (__old_msgctl): Do not use CHECK_1.
25228 (__new_msgctl): Likewise.
25229 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25231 (__new_setrlimit): Do not use CHECK_1.
25232 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25234 (__old_shmctl): Do not use CHECK_1.
25235 (__new_shmctl): Likewise.
25236 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25238 (__xstat): Do not use CHECK_1.
25239 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25240 (__lxstat): Do not use CHECK_1.
25241 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25243 (___lxstat64): Do not use CHECK_1.
25244 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25245 (__old_msgctl): Do not use CHECK_1.
25246 (__new_msgctl): Likewise.
25247 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25249 (__gettimeofday): Do not use CHECK_1.
25250 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25251 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25252 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25254 (__gettimeofday): Do not use CHECK_1.
25255 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25256 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25257 (__new_shmctl): Do not use CHECK_1.
25258 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25260 (do_sigtimedwait): Do not use CHECK_1.
25261 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25263 (do_sigwaitinfo): Do not use CHECK_1.
25264 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25266 (msgctl): Do not use CHECK_1.
25267 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25269 (shmctl): Do not use CHECK_1.
25270 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25271 (ustat): Do not use CHECK_1.
25272 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25274 (__fxstat): Do not use CHECK_1.
25275 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25277 (__fxstatat): Do not use CHECK_1.
25278 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25280 (__lxstat): Do not use CHECK_1.
25281 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25283 (__xstat): Do not use CHECK_1.
25284 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25285 (__xstat): Do not use CHECK_1.
25286 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25287 (___xstat64): Do not use CHECK_1.
25290 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25292 (CHECK_BOUNDS_HIGH): Likewise.
25293 * string/strcpy.c: Do not include <bp-checks.h>.
25294 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25296 2013-02-07 Roland McGrath <roland@hack.frob.com>
25298 * nscd/nscd-client.h (__nscd_drop_map_ref):
25299 Add __attribute__ ((unused)).
25300 * nis/nss-nisplus.h (niserr2nss): Likewise.
25302 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25303 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25305 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25306 Remove inline keyword.
25307 * include/rounding-mode.h (round_away): Likewise.
25308 * libio/wfileops.c (adjust_wide_data): Likewise.
25309 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25310 (__m128i_strloadu_tolower): Likewise.
25311 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25312 (__m128i_strloadu_tolower): Likewise.
25313 * time/mktime.c (ydhms_diff): Likewise.
25314 * locale/elem-hash.h (elem_hash): Likewise.
25315 * locale/setlocale.c (setdata): Likewise.
25316 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25317 (re_string_wchar_at): Likewise.
25318 (bitset_not, bitset_merge, bitset_mask): Likewise.
25319 [!(__GNUC__ > 3)] (inline): Remove macro.
25320 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25321 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25322 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25323 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25324 * string/memcmp.c (memcmp_bytes): Likewise.
25325 * locale/programs/locarchive.c (compute_hashval): Likewise.
25326 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25327 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25328 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25329 * nss/getent.c (print_rpc, print_protocols): Likewise.
25330 (print_passwd, print_group, print_aliases): Likewise.
25331 * nis/nss-nisplus.h (niserr2nss): Likewise.
25332 * nscd/connections.c (restart_p): Likewise.
25333 Change return type to bool.
25335 2013-02-05 Roland McGrath <roland@hack.frob.com>
25337 * Makeconfig (all-Depend-files): Add existing
25338 $(sorted-subdirs:=/Depend) files.
25339 (all-subdirs): Remove nss.
25340 * sysdeps/unix/inet/Subdirs: Add it here instead.
25341 * hesiod/Depend: New file.
25343 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25344 instead of calling alloca.
25346 * io/lseek.c (__lseek): Rename to __libc_lseek.
25347 Define __lseek as an alias.
25349 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25351 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25353 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25354 else clause and remove check for non-standard endianness.
25356 2013-02-04 David S. Miller <davem@davemloft.net>
25358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25360 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25363 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25364 (__ubp_memchr): Remove prototype.
25365 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25366 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25367 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25368 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25369 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25371 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25372 (__ubp_memchr): Likewise.
25373 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25374 (__ubp_memchr): Likewise.
25375 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25376 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25377 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25378 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25380 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25381 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25382 (__getcwd): Do not use CHECK_STRING.
25383 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25385 (__real_chown): Do not use CHECK_STRING.
25386 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25388 (fchownat): Do not use CHECK_STRING.
25389 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25391 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25393 (__lchown): Do not use CHECK_STRING.
25394 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25395 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25396 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25397 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25399 include <bp-checks.h>.
25400 (truncate64): Do not use CHECK_STRING.
25401 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25403 (__real_chown): Do not use CHECK_STRING.
25404 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25406 (__lchown): Do not use CHECK_STRING.
25407 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25409 (__chown): Do not use CHECK_STRING.
25410 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25412 (truncate64): Do not use CHECK_STRING.
25413 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25415 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25416 (__xmknod): Do not use CHECK_STRING.
25417 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25419 (__xmknodat): Do not use CHECK_STRING.
25420 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25421 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25423 2013-02-04 Andreas Schwab <schwab@suse.de>
25426 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25427 * include/netdb.h: Likewise for h_errno.
25428 * elf/tst-stackguard1.c: Include <tls.h>.
25430 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25432 * elf/link.h (struct link_map): Extend the l_addr comment.
25433 * include/link.h (struct link_map): Likewise.
25435 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25438 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25439 (BOUNDED_1): Remove macro.
25440 * debug/backtrace.c: Don't include <bp-checks.h>.
25441 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25442 (__backtrace): Likewise.
25443 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25445 (__backtrace): Don't use BOUNDED_1.
25446 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25448 (__backtrace): Don't use BOUNDED_1.
25449 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25450 (__backtrace): Don't use BOUNDED_1.
25451 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25452 (shmat): Don't use BOUNDED_N.
25454 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25457 * sysdeps/generic/bp-start.h: Remove file.
25458 * csu/libc-start.c: Don't include <bp-start.h>.
25459 (LIBC_START_MAIN): Set up __environ directly instead of using
25460 INIT_ARGV_and_ENVIRON.
25461 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25465 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25467 (CHECK_FCNTL): Likewise.
25468 (CHECK_N_PAGES): Likewise.
25471 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25473 (CHECK_SIGSET_NULL_OK): Likewise.
25474 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25476 (sigpending): Don't use CHECK_SIGSET.
25477 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25479 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25480 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25482 (do_sigsuspend): Don't use CHECK_SIGSET.
25483 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25485 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25486 (do_sigwait): Don't use CHECK_SIGSET.
25487 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25489 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25490 include <bp-checks.h>.
25491 (sigpending): Don't use CHECK_SIGSET.
25492 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25493 include <bp-checks.h>.
25494 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25495 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25497 (sigpending): Don't use CHECK_SIGSET.
25498 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25500 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25503 * sysdeps/generic/bp-semctl.h: Remove file.
25504 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25505 <bp-checks.h> and <bp-semctl.h>.
25506 (__old_semctl): Don't use CHECK_SEMCTL.
25507 (__new_semctl): Likewise.
25508 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25510 (__old_semctl): Don't use CHECK_SEMCTL.
25511 (__new_semctl): Likewise.
25512 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25513 <bp-checks.h> and <bp-semctl.h>.
25514 (__old_semctl): Don't use CHECK_SEMCTL.
25515 (__new_semctl): Likewise.
25516 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25517 <bp-checks.h> and <bp-semctl.h>.
25518 (semctl): Don't use CHECK_SEMCTL.
25521 * Makerules (elide-bp-thunks): Remove variable.
25522 (elide-routines.oS): Don't use $(elide-bp-thunks).
25523 (elide-routines.os): Likewise.
25524 (elide-routines.o): Likewise.
25525 (elide-routines.op): Likewise.
25526 (elide-routines.og): Likewise.
25527 (objects): Don't use $(bp-thunks).
25528 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25530 (common-generated): Do not add s-proto-bp.d.
25531 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25534 Do not generate makefile rules for bounded-pointer thunks.
25535 * sysdeps/generic/bp-thunks.h: Remove file.
25536 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25537 * sysdeps/unix/s-proto-bp.S: Likewise.
25540 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25541 parts of result separately when argument is not close to line from
25542 -i to i and one part of argument is small.
25543 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25544 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25545 * math/libm-test.inc (cacos_test): Add more tests.
25546 (casin_test): Likewise.
25547 (casinh_test): Likewise.
25548 * sysdeps/i386/fpu/libm-test-ulps: Update.
25549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25551 2013-01-31 David S. Miller <davem@davemloft.net>
25553 * po/de.po: Update from translation team.
25555 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25557 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25559 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25561 * configure.in (_AC_PROG_CC_C89): New definition.
25562 * configure: Regenerate.
25564 * configure.in (AC_PROG_CPP): New definition.
25565 * configure: Regenerate.
25567 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25569 * debug/tst-backtrace.h: New file.
25570 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25571 (ret): Remove variable.
25573 (FAIL): Remove macro.
25574 (NO_INLINE): Likewise.
25575 (fn1): Use match function instead of strstr.
25576 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25577 (ret): Remove variable.
25579 (FAIL): Remove macro.
25580 (NO_INLINE): Likewise.
25581 (fn): Use match function instead of strstr.
25582 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25583 (ret): Remove variable.
25585 (FAIL): Remove macro.
25586 (NO_INLINE): Likewise.
25587 (handle_signal): Use match function instead of strstr.
25588 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25589 (ret): Remove variable.
25591 (FAIL): Remove macro.
25592 (NO_INLINE): Likewise.
25593 (handle_signal): Use match function instead of strstr.
25595 2013-01-23 Roland McGrath <roland@hack.frob.com>
25597 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25599 2013-01-23 David S. Miller <davem@davemloft.net>
25601 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25602 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25603 argument of CAS if possible.
25604 * sysdeps/sparc/sparc64/bits/atomic.h
25605 (__arch_compare_and_exchange_val_32_acq): Likewise.
25606 (__arch_compare_and_exchange_val_64_acq): Likewise.
25608 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25610 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25611 * sysdeps/posix/ulimit.c: ... this.
25612 Include <limits.h>.
25613 * sysdeps/unix/bsd/ulimit.c: Remove file.
25615 2013-01-23 Adam Conrad <adconrad@0c3.net>
25617 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25618 (LDFLAGS-tst-array5): Likewise.
25620 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25623 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25624 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25625 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25626 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25628 2013-01-21 David S. Miller <davem@davemloft.net>
25630 * sysdeps/sparc/backtrace.c: New file.
25631 * sysdeps/sparc/sparc32/backtrace.h: New file.
25632 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25633 * sysdeps/sparc/sparc64/backtrace.h: New file.
25634 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25635 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25638 2013-01-21 Andreas Schwab <schwab@suse.de>
25641 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25644 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25648 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25650 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25651 Mark Mitchell <mark@codesourcery.com>
25652 Tom de Vries <tom@codesourcery.com>
25653 Paul Pluzhnikov <ppluzhnikov@google.com>
25655 * debug/tst-backtrace2.c: New file.
25656 * debug/tst-backtrace3.c: Likewise.
25657 * debug/tst-backtrace4.c: Likewise.
25658 * debug/tst-backtrace5.c: Likewise.
25659 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25660 (CFLAGS-tst-backtrace3.c): Likewise.
25661 (CFLAGS-tst-backtrace4.c): Likewise.
25662 (CFLAGS-tst-backtrace5.c): Likewise.
25663 (LDFLAGS-tst-backtrace2): Likewise.
25664 (LDFLAGS-tst-backtrace3): Likewise.
25665 (LDFLAGS-tst-backtrace4): Likewise.
25666 (LDFLAGS-tst-backtrace5): Likewise.
25667 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25668 tst-backtrace4 and tst-backtrace5.
25670 2013-01-18 Anton Blanchard <anton@samba.org>
25671 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25673 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25674 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25675 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25676 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25678 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25679 "+r" and remove output regs list as redundant. Add explicit inline
25680 asm to specify register of return val to work around compiler codegen
25681 bug. Remove (int) cast on return value. Add return type parameter to
25682 use in macro so that this macro does not truncate return value for
25684 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25685 pass to INTERNAL_VSYSCALL_NCS.
25686 (INLINE_VSYSCALL): Add 'long int' as return type to
25687 INTERNAL_VSYSCALL_NCS macro invocation.
25688 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25689 INTERNAL_VSYSCALL_NCS macro invocation.
25690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25692 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25695 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25696 Fix application of SIMD FP exception mask.
25698 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25699 mp_no from a power of two.
25700 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25701 __mpexp_twomm1. Use __pow_mp.
25703 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25706 2013-01-17 David S. Miller <davem@davemloft.net>
25708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25710 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25713 * include/complex.h: Condition contents on [!_COMPLEX_H].
25714 (__kernel_casinhf): New prototype.
25715 (__kernel_casinh): Likewise.
25716 (__kernel_casinhl): Likewise.
25717 * math/Makefile (libm_calls): Add k_casinh.
25718 * math/k_casinh.c: New file.
25719 * math/k_casinhf.c: Likewise.
25720 * math/k_casinhl.c: Likewise.
25721 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25722 finite nonzero arguments.
25723 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25724 finite nonzero arguments.
25725 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25726 finite nonzero arguments.
25727 * math/s_casinh.c: Do not include <float.h>.
25728 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25729 * math/s_casinhf.c: Do not include <float.h>.
25730 (__casinhf): Move code for finite nonzero arguments to
25732 * math/s_casinhl.c: Do not include <float.h>.
25733 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25735 (__casinhl): Move code for finite nonzero arguments to
25737 * math/libm-test.inc (cacos_test): Add more tests.
25738 * sysdeps/i386/fpu/libm-test-ulps: Update.
25739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25741 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25743 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25744 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25745 [!HAVE_MREMAP]: Remove [defined linux] case.
25746 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25748 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25750 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25752 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25754 * elf/elf.h (R_386_SIZE32): New relocation.
25755 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25757 (elf_machine_rela): Likewise.
25758 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25759 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25761 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25763 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25764 (FP_FAST_FMA): Do not define.
25765 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25766 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25767 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25768 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25769 !_SOFT_FLOAT]: Likewise.
25770 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25771 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25773 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25774 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25775 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25776 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25777 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25778 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25781 2013-01-16 Andreas Schwab <schwab@suse.de>
25784 * include/stdlib.h (__mktemp): Add declaration.
25785 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25786 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25788 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25790 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25792 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25793 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25794 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25796 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25797 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25799 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25801 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25802 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25803 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25805 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25806 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25808 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25810 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25812 2013-01-15 David S. Miller <davem@davemloft.net>
25814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25815 trunc{,f} to libm-sysdep_routes.
25816 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25826 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25827 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25828 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25829 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25830 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25831 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25834 nearbyint{,f} to libm-sysdep_routes.
25835 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25846 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25848 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25849 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25851 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25852 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25853 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25855 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25856 libc_feholdexcept and libc_fesetenv.
25858 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25860 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25862 2013-01-14 David S. Miller <davem@davemloft.net>
25864 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25865 (SPARC_ASM_VIS2_IFUNC): Likewise.
25866 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25868 use of 'siam' instruction.
25869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25876 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25878 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25887 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25888 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25889 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25890 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25897 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25900 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25902 routines to libm-sysdep_routines.
25903 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25906 fdim/fdimf to libm-sysdep_routines.
25907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25915 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25916 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25917 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25918 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25920 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25922 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25923 to optimize copies.
25925 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25930 local variable MPTWO.
25931 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25934 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25936 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25939 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25941 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25943 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25945 * manual/pattern.texi (glob_t): Document gl_flags.
25946 (glob64_t): Likewise.
25948 2013-01-11 David S. Miller <davem@davemloft.net>
25950 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25951 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25952 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25953 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25954 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25955 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25956 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25957 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25958 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25959 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25960 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25961 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25962 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25964 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25965 sparc V9 rather than using V8 code.
25966 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25967 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25969 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25971 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25974 2013-01-11 Roland McGrath <roland@hack.frob.com>
25976 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25977 not in the main loop.
25978 * configure: Regenerated.
25980 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25982 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25983 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25985 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25986 [!__GLIBC_HAVE_LONG_LONG] case.
25987 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25988 condition to just #else.
25989 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25990 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25991 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25992 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25994 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25995 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25996 #elif condition to just #else.
25997 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25998 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25999 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26000 #elif condition to just #else.
26002 2013-01-11 Steve Ellcey <sellcey@mips.com>
26004 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26005 (EF_MIPS_ARCH_64): Fix value.
26006 (EF_MIPS_ARCH_32R2): New.
26007 (EF_MIPS_ARCH_64R2): New.
26009 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26011 * Makeconfig (+link-pie-before-libc): New.
26012 (+link-pie-after-libc): Likewise.
26013 (+link-pie-tests): Likewise.
26014 (+link-pie): Rewritten.
26015 (link-before-libc): Remove $(config-LDFLAGS).
26016 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26017 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26018 (config-LDFLAGS): Renamed to ...
26019 (rtld-LDFLAGS): This.
26020 (rtld-tests-LDFLAGS): New macro.
26021 (link-libc-rpath-link): Likewise.
26022 (link-libc-tests-rpath-link): Likewise.
26023 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26024 (link-libc): Prepand $(link-libc-rpath-link).
26025 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26026 (test-program-prefix): New macro.
26027 (test-via-rtld-prefix): Likewise.
26028 (test-program-cmd): Likewise.
26029 (host-test-program-cmd): Likewise.
26030 * Makefile ($(common-objpfx)testrun.sh): Replace
26031 $(run-program-prefix) with $(test-program-prefix).
26032 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26034 ($(common-objpfx)shlib.lds): Likewise.
26035 (build-module-helper): Likewise.
26036 ($(common-objpfx)format.lds): Likewise.
26037 * Rules (binaries-pie-tests): New.
26038 (binaries-pie-notests): Likewise.
26039 (binaries-pie): Rewritten.
26040 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26041 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26042 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26043 (make-test-out): Replace $(host-built-program-cmd) with
26044 $(host-test-program-cmd).
26045 * config.make.in (build-hardcoded-path-in-tests): New variable.
26046 * configure.in (--enable-hardcoded-path-in-tests): New configure
26048 (hardcoded_path_in_tests): New AC_SUBST.
26049 * configure: Regenerated.
26050 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26051 $(built-program-cmd) with $(test-program-cmd).
26052 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26053 (test_program_cmd): This.
26054 * elf/Makefile ($(objpfx)order.out): Run test with
26055 $(test-program-prefix).
26056 ($(objpfx)order2.out): Likewise.
26057 ($(objpfx)tst-initorder.out): Likewise.
26058 ($(objpfx)tst-initorder2.out): Likewise.
26059 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26060 $(test-program-cmd).
26061 ($(objpfx)tst-array1-static.out): Likewise.
26062 ($(objpfx)tst-array2.out): Likewise.
26063 ($(objpfx)tst-array3.out): Likewise.
26064 ($(objpfx)tst-array4.out): Likewise.
26065 ($(objpfx)tst-array5.out): Likewise.
26066 ($(objpfx)tst-array5-static.out): Likewise.
26067 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26068 $(test-program-cmd).
26069 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26070 $(run-program-prefix) with $(test-program-prefix).
26071 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26072 (test_program_prefix): This.
26073 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26074 $(run-program-prefix) with $(test-program-prefix).
26075 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26076 (test_program_prefix): This.
26077 * iconvdata/tst-tables.sh: Likewise.
26078 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26079 $(run-program-prefix) with $(test-program-prefix).
26080 ($(objpfx)tst-translit.out): Likewise.
26081 ($(objpfx)tst-gettext2.out): Likewise.
26082 ($(objpfx)tst-gettext4.out): Likewise.
26083 ($(objpfx)tst-gettext6.out): Likewise.
26084 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26085 (test_program_prefix): This.
26086 * intl/tst-gettext2.sh: Likewise.
26087 * intl/tst-gettext4.sh Likewise.
26088 * intl/tst-gettext6.sh: Likewise.
26089 * intl/tst-translit.sh: Likewise.
26090 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26091 with $(test-program-cmd).
26092 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26093 $(run-program-prefix) with $(test-program-prefix).
26094 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26095 (test_program_prefix): This.
26096 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26097 $(run-program-prefix) with $(test-program-prefix).
26098 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26099 (test_program_prefix): This.
26100 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26101 * posix/Makefile ($(objpfx)globtest.out): Replace
26102 $(run-via-rtld-prefix) and $(test-wrapper) with
26103 $(test-program-prefix) and $(test-via-rtld-prefix).
26104 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26105 $(test-program-prefix).
26106 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26107 $(host-test-program-cmd).
26108 (tst-spawn-ARGS): Likewise.
26109 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26110 $(test-program-prefix).
26111 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26112 (test_via_rtld_prefix): This.
26113 (test_wrapper): Renamed to ...
26114 (test_program_prefix): This.
26115 (run_program_prefix): Replaced by test_program_prefix.
26116 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26117 (test_program_prefix): This.
26118 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26119 with $(host-test-program-cmd).
26120 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26121 $(run-program-prefix) with $(test-program-prefix).
26122 ($(objpfx)tst-printf.out): Likewise.
26123 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26124 $(test-program-cmd).
26125 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26126 (test_program_prefix): This.
26127 * stdio-common/tst-unbputc.sh: Likewise.
26128 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26129 $(run-program-prefix) with $(test-program-prefix).
26130 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26131 (test_program_prefix): This.
26132 * string/Makefile ($(objpfx)tst-svc.out): Replace
26133 $(built-program-cmd) with $(test-program-cmd).
26135 2013-01-11 Andreas Jaeger <aj@suse.de>
26138 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26139 value. Sync with Linux 3.7.
26141 2013-01-10 David S. Miller <davem@davemloft.net>
26143 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26144 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26145 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26147 2013-01-10 Roland McGrath <roland@hack.frob.com>
26149 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26151 * configure: Regenerated.
26153 2013-01-10 David S. Miller <davem@davemloft.net>
26155 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26156 sparc V9 rather than using V8 code.
26157 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26158 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26160 2013-01-10 Roland McGrath <roland@hack.frob.com>
26162 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26163 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26164 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26165 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26166 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26167 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26168 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26169 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26170 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26171 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26172 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26173 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26174 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26175 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26176 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26177 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26178 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26179 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26180 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26181 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26182 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26183 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26184 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26185 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26186 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26187 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26188 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26190 2013-01-10 David S. Miller <davem@davemloft.net>
26192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26194 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26196 * posix/Makefile (tests-static): New variable.
26197 (tests): Add $(tests-static).
26198 (tst-exec-static-ARGS): New variable.
26199 (tst-spawn-static-ARGS): Likewise.
26200 * posix/tst-exec-static.c: New file.
26201 * posix/tst-spawn-static.c: Likewise.
26202 * posix/tst-exec.c: Support run directly.
26203 * posix/tst-spawn.c: Likewise.
26205 2013-01-10 Joseph Myers <joseph@codesourcery.com>
26207 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26209 * math/bits/mathcalls.h (llrint): Likewise.
26210 (llround): Likewise.
26211 * stdlib/stdlib.h (struct drand48_data): Likewise.
26212 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26213 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26214 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26216 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26218 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26219 (elf_greg_t): Likewise.
26220 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26221 (__jmp_buf): Likewise.
26222 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26224 (llrint): Likewise, for all definitions.
26225 (llrintl): Likewise.
26227 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26228 Remove [__GNUC__] condition.
26229 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26230 condition to just [__USE_ISOC99].
26231 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26233 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26236 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26237 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26239 (_POSIX_V6_ILP32_OFF32): Likewise.
26240 (_XBS5_ILP32_OFF32): Likewise.
26241 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26242 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26244 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26246 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26248 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26249 doubles __mpexp_twomm1. Adjust usage.
26250 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26253 2013-01-10 Andreas Schwab <schwab@suse.de>
26256 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26257 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26259 2013-01-09 David S. Miller <davem@davemloft.net>
26262 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26263 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26264 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26265 (TCP_FASTOPEN): Define.
26266 (tcp_repair_opt): New structure.
26267 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26269 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26270 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26271 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26272 (tcp_cookie_transactions): New structure.
26274 2013-01-09 Anton Blanchard <anton@samba.org>
26276 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26277 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26278 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26279 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26281 2013-01-09 Joseph Myers <joseph@codesourcery.com>
26283 * include/features.h (__USE_ANSI): Remove.
26285 2013-01-09 Roland McGrath <roland@hack.frob.com>
26287 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26289 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26291 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26293 * sysdeps/s390/fpu/libm-test-ulps: Update.
26295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26297 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26301 (denorm): Likewise.
26302 (__mp_dbl): Likewise.
26303 (__dbl_mp): Likewise.
26304 (add_magnitudes): Likewise.
26305 (sub_magnitudes): Likewise.
26311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26315 (denorm): Likewise.
26316 (__mp_dbl): Likewise.
26317 (__dbl_mp): Likewise.
26318 (add_magnitudes): Likewise.
26319 (sub_magnitudes): Likewise.
26325 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26329 (denorm): Likewise.
26330 (__mp_dbl): Likewise.
26331 (__dbl_mp): Likewise.
26332 (add_magnitudes): Likewise.
26333 (sub_magnitudes): Likewise.
26340 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26342 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26343 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26344 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26345 2 && __USE_EXTERN_INLINES]: Likewise.
26347 2013-01-08 Andreas Jaeger <aj@suse.de>
26350 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26352 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26353 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26355 2013-01-07 Anton Blanchard <anton@samba.org>
26357 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26358 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26359 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26360 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26361 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26362 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26363 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26364 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26366 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26367 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26368 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26369 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26370 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26371 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26372 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26373 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26374 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26375 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26376 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26377 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26378 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26379 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26380 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26381 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26382 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26383 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26384 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26385 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26386 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26387 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26389 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26390 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26391 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26392 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26393 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26394 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26395 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26396 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26397 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26398 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26399 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26401 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26403 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26404 (__MALLOC_PMT): Likewise.
26405 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26406 [__GNUC__], only on [_LIBC].
26407 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26408 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26409 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26410 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26411 forward declaration.
26412 (realloc_hook_ini): Likewise.
26413 (memalign_hook_ini): Likewise.
26414 (__libc_memalign): Do not use __MALLOC_PMT in variable
26416 (__libc_valloc): Likewise.
26417 (__libc_pvalloc): Likewise.
26418 (__libc_calloc): Likewise.
26419 (__posix_memalign): Likewise.
26422 * math/s_casinh.c: Include <float.h>.
26423 (__casinh): Do not do computation with squaring and square root
26424 for large arguments.
26425 * math/s_casinhf.c: Include <float.h>.
26426 (__casinhf): Do not do computation with squaring and square root
26427 for large arguments.
26428 * math/s_casinhl.c: Include <float.h>.
26429 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26430 (__casinhl): Do not do computation with squaring and square root
26431 for large arguments.
26432 * math/libm-test.inc (casin_test): Add more tests.
26433 (casinh_test): Likewise.
26434 * sysdeps/i386/fpu/libm-test-ulps: Update.
26435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26437 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26439 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26440 (__x86_64_raw_data_cache_size): Likewise.
26441 (__x86_64_data_cache_size_half): Likewise.
26442 (__x86_64_raw_data_cache_size_half): Likewise.
26443 (__x86_64_shared_cache_size): Likewise.
26444 (__x86_64_raw_shared_cache_size): Likewise.
26445 (__x86_64_shared_cache_size_half): Likewise.
26446 (__x86_64_raw_shared_cache_size_half): Likewise.
26447 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26449 (__x86_data_cache_size): This.
26450 (__x86_64_raw_data_cache_size): Renamed to ...
26451 (__x86_raw_data_cache_size): This.
26452 (__x86_64_data_cache_size_half): Renamed to ...
26453 (__x86_data_cache_size_half): This.
26454 (__x86_64_raw_data_cache_size_half): Renamed to ...
26455 (__x86_raw_data_cache_size_half): This.
26456 (__x86_64_shared_cache_size): Renamed to ...
26457 (__x86_shared_cache_size): This.
26458 (__x86_64_raw_shared_cache_size): Renamed to ...
26459 (__x86_raw_shared_cache_size): This.
26460 (__x86_64_shared_cache_size_half): Renamed to ...
26461 (__x86_shared_cache_size_half): This.
26462 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26463 (__x86_raw_shared_cache_size_half): This.
26464 * sysdeps/x86_64/memcpy.S: Updated.
26465 * sysdeps/x86_64/memset.S: Likewise.
26466 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26467 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26468 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26470 2013-01-04 David S. Miller <davem@davemloft.net>
26472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26474 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26476 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26477 1 to avoid redefinition warning.
26478 (__USE_GNU): Don't define.
26479 (init_signaling_nan): Protoize.
26481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26483 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26485 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26487 (__cpymn): Likewise.
26488 (norm): Remove commented code.
26489 (denorm): Likewise.
26490 (__mp_dbl): Likewise.
26492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26493 (__cpymn): Likewise.
26494 (norm): Remove commented code.
26495 (denorm): Likewise.
26496 (__mp_dbl): Likewise.
26499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26500 mp_no value for 1.0 and 2.0.
26501 (norm): Use RADIXI instead of radixi.d.
26502 (denorm): Likewise.
26503 (__mul): Use 0.0 instead of zero.d.
26504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26505 mp_no value for 1.0 and 2.0.
26506 (norm): Use RADIXI instead of radixi.d.
26507 (denorm): Likewise.
26508 (__mul): Use 0.0 instead of zero.d.
26510 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26513 * math/s_casinh.c (__casinh): Reduce finite argument to first
26514 quadrant then set signs of results at the end.
26515 * math/s_casinhf.c (__casinhf): Likewise.
26516 * math/s_casinhl.c (__casinhl): Likewise.
26517 * math/libm-test.inc (casin_test): Add more tests.
26518 (casinh_test): Likewise.
26519 * sysdeps/i386/fpu/libm-test-ulps: Update.
26520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26522 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26524 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26526 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26528 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26530 (denorm): Likewise.
26531 (__mp_dbl): Likewise.
26534 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26535 and adjust the header comment.
26537 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26538 variable name from declaration.
26540 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26543 Initialize COMMON_CPUID_INDEX_7 element.
26544 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26545 (CPUID_RTM): Likewise.
26546 (HAS_RTM): Likewise.
26547 (COMMON_CPUID_INDEX_7): New enum.
26549 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26552 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26553 size is zero, record memory as freed.
26555 2013-01-03 Andreas Jaeger <aj@suse.de>
26557 * po/ia.po: Add new Interlingua translation.
26559 2012-01-03 Allan McRae <allan@archlinux.org>
26561 * locale/programs/localedef.c: Fix description of '--posix' flag.
26563 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26565 * NEWS: Update dates in second copyright notice.
26566 * README: Update copyright dates in example.
26567 * manual/libc.texinfo: Update copyright dates.
26568 * scripts/test-installation.pl: Update copyright date in --version
26571 * hurd/ctty-input.c: Fix copyright notice formatting.
26572 * hurd/ctty-output.c: Likewise.
26573 * hurd/dtable.c: Likewise.
26574 * hurd/hurd-raise.c: Likewise.
26575 * hurd/hurdprio.c: Likewise.
26576 * hurd/msgportdemux.c: Likewise.
26577 * misc/sys/file.h: Likewise.
26578 * misc/sys/ioctl.h: Likewise.
26579 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26580 * sysdeps/mach/hurd/chdir.c: Likewise.
26581 * sysdeps/mach/hurd/fchdir.c: Likewise.
26582 * sysdeps/mach/hurd/rename.c: Likewise.
26583 * sysdeps/mach/hurd/rmdir.c: Likewise.
26584 * sysdeps/mach/hurd/seekdir.c: Likewise.
26585 * sysdeps/mach/hurd/setsid.c: Likewise.
26586 * sysdeps/posix/wait3.c: Likewise.
26588 * All files with FSF copyright notices: Update copyright dates
26589 using scripts/update-copyrights.
26590 * intl/plural.c: Regenerated.
26591 * locale/programs/charmap-kw.h: Likewise.
26592 * locale/programs/locfile-kw.h: Likewise.
26594 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26596 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26599 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26600 calculation loop and add branch prediction.
26602 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26603 check access beyond bounds of m1np.
26605 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26607 (__inv): Remove local variable MPTWO to use the global
26609 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26610 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26612 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26613 MP3HALFS static const.
26615 2013-01-01 David S. Miller <davem@davemloft.net>
26617 * po/ca.po: Update from translation team.
26619 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26621 * scripts/update-copyrights: New file.
26622 * Makeconfig: Reformat copyright notice.
26623 * ctype/ctype.h: Likewise.
26624 * debug/swprintf_chk.c: Likewise.
26625 * elf/dl-cache.c: Likewise.
26626 * elf/dl-debug.c: Likewise.
26627 * elf/dl-object.c: Likewise.
26628 * grp/initgroups.c: Likewise.
26629 * hurd/Makefile: Likewise.
26630 * hurd/hurd/signal.h: Likewise.
26631 * hurd/hurdfault.c: Likewise.
26632 * hurd/hurdioctl.c: Likewise.
26633 * hurd/hurdlookup.c: Likewise.
26634 * hurd/intr-msg.c: Likewise.
26635 * iconv/gconv_open.c: Likewise.
26636 * libio/swprintf.c: Likewise.
26637 * locale/lc-ctype.c: Likewise.
26638 * locale/nl_langinfo.c: Likewise.
26639 * mach/Machrules: Likewise.
26640 * mach/Makefile: Likewise.
26641 * malloc/obstack.h: Likewise.
26642 * manual/Makefile: Likewise.
26643 * manual/tsort.awk: Likewise.
26644 * misc/bits/stab.def: Likewise.
26645 * nis/nis_print_group_entry.c: Likewise.
26646 * nis/nis_table.c: Likewise.
26647 * nis/nss_compat/compat-pwd.c: Likewise.
26648 * nis/nss_compat/compat-spwd.c: Likewise.
26649 * po/Makefile: Likewise.
26650 * posix/fnmatch.c: Likewise.
26651 * posix/regex.h: Likewise.
26652 * resolv/Makefile: Likewise.
26653 * resolv/nss_dns/dns-network.c: Likewise.
26654 * resolv/res_hconf.c: Likewise.
26655 * scripts/gen-sorted.awk: Likewise.
26656 * soft-fp/soft-fp.h: Likewise.
26657 * stdio-common/printf.h: Likewise.
26658 * stdlib/monetary.h: Likewise.
26659 * stdlib/random.c: Likewise.
26660 * stdlib/random_r.c: Likewise.
26661 * sysdeps/generic/Makefile: Likewise.
26662 * sysdeps/gnu/Makefile: Likewise.
26663 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26664 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26665 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26666 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26667 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26668 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26669 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26670 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26671 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26672 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26673 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26674 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26675 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26676 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26677 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26678 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26679 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26680 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26681 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26682 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26683 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26684 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26685 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26686 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26687 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26688 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26689 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26690 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26691 * sysdeps/mach/hurd/errnos.awk: Likewise.
26692 * sysdeps/mach/hurd/fork.c: Likewise.
26693 * sysdeps/mach/hurd/getcwd.c: Likewise.
26694 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26695 * sysdeps/mach/hurd/mmap.c: Likewise.
26696 * sysdeps/mach/hurd/utimes.c: Likewise.
26697 * sysdeps/mach/hurd/xmknod.c: Likewise.
26698 * sysdeps/posix/profil.c: Likewise.
26699 * sysdeps/posix/readdir_r.c: Likewise.
26700 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26701 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26702 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26703 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26705 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26706 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26707 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26708 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26709 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26710 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26711 * sysdeps/pthread/lio_listio.c: Likewise.
26712 * sysdeps/sparc/dl-procinfo.h: Likewise.
26713 * sysdeps/unix/i386/sysdep.S: Likewise.
26714 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26715 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26716 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26717 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26719 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26720 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26721 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26722 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26723 * sysdeps/wordsize-32/divdi3.c: Likewise.
26724 * time/sys/time.h: Likewise.
26725 * wcsmbs/Makefile: Likewise.
26727 2013-01-01 David S. Miller <davem@davemloft.net>
26729 * po/fr.po: Update from translation team.
26731 * catgets/gencat.c: Update copyright year.
26732 * csu/version.c: Likewise.
26733 * debug/catchsegv.sh: Likewise.
26734 * debug/pcprofiledump.c: Likewise.
26735 * debug/xtrace.sh: Likewise.
26736 * elf/ldconfig.c: Likewise.
26737 * elf/ldd.bash.in: Likewise.
26738 * elf/pldd.c: Likewise.
26739 * elf/sotruss.ksh: Likewise.
26740 * elf/sprof.c: Likewise.
26741 * iconv/iconv_prog.c: Likewise.
26742 * iconv/iconvconfig.c: Likewise.
26743 * locale/programs/locale.c: Likewise.
26744 * locale/programs/localedef.c: Likewise.
26745 * login/programs/pt_chown.c: Likewise.
26746 * malloc/memusage.sh: Likewise.
26747 * malloc/memusagestat.c: Likewise.
26748 * malloc/mtrace.pl: Likewise.
26749 * nscd/nscd.c: Likewise.
26750 * nss/getent.c: Likewise.
26751 * nss/makedb.c: Likewise.
26752 * posix/getconf.c: Likewise.
26754 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26756 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26759 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26761 * math/bits/mathcalls.h (modf): Use __nonnull.
26763 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26765 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26766 (split): Use macro CN instead of the bare value.
26767 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26769 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26770 instead of the bare value.
26771 (power1): Likewise.
26773 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26775 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26777 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26779 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26781 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26782 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26783 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26784 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26786 2012-12-28 Andreas Jaeger <aj@suse.de>
26788 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26789 values are from Linux 3.7.
26791 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26792 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26794 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26796 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26799 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26801 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26802 variables with preprocessor constants.
26803 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26804 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26805 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26807 2012-12-27 Bruno Haible <bruno@clisp.org>
26810 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26813 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26815 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26816 and use variable directly.
26817 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26819 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26821 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26822 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26824 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26825 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26826 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26827 include directive. Remove local variable MPONE.
26828 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26829 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26830 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26832 2012-12-25 David S. Miller <davem@davemloft.net>
26834 * version.h (RELEASE): Set to "development".
26835 (VERSION): Set to "2.17.90".
26836 * NEWS: Add 2.18 section.
26838 2012-12-21 David S. Miller <davem@davemloft.net>
26840 * po/hr.po: Update from translation team.
26842 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26844 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26846 2012-12-19 Steve Ellcey <sellcey@mips.com>
26848 * NEWS: Mention new memcpy for MIPS.
26850 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26852 * manual/contrib.texi (Contributors): Spelling correction.
26854 2012-12-15 David S. Miller <davem@davemloft.net>
26856 * po/ru.po: Update from translation team.
26858 2012-12-13 David S. Miller <davem@davemloft.net>
26860 * NEWS: Mention IFUNC testsuite enhancements.
26862 * po/pl.po: Update from translation team.
26863 * po/bg.po: Likewise.
26865 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26866 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26868 2012-12-11 David S. Miller <davem@davemloft.net>
26870 * po/sv.po: Update from translation team.
26872 * po/vi.po: Update from translation team.
26874 * po/cs.po: Update from translation team.
26876 * po/de.po: Update from translation team.
26877 * po/eo.po: Likewise.
26878 * po/nl.po: Likewise.
26880 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26883 * manual/argp.texi (Argp Helper Functions): Move node to follow
26884 Argp Parsing State.
26887 * manual/conf.texi (Limits on File System Capacity): Mention if
26888 terminating null is included in the max size.
26890 2012-12-10 Andreas Jaeger <aj@suse.de>
26892 * po/cs.po: Update from translation team.
26894 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26896 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26897 void pointer and cast to uintptr_t.
26898 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26900 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26901 * sysdeps/s390/s390-64/memset.S: Likewise.
26903 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26906 * menual/message.texi (Message Translation): Fix typos.
26907 (Helper programs for gettext): Likewise.
26909 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26912 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26915 2012-12-07 David S. Miller <davem@davemloft.net>
26917 * po/libc.pot: Update.
26919 2012-12-07 Richard Henderson <rth@redhat.com>
26922 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26923 normal/normal case to before the switch.
26924 (_FP_DIV): Likewise.
26926 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26927 Mike Frysinger <vapier@gentoo.org>
26929 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26930 check for __NR_fadvise64_64.
26932 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26934 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26935 0, not just to plain "0" as a statement.
26936 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26939 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26941 * NEWS: Use sourceware.org in Bugzilla URL.
26943 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26946 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26948 * stdio-common/tst-put-error.c (do_test): Add newline to the
26949 padded test to ensure flush.
26951 2012-12-05 Jeff Law <law@redhat.com>
26953 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26955 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26957 * README: Don't refer to ports add-on as distributed separately.
26958 Mention AArch64 in list of systems supported in the ports add-on.
26960 * LICENSES: Add more non-FSF copyright and license notices.
26962 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26965 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26967 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26968 10000 as width of padded output.
26970 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26972 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26974 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26975 variable LX with __attribute__ ((unused)).
26976 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26978 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26979 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26980 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26981 with __attribute__ ((unused)).
26983 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26985 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26987 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26989 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26990 (CFLAGS-nldbl-acos.c): New variable.
26991 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26992 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26993 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26994 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26995 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26996 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26997 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26998 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26999 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27000 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27001 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27002 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27003 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27004 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27005 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27006 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27007 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27008 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27009 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27010 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27011 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27012 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27013 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27014 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27015 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27016 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27017 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27018 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27019 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27020 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27021 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27022 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27023 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27024 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27025 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27026 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27027 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27028 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27029 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27030 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27031 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27032 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27033 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27034 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27035 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27036 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27037 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27038 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27039 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27040 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27041 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27042 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27043 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27044 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27045 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27046 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27047 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27048 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27049 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27050 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27051 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27052 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27053 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27054 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27055 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27056 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27057 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27058 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27059 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27060 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27061 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27062 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27063 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27064 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27065 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27066 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27067 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27068 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27069 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27070 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27071 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27072 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27073 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27074 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27075 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27076 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27077 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27078 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27079 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27080 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27081 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27082 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27083 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27084 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27085 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27086 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27087 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27090 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27093 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27094 whole low double instead of just low 47 bits when splitting values
27097 2012-12-03 Allan McRae <allan@archlinux.org>
27099 * manual/stdio.texi (Predefined Printf Handlers): Remove
27100 @hsep and @vsep usage.
27102 2012-12-03 Mike Frysinger <vapier@gentoo.org>
27104 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27105 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27107 2012-12-03 Jeff Law <law@redhat.com>
27109 * time/sys/time.h (settimeofday): Do not mark TV argument
27112 2012-12-01 Mike Frysinger <vapier@gentoo.org>
27114 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27115 when currently writing and seek to current position when not.
27116 * libio/Makefile (tests): Remove bug-fclose1.
27117 * libio/bug-fclose1.c: Delete.
27119 2012-12-01 Joseph Myers <joseph@codesourcery.com>
27121 * manual/arith.texi (feenableexcept): Fix typo.
27122 (fedisableexcept): Likewise.
27124 2012-11-30 Roland McGrath <roland@hack.frob.com>
27126 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27127 second, differently-typed declaration, rather than a cast.
27129 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27131 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27132 * include/rpc/svc.h: ... here.
27134 2012-11-30 Aurelien Jarno <aurel32@debian.org>
27137 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27138 depending n and resplen2 to catch cases where answer
27141 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27143 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27144 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27146 2012-11-29 Mike Frysinger <vapier@gentoo.org>
27148 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27150 2012-11-29 Roland McGrath <roland@hack.frob.com>
27152 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27154 2012-11-28 Jeff Law <law@redhat.com>
27157 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27158 dataset_temporary. Track alloca usage into alloca_used.
27159 If dataset is large allocate and release it via malloc/free.
27161 2012-06-04 Florian Weimer <fweimer@redhat.com>
27164 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27166 2012-11-28 David S. Miller <davem@davemloft.net>
27168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27170 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27173 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27174 of pi/2 rounded to nearest to 64 bits.
27175 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27176 nearest to 64 bits.
27177 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27180 2012-11-28 Jeff Law <law@redhat.com>
27181 Martin Osvald <mosvald@redhat.com>
27184 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27185 * sunrpc/svc.c: Include time.h.
27186 (__svc_accept_failed): New function.
27187 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27188 any reason other than EINTR, call __svc_accept_failed.
27189 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27190 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27192 2012-11-28 Andreas Schwab <schwab@suse.de>
27194 * scripts/abilist.awk: Also handle indirect functions in .opd
27197 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27200 * sysdeps/x86/fpu/powl_helper.c: New file.
27201 * sysdeps/x86/fpu/Makefile: Likewise.
27202 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27204 (__ieee754_powl): Use __powl_helper for finite arguments except
27205 integer exponents below 8.
27206 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27208 (__ieee754_powl): Use __powl_helper for finite arguments except
27209 integer exponents below 8.
27210 * math/libm-test.inc (pow_test): Add more tests and enable some
27211 previously disabled tests.
27212 * sysdeps/i386/fpu/libm-test-ulps: Update.
27213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27215 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27216 Carlos O'Donell <carlos_odonell@mentor.com>
27218 * nss/makedb.c (is_prime): Assert that input is odd and greater
27219 than 4. Note that fact in a comment too.
27220 (next_prime): Add 4 to input.
27222 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27225 * libio/Makefile (tests): Add test case tst-fwrite-error.
27226 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27227 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27228 * libio/tst-fwrite-error.c: New test case.
27230 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27232 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27233 before casting to void *.
27234 * include/libc-internal.h (__pointer_type): New macro.
27235 (__integer_if_pointer_type_sub): Likewise.
27236 (__integer_if_pointer_type): Likewise.
27237 (cast_to_integer): Likewise.
27238 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27239 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27240 before casting to atomic64_t.
27241 (atomic_exchange_acq): Likewise.
27242 (__arch_exchange_and_add_body): Likewise.
27243 (__arch_add_body): Likewise.
27244 (atomic_add_negative): Likewise.
27245 (atomic_add_zero): Likewise.
27247 2012-11-26 Joseph Myers <joseph@codesourcery.com>
27249 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27250 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27251 (add_fdes): Likewise.
27252 (linear_search_fdes): Likewise.
27253 (binary_search_unencoded_fdes): Likewise.
27255 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27257 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27259 2012-11-24 Adam Conrad <adconrad@0c3.net>
27261 * configure.in: Autodetect C++ header directories.
27262 * configure: Regenerated.
27264 2012-11-23 Mike Frysinger <vapier@gentoo.org>
27266 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27268 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27272 2012-11-22 Joseph Myers <joseph@codesourcery.com>
27274 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27275 LDBL_MANT_DIG == 106]: Disable some tests.
27276 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27278 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27282 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27283 input for small inputs. Return +/- pi/2 for large inputs.
27284 * math/libm-test.inc (atan_test): Add more tests.
27286 * sysdeps/generic/unwind-dw2-fde-glibc.c
27287 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27288 __attribute__ ((unused)).
27291 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27292 x * y if x and y are nonzero and z is zero.
27295 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27296 nonzero exponents with absolute value below 0x1p-117 to +/-
27300 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27301 up arguments below 2**-450, not just those below 2**-500.
27302 * math/libm-test.inc (hypot_test): Add another test.
27305 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27306 Return a+b for ratio over 2**120, not 2**60.
27307 * math/libm-test.inc (hypot_test): Add another test.
27309 * math/libm-test.inc (clog_test): Use
27310 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27311 (clog10_test): Likewise.
27314 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27316 2012-11-22 Andreas Schwab <schwab@suse.de>
27318 * sysdeps/i386/fpu/libm-test-ulps: Update.
27320 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27322 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27323 printf output with newline.
27325 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27328 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27329 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27330 -z nodlopen, -z initfirst and -z execstack support.
27331 * configure: Regenerated.
27333 * elf/elf.h (DF_1_NODIRECT): New macro.
27334 (DF_1_IGNMULDEF): Likewise.
27335 (DF_1_NOKSYMS): Likewise.
27336 (DF_1_NOHDR): Likewise.
27337 (DF_1_EDITED): Likewise.
27338 (DF_1_NORELOC): Likewise.
27339 (DF_1_SYMINTPOSE): Likewise.
27340 (DF_1_GLOBAUDIT): Likewise.
27341 (DF_1_SINGLETON): Likewise.
27342 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27343 DT_1_SUPPORTED_MASK bits.
27344 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27346 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27348 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27350 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27352 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27355 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27356 (sendmmsg): Move declarations...
27357 * socket/sys/socket.h: ... here.
27358 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27359 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27361 * socket/recvmmsg.c: ... this new file.
27362 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27363 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27364 definition of __sendmmsg hidden.
27365 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27366 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27367 Move ENOSYS stub into and include it from...
27368 * socket/sendmmsg.c: ... this new file.
27369 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27370 (sysdep_routines): Move recvmmsg and sendmmsg...
27371 * socket/Makefile (routines): ... here.
27372 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27373 (GLIBC_PRIVATE): Add __sendmmsg.
27374 * include/sys/socket.h (__sendmmsg): Add declarations.
27375 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27378 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27380 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27381 variable I1 with __attribute__ ((unused)).
27382 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27384 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27386 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27387 DUMMY variables with __attribute__ ((unused)).
27389 * bits/byteswap.h: Include <bits/types.h>.
27390 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27392 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27394 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27395 string_t. Do not manually set errno.
27396 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27397 length with __strnlen. Make sure to both set errno and return it on
27400 2012-11-19 David S. Miller <davem@davemloft.net>
27402 With help from Joseph Myers.
27403 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27404 very large arguments properly.
27405 * math/libm-test.inc (atan_test): New tests.
27406 (atan2_test): New tests.
27407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27410 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27413 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27416 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27417 [POSIX] (EADDRNOTAVAIL): Likewise.
27418 [POSIX] (EAFNOSUPPORT): Likewise.
27419 [POSIX] (EALREADY): Likewise.
27420 [POSIX] (ECONNABORTED): Likewise.
27421 [POSIX] (ECONNREFUSED): Likewise.
27422 [POSIX] (ECONNRESET): Likewise.
27423 [POSIX] (EDESTADDRREQ): Likewise.
27424 [POSIX] (EDQUOT): Likewise.
27425 [POSIX] (EHOSTUNREACH): Likewise.
27426 [POSIX] (EIDRM): Likewise.
27427 [POSIX] (EISCONN): Likewise.
27428 [POSIX] (ELOOP): Likewise.
27429 [POSIX] (EMULTIHOP): Likewise.
27430 [POSIX] (ENETDOWN): Likewise.
27431 [POSIX] (ENETUNREACH): Likewise.
27432 [POSIX] (ENOBUFS): Likewise.
27433 [POSIX] (ENODATA): Likewise.
27434 [POSIX] (ENOLINK): Likewise.
27435 [POSIX] (ENOMSG): Likewise.
27436 [POSIX] (ENOPROTOOPT): Likewise.
27437 [POSIX] (ENOSR): Likewise.
27438 [POSIX] (ENOSTR): Likewise.
27439 [POSIX] (ENOTCONN): Likewise.
27440 [POSIX] (ENOTSOCK): Likewise.
27441 [POSIX] (EOPNOTSUPP): Likewise.
27442 [POSIX] (EOVERFLOW): Likewise.
27443 [POSIX] (EPROTO): Likewise.
27444 [POSIX] (EPROTONOSUPPORT): Likewise.
27445 [POSIX] (EPROTOTYPE): Likewise.
27446 [POSIX] (ESTALE): Likewise.
27447 [POSIX] (ETIME): Likewise.
27448 [POSIX] (ETXTBSY): Likewise.
27449 [POSIX] (EWOULDBLOCK): Likewise.
27450 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27451 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27452 [POSIX] (SEEK_CUR): Likewise.
27453 [POSIX] (SEEK_END): Likewise.
27454 [POSIX || UNIX98] (mode_t): Do not require.
27455 [POSIX] (off_t): Likewise.
27456 [POSIX] (pid_t): Likewise.
27457 [POSIX] (sys/stat.h): Do not allow header.
27458 [POSIX] (unistd.h): Likewise.
27459 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27460 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27461 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27462 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27464 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27465 sigevent): Specify elements.
27466 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27468 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27469 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27471 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27472 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27473 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27474 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27475 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27476 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27477 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27478 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27479 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27480 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27481 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27482 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27483 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27484 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27486 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27488 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27490 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27492 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27493 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27494 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27495 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27496 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27497 Specify lower bound on value.
27498 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27499 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27500 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27501 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27502 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27503 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27504 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27505 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27507 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27509 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27510 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27511 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27512 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27513 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27514 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27515 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27516 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27517 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27518 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27519 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27520 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27521 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27522 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27523 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27524 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27526 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27528 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27529 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27530 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27531 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27532 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27533 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27535 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27536 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27537 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27538 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27539 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27540 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27541 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27543 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27544 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27545 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27546 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27547 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27548 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27549 specify as optional.
27550 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27551 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27552 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27553 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27554 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27555 [XPG3] (NL_LANGMAX): Likewise.
27556 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27557 [POSIX || XPG3] (NL_NMAX): Likewise.
27558 [POSIX || XPG3] (NL_SETMAX): Likewise.
27559 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27560 [XPG3] (NZERO): Likewise.
27561 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27562 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27563 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27564 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27565 (REG_ERANGE): Expect.
27566 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27568 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27569 Use (void) in prototype.
27570 [POSIX] (*_t): Allow.
27571 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27572 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27573 (WRDE_BADVAL): Expect.
27575 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27577 [XPG3 || XPG4] (O_RSYNC): Likewise.
27578 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27580 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27581 [XPG3 || XPG4] (sigqueue): Likewise.
27582 [XPG3 || XPG4] (sigtimedwait): Likewise.
27583 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27584 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27585 [XPG3 || XPG4] (vsnprintf): Likewise.
27586 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27588 [XPG3 || XPG4] (blksize_t): Likewise.
27589 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27591 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27592 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27593 [XPG3 || XPG4] (struct itimerspec): Likewise.
27594 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27595 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27596 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27597 [XPG3 || XPG4] (clockid_t): Likewise.
27598 [XPG3 || XPG4] (timer_t): Likewise.
27599 [XPG3 || XPG4] (clock_getres): Likewise.
27600 [XPG3 || XPG4] (clock_gettime): Likewise.
27601 [XPG3 || XPG4] (clock_settime): Likewise.
27602 [XPG3 || XPG4] (nanosleep): Likewise.
27603 [XPG3 || XPG4] (timer_create): Likewise.
27604 [XPG3 || XPG4] (timer_delete): Likewise.
27605 [XPG3 || XPG4] (timer_gettime): Likewise.
27606 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27607 [XPG3 || XPG4] (timer_settime): Likewise.
27608 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27609 [XPG3 || XPG4] (getlogin_r): Likewise.
27610 [XPG3 || XPG4] (pread): Likewise.
27611 [XPG3 || XPG4] (pthread_atfork): Likewise.
27612 [XPG3 || XPG4] (pwrite): Likewise.
27615 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27618 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27620 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27621 finalizing MALLSTREAM.
27623 * sysdeps/mach/hurd/syncfs.c: New file.
27625 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27628 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27629 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27630 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27631 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27632 (_nss_dns_gethostbyname4_r): Likewise.
27633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27634 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27636 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27639 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27641 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27643 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27644 * elf/cache.c (print_entry): Print ",AArch64" for
27647 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27648 * elf/cache.c (print_entry): Print ",hard-float" for
27651 2012-11-18 David S. Miller <davem@davemloft.net>
27653 With help from Joseph Myers.
27654 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27656 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27658 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27659 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27661 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27662 * math/libm-test.inc (y0_test): New tests.
27663 (y1_test): New tests.
27664 * sysdeps/i386/fpu/libm-test-ulps: Update.
27665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27668 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27670 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27672 * configure: Regenerated.
27674 2012-11-17 David S. Miller <davem@davemloft.net>
27677 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27678 nonzero exponents with absolute value below 0x1p-128 to +/-
27681 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27683 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27685 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27687 * posix/getconf-speclist.c: New file.
27688 * posix/posix-envs.def: Likewise.
27689 * posix/confstr.c (START_ENV_GROUP): New macro.
27690 (END_ENV_GROUP): Likewise.
27691 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27692 (KNOWN_PRESENT_ENV_STRING): Likewise.
27693 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27694 (UNKNOWN_ENVIRONMENT): Likewise.
27695 (confstr): Include posix-envs.def instead of handling
27696 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27697 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27698 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27699 (END_ENV_GROUP): Likewise.
27700 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27701 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27702 (UNKNOWN_ENVIRONMENT): Likewise.
27703 (__sysconf): Include posix-envs.def instead of handling associated
27704 cases directly here.
27705 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27706 preprocessing getconf-speclist.c rather than running getconf or
27707 generating empty file.
27709 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27711 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27713 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27716 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27718 2012-11-16 David S. Miller <davem@davemloft.net>
27720 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27721 smaller than LDBL_EPSILON/2.0L, just return xm1.
27723 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27725 * elf/tst-array1.c (init): Set constructor priority to 1000.
27726 (fini): Set destructor priority to 1000.
27727 * elf/tst-array2dep.c: Likewise.
27729 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27732 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27733 (_IO_new_file_xsputn): Also return EOF if none of the input
27734 data was written when overflow failed.
27735 * libio/iopadn.c (_IO_padn): Likewise.
27736 * libio/iowpadn.c (_IO_wpadn): Likewise.
27737 * stdio-common/tst-put-error.c: Add copyright notice.
27738 (do_test): Add case for printing padded string.
27739 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27740 _IO_padn returned error.
27741 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27742 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27745 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27747 * libio/libioP.h: Add comment note that the references to C++
27748 bits are now obsolete.
27750 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27752 * math/libm-test.inc (check_complex): Use asprintf.
27754 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27756 * debug/pcprofiledump.c (print_version): Update copyright year.
27757 * malloc/memusagestat.c (print_version): Likewise.
27759 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27762 * elf/Makefile (tests): Add tst-audit8.
27763 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27764 ($(objpfx)tst-audit8.out): New target.
27765 (tst-audit8-ENV): New variable.
27766 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27767 audit if l_reloc_result is NULL.
27768 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27769 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27770 * elf/tst-audit8.c: New file.
27772 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27774 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27775 * misc/Makefile (CFLAGS-select.c): Define.
27776 * posix/Makefile (CFLAGS-pause.c): Define.
27778 2012-11-13 David S. Miller <davem@davemloft.net>
27780 * crypt/Makefile: Move test targets after toplevel Rules
27781 inclusion. Grab any necessary sysdep routines when linking.
27782 * crypt/md5.c (md5_process_block): Remove define, we will always
27783 name it __md5_process_block.
27784 (md5_finish_ctx): Update md5_process_block call.
27785 (md5_stream): Likewise.
27786 (md5_process_bytes): Likewise.
27787 (md5_process_block): Rename to __md5_process_block and move to ...
27788 * crypt/md5-block.c: ... here.
27789 * crypt/sha256.c (sha256_process_block): Move to ...
27790 * crypt/sha256-block.c: ... here.
27791 * crypt/sha512.c (sha512_process_block): Move to ...
27792 * crypt/sha512-block.c: ... here.
27793 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27795 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27796 * sysdeps/sparc/sparc64/multiarch/Makefile
27797 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27799 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27800 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27802 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27803 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27804 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27805 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27806 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27807 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27808 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27809 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27810 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27812 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27813 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27815 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27817 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27819 * timezone/tzselect.ksh: Update from tzcode git revision
27820 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27821 * timezone/zdump.c: Likewise.
27822 * timezone/zic.c: Likewise.
27823 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27824 in TZVERSION setting, not $(PKGVERSION).
27825 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27826 REPORT_BUGS_TO settings.
27829 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27832 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27834 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27835 detection to immediately after _FP_ROUND().
27836 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27839 2012-11-11 David S. Miller <davem@davemloft.net>
27841 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27843 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27844 __close rather than their public counterparts.
27846 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27848 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27850 [UNIX98] (sem_timedwait): Do not expect.
27851 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27852 [XPG4 || UNIX98] (sockatmark): Do not expect.
27853 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27854 (clock_getcpuclockid): Do not expect.
27855 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27856 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27858 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27859 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27860 [UNIX98] (vwscanf): Likewise.
27861 [UNIX98] (vswscanf): Likewise.
27863 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27865 * timezone/version.h: Remove file.
27866 * timezone/README: Do not refer to version.h.
27867 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27868 $(objpfx)version.h.
27869 ($(objpfx)zdump.o): Likewise.
27870 ($(objpfx)version.h): New target.
27872 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27874 * timezone/README: Don't mention modification to tzselect.ksh.
27875 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27876 work on unmodified tzselect.ksh. Substitute version numbers in
27879 * Makefile (format-me): Remove.
27880 (INSTALL): Adjust indentation. Use commands directly instead of
27881 using $(format-me).
27883 * aclocal.m4 (ACX_PKGVERSION): New macro.
27884 (ACX_BUGURL): Likewise.
27885 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27886 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27887 (REPORT_BUGS_TO): Likewise.
27888 * configure: Regenerated.
27889 * config.h.in (PKGVERSION): New macro.
27890 (REPORT_BUGS_TO): Likewise.
27891 * config.make.in (PKGVERSION): New variable.
27892 (PKGVERSION_TEXI): Likewise.
27893 (REPORT_BUGS_TO): Likewise.
27894 (REPORT_BUGS_TEXI): Likewise.
27895 * Makefile (format-me): Use -I$(common-objpfx)manual.
27896 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27897 ($(common-objpfx)manual/%): New target.
27898 (manual/%): Remove target.
27899 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27900 (print_version): Use PKGVERSION.
27901 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27902 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27903 and REPORT_BUGS_TO.
27904 ($(objpfx)xtrace): Likewise.
27905 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27906 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27907 (print_version): Use PKGVERSION.
27908 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27909 (do_version): Use PKGVERSION.
27910 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27912 (common-ldd-rewrite): Likewise.
27913 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27914 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27915 (print_version): Use PKGVERSION.
27916 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27917 * elf/pldd.c (argp_program_bug_address): Remove variable.
27918 (more_help): New function.
27919 (argp): Use more_help.
27920 (print_version): Use PKGVERSION.
27921 * elf/sln.c (main): Use PKGVERSION.
27922 (usage): Use REPORT_BUGS_TO.
27923 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27924 (top level): Use PKGVERSION.
27925 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27926 (print_version): Use PKGVERSION.
27927 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27928 (print_version): Use PKGVERSION.
27929 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27930 (print_version): Use PKGVERSION.
27931 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27932 (print_version): Use PKGVERSION.
27933 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27934 (print_version): Use PKGVERSION.
27935 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27936 (print_version): Use PKGVERSION.
27937 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27939 ($(objpfx)memusage): Likewise.
27940 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27941 (do_version): Use PKGVERSION.
27942 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27943 (print_version): Use PKGVERSION.
27944 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27945 ($PKGVERSION): New variable.
27946 ($REPORT_BUGS_TO): Likewise.
27947 (usage): Use $REPORT_BUGS_TO.
27948 (top level): Use $PKGVERSION.
27949 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27950 ($(objpfx)pkgvers.texi): New rule.
27951 ($(objpfx)stamp-pkgvers): Likewise.
27952 * manual/install.texi: Include pkgvers.texi.
27953 (--with-pkgversion): Document new configure option.
27954 (--with-bugurl): Likewise.
27955 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27956 than necessarily for this particular distribution. Use
27957 REPORT_BUGS_TO for where to report bugs.
27958 * INSTALL: Regenerated.
27959 * manual/libc.texinfo: Include pkgvers.texi.
27960 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27961 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27962 (print_version): Use PKGVERSION.
27963 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27964 (print_version): Use PKGVERSION.
27965 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27966 (print_version): Use PKGVERSION.
27967 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27968 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27970 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27971 (print_version): Use PKGVERSION.
27972 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27973 (print_version): Use PKGVERSION.
27974 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27977 * timezone/checktab.awk: Update from tzcode 2012i.
27978 * timezone/ialloc.c: Likewise.
27979 * timezone/private.h: Likewise.
27980 * timezone/scheck.c: Likewise.
27981 * timezone/tzfile.h: Likewise.
27982 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27983 (TZVERSION): Hardcode tzcode version number.
27984 * timezone/zdump.c: Update from tzcode 2012i.
27985 * timezone/zic.c: Likewise.
27986 * timezone/version.h: New file.
27987 * timezone/README: Describe version.h. Update upstream location.
27990 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27991 (mktemp): Enable declaration.
27992 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27993 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27994 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27995 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27997 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27999 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28001 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28003 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28005 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28009 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28010 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28011 for copies of such integer values.
28012 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28013 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28015 2012-11-09 Andreas Jaeger <aj@suse.de>
28017 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28018 definitions and declarations that are provided by
28019 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28021 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28023 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28024 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28025 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28028 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28030 * elf/elf.h: Update comment before AArch64 relocations.
28032 2012-11-07 David S. Miller <davem@davemloft.net>
28034 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28035 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28036 (__start_context): Declare.
28037 (__makecontext_ret): Delete.
28038 (__makecontext): Hook up __start_context instead of
28040 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28041 (sysdep_routines): Add __start_context when in stdlib.
28043 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28045 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28046 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28047 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28049 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28050 (READELF): New variable. Use it instead of hardcoded "readelf".
28052 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28054 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28055 * sysdeps/x86/Makefile: Here.
28056 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28057 * sysdeps/x86/tst-xmmymm.sh: This.
28059 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28061 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28063 [UNIX98] (pthread_barrier_t): Do not expect.
28064 [UNIX98] (pthread_barrierattr_t): Likewise.
28065 [UNIX98] (pthread_spinlock_t): Likewise.
28066 [UNIX98] (pthread_barrier_destroy): Likewise.
28067 [UNIX98] (pthread_barrier_init): Likewise.
28068 [UNIX98] (pthread_barrier_wait): Likewise.
28069 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28070 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28071 [UNIX98] (pthread_barrierattr_init): Likewise.
28072 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28073 [UNIX98] (pthread_getcpuclockid): Likewise.
28074 [UNIX98] (pthread_mutex_timedlock): Likewise.
28075 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28076 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28077 [UNIX98] (pthread_sigmask): Likewise.
28078 [UNIX98] (pthread_spin_destroy): Likewise.
28079 [UNIX98] (pthread_spin_init): Likewise.
28080 [UNIX98] (pthread_spin_lock): Likewise.
28081 [UNIX98] (pthread_spin_trylock): Likewise.
28082 [UNIX98] (pthread_spin_unlock): Likewise.
28083 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28085 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28086 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28087 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28088 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28089 [XPG3 || XPG4] (pthread_key_t): Likewise.
28090 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28091 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28092 [XPG3 || XPG4] (pthread_once_t): Likewise.
28093 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28094 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28095 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28096 [XPG3 || XPG4] (pthread_t): Likewise.
28098 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28100 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28102 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28103 Change function return type to int.
28105 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28106 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28107 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28108 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28109 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28110 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28111 [!POSIX] (posix_madvise): Likewise.
28112 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28114 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28115 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28116 (mode_t): Likewise.
28117 (posix_mem_offset): Likewise.
28118 (posix_typed_mem_get_info): Likewise.
28119 (posix_typed_mem_open): Likewise.
28121 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28122 Change condition to [XOPEN2K8].
28124 * conform/conformtest.pl: Preprocess allow-header data with -x c
28125 instead of from stdin.
28126 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28127 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28128 [C99-based standards] (cerfc): Likewise.
28129 [C99-based standards] (cexp2): Likewise.
28130 [C99-based standards] (cexpm1): Likewise.
28131 [C99-based standards] (clog10): Likewise.
28132 [C99-based standards] (clog1p): Likewise.
28133 [C99-based standards] (clog2): Likewise.
28134 [C99-based standards] (clgamma): Likewise.
28135 [C99-based standards] (ctgamma): Likewise.
28136 [C99-based standards] (cerff): Likewise.
28137 [C99-based standards] (cerfcf): Likewise.
28138 [C99-based standards] (cexp2f): Likewise.
28139 [C99-based standards] (cexpm1f): Likewise.
28140 [C99-based standards] (clog10f): Likewise.
28141 [C99-based standards] (clog1pf): Likewise.
28142 [C99-based standards] (clog2f): Likewise.
28143 [C99-based standards] (clgammaf): Likewise.
28144 [C99-based standards] (ctgammaf): Likewise.
28145 [C99-based standards] (cerfl): Likewise.
28146 [C99-based standards] (cerfcl): Likewise.
28147 [C99-based standards] (cexp2l): Likewise.
28148 [C99-based standards] (cexpm1l): Likewise.
28149 [C99-based standards] (clog10l): Likewise.
28150 [C99-based standards] (clog1pl): Likewise.
28151 [C99-based standards] (clog2l): Likewise.
28152 [C99-based standards] (clgammal): Likewise.
28153 [C99-based standards] (ctgammal): Likewise.
28154 * conform/data/inttypes.h-data [C99-based standards]: Include
28155 stdint.h-data. Remove all expectations for stdint.h contents.
28156 [C99-based standards] (PRI*): Do not allow.
28157 [C99-based standards] (SCN*): Likewise.
28158 [C99-based standards] (*_t): Likewise.
28159 [C99-based-standards] (PRId8): Expect macro.
28160 [C99-based-standards] (PRIi8): Likewise.
28161 [C99-based-standards] (PRIo8): Likewise.
28162 [C99-based-standards] (PRIu8): Likewise.
28163 [C99-based-standards] (PRIx8): Likewise.
28164 [C99-based-standards] (PRIX8): Likewise.
28165 [C99-based-standards] (SCNd8): Likewise.
28166 [C99-based-standards] (SCNi8): Likewise.
28167 [C99-based-standards] (SCNo8): Likewise.
28168 [C99-based-standards] (SCNu8): Likewise.
28169 [C99-based-standards] (SCNx8): Likewise.
28170 [C99-based-standards] (PRIdLEAST8): Likewise.
28171 [C99-based-standards] (PRIiLEAST8): Likewise.
28172 [C99-based-standards] (PRIoLEAST8): Likewise.
28173 [C99-based-standards] (PRIuLEAST8): Likewise.
28174 [C99-based-standards] (PRIxLEAST8): Likewise.
28175 [C99-based-standards] (PRIXLEAST8): Likewise.
28176 [C99-based-standards] (SCNdLEAST8): Likewise.
28177 [C99-based-standards] (SCNiLEAST8): Likewise.
28178 [C99-based-standards] (SCNoLEAST8): Likewise.
28179 [C99-based-standards] (SCNuLEAST8): Likewise.
28180 [C99-based-standards] (SCNxLEAST8): Likewise.
28181 [C99-based-standards] (PRIdFAST8): Likewise.
28182 [C99-based-standards] (PRIiFAST8): Likewise.
28183 [C99-based-standards] (PRIoFAST8): Likewise.
28184 [C99-based-standards] (PRIuFAST8): Likewise.
28185 [C99-based-standards] (PRIxFAST8): Likewise.
28186 [C99-based-standards] (PRIXFAST8): Likewise.
28187 [C99-based-standards] (SCNdFAST8): Likewise.
28188 [C99-based-standards] (SCNiFAST8): Likewise.
28189 [C99-based-standards] (SCNoFAST8): Likewise.
28190 [C99-based-standards] (SCNuFAST8): Likewise.
28191 [C99-based-standards] (SCNxFAST8): Likewise.
28192 [C99-based-standards] (PRId16): Likewise.
28193 [C99-based-standards] (PRIi16): Likewise.
28194 [C99-based-standards] (PRIo16): Likewise.
28195 [C99-based-standards] (PRIu16): Likewise.
28196 [C99-based-standards] (PRIx16): Likewise.
28197 [C99-based-standards] (PRIX16): Likewise.
28198 [C99-based-standards] (SCNd16): Likewise.
28199 [C99-based-standards] (SCNi16): Likewise.
28200 [C99-based-standards] (SCNo16): Likewise.
28201 [C99-based-standards] (SCNu16): Likewise.
28202 [C99-based-standards] (SCNx16): Likewise.
28203 [C99-based-standards] (PRIdLEAST16): Likewise.
28204 [C99-based-standards] (PRIiLEAST16): Likewise.
28205 [C99-based-standards] (PRIoLEAST16): Likewise.
28206 [C99-based-standards] (PRIuLEAST16): Likewise.
28207 [C99-based-standards] (PRIxLEAST16): Likewise.
28208 [C99-based-standards] (PRIXLEAST16): Likewise.
28209 [C99-based-standards] (SCNdLEAST16): Likewise.
28210 [C99-based-standards] (SCNiLEAST16): Likewise.
28211 [C99-based-standards] (SCNoLEAST16): Likewise.
28212 [C99-based-standards] (SCNuLEAST16): Likewise.
28213 [C99-based-standards] (SCNxLEAST16): Likewise.
28214 [C99-based-standards] (PRIdFAST16): Likewise.
28215 [C99-based-standards] (PRIiFAST16): Likewise.
28216 [C99-based-standards] (PRIoFAST16): Likewise.
28217 [C99-based-standards] (PRIuFAST16): Likewise.
28218 [C99-based-standards] (PRIxFAST16): Likewise.
28219 [C99-based-standards] (PRIXFAST16): Likewise.
28220 [C99-based-standards] (SCNdFAST16): Likewise.
28221 [C99-based-standards] (SCNiFAST16): Likewise.
28222 [C99-based-standards] (SCNoFAST16): Likewise.
28223 [C99-based-standards] (SCNuFAST16): Likewise.
28224 [C99-based-standards] (SCNxFAST16): Likewise.
28225 [C99-based-standards] (PRId32): Likewise.
28226 [C99-based-standards] (PRIi32): Likewise.
28227 [C99-based-standards] (PRIo32): Likewise.
28228 [C99-based-standards] (PRIu32): Likewise.
28229 [C99-based-standards] (PRIx32): Likewise.
28230 [C99-based-standards] (PRIX32): Likewise.
28231 [C99-based-standards] (SCNd32): Likewise.
28232 [C99-based-standards] (SCNi32): Likewise.
28233 [C99-based-standards] (SCNo32): Likewise.
28234 [C99-based-standards] (SCNu32): Likewise.
28235 [C99-based-standards] (SCNx32): Likewise.
28236 [C99-based-standards] (PRIdLEAST32): Likewise.
28237 [C99-based-standards] (PRIiLEAST32): Likewise.
28238 [C99-based-standards] (PRIoLEAST32): Likewise.
28239 [C99-based-standards] (PRIuLEAST32): Likewise.
28240 [C99-based-standards] (PRIxLEAST32): Likewise.
28241 [C99-based-standards] (PRIXLEAST32): Likewise.
28242 [C99-based-standards] (SCNdLEAST32): Likewise.
28243 [C99-based-standards] (SCNiLEAST32): Likewise.
28244 [C99-based-standards] (SCNoLEAST32): Likewise.
28245 [C99-based-standards] (SCNuLEAST32): Likewise.
28246 [C99-based-standards] (SCNxLEAST32): Likewise.
28247 [C99-based-standards] (PRIdFAST32): Likewise.
28248 [C99-based-standards] (PRIiFAST32): Likewise.
28249 [C99-based-standards] (PRIoFAST32): Likewise.
28250 [C99-based-standards] (PRIuFAST32): Likewise.
28251 [C99-based-standards] (PRIxFAST32): Likewise.
28252 [C99-based-standards] (PRIXFAST32): Likewise.
28253 [C99-based-standards] (SCNdFAST32): Likewise.
28254 [C99-based-standards] (SCNiFAST32): Likewise.
28255 [C99-based-standards] (SCNoFAST32): Likewise.
28256 [C99-based-standards] (SCNuFAST32): Likewise.
28257 [C99-based-standards] (SCNxFAST32): Likewise.
28258 [C99-based-standards] (PRId64): Likewise.
28259 [C99-based-standards] (PRIi64): Likewise.
28260 [C99-based-standards] (PRIo64): Likewise.
28261 [C99-based-standards] (PRIu64): Likewise.
28262 [C99-based-standards] (PRIx64): Likewise.
28263 [C99-based-standards] (PRIX64): Likewise.
28264 [C99-based-standards] (SCNd64): Likewise.
28265 [C99-based-standards] (SCNi64): Likewise.
28266 [C99-based-standards] (SCNo64): Likewise.
28267 [C99-based-standards] (SCNu64): Likewise.
28268 [C99-based-standards] (SCNx64): Likewise.
28269 [C99-based-standards] (PRIdLEAST64): Likewise.
28270 [C99-based-standards] (PRIiLEAST64): Likewise.
28271 [C99-based-standards] (PRIoLEAST64): Likewise.
28272 [C99-based-standards] (PRIuLEAST64): Likewise.
28273 [C99-based-standards] (PRIxLEAST64): Likewise.
28274 [C99-based-standards] (PRIXLEAST64): Likewise.
28275 [C99-based-standards] (SCNdLEAST64): Likewise.
28276 [C99-based-standards] (SCNiLEAST64): Likewise.
28277 [C99-based-standards] (SCNoLEAST64): Likewise.
28278 [C99-based-standards] (SCNuLEAST64): Likewise.
28279 [C99-based-standards] (SCNxLEAST64): Likewise.
28280 [C99-based-standards] (PRIdFAST64): Likewise.
28281 [C99-based-standards] (PRIiFAST64): Likewise.
28282 [C99-based-standards] (PRIoFAST64): Likewise.
28283 [C99-based-standards] (PRIuFAST64): Likewise.
28284 [C99-based-standards] (PRIxFAST64): Likewise.
28285 [C99-based-standards] (PRIXFAST64): Likewise.
28286 [C99-based-standards] (SCNdFAST64): Likewise.
28287 [C99-based-standards] (SCNiFAST64): Likewise.
28288 [C99-based-standards] (SCNoFAST64): Likewise.
28289 [C99-based-standards] (SCNuFAST64): Likewise.
28290 [C99-based-standards] (SCNxFAST64): Likewise.
28291 [C99-based-standards] (PRIdMAX): Likewise.
28292 [C99-based-standards] (PRIiMAX): Likewise.
28293 [C99-based-standards] (PRIoMAX): Likewise.
28294 [C99-based-standards] (PRIuMAX): Likewise.
28295 [C99-based-standards] (PRIxMAX): Likewise.
28296 [C99-based-standards] (PRIXMAX): Likewise.
28297 [C99-based-standards] (SCNdMAX): Likewise.
28298 [C99-based-standards] (SCNiMAX): Likewise.
28299 [C99-based-standards] (SCNoMAX): Likewise.
28300 [C99-based-standards] (SCNuMAX): Likewise.
28301 [C99-based-standards] (SCNxMAX): Likewise.
28302 [C99-based-standards] (PRIdPTR): Likewise.
28303 [C99-based-standards] (PRIiPTR): Likewise.
28304 [C99-based-standards] (PRIoPTR): Likewise.
28305 [C99-based-standards] (PRIuPTR): Likewise.
28306 [C99-based-standards] (PRIxPTR): Likewise.
28307 [C99-based-standards] (PRIXPTR): Likewise.
28308 [C99-based-standards] (SCNdPTR): Likewise.
28309 [C99-based-standards] (SCNiPTR): Likewise.
28310 [C99-based-standards] (SCNoPTR): Likewise.
28311 [C99-based-standards] (SCNuPTR): Likewise.
28312 [C99-based-standards] (SCNxPTR): Likewise.
28313 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28315 * conform/data/stdint.h-data: Update comments to clarify
28317 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28319 [C99-based standards] (INT8_MAX): Likewise.
28320 [C99-based standards] (INT16_MIN): Likewise.
28321 [C99-based standards] (INT16_MAX): Likewise.
28322 [C99-based standards] (INT32_MIN): Likewise.
28323 [C99-based standards] (INT32_MAX): Likewise.
28324 [C99-based standards] (INT64_MIN): Likewise.
28325 [C99-based standards] (INT64_MAX): Likewise.
28326 [C99-based standards] (UINT8_MAX): Likewise.
28327 [C99-based standards] (UINT16_MAX): Likewise.
28328 [C99-based standards] (UINT32_MAX): Likewise.
28329 [C99-based standards] (UINT64_MAX): Likewise.
28330 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28331 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28332 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28333 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28334 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28335 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28336 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28337 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28338 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28339 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28340 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28341 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28342 [C99-based standards] (INT_FAST8_MIN): Likewise.
28343 [C99-based standards] (INT_FAST8_MAX): Likewise.
28344 [C99-based standards] (INT_FAST16_MIN): Likewise.
28345 [C99-based standards] (INT_FAST16_MAX): Likewise.
28346 [C99-based standards] (INT_FAST32_MIN): Likewise.
28347 [C99-based standards] (INT_FAST32_MAX): Likewise.
28348 [C99-based standards] (INT_FAST64_MIN): Likewise.
28349 [C99-based standards] (INT_FAST64_MAX): Likewise.
28350 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28351 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28352 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28353 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28354 [C99-based standards] (INTPTR_MIN): Likewise.
28355 [C99-based standards] (INTPTR_MAX): Likewise.
28356 [C99-based standards] (UINTPTR_MAX): Likewise.
28357 [C99-based standards] (INTMAX_MIN): Likewise.
28358 [C99-based standards] (INTMAX_MAX): Likewise.
28359 [C99-based standards] (UINTMAX_MAX): Likewise.
28360 [C99-based standards] (PTRDIFF_MIN): Likewise.
28361 [C99-based standards] (PTRDIFF_MAX): Likewise.
28362 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28363 [C99-based standards] (SIZE_MAX): Likewise.
28364 [C99-based standards] (WCHAR_MAX): Likewise.
28365 [C99-based standards] (WINT_MAX): Likewise.
28366 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28367 constraint on value.
28368 [C99-based standards] (WCHAR_MIN): Likewise.
28369 [C99-based standards] (WINT_MIN): Likewise.
28370 [C99-based standards] (*_t): Allow.
28371 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28372 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28373 Include math.h-data and complex.h-data. Remove all expectations
28374 of math.h and complex.h contents.
28375 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28377 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28378 (struct tm): Expect tag.
28379 [C99-based-standards] (wcstof): Expect function.
28380 [C99-based-standards] (wcstold): Likewise.
28381 [C99-based-standards] (wcstoll): Likewise.
28382 [C99-based-standards] (wcstoull): Likewise.
28383 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28384 macro-int-constant. Specify type.
28385 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28386 constraint on value.
28387 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28389 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28391 [ISO C standards]: Do not allow headers.
28392 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28393 wcs[abcdefghijklmnopqrstuvwxyz]*.
28394 [ISO C standards] (*_t): Do not allow.
28395 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28397 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28398 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28400 [ISO C standards]: Do not allow headers.
28401 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28402 is[abcdefghijklmnopqrstuvwxyz]*.
28403 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28404 to[abcdefghijklmnopqrstuvwxyz]*.
28405 [ISO C standards] (*_t): Do not allow.
28406 * conform/data/stdalign.h-data: New file.
28407 * conform/data/stdbool.h-data: Likewise.
28408 * conform/data/stdnoreturn.h-data: Likewise.
28410 2012-11-07 Roland McGrath <roland@hack.frob.com>
28413 * manual/filesys.texi (Directory Entries): Typo fix.
28414 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28416 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28418 * elf/elf.h (EM_AARCH64): New macro.
28419 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28420 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28421 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28422 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28423 (R_AARCH64_TLSDESC): Likewise.
28424 (NT_ARM_TLS): Likewise.
28425 (NT_ARM_HW_BREAK): Likewise.
28426 (NT_ARM_HW_WATCH): Likewise.
28428 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28431 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28432 (__ieee754_powl): Saturate nonzero exponents with absolute value
28433 below 0x1p-79 to +/- 0x1p-79.
28434 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28435 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28436 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28437 nonzero exponents with absolute value below 0x1p-32 to +/-
28439 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28440 (__ieee754_powl): Saturate nonzero exponents with absolute value
28441 below 0x1p-79 to +/- 0x1p-79.
28442 * math/libm-test.inc (pow_test): Add more tests.
28444 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28446 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28447 _dl_s390_cap_flags with kernel. Increase string length.
28448 (_dl_s390_platforms): Add z196 and zEC12.
28450 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28452 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28453 Change XOPEN21K to XOPEN2K.
28455 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28457 * string/memmove.c: Use memcpy when possible.
28459 2012-11-06 Andreas Jaeger <aj@suse.de>
28461 * po/eo.po: Update from translation team.
28463 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28466 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28467 exponent and small x and y exponents, scale x or y up. Increase
28468 by 2 the exponent used in scaling up.
28469 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28470 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28471 * math/libm-test.inc (fma_test): Add more tests.
28472 (fma_test_towardzero): Likewise.
28473 (fma_test_downward): Likewise.
28474 (fma_test_upward): Likewise.
28476 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28479 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28483 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28484 namespace for names of struct fields.
28485 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28487 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28488 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28490 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28493 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28495 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28497 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28501 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28504 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28507 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28508 definitely overflow as x * y not x * y + z.
28509 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28510 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28511 * math/libm-test.inc (fma_test): Add more tests.
28512 (fma_test_towardzero): Likewise.
28513 (fma_test_downward): Likewise.
28514 (fma_test_upward): Likewise.
28516 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28520 * include/stub-tag.h: Remove file.
28521 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28523 * manual/maint.texi (Porting): Don't reference it.
28524 * Makerules ($(objpfx)stubs): Likewise.
28525 * dirent/closedir.c: Don't include <stub-tag.h>.
28526 * dirent/dirfd.c: Likewise.
28527 * dirent/fdopendir.c: Likewise.
28528 * dirent/getdents.c: Likewise.
28529 * dirent/getdents64.c: Likewise.
28530 * dirent/opendir.c: Likewise.
28531 * dirent/readdir.c: Likewise.
28532 * dirent/readdir64.c: Likewise.
28533 * dirent/readdir64_r.c: Likewise.
28534 * dirent/readdir_r.c: Likewise.
28535 * dirent/rewinddir.c: Likewise.
28536 * dirent/seekdir.c: Likewise.
28537 * dirent/telldir.c: Likewise.
28538 * gmon/profil.c: Likewise.
28539 * grp/setgroups.c: Likewise.
28540 * inet/if_index.c: Likewise.
28541 * io/access.c: Likewise.
28542 * io/chdir.c: Likewise.
28543 * io/chmod.c: Likewise.
28544 * io/chown.c: Likewise.
28545 * io/close.c: Likewise.
28546 * io/dup.c: Likewise.
28547 * io/dup2.c: Likewise.
28548 * io/dup3.c: Likewise.
28549 * io/euidaccess.c: Likewise.
28550 * io/faccessat.c: Likewise.
28551 * io/fchdir.c: Likewise.
28552 * io/fchmod.c: Likewise.
28553 * io/fchmodat.c: Likewise.
28554 * io/fchown.c: Likewise.
28555 * io/fchownat.c: Likewise.
28556 * io/fcntl.c: Likewise.
28557 * io/flock.c: Likewise.
28558 * io/fstatfs.c: Likewise.
28559 * io/fstatfs64.c: Likewise.
28560 * io/fstatvfs.c: Likewise.
28561 * io/fstatvfs64.c: Likewise.
28562 * io/futimens.c: Likewise.
28563 * io/fxstat.c: Likewise.
28564 * io/fxstat64.c: Likewise.
28565 * io/fxstatat.c: Likewise.
28566 * io/fxstatat64.c: Likewise.
28567 * io/getcwd.c: Likewise.
28568 * io/isatty.c: Likewise.
28569 * io/lchmod.c: Likewise.
28570 * io/lchown.c: Likewise.
28571 * io/link.c: Likewise.
28572 * io/linkat.c: Likewise.
28573 * io/lseek.c: Likewise.
28574 * io/lseek64.c: Likewise.
28575 * io/lxstat64.c: Likewise.
28576 * io/mkdir.c: Likewise.
28577 * io/mkdirat.c: Likewise.
28578 * io/mkfifo.c: Likewise.
28579 * io/mkfifoat.c: Likewise.
28580 * io/open.c: Likewise.
28581 * io/open64.c: Likewise.
28582 * io/openat.c: Likewise.
28583 * io/openat64.c: Likewise.
28584 * io/pipe.c: Likewise.
28585 * io/pipe2.c: Likewise.
28586 * io/poll.c: Likewise.
28587 * io/posix_fadvise.c: Likewise.
28588 * io/posix_fadvise64.c: Likewise.
28589 * io/posix_fallocate.c: Likewise.
28590 * io/posix_fallocate64.c: Likewise.
28591 * io/read.c: Likewise.
28592 * io/readlink.c: Likewise.
28593 * io/readlinkat.c: Likewise.
28594 * io/rmdir.c: Likewise.
28595 * io/sendfile.c: Likewise.
28596 * io/sendfile64.c: Likewise.
28597 * io/statfs.c: Likewise.
28598 * io/statfs64.c: Likewise.
28599 * io/statvfs.c: Likewise.
28600 * io/statvfs64.c: Likewise.
28601 * io/symlink.c: Likewise.
28602 * io/symlinkat.c: Likewise.
28603 * io/ttyname.c: Likewise.
28604 * io/ttyname_r.c: Likewise.
28605 * io/umask.c: Likewise.
28606 * io/unlink.c: Likewise.
28607 * io/unlinkat.c: Likewise.
28608 * io/utime.c: Likewise.
28609 * io/utimensat.c: Likewise.
28610 * io/write.c: Likewise.
28611 * io/xmknod.c: Likewise.
28612 * io/xmknodat.c: Likewise.
28613 * io/xstat.c: Likewise.
28614 * io/xstat64.c: Likewise.
28615 * login/getpt.c: Likewise.
28616 * login/grantpt.c: Likewise.
28617 * login/unlockpt.c: Likewise.
28618 * math/e_acoshl.c: Likewise.
28619 * math/e_acosl.c: Likewise.
28620 * math/e_asinl.c: Likewise.
28621 * math/e_atan2l.c: Likewise.
28622 * math/e_atanhl.c: Likewise.
28623 * math/e_coshl.c: Likewise.
28624 * math/e_expl.c: Likewise.
28625 * math/e_fmodl.c: Likewise.
28626 * math/e_gammal_r.c: Likewise.
28627 * math/e_hypotl.c: Likewise.
28628 * math/e_j0l.c: Likewise.
28629 * math/e_j1l.c: Likewise.
28630 * math/e_jnl.c: Likewise.
28631 * math/e_lgammal_r.c: Likewise.
28632 * math/e_log10l.c: Likewise.
28633 * math/e_log2l.c: Likewise.
28634 * math/e_logl.c: Likewise.
28635 * math/e_powl.c: Likewise.
28636 * math/e_rem_pio2l.c: Likewise.
28637 * math/e_sinhl.c: Likewise.
28638 * math/e_sqrtl.c: Likewise.
28639 * math/fclrexcpt.c: Likewise.
28640 * math/fedisblxcpt.c: Likewise.
28641 * math/feenablxcpt.c: Likewise.
28642 * math/fegetenv.c: Likewise.
28643 * math/fegetexcept.c: Likewise.
28644 * math/fegetround.c: Likewise.
28645 * math/feholdexcpt.c: Likewise.
28646 * math/fesetenv.c: Likewise.
28647 * math/fesetround.c: Likewise.
28648 * math/feupdateenv.c: Likewise.
28649 * math/fgetexcptflg.c: Likewise.
28650 * math/fraiseexcpt.c: Likewise.
28651 * math/fsetexcptflg.c: Likewise.
28652 * math/ftestexcept.c: Likewise.
28653 * math/k_cosl.c: Likewise.
28654 * math/k_rem_pio2l.c: Likewise.
28655 * math/k_sinl.c: Likewise.
28656 * math/k_tanl.c: Likewise.
28657 * math/s_asinhl.c: Likewise.
28658 * math/s_atanl.c: Likewise.
28659 * math/s_cbrtl.c: Likewise.
28660 * math/s_erfl.c: Likewise.
28661 * math/s_expm1l.c: Likewise.
28662 * math/s_log1pl.c: Likewise.
28663 * math/s_tanhl.c: Likewise.
28664 * misc/acct.c: Likewise.
28665 * misc/brk.c: Likewise.
28666 * misc/chflags.c: Likewise.
28667 * misc/chroot.c: Likewise.
28668 * misc/fchflags.c: Likewise.
28669 * misc/fgetxattr.c: Likewise.
28670 * misc/flistxattr.c: Likewise.
28671 * misc/fremovexattr.c: Likewise.
28672 * misc/fsetxattr.c: Likewise.
28673 * misc/fsync.c: Likewise.
28674 * misc/ftruncate.c: Likewise.
28675 * misc/futimes.c: Likewise.
28676 * misc/futimesat.c: Likewise.
28677 * misc/getdomain.c: Likewise.
28678 * misc/getdtsz.c: Likewise.
28679 * misc/gethostid.c: Likewise.
28680 * misc/gethostname.c: Likewise.
28681 * misc/getloadavg.c: Likewise.
28682 * misc/getpagesize.c: Likewise.
28683 * misc/getsysstats.c: Likewise.
28684 * misc/getxattr.c: Likewise.
28685 * misc/gtty.c: Likewise.
28686 * misc/ioctl.c: Likewise.
28687 * misc/lgetxattr.c: Likewise.
28688 * misc/listxattr.c: Likewise.
28689 * misc/llistxattr.c: Likewise.
28690 * misc/lremovexattr.c: Likewise.
28691 * misc/lsetxattr.c: Likewise.
28692 * misc/lutimes.c: Likewise.
28693 * misc/madvise.c: Likewise.
28694 * misc/mincore.c: Likewise.
28695 * misc/mlock.c: Likewise.
28696 * misc/mlockall.c: Likewise.
28697 * misc/mmap.c: Likewise.
28698 * misc/mprotect.c: Likewise.
28699 * misc/msync.c: Likewise.
28700 * misc/munlock.c: Likewise.
28701 * misc/munlockall.c: Likewise.
28702 * misc/munmap.c: Likewise.
28703 * misc/preadv.c: Likewise.
28704 * misc/preadv64.c: Likewise.
28705 * misc/ptrace.c: Likewise.
28706 * misc/pwritev.c: Likewise.
28707 * misc/pwritev64.c: Likewise.
28708 * misc/readv.c: Likewise.
28709 * misc/reboot.c: Likewise.
28710 * misc/remap_file_pages.c: Likewise.
28711 * misc/removexattr.c: Likewise.
28712 * misc/revoke.c: Likewise.
28713 * misc/select.c: Likewise.
28714 * misc/setdomain.c: Likewise.
28715 * misc/setegid.c: Likewise.
28716 * misc/seteuid.c: Likewise.
28717 * misc/sethostid.c: Likewise.
28718 * misc/sethostname.c: Likewise.
28719 * misc/setregid.c: Likewise.
28720 * misc/setreuid.c: Likewise.
28721 * misc/setxattr.c: Likewise.
28722 * misc/sstk.c: Likewise.
28723 * misc/stty.c: Likewise.
28724 * misc/swapoff.c: Likewise.
28725 * misc/swapon.c: Likewise.
28726 * misc/sync.c: Likewise.
28727 * misc/syncfs.c: Likewise.
28728 * misc/syscall.c: Likewise.
28729 * misc/truncate.c: Likewise.
28730 * misc/ualarm.c: Likewise.
28731 * misc/usleep.c: Likewise.
28732 * misc/ustat.c: Likewise.
28733 * misc/utimes.c: Likewise.
28734 * misc/vhangup.c: Likewise.
28735 * misc/writev.c: Likewise.
28736 * posix/_exit.c: Likewise.
28737 * posix/alarm.c: Likewise.
28738 * posix/execve.c: Likewise.
28739 * posix/fexecve.c: Likewise.
28740 * posix/fork.c: Likewise.
28741 * posix/fpathconf.c: Likewise.
28742 * posix/getaddrinfo.c: Likewise.
28743 * posix/getegid.c: Likewise.
28744 * posix/geteuid.c: Likewise.
28745 * posix/getgid.c: Likewise.
28746 * posix/getgroups.c: Likewise.
28747 * posix/getlogin.c: Likewise.
28748 * posix/getlogin_r.c: Likewise.
28749 * posix/getpgid.c: Likewise.
28750 * posix/getpid.c: Likewise.
28751 * posix/getppid.c: Likewise.
28752 * posix/getresgid.c: Likewise.
28753 * posix/getresuid.c: Likewise.
28754 * posix/getsid.c: Likewise.
28755 * posix/getuid.c: Likewise.
28756 * posix/glob64.c: Likewise.
28757 * posix/nanosleep.c: Likewise.
28758 * posix/pathconf.c: Likewise.
28759 * posix/pause.c: Likewise.
28760 * posix/posix_madvise.c: Likewise.
28761 * posix/pread.c: Likewise.
28762 * posix/pread64.c: Likewise.
28763 * posix/pwrite.c: Likewise.
28764 * posix/pwrite64.c: Likewise.
28765 * posix/sched_getaffinity.c: Likewise.
28766 * posix/sched_getp.c: Likewise.
28767 * posix/sched_gets.c: Likewise.
28768 * posix/sched_primax.c: Likewise.
28769 * posix/sched_primin.c: Likewise.
28770 * posix/sched_rr_gi.c: Likewise.
28771 * posix/sched_setaffinity.c: Likewise.
28772 * posix/sched_setp.c: Likewise.
28773 * posix/sched_sets.c: Likewise.
28774 * posix/sched_yield.c: Likewise.
28775 * posix/setgid.c: Likewise.
28776 * posix/setlogin.c: Likewise.
28777 * posix/setpgid.c: Likewise.
28778 * posix/setresgid.c: Likewise.
28779 * posix/setresuid.c: Likewise.
28780 * posix/setsid.c: Likewise.
28781 * posix/setuid.c: Likewise.
28782 * posix/sleep.c: Likewise.
28783 * posix/spawni.c: Likewise.
28784 * posix/sysconf.c: Likewise.
28785 * posix/times.c: Likewise.
28786 * posix/wait.c: Likewise.
28787 * posix/wait3.c: Likewise.
28788 * posix/wait4.c: Likewise.
28789 * posix/waitpid.c: Likewise.
28790 * resolv/gai_sigqueue.c: Likewise.
28791 * resource/getpriority.c: Likewise.
28792 * resource/getrlimit.c: Likewise.
28793 * resource/getrusage.c: Likewise.
28794 * resource/nice.c: Likewise.
28795 * resource/setpriority.c: Likewise.
28796 * resource/setrlimit.c: Likewise.
28797 * resource/ulimit.c: Likewise.
28798 * rt/aio_cancel.c: Likewise.
28799 * rt/aio_fsync.c: Likewise.
28800 * rt/aio_read.c: Likewise.
28801 * rt/aio_sigqueue.c: Likewise.
28802 * rt/aio_suspend.c: Likewise.
28803 * rt/aio_write.c: Likewise.
28804 * rt/clock_getres.c: Likewise.
28805 * rt/clock_gettime.c: Likewise.
28806 * rt/clock_nanosleep.c: Likewise.
28807 * rt/clock_settime.c: Likewise.
28808 * rt/lio_listio.c: Likewise.
28809 * rt/mq_close.c: Likewise.
28810 * rt/mq_getattr.c: Likewise.
28811 * rt/mq_notify.c: Likewise.
28812 * rt/mq_open.c: Likewise.
28813 * rt/mq_receive.c: Likewise.
28814 * rt/mq_send.c: Likewise.
28815 * rt/mq_setattr.c: Likewise.
28816 * rt/mq_timedreceive.c: Likewise.
28817 * rt/mq_timedsend.c: Likewise.
28818 * rt/mq_unlink.c: Likewise.
28819 * rt/shm_open.c: Likewise.
28820 * rt/shm_unlink.c: Likewise.
28821 * rt/timer_create.c: Likewise.
28822 * rt/timer_delete.c: Likewise.
28823 * rt/timer_getoverr.c: Likewise.
28824 * rt/timer_gettime.c: Likewise.
28825 * rt/timer_settime.c: Likewise.
28826 * setjmp/__longjmp.c: Likewise.
28827 * setjmp/setjmp.c: Likewise.
28828 * signal/kill.c: Likewise.
28829 * signal/killpg.c: Likewise.
28830 * signal/raise.c: Likewise.
28831 * signal/sigaction.c: Likewise.
28832 * signal/sigaltstack.c: Likewise.
28833 * signal/sigblock.c: Likewise.
28834 * signal/sigignore.c: Likewise.
28835 * signal/sigintr.c: Likewise.
28836 * signal/signal.c: Likewise.
28837 * signal/sigpause.c: Likewise.
28838 * signal/sigpending.c: Likewise.
28839 * signal/sigqueue.c: Likewise.
28840 * signal/sigreturn.c: Likewise.
28841 * signal/sigset.c: Likewise.
28842 * signal/sigsetmask.c: Likewise.
28843 * signal/sigstack.c: Likewise.
28844 * signal/sigsuspend.c: Likewise.
28845 * signal/sigtimedwait.c: Likewise.
28846 * signal/sigvec.c: Likewise.
28847 * signal/sigwait.c: Likewise.
28848 * signal/sigwaitinfo.c: Likewise.
28849 * signal/sysv_signal.c: Likewise.
28850 * socket/accept.c: Likewise.
28851 * socket/accept4.c: Likewise.
28852 * socket/bind.c: Likewise.
28853 * socket/connect.c: Likewise.
28854 * socket/getpeername.c: Likewise.
28855 * socket/getsockname.c: Likewise.
28856 * socket/getsockopt.c: Likewise.
28857 * socket/isfdtype.c: Likewise.
28858 * socket/listen.c: Likewise.
28859 * socket/recv.c: Likewise.
28860 * socket/recvfrom.c: Likewise.
28861 * socket/recvmsg.c: Likewise.
28862 * socket/send.c: Likewise.
28863 * socket/sendmsg.c: Likewise.
28864 * socket/sendto.c: Likewise.
28865 * socket/setsockopt.c: Likewise.
28866 * socket/shutdown.c: Likewise.
28867 * socket/sockatmark.c: Likewise.
28868 * socket/socket.c: Likewise.
28869 * socket/socketpair.c: Likewise.
28870 * stdio-common/ctermid.c: Likewise.
28871 * stdio-common/cuserid.c: Likewise.
28872 * stdio-common/remove.c: Likewise.
28873 * stdio-common/rename.c: Likewise.
28874 * stdio-common/renameat.c: Likewise.
28875 * stdio-common/tempname.c: Likewise.
28876 * stdlib/getcontext.c: Likewise.
28877 * stdlib/makecontext.c: Likewise.
28878 * stdlib/setcontext.c: Likewise.
28879 * stdlib/swapcontext.c: Likewise.
28880 * stdlib/system.c: Likewise.
28881 * streams/fattach.c: Likewise.
28882 * streams/fdetach.c: Likewise.
28883 * streams/getmsg.c: Likewise.
28884 * streams/getpmsg.c: Likewise.
28885 * streams/putmsg.c: Likewise.
28886 * streams/putpmsg.c: Likewise.
28887 * sysdeps/unix/bsd/getpt.c: Likewise.
28888 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28889 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28890 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28893 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28894 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28895 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28896 * sysvipc/msgctl.c: Likewise.
28897 * sysvipc/msgget.c: Likewise.
28898 * sysvipc/msgrcv.c: Likewise.
28899 * sysvipc/msgsnd.c: Likewise.
28900 * sysvipc/semctl.c: Likewise.
28901 * sysvipc/semget.c: Likewise.
28902 * sysvipc/semop.c: Likewise.
28903 * sysvipc/semtimedop.c: Likewise.
28904 * sysvipc/shmat.c: Likewise.
28905 * sysvipc/shmctl.c: Likewise.
28906 * sysvipc/shmdt.c: Likewise.
28907 * sysvipc/shmget.c: Likewise.
28908 * termios/tcdrain.c: Likewise.
28909 * termios/tcflow.c: Likewise.
28910 * termios/tcflush.c: Likewise.
28911 * termios/tcgetattr.c: Likewise.
28912 * termios/tcgetpgrp.c: Likewise.
28913 * termios/tcsendbrk.c: Likewise.
28914 * termios/tcsetattr.c: Likewise.
28915 * termios/tcsetpgrp.c: Likewise.
28916 * time/adjtime.c: Likewise.
28917 * time/clock.c: Likewise.
28918 * time/getitimer.c: Likewise.
28919 * time/gettimeofday.c: Likewise.
28920 * time/setitimer.c: Likewise.
28921 * time/settimeofday.c: Likewise.
28922 * time/stime.c: Likewise.
28923 * time/time.c: Likewise.
28925 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28927 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28930 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28932 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28934 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28938 FE_TONEAREST before applying Dekker multiplication and Knuth
28939 addition. Clear inexact exceptions and check for exact zero
28940 results afterwards.
28941 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28942 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28943 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28944 * math/libm-test.inc (fma_test): Add more tests.
28945 (fma_test_towardzero): Likewise.
28946 (fma_test_downward): Likewise.
28947 (fma_test_upward): Likewise.
28948 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28950 (libc_fesetround): New macro.
28951 (libc_fesetroundf): Likewise.
28952 (libc_fesetroundl): Likewise.
28953 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28955 (libc_fesetround_387): Likewise.
28956 (libc_fesetroundf): New macro.
28957 (libc_fesetround): Likewise.
28958 (libc_fesetroundl): Likewise.
28959 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28961 (libc_fesetroundf): New macro.
28962 (libc_fesetround): Likewise.
28963 (libc_fesetroundl): Likewise.
28964 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28965 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28966 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28968 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28969 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28971 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28972 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28974 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28978 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28979 integer constant usable in #if and use that to give value to enum
28981 (FE_DIVBYZERO): Likewise.
28982 (FE_UNDERFLOW): Likewise.
28983 (FE_OVERFLOW): Likewise.
28984 (FE_INVALID): Likewise.
28985 (FE_INVALID_SNAN): Likewise.
28986 (FE_INVALID_ISI): Likewise.
28987 (FE_INVALID_IDI): Likewise.
28988 (FE_INVALID_ZDZ): Likewise.
28989 (FE_INVALID_IMZ): Likewise.
28990 (FE_INVALID_COMPARE): Likewise.
28991 (FE_INVALID_SOFTWARE): Likewise.
28992 (FE_INVALID_SQRT): Likewise.
28993 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28994 (FE_TONEAREST): Likewise.
28995 (FE_TOWARDZERO): Likewise.
28996 (FE_UPWARD): Likewise.
28997 (FE_DOWNWARD): Likewise.
28998 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28999 (FE_DIVBYZERO): Likewise.
29000 (FE_OVERFLOW): Likewise.
29001 (FE_UNDERFLOW): Likewise.
29002 (FE_INEXACT): Likewise.
29003 (FE_TONEAREST): Likewise.
29004 (FE_DOWNWARD): Likewise.
29005 (FE_UPWARD): Likewise.
29006 (FE_TOWARDZERO): Likewise.
29007 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29008 (FE_UNDERFLOW): Likewise.
29009 (FE_OVERFLOW): Likewise.
29010 (FE_DIVBYZERO): Likewise.
29011 (FE_INVALID): Likewise.
29012 (FE_TONEAREST): Likewise.
29013 (FE_TOWARDZERO): Likewise.
29014 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29015 (FE_OVERFLOW): Likewise.
29016 (FE_UNDERFLOW): Likewise.
29017 (FE_DIVBYZERO): Likewise.
29018 (FE_INEXACT): Likewise.
29019 (FE_TONEAREST): Likewise.
29020 (FE_TOWARDZERO): Likewise.
29021 (FE_UPWARD): Likewise.
29022 (FE_DOWNWARD): Likewise.
29023 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29024 (FE_DIVBYZERO): Likewise.
29025 (FE_OVERFLOW): Likewise.
29026 (FE_UNDERFLOW): Likewise.
29027 (FE_INEXACT): Likewise.
29028 (FE_TONEAREST): Likewise.
29029 (FE_DOWNWARD): Likewise.
29030 (FE_UPWARD): Likewise.
29031 (FE_TOWARDZERO): Likewise.
29033 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29035 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29037 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29039 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29040 commands. Quote $PWD.
29041 (blacklist_exports): Don't use remove_newlines. Replace "declare
29043 (remove_newlines): Remove.
29045 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29047 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29048 * stdlib/stdlib.h (atof): Moved to ...
29049 * include/bits/stdlib-float.h: Here. New file.
29050 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29051 * stdlib/bits/stdlib-float.h: New file.
29052 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29054 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29057 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29059 * conform/conformtest.pl (@headers): Add fenv.h.
29060 * conform/data/fenv.h-data: New file.
29061 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29062 include of <math/fenv.h>.
29064 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29065 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29066 && !UNIX98]. Enables tests for XOPEN2K8.
29067 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29068 POSIX2008]: Likewise.
29070 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29071 (struct rusage): Do not expect type or its members.
29074 * math/math.h (FP_NAN): Define macro to integer constant usable in
29075 #if and use that to give value to enum constant.
29076 (FP_INFINITE): Likewise.
29077 (FP_ZERO): Likewise.
29078 (FP_SUBNORMAL): Likewise.
29079 (FP_NORMAL): Likewise.
29081 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29083 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29084 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29087 2012-11-02 Roland McGrath <roland@hack.frob.com>
29089 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29090 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29091 autoconf-time if not.
29092 * configure.in: Remove AC_PREREQ.
29094 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29096 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29097 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29098 of the internal implementation.
29100 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29102 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29103 except include of <misc/sys/syslog.h>.
29105 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29108 function returns with a NULL context exit with zero.
29110 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29112 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29114 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29116 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29117 (run_program_cmd): This.
29118 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29119 (tst_langinfo): New variable. Use it.
29121 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29123 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29124 floating point opcodes.
29126 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29128 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29131 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29133 * sysdeps/mach/hurd/powerpc: Remove directory.
29134 * sysdeps/mach/powerpc: Likewise.
29136 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29138 * scripts/check-local-headers.sh: Ignore c++ headers.
29140 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29142 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29143 __libc_cleanup_region_start argument.
29145 2012-11-01 Joseph Myers <joseph@codesourcery.com>
29149 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29150 x * y using scaling, not as x * y + z.
29151 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29152 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29153 * math/libm-test.inc (fma_test): Add more tests.
29154 (fma_test_towardzero): Likewise.
29155 (fma_test_downward): Likewise.
29156 (fma_test_upward): Likewise.
29158 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29160 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29162 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29164 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29167 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29169 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29171 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29178 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29181 Fix the order of the list for glibc 2.17.
29182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29185 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29189 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29192 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29193 for low part of x being zero before using __atanl (y).
29194 * math/libm-test.inc (atan2_test): Add another test.
29196 * manual/install.texi (Configuring and compiling): Document
29197 general use of test-wrapper and test-wrapper-env.
29198 * INSTALL: Regenerated.
29200 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29201 (__fma): Do not extract and scale down low bits on after-rounding
29202 systems when result rounded to normal precision would have normal
29204 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29205 (__fmal): Do not extract and scale down low bits on after-rounding
29206 systems when result rounded to normal precision would have normal
29208 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29209 (__fmal): Do not extract and scale down low bits on after-rounding
29210 systems when result rounded to normal precision would have normal
29212 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29214 (fma_test): Add more tests.
29215 (fma_test_towardzero): Likewise.
29216 (fma_test_downward): Likewise.
29217 (fma_test_upward): Likewise.
29219 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29221 * sysdeps/i386/tininess.h: Renamed to ...
29222 * sysdeps/x86/tininess.h: This.
29223 * sysdeps/x86_64/tininess.h: Removed.
29225 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29227 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29228 input. Use $(build-program-cmd).
29229 ($(objpfx)tst-array1-static.out): Likewise.
29230 ($(objpfx)tst-array2.out): Likewise.
29231 ($(objpfx)tst-array3.out): Likewise.
29232 ($(objpfx)tst-array4.out): Likewise.
29233 ($(objpfx)tst-array5.out): Likewise.
29234 ($(objpfx)tst-array5-static.out): Likewise.
29236 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29238 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29241 * nss/nsswitch.h (nss_interface_function): Provide new
29242 macro for use with NSS functions.
29243 * grp/initgroups.c: Use new macro.
29244 * nss/getXXbyYY.c: Likewise.
29245 * nss/getXXbyYY_r.c: Likewise.
29246 * nss/getXXent.c: Likewise.
29247 * nss/getXXent_r.c: Likewise.
29248 * sysdeps/posix/getaddrinfo.c: Likewise.
29250 2012-10-30 Andreas Jaeger <aj@suse.de>
29252 * po/ru.po: Update Russion translation from translation project.
29254 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29258 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29259 result and shift together with sticky bit instead of replicating
29260 round-to-nearest rounding.
29261 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29262 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29263 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29264 missing underflow exceptions.
29265 (fma_test_towardzero): Add more tests.
29266 (fma_test_downward): Likewise.
29267 (fma_test_upward): Likewise.
29270 * sysdeps/generic/tininess.h: New file.
29271 * sysdeps/i386/tininess.h: Likewise.
29272 * sysdeps/sh/tininess.h: Likewise.
29273 * sysdeps/x86_64/tininess.h: Likewise.
29274 * stdlib/tst-strtod-underflow.c: Likewise.
29275 * stdlib/tst-tininess.c: Likewise.
29276 * stdlib/strtod_l.c: Include <tininess.h>.
29277 (round_and_return): Do not set errno for exact underflow cases.
29278 Force an underflow exception when setting errno for underflow.
29279 Determine underflow based on rounding to normal precision if
29280 TININESS_AFTER_ROUNDING.
29281 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29282 ERANGE for exact underflow cases.
29283 * stdlib/Makefile (tests): Add tst-tininess and
29284 tst-strtod-underflow.
29285 ($(objpfx)tst-tininess): Use $(link-libm).
29286 ($(objpfx)tst-strtod-underflow): Likewise.
29288 2012-10-30 Andreas Jaeger <aj@suse.de>
29291 * elf/Makefile (tests): Remove conditional for have-initfini-array
29292 since this is now always required and the variable does not exist
29294 (tests-static): Likewise.
29295 (modules-names): Likewise.
29297 * po/eo.po: Add Esperanto translation from translation project.
29299 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29300 merged with constructor/destructor.
29301 (init_array): Likewise.
29302 * elf/tst-array2dep.c (fini_array): Likewise.
29303 (init_array): Likewise.
29305 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29307 * manual/message.texi: Delete @cartouche tags.
29309 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29311 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29313 * sysdeps/mach/hurd/fsync.c: Likewise.
29315 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29316 [_POSIX_REALTIME_SIGNALS]: Change condition to
29317 [_POSIX_REALTIME_SIGNALS > 0].
29319 2012-10-27 Andreas Jaeger <aj@suse.de>
29321 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29322 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29323 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29324 [__WORDSIZE != 64]: Likewise.
29326 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29328 * iconvdata/tst-table.sh: Remove ${SHELL}.
29329 * iconvdata/tst-tables.sh: Likewise.
29331 2012-10-25 David S. Miller <davem@davemloft.net>
29333 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29334 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29337 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29339 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29340 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29341 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29344 2012-10-25 Roland McGrath <roland@hack.frob.com>
29346 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29347 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29350 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29351 Jim Blandy <jimb@codesourcery.com>
29353 * scripts/cross-test-ssh.sh: New file.
29354 * manual/install.texi (Configuring and compiling): Document use of
29356 * INSTALL: Regenerated.
29358 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29360 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29363 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29365 * Makeconfig (run-program-prefix): Fix comment.
29367 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29368 Jim Blandy <jimb@codesourcery.com>
29370 * Makeconfig (test-wrapper): New variable,
29371 (test-wrapper-env): Likewise.
29372 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29373 (run-built-tests): Define to yes.
29374 (run-program-prefix): Use $(test-wrapper).
29375 (built-program-cmd): Likewise.
29376 * Rules (make-test-out): Use $(test-wrapper-env) and
29377 $(host-built-program-cmd).
29378 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29379 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29381 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29382 $(test-wrapper-env) to tst-rtld-load-self.sh.
29383 ($(objpfx)order2.out): Use $(test-wrapper).
29384 ($(objpfx)tst-initorder.out): Likewise.
29385 ($(objpfx)tst-initorder2.out): Likewise.
29386 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29387 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29388 (test_wrapper_env): New variable. Use it to run ld.so.
29389 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29390 Use it to run ld.so.
29391 (test_wrapper_env): Likewise.
29392 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29393 $(test-wrapper) to run-iconv-test.sh.
29394 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29395 (ICONV): Use $test_wrapper.
29396 * posix/Makefile ($(objpfx)globtest.out): Pass
29397 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29398 globtest.sh, not $(run-program-prefix).
29399 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29400 (test_wrapper): Likewise.
29401 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29402 set together with run_via_rtld_prefix.
29403 (run_program_prefix): Define in terms of test_wrapper and
29404 run_via_rtld_prefix.
29406 2012-10-24 Roland McGrath <roland@hack.frob.com>
29408 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29409 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29413 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29414 Declare __clock_getres, __clock_gettime, __clock_settime,
29415 __clock_nanosleep, and __clock_getcpuclockid.
29416 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29417 Remove librt_hidden_def (clock_gettime).
29418 * sysdeps/unix/clock_gettime.c: Likewise.
29419 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29420 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29421 * rt/clock_getres.c: Define __clock_getres as an alias.
29422 * sysdeps/posix/clock_getres.c: Likewise.
29423 * rt/clock_settime.c: Define __clock_settime as an alias.
29424 * sysdeps/unix/clock_settime.c: Likewise.
29425 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29426 * sysdeps/unix/clock_nanosleep.c: Likewise.
29427 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29428 * rt/clock-compat.c: New file.
29429 * rt/Makefile (librt-routines): Add clock-compat and move
29430 $(clock-routines) to ...
29431 (routines): ... here, new variable.
29432 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29433 Don't add get_clockfreq here.
29434 * rt/Versions (libc: GLIBC_2.17): New version set.
29435 Add clock_* symbols here.
29436 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29437 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29438 (GLIBC_2.17): Add clock_* symbols.
29439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29441 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29450 * NEWS: Mention the move.
29452 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29453 Use __open, __read, __close rather than their public counterparts.
29454 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29455 (__get_clockfreq_via_cpuinfo): Likewise.
29456 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29457 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29459 * config.h.in (HAVE_IFUNC): New #undef.
29460 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29462 * configure: Regenerated.
29464 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29466 * configure.in: Move READELF check to start of file.
29467 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29468 libc_cv_asm_gnu_indirect_function in the process.
29469 * configure: Regenerated.
29471 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29473 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29474 send the output to /dev/null.
29475 (libc_cv_cc_with_libunwind): Likewise.
29476 (libc_cv_as_noexecstack): Likewise.
29477 * configure: Regenerate.
29479 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29481 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29483 * posix/globtest.sh (TMPDIR): Do not set.
29484 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29485 (testout): Likewise.
29487 2012-10-24 Andreas Jaeger <aj@suse.de>
29489 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29490 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29491 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29492 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29493 posix_fadvise64, posix_fallocate64.
29495 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29496 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29497 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29499 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29501 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29503 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29504 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29505 <bits/fcntl-linux.h>.
29506 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29508 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29509 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29510 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29511 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29512 [__WORDSIZE != 64]: Likewise.
29514 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29516 * Makeconfig (run-built-tests): New variable.
29517 * Rules [$(cross-compiling) = yes]: Change condition to
29518 [$(run-built-tests) = no].
29519 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29520 to [$(run-built-tests) = yes].
29521 * elf/Makefile [$(cross-compiling) = no]: Likewise
29522 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29523 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29524 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29525 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29526 * io/Makefile [$(cross-compiling) = no]: Likewise.
29527 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29528 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29529 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29530 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29531 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29532 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29533 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29534 * string/Makefile [$(cross-compiling) = no]: Likewise.
29536 * posix/Makefile ($(objpfx)globtest.out): Pass
29537 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29538 $(rtld-installed-name).
29539 * posix/globtest.sh (elf_objpfx): Remove variable.
29540 (rtld_installed_name): Likewise.
29541 (library_path): Likewise.
29542 (run_program_prefix): New variable. Use for running globtest
29545 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29546 Joseph Myers <joseph@codesourcery.com>
29548 * Makeconfig (host-built-program-cmd): New variable.
29549 * elf/Makefile (tst-stackguard1-ARGS): Use
29550 $(host-built-program-cmd).
29551 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29552 (tst-spawn-ARGS): Likewise.
29553 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29555 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29556 Jim Blandy <jimb@codesourcery.com>
29558 * Makeconfig (run-via-rtld-prefix): New variable.
29559 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29560 (built-program-cmd): Likewise.
29562 2012-10-22 Andreas Jaeger <aj@suse.de>
29564 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29565 __O_RSYNC if it exists, otherwise to O_SYNC.
29567 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29568 Joseph Myers <joseph@codesourcery.com>
29570 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29572 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29574 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29577 2012-10-22 Andreas Jaeger <aj@suse.de>
29579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29581 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29583 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29584 bits/fcntl-linux.h.
29586 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29587 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29589 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29591 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29594 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29595 Joseph Myers <joseph@codesourcery.com>
29597 * config.make.in (NM): New variable.
29599 2012-10-21 Andreas Jaeger <aj@suse.de>
29601 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29602 definitions and declarations that are provided by
29603 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29605 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29608 * elf/Makefile (tests-static): Add tst-leaks1-static.
29609 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29610 ($(objpfx)tst-leaks1-static): New rule.
29611 ($(objpfx)tst-leaks1-static-mem): Likewise.
29612 (tst-leaks1-static-ENV): New macro.
29613 * elf/dl-open.c (dl_open_worker): Check the main application
29614 only if SHARED is defined.
29615 * elf/tst-leaks1-static.c: New file.
29617 2012-10-20 Andreas Jaeger <aj@suse.de>
29619 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29620 generic values for Linux.
29621 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29622 and declarations that are provided by <bits/fcntl-linux.h> and
29623 include <bits/fcntl-linux.h>.
29624 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29625 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29627 2012-10-20 Roland McGrath <roland@hack.frob.com>
29629 * io/fcntl.h: Move include of <bits/types.h> to the top and
29630 include it unconditionally.
29632 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29634 * wcsmbs/Makefile (tests-ifunc): New variable.
29635 (tests): Add $(tests-ifunc).
29636 * wcsmbs/test-wcschr-ifunc.c: New file.
29637 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29638 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29639 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29640 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29641 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29643 * string/Makefile (tests-ifunc): New variable.
29644 (tests): Add $(tests-ifunc).
29645 * string/test-memccpy.c (TEST_NAME): New macro.
29646 * string/test-memchr.c (TEST_NAME): Likewise.
29647 * string/test-memcmp.c (TEST_NAME): Likewise.
29648 * string/test-memcpy.c (TEST_NAME): Likewise.
29649 * string/test-memmem.c (TEST_NAME): Likewise.
29650 * string/test-memmove.c (TEST_NAME): Likewise.
29651 * string/test-memset.c (TEST_NAME): Likewise.
29652 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29653 * string/test-stpcpy.c (TEST_NAME): Likewise.
29654 * string/test-stpncpy.c (TEST_NAME): Likewise.
29655 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29656 * string/test-strcasestr.c (TEST_NAME): Likewise.
29657 * string/test-strcat.c (TEST_NAME): Likewise.
29658 * string/test-strchr.c (TEST_NAME): Likewise.
29659 * string/test-strcmp.c(TEST_NAME): Likewise.
29660 * string/test-strcpy.c (TEST_NAME): Likewise.
29661 * string/test-strcspn.c (TEST_NAME): Likewise.
29662 * string/test-strlen.c (TEST_NAME): Likewise.
29663 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29664 * string/test-strncmp.c (TEST_NAME): Likewise.
29665 * string/test-strncpy.c (TEST_NAME): Likewise.
29666 * string/test-strnlen.c (TEST_NAME): Likewise.
29667 * string/test-strpbrk.c (TEST_NAME): Likewise.
29668 * string/test-strrchr.c (TEST_NAME): Likewise.
29669 * string/test-strspn.c (TEST_NAME): Likewise.
29670 * string/test-strstr.c (TEST_NAME): Likewise.
29671 * string/test-bcopy-ifunc.c: New file.
29672 * string/test-bzero-ifunc.c: Likewise.
29673 * string/test-memccpy-ifunc.c: Likewise.
29674 * string/test-memchr-ifunc.c: Likewise.
29675 * string/test-memcmp-ifunc.c: Likewise.
29676 * string/test-memcpy-ifunc.c: Likewise.
29677 * string/test-memmem-ifunc.c: Likewise.
29678 * string/test-memmove-ifunc.c: Likewise.
29679 * string/test-mempcpy-ifunc.c: Likewise.
29680 * string/test-memset-ifunc.c: Likewise.
29681 * string/test-rawmemchr-ifunc.c: Likewise.
29682 * string/test-stpcpy-ifunc.c: Likewise.
29683 * string/test-stpncpy-ifunc.c: Likewise.
29684 * string/test-strcasecmp-ifunc.c: Likewise.
29685 * string/test-strcasestr-ifunc.c: Likewise.
29686 * string/test-strcat-ifunc.c: Likewise.
29687 * string/test-strchr-ifunc.c: Likewise.
29688 * string/test-strchrnul-ifunc.c: Likewise.
29689 * string/test-strcmp-ifunc.c: Likewise.
29690 * string/test-strcpy-ifunc.c: Likewise.
29691 * string/test-strcspn-ifunc.c: Likewise.
29692 * string/test-strlen-ifunc.c: Likewise.
29693 * string/test-strncasecmp-ifunc.c: Likewise.
29694 * string/test-strncat-ifunc.c: Likewise.
29695 * string/test-strncmp-ifunc.c: Likewise.
29696 * string/test-strncpy-ifunc.c: Likewise.
29697 * string/test-strnlen-ifunc.c: Likewise.
29698 * string/test-strpbrk-ifunc.c: Likewise.
29699 * string/test-strrchr-ifunc.c: Likewise.
29700 * string/test-strspn-ifunc.c: Likewise.
29701 * string/test-strstr-ifunc.c: Likewise.
29703 * debug/Makefile (tests-ifunc): New variable.
29704 (tests): Add $(tests-ifunc).
29705 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29706 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29707 * debug/test-stpcpy_chk-ifunc.c: New file.
29708 * debug/test-strcpy_chk-ifunc.c: Likewise.
29710 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29713 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29714 header is not read in.
29716 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29718 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29719 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29720 directly. Pass built executable to script as
29721 $(built-program-cmd).
29722 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29723 $testprogram without using LD_LIBRARY_PATH and $ldso.
29725 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29726 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29727 $(rtld-installed-name).
29728 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29729 (rtld_installed_name): Likewise.
29730 (library_path): Likewise.
29731 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29732 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29733 $(run-program-prefix) to tst-tables.sh.
29734 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29735 it to run tst-table-from and tst-table-to.
29736 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29737 Pass it to tst-table.sh.
29738 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29739 $(run-program-prefix) to tst-gettext.sh.
29740 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29742 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29744 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29745 to run tst-gettext.
29746 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29747 to run tst-gettext2.
29748 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29749 to run tst-translit.
29750 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29751 $(run-program-prefix) to tst-mtrace.sh.
29752 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29754 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29755 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29756 $(rtld-installed-name).
29757 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29758 (rtld_installed_name): Likewise.
29759 (run_program_prefix): New variable. Use it to run wordexp-test.
29761 * Makeconfig (ARCH): Remove all definitions.
29762 (machine): Likewise.
29763 [ARCH]: Remove conditional code.
29764 [!objdir]: Give error.
29765 [!objdir] (objpfx): Remove.
29766 [!objdir] (common-objpfx): Likewise.
29767 [!objdir] (common-objdir): Likewise.
29768 * configure.in (config_makefile): Remove. Hardcode Makefile in
29769 AC_CONFIG_FILES call.
29770 * configure: Regenerated.
29773 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29775 (testout): Likewise.
29777 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29778 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29779 $(rtld-installed-name).
29780 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29781 (rtld_installed_name): Likwise.
29782 (runit): Remove function.
29783 (run_getconf): New variable, Use it for running getconf binary.
29785 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29788 * string/test-memmem.c (check_result): New function.
29789 (do_one_test): Use it.
29790 (check1): New function.
29791 (test_main): Use it.
29793 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29795 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29797 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29799 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29800 (_G_LSEEK64): Likewise.
29801 (_G_MMAP64): Likewise.
29802 (_G_FSTAT64): Likewise.
29803 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29804 (_G_LSEEK64): Likewise.
29805 (_G_MMAP64): Likewise.
29806 (_G_FSTAT64): Likewise.
29807 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29808 unconditional. Call __mmap64 directly.
29809 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29810 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29811 __lseek64 directly.
29812 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29813 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29815 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29816 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29817 __lseek64 directly.
29818 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29819 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29820 __lseek64 directly.
29821 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29822 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29823 __lseek64 directly.
29824 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29825 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29826 __fxstat64 directly.
29827 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29828 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29830 (freopen64) [!_G_OPEN64]: Remove conditional code.
29831 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29833 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29834 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29836 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29837 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29839 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29840 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29842 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29843 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29845 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29846 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29848 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29849 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29851 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29853 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29856 * manual/memory.texi (Malloc Tunable Parameters): Add note
29857 about free list pointers overwriting some perturb bytes.
29858 Wording suggested by Roland McGrath.
29860 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29862 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29863 (lgamma_test): Likewise.
29864 (tgamma_test): Likewise.
29866 2012-10-16 Florian Weimer <fweimer@redhat.com>
29869 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29870 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29872 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29874 * NEWS: Mention BZ #14716.
29875 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29876 when removing AVAILABLE1_USES_J macro.
29878 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29880 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29881 (__bswap_64): __uint64_t for unsigned 64-bit int.
29883 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29885 * include/string.h (memmem): Declare libc hidden alias.
29886 * string/memmem.c (memmem): Define libc hidden alias.
29887 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29888 __read, __close instead of open, read, close.
29890 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29892 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29893 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29895 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29896 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29897 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29899 (__rawmemchr_sse2): Likewise.
29900 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29901 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29902 (__strchr_sse2): Likewise.
29903 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29904 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29905 (__strcasecmp_sse2): Likewise.
29906 (__strncasecmp_sse2): Likewise.
29907 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29908 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29909 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29910 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29911 (__strrchr_sse2): Likewise.
29912 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29914 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29915 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29916 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29917 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29918 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29919 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29920 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29921 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29922 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29923 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29924 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29925 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29926 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29927 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29928 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29929 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29930 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29931 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29932 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29933 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29934 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29935 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29936 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29937 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29938 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29939 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29940 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29941 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29942 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29943 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29945 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29947 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29948 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29949 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29950 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29952 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29954 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29955 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29956 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29957 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29959 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29960 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29961 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29962 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29963 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29964 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29965 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29966 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29967 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29968 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29969 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29970 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29971 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29972 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29973 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29974 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29975 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29976 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29977 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29978 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29979 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29980 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29981 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29982 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29983 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29984 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29985 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29986 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29987 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29988 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29989 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29990 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29991 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29992 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29993 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29994 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29995 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29996 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29997 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29998 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29999 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30001 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30002 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30003 * include/ifunc-impl-list.h: New file.
30004 * misc/ifunc-impl-list.c: Likewise.
30005 * misc/Makefile (routines): Add ifunc-impl-list.
30006 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30007 * string/test-string.h: Include <ifunc-impl-list.h>.
30008 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30009 TEST_NAME]: New variables.
30010 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30012 (test_init): Call __libc_ifunc_impl_list to initialize
30013 func_list if TEST_IFUNC and TEST_NAME are defined.
30015 * string/Makefile (strop-tests): Add bcopy and bzero.
30016 * string/test-bcopy.c: New file.
30017 * string/test-bzero.c: Likewise.
30018 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30020 * string/test-memset.c: Support bzero test if TEST_BZERO is
30022 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30024 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30026 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30029 2012-10-10 Joseph Myers <joseph@codesourcery.com>
30031 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30032 * configure: Regenerated.
30034 * Makeconfig (+link-static-before-libc): Don't include
30035 $(link-static-libc).
30037 * libio/libio.h (_IO_pos_t): Remove.
30039 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30041 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30044 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30046 * crypt/crypt-entry.c: Include fips-private.h.
30047 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30048 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30049 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30050 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30052 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30054 * crypt/crypt-private.h: Include stdbool.h.
30055 (_ufc_setup_salt_r): Return bool.
30056 * crypt/crypt-entry.c: Include errno.h.
30057 (__crypt_r): Return NULL with EINVAL for bad salt.
30058 * crypt/crypt_util.c (bad_for_salt): New.
30059 (_ufc_setup_salt_r): Check that salt is long enough and within
30060 the specified alphabet.
30061 * crypt/badsalttest.c: New file.
30062 * crypt/Makefile (tests): Add it.
30063 ($(objpfx)badsalttest): New.
30065 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30067 * NEWS: Add entry for BZ #14602.
30069 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30071 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30073 * math/libm-test.inc: Update comment listing what functions and
30075 (isgreater_test): New function.
30076 (isgreaterequal_test): Likewise.
30077 (isless_test): Likewise.
30078 (islessequal_test): Likewise.
30079 (islessgreater_test): Likewise.
30080 (isunordered_test): Likewise.
30081 (main): Call the new functions.
30083 2012-10-09 Roland McGrath <roland@hack.frob.com>
30085 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30086 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30087 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30088 * sysdeps/i386/configure: Regenerated.
30089 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30090 * sysdeps/mach/configure: Regenerated.
30091 * sysdeps/mach/hurd/configure: Regenerated.
30092 * sysdeps/powerpc/configure: Regenerated.
30093 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30094 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30095 * sysdeps/s390/s390-32/configure: Regenerated.
30096 * sysdeps/s390/s390-64/configure: Regenerated.
30097 * sysdeps/sh/configure: Regenerated.
30098 * sysdeps/sparc/configure: Regenerated.
30099 * sysdeps/unix/sysv/linux/configure: Regenerated.
30100 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30101 * sysdeps/x86_64/configure: Regenerated.
30103 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30104 defined. Don't check if MAP is NULL.
30106 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30108 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30109 (_G_stat64): Likewise.
30110 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30111 (_G_stat64): Likewise.
30112 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30113 instead of struct _G_stat64.
30114 * libio/fileops.c (mmap_remap_check): Likewise.
30115 (decide_maybe_mmap): Likewise.
30116 (_IO_new_file_seekoff): Likewise.
30117 (_IO_file_stat): Likewise.
30118 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30120 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30121 instead of struct _G_stat64.
30122 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30124 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30127 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30129 (CHECK_EOL): New macro.
30130 (two_way_short_needle): Check beginning of haystack for EOL. Use
30132 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30133 Replace with CHECK_EOL.
30134 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30135 Replace with CHECK_EOL.
30137 2012-10-08 Joseph Myers <joseph@codesourcery.com>
30139 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30141 * math/libm-test.inc: Update comment listing what functions and
30143 (finite_test): New function.
30144 (isinf_test): Likewise.
30145 (isnan_test): Likewise.
30146 (fpclassify_test): Test subnormal input.
30147 (isfinite_test): Likewise.
30148 (isnormal_test): Likewise.
30149 (main): Call the new functions.
30151 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30154 * Makerules (%.dynsym): Force C locale when running
30155 $(OBJDUMP) --dynamic-syms.
30157 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30159 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30162 2012-10-06 David S. Miller <davem@davemloft.net>
30164 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30165 upper 32-bits of the length value in %o2 since we use branch-on-register
30166 tests which consider the entire 64-bit register.
30168 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30170 * string/test-strstr.c (check2): Add a test for page boundary.
30172 2012-10-05 David S. Miller <davem@davemloft.net>
30174 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30175 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30177 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30179 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30180 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30181 and bzero when HWCAP_SPARC_CRYPTO is present.
30183 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30186 * string/test-strstr.c (check2): New function.
30187 (test_main): Call check2.
30189 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30191 * string/bug-strcasestr1.c (do_test): Moved to ...
30192 * string/test-strcasestr.c (check1): Here. New function.
30193 (do_one_test): Break out result checking code into ...
30194 (check_result): This. New function.
30195 (do_one_test): Call check_result.
30196 (test_main): Call check1.
30197 * string/bug-strchr1.c (do_test): Moved to ...
30198 * string/test-strchr.c (check1): Here. New function.
30199 (do_one_test): Break out result checking code into ...
30200 (check_result): This. New function.
30201 (do_one_test): Call check_result.
30202 (test_main): Call check1.
30203 * string/bug-strstr1.c (main): Moved to ...
30204 * string/test-strstr.c (check1): Here. New function.
30205 (do_one_test): Break out result checking code into ...
30206 (check_result): This. New function.
30207 (do_one_test): Call check_result.
30208 (test_main): Call check1.
30209 * string/bug-strcasestr1.c: Removed.
30210 * string/bug-strchr1.c: Likewise.
30211 * string/bug-strstr1.c: Likewise.
30213 * elf/Makefile (dl-routines): Add hwcaps.
30214 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30215 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30216 (_dl_important_hwcaps): Moved to ...
30217 * elf/dl-hwcaps.c: Here. New file.
30218 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30221 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30222 if IS_IN_rtld isn't defined.
30224 * elf/dl-support.c (_dl_sysinfo_map): New.
30225 Include "get-dynamic-info.h" and "setup-vdso.h".
30226 (_dl_non_dynamic_init): Call setup_vdso.
30227 * elf/dynamic-link.h: Don't include <assert.h>.
30228 (elf_get_dynamic_info): Moved to ...
30229 * elf/get-dynamic-info.h: Here. New file.
30230 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30231 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30232 * elf/setup-vdso.h: Here. New file.
30233 * elf/rtld.c: Include "setup-vdso.h".
30234 (dl_main): Call setup_vdso.
30236 2012-10-05 Joseph Myers <joseph@codesourcery.com>
30238 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30239 creal in comment listing functions tested. List finite, isinf,
30240 isnan, isless, islessequal, isgreater, isgreaterequal,
30241 islessgreater, isunordered, lgamma_r and pow10 as functions and
30242 macros not tested. Mention which functions not tested are aliases
30243 for other functions. Fix typo. Note that signs of NaNs are not
30246 * scripts/config.guess: Update from config.git.
30247 * scripts/config.sub: Likewise.
30249 2012-10-04 Roland McGrath <roland@hack.frob.com>
30251 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30252 * misc/madvise.c (madvise): Renamed to __madvise.
30253 Make madvise a weak alias.
30254 * include/sys/mman.h: Declare __madvise.
30255 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30256 * sysdeps/unix/syscalls.list
30257 (madvise): Make __madvise the strong name, and madvise a weak alias.
30258 * sysdeps/unix/sysv/linux/syscalls.list
30259 (madvise, mmap): Remove redundant entries.
30260 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30261 * malloc/malloc.c (mtrim): Likewise.
30262 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30264 2012-10-03 Roland McGrath <roland@hack.frob.com>
30266 * sysdeps/mach/hurd/dl-cache.c: File removed.
30267 * config.h.in (USE_LDCONFIG): New #undef.
30268 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30269 * configure: Regenerated.
30270 * elf/Makefile (dl-routines): Add dl-cache only under
30271 [$(use-ldconfig) = yes].
30272 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30273 cache on [USE_LDCONFIG].
30274 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30276 * elf/rtld.c (dl_main): Likewise.
30278 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30280 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30281 _SC_LEVEL4_CACHE_LINESIZE.
30283 2012-10-03 Roland McGrath <roland@hack.frob.com>
30285 * sysdeps/unix/bsd/confstr.h: File removed.
30287 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
30289 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30292 2012-10-02 Roland McGrath <roland@hack.frob.com>
30294 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30295 Make 'mapoff' field ElfW(Off) rather than off_t.
30297 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30299 * nscd/Makefile: Remove nscd-cflags and all its users.
30300 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30301 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30304 * malloc.c (malloc_printerr): Clarify error message.
30306 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30310 Set bit_FMA_Usable if FMA is supported.
30311 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30313 (bit_FMA4_Usable): Updated.
30314 (index_FMA_Usable): New macro.
30315 (CPUID_FMA): Likewise
30316 (HAS_FMA): Defined with bit_FMA_Usable.
30318 2012-10-01 Roland McGrath <roland@hack.frob.com>
30320 * bits/types.h (__swblk_t): Type removed.
30321 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30322 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30323 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30324 (__SWBLK_T_TYPE): Likewise.
30325 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30326 (__SWBLK_T_TYPE): Likewise.
30327 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30328 (__SWBLK_T_TYPE): Likewise.
30329 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30330 (__SWBLK_T_TYPE): Likewise.
30332 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30333 Honza Horak <hhorak@redhat.com>
30335 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30336 (xdr_mapname): Use YPMAXMAP as maxsize.
30337 (xdr_peername): Use YPMAXPEER as maxsize.
30338 (xdr_keydat): Use YPAXRECORD as maxsize.
30339 (xdr_valdat): Use YPMAXRECORD as maxsize.
30341 2012-10-01 Roland McGrath <roland@hack.frob.com>
30343 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30345 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30346 * csu/init-first.c: ... here.
30347 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30348 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30349 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30350 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30351 * sysdeps/i386/init-first.c: File removed.
30352 * sysdeps/sh/init-first.c: File removed.
30354 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30357 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30358 if x * y might underflow to zero and z is zero.
30359 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30360 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30361 * math/libm-test.inc (min_subnorm_value): New variable.
30362 (fma_test): Add more tests.
30363 (fma_test_towardzero): Likewise.
30364 (fma_test_downward): Likewise
30365 (fma_test_upward): Likewise.
30366 (initialize): Set min_subnorm_value.
30368 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30371 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30373 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30374 mode for addition resulting in exact zero.
30375 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30376 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30378 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30379 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30380 * math/libm-test.inc (fma_test): Add more tests.
30381 (fma_test_towardzero): New function.
30382 (fma_test_downward): Likewise.
30383 (fma_test_upward): Likewise.
30384 (main): Call the new functions.
30386 2012-09-28 David S. Miller <davem@davemloft.net>
30388 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30390 2012-09-28 Roland McGrath <roland@hack.frob.com>
30392 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30393 instead of SIGALRM.
30395 * sysdeps/gnu/_G_config.h: Moved to ...
30396 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30397 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30398 * sysdeps/generic/_G_config.h: ... here.
30400 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30402 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30404 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30405 Conditionalize target on [libnss_test1.so-version].
30407 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30409 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30410 (elfobjdir): Move out of conditionals.
30412 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30413 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30414 (__nss_lookup_function): Conditionalize label remove_from_tree on
30415 [!DO_STATIC_NSS || SHARED], matching its only use.
30417 2012-09-28 David S. Miller <davem@davemloft.net>
30419 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30420 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30422 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30424 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30425 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30426 when HWCAP_SPARC_CRYPTO is present.
30428 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30430 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30432 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30435 * stdio-common/vfprintf.c (process_string_arg): Revert
30438 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30440 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30442 * stdio-common/tst-sprintf.c: Include <locale.h>
30443 (main): Test sprintf's handling of incomplete multibyte
30446 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30448 * elf/dl-runtime.c (VERSYMIDX): Removed.
30449 * elf/dl-version.c (VERSYMIDX): Likewise.
30450 * elf/do-rel.h (VERSYMIDX): Likewise.
30451 (VALIDX): Likewise.
30452 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30453 * elf/rtld.c (VALIDX): Likewise.
30454 (ADDRIDX): Likewise.
30455 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30456 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30457 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30458 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30459 (VALIDX): Likewise.
30460 (ADDRIDX): Likewise.
30462 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30464 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30466 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30469 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30471 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30472 addresses are in the same scope as 192.0.2/24.
30473 * posix/gai.conf: Document new scope table defaults.
30475 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30478 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30479 for ftell. Compute offsets from write pointers instead.
30480 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30482 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30485 * libio/Makefile (tests): New test case tst-fseek.
30486 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30487 combination works in wide mode.
30488 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30489 state when the external buffer state changes.
30491 2012-09-27 David S. Miller <davem@davemloft.net>
30494 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30495 pass reloc->r_addend in as the 'high' argument to
30496 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30500 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30502 * rt/tst-aio2.c: Include <pthread.h>.
30503 * rt/tst-aio3.c: Likewise.
30505 2012-09-27 Steve Ellcey <sellcey@mips.com>
30507 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30509 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30511 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30512 contents on [SHARED].
30514 2012-09-26 Marek Polacek <polacek@redhat.com>
30518 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30519 for C++ and GCC <4.3 as well as for non GCC compilers.
30521 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30525 2012-09-25 Roland McGrath <roland@hack.frob.com>
30527 * Makefile.in (all, install): Declare with .PHONY.
30528 Reported by Michael Hope <michael.hope@linaro.org>.
30530 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30532 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30533 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30535 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30537 (sydep_routines): Add the new and the internal functions.
30538 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30539 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30541 (GLIBC_2.17): Add the new function.
30542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30543 (GLIBC_2.17): Likewise.
30544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30545 (GLIBC_2.17): Likewise.
30546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30547 (GLIBC_2.17): Likewise.
30548 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30550 2012-09-25 Alan Modra <amodra@gmail.com>
30552 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30553 Add release barrier before setting once_control to say
30554 initialisation is done. Add hints on lwarx. Use macro in
30556 (clear_once_control): Add release barrier.
30558 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30561 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30563 * math/s_clog10.c (__clog10): Likewise.
30564 * math/s_clog10f.c (__clog10f): Likewise.
30565 * math/s_clog10l.c (__clog10l): Likewise.
30566 * math/s_clogf.c (__clogf): Likewise.
30567 * math/s_clogl.c (__clogl): Likewise.
30568 * math/Makefile (libm-calls): Add x2y2m1.
30569 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30570 (__x2y2m1): Likewise.
30571 (__x2y2m1l): Likewise.
30572 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30573 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30574 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30575 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30576 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30577 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30578 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30579 * sysdeps/i386/fpu/libm-test-ulps: Update.
30580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30583 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30584 int as type of variable DEPTH.
30585 (glob): Use size_t instead of int as type of variables NEWCOUNT
30588 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30590 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30591 Add s_sincosf-sse2.
30592 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30593 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30594 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30595 macros for using routine as __sincosf_ia32.
30596 Use macro for function declaration and weak_alias.
30597 * sysdeps/i386/fpu/libm-test-ulps: Update.
30599 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30600 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30602 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30603 subnormal argument.
30604 * math/s_cexpf.c (__cexpf): Likewise.
30605 * math/s_csinf.c (__csinf): Likewise.
30606 * math/s_csinhf.c (__csinhf): Likewise.
30607 * math/s_ctanf.c (__ctanf): Likewise.
30608 * math/s_ctanhf.c (__ctanhf): Likewise.
30609 * math/s_ccosh.c (__ccoshf): Likewise.
30610 * math/s_cexp.c (__cexpl): Likewise.
30611 * math/s_csin.c (__csin): Likewise.
30612 * math/s_csinh.c (__csinh): Likewise.
30613 * math/s_ctan.c (__ctan): Likewise.
30614 * math/s_ctanh.c (ctanh): Likewise.
30615 * math/s_ccoshl.c (__ccoshl): Likewise.
30616 * math/s_cexpl.c (__cexpl): Likewise.
30617 * math/s_csinl.c (__csinl): Likewise.
30618 * math/s_csinhl.c (__csinhl): Likewise.
30619 * math/s_ctanl.c (__ctanl): Likewise.
30620 * math/s_ctanhl.c (__ctanhl): Likewise.
30622 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30624 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30625 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30626 (_IO_off_t): Define to __off_t, not _G_off_t.
30627 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30628 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30629 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30630 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30631 type of __dummy and __dummy2 fields.
30632 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30633 (_G_ssize_t): Likewise.
30634 (_G_off_t): Likewise.
30635 (_G_pid_t): Likewise.
30636 (_G_uid_t): Likewise.
30637 (_G_wchar_t): Likewise.
30638 (_G_wint_t): Likewise.
30639 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30640 (_G_ssize_t): Likewise.
30641 (_G_off_t): Likewise.
30642 (_G_pid_t): Likewise.
30643 (_G_uid_t): Likewise.
30644 (_G_wchar_t): Likewise.
30645 (_G_wint_t): Likewise.
30646 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30647 (_G_ssize_t): Likewise.
30648 (_G_off_t): Likewise.
30649 (_G_pid_t): Likewise.
30650 (_G_uid_t): Likewise.
30651 (_G_wchar_t): Likewise.
30652 (_G_wint_t): Likewise.
30654 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30656 * malloc/arena.c: Include malloc-sysdep.h.
30657 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30658 is sufficient to shrink the heap or an unmap is needed.
30659 * sysdeps/generic/malloc-sysdep.h: New file. Define
30660 new function check_may_shrink_heap.
30661 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30662 new function check_may_shrink_heap.
30664 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30666 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30669 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30671 * catgets/test-gencat.sh: Add "set -e".
30672 * elf/tst-pathopt.sh: Likewise.
30673 * grp/tst_fgetgrent.sh: Likewise.
30674 * iconvdata/run-iconv-test.sh: Likewise.
30675 * intl/tst-gettext.sh: Likewise.
30676 * intl/tst-gettext2.sh: Likewise.
30677 * intl/tst-gettext4.sh: Likewise.
30678 * intl/tst-gettext6.sh: Likewise.
30679 * intl/tst-translit.sh: Likewise.
30680 * io/ftwtest-sh: Likewise.
30681 * libio/test-freopen.sh: Likewise.
30682 * malloc/tst-mtrace.sh: Likewise.
30683 * posix/globtest.sh: Likewise.
30684 * posix/tst-getconf.sh: Likewise.
30685 * posix/wordexp-tst.sh: Likewise.
30686 * stdio-common/tst-printf.sh: Likewise.
30687 * stdio-common/tst-unbputc.sh: Likewise.
30688 * stdlib/tst-fmtmsg.sh: Likewise.
30689 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30690 * catgets/Makefile: Do not specify -e option when running
30691 testsuite shell scripts.
30692 * elf/Makefile: Likewise.
30693 * grp/Makefile: Likewise.
30694 * iconvdata/Makefile: Likewise.
30695 * intl/Makefile: Likewise.
30696 * io/Makefile: Likewise.
30697 * libio/Makefile: Likewise.
30698 * malloc/Makefile: Likewise.
30699 * posix/Makefile: Likewise.
30700 * stdio-common/Makefile: Likewise.
30701 * stdlib/Makefile: Likewise.
30702 * sysdeps/x86_64/Makefile: Likewise.
30704 * io/ftwtest-sh: Add copyright header.
30705 * posix/globtest.sh: Likewise.
30706 * posix/tst-getconf.sh: Likewise.
30707 * posix/wordexp-tst.sh: Likewise.
30708 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30710 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30713 * Makeconfig (+link): Defined as $(+link-static) if
30714 $(build-shared) isn't yes.
30715 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30717 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30719 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30722 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30723 new chunk size with MALLOC_ALIGN_MASK.
30725 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30728 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30730 (__printf_fphex): Determine rounding using get_rounding_mode and
30732 * stdio-common/tst-printf-round.c (struct hex_test): New
30734 (hex_tests): New variable.
30735 (test_hex_in_one_mode): New function.
30736 (do_test): Also run tests for hex float output.
30738 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30740 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30741 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30742 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30743 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30744 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30745 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30746 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30747 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30749 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30751 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30752 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30753 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30754 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30756 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30759 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30761 * elf/tst-rtld-load-self.sh: New test.
30762 * elf/Makefile: Run it.
30764 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30766 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30767 (tst-writev-ENV): Remove.
30768 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30770 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30772 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30774 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30776 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30778 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30780 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30781 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30782 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30785 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30788 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30789 * config.make.in (have-cpp-asm-debuginfo): Removed.
30790 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30791 * configure: Regenerated.
30793 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30796 * stdio-common/printf_fp.c: Include <stdbool.h> and
30798 (___printf_fp): Determine rounding using get_rounding_mode and
30800 * stdio-common/tst-printf-round.c: New file.
30801 * stdio-common/Makefile (tests): Add tst-printf-round.
30802 (link-libm): New variable.
30803 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30805 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30808 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30809 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30811 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30814 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30816 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30817 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30818 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30819 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30821 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30824 * include/rounding-mode.h: New file.
30825 * sysdeps/generic/get-rounding-mode.h: Likewise.
30826 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30827 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30828 (MAX_VALUE): New macro.
30829 (MIN_VALUE): Likewise.
30830 (overflow_value): New function.
30831 (underflow_value): Likewise.
30832 (round_and_return): Use overflow_value and underflow_value to
30833 determine return values in overflow and underflow cases. Use
30834 round_away to determine rounding depending on rounding mode.
30835 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30836 determine return values in overflow and underflow cases.
30837 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30838 (struct test_results): New structure.
30839 (struct test): Use struct test_results to store expected results
30840 for all rounding modes.
30841 (TEST): Include expected results for all rounding modes.
30842 (test_in_one_mode): New function.
30843 (do_test): Use test_in_one_mode to compute and check results.
30844 Check results for all rounding modes.
30845 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30848 2012-12-09 Allan McRae <allan@archlinux.org>
30850 * sysdeps/i386/fpu/libm-test-ulps: Update
30852 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30854 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30855 (_G_int32_t): Likewise.
30856 (_G_uint16_t): Likewise.
30857 (_G_uint32_t): Likewise.
30858 (_G_HAVE_BOOL): Likewise.
30859 (_G_HAVE_ATEXIT): Likewise.
30860 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30861 (_G_HAVE_IO_FILE_OPEN): Likewise.
30862 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30863 (_G_int32_t): Likewise.
30864 (_G_uint16_t): Likewise.
30865 (_G_uint32_t): Likewise.
30866 (_G_HAVE_BOOL): Likewise.
30867 (_G_HAVE_ATEXIT): Likewise.
30868 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30869 (_G_HAVE_IO_FILE_OPEN): Likewise.
30870 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30871 (_G_int32_t): Likewise.
30872 (_G_uint16_t): Likewise.
30873 (_G_uint32_t): Likewise.
30874 (_G_HAVE_BOOL): Likewise.
30875 (_G_HAVE_ATEXIT): Likewise.
30876 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30877 (_G_HAVE_IO_FILE_OPEN): Likewise.
30879 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30881 * csu/libc-tls.c: Update copyright years.
30883 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30885 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30886 [!_G_USING_THUNKS]: Remove conditional code.
30887 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30888 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30890 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30891 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30892 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30893 (_G_VTABLE_LABEL_PREFIX): Likewise.
30894 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30895 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30896 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30897 (_G_VTABLE_LABEL_PREFIX): Likewise.
30898 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30899 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30900 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30901 (_G_VTABLE_LABEL_PREFIX): Likewise.
30902 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30904 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30906 * libio/Makefile: Include ../Makeconfig before tests.
30907 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30908 only if $(build-shared) is yes.
30910 * iconv/gconv_db.c: Update copyright years.
30912 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30914 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30915 unwind info if defined PIC. Fix special cases description.
30916 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30918 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30920 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30922 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30924 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30926 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30929 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30930 (LDLIBS-tst-chk4): This.
30931 (LDFLAGS-tst-chk5): Renamed to ...
30932 (LDLIBS-tst-chk5): This.
30933 (LDFLAGS-tst-chk6): Renamed to ...
30934 (LDLIBS-tst-chk6): This.
30935 (LDFLAGS-tst-lfschk4): Renamed to ...
30936 (LDLIBS-tst-lfschk4): This.
30937 (LDFLAGS-tst-lfschk5): Renamed to ...
30938 (LDLIBS-tst-lfschk5): This.
30939 (LDFLAGS-tst-lfschk6): Renamed to ...
30940 (LDLIBS-tst-lfschk6): This.
30942 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30943 on $(common-objpfx)soversions.mk.
30945 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30948 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30951 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30953 * malloc/arena.c (arena_get_retry): New function that gets
30954 another arena for the caller to try its request on.
30955 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30956 current arena cannot fulfill the request.
30957 (__libc_memalign): Likewise.
30958 (__libc_memalign): Likewise.
30959 (__libc_pvalloc): Likewise.
30960 (__libc_calloc): Likewise.
30962 2012-09-05 John Tobey <john.tobey@gmail.com>
30965 * manual/arith.texi (Operations on Complex): Fix description
30966 of carg branch cut.
30968 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30971 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30975 * manual/memory.texi (Memory): Make order of menu items match
30978 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30980 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30981 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30982 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30984 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30986 * csu/libc-tls.c (static_dtv): Renamed to ...
30987 (_dl_static_dtv): This. Make it global.
30988 (_dl_initial_dtv): Removed.
30989 (__libc_setup_tls): Updated.
30990 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30991 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30994 2012-09-06 Petr Machata <pmachata@redhat.com>
30996 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30997 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30998 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30999 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31001 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31004 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31005 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31008 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31011 * Makeconfig (link-static-before-libc): Replace $(+prector)
31013 (link-static-after-libc): Replace $(+postctor) with
31015 (link-bounded): Replace $(+prector)/$(+postctor) with
31016 $(+prectorT)/$(+postctorT).
31017 (+prectorT): New macro.
31018 (+postctorT): Likewise.
31020 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31022 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31023 (round_str): Handle values above the maximum for IBM long double
31025 * stdlib/tst-strtod-round.c (tests): Regenerated.
31027 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31029 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31031 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31032 zarch_nohighgprs around the zarch optimized routines.
31033 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31034 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31035 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31038 2012-09-05 David S. Miller <davem@davemloft.net>
31040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31042 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31043 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31044 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31045 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31048 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31050 * malloc/arena.c: Fold copyright years.
31051 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31053 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31055 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31057 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31059 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31061 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31063 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31064 change internal state upon failure.
31066 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31068 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31069 * malloc/memusage.c (mmap): Likewise.
31070 (mmap64, mremap): Likewise. Adjust name in comment.
31072 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31074 * libio/fileops.c: Fix typos in comments.
31075 * libio/oldfileops.c: Likewise.
31076 * libio/wfileops.c: Likewise.
31078 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31081 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31082 (tst-malloc-usable-ENV): Set environment for test case.
31083 * malloc/hooks.c (malloc_check_get_size): New function to get
31085 * malloc/malloc.c (musable): Use malloc_check_get_size.
31086 * malloc/tst-malloc-usable.c: New test case.
31088 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31090 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31092 2012-09-05 Allan McRae <allan@archlinux.org>
31095 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31096 determine header location.
31097 * configure: Regenerated.
31099 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31101 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31103 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31104 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31106 (test): Regenerate.
31108 2012-09-04 David S. Miller <davem@davemloft.net>
31110 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31111 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31112 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31114 2012-09-04 Florian Weimer <fweimer@redhat.com>
31116 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31119 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31121 2012-09-04 Joseph Myers <joseph@codesourcery.com>
31124 * libio/iogetdelim.c: Include <limits.h>.
31125 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31126 + len + 1 would overflow.
31128 2012-09-03 Andreas Jaeger <aj@suse.de>
31130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31131 * sysdeps/i386/fpu/libm-test-ulps: Update.
31133 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31135 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31136 Add s_sinf-sse2, s_conf-sse2.
31138 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31139 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31140 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31141 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31143 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31144 for using routine as __sinf_ia32.
31145 Use macro for function declaration and weak_alias.
31146 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31147 for using routine as __cosf_ia32.
31148 Use macro for function declaration and weak_alias.
31150 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31151 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31153 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31154 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31157 * math/libm-test.inc (cos_test): Add more test cases.
31158 (sin_test): Likewise.
31159 (sincos_test): Likewise.
31161 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31163 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31164 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31166 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31168 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31171 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31172 first element of the GOT.
31173 (elf_machine_load_address): Return the difference between
31174 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31176 2012-09-01 Allan McRae <allan@archlinux.org>
31179 * configure.in (AWK): Require gawk version 3.0 or later.
31180 * configure: Regenerated.
31182 2012-09-01 Joseph Myers <joseph@codesourcery.com>
31184 * sysdeps/unix/sysv/linux/kernel-features.h
31185 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31186 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31187 [__NR_clock_getres]: Make code unconditional.
31188 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31189 (clock_getcpuclockid): Remove code left unreachable by removal of
31191 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31192 code unconditional.
31193 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31194 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31195 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31196 Make code unconditional.
31197 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31198 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31199 * sysdeps/unix/sysv/linux/clock_settime.c
31200 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31202 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31203 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31205 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31208 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31209 scripts/test-installation.pl.
31211 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31212 and $ld_so_version if it is set.
31214 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31217 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31218 failure if reading from procfs failed.
31219 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31221 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31223 * sysdeps/unix/sysv/linux/kernel-features.h
31224 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31225 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31226 Remove conditional code.
31227 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31228 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31229 Remove conditional code.
31230 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31231 * sysdeps/unix/sysv/linux/i386/fxstat.c
31232 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31233 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31234 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31235 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31236 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31237 * sysdeps/unix/sysv/linux/i386/lxstat.c
31238 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31239 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31240 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31241 Remove conditional code.
31242 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31243 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31244 Remove conditional code.
31245 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31246 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31247 <kernel-features.h>.
31248 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31250 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31251 Remove conditional code.
31252 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31253 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31254 Remove conditional.
31256 2012-08-27 Mike Frysinger <vapier@gentoo.org>
31259 * NEWS: Add fixed bug number.
31261 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31264 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31265 underflowing exponent in case of negative sign.
31266 * stdlib/tst-strtod-round-data: Add more tests.
31267 * stdlib/tst-strtod-round.c (tests): Regenerated.
31270 * stdlib/strtod_l.c (NDIG): Remove.
31271 (HEXNDIG): Likewise.
31272 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31273 smallest representable value.
31274 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31275 lie within an exact representation of 1/2 ulp of the result.
31276 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31278 (TENS_P9_IDX): Define unconditionally.
31279 (TENS_P9_SIZE): Likewise.
31280 (TENS_P10_IDX): Likewise.
31281 (TENS_P10_SIZE): Likewise.
31282 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31283 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31284 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31285 entries for 10^2^13 and 10^2^14.
31286 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31287 (TENS_P13_IDX): Define.
31288 (TENS_P13_SIZE): Likewise.
31289 (TENS_P14_IDX): Likewise.
31290 (TENS_P14_SIZE): Likewise.
31291 (_fpioconst_pow10): Change array size to
31292 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31294 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31295 1024]: Add entries for 10^2^13 and 10^2^14.
31296 [LAST_POW10 > _LAST_POW10]: Remove #error.
31297 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31298 (_fpioconst_pow10): Change array size to
31299 FPIOCONST_POW10_ARRAY_SIZE.
31300 * stdlib/gen-fpioconst.c: New file.
31301 * stdlib/gen-tst-strtod-round.c: Likewise.
31302 * stdlib/tst-strtod-round-data: Likewise.
31303 * stdlib/tst-strtod-round.c: Likewise.
31304 * stdlib/Makefile (tests): Add tst-strtod-round.
31307 * stdlib/strtod_l.c: Include <stdint.h>.
31308 (NDEBUG): Do not define.
31309 (round_and_return): Change EXPONENT parameter to type intmax_t.
31310 Rearrange calculations to avoid internal overflow possibilities.
31311 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31312 Rearrange calculations to avoid internal overflow possibilities.
31313 Assert that number fits inside MPNSIZE limbs.
31314 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31315 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31316 calculations and add assertions to avoid internal overflow
31317 possibilities. Add casts to avoid signed/unsigned operations.
31318 * stdlib/tst-strtod-overflow.c: New file.
31319 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31321 2012-08-25 Marek Polacek <polacek@redhat.com>
31323 * time/time.h: Fix some typos in comments.
31325 2012-08-23 Roland McGrath <roland@hack.frob.com>
31327 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31328 * posix/tst-rfc3484-2.c: Likewise.
31329 * posix/tst-rfc3484-3.c: Likewise.
31331 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31333 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31334 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31336 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31338 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31339 #include of fxstatat64.c.
31341 2012-08-22 Roland McGrath <roland@hack.frob.com>
31343 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31344 * shadow/getspent_r.c: Likewise.
31345 * shadow/getspnam.c: Likewise.
31346 * shadow/getspnam_r.c: Likewise.
31347 * gshadow/getsgent.c: Likewise.
31348 * gshadow/getsgent_r.c: Likewise.
31349 * gshadow/getsgnam.c: Likewise.
31350 * gshadow/getsgnam_r.c: Likewise.
31351 * inet/getnetbyad.c: Likewise.
31352 * inet/getnetbyad_r.c: Likewise.
31353 * inet/getnetbynm.c: Likewise.
31354 * inet/getnetbynm_r.c: Likewise.
31355 * inet/getnetent.c: Likewise.
31356 * inet/getnetent_r.c: Likewise.
31357 * inet/getproto.c: Likewise.
31358 * inet/getproto_r.c: Likewise.
31359 * inet/getprtent.c: Likewise.
31360 * inet/getprtent_r.c: Likewise.
31361 * inet/getprtname.c: Likewise.
31362 * inet/getprtname_r.c: Likewise.
31363 * inet/getrpcbyname.c: Likewise.
31364 * inet/getrpcbyname_r.c: Likewise.
31365 * inet/getrpcbynumber.c: Likewise.
31366 * inet/getrpcbynumber_r.c: Likewise.
31367 * inet/getrpcent.c: Likewise.
31368 * inet/getrpcent_r.c: Likewise.
31369 * inet/getaliasent.c: Likewise.
31370 * inet/getaliasent_r.c: Likewise.
31371 * inet/getaliasname.c: Likewise.
31372 * inet/getaliasname_r.c: Likewise.
31373 * nscd/getgrgid_r.c: Likewise.
31374 * nscd/getgrnam_r.c: Likewise.
31375 * nscd/gethstbyad_r.c: Likewise.
31376 * nscd/gethstbynm3_r.c: Likewise.
31377 * nscd/getpwnam_r.c: Likewise.
31378 * nscd/getpwuid_r.c: Likewise.
31379 * nscd/getsrvbynm_r.c: Likewise.
31380 * nscd/getsrvbypt_r.c: Likewise.
31381 * nscd/gai.c: Likewise.
31383 * configure.in (build_nscd): New substituted variable, set
31384 by --disable-build-nscd and defaults to $use_nscd.
31385 * configure: Regenerated.
31386 * config.make.in (build-nscd): New substituted variable.
31387 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31388 Change conditional to require [$(build-nscd) = yes] as well.
31389 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31392 * configure.in (use_nscd): New substituted variable, set by
31393 --disable-nscd. If enabled, define USE_NSCD.
31394 * configure: Regenerated.
31395 * config.h.in: Add USE_NSCD.
31396 * config.make.in (use-nscd): New substituted variable.
31397 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31398 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31399 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31400 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31401 (CFLAGS-getgrnam_r.c): Likewise.
31402 (CFLAGS-initgroups.c): Likewise.
31403 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31404 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31406 * inet/getnetgrent_r.c
31407 (nscd_setnetgrent): New function, broken out of ...
31408 (setnetgrent): ... here. Call it.
31409 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31410 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31411 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31412 * nscd/Makefile (routines, aux): Move definitions after include of
31413 Makeconfig. Conditionalize on [$(use-nscd) != no].
31414 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31415 Conditionalize on [USE_NSCD].
31416 (is_nscd, nscd_init_cb): Likewise.
31417 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31418 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31419 * nss/nss_db/db-init.c: Likewise.
31420 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31422 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31423 (make_request): Use it.
31424 (cache_valid_p): New function.
31425 (__check_pf): Use it.
31426 * NEWS: Add item for --disable-nscd.
31428 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31430 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31431 to support sed >= 4.2.1-20-ga9bf076.
31432 * configure: Regenerated.
31434 2012-08-22 Roland McGrath <roland@hack.frob.com>
31436 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31437 Conditionalize whole body on [IREL].
31439 2012-08-22 Jeff Law <law@redhat.com>
31442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31443 if the family is PF_UNSPEC.
31445 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31447 * Makerules (lib-version): Rename from V.
31448 (install-lib-nosubdir): Change V to lib-version.
31450 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31453 * powerpc32/power6/wcschr.c: New file.
31454 * powerpc32/power6/wcscpy.c: New file.
31455 * powerpc32/power6/wcsrchr.c: New file.
31456 * powerpc64/power6/wcschr.c: New file.
31457 * powerpc64/power6/wcscpy.c: New file.
31458 * powerpc64/power6/wcsrchr.c: New file.
31460 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31462 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31463 (two_way_short_needle): Use it.
31464 * string/strstr.c (AVAILABLE1_USES_J): Define.
31465 * string/strcasestr.c: Likewise.
31467 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31469 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31472 * NEWS: Add an entry.
31473 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31474 define their defaults.
31475 (two_way_short_needle): Detect end-of-string on-the-fly.
31476 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31477 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31478 * string/bug-strcasestr1.c: New test.
31479 * string/Makefile: Run it.
31481 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31484 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31485 the first character.
31487 2012-08-21 Roland McGrath <roland@hack.frob.com>
31489 * csu/elf-init.c (__libc_csu_irel): Function removed.
31490 * csu/libc-start.c (apply_irel): New function.
31491 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31493 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31495 * sysdeps/unix/sysv/linux/kernel-features.h
31496 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31497 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31498 <kernel-features.h>.
31499 [__NR_fadvise64_64]: Make code unconditional.
31500 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31501 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31502 !__NR_fadvise64_64)]: Likewise.
31503 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31504 !__NR_fadvise64_64))]: Likewise.
31505 [__NR_fadvise64]: Make code unconditional.
31506 [!__NR_fadvise64]: Remove conditional code.
31507 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31508 <kernel-features.h>.
31509 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31511 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31514 not include <kernel-features.h>.
31515 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31517 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31519 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31520 include <kernel-features.h>.
31521 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31523 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31526 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31528 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31529 slight instruction rearrangements per scrollpipe analysis.
31530 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31532 2012-08-20 Roland McGrath <roland@hack.frob.com>
31534 * manual/syslog.texi (syslog; vsyslog, closelog):
31535 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31536 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31538 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31539 DSOCAPS to match condition on defining it.
31541 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31543 * sysdeps/unix/sysv/linux/kernel-features.h
31544 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31546 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31547 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31549 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31550 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31552 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31553 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31555 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31556 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31558 * sysdeps/unix/sysv/linux/kernel-features.h
31559 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31560 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31562 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31563 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31564 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31565 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31566 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31567 Make code unconditional.
31568 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31569 (__mmap64) [!__NR_mmap2]: Likewise.
31570 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31571 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31572 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31573 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31574 [__NR_mmap2]: Make code unconditional.
31575 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31576 (__mmap64) [!__NR_mmap2]: Likewise.
31578 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31580 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31582 2012-08-18 Andreas Jaeger <aj@suse.de>
31584 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31586 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31588 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31589 * include/unistd.h (__have_sock_cloexec): Likewise.
31590 (__have_pipe2): Likewise.
31591 (__have_dup3): Likewise.
31593 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31596 * include/unistd.h (__have_pipe2): Change define into an extern int.
31597 (__have_dup3): Likewise.
31598 * socket/have_sock_cloexec.c: Include fcntl.h.
31599 (__have_pipe2): New variable.
31600 (__have_dup3): Likewise.
31602 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31604 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31606 2012-08-17 Marek Polacek <polacek@redhat.com>
31608 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31609 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31611 2012-08-17 Roland McGrath <roland@hack.frob.com>
31613 * configure.in: Add AC_SUBST for sysheaders.
31614 * configure: Regenerated.
31615 * config.make.in (sysheaders): New substituted variable.
31617 * sysdeps/unix/mkfifo.c: Moved ...
31618 * sysdeps/posix/mkfifo.c: ... here.
31619 * sysdeps/unix/mkfifoat.c: Moved ...
31620 * sysdeps/posix/mkfifoat.c: ... here.
31622 * sysdeps/unix/utime.c: Moved ...
31623 * sysdeps/posix/utime.c: ... here.
31625 * sysdeps/unix/time.c: Moved ...
31626 * sysdeps/posix/time.c: ... here.
31627 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31628 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31630 * sysdeps/unix/nice.c: Moved ...
31631 * sysdeps/posix/nice.c: ... here.
31633 * sysdeps/unix/alarm.c: Moved ...
31634 * sysdeps/posix/alarm.c: ... here.
31636 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31638 2012-08-17 Jeff Law <law@redhat.com>
31640 * intl/Makefile (codeset_mo): New variable.
31641 ($(codeset_mo)): New target.
31642 (tst-codeset.out): Depend on that. Remove explicit rule.
31643 (tst-gettext3.out, tst-gettext5.out): Likewise.
31644 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31645 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31646 * intl/tst-codeset.sh: Remove.
31647 * intl/tst-gettext3.sh: Likewise.
31648 * intl/tst-gettext5.sh: Likewise.
31650 2012-08-17 Roland McGrath <roland@hack.frob.com>
31652 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31653 * sysdeps/unix/syscalls.list: ... here.
31655 * sysdeps/posix/getaddrinfo.c
31656 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31657 (gaiconf_init, gaiconf_reload): Use them.
31658 [!_STATBUF_ST_NSEC]
31659 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31660 Define using time_t rather than struct timespec.
31662 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31663 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31665 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31667 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31668 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31671 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31672 __libc_cleanup_push argument.
31674 * bits/param.h: New file.
31675 * misc/sys/param.h: New file.
31676 * include/sys/param.h: New file.
31677 * misc/Makefile (headers): Add bits/param.h.
31678 * sysdeps/generic/sys/param.h: File removed.
31679 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31680 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31681 * sysdeps/mach/hurd/bits/param.h: New file.
31682 * sysdeps/mach/hurd/sys/param.h: File removed.
31684 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31687 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31689 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31690 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31693 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31694 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31695 rather than -D_IO_MTSAFE_IO conditionally.
31696 * stdio-common/Makefile (CPPFLAGS): Likewise.
31697 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31698 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31699 Use $(libio-mtsafe).
31700 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31701 of -D_IO_MTSAFE_IO.
31702 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31703 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31704 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31705 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31706 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31707 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31708 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31709 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31710 (CFLAGS-fread_u_chk.c): Likewise.
31711 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31712 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31713 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31714 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31715 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31716 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31717 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31718 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31719 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31721 * libio/Makefile: Test [$(libc-reentrant) = yes]
31722 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31725 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31726 * sysdeps/pthread/configure: File removed.
31727 * sysdeps/pthread/Makeconfig: New file.
31728 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31729 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31731 2012-08-16 Gary Benson <gbenson@redhat.com>
31733 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31734 unmapping the first object in a namespace.
31736 2012-08-16 Roland McGrath <roland@hack.frob.com>
31738 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31739 (__internal_setnetgrent): ... this. Add internal_function to
31740 definition. Add libc_hidden_def.
31741 (setnetgrent): Update caller.
31742 (internal_endnetgrent): Renamed to ...
31743 (__internal_endnetgrent): ... this. Add internal_function to
31744 definition. Add libc_hidden_def.
31745 (endnetgrent): Update caller.
31746 (internal_getnetgrent_r): Renamed to ...
31747 (__internal_getnetgrent_r): ... this. Add internal_function to
31748 definition. Add libc_hidden_def.
31749 (__getnetgrent_r): Update caller.
31750 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31752 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31754 * stdlib/longlong.h: Update from GCC.
31756 2012-08-16 Roland McGrath <roland@hack.frob.com>
31758 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31759 on _QL, which is set by umul_ppmm but never used.
31760 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31761 variables, which are set by GMP macros but never used.
31762 * stdio-common/_itowa.c (_itowa): Likewise.
31763 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31764 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31766 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31768 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31769 struct La_sh_regs is not constant.
31770 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31771 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31772 and struct La_sparc64_regs are not constant.
31774 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31776 * sysdeps/unix/sysv/linux/kernel-features.h
31777 (__ASSUME_POSIX_TIMERS): Remove.
31778 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31779 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31780 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31781 Make code unconditional.
31782 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31783 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31784 Make code unconditional.
31785 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31786 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31787 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31788 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31789 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31790 Make code unconditional.
31791 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31792 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31793 (__libc_missing_posix_timers): Remove.
31795 2012-08-15 Roland McGrath <roland@hack.frob.com>
31797 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31798 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31800 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31802 * elf/dl-sym.c: Include <stdlib.h>.
31804 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31805 constants, which avoids warnings in 32-bit builds.
31807 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31808 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31810 * misc/lseek.c: File moved to ...
31811 * io/lseek.c: ... here.
31813 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31815 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31816 shifting LEN more than 31 bits at once.
31818 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31821 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31822 segmentation fault for a case of two empty input strings.
31823 * string/test-strncasecmp.c (check1): Renamed to...
31824 (bz12205): ...this.
31825 (bz14195): Add new testcase for two empty input strings and N > 0.
31826 (test_main): Call new testcase, adapt for renamed function.
31828 2012-08-15 Andreas Jaeger <aj@suse.de>
31831 * crypt/md5test2.c: New test, based on test supplied by Serge
31832 Belyshev <belyshev@depni.sinp.msu.ru>.
31833 * crypt/Makefile (xtests): Add md5test-giant..
31834 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31836 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31839 * crypt/md5.c (md5_process_block): Don't assume the buffer
31840 length is less than 2**32.
31841 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31842 length is less than 2**64.
31844 2012-08-15 Roland McGrath <roland@hack.frob.com>
31846 * string/str-two-way.h: Include <sys/param.h>.
31847 (MAX): Macro removed.
31849 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31850 Move #define and #undef of memmove to just before and after
31851 including <string.h>.
31853 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31854 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31855 and after including <string.h>. Move declarations of
31856 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31857 to before #include "string/memmove.c".
31859 * include/dirent.h: Declare __getdirentries.
31861 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31862 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31864 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31866 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31867 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31868 * sysdeps/i386/configure: Regenerated.
31869 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31870 STABS_CURRENT_FILE, and STABS_FUN.
31871 (END): Remove call to STABS_FUN_END.
31872 (STABS_CURRENT_FILE1): Delete.
31873 (STABS_CURRENT_FILE): Likewise.
31874 (STABS_FUN): Likewise.
31875 (STABS_FUN_END): Likewise.
31876 (STABS_FUN2): Likewise.
31877 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31878 * sysdeps/x86_64/configure: Regenerated.
31880 2012-08-14 Roland McGrath <roland@hack.frob.com>
31882 * elf/dl-open.c: Include <atomic.h>.
31883 * elf/dl-lookup.c: Likewise.
31885 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31887 * sysdeps/unix/sysv/linux/kernel-features.h
31888 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31889 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31891 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31893 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31894 condition on __ASSUME_CLONE_THREAD_FLAGS.
31896 2012-08-14 Andreas Jaeger <aj@suse.de>
31898 * sysdeps/i386/fpu/libm-test-ulps: Update.
31900 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31902 * include/atomic.h (atomic_exchange_and_add): Split into ...
31903 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31906 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31910 2012-08-13 Jeff Law <law@redhat.com>
31912 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31913 null byte in the output string.
31915 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31917 * sysdeps/unix/sysv/linux/kernel-features.h
31918 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31919 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31920 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31921 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31922 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31923 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31924 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31926 2012-08-09 Jeff Law <law@redhat.com>
31929 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31930 When avoid_arena is set, don't retry in the that arena. Pick the
31931 next one, whatever it might be.
31932 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31933 (arena_lock): Pass in new parameter to arena_get2.
31934 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31936 (__libc_malloc): Unify retrying after main arena failure with
31937 __libc_memalign version.
31938 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31940 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31943 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31944 to __redirect_strstr.
31945 (__strstr_sse42): Use typeof __redirect_strstr.
31946 (__strstr_ia32): Likewise.
31947 (__libc_strstr): New prototype.
31948 (strstr): Renamed to ...
31949 (__libc_strstr): This.
31950 (strstr): New strong alias of __libc_strstr.
31951 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31952 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31955 (__libc_time): New prototype.
31956 (time_ifunc): Replace time with __libc_time.
31957 (time): New strong alias and hidden definition of __libc_time.
31958 (__GI_time): Remove strong alias.
31959 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31960 Include <stddef.h>.
31961 (memmove): Redefined to __redirect_memmove.
31962 (__memmove_sse2): Use typeof __redirect_memmove.
31963 (__memmove_ssse3): Likewise.
31964 (__memmove_ssse3_back): Likewise.
31965 (__libc_memmove): New prototype.
31966 (memmove): Renamed to ...
31967 (__libc_memmove): This.
31968 (memmove): New strong alias of __libc_memmove.
31970 2012-08-08 Mark Salter <msalter@redhat.com>
31973 (R_MN10300_TLS_GD): Define.
31974 (R_MN10300_TLS_LD): Likewise.
31975 (R_MN10300_TLS_LDO): Likewise.
31976 (R_MN10300_TLS_GOTIE): Likewise.
31977 (R_MN10300_TLS_IE): Likewise.
31978 (R_MN10300_TLS_LE): Likewise.
31979 (R_MN10300_TLS_DTPMOD): Likewise.
31980 (R_MN10300_TLS_DTPOFF): Likewise.
31981 (R_MN10300_TLS_TPOFF): Likewise.
31982 (R_MN10300_SYM_DIFF): Likewise.
31983 (R_MN10300_ALIGN): Likewise.
31984 (R_MN10300_NUM): Update.
31986 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31988 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31991 2012-08-08 Roland McGrath <roland@hack.frob.com>
31993 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31995 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31996 sysdeps/unix -> sysdeps/posix move.
31997 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31999 2012-08-07 Allan McRae <allan@archlinux.org>
32002 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32003 (SUNOS_CPP): Likewise.
32004 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32006 (open_input): Call CPP using execvp.
32008 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32010 * sysdeps/unix/sysv/linux/kernel-features.h
32011 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32012 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32013 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32014 (__ASSUME_WAITID_SYSCALL): Likewise.
32015 * sysdeps/unix/sysv/linux/dl-execstack.c
32016 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32017 code unconditional.
32018 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32020 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32021 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32022 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32024 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32026 [__ASSUME_WAITID_SYSCALL]: Likewise.
32027 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32029 2012-08-07 Roland McGrath <roland@hack.frob.com>
32031 * sysdeps/unix/closedir.c: Renamed to ...
32032 * sysdeps/posix/closedir.c: ... here.
32033 * sysdeps/unix/dirfd.c: Renamed to ...
32034 * sysdeps/posix/dirfd.c: ... here.
32035 * sysdeps/unix/dirstream.h: Renamed to ...
32036 * sysdeps/posix/dirstream.h: ... here.
32037 * sysdeps/unix/fdopendir.c: Renamed to ...
32038 * sysdeps/posix/fdopendir.c: ... here.
32039 * sysdeps/unix/opendir.c: Renamed to ...
32040 * sysdeps/posix/opendir.c: ... here.
32041 * sysdeps/unix/readdir.c: Renamed to ...
32042 * sysdeps/posix/readdir.c: ... here.
32043 * sysdeps/unix/readdir_r.c: Renamed to ...
32044 * sysdeps/posix/readdir_r.c: ... here.
32045 * sysdeps/unix/rewinddir.c: Renamed to ...
32046 * sysdeps/posix/rewinddir.c: ... here.
32047 * sysdeps/unix/seekdir.c: Renamed to ...
32048 * sysdeps/posix/seekdir.c: ... here.
32049 * sysdeps/unix/telldir.c: Renamed to ...
32050 * sysdeps/posix/telldir.c: ... here.
32051 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32052 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32053 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32054 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32056 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32057 * bits/fcntl.h: ... here.
32059 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32061 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32062 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32063 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32064 (struct flock): Move l_start, l_len to the beginning.
32065 Use __pid_t for l_pid.
32066 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32067 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32068 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32069 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32070 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32071 [__USE_LARGEFILE64] (struct flock64): New type.
32072 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32074 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32075 * bits/dirent.h: ... here.
32077 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32078 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32080 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32082 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32083 Change from 2.6.0 to 2.6.16.
32084 * sysdeps/unix/sysv/linux/configure: Regenerated.
32085 * sysdeps/unix/sysv/linux/kernel-features.h
32086 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32087 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32089 (__ASSUME_UTIMES): Likewise.
32090 (__ASSUME_CLONE_STOPPED): Remove.
32091 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32092 architectures, not kernel version.
32093 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32094 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32095 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32096 (__ASSUME_WAITID_SYSCALL): Likewise.
32097 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32098 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32099 * README: State 2.6.16 as minimum Linux kernel version. Do not
32100 refer to older versions.
32102 2012-08-06 Roland McGrath <roland@hack.frob.com>
32104 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32105 Define alphasort64 as an alias.
32106 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32107 Define versionsort64 as an alias.
32108 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32109 Define scandir64 as an alias.
32110 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32111 Define scandirat64 as an alias.
32112 * dirent/alphasort64.c (alphasort64):
32113 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32114 * dirent/versionsort64.c: Likewise.
32115 * dirent/scandir64.c: Likewise.
32116 * dirent/scandirat64.c: Likewise.
32117 * sysdeps/wordsize-64/alphasort.c: File removed.
32118 * sysdeps/wordsize-64/alphasort64.c: File removed.
32119 * sysdeps/wordsize-64/scandir.c: File removed.
32120 * sysdeps/wordsize-64/scandir64.c: File removed.
32121 * sysdeps/wordsize-64/scandirat.c: File removed.
32122 * sysdeps/wordsize-64/scandirat64.c: File removed.
32123 * sysdeps/wordsize-64/versionsort.c: File removed.
32124 * sysdeps/wordsize-64/versionsort64.c: File removed.
32125 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32126 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32127 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32128 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32129 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32130 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32131 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32132 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32134 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32135 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32136 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32138 [defined __arch64__ || defined __sparcv9]
32139 (__INO_T_MATCHES_INO64_T): New macro.
32140 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32141 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32142 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32143 * sysdeps/unix/sysv/linux/bits/dirent.h
32144 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32145 (_DIRENT_MATCHES_DIRENT64): New macro.
32147 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32148 Define lockf64 as an alias.
32149 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32150 Define fseeko64 as an alias.
32151 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32152 Define ftello64 as an alias.
32153 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32154 Define _IO_fgetpos64 and fgetpos64 as aliases.
32155 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32156 Define _IO_fsetpos64 and fsetpos64 as aliases.
32157 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32158 Conditionalize body on this.
32159 * libio/fseeko64.c: Likewise.
32160 * libio/ftello64.c: Likewise.
32161 * libio/iofgetpos64.c: Likewise.
32162 * libio/iofsetpos64.c: Likewise.
32163 * sysdeps/wordsize-64/lockf.c: File removed.
32164 * sysdeps/wordsize-64/lockf64.c: File removed.
32165 * sysdeps/wordsize-64/fseeko.c: File removed.
32166 * sysdeps/wordsize-64/fseeko64.c: File removed.
32167 * sysdeps/wordsize-64/ftello.c: File removed.
32168 * sysdeps/wordsize-64/ftello64.c: File removed.
32169 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32170 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32171 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32172 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32173 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32174 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32175 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32176 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32177 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32178 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32179 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32180 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32181 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32182 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32184 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32185 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32186 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32187 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32188 [defined __arch64__ || defined __sparcv9]
32189 (__OFF_T_MATCHES_OFF64_T): New macro.
32190 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32191 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32192 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32193 (__OFF_T_MATCHES_OFF64_T): New macro.
32195 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32197 * stdlib/secure-getenv.c (__secure_getenv): Replace
32198 GLIBC_2_16 with GLIBC_2_17.
32200 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32202 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32203 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32205 2012-08-03 David S. Miller <davem@davemloft.net>
32207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32209 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32211 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32213 (__ASSUME_CORRECT_SI_PID): Likewise.
32214 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32215 (__ASSUME_TMPFS_NAME): Likewise.
32216 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32217 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32218 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32219 (HAVE_AUX_SECURE): Make definition unconditional.
32220 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32221 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32223 2012-08-03 Roland McGrath <roland@hack.frob.com>
32225 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32226 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32227 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32228 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32229 __eloop_threshold instead of SYMLOOP_MAX.
32231 * sysdeps/generic/eloop-threshold.h: New file.
32232 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32234 * elf/chroot_canon.c (chroot_canon): Likewise.
32236 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32239 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32240 Change to 2.6.0 everywhere.
32241 * sysdeps/unix/sysv/linux/configure: Regenerated.
32242 * sysdeps/unix/sysv/linux/kernel-features.h
32243 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32244 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32246 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32247 (__ASSUME_FUTEX_REQUEUE): Remove.
32248 (__ASSUME_STATFS64): Define unconditionally.
32249 (__ASSUME_AT_SECURE): Likewise.
32250 (__ASSUME_CORRECT_SI_PID): Likewise.
32251 (__ASSUME_TGKILL): Define without depending on kernel version for
32253 (__ASSUME_UTIMES): Likewise.
32254 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32256 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32257 (__ASSUME_TMPFS_NAME): Likewise.
32258 * README: Update reference to Linux kernel versions.
32260 2012-08-02 Marek Polacek <polacek@redhat.com>
32263 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32264 libc_cv_asm_type_prefix with %.
32265 * configure: Regenerated.
32266 * include/libc-symbols.h: Remove comment about
32267 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32268 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32269 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32270 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32271 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32272 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32273 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32274 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32275 * elf/tst-unique2mod1.c: Likewise.
32276 * elf/tst-unique1mod2.c: Likewise.
32277 * elf/tst-unique1mod1.c: Likewise.
32278 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32279 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32280 Replace ASM_TYPE_DIRECTIVE with .type.
32281 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32282 * sysdeps/i386/sysdep.h: Likewise.
32283 * sysdeps/x86_64/sysdep.h: Likewise.
32284 * sysdeps/sh/sysdep.h: Likewise.
32285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32286 Do not define ASM_TYPE_DIRECTIVE.
32287 * sysdeps/powerpc/sysdep.h: Likewise.
32288 * sysdeps/powerpc/powerpc32/sysdep.h:
32289 Replace ASM_TYPE_DIRECTIVE with .type.
32290 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32291 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32292 * sysdeps/i386/fpu/e_powf.S: Likewise.
32293 * sysdeps/i386/fpu/e_expl.S: Likewise.
32294 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32295 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32296 * sysdeps/i386/fpu/e_pow.S: Likewise.
32297 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32298 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32299 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32300 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32301 * sysdeps/i386/fpu/e_log2.S: Likewise.
32302 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32303 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32304 * sysdeps/i386/fpu/e_powl.S: Likewise.
32305 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32306 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32307 * sysdeps/i386/fpu/e_logl.S: Likewise.
32308 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32309 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32310 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32311 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32312 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32313 * sysdeps/i386/fpu/e_log.S: Likewise.
32314 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32315 * sysdeps/i386/fpu/e_logf.S: Likewise.
32316 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32317 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32318 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32319 * sysdeps/i386/fpu/e_log10.S: Likewise.
32320 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32321 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32322 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32323 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32324 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32325 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32326 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32327 * sysdeps/i386/i686/strtok.S: Likewise.
32328 * sysdeps/i386/i386-mcount.S: Likewise.
32329 * sysdeps/i386/strtok.S: Likewise.
32330 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32331 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32332 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32333 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32334 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32335 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32336 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32337 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32338 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32339 * sysdeps/x86_64/_mcount.S: Likewise.
32340 * sysdeps/x86_64/strtok.S: Likewise.
32341 * sysdeps/sh/_mcount.S: Likewise.
32343 2012-08-01 Roland McGrath <roland@hack.frob.com>
32345 * libio/iofopen.c: Include <fcntl.h>.
32346 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32347 (_IO_fopen64, fopen64): Define as aliases.
32348 * libio/iofopen64.c: Include <fcntl.h>.
32349 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32350 Conditionalize body on this.
32351 * sysdeps/wordsize-64/iofopen.c: File removed.
32352 * sysdeps/wordsize-64/iofopen64.c: File removed.
32354 2012-08-01 Marek Polacek <polacek@redhat.com>
32356 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32357 Use dlfcn directly instead of a variable.
32358 (binfmt-subdir): Do not define.
32361 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32363 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32364 Remove all definitions.
32365 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32366 <kernel-features.h>.
32367 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32368 (miss_F_GETOWN_EX): Remove all definitions.
32369 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32371 [!__ASSUME_FCNTL64]: Remove conditional code.
32372 [__ASSUME_FCNTL64]: Make code unconditional.
32373 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32374 <kernel-features.h>.
32375 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32376 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32377 (lockf64) [__NR_fcntl64]: Make code unconditional.
32378 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32380 * sysdeps/unix/sysv/linux/kernel-features.h
32381 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32382 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32383 Make code unconditional.
32384 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32385 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32387 [__NR_vfork]: Make code unconditional.
32388 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32389 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32391 [__NR_vfork]: Make code unconditional.
32392 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32393 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32395 2012-08-01 Roland McGrath <roland@hack.frob.com>
32397 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32398 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32400 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32401 Define mkstemp64 as an alias.
32402 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32403 Define mkstemps64 as an alias.
32404 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32405 Define mkostemp64 as an alias.
32406 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32407 Define mkostemps64 as an alias.
32408 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32409 Conditionalize body on this.
32410 * misc/mkostemp64.c: Likewise.
32411 * misc/mkostemps64.c: Likewise.
32412 * misc/mkstemps64.c: Likewise.
32413 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32414 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32415 * sysdeps/wordsize-64/mkostemp.c: File removed.
32416 * sysdeps/wordsize-64/mkstemp.c: File removed.
32417 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32418 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32419 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32420 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32423 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32424 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32425 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32426 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32428 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32429 compat_symbol macros from <shlib-compat.h> rather than the underlying
32430 default_symbol_version and symbol_version macros, so that DEFAULT
32431 lines in shlib-versions are respected.
32432 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32434 2012-08-01 Florian Weimer <fweimer@redhat.com>
32436 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32437 Declare with warn_unused_result.
32438 (setgid, setregid, setegid, setresgid): Likewise.
32439 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32441 * WUR-REPORT: Remove set*id functions.
32443 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32445 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32447 2012-07-31 Roland McGrath <roland@hack.frob.com>
32450 * include/sys/socket.h (__libc_accept, __libc_accept4):
32451 Add attribute_hidden.
32452 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32454 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32456 * inet/getnetgrent_r.c (setup): Likewise.
32458 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32460 2012-07-31 David S. Miller <davem@davemloft.net>
32462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32464 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32467 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32468 value between 1.0 and 2.0 and smaller part has absolute value less
32470 * math/s_clog10.c (__clog10): Likewise.
32471 * math/s_clog10f.c (__clog10f): Likewise.
32472 * math/s_clog10l.c (__clog10l): Likewise.
32473 * math/s_clogf.c (__clogf): Likewise.
32474 * math/s_clogl.c (__clogl): Likewise.
32475 * math/libm-test.inc (clog_test): Add more tests.
32476 (clog10_test): Likewise.
32477 * sysdeps/i386/fpu/libm-test-ulps: Update.
32478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32480 2012-07-31 Florian Weimer <fweimer@redhat.com>
32482 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32483 Exit with zero in case no suitable GID is found, and write a
32484 message to standard error.
32486 2012-07-30 Roland McGrath <roland@hack.frob.com>
32488 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32490 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32491 (MAXPATHLEN): Removed.
32492 (NOGROUP, NODEV): New macros.
32493 (setbit, clrbit, isset, isclr): New macros.
32494 (howmany, roundup, powerof2): New macros.
32495 (DEV_BSIZE): New macro.
32497 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32498 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32500 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32501 definition on [!__NO_LONG_DOUBLE_MATH].
32503 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32504 PTR_MANGLE and PTR_DEMANGLE.
32506 * socket/accept4.c (accept4): Rename to __libc_accept4.
32507 Define accept4 as a weak alias.
32509 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32510 on [_DIRENT_HAVE_D_TYPE].
32511 * io/ftw.c (ftw_dir): Likewise.
32513 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32515 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32517 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32518 Use the BSD numbers rather than the arbitrary ones we had.
32519 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32520 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32521 (SIGXCPU, SIGXFSZ): New macros.
32524 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32525 initializer on [_LIBC_REENTRANT].
32527 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32528 definitions inside [_POSIX_MAPPED_FILES].
32530 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32532 * dirent/opendir.c: Include <fcntl.h>.
32534 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32535 (__libc_getspecific): Likewise.
32536 (__libc_key_create): Likewise.
32538 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32539 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32540 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32541 (tmpfile64): Define as alias.
32542 * sysdeps/wordsize-64/tmpfile.c: File removed.
32543 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32544 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32545 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32547 * stdio-common/vfscanf.c: Include <stdbool.h>.
32548 * nss/makedb.c: Likewise.
32549 * stdio-common/_i18n_number.h: Likewise.
32550 * argp/argp-help.c: Likewise.
32551 * posix/wordexp.c: Likewise.
32552 * sysdeps/posix/spawni.c: Likewise.
32553 * nss/nss_files/files-initgroups.c: Likewise.
32554 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32555 * nss/nss_files/files-initgroups.c: Likewise.
32556 * nss/nss_db/db-netgrp.c: Likewise.
32557 * nss/nss_db/db-initgroups.c: Likewise.
32558 * io/fchmodat.c: Include <sys/stat.h>.
32560 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32561 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32563 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32566 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32567 Add multiple inclusion protection.
32569 2012-07-27 David S. Miller <davem@davemloft.net>
32571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32573 2012-07-27 Gary Benson <gbenson@redhat.com>
32576 * elf/rtld.c: Include <stap-probe.h>.
32577 (dl_main): Added static probes "init_start" and "init_complete".
32578 * elf/dl-load.c: Include <stap-probe.h>.
32579 (lose): Take new parameter "nsid".
32580 Added static probe "map_failed".
32581 (_dl_map_object_from_fd): Pass namespace id to lose.
32582 Added static probe "map_start".
32583 (open_verify): Pass namespace id to lose.
32584 * elf/dl-open.c: Include <stap-probe.h>.
32585 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32586 and "reloc_complete".
32587 * elf/dl-close.c: Include <stap-probe.h>.
32588 (_dl_close_worker): Added static probes "unmap_start" and
32590 * elf/rtld-debugger-interface.txt: New file documenting the above.
32592 2012-07-26 Roland McGrath <roland@hack.frob.com>
32594 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32595 rather than a string variable.
32596 * sunrpc/rpc_main.c (h_output): Likewise.
32597 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32599 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32601 * inet/check_native.c: New file.
32603 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32606 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32607 if larger part has absolute value 1.0.
32608 * math/s_clog10.c (__clog10): Likewise.
32609 * math/s_clog10f.c (__clog10f): Likewise.
32610 * math/s_clog10l.c (__clog10l): Likewise.
32611 * math/s_clogf.c (__clogf): Likewise.
32612 * math/s_clogl.c (__clogl): Likewise.
32613 * math/libm-test.inc (clog_test): Add more tests.
32614 (clog10_test): Likewise.
32615 * sysdeps/i386/fpu/libm-test-ulps: Update.
32616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32618 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32619 (pltexit): Likewise.
32620 (La_regs): Likewise.
32621 (La_retval): Likewise.
32622 (int_retval): Likewise.
32623 Update #error for removed macros to refer only to definitions in
32625 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32627 (pltexit): Likewise.
32628 (La_regs): Likewise.
32629 (La_retval): Likewise.
32630 (int_retval): Likewise.
32631 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32633 (pltexit): Likewise.
32634 (La_regs): Likewise.
32635 (La_retval): Likewise.
32636 (int_retval): Likewise.
32637 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32639 (pltexit): Likewise.
32640 (La_regs): Likewise.
32641 (La_retval): Likewise.
32642 (int_retval): Likewise.
32643 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32645 (pltexit): Likewise.
32646 (La_regs): Likewise.
32647 (La_retval): Likewise.
32648 (int_retval): Likewise.
32649 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32651 (pltexit): Likewise.
32652 (La_regs): Likewise.
32653 (La_retval): Likewise.
32654 (int_retval): Likewise.
32655 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32657 (pltexit): Likewise.
32658 (La_regs): Likewise.
32659 (La_retval): Likewise.
32660 (int_retval): Likewise.
32661 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32662 macro definitions in tst-audit.h.
32663 * sysdeps/i386/tst-audit.h: New file.
32664 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32665 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32666 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32667 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32668 * sysdeps/sh/tst-audit.h: Likewise.
32669 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32670 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32671 * sysdeps/x86_64/tst-audit.h: Likewise.
32673 2012-07-26 Andreas Jaeger <aj@suse.de>
32675 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32678 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32679 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32680 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32682 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32683 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32684 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32686 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32689 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32691 (si_call_addr, si_syscall, si_arch): Define new macro.
32692 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32694 (si_call_addr, si_syscall, si_arch): Define new marcro.
32695 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32697 (si_call_addr, si_syscall, si_arch): Define new macro.
32698 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32700 (si_call_addr, si_syscall, si_arch): Define new macro.
32702 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32705 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32706 Change to 2.4.21 where previously 2.4.1.
32707 * sysdeps/unix/sysv/linux/configure: Regenerated.
32708 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32709 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32710 Linux kernel version.
32711 (__ASSUME_STD_AUXV): Remove.
32712 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32714 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32715 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32716 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32717 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32718 (__ASSUME_NETLINK_SUPPORT): Likewise.
32719 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32720 (__no_netlink_support): Remove conditional definition.
32721 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32723 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32724 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32725 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32726 (if_nameindex_ioctl): Remove.
32727 (if_nameindex_netlink): Do not handle __no_netlink_support.
32728 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32730 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32731 Remove conditional code.
32732 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32734 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32736 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32737 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32738 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32740 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32741 [!__ASSUME_STD_AUXV]: Remove conditional code.
32742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32743 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32744 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32746 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32747 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32749 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32751 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32752 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32754 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32756 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32759 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32762 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32763 code unconditional.
32764 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32766 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32768 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32771 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32773 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32776 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32777 code unconditional.
32778 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32780 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32782 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32785 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32786 code unconditional.
32787 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32789 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32791 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32794 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32796 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32797 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32798 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32799 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32800 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32801 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32802 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32803 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32804 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32805 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32806 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32807 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32808 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32809 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32810 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32811 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32812 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32813 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32814 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32815 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32816 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32817 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32818 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32820 2012-07-25 Florian Weimer <fweimer@redhat.com>
32822 * Versions.def: Add GLIBC_2.17.
32823 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32824 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32825 Introduce __libc_secure_getenv.
32826 * stdlib/Versions (2.17): Add secure_getenv
32827 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32828 * stdlib/secure-getenv.c: Rename __secure_getenv to
32829 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32830 symbol __secure_getenv for GLIBC_2.0.
32831 * stdlib/tst-secure-getenv.c: New.
32832 * stdlib/Makefile (tests): Add testcase.
32833 * manual/startup.texi (Environment Access): Document
32835 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32836 __libc_secure_getenv.
32837 * inet/ruserpass.c (ruserpass): Likewise.
32838 * malloc/mtrace.c (mtrace): Likewise.
32839 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32840 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32841 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32842 * sysdeps/posix/tempname.c: Likewise. Evaluate
32843 HAVE_SECURE_GETENV.
32844 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32845 __secure_getenv to __libc_secure_getenv.
32846 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32853 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32859 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32861 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32862 (struct La_i86_retval): Likewise.
32863 (struct La_x86_64_regs): Likewise.
32864 (struct La_x86_64_retval): Likewise.
32865 (struct La_x32_regs): Likewise.
32866 (struct La_x32_retval): Likewise.
32867 (struct La_ppc32_regs): Likewise.
32868 (struct La_ppc32_retval): Likewise.
32869 (struct La_ppc64_regs): Likewise.
32870 (struct La_ppc64_retval): Likewise.
32871 (struct La_sh_regs): Likewise.
32872 (struct La_sh_retval): Likewise.
32873 (struct La_s390_32_regs): Likewise.
32874 (struct La_s390_32_retval): Likewise.
32875 (struct La_s390_64_regs): Likewise.
32876 (struct La_s390_64_retval): Likewise.
32877 (struct La_sparc32_regs): Likewise.
32878 (struct La_sparc32_retval): Likewise.
32879 (struct La_sparc64_regs): Likewise.
32880 (struct La_sparc64_retval): Likewise.
32881 (struct audit_ifaces): Remove architecture-specific pltenter and
32883 * sysdeps/i386/ldsodefs.h: New file.
32884 * sysdeps/powerpc/ldsodefs.h: Likewise.
32885 * sysdeps/s390/ldsodefs.h: Likewise.
32886 * sysdeps/sh/ldsodefs.h: Likewise.
32887 * sysdeps/sparc/ldsodefs.h: Likewise.
32888 * sysdeps/x86_64/ldsodefs.h: Likewise.
32890 2012-07-25 Marek Polacek <polacek@redhat.com>
32893 * math/libm-test.inc (yn_test): Add another test.
32894 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32895 to ERANGE when the result is +-Inf.
32896 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32897 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32898 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32899 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32901 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32903 * conform/data/time.h-data (NULL): Use macro-constant. Require
32905 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32907 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32909 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32911 * configure.in <sysdeps resolving>: Correct printing
32913 * configure: Regenerate.
32915 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32917 * math/w_ilogb.c: Include <limits.h>.
32918 * math/w_ilogbl.c: Likewise.
32920 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32922 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32923 va_copy. Document allowing for unavailable va_copy only as
32924 pre-C99 compatibility.
32925 * manual/string.texi (Copying and Concatenation): Use va_copy
32926 instead of __va_copy in concat example.
32928 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32930 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32931 (__sendto): Use create_address_port. Initialize APORT and deallocate
32934 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32935 with O_NOLINK passed to __file_name_lookup.
32937 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32938 with O_NOLINK passed to __file_name_lookup.
32940 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32941 negative N or less than NGIDS.
32943 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32944 type to string_t. Set ERANGE as errno and return it if NAME is not big
32945 enough. Use memcpy instead of strncpy.
32947 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32949 * elf/Makefile (check-data): Remove.
32950 (localplt.data): New vpath directive.
32951 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32952 instead of $(check-data).
32953 * scripts/data/localplt-generic.data: Move to ...
32954 * sysdeps/generic/localplt.data: ... here.
32955 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32956 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32957 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32960 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32963 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32966 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32969 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32972 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32976 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32978 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32979 PPC32 and PPC64 files.
32980 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32981 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32983 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32985 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32986 __makecontext_ret to ...
32987 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32988 ... here and call exit if uc_link is NULL. New file.
32989 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32990 __makecontext_ret.S.
32991 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32992 __makecontext_ret to ...
32993 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32994 ... here and call exit if uc_link is NULL. New file.
32995 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32996 __makecontext_ret.S.
32998 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33000 * elf/elf.h (R_390_IRELATIVE): New definition.
33001 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33002 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33003 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33004 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33005 (elf_machine_lazy_rel): Likewise.
33006 * sysdeps/s390/dl-irel.h: New file.
33007 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33008 * sysdeps/s390/s390-64/memset.S: New asm code.
33009 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33010 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33011 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33012 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33013 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33014 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33015 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33016 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33017 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33018 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33019 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33020 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33021 * sysdeps/s390/s390-32/memset.S: New asm code.
33022 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33024 2012-07-17 Marek Polacek <polacek@redhat.com>
33027 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33028 * sysdeps/s390/s390-64/configure.in: Likewise.
33029 * sysdeps/sparc/configure.in: Likewise.
33030 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33031 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33032 * sysdeps/i386/configure.in: Likewise.
33033 * sysdeps/x86_64/configure.in: Likewise.
33034 * sysdeps/sh/configure.in: Likewise.
33035 * sysdeps/s390/s390-32/configure: Regenerated.
33036 * sysdeps/s390/s390-64/configure: Likewise.
33037 * sysdeps/x86_64/configure: Likewise.
33038 * sysdeps/sh/configure: Likewise.
33039 * sysdeps/powerpc/powerpc64/configure: Likewise.
33040 * sysdeps/powerpc/powerpc32/configure: Likewise.
33041 * sysdeps/sparc/configure: Likwise.
33042 * sysdeps/i386/configure: Likewise.
33044 * elf/dl-open.c: Comment fixes.
33046 2012-07-17 Joseph Myers <joseph@codesourcery.com>
33048 * Makefile [CXX] (check-data): Remove.
33049 [CXX] (c++-types.data): New vpath directive.
33050 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33051 vpath. Do not allow for C++ type data being missing.
33052 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33053 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33054 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33055 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33056 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33057 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33058 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33061 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33064 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33067 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33070 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33073 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33076 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33079 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33082 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33083 definitions to architecture-specific files.
33084 (TLS_IE): Likewise.
33085 (TLS_LD): Likewise.
33086 (TLS_GD): Likewise.
33087 * sysdeps/i386/tls-macros.h: New file.
33088 * sysdeps/powerpc/tls-macros.h: Likewise.
33089 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33090 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33091 * sysdeps/sh/tls-macros.h: Likewise.
33092 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33093 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33094 * sysdeps/x86_64/tls-macros.h: Likewise.
33096 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33098 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33099 zero value for regular exit case.
33101 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33102 (__start_context): Preserve zero value for regular exit case.
33104 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33105 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33107 * manual/setjmp.texi (setcontext): Clarify normal process
33108 termination when uc_link is the null pointer.
33109 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33112 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33114 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33115 preprocessor. Test for each exception mask separately.
33117 2012-07-16 Andreas Jaeger <aj@suse.de>
33119 * po/ru.po: Update from translation team.
33121 2012-07-15 Joseph Myers <joseph@codesourcery.com>
33123 * conform/data/string.h-data (NULL): Use macro-constant. Require
33125 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33126 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33127 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33128 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33129 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33131 2012-07-13 Andreas Jaeger <aj@suse.de>
33133 * po/fr.po: Update from translation team.
33135 2012-07-12 Marek Polacek <polacek@redhat.com>
33138 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33139 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33142 2012-07-12 Joseph Myers <joseph@codesourcery.com>
33145 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33146 Change to 2.4.1 where previously 2.4.0.
33147 * sysdeps/unix/sysv/linux/configure: Regenerated.
33148 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33149 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33151 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33152 (__ASSUME_AT_CLKTCK): Remove.
33153 (__ASSUME_AT_PAGESIZE): Likewise.
33154 (__ASSUME_AT_XID): Likewise.
33155 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33156 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33157 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33159 (HAVE_AUX_PAGESIZE): Likewise.
33160 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33161 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33162 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33164 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33168 the temporary buffer used to invoke __gethostbyname2_r,
33169 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33170 host_data / struct gaih_addrtuple.
33171 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33172 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33173 header file nss/nsswitch.h.
33174 * nss/nsswitch.h (global scope): Add definition of implementation
33175 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33176 resolv/nss_dns/dns-host.c).
33178 2012-07-11 Andreas Jaeger <aj@suse.de>
33180 * po/fr.po: Update from translation team.
33182 * po/sv.po: Update from translation team
33183 * po/fr.po: Another update from translation team.
33185 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33187 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33188 for subnormals or multiply small sinh result by itself.
33189 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33192 2012-07-11 David S. Miller <davem@davemloft.net>
33194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33196 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33199 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33200 (INTERNAL_MARK): Shift it here.
33202 2012-07-10 Marek Polacek <polacek@redhat.com>
33205 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33206 libc_cv_asm_global_directive with .globl.
33207 * configure: Regenerated.
33208 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33210 * sysdeps/i386/configure: Regenerated.
33211 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33213 * sysdeps/x86_64/configure: Regenerated.
33214 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33215 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33216 * elf/tst-unique2mod2.c: Likewise.
33217 * elf/tst-unique2mod1.c: Likewise.
33218 * elf/tst-unique1mod2.c: Likewise.
33219 * elf/tst-unique1mod1.c: Likewise.
33220 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33221 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33222 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33223 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33224 * sysdeps/mach/sysdep.h: Likewise.
33225 * sysdeps/i386/sysdep.h: Likewise.
33226 * sysdeps/i386/i386-mcount.S: Likewise.
33227 * sysdeps/x86_64/_mcount.S: Likewise.
33228 * sysdeps/x86_64/sysdep.h: Likewise.
33229 * sysdeps/sh/_mcount.S: Likewise.
33230 * sysdeps/sh/sysdep.h: Likewise.
33231 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33232 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33233 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33234 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33235 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33236 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33237 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33238 * locale/localeinfo.h: Likewise.
33239 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33240 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33242 2012-07-09 Roland McGrath <roland@hack.frob.com>
33245 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33247 * manual/message.texi (The Uniforum approach): Likewise.
33248 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33249 (glibc iconv Implementation): Likewise.
33251 2012-07-09 Joseph Myers <joseph@codesourcery.com>
33254 * math/s_clog.c (__clog): Avoid scaling a value down where that
33255 could result in underflow.
33256 * math/s_clog10.c (__clog10): Likewise.
33257 * math/s_clog10f.c (__clog10f): Likewise.
33258 * math/s_clog10l.c (__clog10l): Likewise.
33259 * math/s_clogf.c (__clogf): Likewise.
33260 * math/s_clogl.c (__clogl): Likewise.
33261 * math/libm-test.inc (clog_test): Add more tests.
33262 (clog10_test): Likewise.
33263 * sysdeps/i386/fpu/libm-test-ulps: Update.
33264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33266 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33269 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33270 by 7 not 8 to examine high bit of fractional part.
33273 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33274 for call to __mcount_internal.
33275 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33276 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33277 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33279 2012-07-06 Joseph Myers <joseph@codesourcery.com>
33282 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33283 approximation for values within 0x1p-13f of an odd multiple of
33285 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33286 exception. Add more tests.
33287 * sysdeps/i386/fpu/libm-test-ulps: Update.
33290 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33291 inputs and return -1 for them. Do not check for +Inf in case not
33292 reachable for +Inf.
33293 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33294 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33295 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33296 and return -1 for them. Do not check for +Inf in case not
33297 reachable for +Inf.
33298 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33300 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33301 and return -1 for them. Do not check for +Inf in case not
33302 reachable for +Inf.
33303 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33304 spurious underflow.
33305 * sysdeps/i386/fpu/libm-test-ulps: Update.
33306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33308 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33310 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33312 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33316 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33317 could result in spurious underflow. Scale down values above
33318 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33319 * math/s_csqrtf.c (__csqrtf): Likewise.
33320 * math/s_csqrtl.c (__csqrtl): Likewise.
33321 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33322 spurious underflow.
33323 * sysdeps/i386/fpu/libm-test-ulps: Update.
33324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33326 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33328 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33330 * catgets/xopen-msg.awk: New file.
33331 * catgets/xopen-msg.sed: Removed.
33333 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33335 * intl/po2test.awk: New file.
33336 * intl/po2test.sed: Removed.
33338 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33341 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33342 or multiply small sinh result by itself.
33343 * math/s_ctanf.c (__ctanf): Likewise.
33344 * math/s_ctanh.c (__ctanh): Likewise.
33345 * math/s_ctanhf.c (__ctanhf): Likewise.
33346 * math/s_ctanhl.c (__ctanhl): Likewise.
33347 * math/s_ctanl.c (__ctanl): Likewise.
33348 * math/libm-test.inc (ctan_test_tonearest): New function.
33349 (ctan_test_towardzero): Likewise.
33350 (ctan_test_downward): Likewise.
33351 (ctan_test_upward): Likewise.
33352 (ctanh_test_tonearest): Likewise.
33353 (ctanh_test_towardzero): Likewise.
33354 (ctanh_test_downward): Likewise.
33355 (ctanh_test_upward): Likewise.
33356 (main): Call these new functions.
33357 * sysdeps/i386/fpu/libm-test-ulps: Update.
33358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33360 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33362 * .gitignore: Delete /ports entry.
33364 2012-07-03 Andreas Jaeger <aj@suse.de>
33366 * po/bg.po: Update from translation team.
33367 * po/cs.po: Likewise.
33368 * po/de.po: Likewise.
33369 * po/hr.po: Likewise.
33370 * po/nl.pl: Likewise.
33371 * po/pl.po: Likewise.
33372 * po/vi.po: Likewise.
33374 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33376 * Makeconfig [!+link] (+link-before-libc): New variable.
33377 [!+link] (+link-after-libc): Likewise.
33378 [!+link] (+link-tests): Likewise.
33379 [!+link] (+link): Define in terms of $(+link-before-libc) and
33380 $(+link-after-libc).
33381 [!+link-static] (+link-static-before-libc): New variable.
33382 [!+link-static] (+link-static-after-libc): Likewise.
33383 [!+link-static] (+link-static-tests): Likewise.
33384 [!+link-static] (+link-static): Define in terms of
33385 $(+link-static-before-libc) and $(+link-static-after-libc).
33386 [build-shared] (link-libc-before-gnulib): New variable.
33387 [build-shared] (link-libc-tests): Likewise.
33388 [build-shared] (link-libc): Define in terms of
33389 $(link-libc-before-gnulib).
33390 [!build-shared] (link-libc-tests): New variable.
33391 (link-libc-static-tests): New variable.
33392 [!gnulib] (gnulib-arch): New variable.
33393 [!gnulib] (gnulib-tests): Likewise.
33394 [!gnulib] (static-gnulib-arch): Likewise.
33395 [!gnulib] (static-gnulib-tests): Likewise.
33396 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33397 Define with "=" instead of ":=".
33398 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33399 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33400 * Rules (binaries-all-notests): New variable.
33401 (binaries-all-tests): Likewise.
33402 (binaries-static-notests): Likewise.
33403 (binaries-static-tests): Likewise.
33404 (binaries-all): Define using $(binaries-all-notests) and
33405 $(binaries-all-tests).
33406 (binaries-static): Define using $(binaries-static-notests) and
33407 $(binaries-static-tests).
33408 (binaries-shared-tests): New variable.
33409 (binaries-shared-notests): Likewise.
33410 (binaries-shared): Remove variable.
33411 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33412 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33413 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33414 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33415 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33416 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33417 * elf/Makefile (sln-modules): New variable.
33418 (extra-objs): Add $(sln-modules:=.o).
33419 (ldconfig-modules): Add static-stubs.
33420 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33421 * elf/static-stubs.c: New file.
33424 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33425 by 7 not 8 to examine high bit of fractional part. Use volatile
33426 variables when splitting into final array of floats if
33427 __FLT_EVAL_METHOD__ != 0.
33428 * math/libm-test.inc (cos_test): Add another test.
33429 (sin_test): Likewise.
33430 * sysdeps/i386/fpu/libm-test-ulps: Update.
33433 * math/libm-test.inc (cosh_test): Add more tests.
33435 * version.h (RELEASE): Set to "development".
33436 (VERSION): Set to "2.16.90".
33438 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33440 * NEWS: Update copyright. Remove last-updated date.
33441 Mention math library bug fixes and timezone data changes.
33442 * README: Mention GNU/Hurd, x32, and HPPA support status.
33444 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33446 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33448 2012-06-27 Andreas Jaeger <aj@suse.de>
33450 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33452 2012-06-25 Andreas Jaeger <aj@suse.de>
33454 * sysdeps/s390/fpu/libm-test-ulps: Update.
33456 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33457 Thomas Schwinge <thomas@codesourcery.com>
33459 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33460 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33461 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33464 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33466 * sysdeps/mach/start.c: Remove file.
33467 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33468 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33469 * sysdeps/sh/init-first.c: Likewise.
33471 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33472 registers for frame unwinding purposes, add CFI directives.
33473 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33474 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33475 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33478 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33479 __fortify_fail returning.
33480 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33482 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33483 sysdeps/sh/____longjmp_chk.S.
33484 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33485 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33486 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33487 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33489 * sysdeps/sh/abort-instr.h: New file.
33490 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33491 process in case exit returns.
33493 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33494 initialize the GOT register before use.
33496 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33497 calculation of ARGC > 4.
33499 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33500 meaningful names to some local labels.
33502 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33503 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33505 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33506 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33507 (__arch_compare_and_exchange_val_16_acq): Likewise.
33508 (__arch_compare_and_exchange_val_32_acq): Likewise.
33509 (atomic_exchange_and_add): Fix gUSA sequence.
33510 (atomic_add): Likewise.
33511 (atomic_add_negative): Likewise.
33512 (atomic_add_zero): Likewise.
33513 (atomic_bit_test_set): Likewise.
33515 2012-06-22 Andreas Schwab <schwab@redhat.com>
33518 * include/link.h (struct link_map): Add l_free_initfini.
33519 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33521 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33522 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33523 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33526 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33528 * configure.in: Use AC_LANG_SOURCE.
33529 * configure: Regenerate.
33531 2012-06-22 Roland McGrath <roland@hack.frob.com>
33533 * configure.in (libc_cv_localstatedir): New substituted variable.
33534 * configure: Regenerated.
33535 * config.make.in (localstatedir): New variable, substituted from
33536 libc_cv_localstatedir.
33537 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33538 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33539 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33540 * sysdeps/gnu/configure: Regenerated.
33542 2012-06-21 Jeff Law <law@redhat.com>
33545 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33546 free. Simplify list management for _LIBC case.
33548 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33551 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33552 Clear sign bit of 64-bit integer value before comparing against
33555 * sysdeps/mach/configure: Regenerated.
33557 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33560 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33562 2012-06-21 Jeff Law <law@redhat.com>
33565 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33566 uint16_t for elements in the "seen" array to avoid char overflows.
33567 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33568 * elf/dl-open.c (dl_open_worker): Likewise.
33570 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33572 * scripts/list-sources.sh: Scan PORTS for translations.
33573 * po/libc.pot: Regenerated.
33575 2012-06-21 Andreas Jaeger <aj@suse.de>
33578 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33580 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33581 * bits/byteswap-16.h (__bswap_16): Likewise.
33582 * bits/byteswap.h (__bswap_constant_16): Likewise.
33584 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33587 * sysdeps/i386/fpu_control.h: Removed.
33588 * sysdeps/x86_64/fpu_control.h: Moved to ...
33589 * sysdeps/x86/fpu_control.h: Here.
33591 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33592 (_FPU_SETCW): Likewise.
33594 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33597 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33598 * sysdeps/x86/fpu/bits/mathinline.h: This.
33599 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33603 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33604 functions if __x86_64__ is defined.
33606 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33608 * string/endian.h: Add !__ASSEMBLER__ condition for including
33609 conversion interfaces.
33611 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33614 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33615 of ABS(x) in calculating zero to negative powers other than odd
33617 * math/libm-test.inc (pow_test): Add more tests.
33619 2012-06-15 Andreas Jaeger <aj@suse.de>
33621 * manual/contrib.texi (Contributors): Update entry of Liubov
33622 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33625 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33627 * string/string.h: Add __wur to GNU version of strerror_r.
33629 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33632 * string/Makefile (tests): Add tst-strtok_r.
33633 * string/tst-strtok_r.c: New file.
33634 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33635 RAX_LP/RDX_LP on SAVE_PTR.
33637 2012-06-14 Roland McGrath <roland@hack.frob.com>
33639 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33641 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33643 * libm_test.inc (csqrt_test): Allow more spurious underflow
33645 (j0_test): Likewise.
33646 (j1_test): Likewise.
33647 (y0_test): Likewise.
33648 (y1_test): Likewise.
33650 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33652 * po/Makefile (libc.pot): Use UTF-8 charset.
33654 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33657 Suppress sign-conversion warning from FD_SET.
33658 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33659 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33660 not unsigned long int.
33661 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33663 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33667 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33668 __extern_always_inline instead of __extern_inline.
33669 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33670 (__signbit): Likewise.
33671 (__signbitl): Support C++ namespace.
33672 (lrintf): New inline function.
33674 (llrintf): Likewise.
33675 (llrint): Likewise.
33685 (floorf): Likewise.
33686 (nearbyint): Likewise.
33687 (nearbyintf): Likewise.
33689 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33691 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33692 non-default versions.
33694 2012-06-11 Roland McGrath <roland@hack.frob.com>
33697 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33699 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33701 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33702 (FE_UPWARD, FE_DOWNWARD): Don't define.
33703 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33704 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33706 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33708 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33709 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33711 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33713 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33714 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33715 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33716 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33718 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33721 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33722 * sysdeps/i386/fpu/Implies: New file.
33723 * sysdeps/x86_64/fpu/Implies: Likewise.
33724 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33725 * sysdeps/x86/fpu/bits/fenv.h: This.
33727 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33730 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33733 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33734 character 0xffff that matches the last element of the
33737 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33739 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33742 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33744 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33745 values higher than 25.6283.
33747 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33749 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33750 subnormal exponent extraction and add some __builtin_expect.
33751 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33752 Fix for subnormal mantissa calculation.
33754 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33756 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33757 cpu2 is -1 and errno is not ENOSYS.
33759 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33762 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33763 * sysdeps/x86/bits/string.h: This.
33764 * sysdeps/x86_64/bits/string.h: Removed.
33766 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33767 if not compiling for x86-64, but compiling for >= i486.
33769 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33770 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33772 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33773 New macro from Linux kernel 3.4.0.
33774 (FP_XSTATE_MAGIC2): Likewise.
33775 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33776 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33777 (struct _fpx_sw_bytes): New struct.
33778 (struct _xsave_hdr): Likewise.
33779 (struct _ymmh_state): Likewise.
33780 (struct _xstate): Likewise.
33782 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33783 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33784 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33785 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33786 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33787 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33789 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33790 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33791 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33792 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33793 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33794 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33796 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33799 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33800 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33801 (sysdep_headers): Include sys/platform/ppc.h.
33802 * sysdeps/powerpc/test-gettimebase.c: Test for
33803 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33804 * manual/Makefile (appendices): Include platform.texi.
33805 * manual/contrib.texi (Contributors): Update @node pointers.
33806 * manual/maint.texi (Maintenance): Likewise.
33807 (Platform): New node.
33808 * manual/platform.texi: New file. Document the new features.
33810 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33811 Jakub Jelinek <jakub@redhat.com>
33814 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33815 where __builtin_expect is unavailable.
33817 2012-06-03 David S. Miller <davem@davemloft.net>
33819 * stdlib/longlong.h: Updated from GCC.
33821 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33824 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33825 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33828 (GLIBC_2.16): Likewise.
33830 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33832 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33834 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33837 (default-abi): New variable.
33838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33839 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33841 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33843 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33845 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33848 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33849 definition. Document in comment.
33851 2012-06-01 David S. Miller <davem@davemloft.net>
33853 * stdlib/longlong.h: Updated from GCC.
33855 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33858 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33859 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33860 sys/debugreg.h sys/io.h here.
33861 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33862 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33864 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33865 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33866 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33867 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33868 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33869 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33871 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33872 Define only if __x86_64__ is defined.
33874 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33877 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33878 Use int64_t for variable i.
33879 * math/libm-test.inc (fmod_test): Add more tests.
33881 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33882 z computation is not scheduled after fetestexcept.
33883 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33884 Use math_force_eval instead of asm to ensure calculation scheduled
33885 before exception test.
33886 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33887 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33889 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33891 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33892 computation is not scheduled after fetestexcept.
33894 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33897 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33898 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33900 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33902 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33903 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33905 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33908 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33910 (__WCHAR_MIN): Support __WORDSIZE == 64.
33911 (__WCHAR_MAX): Likewise.
33913 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33914 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33917 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33918 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33921 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33922 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33924 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33925 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33927 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33928 Defined to 1 if __x86_64__ isn't defined.
33929 (_STAT_VER_LINUX_OLD): New.
33930 (st_atime): Remove duplicate.
33931 (st_mtime): Likewise.
33932 (st_ctime): Likewise.
33934 2012-05-31 David S. Miller <davem@davemloft.net>
33936 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33939 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33941 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33945 * elf/dl-reloc.c: Include <_itoa.h>.
33946 (_dl_reloc_bad_type): Remove use of INTUSE.
33947 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33948 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33949 * stdio-common/psiginfo.c (psiginfo): Likewise.
33950 * stdio-common/psignal.c (psignal): Likewise.
33951 * string/strsignal.c (strsignal): Likewise.
33952 * include/signal.h (_sys_siglist): Declare hidden proto.
33953 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33954 INTVARDEF with libc_hidden_data_def.
33955 * stdio-common/itoa-udigits.c: Likewise.
33956 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33957 (_itoa_lower_digits_internal): Remove declaration.
33958 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33959 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33960 (_sys_sigabbrev_internal): Remove aliases.
33961 (_sys_siglist): Define hidden alias.
33963 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33965 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33968 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33971 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33972 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33974 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33975 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33976 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33977 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33978 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33979 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33981 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33982 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33983 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33985 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33993 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33994 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33995 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33997 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33998 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33999 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34000 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34001 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34002 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34004 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34005 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34007 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34008 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34010 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34011 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34012 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34014 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34015 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34017 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34019 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34020 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34021 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34023 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34025 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34027 2012-05-31 Joseph Myers <joseph@codesourcery.com>
34029 * math/math.h (M_El): Use two more decimal places.
34030 (M_LOG2El): Likewise.
34031 (M_LOG10El): Likewise.
34032 (M_LN2l): Likewise.
34033 (M_LN10l): Likewise.
34035 (M_PI_2l): Likewise.
34036 (M_PI_4l): Likewise.
34037 (M_1_PIl): Likewise.
34038 (M_2_PIl): Likewise.
34039 (M_2_SQRTPIl): Likewise.
34040 (M_SQRT2l): Likewise.
34041 (M_SQRT1_2l): Likewise.
34043 2012-05-31 David S. Miller <davem@davemloft.net>
34045 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34046 values between float registers.
34047 * sysdeps/sparc/sparc64/memset.S: Likewise.
34048 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34050 2012-05-31 Mike Frysinger <vapier@gentoo.org>
34052 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34053 -D_FORTIFY_SOURCE=1.
34054 (CPPFLAGS-tst-longjmp_chk.c): Define.
34055 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34056 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34057 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34058 CFLAGS-tst-wchar-h.c.
34060 2012-05-31 Marek Polacek <polacek@redhat.com>
34063 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34064 __endmntent_internal): Remove declaration.
34065 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34066 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34067 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34069 2012-05-30 David S. Miller <davem@davemloft.net>
34071 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34072 (___Q_simulate_exceptions): Use real FP ops rather than writing
34074 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34077 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34080 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34081 * sysdeps/x86/bits/xtitypes.h: This.
34083 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34084 * sysdeps/x86/bits/wordsize.h: This.
34086 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34087 * sysdeps/x86/bits/huge_vall.h: This.
34089 * sysdeps/i386/bits/select.h: Removed.
34090 * sysdeps/x86_64/bits/select.h: Renamed to ...
34091 * sysdeps/x86/bits/select.h: This.
34093 * sysdeps/i386/bits/setjmp.h: Removed.
34094 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34095 * sysdeps/x86/bits/setjmp.h: This.
34097 * sysdeps/i386/bits/mathdef.h: Removed.
34098 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34099 * sysdeps/x86/bits/mathdef.h: This.
34101 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34104 * include/sys/socket.h (__connect_internal)
34105 (__libc_sa_len_internal): Remove declaration.
34106 (__connect, __libc_sa_len): Declare hidden_proto.
34107 (SA_LEN): Remove use of INTUSE.
34108 * socket/connect.c: Add libc_hidden_def.
34109 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34110 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34111 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34113 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34114 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34115 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34116 of adding _internal alias.
34118 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34121 * sysdeps/i386/bits/link.h: Removed.
34122 * sysdeps/i386/bits/linkmap.h: Likewise.
34123 * sysdeps/x86_64/bits/link.h: Renamed to ...
34124 * sysdeps/x86/bits/link.h: This.
34125 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34126 * sysdeps/x86/bits/linkmap.h: This.
34128 * sysdeps/i386/bits/endian.h: Removed.
34129 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34130 * sysdeps/x86/bits/endian.h: This.
34132 * sysdeps/i386/bits/byteswap.h: Removed.
34133 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34134 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34135 * sysdeps/x86/bits/byteswap.h: This.
34136 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34137 * sysdeps/x86/bits/byteswap-16.h: This.
34138 * sysdeps/i386/Implies: Add x86.
34139 * sysdeps/x86_64/Implies: Likewise.
34141 2012-05-30 David S. Miller <davem@davemloft.net>
34143 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34144 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34145 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34146 (FP_TRAPPING_EXCEPTIONS): Define.
34147 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34148 (FP_TRAPPING_EXCEPTIONS): Define.
34149 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34150 subnormals only when inexact has been signalled or underflow
34151 exceptions are enabled.
34152 (_FP_PACK_CANONICAL): Likewise.
34154 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34157 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34158 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34160 2012-05-30 Richard Henderson <rth@twiddle.net>
34162 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34163 with #ifndef NOT_IN_libc.
34165 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34166 marked to avoid plt entry.
34168 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34171 * Makeconfig (default-abi): New macro.
34172 (abi-includes): Likewise.
34173 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34174 $(abi-$(default-abi)-lib-soname) for soname if defined.
34175 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34177 * Makefile (installed-stubs): Likewise.
34178 * include/stubs-biarch.h: Removed.
34179 * scripts/lib-names.awk: Only handle one library at a time.
34180 * scripts/soversions.awk: Remove WORDSIZE support.
34181 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34183 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34185 (syscall-list-default-condition): Likewise.
34186 (syscall-list-default-condition): Likewise.
34187 (syscall-list-includes): Likewise.
34188 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34189 syscall-list-* with abi-*. Handle undefined abi-variants.
34190 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34191 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34192 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34193 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34194 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34195 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34197 (syscall-list-32-options): Likewise.
34198 (syscall-list-32-condition): Likewise.
34199 (syscall-list-64-options): Likewise.
34200 (syscall-list-64-condition): Likewise.
34201 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34203 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34206 (abi-64-ld-soname): New macro.
34207 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34208 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34211 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34212 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34214 2012-05-30 Joseph Myers <joseph@codesourcery.com>
34216 * sysdeps/unix/sysv/linux/kernel-features.h
34217 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34218 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34219 include <kernel-features.h>.
34220 [!__NR_ftruncate64]: Remove conditional code.
34221 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34222 [__NR_ftruncate64]: Make code unconditional.
34223 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34224 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34225 include <kernel-features.h>.
34226 [!__NR_ftruncate64]: Remove conditional code.
34227 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34228 [__NR_ftruncate64]: Make code unconditional.
34229 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34231 include <kernel-features.h>.
34232 [!__NR_ftruncate64]: Remove conditional code.
34233 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34234 [__NR_ftruncate64]: Make code unconditional.
34235 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34237 include <kernel-features.h>.
34238 [!__NR_ftruncate64]: Remove conditional code.
34239 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34240 [__NR_ftruncate64]: Make code unconditional.
34241 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34243 * configure.in (libc_cv_fpie): Weaken to a compile test using
34244 LIBC_TRY_CC_OPTION.
34245 * configure: Regenerated.
34247 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34262 2012-05-27 David S. Miller <davem@davemloft.net>
34264 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34266 (__Q_simulate_exceptions): Return void. Change to simulate
34267 exceptions by writing into the %fsr.
34268 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34269 (__Qp_handle_exceptions): Likewise.
34271 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34272 __Qp_handle_exceptions.
34273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34274 __Qp_handle_exceptions.
34275 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34276 as unused and give dummy FP_RND_NEAREST initializer.
34277 (FP_INHIBIT_RESULTS): Define.
34278 (___Q_simulate_exceptions): Update declaration.
34279 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34281 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34282 as unused and give dummy FP_RND_NEAREST initializer.
34283 (__Qp_handle_exceptions): Update declaration.
34284 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34287 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34289 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34290 the temporary FPU control word.
34291 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34292 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34293 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34294 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34295 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34296 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34297 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34298 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34299 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34300 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34301 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34303 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34305 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34308 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34310 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34311 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34312 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34313 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34315 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34316 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34319 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34321 * po/h.po: Update from translation team.
34323 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34325 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34327 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34328 handling of denormals.
34329 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34330 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34331 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34332 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34333 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34334 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34335 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34338 2012-05-26 Marek Polacek <polacek@redhat.com>
34341 * math/libm-test.inc (fma_test): Don't always expect underflow
34344 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34347 * elf/tst-execstack.c: Include stackinfo.h.
34348 (do_test): Adjust test case to ensure that pthread_getattr_np
34349 behaviour remains the same after marking stack executable.
34351 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34353 * sysdeps/unix/sysv/linux/kernel-features.h
34354 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34355 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34357 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34358 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34359 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34361 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34362 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34364 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34366 * configure.in: Define the default includes to being none.
34367 * configure: Regenerated.
34369 2012-05-25 Roland McGrath <roland@hack.frob.com>
34371 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34372 * sysdeps/x86_64/setjmp.S: Likewise.
34373 * sysdeps/i386/bsd-setjmp.S: Likewise.
34374 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34375 * sysdeps/i386/setjmp.S: Likewise.
34376 * sysdeps/i386/__longjmp.S: Likewise.
34377 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34378 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34380 * include/stap-probe.h: New file.
34381 * configure.in: Handle --enable-systemtap.
34382 * configure: Regenerated.
34383 * config.h.in (USE_STAP_PROBE): New #undef.
34384 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34385 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34386 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34388 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34391 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34392 to 2.4.0 where earlier.
34393 * sysdeps/unix/sysv/linux/configure: Regenerated.
34394 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34395 <kernel-features.h>.
34396 [__ASSUME_32BITUIDS]: Make code unconditional.
34397 [!__ASSUME_32BITUIDS]: Remove conditional code.
34398 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34399 <kernel-features.h>.
34400 [__ASSUME_32BITUIDS]: Make code unconditional.
34401 [!__ASSUME_32BITUIDS]: Remove conditional code.
34402 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34403 [__ASSUME_32BITUIDS]: Make code unconditional.
34404 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34405 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34406 <kernel-features.h>.
34407 [__ASSUME_32BITUIDS]: Make code unconditional.
34408 [!__ASSUME_32BITUIDS]: Remove conditional code.
34409 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34410 <kernel-features.h>.
34411 [__ASSUME_32BITUIDS]: Make code unconditional.
34412 [!__ASSUME_32BITUIDS]: Remove conditional code.
34413 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34414 <kernel-features.h>.
34415 [__ASSUME_32BITUIDS]: Make code unconditional.
34416 [!__ASSUME_32BITUIDS]: Remove conditional code.
34417 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34418 <kernel-features.h>.
34419 [__ASSUME_32BITUIDS]: Make code unconditional.
34420 [!__ASSUME_32BITUIDS]: Remove conditional code.
34421 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34422 <kernel-features.h>.
34423 [__ASSUME_32BITUIDS]: Make code unconditional.
34424 [!__ASSUME_32BITUIDS]: Remove conditional code.
34425 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34426 <kernel-features.h>.
34427 [__ASSUME_32BITUIDS]: Make code unconditional.
34428 [!__ASSUME_32BITUIDS]: Remove conditional code.
34429 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34430 <kernel-features.h>.
34431 [__ASSUME_32BITUIDS]: Make code unconditional.
34432 [!__ASSUME_32BITUIDS]: Remove conditional code.
34433 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34434 <kernel-features.h>.
34435 [__ASSUME_32BITUIDS]: Make code unconditional.
34436 [!__ASSUME_32BITUIDS]: Remove conditional code.
34437 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34438 <kernel-features.h>.
34439 [__ASSUME_32BITUIDS]: Make code unconditional.
34440 [!__ASSUME_32BITUIDS]: Remove conditional code.
34441 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34442 <kernel-features.h>.
34443 [__ASSUME_32BITUIDS]: Make code unconditional.
34444 [!__ASSUME_32BITUIDS]: Remove conditional code.
34445 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34446 <kernel-features.h>.
34447 [__NR_setresgid] (__setresgid): Do not declare.
34448 [__ASSUME_32BITUIDS]: Make code unconditional.
34449 [!__ASSUME_32BITUIDS]: Remove conditional code.
34450 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34451 <kernel-features.h>.
34452 [__NR_setresuid] (__setresuid): Do not declare.
34453 [__ASSUME_32BITUIDS]: Make code unconditional.
34454 [!__ASSUME_32BITUIDS]: Remove conditional code.
34455 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34456 <kernel-features.h>.
34457 [__ASSUME_32BITUIDS]: Make code unconditional.
34458 [!__ASSUME_32BITUIDS]: Remove conditional code.
34459 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34460 <kernel-features.h>.
34461 [__ASSUME_32BITUIDS]: Make code unconditional.
34462 [!__ASSUME_32BITUIDS]: Remove conditional code.
34463 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34464 <kernel-features.h>.
34465 [__ASSUME_32BITUIDS]: Make code unconditional.
34466 [!__ASSUME_32BITUIDS]: Remove conditional code.
34467 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34468 <kernel-features.h>.
34469 [__ASSUME_32BITUIDS]: Make code unconditional.
34470 [!__ASSUME_32BITUIDS]: Remove conditional code.
34471 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34472 <kernel-features.h>.
34473 [__ASSUME_32BITUIDS]: Make code unconditional.
34474 [!__ASSUME_32BITUIDS]: Remove conditional code.
34475 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34476 <kernel-features.h>.
34477 [__ASSUME_32BITUIDS]: Make code unconditional.
34478 [!__ASSUME_32BITUIDS]: Remove conditional code.
34479 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34480 <kernel-features.h>.
34481 [__ASSUME_32BITUIDS]: Make code unconditional.
34482 [!__ASSUME_32BITUIDS]: Remove conditional code.
34483 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34484 <kernel-features.h>.
34485 [__ASSUME_32BITUIDS]: Make code unconditional.
34486 [!__ASSUME_32BITUIDS]: Remove conditional code.
34487 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34488 <kernel-features.h>.
34489 [__ASSUME_32BITUIDS]: Make code unconditional.
34490 [!__ASSUME_32BITUIDS]: Remove conditional code.
34491 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34492 <kernel-features.h>.
34493 [__ASSUME_32BITUIDS]: Make code unconditional.
34494 [!__ASSUME_32BITUIDS]: Remove conditional code.
34495 * sysdeps/unix/sysv/linux/kernel-features.h
34496 (__ASSUME_SETRESUID_SYSCALL): Remove.
34497 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34498 (__ASSUME_32BITUIDS): Likewise.
34499 (__ASSUME_LDT_WORKS): Likewise.
34500 (__ASSUME_O_DIRECTORY): Likewise.
34501 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34502 architecture but not kernel version.
34503 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34504 (__ASSUME_MMAP2_SYSCALL): Likewise.
34505 (__ASSUME_STAT64_SYSCALL): Likewise.
34506 (__ASSUME_IPC64): Likewise.
34507 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34508 <kernel-features.h>.
34509 [__ASSUME_32BITUIDS]: Make code unconditional.
34510 [!__ASSUME_32BITUIDS]: Remove conditional code.
34511 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34512 <kernel-features.h>.
34513 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34514 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34515 132096]: Remove conditional code.
34516 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34517 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34518 <kernel-features.h>.
34519 [__ASSUME_32BITUIDS]: Make code unconditional.
34520 [!__ASSUME_32BITUIDS]: Remove conditional code.
34521 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34522 <kernel-features.h>.
34523 [__ASSUME_32BITUIDS]: Make code unconditional.
34524 [!__ASSUME_32BITUIDS]: Remove conditional code.
34525 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34526 <kernel-features.h>.
34527 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34529 (__setresgid): Do not declare.
34530 [__ASSUME_32BITUIDS]: Make code unconditional.
34531 [!__ASSUME_32BITUIDS]: Remove conditional code.
34532 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34533 <kernel-features.h>.
34534 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34536 (__setresuid): Do not declare.
34537 [__ASSUME_32BITUIDS]: Make code unconditional.
34538 [!__ASSUME_32BITUIDS]: Remove conditional code.
34539 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34540 <kernel-features.h>.
34541 [__ASSUME_32BITUIDS]: Make code unconditional.
34542 [!__ASSUME_32BITUIDS]: Remove conditional code.
34543 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34544 <kernel-features.h>.
34545 [__ASSUME_32BITUIDS]: Make code unconditional.
34546 [!__ASSUME_32BITUIDS]: Remove conditional code.
34548 2012-05-25 Richard Henderson <rth@twiddle.net>
34550 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34551 dl_hwcap to ifunc resolver.
34552 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34554 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34555 dl_hwcap to ifunc resolver.
34556 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34558 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34561 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34562 for |x| <= 2**-26, not 2**-57.
34563 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34566 2012-05-24 Jeff Law <law@redhat.com>
34568 * stdio-common/Makefile (tests): Add bug25.
34569 * stdio-common/bug25.c: New test.
34571 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34574 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34575 multiple of MALLOC_ALIGNMENT in size.
34576 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34578 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34580 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34582 (FILENAME_MAX): Use macro-int-constant.
34583 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34584 (_IOFBF): Use macro-int-constant.
34585 (_IOLBF): Likewise.
34586 (_IONBF): Likewise.
34587 (SEEK_CUR): Likewise.
34588 (SEEK_END): Likewise.
34589 (SEEK_SET): Likewise.
34590 (TMP_MAX): Likewise.
34591 (EOF): Use macro-int-constant. Require < 0.
34592 (NULL): Use macro-constant. Require == 0.
34593 (stdin): Require type to be FILE *.
34594 (stdout): Likewise.
34595 (stderr): Likewise.
34596 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34597 macro-int-constant.
34598 (EXIT_SUCCESS): Likewise.
34599 (NULL): Use macro-constant. Require == 0.
34600 (RAND_MAX): Use macro-int-constant.
34601 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34602 [C99-based standards] (strtof): Require function.
34603 [C99-based standards] (strtold): Likewise.
34604 [C99-based standards] (strtoll): Likewise.
34605 [C99-based standards] (strtoull): Likewise.
34606 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34607 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34608 [ISO || ISO99 || ISO11] (math.h): Likewise.
34609 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34610 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34611 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34613 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34616 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34617 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34618 * intl/dgettext.c (DCGETTEXT): Likewise.
34619 * intl/gettext.c (DCGETTEXT): Likewise.
34620 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34621 * posix/regex_internal.h (gettext): Likewise.
34622 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34623 Remove declaration.
34624 * include/argz.h (__argz_count_internal)
34625 (__argz_stringify_internal): Remove declaration.
34626 (__argz_count, __argz_stringify): Declare hidden proto.
34627 * intl/dcgettext.c: Remove use of INTDEF.
34628 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34629 * string/argz-stringify.c: Likewise.
34630 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34631 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34632 Declare hidden proto.
34633 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34634 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34635 Declare hidden proto.
34636 * include/stdio.h (__asprintf_internal): Don't declare.
34637 (__asprintf): Don't define as macro. Declare hidden proto.
34638 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34639 (__fsetlocking): Declare hidden proto.
34640 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34641 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34643 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34644 (_IO_setlinebuf): Remove use of INTUSE.
34645 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34646 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34647 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34648 Remove declaration.
34649 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34650 (_IO_do_flush): Remove use of INTUSE.
34651 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34652 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34653 (_IO_adjust_column, _IO_least_wmarker)
34654 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34655 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34656 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34657 (_IO_default_doallocate, _IO_wdefault_doallocate)
34658 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34659 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34660 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34661 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34662 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34663 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34664 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34665 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34666 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34667 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34668 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34669 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34670 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34672 (_IO_flush_all_internal, _IO_adjust_column_internal)
34673 (_IO_default_uflow_internal, _IO_default_finish_internal)
34674 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34675 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34676 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34677 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34678 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34679 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34680 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34681 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34682 (_IO_file_close_internal, _IO_file_close_it_internal)
34683 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34684 (_IO_file_init_internal, _IO_file_attach_internal)
34685 (_IO_file_fopen_internal, _IO_file_read_internal)
34686 (_IO_file_sync_internal, _IO_file_seek_internal)
34687 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34688 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34689 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34690 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34691 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34692 (_IO_list_all_internal, _IO_link_in_internal)
34693 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34694 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34695 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34696 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34697 (_IO_do_write_internal, _IO_padn_internal)
34698 (_IO_getline_info_internal, _IO_getline_internal)
34699 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34700 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34701 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34702 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34703 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34704 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34705 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34706 with libc_hidden_ver, remove use of INTUSE.
34707 * libio/genops.c: Likewise.
34708 * libio/freopen.c: Likewise.
34709 * libio/freopen64.c: Likewise.
34710 * libio/iofclose.c: Likewise.
34711 * libio/iofdopen.c: Likewise.
34712 * libio/iofflush.c: Likewise.
34713 * libio/iofflush_u.c: Likewise.
34714 * libio/iofgets.c: Likewise.
34715 * libio/iofgets_u.c: Likewise.
34716 * libio/iofopen.c: Likewise.
34717 * libio/iofopncook.c: Likewise.
34718 * libio/iofread.c: Likewise.
34719 * libio/iofread_u.c: Likewise.
34720 * libio/ioftell.c: Likewise.
34721 * libio/iofwrite.c: Likewise.
34722 * libio/iogetline.c: Likewise.
34723 * libio/iogets.c: Likewise.
34724 * libio/iogetwline.c: Likewise.
34725 * libio/iopadn.c: Likewise.
34726 * libio/iopopen.c: Likewise.
34727 * libio/ioseekoff.c: Likewise.
34728 * libio/ioseekpos.c: Likewise.
34729 * libio/iosetbuffer.c: Likewise.
34730 * libio/iosetvbuf.c: Likewise.
34731 * libio/ioungetc.c: Likewise.
34732 * libio/ioungetwc.c: Likewise.
34733 * libio/iovdprintf.c: Likewise.
34734 * libio/iovsprintf.c: Likewise.
34735 * libio/iovsscanf.c: Likewise.
34736 * libio/memstream.c: Likewise.
34737 * libio/obprintf.c: Likewise.
34738 * libio/oldfileops.c: Likewise.
34739 * libio/oldiofclose.c: Likewise.
34740 * libio/oldiofdopen.c: Likewise.
34741 * libio/oldiofopen.c: Likewise.
34742 * libio/oldiopopen.c: Likewise.
34743 * libio/oldstdfiles.c: Likewise.
34744 * libio/putc.c: Likewise.
34745 * libio/setbuf.c: Likewise.
34746 * libio/setlinebuf.c: Likewise.
34747 * libio/stdfiles.c: Likewise.
34748 * libio/strops.c: Likewise.
34749 * libio/vasprintf.c: Likewise.
34750 * libio/vscanf.c: Likewise.
34751 * libio/vsnprintf.c: Likewise.
34752 * libio/vswprintf.c: Likewise.
34753 * libio/wfiledoalloc.c: Likewise.
34754 * libio/wfileops.c: Likewise.
34755 * libio/wgenops.c: Likewise.
34756 * libio/wmemstream.c: Likewise.
34757 * libio/wstrops.c: Likewise.
34758 * libio/__fpurge.c: Likewise.
34759 * libio/__fsetlocking.c: Likewise.
34760 * assert/assert.c: Likewise.
34761 * debug/fgets_chk.c: Likewise.
34762 * debug/fgets_u_chk.c: Likewise.
34763 * debug/fread_chk.c: Likewise.
34764 * debug/fread_u_chk.c: Likewise.
34765 * debug/gets_chk.c: Likewise.
34766 * debug/obprintf_chk.c: Likewise.
34767 * debug/vasprintf_chk.c: Likewise.
34768 * debug/vdprintf_chk.c: Likewise.
34769 * debug/vsnprintf_chk.c: Likewise.
34770 * debug/vsprintf_chk.c: Likewise.
34771 * malloc/mtrace.c: Likewise.
34772 * misc/error.c: Likewise.
34773 * misc/syslog.c: Likewise.
34774 * stdio-common/asprintf.c: Likewise.
34775 * stdio-common/fxprintf.c: Likewise.
34776 * stdio-common/getw.c: Likewise.
34777 * stdio-common/isoc99_fscanf.c: Likewise.
34778 * stdio-common/isoc99_scanf.c: Likewise.
34779 * stdio-common/isoc99_vfscanf.c: Likewise.
34780 * stdio-common/isoc99_vscanf.c: Likewise.
34781 * stdio-common/isoc99_vsscanf.c: Likewise.
34782 * stdio-common/printf-prs.c: Likewise.
34783 * stdio-common/printf_fp.c: Likewise.
34784 * stdio-common/printf_fphex.c: Likewise.
34785 * stdio-common/printf_size.c: Likewise.
34786 * stdio-common/putw.c: Likewise.
34787 * stdio-common/scanf.c: Likewise.
34788 * stdio-common/sprintf.c: Likewise.
34789 * stdio-common/tmpfile.c: Likewise.
34790 * stdio-common/vfprintf.c: Likewise.
34791 * stdio-common/vfscanf.c: Likewise.
34792 * stdlib/strfmon_l.c: Likewise.
34793 * sunrpc/openchild.c: Likewise.
34794 * sunrpc/xdr_stdio.c: Likewise.
34795 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34796 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34798 2012-05-24 Roland McGrath <roland@hack.frob.com>
34800 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34802 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34803 in the third column, to generate for the shared library an IFUNC
34804 that uses _dl_vdso_vsym.
34805 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34806 * Makeconfig (object-suffixes-noshared): New variable.
34808 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34809 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34810 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34811 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34814 * include/sys/time.h (__gettimeofday): Remove macro.
34815 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34816 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34818 (__gettimeofday): Add libc_hidden_def.
34819 (gettimeofday): Add libc_hidden_weak.
34820 * sysdeps/mach/gettimeofday.c: Likewise.
34821 * sysdeps/posix/gettimeofday.c: Likewise.
34822 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34823 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34824 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34825 (__gettimeofday_internal): Remove strong_alias.
34826 (__gettimeofday): Add libc_hidden_def.
34827 (gettimeofday): Add libc_hidden_weak.
34828 * sysdeps/unix/syscalls.list (gettimeofday):
34829 Remove __gettimeofday_internal alias.
34831 2012-05-24 Daniel Jacobowitz <drow@false.org>
34832 H.J. Lu <hongjiu.lu@intel.com>
34835 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34836 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34837 (largebin_index_32_big): New.
34838 (largebin_index): Use it for 16-byte alignment.
34839 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34840 correction with front_misalign.
34842 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34870 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34871 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34873 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34877 * math/libm-test.inc (exp_test): Add test from bug 14036.
34878 (pow_test): Add test from bug 10846.
34880 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34882 (special_function): Do not include flags in test name.
34883 (parse_args): Likewise.
34884 * sysdeps/i386/fpu/libm-test-ulps: Update.
34885 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34886 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34887 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34890 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34892 * math/libm-test.inc ("Philosophy"): Update comment about
34894 (UNDERFLOW_EXCEPTION): New macro.
34895 (UNDERFLOW_EXCEPTION_OK): Likewise.
34896 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34897 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34898 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34899 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34900 (INVALID_EXCEPTION_OK): Update value.
34901 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34902 (OVERFLOW_EXCEPTION_OK): Likewise.
34903 (IGNORE_ZERO_INF_SIGN): Likewise.
34904 (test_exceptions): Handle underflow exceptions.
34905 (acos_test): Update for underflow exception expectations.
34906 (cexp_test): Likewise.
34907 (clog_test): Likewise.
34908 (clog10_test): Likewise.
34909 (csqrt_test): Likewise.
34910 (ctan_test): Likewise.
34911 (ctanh_test): Likewise.
34912 (exp_test): Likewise.
34913 (exp10_test): Likewise.
34914 (exp2_test): Likewise.
34915 (expm1_test): Likewise.
34916 (fma_test): Likewise.
34917 (j0_test): Likewise.
34918 (jn_test): Likewise.
34919 (nexttoward_test): Likewise.
34920 (pow_test): Likewise.
34921 (scalbn_test): Likewise.
34922 (scalbln_test): Likewise.
34923 (tan_test): Likewise.
34924 (y1_test): Likewise.
34925 * sysdeps/i386/fpu/libm-test-ulps: Update.
34926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34928 2012-05-23 David S. Miller <davem@davemloft.net>
34930 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34931 (__libc_sigaction): Remove unused local variables.
34933 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34935 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34937 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34939 mktime: avoid signed integer overflow
34940 * time/mktime.c (__mktime_internal): Do not mishandle the case
34941 where diff == INT_MIN.
34943 mktime: simplify computation of average
34944 * time/mktime.c (ranged_convert): Use new time_t_avg function
34945 instead of rolling our own (probably-slower) code.
34947 mktime: do not assume signed right shift propagates sign bit
34948 * time/mktime.c (isdst_differ): New static function.
34949 (__mktime_internal): No need to normalize tm_isdst now.
34950 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34953 mktime: merge another wrapv change from gnulib
34954 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34955 from some compilers.
34957 mktime: remove incorrect attempt at unusual arithmetics
34958 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34959 The code didn't really work on such machines anyway.
34960 (TYPE_MINIMUM): Assume two's complement.
34961 (twos_complement_arithmetic): Verify that long_int and time_t
34962 are two's complement (or unsigned, in the latter case).
34964 mktime: check signed shifts on long_int and time_t, too
34965 * time/mktime.c (SHR): Check that shifts work as desired
34966 on the types long_int and time_t too, as SHR is used on
34969 mktime: do not assume 'long' is wide enough
34970 * time/mktime.c (verify): Move decl up.
34971 (long_int): New type.
34972 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34973 to remove assumption in the code that 'long' is wide enough to
34974 store year values. This assumption is not true on x32 and on
34975 some non-glibc platforms.
34977 mktime: merge wrapv change from gnulib
34978 * time/mktime.c (WRAPV): New macro.
34979 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34980 (guess_time_tm, __mktime_internal): Do not assume that signed
34981 integer overflow wraps around; modern compilers generate code
34982 where this assumption is no longer valid.
34984 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34986 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34987 Replace "jmp L(pseudo_end)" with "ret".
34988 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34991 2012-05-23 Andreas Jaeger <aj@suse.de>
34993 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34994 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34996 2012-05-23 Andreas Jaeger <aj@suse.de>
34997 Maximilian Attems <max@stro.at>
34999 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35002 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35004 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35005 code so that pseudo_end is just ret and the stack pointer is
35006 correct also for static library in error case.
35008 2012-05-23 Joseph Myers <joseph@codesourcery.com>
35010 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35011 move to syscalls.list.
35012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35017 * manual/install.texi (Running make install): Do not mention Linux
35018 kernel version for which pt_chown is not needed.
35019 (Linux): Do not mention problems with nscd with 2.0 kernels.
35020 * INSTALL: Regenerated.
35022 2012-05-23 Andreas Jaeger <aj@suse.de>
35024 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35025 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35027 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35028 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35029 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35030 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35031 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35032 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35033 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35034 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35035 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35036 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35037 * sysdeps/unix/sysv/linux/bits/in.h
35038 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35040 2012-05-22 Roland McGrath <roland@hack.frob.com>
35042 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35043 (PREPARE_VERSION): Just use assert instead, it will be elided
35044 under [NDEBUG] anyway.
35046 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35048 * sysdeps/unix/sysv/linux/Makefile: Include
35049 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35050 (sysdep_routines): Remove sysctl.
35051 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35052 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35053 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35054 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35055 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35057 2012-05-22 Andreas Jaeger <aj@suse.de>
35059 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35060 that pseudo_end is just ret and the stack pointer is correct also
35061 for static library in error case.
35063 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35066 * nss/nsswitch.c (defconfig_entries): New variable.
35067 (__nss_database_lookup): Don't leak defconfig entries.
35068 (nss_parse_service_list): Don't leak on error paths.
35069 (free_database_entries): New function.
35070 (free_defconfig): New function.
35071 (free_mem): Move common code to free_database_entries.
35073 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35075 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35077 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35079 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35080 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35081 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35083 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35084 (INTERNAL_SYSCALL_TYPES): Likewise.
35085 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35086 (LOAD_REGS_TYPES_[1-6]): Likewise.
35087 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35088 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35090 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35092 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35093 copysignl for GLIBC_2_0.
35094 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35095 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35096 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35097 logbl for GLIBC_2_0.
35098 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35099 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35101 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35103 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35104 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35106 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35109 * time/mktime.c: Update copyright years.
35111 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35113 mktime: merge comment-quoting-style change from gnulib
35114 * time/mktime.c: Quote 'like this' in comments.
35115 The GNU coding standards suggest that we no longer quote `like this',
35116 as "`" and "'" are typically rendered asymmetrically nowadays.
35117 The typical gnulib style is to quote 'like this' when quoting
35118 code, and "like this" when quoting English.
35120 * time/mktime.c (compile-command): Add "-I.".
35122 mktime: merge mktime-internal.h change from gnulib
35123 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35125 mktime: merge time_r change from gnulib
35126 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35128 mktime: merge DEBUG change from gnulib
35129 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35130 case system <time.h> has a #define.
35132 mktime: merge <sys/types.h> change from gnulib
35133 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35134 since <time.t> is now guaranteed to define time_t.
35136 mktime: merge HAVE_CONFIG_H change from gnulib
35137 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35139 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35144 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35146 (struct rusage): Use anonymous union to pad each field to
35149 2012-05-21 David S. Miller <davem@davemloft.net>
35151 * Makefules (o-iterator): Remove .s cases.
35152 (compile-command.s): Delete.
35153 (COMPILE.s): Delete.
35154 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35156 2012-05-21 Joseph Myers <joseph@codesourcery.com>
35158 * configure.in (libc_cv_predef_stack_protector): Only consider
35159 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35160 * configure: Regenerated.
35162 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35164 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35165 New macro. Use R*LP on int and pointer.
35166 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35167 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35168 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35169 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35171 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35172 [__WORDSIZE_TIME64_COMPAT32] instead of
35173 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35174 (struct utmp): Likewise.
35175 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35176 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35178 (__WORDSIZE_TIME64_COMPAT32): This.
35179 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35180 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35181 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35182 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35183 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35184 (__WORDSIZE_TIME64_COMPAT32): New macro.
35186 2012-05-21 Andreas Jaeger <aj@suse.de>
35188 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35189 only if [SHARED]. Add prototype for __wcschr_ia32.
35191 2012-05-21 Roland McGrath <roland@hack.frob.com>
35193 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35194 of %rbp unmolested in the jmp_buf while mangling the low bits.
35195 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35196 unmolested high bits of %rbp while demangling the low bits.
35197 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35199 2012-05-21 Andreas Jaeger <aj@suse.de>
35201 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35202 * sunrpc/svc_simple.c: Use it for registerrpc.
35203 * sunrpc/xcrypt.c: Use it for passwd2des.
35205 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35207 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35209 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35210 Don't define if [__SYSCALL_WORDSIZE != 32].
35211 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35214 2012-05-21 Bruno Haible <bruno@clisp.org>
35215 Andreas Jaeger <aj@suse.de>
35217 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35218 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35219 inptr and inend for must_buffer_ch.
35220 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35221 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35222 * stdio-common/Makefile (tests): Remove bug15.
35223 (bug15-ENV): Remove macro.
35224 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35227 2012-05-19 Andreas Jaeger <aj@suse.de>
35228 Roland McGrath <roland@hack.frob.com>
35230 * manual/contrib.texi: Completely rewritten. It contains now an
35231 alphabetical list of contributors and their contributions.
35233 2012-05-21 Richard Henderson <rth@twiddle.net>
35235 * misc/getauxval.c (__getauxval): Use unsigned long int.
35236 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35237 (getauxval): Use unsigned long int.
35239 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35241 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35243 2012-05-21 Roland McGrath <roland@hack.frob.com>
35245 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35246 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35247 __alignof__ (long double).
35249 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35253 2012-05-20 Richard Henderson <rth@twiddle.net>
35255 * misc/getauxval.c: New file.
35256 * misc/sys/auxv.h: New file.
35257 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35258 (routines): Add getauxval.
35259 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35260 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35261 * elf/dl-sysdep.c (_dl_auxv): Remove.
35262 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35263 * elf/dl-support.c (_dl_auxv): New variable.
35264 (_dl_aux_init): Initialize it.
35265 * manual/startup.texi (Auxiliary Vector): New node.
35266 * sysdeps/generic/bits/hwcap.h: New file.
35267 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35268 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35269 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35270 * sysdeps/sparc/sysdep.h: ... here. Include it.
35271 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35272 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35278 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35284 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35288 2012-05-19 David S. Miller <davem@davemloft.net>
35290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35292 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35295 * math/s_ccosh.c: Include <float.h>
35296 (__ccosh): Avoid internal overflow calculating sinh and cosh
35297 values before multiplying by sin and cos values.
35298 * math/s_ccoshf.c: Likewise.
35299 * math/s_ccoshl.c: Likewise.
35300 * math/s_csin.c: Likewise.
35301 * math/s_csinf.c: Likewise.
35302 * math/s_csinl.c: Likewise.
35303 * math/s_csinh.c: Likewise.
35304 * math/s_csinhf.c: Likewise.
35305 * math/s_csinhl.c: Likewise.
35306 * math/libm-test.inc (ccos_test): Add more tests.
35307 (ccosh_test): Likewise.
35308 (csin_test): Likewise.
35309 (csinh_test): Likewise.
35310 * sysdeps/i386/fpu/libm-test-ulps: Update.
35311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35313 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35315 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35316 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35318 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35320 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35322 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35323 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35324 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35325 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35326 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35327 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35328 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35329 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35330 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35331 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35332 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35333 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35334 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35335 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35336 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35337 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35338 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35339 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35340 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35341 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35342 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35343 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35344 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35345 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35346 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35347 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35348 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35349 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35350 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35351 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35352 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35354 2012-05-18 Andreas Jaeger <aj@suse.de>
35356 * csu/.gitignore: Delete.
35358 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35360 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35361 (timex): Use __syscall_slong_t.
35363 2012-05-18 Andreas Jaeger <aj@suse.de>
35364 Carlos O'Donell <carlos_odonell@mentor.com>
35366 * manual/install.texi (Configuring and compiling): Update
35367 description about files modified in the source directory.
35368 * INSTALL: Regenerated.
35370 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35372 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35373 value. Use "or" to set return value to -1.
35374 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35375 negate return value.
35377 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35379 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35380 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35381 failure if the compiler has Graphite support disabled.
35382 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35384 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35385 (CFLAGS-memmove.c): Likewise.
35386 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35389 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35391 * sysdeps/x86_64/x32/_itoa.h: New file.
35393 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35394 getdents system call only if kernel and user dirents have the
35395 same d_ino and d_off.
35397 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35398 LLONG_MAX != LONG_MAX.
35399 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35400 (_fitoa_word): Likewise.
35402 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35404 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35405 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35406 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35408 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35409 include <bits/wordsize.h>. Check __x86_64__ instead of
35411 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35412 if __x86_64__ is defined. Use anonymous union on fpstate.
35414 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35417 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35419 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35420 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35421 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35422 Refer to _rtld_local_ro instead of _rtld_global_ro.
35423 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35425 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35427 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35429 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35430 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35431 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35433 * sysdeps/powerpc/powerpc32/dl-machine.c
35434 (__elf_machine_runtime_setup) [PROF]: Don't reference
35437 2012-05-18 Andreas Jaeger <aj@suse.de>
35439 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35440 function only available for GCCs before 3.4 since GCC 3.4
35441 introduced a builtin.
35443 (llrintf): Likewise.
35444 (llrint): Likewise.
35451 (nearbyint): Likewise.
35452 (nearbyintf): Likewise.
35456 (floorf): Likewise.
35458 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35460 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35461 on both fields and cast pointer to __syscall_ulong_t.
35463 * bits/types.h (__fsword_t): New type.
35464 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35465 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35466 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35467 (__FSWORD_T_TYPE): Likewise.
35468 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35469 (__FSWORD_T_TYPE): Likewise.
35470 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35471 (__FSWORD_T_TYPE): Likewise.
35472 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35473 (__FSWORD_T_TYPE): Likewise.
35474 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35475 __SWORD_TYPE with __fsword_t.
35476 (statfs64): Likewise.
35478 2012-05-17 David S. Miller <davem@davemloft.net>
35480 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35482 2012-05-17 Andreas Jaeger <aj@suse.de>
35484 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35487 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35489 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35491 2012-05-17 Andreas Jaeger <aj@suse.de>
35493 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35496 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35498 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35500 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35502 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35503 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35505 2012-05-17 Andreas Jaeger <aj@suse.de>
35506 Carlos O'Donell <carlos_odonell@mentor.com>
35509 * sysdeps/x86_64/multiarch/init-arch.h
35510 (bit_YMM_Usable): Rename to...
35511 (bit_AVX_Usable): ... this.
35512 (bit_FMA4_Usable): New macro.
35513 (bit_XMM_state): New macro.
35514 (bit_YMM_state): New macro.
35515 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35516 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35517 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35518 (CPUID_OSXSAVE): New macro.
35519 (CPUID_AVX): New macro.
35520 (CPUID_FMA4): New macro.
35521 (index_YMM_Usable): Rename to...
35522 (index_AVX_Usable): ... this.
35523 (HAS_AVX): Use HAS_ARCH_FEATURE.
35524 (HAS_FMA4): Likewise.
35525 (HAS_YMM_USABLE): Remove.
35526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35527 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35529 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35530 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35531 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35532 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35533 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35535 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35537 * math/libm-test.c: Support platforms without multiple rounding modes.
35538 * math/bug-nextafter.c: Support platforms without FP exceptions.
35539 * math/bug-nexttoward.c: Likewise.
35540 * math/test-fenv.c: Likewise.
35541 * math/test-misc.c: Likewise.
35542 * stdlib/bug-getcontext.c: Likewise.
35544 2012-05-17 Andreas Jaeger <aj@suse.de>
35546 * manual/examples/search.c (critter_cmp): Change signature to
35548 * manual/string.texi (Collation Functions): Likewise.
35550 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35552 * bits/types.h: Fold copyright years.
35553 * bits/typesizes.h: Likewise.
35554 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35555 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35556 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35557 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35558 * time/time.h: Likewise.
35560 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35563 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35564 in instead of returning them. Return void.
35565 (__libc_mallinfo): Accumulate over all arenas.
35566 (__malloc_stats): Adjust for change in int_mallinfo interface.
35568 2012-05-16 Roland McGrath <roland@hack.frob.com>
35571 * configure.in (NM): Add AC_CHECK_TOOL for it.
35572 (libc_extra_cflags): New substituted variable.
35573 Check for -fstack-protector being used implicitly.
35574 * configure: Regenerated.
35575 * config.make.in (config-extra-cflags): New variable,
35576 gets @libc_extra_cflags@.
35577 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35580 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35581 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35582 * configure: Regenerated.
35583 * config.make.in (CPPUNDEFS): New substituted variable.
35584 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35585 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35586 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35588 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35590 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35591 (mq_attr): Use __syscall_slong_t.
35593 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35595 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35596 Check __x86_64__ instead of __WORDSIZE.
35597 (_STAT_VER_LINUX): Likewise.
35598 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35599 __syscall_ulong_t and __syscall_slong_t.
35600 (stat64): Likewise.
35602 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35604 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35606 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35608 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35610 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35612 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35615 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35616 include <bits/wordsize.h>. Check __x86_64__ instead of
35618 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35620 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35622 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35623 include <bits/wordsize.h>. Check __x86_64__ instead of
35625 (user_regs_struct): Use "__extension__ unsigned long long"
35626 instead of "unsigned long" if __x86_64__ is defined.
35627 (user): Likewise. Pad after pointer field if __ILP32__ is
35630 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35632 * configure.in (makeinfo): Require version 4.5 or later. Allow
35634 * configure: Regenerated.
35635 * manual/install.texi (texinfo): Increase version requirement to
35637 * INSTALL: Regenerated.
35639 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35641 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35643 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35645 * sysdeps/x86_64/x32/ffs.c: New file.
35647 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35649 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35650 defined. Use __syscall_ulong_t.
35651 (shminfo): Use __syscall_ulong_t.
35652 (shm_info): Likewise.
35654 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35657 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35659 (msgqnum_t): Use __syscall_ulong_t.
35660 (msglen_t): Likewise.
35661 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35664 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35665 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35667 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35669 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35670 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35672 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35675 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35676 include <bits/wordsize.h>. Check __x86_64__ instead of
35679 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35680 "unsigned long long int" if __x86_64__ is defined.
35681 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35683 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35684 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35685 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35687 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35689 (GET_PC): Cast to uintptr_t first.
35690 (GET_FRAME): Likewise.
35691 (GET_STACK): Likewise.
35693 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35694 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35695 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35696 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35697 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35698 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35699 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35700 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35701 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35702 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35703 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35704 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35705 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35706 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35707 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35708 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35709 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35710 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35711 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35712 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35713 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35714 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35715 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35716 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35717 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35718 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35719 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35720 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35721 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35723 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35725 * Makerules (+depfiles): Also collect depfiles from .oS in
35727 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35728 .oS, $(libnldbl-routines)).
35730 * Makerules (native-compile-mkdep-flags): Define.
35731 * sunrpc/Makefile (extra-objs): Add $(addprefix
35732 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35733 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35734 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35735 calling $(make-target-directory).
35737 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35739 * bits/types.h (__snseconds_t): Removed.
35740 * time/time.h (struct timespec): Replace __snseconds_t with
35742 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35743 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35745 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35746 (__SNSECONDS_T_TYPE): Likewise.
35747 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35748 (__SNSECONDS_T_TYPE): Likewise.
35749 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35750 (__SNSECONDS_T_TYPE): Likewise.
35752 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35754 * sysdeps/mach/hurd/bits/typesizes.h
35755 (__SYSCALL_SLONG_TYPE): New macro.
35756 (__SYSCALL_ULONG_TYPE): Likewise.
35758 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35760 * bits/types.h (__syscall_slong_t): New type.
35761 (__syscall_ulong_t): Likewise.
35763 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35764 (__SYSCALL_ULONG_TYPE): Likewise.
35765 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35766 (__SYSCALL_SLONG_TYPE): Likewise.
35767 (__SYSCALL_ULONG_TYPE): Likewise.
35768 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35769 (__SYSCALL_SLONG_TYPE): Likewise.
35770 (__SYSCALL_ULONG_TYPE): Likewise.
35771 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35772 (__SYSCALL_SLONG_TYPE): Likewise.
35773 (__SYSCALL_ULONG_TYPE): Likewise.
35775 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35777 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35778 Add sigaltstack-offsets.sym.
35779 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35780 <sigaltstack-offsets.h>.
35781 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35782 longjmp_msg pointer.
35783 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35784 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35786 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35788 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35790 * elf/stackguard-macros.h: Remove file.
35791 * sysdeps/generic/stackguard-macros.h: New file.
35792 * sysdeps/i386/stackguard-macros.h: Likewise.
35793 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35794 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35795 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35796 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35797 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35798 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35799 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35800 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35801 <elf/stackguard-macros.h>.
35804 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35805 __aligned__ in attribute.
35806 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35807 (gregset_t): Likewise.
35809 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35811 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35812 * sysdeps/x86_64/64/Implies-after: Here. New file.
35813 * sysdeps/x86_64/x32/Implies-after: New file.
35815 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35817 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35818 and access return value for _dl_profile_fixup. Use R10_LP to
35821 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35823 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35825 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35827 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35828 * sysdeps/x86_64/x32/sysdep.h: New file.
35830 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35832 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35833 * sysdeps/x86_64/setjmp.S: Likewise.
35835 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35837 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35838 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35839 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35840 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35841 remove unused global constant.
35843 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35845 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35846 include of <not-cancel.h>.
35848 2012-05-15 Roland McGrath <roland@hack.frob.com>
35850 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35852 2012-05-15 Jeff Law <law@redhat.com>
35853 Andreas Jaeger <aj@suse.de>
35856 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35858 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35859 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35860 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35861 code changing __hst_map_handle.map.
35863 2012-05-15 Roland McGrath <roland@hack.frob.com>
35865 * configure.in (sysnames): Look for Implies-before and Implies-after
35867 * configure: Regenerated.
35869 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35871 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35872 8-byte data alignment with LP_SIZE alignment.
35874 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35876 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35879 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35881 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35883 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35885 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35886 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35887 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35889 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35891 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35893 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35894 (stackinfo_sub_sp): Likewise.
35896 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35898 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35901 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35903 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35906 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35908 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35911 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35913 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35915 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35917 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35918 into R11_LP and load __x86_64_shared_cache_size_half into
35921 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35923 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35926 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35928 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35930 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35932 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35934 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35935 powerpc32/power7/fpu/s_logb.c via #include.
35936 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35937 powerpc32/power7/fpu/s_logbf.c via #include.
35938 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35939 powerpc32/power7/fpu/s_logbl.c via #include.
35941 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35943 * README.libm: Remove file.
35945 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35947 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35948 count for x32. Use R*_LP and omit operand-size suffix.
35950 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35952 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35953 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35954 * sysdeps/x86_64/x32/shlib-versions: New file.
35956 2012-05-14 Roland McGrath <roland@hack.frob.com>
35958 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35959 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35960 Use _dl_fatal_printf instead.
35962 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35964 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35965 set if not set by the user. Do not allow for being unset.
35966 * sysdeps/unix/sysv/linux/configure: Regenerated.
35968 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35970 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35971 the `q' suffix from lea and replace .quad with ASM_ADDR.
35973 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35975 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35976 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35978 (PTR_DEMANGLE): Likewise.
35980 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35982 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35984 (ASM_ADDR): Likewise.
35985 (RAX_LP): Likewise.
35986 (RBP_LP): Likewise.
35987 (RBX_LP): Likewise.
35988 (RCX_LP): Likewise.
35989 (RDI_LP): Likewise.
35990 (RSI_LP): Likewise.
35991 (RSP_LP): Likewise.
35994 (R10_LP): Likewise.
35995 (R10_LP): Likewise.
35996 (R11_LP): Likewise.
35997 (R12_LP): Likewise.
35998 (R13_LP): Likewise.
35999 (R14_LP): Likewise.
36000 (R15_LP): Likewise.
36002 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36004 * sysdeps/x86_64/x32/dl-machine.h: New file.
36006 2012-05-14 Andreas Jaeger <aj@suse.de>
36008 * manual/Makefile (subdir): Remove export of subdir.
36009 (all): Remove target.
36010 (.PHONY): Remove all from list.
36011 (mkinstalldirs): Remove.
36012 (.PHONY): Remove installdirs from list.
36013 ($(inst_infodir)/libc.info): Use make-target-directory.
36014 (installdirs): Remove.
36015 (subdir_%): Remove.
36016 (glibc-targets): Remove.
36019 ($(objpfx)stubs ../po/manual.pot): Remove.
36020 ($(objpfx)stamp%): Remove.
36021 (make-target-directory): Remove.
36022 (subdir_install): Remove.
36023 (routines): Remove.
36030 * manual/.gitignore: Remove, it's not needed anymore.
36031 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36033 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36035 (texis): Renamed to $(objpfx)texis.
36036 (texis-path): New, contains path to generated files.
36037 (chapters.%): Use texis-path for complete path, add extra argument
36039 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36040 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36041 (summary,texi, stamp-summary): Use complete path of
36042 files. Generate files in build dir.
36043 (dir-add.texi): Build in build dir.
36044 (libm-err.texi,stamp-libm-err): Likewise.
36045 (version.texi, stamp-version): Likewise.
36046 (.%c.texi): Likewise.
36047 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36048 (mostlyclean): Remove target.
36049 (realclean): Remove target.
36050 (generated): Add new variable with contents from mostlyclean and
36051 realclean, remove entries duplicated in common-mostlyclean, add
36052 stamp-libm-err and stamp-version.
36053 (generated-dirs): Add libc directory.
36054 ($(inst_infodir)/libc.info): Install files from build dir.
36056 * manual/install.texi (Configuring and compiling): Adjust since
36057 the info files are not part of the tar ball anymore.
36059 2012-05-14 Andreas Jaeger <aj@suse.de>
36061 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36064 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36067 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36068 to 2.2.0 where earlier.
36069 * sysdeps/unix/sysv/linux/configure: Regenerated.
36070 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36071 Remove conditional code.
36072 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36073 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36074 Remove conditional code.
36075 [!__NR_lchown]: Likewise.
36076 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36077 [__NR_lchown]: Likewise.
36078 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36079 comment referencing __ASSUME_LCHOWN_SYSCALL.
36080 * sysdeps/unix/sysv/linux/i386/sigaction.c
36081 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36082 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36083 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36084 Remove conditional code.
36085 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36086 (__protocol_available): Remove #if 0 code.
36087 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36089 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36090 * sysdeps/unix/sysv/linux/kernel-features.h
36091 (__ASSUME_GETCWD_SYSCALL): Don't define.
36092 (__ASSUME_REALTIME_SIGNALS): Likewise.
36093 (__ASSUME_PREAD_SYSCALL): Likewise.
36094 (__ASSUME_PWRITE_SYSCALL): Likewise.
36095 (__ASSUME_POLL_SYSCALL): Likewise.
36096 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36097 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36099 (__ASSUME_SIOCGIFNAME): Don't define.
36100 (__ASSUME_MSG_NOSIGNAL): Likewise.
36101 (__ASSUME_SENDFILE): Define unconditionally.
36102 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36103 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36105 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36106 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36107 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36108 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36109 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36110 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36111 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36113 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36114 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36116 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36117 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36119 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36120 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36122 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36123 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36125 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36126 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36128 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36129 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36131 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36132 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36134 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36135 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36136 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36137 Remove conditional code.
36138 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36139 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36140 Remove conditional code.
36141 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36142 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36143 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36144 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36145 Remove conditional code.
36146 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36147 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36148 Remove conditional code.
36149 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36150 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36151 Remove conditional code.
36152 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36153 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36154 Remove conditional code.
36155 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36156 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36157 Remove conditional code.
36158 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36159 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36160 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36161 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36162 * sysdeps/unix/sysv/linux/sigaction.c
36163 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36164 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36165 * sysdeps/unix/sysv/linux/sigpending.c
36166 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36167 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36168 * sysdeps/unix/sysv/linux/sigprocmask.c
36169 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36170 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36171 * sysdeps/unix/sysv/linux/sigsuspend.c
36172 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36173 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36174 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36175 (__libc_missing_rt_sigs): Remove.
36176 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36177 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36178 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36179 Remove conditional code.
36180 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36181 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36183 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36184 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36185 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36186 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36188 2012-05-14 Andreas Jaeger <aj@suse.de>
36190 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36191 it's not used in glibc.
36192 (__coshm1): Likewise.
36193 (__acosh1p): Likewise.
36196 * manual/string.texi (Copying and Concatenation): Add missing
36197 variable in concat example.
36198 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36200 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36203 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36204 __builtin_clzl with __builtin_clzll.
36206 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36209 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36212 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36214 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36215 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36216 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36217 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36219 2012-05-14 Mike Frysinger <vapier@gentoo.org>
36221 * NEWS: Update ia64 info.
36223 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36225 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36228 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36230 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36231 * sysdeps/unix/syscalls.list (dup3): Likewise.
36232 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36233 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36235 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36237 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36238 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36240 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36242 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36244 (TLS_IE): Use mov/add instead of movq/addq to load thread
36246 (TLS_GD_PREFIX): New.
36249 2012-05-11 David S. Miller <davem@davemloft.net>
36251 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36252 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36253 (_FPU_SETCW): Likewise.
36255 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36257 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36258 is 32-byte aligned.
36260 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36263 * iconvdata/gb18030.c: Update tables.
36264 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36265 characters specially.
36266 (BODY for TO_LOOP): Add encoding of missing ranges.
36268 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36271 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36272 * sysdeps/mach/hurd/dup3.c: Likewise.
36273 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36274 * sysdeps/powerpc/memmove.c:: Likewise.
36276 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36278 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36279 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36281 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36283 * elf/elf.h (R_X86_64_RELATIVE64): New.
36284 (R_X86_64_NUM): Updated.
36285 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36286 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36287 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36288 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36289 tst-quad1pie tst-quad2pie
36290 (modules-names): Add tst-quadmod1 tst-quadmod2.
36291 ($(objpfx)tst-quad1): New dependency.
36292 ($(objpfx)tst-quad2): Likewise.
36293 ($(objpfx)tst-quad1pie): Likewise.
36294 ($(objpfx)tst-quad2pie): Likewise.
36295 * sysdeps/x86_64/tst-quad1.c: New file.
36296 * sysdeps/x86_64/tst-quad1pie.c: New file.
36297 * sysdeps/x86_64/tst-quad2.c: Likewise.
36298 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36299 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36300 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36301 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36302 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36304 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36306 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36307 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36308 * streams/stropts.h (t_scalar_t): Define type.
36310 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36311 (_PATH_PRESERVE): Set to "/var/lib".
36312 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36314 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36317 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36318 if __dir_mkfile succeeded.
36320 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36321 checking for _hurd_dtablesize. Unlock it right after having
36322 finished _hurd_dtable allocation.
36324 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36326 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36327 * sysdeps/mach/hurd/configure: Regenerated.
36328 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36329 special-casing to...
36330 * sysdeps/gnu/configure.in: ... this new file.
36331 * sysdeps/unix/sysv/linux/configure: Regenerated.
36332 * sysdeps/gnu/configure: New generated file.
36334 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36335 for Linux: use nsec instead of usec, as well as:
36336 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36337 members of type struct timespec.
36338 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36340 (struct stat64): Likewise.
36341 (_STATBUF_ST_NSEC): New macro.
36342 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36344 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36345 __strtoul_internal rather than strtoul.
36347 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36349 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36352 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36354 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36355 which preserves existing values.
36356 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36358 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36360 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36361 TIMEOUT values. Return EINVAL for NFDS values either negative or
36362 greater than FD_SETSIZE.
36364 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36366 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36367 allocated, call __vm_protect to finish enabling the existing space, and
36368 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36369 allocate the remainder.
36371 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36373 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36374 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36376 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36378 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36379 sysdeps/mach/hurd/readlink.c.
36381 * posix/tst-sysconf.c (posix_options): Only use
36382 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36383 _POSIX_SYNCHRONIZED_IO when they are defined
36384 * sysdeps/mach/hurd/bits/posix_opt.h:
36385 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36386 (_XOPEN_REALTIME): Undefine macro.
36387 (_XOPEN_REALTIME_THREADS): Undefine macro.
36388 (_XOPEN_SHM): Undefine macro.
36389 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36391 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36393 (_POSIX_ASYNC_IO): Undefine macro.
36394 (_POSIX_PRIORITIZED_IO): Undefine macro.
36395 (_POSIX_SPIN_LOCKS): Define macro to -1.
36397 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36398 SA_NODEFER, SA_RESETHAND.
36399 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36400 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36403 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36405 * elf/Makefile (pldd-modules): Define unconditionally.
36407 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36409 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36411 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36413 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36414 Return ENOENT when name is empty.
36415 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36417 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36419 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36421 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36423 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36425 Fix mlock in all cases except non-readable pages.
36426 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36427 instead of VM_PROT_ALL as parameter to __vm_wire function.
36429 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36430 (__mkdir): When path is `/', just fail with EEXIST.
36431 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36433 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36435 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36436 <sys/uio.h> (for writev).
36437 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36438 and <sys/param.h> (for MIN).
36440 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36442 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36443 REQUESTED_TIME. Properly set the remaining time and return EINTR
36446 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36448 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36449 Depend on against $(link-rpcuserlibs).
36451 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36453 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36454 (__libc_stack_end): Do not use attribute_relro.
36455 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36456 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36457 to libthread-provided value.
36458 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36461 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36464 * bits/libc-lock.h (__libc_once_get): New macro.
36465 * sysdeps/mach/bits/libc-lock.h: Likewise.
36466 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36467 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36468 instead of using implementation details.
36470 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36471 * libio/freopen.c: Likewise.
36472 * libio/freopen64.c: Likewise.
36473 * misc/syslog.c: Likewise.
36474 * nscd/connections.c: Likewise.
36475 * nscd/netgroupcache.c: Likewise.
36476 * sysdeps/posix/getcwd.c: Likewise.
36478 2012-05-10 Roland McGrath <roland@hack.frob.com>
36480 * math/w_ilogbf.c: Add #include <limits.h>.
36482 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36484 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36485 path instead of returning without unlocking.
36487 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36488 immediate-write ioctls.
36489 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36491 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36493 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36494 __builtin_frame_address instead of making assumptions about the
36495 location of the return address relative to DATA. Force early load of
36496 the return address.
36497 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36498 __builtin_frame_address.
36501 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36502 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36503 implement dup3 and do some further code clean-ups.
36504 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36505 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36507 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36509 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36511 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36512 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36513 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36514 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36515 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36518 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36519 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36520 when handler == SIG_ERR, not when handler != SIG_ERR.
36522 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36524 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36525 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36528 accept4 for GNU Hurd.
36529 * include/sys/socket.h (__libc_accept4): New prototype.
36530 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36531 to implement __libc_accept4.
36532 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36534 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36536 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36537 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36538 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36539 signal-defines.sym.
36541 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36543 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36545 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36547 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36548 assertion on O_CLOEXEC flag.
36549 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36550 * hurd/intern-fd.c: Likewise.
36551 * hurd/port2fd.c: Likewise.
36553 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36556 * bits/in.h (IPV6_PKTINFO): Define new macro.
36557 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36559 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36564 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36565 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36566 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36567 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36568 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36569 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36570 * math/libm-test.inc (logb_test) : Additional logb tests.
36572 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36573 Andreas Jaeger <aj@suse.de>
36575 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36576 * configure: Regenerated.
36577 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36578 * config.make.in (link-obsolete-rpc): New substituted variable.
36579 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36580 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36581 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36582 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36583 so that libc.a contains the symbols.
36584 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36585 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36586 * sunrpc/auth_none.c: Likewise.
36587 * sunrpc/auth_unix.c: Likewise.
36588 * sunrpc/authdes_prot.c: Likewise.
36589 * sunrpc/authuxprot.c: Likewise.
36590 * sunrpc/clnt_gen.c: Likewise.
36591 * sunrpc/clnt_perr.c: Likewise.
36592 * sunrpc/clnt_raw.c: Likewise.
36593 * sunrpc/clnt_simp.c: Likewise.
36594 * sunrpc/clnt_tcp.c: Likewise.
36595 * sunrpc/clnt_udp.c: Likewise.
36596 * sunrpc/clnt_unix.c: Likewise.
36597 * sunrpc/des_crypt.c: Likewise.
36598 * sunrpc/des_soft.c: Likewise.
36599 * sunrpc/get_myaddr.c: Likewise.
36600 * sunrpc/key_call.c: Likewise.
36601 * sunrpc/key_prot.c: Likewise.
36602 * sunrpc/netname.c: Likewise.
36603 * sunrpc/pm_getmaps.c: Likewise.
36604 * sunrpc/pm_getport.c: Likewise.
36605 * sunrpc/pmap_clnt.c: Likewise.
36606 * sunrpc/pmap_prot.c: Likewise.
36607 * sunrpc/pmap_prot2.c: Likewise.
36608 * sunrpc/pmap_rmt.c: Likewise.
36609 * sunrpc/publickey.c: Likewise.
36610 * sunrpc/rpc_cmsg.c: Likewise.
36611 * sunrpc/rpc_common.c: Likewise.
36612 * sunrpc/rpc_dtable.c: Likewise.
36613 * sunrpc/rpc_prot.c: Likewise.
36614 * sunrpc/rpc_thread.c: Likewise.
36615 * sunrpc/rtime.c: Likewise.
36616 * sunrpc/svc.c: Likewise.
36617 * sunrpc/svc_auth.c: Likewise.
36618 * sunrpc/svc_raw.c: Likewise.
36619 * sunrpc/svc_run.c: Likewise.
36620 * sunrpc/svc_tcp.c: Likewise.
36621 * sunrpc/svc_udp.c: Likewise.
36622 * sunrpc/svc_unix.c: Likewise.
36623 * sunrpc/svcauth_des.c: Likewise.
36624 * sunrpc/xcrypt.c: Likewise.
36625 * sunrpc/xdr.c: Likewise.
36626 * sunrpc/xdr_array.c: Likewise.
36627 * sunrpc/xdr_float.c: Likewise.
36628 * sunrpc/xdr_intXX_t.c: Likewise.
36629 * sunrpc/xdr_mem.c: Likewise.
36630 * sunrpc/xdr_rec.c: Likewise.
36631 * sunrpc/xdr_ref.c: Likewise.
36632 * sunrpc/xdr_sizeof.c: Likewise.
36633 * sunrpc/xdr_stdio.c: Likewise.
36635 2012-05-10 Roland McGrath <roland@hack.frob.com>
36637 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36638 change. Update copyright years.
36640 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36642 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36644 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36645 Joseph Myers <joseph@codesourcery.com>
36646 Paul Pluzhnikov <ppluzhnikov@google.com>
36649 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36651 [cross-compiling] (extra-libs): Likewise.
36652 [cross-compiling] (extra-libs-others): Likewise.
36653 [cross-compiling] (librpcsvc-routines): Likewise.
36654 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36655 [cross-compiling] (omit-deps): Likewise.
36656 (sunrpc-CPPFLAGS): New variable.
36657 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36658 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36659 (cross-rpcgen-objs): New variable.
36660 (extra-objs): Append $(cross-rpcgen-objs).
36661 ($(cross-rpcgen-objs)): New rule.
36662 ($(objpfx)cross-rpcgen): Likewise.
36663 (rpcgen-cmd): Define to use $(built-program-file). Expand
36665 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36666 ($(objpfx)x%.stmp): Likewise.
36667 * sunrpc/proto.h [IS_IN_build] (_): Define.
36668 [IS_IN_build] (_libc_intl_domainname): Likewise.
36670 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36672 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36673 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36674 and R_X86_64_TPOFF64.
36676 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36678 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36679 sysdeps/unix/sysv/syscalls.list.
36682 * sysdeps/unix/sysv/syscalls.list: Remove file.
36684 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36687 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36688 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36689 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36690 (__LC_IDENTIFICATION): Make these macros useful in #if
36691 expressions, as required by C99.
36693 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36695 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36696 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36699 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36701 * stdlib/longlong.h: Updated from GCC.
36703 2012-05-09 Andreas Jaeger <aj@suse.de>
36705 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36706 default is first entry.
36707 (run_mode): Set type.
36708 (main): Remove informal message about syslog.
36709 (options): Fix typo.
36712 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36715 (llrintf): Likewise.
36716 (llrint): Likewise.
36719 (nearbyint): Likewise.
36720 (nearbyintf): Likewise.
36722 2012-05-09 Andreas Jaeger <aj@suse.de>
36723 Pedro Alves <palves@redhat.com>
36725 * nscd/nscd.c (run_mode): Use enum.
36726 (main): Cleanup coding style issue.
36728 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36729 Andreas Jaeger <aj@suse.de>
36731 * nscd/nscd.c (go_background): Replaced with...
36732 (run_mode): ... this.
36733 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36734 (options): Add -F --foreground.
36735 (main): Implement it.
36736 (parse_opt): Parse it.
36738 2012-05-09 Andreas Jaeger <aj@suse.de>
36741 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36742 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36743 -Wconversion warning.
36744 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36747 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36749 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36751 (LC_ALL): Use macro-int-constant.
36752 (LC_COLLATE): Likewise.
36753 (LC_CTYPE): Likewise.
36754 (LC_MESSAGES): Likewise.
36755 (LC_MONETARY): Likewise.
36756 (LC_NUMERIC): Likewise.
36757 (LC_TIME): Likewise.
36758 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36759 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36760 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36761 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36763 [C99-based standards] (float_t): Expect type.
36764 [C99-based standards] (double_t): Expect type.
36765 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36767 [C99-based standards] (HUGE_VALL): Likewise.
36768 [C99-based standards] (INFINITY): Likewise.
36769 [C99-based standards] (NAN): Likewise.
36770 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36771 [C99-based standards] (FP_NAN): Likewise.
36772 [C99-based standards] (FP_NORMAL): Likewise.
36773 [C99-based standards] (FP_SUBNORMAL): Likewise.
36774 [C99-based standards] (FP_ZERO): Likewise.
36775 [C99-based standards] (FP_FAST_FMA): Use
36776 optional-macro-int-constant. Specify type. Require == 1.
36777 [C99-based standards] (FP_FAST_FMAF): Likewise.
36778 [C99-based standards] (FP_FAST_FMAL): Likewise.
36779 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36780 [C99-based standards] (FP_ILOGBNAN): Likewise.
36781 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36783 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36784 [C99-based standards] (math_errhandling): Specify type.
36785 [ISO99 || ISO11] (signgam): Do not allow.
36786 [non-C99-based standards] (copysignf): Do not allow.
36787 [non-C99-based standards] (exp2f): Likewise.
36788 [non-C99-based standards] (log2f): Likewise.
36789 [non-C99-based standards] (modff): Allow.
36790 [non-C99-based standards] (erff): Do not allow.
36791 [non-C99-based standards] (erfcf): Likewise.
36792 [non-C99-based standards] (gammaf): Likewise.
36793 [non-C99-based standards] (hypotf): Likewise.
36794 [non-C99-based standards] (j0f): Likewise.
36795 [non-C99-based standards] (j1f): Likewise.
36796 [non-C99-based standards] (jnf): Likewise.
36797 [non-C99-based standards] (lgammaf): Likewise.
36798 [non-C99-based standards] (tgammaf): Likewise.
36799 [non-C99-based standards] (y0f): Likewise.
36800 [non-C99-based standards] (y1f): Likewise.
36801 [non-C99-based standards] (ynf): Likewise.
36802 [non-C99-based standards] (isnanf): Likewise.
36803 [non-C99-based standards] (acoshf): Likewise.
36804 [non-C99-based standards] (asinhf): Likewise.
36805 [non-C99-based standards] (atanhf): Likewise.
36806 [non-C99-based standards] (cbrtf): Likewise.
36807 [non-C99-based standards] (expm1f): Likewise.
36808 [non-C99-based standards] (ilogbf): Likewise.
36809 [non-C99-based standards] (log1pf): Likewise.
36810 [non-C99-based standards] (logbf): Likewise.
36811 [non-C99-based standards] (nextafterf): Likewise.
36812 [non-C99-based standards] (remainderf): Likewise.
36813 [non-C99-based standards] (rintf): Likewise.
36814 [non-C99-based standards] (scalbf): Likewise.
36815 [non-C99-based standards] (copysignl): Likewise.
36816 [non-C99-based standards] (exp2l): Likewise.
36817 [non-C99-based standards] (log2l): Likewise.
36818 [non-C99-based standards] (modfl): Allow.
36819 [non-C99-based standards] (erfl): Do not allow.
36820 [non-C99-based standards] (erfcl): Likewise.
36821 [non-C99-based standards] (gammal): Likewise.
36822 [non-C99-based standards] (hypotl): Likewise.
36823 [non-C99-based standards] (j0l): Likewise.
36824 [non-C99-based standards] (j1l): Likewise.
36825 [non-C99-based standards] (jnl): Likewise.
36826 [non-C99-based standards] (lgammal): Likewise.
36827 [non-C99-based standards] (tgammal): Likewise.
36828 [non-C99-based standards] (y0l): Likewise.
36829 [non-C99-based standards] (y1l): Likewise.
36830 [non-C99-based standards] (ynl): Likewise.
36831 [non-C99-based standards] (isnanl): Likewise.
36832 [non-C99-based standards] (acoshl): Likewise.
36833 [non-C99-based standards] (asinhl): Likewise.
36834 [non-C99-based standards] (atanhl): Likewise.
36835 [non-C99-based standards] (cbrtl): Likewise.
36836 [non-C99-based standards] (expm1l): Likewise.
36837 [non-C99-based standards] (ilogbl): Likewise.
36838 [non-C99-based standards] (log1pl): Likewise.
36839 [non-C99-based standards] (logbl): Likewise.
36840 [non-C99-based standards] (nextafterl): Likewise.
36841 [non-C99-based standards] (remainderl): Likewise.
36842 [non-C99-based standards] (rintl): Likewise.
36843 [non-C99-based standards] (scalbl): Likewise.
36844 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36845 [non-C99-based standards] (FP_*): Do not allow.
36846 [C99-based standards] (FP_*): Change to
36847 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36848 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36850 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36851 (SIG_ERR): Likewise.
36852 [X/Open-based standards] (SIG_HOLD): Likewise.
36853 (SIG_IGN): Likewise.
36854 (SIGABRT): Use macro-int-constant. Specify type. Require
36856 (SIGFPE): Likewise.
36857 (SIGILL): Likewise.
36858 (SIGINT): Likewise.
36859 (SIGSEGV): Likewise.
36860 (SIGTER): Likewise.
36861 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36862 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36863 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36864 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36865 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36866 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36867 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36868 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36869 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36870 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36871 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36872 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36873 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36874 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36875 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36876 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36877 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36878 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36879 [X/Open-based standards] (SIGTRAP): Likewise.
36880 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36881 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36882 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36883 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36884 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36887 2012-05-08 Ian Wienand <ianw@vmware.com>
36890 * time/tzset.c (__tzset_parse_tz): Update default rules for
36891 daylight time changes in the Energy Policy Act of 2005.
36893 2012-05-09 Andreas Jaeger <aj@suse.de>
36896 * elf/ldconfig.c (parse_conf): Change string to make clear that
36897 ldconfig only issued a warning if ld.so.conf does not exist.
36899 2012-05-08 David S. Miller <davem@davemloft.net>
36901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36902 movxtod instead of popping the value on the stack.
36904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36906 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36908 * config.h.in: Add HAVE_ARM_PCS_VFP.
36910 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36913 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36914 checking but the checks are disabled for any reason.
36916 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36918 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36919 and ELF64_R_TYPE with ELFW(R_TYPE).
36921 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36923 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36924 (ulimit): Likewise.
36926 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36927 (settimeofday): Likewise.
36929 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36931 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36932 a struct th_u2 inside the union, and move tu_block/tu_code into
36933 a new th_u3 union of tu_block/tu_code inside of that. Move
36934 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36935 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36936 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36937 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36938 (th_stuff): Change to th_u1.tu_stuff.
36940 (th_msg): Change to th_u1.th_u2.tu_data.
36942 2012-05-07 David S. Miller <davem@davemloft.net>
36944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36947 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36948 (SETUP_PIC_REG): Use it.
36949 (SETUP_PIC_REG_LEAF): Use it.
36951 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36955 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36957 (EXPL_FINITE): Likewise.
36958 (FLDLOG): Likewise.
36959 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36960 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36962 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36964 (EXPL_FINITE): Likewise.
36965 (FLDLOG): Likewise.
36966 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36967 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36969 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36970 test of -max_value argument for long double.
36971 * sysdeps/i386/fpu/libm-test-ulps: Update.
36972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36974 2012-05-06 David S. Miller <davem@davemloft.net>
36976 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36977 quad soft-float symbols whose references which are compiler
36979 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36981 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36985 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36987 (EXPL_FINITE): Likewise.
36988 (FLDLOG): Likewise.
36991 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36992 Adjust comments for base varying.
36993 (__expl_finite): Change alias to EXPL_FINITE.
36994 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36996 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36997 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36998 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36999 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37000 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37002 (EXPL_FINITE): Likewise.
37003 (FLDLOG): Likewise.
37006 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37007 Adjust comments for base varying.
37008 (__expl_finite): Change alias to EXPL_FINITE.
37009 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37011 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37014 * math/libm-test.inc (check_float_internal): Correct ulp
37015 calculation for subnormal expected results.
37017 2012-05-06 Andreas Jaeger <aj@suse.de>
37019 * Makeconfig (+math-flags): New, set to -frounding-math.
37020 (+cflags): Add +math-flags so that all of glibc gets compiled with
37023 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37025 2012-05-05 Joseph Myers <joseph@codesourcery.com>
37027 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37033 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37034 (__ieee754_expl): Allow for and saturate large arguments.
37035 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37036 (u_threshold): Likewise.
37037 (__exp): Call __ieee754_exp before checking for overflow and
37039 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37040 (u_threshold): Likewise.
37041 (__expf): Call __ieee754_expf before checking for overflow and
37043 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37044 (u_threshold): Likewise.
37045 (__expl): Call __ieee754_expl before checking for overflow and
37047 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37048 (__ieee754_expl): Allow for and saturate large arguments.
37049 * math/libm-test.inc (exp_test): Add another test. Do not allow
37050 missing overflow exception on overflow.
37051 (expm1_test): Do not allow missing overflow exception on overflow.
37053 * sysdeps/i386/fpu/e_expl.c: Move to ...
37054 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37055 rather than using inline asm.
37056 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37057 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37058 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37060 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37063 (signal): Likewise.
37067 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37069 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37070 sysdeps/unix/common/syscalls.list.
37071 (fchmod): Likewise.
37072 (fchown): Likewise.
37073 (ftruncate): Likewise.
37074 (getrusage): Likewise.
37075 (gettimeofday): Likewise.
37076 (setpgid): Likewise.
37077 (setregid): Likewise.
37078 (setreuid): Likewise.
37079 (sigaction): Likewise.
37080 (truncate): Likewise.
37081 (vhangup): Likewise.
37082 * sysdeps/unix/common/syscalls.list: Remove file.
37083 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37084 * sysdeps/unix/sysv/linux/Implies: Likewise.
37086 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37088 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37090 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37094 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37097 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37100 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37103 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37106 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37109 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37112 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37116 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37120 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37123 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37127 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37131 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37133 * sysdeps/unix/common/bits/dirent.h: Remove file.
37134 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37136 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37137 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37138 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37139 * sysdeps/unix/bsd/isatty.c: Likewise.
37140 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37141 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37142 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37144 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37147 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37148 long double comparison inaccuracies.
37149 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37152 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37154 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37155 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37157 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37160 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37161 nonzero digits before rounding a hex value.
37162 * stdlib/tst-strtod.c (tests): Add another test.
37164 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37166 * sysdeps/s390/fpu/libm-test-ulps: Update.
37168 2012-05-03 Andreas Jaeger <aj@suse.de>
37170 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37171 does not get optimized out.
37172 (malloc_opt_barrier): New.
37174 2012-05-03 Andreas Jaeger <aj@suse.de>
37175 Roland McGrath <roland@hack.frob.com>
37177 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37178 intermediate file deletion.
37179 (generated): Add .symlist files.
37181 2012-05-03 Joseph Myers <joseph@codesourcery.com>
37184 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37185 Redirect under this condition.
37186 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37187 [__USE_GNU] (__dprintf_chk): Not under this condition.
37188 [__USE_GNU] (__vdprintf_chk): Likewise.
37189 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37190 under this condition.
37191 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37192 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37193 [__USE_XOPEN2K8] (vdprintf): Likewise.
37194 [__USE_GNU] (__dprintf_chk): Not under this condition.
37195 [__USE_GNU] (__vdprintf_chk): Likewise.
37196 [__USE_GNU] (dprintf): Likewise.
37197 [__USE_GNU] (vdprintf): Likewise.
37199 2012-05-03 Roland McGrath <roland@hack.frob.com>
37201 * elf/Makefile (common-generated): Set this instead of generated for
37202 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37203 $(all-built-dso)-derived lists.
37205 2012-05-03 Andreas Jaeger <aj@suse.de>
37207 * sysdeps/i386/fpu/libm-test-ulps: Update.
37210 * FAQ.in: Likewise.
37211 * scripts/gen-FAQ.pl: Likewise.
37212 * manual/install.texi (Installation): Point to online location of
37214 * Makefile (files-for-dist): Remove FAQ.
37217 2012-05-02 Allan McRae <allan@archlinux.org>
37219 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37220 (LDFLAGS-reldepmod5.so): Likewise.
37221 (LDFLAGS-reldep6mod1.so): Likewise.
37222 (LDFLAGS-reldep6mod4.so): Likewise.
37223 (LDFLAGS-reldep8mod3.so): Likewise.
37224 (LDFLAGS-unload4mod1.so): Likewise.
37225 (LDFLAGS-unload4mod2.so): Likewise.
37226 (LDFLAGS-tst-initorder): Likewise.
37227 (LDFLAGS-tst-initordera2.so): Likewise.
37228 (LDFLAGS-tst-initordera3.so): Likewise.
37229 (LDFLAGS-tst-initordera4.so): Likewise.
37230 (LDFLAGS-tst-initorderb2.so): Likewise.
37231 (LDFLAGS-noload): Likewise.
37232 (LDFLAGS-next): Likewise.
37233 (LDFLAGS-order2mod1.so): Likewise.
37234 (LDFLAGS-order2mod2.so): Likewise.
37235 (LDFLAGS-tst-initorder2): Likewise.
37236 (LDFLAGS-tst-initorder2a.so): Likewise.
37237 (LDFLAGS-tst-initorder2b.so): Likewise.
37238 (LDFLAGS-tst-initorder2c.so): Likewise.
37239 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37241 2012-05-02 David S. Miller <davem@davemloft.net>
37243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37245 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37248 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37250 2012-05-02 Andreas Jaeger <aj@suse.de>
37252 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37253 since we manipulate rounding mode.
37254 (CPPFLAGS-test-idouble.c): Likewise.
37255 (CPPFLAGS-test-ifloat.c): Likewise.
37256 (CFLAGS-test-ldouble.c): Likewise.
37257 (CFLAGS-test-double.c): Likewise.
37258 (CFLAGS-test-float.c): Likewise.
37259 (CFLAGS-test-misc.c): Likewise.
37260 (CFLAGS-test-test-fenv.c): Likewise.
37262 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37266 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37267 comparisons to determine direction to adjust input.
37269 2012-05-01 Roland McGrath <roland@hack.frob.com>
37271 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37272 output to the target.
37274 * scripts/localplt.awk: New file.
37275 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37276 (check-localplt-CFLAGS): Variable removed.
37277 ($(all-built-dso:=.jmprel)): New static pattern rule.
37278 (generated): Add those targets.
37279 (localplt-built-dso): New variable.
37280 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37282 * elf/check-localplt.c: File removed.
37284 * scripts/check-execstack.awk: New file.
37285 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37286 (check-execstack-CFLAGS): Variable removed.
37287 ($(objpfx)check-execstack.h): Target removed.
37288 ($(objpfx)execstack-default): New target.
37289 (generated): Add that instead of check-execstack.h.
37290 ($(all-built-dso:=.phdr)): New static pattern rule.
37291 (generated): Add those targets.
37292 * elf/check-execstack.c: File removed.
37294 * scripts/check-textrel.awk: New file.
37295 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37296 (check-textrel-CFLAGS): Variable removed.
37297 (all-built-dso): Use := to define.o
37298 ($(all-built-dso:=.dyn)): New static pattern rule.
37299 (generated): Add those targets.
37300 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37301 * config.make.in (READELF): New substituted variable.
37302 * elf/check-textrel.c: File removed.
37304 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37306 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37308 * conform/data/ctype.h-data [C99-based standards] (isblank):
37310 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37311 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37312 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37313 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37314 Specify type. Require positive value.
37315 (EILSEQ): Likewise.
37316 (ERANGE): Likewise.
37317 [ISO || POSIX] (EILSEQ): Do not expect.
37318 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37319 Specify type. Require positive value.
37320 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37321 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37322 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37323 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37324 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37325 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37326 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37327 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37328 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37329 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37330 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37331 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37332 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37333 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37334 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37335 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37336 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37337 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37338 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37339 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37340 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37341 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37342 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37343 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37344 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37345 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37346 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37347 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37348 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37349 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37350 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37351 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37352 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37353 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37354 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37355 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37356 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37357 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37358 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37359 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37360 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37361 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37362 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37363 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37364 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37365 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37366 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37367 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37368 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37369 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37370 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37371 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37372 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37373 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37374 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37375 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37376 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37377 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37378 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37379 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37380 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37381 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37382 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37383 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37384 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37385 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37386 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37387 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37388 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37389 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37390 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37391 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37392 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37393 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37394 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37395 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37396 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37398 (FLT_ROUNDS): Expect as macro, not constant.
37399 (FLT_MANT_DIG): Use macro-int-constant.
37400 (DBL_MANT_DIG): Likewise.
37401 (LDBL_MANT_DIG): Likewise.
37402 (FLT_DIG): Likewise.
37403 (DBL_DIG): Likewise.
37404 (LDBL_DIG): Likewise.
37405 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37406 (DBL_MIN_EXP): Likewise.
37407 (LDBL_MIN_EXP): Likewise.
37408 (FLT_MAX_EXP): Use macro-int-constant.
37409 (DBL_MAX_EXP): Likewise.
37410 (LDBL_MAX_EXP): Likewise.
37411 (FLT_MAX_10_EXP): Likewise.
37412 (DBL_MAX_10_EXP): Likewise.
37413 (LDBL_MAX_10_EXP): Likewise.
37414 (FLT_MAX): Use macro-constant.
37415 (DBL_MAX): Likewise.
37416 (LDBL_MAX): Likewise.
37417 (FLT_EPSILON): Use macro-constant. Give upper bound.
37418 (DBL_EPSILON): Likewise.
37419 (LDBL_EPSILON): Likewise.
37420 (FLT_MIN): Likewise.
37421 (DBL_MIN): Likewise.
37422 (LDBL_MIN): Likewise.
37423 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37424 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37425 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37426 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37427 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37428 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37429 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37430 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37431 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37432 [ISO11] (FLT_TRUE_MIN): Likewise.
37433 [ISO11] (LDBL_TRUE_MIN): Likewise.
37434 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37435 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37436 (SCHAR_MIN): Use macro-int-constant. Specify type.
37437 (SCHAR_MAX): Likewise.
37438 (UCHAR_MAX): Likewise.
37439 (CHAR_MIN): Likewise.
37440 (CHAR_MAX): Likewise.
37441 (MB_LEN_MAX): Use macro-int-constant.
37442 (SHRT_MIN): Use macro-int-constant. Specify type.
37443 (SHRT_MAX): Likewise.
37444 (USHRT_MAX): Likewise.
37445 (INT_MAX): Likewise.
37446 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37448 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37450 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37452 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37453 bound negative. Suffix upper bound with "L".
37454 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37456 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37458 [C99-based standards] (LLONG_MAX): Likewise.
37459 [C99-based standards] (ULLONG_MAX): Likewise.
37460 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37462 [ISO11] (max_align_t): Require type.
37463 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37465 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37466 from $CFLAGS, without defining away __attribute__ calls.
37467 (checknamespace): Use $CFLAGS_namespace.
37469 * conform/conformtest.pl (@keywords): Only include C99 keywords
37470 for standards based on C99 or C11.
37472 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37474 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37477 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37478 usability of symbols in #if.
37480 * conform/conformtest.pl: If macro or constant types start
37481 "promoted:", expect the symbol to be of the following type
37482 promoted by the integer promotions.
37484 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37485 in one place. Also handle "macro-constant".
37487 * conform/conformtest.pl: Only accept expected macro values with
37488 "==". Parse all "macro" lines in one place.
37489 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37491 * conform/conformtest.pl: Handle braced types on "constant" lines
37492 instead of handling "typed-constant".
37493 * conform/data/signal.h-data: Use "constant" instead of
37496 * conform/conformtest.pl: Handle "optional-" at start of lines in
37497 one place rather than duplicating several cases. Handle each
37498 format of "macro" line with initial "optional-".
37500 * conform/conformtest.pl: Only accept expected constant or
37501 optional-constant values with "==". Parse all "constant" lines in
37502 one place. Parse all "optional-constant" lines in one place.
37503 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37504 * conform/data/fmtmsg.h-data: Likewise.
37505 * conform/data/netinet/in.h-data: Likewise.
37506 * conform/data/tar.h-data: Likewise.
37507 * conform/data/limits.h-data: Use "==" form on "constant" and
37508 "optional-constant" lines.
37510 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37511 Use -std=c99 for XOPEN2K.
37512 (@knownproblems): Remove.
37513 (newtoken): Don't check %isknown.
37515 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37516 Do not expect macro.
37517 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37518 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37519 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37520 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37521 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37522 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37523 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37524 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37525 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37526 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37527 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37528 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37529 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37530 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37531 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37532 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37533 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37534 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37535 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37536 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37537 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37538 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37539 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37540 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37541 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37542 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37543 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37544 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37545 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37546 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37547 [XPG3] (acosh): Likewise.
37548 [XPG3] (asinh): Likewise.
37549 [XPG3] (atanh): Likewise.
37550 [XPG3] (cbrt): Likewise.
37551 [XPG3] (expm1): Likewise.
37552 [XPG3] (ilogb): Likewise.
37553 [XPG3] (log1p): Likewise.
37554 [XPG3] (logb): Likewise.
37555 [XPG3] (nextafter): Likewise.
37556 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37557 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37558 [XPG3] (remainder): Likewise.
37559 [XPG3] (rint): Likewise.
37560 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37561 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37562 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37563 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37564 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37565 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37566 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37567 [UNIX98 || XOPEN2K] (scalb): Expect.
37568 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37569 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37570 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37571 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37572 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37573 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37574 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37575 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37576 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37577 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37578 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37579 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37580 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37581 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37582 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37583 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37584 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37585 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37586 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37587 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37588 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37589 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37590 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37591 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37592 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37593 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37594 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37595 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37596 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37597 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37598 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37599 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37600 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37601 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37602 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37603 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37604 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37605 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37606 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37607 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37608 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37609 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37610 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37611 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37612 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37613 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37614 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37615 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37616 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37617 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37618 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37619 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37620 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37621 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37622 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37623 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37624 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37625 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37626 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37627 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37628 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37629 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37630 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37631 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37632 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37633 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37634 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37635 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37636 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37637 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37638 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37639 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37640 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37641 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37642 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37643 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37644 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37645 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37646 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37647 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37648 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37649 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37650 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37651 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37652 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37653 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37654 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37655 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37656 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37657 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37658 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37659 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37660 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37661 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37662 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37663 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37664 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37665 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37666 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37667 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37668 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37669 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37670 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37671 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37672 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37673 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37674 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37675 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37676 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37677 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37678 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37679 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37680 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37681 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37682 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37683 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37684 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37685 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37686 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37687 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37688 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37689 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37690 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37691 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37692 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37693 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37694 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37695 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37696 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37697 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37698 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37699 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37700 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37701 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37702 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37703 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37704 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37706 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37707 _XOPEN_SOURCE_EXTENDED for XPG4.
37709 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37711 * Makeconfig (localtime): Remove variable.
37712 (inst_localtime-file): Likewise.
37714 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37735 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37739 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37740 comparisons to determine direction to adjust input.
37741 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37742 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37743 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37745 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37747 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37749 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37750 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37752 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37754 * math/libm-test.inc (nexttoward_test): Add more tests.
37756 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37759 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37760 in version GLIBC_2.1, not GLIBC_2.0.
37761 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37764 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37767 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37769 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37770 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37771 * math/libm-test.inc (acos_test): Add more tests.
37772 (asin_test): Likewise.
37773 * sysdeps/i386/fpu/libm-test-ulps: Update.
37774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37777 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37779 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37780 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37781 * math/libm-test.inc (acos_test_tonearest): New function.
37782 (acos_test_towardzero): Likewise.
37783 (acos_test_downward): Likewise.
37784 (acos_test_upward): Likewise.
37785 (asin_test_tonearest): Likewise.
37786 (asin_test_towardzero): Likewise.
37787 (asin_test_downward): Likewise.
37788 (asin_test_upward): Likewise.
37789 (main): Call the new functions.
37790 * sysdeps/i386/fpu/libm-test-ulps: Update.
37791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37795 * math/e_exp10.c: Include <float.h>.
37796 (__ieee754_exp10): Handle underflow here rather than multiplying
37797 large negative argument by M_LN10.
37798 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37800 * math/e_exp10l.c: Include <float.h>.
37801 (__ieee754_exp10l): Handle underflow here rather than multiplying
37802 large negative argument by M_LN10l.
37803 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37804 spurious overflow exception on underflow.
37806 2012-04-29 Marek Polacek <polacek@redhat.com>
37808 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37809 (__fortify_function): New macro.
37810 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37811 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37812 __extern_always_inline.
37813 * libio/bits/stdio2.h: Likewise.
37814 * libio/bits/stdio.h: Likewise.
37815 * string/string.h: Likewise.
37816 * string/bits/string3.h: Likewise.
37817 * include/stdio.h: Likewise.
37818 * stdlib/bits/stdlib.h: Likewise.
37819 * stdlib/stdlib.h: Likewise.
37820 * rt/bits/mqueue2.h: Likewise.
37821 * rt/mqueue.h: Likewise.
37822 * posix/bits/unistd.h: Likewise.
37823 * posix/unistd.h: Likewise.
37824 * io/bits/poll2.h: Likewise.
37825 * io/bits/fcntl2.h: Likewise.
37826 * io/fcntl.h: Likewise.
37827 * io/sys/poll.h: Likewise.
37828 * misc/bits/syslog.h: Likewise.
37829 * misc/bits/syslog-ldbl.h: Likewise.
37830 * misc/sys/syslog.h: Likewise.
37831 * socket/bits/socket2.h: Likewise.
37832 * socket/sys/socket.h: Likewise.
37833 * debug/tst-chk1.c: Likewise.
37834 * wcsmbs/bits/wchar2.h: Likewise.
37835 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37836 * wcsmbs/wchar.h: Likewise.
37838 2012-04-29 Andreas Jaeger <aj@suse.de>
37840 * Makerules (tests): Remove enable-check-abi protection.
37841 (check-abi-warn): Remove.
37842 (check-abi-%): Remove check-abi-warn usage.
37844 * configure.in: Remove check-abi configure option.
37845 * configure: Regenerated.
37846 * config.make.in (enable-check-abi): Remove.
37848 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37851 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37852 double functions to double *_finite functions.
37855 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37856 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37858 * stdio-common/Makefile (tests): Add tst-sprintf3.
37859 * stdio-common/tst-sprintf3.c: New file.
37861 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37862 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37864 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37866 * conform/conformtest.pl: Remove duplicate typed-constant
37869 2012-04-28 David S. Miller <davem@davemloft.net>
37871 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37872 (check-abi-%): Remove AWK script prerequisite and explicit
37874 (check-abi): Rewrite to just diff the symlist with the abilist.
37875 (config-tls, config-abi-config): Delete, no longer used.
37876 (update-abi-%): Remove AWK script and explicit abilist directory.
37877 (update-abi): Rewrite to simply compare and conditionally copy the
37878 symlist and the sysdep abilist file. Remove update-abi-config
37880 * abilist/ld.abilist: Remove.
37881 * abilist/libBrokenLocale.abilist: Remove.
37882 * abilist/libanl.abilist: Remove.
37883 * abilist/libcrypt.abilist: Remove.
37884 * abilist/libdl.abilist: Remove.
37885 * abilist/librt.abilist: Remove.
37886 * abilist/libthread_db.abilist: Remove.
37887 * abilist/libutil.abilist: Remove.
37888 * scripts/extract-abilist.awk: Remove.
37889 * scripts/merge-abilist.awk: Remove.
37890 * sysdeps/generic/libcidn.abilist: New file.
37891 * sysdeps/generic/libnss_compat.abilist: New file.
37892 * sysdeps/generic/libnss_db.abilist: New file.
37893 * sysdeps/generic/libnss_dns.abilist: New file.
37894 * sysdeps/generic/libnss_files.abilist: New file.
37895 * sysdeps/generic/libnss_hesiod.abilist: New file.
37896 * sysdeps/generic/libnss_nis.abilist: New file.
37897 * sysdeps/generic/libnss_nisplus.abilist: New file.
37898 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37899 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37900 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37902 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37903 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37904 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37905 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37906 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37907 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37908 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37909 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37910 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37912 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37913 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37914 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37915 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37917 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37918 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37919 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37920 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37921 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37922 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37924 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37925 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37926 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37928 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37929 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37931 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37933 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37935 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37937 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37939 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37941 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37943 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37945 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37947 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37949 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37951 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37953 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38031 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38032 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38033 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38035 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38036 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38037 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38038 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38039 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38040 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38041 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38042 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38043 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38044 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38096 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38098 * conform/conformtest.pl: Fix typo in handling typed-constant from
38101 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38103 * README: Cut down references to pre-2.6 Linux kernels and
38104 Linuxthreads. Update lists of configurations in libc and ports
38105 and sort alphabetically. Say "or newer" with Linux kernel version
38108 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38110 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38113 * math/libm-test.inc (logb_test_downward): New test to expose
38114 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38117 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38120 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38122 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38123 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38125 2012-04-26 Joseph Myers <joseph@codesourcery.com>
38127 * sysdeps/unix/i386/brk.S: Remove file.
38128 * sysdeps/unix/i386/dl-brk.S: Likewise.
38129 * sysdeps/unix/i386/pipe.S: Likewise.
38130 * sysdeps/unix/i386/sigreturn.S: Likewise.
38131 * sysdeps/unix/i386/syscall.S: Likewise.
38132 * sysdeps/unix/i386/vfork.S: Likewise.
38133 * sysdeps/unix/i386/wait.S: Likewise.
38135 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38136 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38138 * configure.in (arm*-none*): Do not allow without
38139 --enable-hacker-mode.
38140 (netbsd*): Remove case setting base_os.
38141 (386bsd*): Likewise.
38142 (freebsd*): Likewise.
38145 (sunos*): Likewise.
38146 (ultrix*): Likewise.
38147 (newsos*): Likewise.
38148 (dynix*): Likewise.
38154 (minix*): Likewise.
38155 (irix4*): Likewise.
38156 (irix6*): Likewise.
38157 (solaris[2-9]*): Likewise.
38159 * configure: Regenerated.
38161 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38164 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38165 overflow or cancellation in calculating denominator.
38166 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38167 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38168 down expression to avoid unexpected rounding in newer GCCs.
38169 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38171 2012-04-26 David S. Miller <davem@davemloft.net>
38173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38174 long-double compat symbols.
38175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38189 2012-04-25 David S. Miller <davem@davemloft.net>
38191 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38192 HWCAP_* values only after the memory barriers have been defined.
38193 (atomic_full_barrier): Define.
38194 (atomic_read_barrier): Define.
38195 (atomic_write_barrier): Define.
38197 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38199 * shlib-versions: Add libgcc_s version information.
38200 * sysdeps/generic/libgcc_s.h: Remove.
38201 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38203 * sysdeps/gnu/unwind-resume.c: Likewise.
38204 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38206 2012-04-25 David S. Miller <davem@davemloft.net>
38208 * sysdeps/unix/sparc/brk.S: Delete.
38209 * sysdeps/unix/sparc/dl-brk.S: Delete.
38210 * sysdeps/unix/sparc/pipe.S: Delete.
38211 * sysdeps/unix/sparc/sysdep.S: Delete.
38212 * sysdeps/unix/sparc/sysdep.h: Delete.
38213 * sysdeps/unix/sparc/vfork.S: Delete.
38214 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38215 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38216 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38217 (ret_ERRVAL, r0, r1, MOVE): Define.
38218 (JUMPTARGET): Remove.
38219 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38220 sysdeps/unix/sparc/sysdep.h
38221 (ENTRY, END): Remove.
38222 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38224 2012-04-25 Joseph Myers <joseph@codesourcery.com>
38226 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38227 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38230 * timezone/README: Update upstream location and email address for
38232 * timezone/zdump.c: Update from tzcode 2012b.
38233 * timezone/zic.c: Likewise.
38235 * configure.in (libc_cv_as_needed): Remove test.
38236 * configure: Regenerated.
38237 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38238 conditional definition.
38239 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38240 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38241 * config.make.in (have-as-needed): Remove variable.
38243 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38244 Paul Pluzhnikov <ppluzhnikov@google.com>
38246 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38249 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38251 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38252 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38253 * sysdeps/sh/strlen.S: Likewise.
38255 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38257 * sysdeps/unix/fork.S: Remove file.
38258 * sysdeps/unix/i386/fork.S: Likewise.
38259 * sysdeps/unix/sparc/fork.S: Likewise.
38261 * sysdeps/unix/system.c: Remove file.
38262 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38264 * sysdeps/unix/getegid.S: Remove file.
38265 * sysdeps/unix/geteuid.S: Likewise.
38267 2012-04-24 Roland McGrath <roland@hack.frob.com>
38269 * scripts/check-localplt.awk: New file.
38270 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38272 * scripts/data/localplt-generic.data: Add a comment.
38274 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38275 NODE when __dir_mkfile failed.
38276 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38277 Reported by Ludovic Courtès <ludo@gnu.org>.
38279 2012-04-24 Andreas Jaeger <aj@suse.de>
38281 * Makerules (common-clean): Also remove gen-as-const-headers
38284 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38286 * Makerules (native-compile): Do not change working directory for
38287 build. Use $(OUTPUT_OPTION) in command.
38288 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38290 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38293 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38294 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38295 * math/libm-test.inc (floor_test): Add more tests.
38296 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38298 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38300 * sysdeps/unix/getdents.c: Remove file.
38301 * sysdeps/unix/sysv/getdents.c: Likewise.
38302 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38304 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38305 sysdeps/unix/mman/syscalls.list.
38307 (mprotect): Likewise.
38309 (munmap): Likewise.
38310 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38311 * sysdeps/unix/mman/syscalls.list: Remove.
38312 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38314 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38315 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38316 * configure: Regenerated.
38317 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38318 $(libgcc_s_suffix).
38319 * config.make.in (libgcc_s_suffix): Remove variable.
38321 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38323 * sysdeps/unix/sysv/gethostname.c: Move to ...
38324 * sysdeps/posix/gethostname.c: ... here.
38326 * sysdeps/unix/execve.S: Remove file.
38328 * sysdeps/unix/_exit.S: Remove file.
38330 2012-04-23 Andreas Jaeger <aj@suse.de>
38333 * manual/Makefile: Remove make dist support, there's no
38334 need for a stand-alone documentation tar ball.
38335 (TEXI2DVI): Define always, it's not in Makeconfig.
38338 (edition): Removed.
38339 (glibc-doc-$(edition).tar): Removed
38343 (ETAGS): Remove, it's in Makeconfig.
38344 (move-if-change): Remove, it's in Makeconfig.
38346 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38349 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38350 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38351 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38352 (strtod_l, strtof_l, strtold_l): Remove __wur.
38353 It is not necessarily an error to ignore strtol's return value.
38354 One can reliably look at the stored endptr to decide whether
38355 the number had valid syntax.
38357 2012-04-21 Andreas Jaeger <aj@suse.de>
38360 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38362 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38364 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38365 * sysdeps/unix/sysv/Versions: Remove file.
38367 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38372 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38375 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38376 version from __vm86.
38378 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38380 * sysdeps/unix/common/lxstat.c: Remove file.
38381 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38383 * sysdeps/unix/sysv/Makefile: Remove file.
38385 * sysdeps/unix/sysv/direct.h: Remove file.
38387 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38388 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38389 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38390 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38391 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38392 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38393 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38395 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38397 * sysdeps/unix/xmknod.c: Remove file.
38398 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38400 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38402 * sysdeps/unix/sysv/i386/time.S: Remove file.
38404 * sysdeps/unix/fxstat.c: Remove file.
38405 * sysdeps/unix/xstat.c: Likewise.
38406 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38408 * sysdeps/unix/sysv/sigaction.c: Remove file.
38410 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38411 (sysdep_headers): Remove variable.
38412 [termio.h not in sysdep_headers] (generated): Likewise.
38413 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38414 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38415 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38416 * sysdeps/unix/sysv/tcflow.c: Likewise.
38417 * sysdeps/unix/sysv/tcflush.c: Likewise.
38418 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38419 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38420 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38421 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38422 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38424 * sysdeps/unix/siglist.c: Remove file.
38426 * sysdeps/unix/getppid.S: Remove file.
38428 * sysdeps/unix/mkdir.c: Remove file.
38429 * sysdeps/unix/rmdir.c: Likewise.
38431 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38433 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38435 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38436 errlist-compat value.
38438 2012-04-18 David S. Miller <davem@davemloft.net>
38440 * sysdeps/generic/memcopy.h (reg_char): Delete.
38441 * debug/strcat_chk.c: Use char, not reg_char.
38442 * debug/strcpy_chk.c: Likewise.
38443 * debug/strncat_chk.c: Likewise.
38444 * debug/strncpy_chk.c: Likewise.
38445 * string/memchr.c: Likewise.
38446 * string/memrchr.c: Likewise.
38447 * string/rawmemchr.c: Likewise.
38448 * string/strcat.c: Likewise.
38449 * string/strchr.c: Likewise.
38450 * string/strchrnul.c: Likewise.
38451 * string/strcmp.c: Likewise.
38452 * string/strcpy.c: Likewise.
38453 * string/strncat.c: Likewise.
38454 * string/strncmp.c: Likewise.
38455 * string/strncpy.c: Likewise.
38457 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38459 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38460 __builtin_memcopy is called when src and dest ranges are known to not
38463 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38465 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38466 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38467 fwd_align_merge macro call.
38468 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38469 bwd_align_merge macro call.
38470 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38472 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38474 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38475 bwd_align_merge macros.
38476 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38477 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38478 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38480 2012-04-18 David S. Miller <davem@davemloft.net>
38482 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38484 2012-04-18 Andreas Jaeger <aj@suse.de>
38487 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38488 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38489 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38491 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38492 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38493 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38495 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38496 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38497 Adjust for changed ldbl-128 files.
38499 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38500 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38501 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38503 2012-04-17 David S. Miller <davem@davemloft.net>
38505 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38507 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38509 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38510 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38511 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38512 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38513 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38514 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38516 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38519 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38520 * math/libm-test.inc: Add ilogb errno and exception tests.
38521 * math/w_ilogb.c: New file: ilogb wrapper.
38522 * math/w_ilogbf.c: New file: ilogbf wrapper.
38523 * math/w_ilogbl.c: New file: ilogbl wrapper.
38524 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38525 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38526 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38527 exception being thrown with 0.0 as argument.
38528 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38529 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38530 exception being thrown with 0.0 as argument.
38531 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38532 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38533 exception being thrown with 0.0 as argument.
38534 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38535 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38536 exception being thrown with 0.0 as argument.
38537 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38538 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38539 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38540 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38541 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38542 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38543 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38544 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38545 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38547 2012-04-17 Petr Baudis <pasky@ucw.cz>
38549 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38552 2012-04-16 Marek Polacek <polacek@redhat.com>
38554 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38556 2012-04-16 Marek Polacek <polacek@redhat.com>
38558 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38559 operands of fdivp instruction.
38561 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38563 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38564 * elf/tst-auditmod3b.c: Likewise.
38565 * elf/tst-auditmod4b.c: Likewise.
38566 * elf/tst-auditmod5b.c: Likewise.
38567 * elf/tst-auditmod6b.c: Likewise.
38568 * elf/tst-auditmod6c.c: Likewise.
38569 * elf/tst-auditmod7b.c: Likewise.
38570 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38571 * sysdeps/x86_64/preconfigure.in: Likewise.
38572 * sysdeps/x86_64/preconfigure: Regenerated.
38574 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38576 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38579 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38581 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38582 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38584 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38587 * locale/iso-639.def: Fix gl language name. Spotted by
38590 2012-04-12 Roland McGrath <roland@hack.frob.com>
38593 * libio/libio.h (__io_write_fn): Update comment.
38595 2012-04-12 Petr Baudis <pasky@ucw.cz>
38598 * stdio.texi (Hook Functions): The user provided writer function
38599 is not allowed to return -1.
38601 2012-04-11 David S. Miller <davem@davemloft.net>
38603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38605 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38607 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38608 Add a leading slash to rtkaio.
38610 2012-04-11 Jim Meyering <meyering@redhat.com>
38613 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38614 It is not necessarily an error to ignore fwrite's return
38615 value. One can reliably use ferror to test for errors after
38618 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38620 * bits/types.h (__snseconds_t): New type.
38621 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38623 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38624 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38625 (__SNSECONDS_T_TYPE): Likewise.
38626 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38627 (__SNSECONDS_T_TYPE): Likewise.
38628 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38629 (__SNSECONDS_T_TYPE): Likewise.
38631 2012-04-10 Andreas Jaeger <aj@suse.de>
38634 * manual/time.texi (Processor Time): Return type of times is
38635 elapsed real time since an arbitrary point in the past.
38636 (CPU Time): Move CLK_TCK from here...
38637 (Processor Time): ...to here. Correct description.
38638 * manual/conf.texi (Constants for Sysconf): Correct description of
38641 2012-04-10 David S. Miller <davem@davemloft.net>
38644 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38645 where the is a gap between DT_REL(A) and DT_JMPREL.
38647 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38649 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38650 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38651 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38653 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38655 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38656 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38657 (dl_main): Handle --inhibit-cache.
38658 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38660 * elf/dl-load.c (_dl_map_object): Use it.
38661 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38663 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38666 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38667 (__ieee754_powl): Saturate large exponents rather than testing for
38668 overflow of y*log2(x).
38669 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38670 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38674 * math/s_ctan.c: Include <float.h>.
38675 (__ctan): Avoid internal overflow or cancellation in calculating
38677 * math/s_ctanf.c: Likewise.
38678 * math/s_ctanl.c: Likewise.
38679 * math/s_ctanh.c: Likewise.
38680 * math/s_ctanhf.c: Likewise.
38681 * math/s_ctanhl.c: Likewise.
38682 * math/libm-test.inc (ctan_test): Add more tests.
38683 (ctanh_test): Likewise.
38684 * sysdeps/i386/fpu/libm-test-ulps: Update.
38685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38687 2012-04-09 Andreas Jaeger <aj@suse.de>
38690 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38691 is an optional BSD extension.
38694 * manual/stdio.texi (Opening Streams): Document additional fopen
38697 2012-04-09 Roland McGrath <roland@hack.frob.com>
38699 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38700 %eax without telling the compiler.
38702 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38705 * manual/install.texi: Use sourceware.org.
38707 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38710 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38711 (__ieee754_pow): Generate overflow and underflow using huge*huge
38712 and tiny*tiny rather than just returning constant infinity or zero
38713 for large exponents.
38714 * math/libm-test.inc (pow_test): Require overflow exceptions for
38715 applicable cases of large exponents.
38718 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38719 (__ieee754_pow): Use iterative multiplication algorithm only for
38720 integer exponents with absolute value below 1024. Check for odd
38721 integer exponents when using algorithm for real exponents.
38722 * math/libm-test.inc (pow_test): Add more tests.
38723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38725 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38728 * math/libm-test.inc (exp_test): Do not allow overflow exception
38731 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38734 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38735 instead of __kernel_standard_f.
38737 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38739 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38740 * sysdeps/x86_64/memset_chk.S: Likewise.
38742 2012-04-08 Andreas Jaeger <aj@suse.de>
38745 * manual/startup.texi (Environment Access): Describe return value
38746 for putenv and setenv.
38749 * manual/filesys.texi (Directory Entries): Add description for
38753 * manual/filesys.texi (Directory Entries): Clarify that it's file
38754 system not operating system in the description of DT_UNKNOWN.
38757 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38759 2012-04-08 Stephen Compall <s11@member.fsf.org>
38762 * manual/llio.texi (Opening and Closing Files): Add cross
38763 reference to explain mode argument.
38765 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38767 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38768 * sysdeps/x86_64/memset_chk.S: Likewise.
38770 2012-04-07 David S. Miller <davem@davemloft.net>
38772 * elf/elf.h (R_SPARC_WDISP10): Define.
38773 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38775 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38776 R_SPARC_SIZE64 and R_SPARC_H34.
38778 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38780 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38781 conditions and remove no longer applicable assertion.
38783 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38785 * bits/byteswap.h: Include <features.h>.
38786 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38787 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38789 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38791 * bits/byteswap.h (__bswap_16): Removed.
38792 Include <bits/byteswap-16.h> to get __bswap_16.
38793 * sysdeps/i386/bits/byteswap.h: Likewise.
38794 * sysdeps/s390/bits/byteswap.h: Likewise.
38795 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38796 * bits/byteswap-16.h: New file.
38797 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38798 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38799 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38800 * string/Makefile (headers): Add bits/byteswap-16.h.
38802 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38805 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38807 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38808 * nss/tst-nss-static.c: New.
38810 2012-04-06 Robert Millan <rmh@gnu.org>
38813 * manual/llio.texi (File Position Primitive): lseek
38814 refers to WHENCE when it really means OFFSET.
38816 2012-04-06 Andreas Jaeger <aj@suse.de>
38818 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38819 strncmp declarations.
38821 * abilist/libc.abilist: Add __poll and __ppoll.
38823 2012-04-05 David S. Miller <davem@davemloft.net>
38825 * scripts/check-local-headers.sh: Accept a host triplet in the
38826 path matched by the exclude regexp.
38828 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38830 * sysdeps/powerpc/powerpc32/dl-machine.h
38831 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38832 * sysdeps/s390/s390-32/dl-machine.h
38833 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38834 * sysdeps/sparc/sparc32/dl-machine.h
38835 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38836 * sysdeps/sparc/sparc64/dl-machine.h
38837 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38839 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38841 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38842 undefined symbol errors.
38844 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38847 2012-04-05 Michael Matz <matz@suse.de>
38850 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38852 2012-04-05 Andreas Jaeger <aj@suse.de>
38855 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38858 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38860 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38861 which ROUND is no valid rounding mode.
38863 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38865 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38867 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38869 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38871 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38872 an exception using FPU order intentionally.
38874 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38876 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38877 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38878 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38879 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38881 2012-04-05 Simon Josefsson <simon@josefsson.org>
38884 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38885 EINVAL when BUFLEN is too smal.
38887 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38890 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38891 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38893 2012-04-03 Andreas Jaeger <aj@suse.de>
38896 * manual/setjmp.texi (System V contexts): Fix sentence.
38899 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38900 New macro for this case.
38901 [!__GNUC__] (__bswap_64): New inline function for this case.
38902 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38903 * bits/byteswap.h: Likewise.
38904 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38905 ull, guard with __GLIBC_HAVE_LONG_LONG.
38907 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38908 __GLIBC_HAVE_LONG_LONG.
38910 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38911 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38913 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38916 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38917 inptr and inend, rather than using last_ch.
38919 2012-04-02 David S. Miller <davem@davemloft.net>
38921 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38922 * stdio-common/printf-parse.h (read_int): Change return type to
38923 'int', return -1 on INT_MAX overflow.
38924 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38925 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38926 overflows INT_MAX. Check for overflow of in-format-string precision
38927 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38928 SIZE_MAX not INT_MAX for integer overflow test.
38929 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38930 skip the construct in the format string but do not record anything.
38931 * stdio-common/bug22.c: Adjust to test both width/prevision
38932 INT_MAX overflow as well as total length INT_MAX overflow. Check
38933 explicitly for proper errno values.
38935 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38937 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38939 * string/test-strcmp.c [! WIDE]: Likewise.
38940 * time/tst-mktime2.c: Likewise for INT_MAX.
38941 * string/test-string.h: #include <sys/param.h> for MIN.
38943 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38944 * sysdeps/i386/init-first.c (init): Likewise.
38945 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38946 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38947 * sysdeps/sh/init-first.c (init): Likewise.
38949 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38951 * po/ru.po: Update from translation team.
38952 * po/vi.po: Likewise.
38954 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38956 * resolv/nss_dns/dns-host.c: Merge copyright years.
38958 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38960 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38961 Optimize memcpy with prefetch if
38962 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38963 src, dst pointers have unequal 16 byte alignments.
38965 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38968 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38969 from a CNAME entry and return the minimum ttl for the query.
38970 (gaih_getanswer_slice): Likewise.
38972 2012-03-30 Jeff Law <law@redhat.com>
38974 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38976 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38977 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38979 * resolv/nss_dns/dns-host.c: Update copyright year.
38981 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38983 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38984 requests to save a system call. Fix check that all bytes are sent.
38986 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38987 comments for sendmmsg.
38989 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38992 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38993 with only 1 character between 0x0041 and 0x01b0.
38994 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38995 * wcsmbs/tst-mbsnrtowcs.c: New file.
38997 2012-03-29 David S. Miller <davem@davemloft.net>
38999 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39000 small copies by hand.
39002 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39005 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39006 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39009 2012-03-28 David S. Miller <davem@davemloft.net>
39011 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39012 that branches into memcpy.
39013 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39014 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39015 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39016 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39017 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39019 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39020 implementation too.
39021 * sysdeps/sparc/mempcpy.S: New file.
39023 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39024 the IFUNC routine in the libc case.
39025 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39027 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39028 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39029 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39030 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39031 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39032 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39033 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39034 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39036 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39037 loop to 256 bytes instead of 64 bytes and fix test signedness.
39039 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39040 * sysdeps/sparc/sparc32/Makefile: rather than here...
39041 * sysdeps/sparc/sparc64/Makefile: and here.
39043 2012-03-28 Ulrich Drepper <drepper@gmail.com>
39045 * malloc/mallocbug.c: Avoid warnings about unused variables.
39047 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39050 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39051 in the right place. Discard and retry query if response is
39052 larger than input buffer size.
39054 2012-03-28 Joseph Myers <joseph@codesourcery.com>
39059 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39060 x for large integer exponent.
39061 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39062 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39063 sign of result as needed afterwards.
39064 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39065 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39066 result for underflowing pow the same as for overflow.
39067 (__kernel_standard_l): Handle powl overflow and underflow here
39068 rather than calling __kernel_standard.
39069 * math/libm-test.inc (pow_test): Add more tests.
39084 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39085 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39086 (__kernel_standard_l): New function.
39087 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39089 * math/w_acosl.c (__acosl): Likewise.
39090 * math/w_asinl.c (__asinl): Likewise.
39091 * math/w_atan2l.c (__atan2l): Likewise.
39092 * math/w_atanhl.c (__atanhl): Likewise.
39093 * math/w_coshl.c (__coshl): Likewise.
39094 * math/w_exp10l.c (__exp10l): Likewise.
39095 * math/w_exp2l.c (__exp2l): Likewise.
39096 * math/w_fmodl.c (__fmodl): Likewise.
39097 * math/w_hypotl.c (__hypotl): Likewise.
39098 * math/w_j0l.c (__j0l, __y0l): Likewise.
39099 * math/w_j1l.c (__j1l, __y1l): Likewise.
39100 * math/w_jnl.c (__jnl, __ynl): Likewise.
39101 * math/w_lgammal.c (__lgammal): Likewise.
39102 * math/w_log10l.c (__log10l): Likewise.
39103 * math/w_log2l.c (__log2l): Likewise.
39104 * math/w_logl.c (__logl): Likewise.
39105 * math/w_powl.c (__powl): Likewise.
39106 * math/w_remainderl.c (__remainderl): Likewise.
39107 * math/w_scalbl.c (sysv_scalbl): Likewise.
39108 * math/w_sinhl.c (__sinhl): Likewise.
39109 * math/w_sqrtl.c (__sqrtl): Likewise.
39110 * math/w_tgammal.c (__tgammal): Likewise.
39111 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39112 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39113 * math/libm-test.inc (acos_test): Add more tests.
39114 (acosh_test): Likewise.
39115 (asin_test): Likewise.
39116 (atanh_test): Likewise.
39117 (exp_test): Likewise.
39118 (exp10_test): Likewise.
39119 (exp2_test): Likewise.
39120 (expm1_test): Likewise.
39121 (lgamma_test): Likewise.
39122 (log_test): Likewise.
39123 (log10_test): Likewise.
39124 (log1p_test): Likewise.
39125 (log2_test): Likewise.
39126 (pow_test): Do not allow some spurious overflow exceptions.
39127 (sqrt_test): Add more tests.
39128 (tgamma_test): Likewise.
39129 (y0_test): Likewise.
39130 (y1_test): Likewise.
39131 (yn_test): Likewise.
39133 2012-03-27 Anton Blanchard <anton@samba.org>
39135 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39137 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39138 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39139 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39141 2012-03-27 David S. Miller <davem@davemloft.net>
39143 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39145 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39146 have-as-vis3 check.
39148 2012-03-27 Andreas Jaeger <aj@suse.de>
39150 * sysdeps/x86_64/elf/configure.in: Moved to ...
39151 * sysdeps/x86_64/configure.in: ... here.
39152 * sysdeps/x86_64/elf/start.S: Moved to ...
39153 * sysdeps/x86_64/start.S: ... here.
39154 * sysdeps/x86_64/elf/configure: Delete.
39156 * sysdeps/x86_64/configure.in: Merge contents from
39157 sysdeps/i386/configure.in (without i686 check).
39159 * sysdeps/i386/elf/Versions: Merge into ...
39160 * sysdeps/i386/Versions: ... this.
39161 * sysdeps/i386/elf/Versions: Delete file.
39162 * sysdeps/i386/elf/start.S: Moved to ...
39163 * sysdeps/i386/start.S: ...here.
39164 * sysdeps/i386/elf/configure.in: Merge into...
39165 * sysdeps/i386/configure.in: ...here.
39166 * sysdeps/i386/elf/configure.in: Delete file.
39167 * sysdeps/i386/elf/configure: Delete file.
39169 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39170 * debug/backtracesyms.c: ... here.
39171 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39172 * debug/backtracesymsfd.c: ... here.
39173 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39174 * sysdeps/generic/ifunc-sel.h: ... here.
39176 * sysdeps/unix/i386/start.c: Delete file.
39177 * sysdeps/unix/sparc/start.c: Delete file.
39178 * sysdeps/unix/start.c: Delete file.
39180 * sysdeps/sh/elf/configure.in: Moved to ...
39181 * sysdeps/sh/configure.in: ... here.
39182 * sysdeps/sh/elf/start.S: Moved to ...
39183 * sysdeps/sh/start.S: ... here.
39184 * sysdeps/sh/elf/configure: Delete file.
39186 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39187 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39188 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39189 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39190 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39191 * sysdeps/powerpc/powerpc64/start.S: here.
39192 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39193 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39194 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39195 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39196 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39198 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39199 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39200 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39201 * sysdeps/powerpc/powerpc32/start.S: ... here.
39202 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39203 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39204 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39206 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39207 * sysdeps/powerpc/ifunc-sel.h: ... here.
39208 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39209 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39211 * sysdeps/sparc/elf/configure.in: Moved to ...
39212 * sysdeps/sparc/configure.in: ... here.
39213 * sysdeps/sparc/elf/configure: Delete file.
39214 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39215 * sysdeps/sparc/sparc32/start.S: ... here.
39216 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39217 * sysdeps/sparc/sparc64/start.S: ... here.
39218 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39219 * sysdeps/sparc/sparc32/Makefile: ... this.
39220 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39221 * sysdeps/sparc/sparc64/Makefile: ... this.
39223 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39224 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39225 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39226 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39227 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39228 * sysdeps/s390/s390-32/setjmp.S: ... here.
39229 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39230 * sysdeps/s390/s390-32/configure.in: ... here.
39231 * sysdeps/s390/s390-32/elf/configure: Delete file.
39232 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39233 * sysdeps/s390/s390-32/start.S: ... here.
39235 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39236 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39237 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39238 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39239 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39240 * sysdeps/s390/s390-64/setjmp.S: ... here.
39241 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39242 * sysdeps/s390/s390-64/configure.in: ... here
39243 * sysdeps/s390/s390-64/elf/configure: Delete file.
39244 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39245 * sysdeps/s390/s390-64/start.S: ... here.
39246 * sysdeps/s390/s390-64/elf/configure: Delete.
39248 * configure.in: Remove support for elf directories in sysdeps.
39250 * configure: Regenerated.
39251 * sysdeps/i386/configure: Regenerated.
39252 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39253 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39254 * sysdeps/s390/s390-32/configure: Regenerated.
39255 * sysdeps/s390/s390-64/configure: Regenerated.
39256 * sysdeps/sh/configure: Regenerated.
39257 * sysdeps/sparc/configure: Regenerated.
39258 * sysdeps/x86_64/configure: Regenerated.
39260 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39264 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39265 denormal result into account.
39267 2012-03-25 Roland McGrath <roland@hack.frob.com>
39269 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39270 Reported by Allan McRae <allan@archlinux.org>.
39272 2012-03-23 Jeff Law <law@redhat.com>
39274 * nss/getnssent.c (__nss_getent): Fix typo.
39276 2012-03-23 David S. Miller <davem@davemloft.net>
39278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39280 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39282 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39283 to pad to uint64_t for each field.
39284 (dl_tls_index): Replace unsigned long with uint64_t.
39286 2012-03-23 Daniel Jacobowitz <dmj@google.com>
39287 Paul Pluzhnikov <ppluzhnikov@google.com>
39290 * grp/Makefile (otherlibs): Don't set it.
39291 * inet/Makefile (otherlibs): Likewise.
39292 * login/Makefile (otherlibs): Likewise.
39293 * nscd/Makefile (otherlibs): Likewise.
39294 * posix/Makefile (otherlibs): Likewise.
39295 * pwd/Makefile (otherlibs): Likewise.
39296 * rt/Makefile (otherlibs): Likewise.
39297 * sunrpc/Makefile (otherlibs): Likewise.
39298 * nss/Makefile (otherlibs): Likewise.
39299 Add libnss_files to routines and static-only-routines.
39300 ($(objpfx)getent): Remove rule.
39301 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39302 static-only-routines.
39304 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39307 * math/s_cexp.c: Include <float.h>.
39308 (__cexp): Handle exp result overflowing not necessarily
39309 overflowing both real and imaginary parts of result.
39310 * math/s_cexpf.c: Likewise.
39311 * math/s_cexpl.c: Likewise.
39312 * math/libm-test.inc (cexp_test): Add more tests.
39313 * sysdeps/i386/fpu/libm-test-ulps: Update.
39314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39316 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39318 * include/link.h (ELFW): New macro.
39319 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39320 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39322 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39324 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39327 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39329 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39331 (struct La_x32_retval): Likewise.
39333 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39335 * sysdeps/x86_64/preconfigure.in: New file.
39336 * sysdeps/x86_64/preconfigure: New generated file.
39338 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39341 * math/e_exp2l.c: Include <float.h>.
39342 (__ieee754_exp2l): Handle overflow and underflow cases
39343 separately. Only pass fractional part of argument to
39345 * math/libm-test.inc (exp2_test): Add more tests.
39347 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39348 negating x to take absolute value.
39349 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39351 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39352 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39354 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39355 computing low part if x was negated.
39356 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39358 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39360 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39361 la_x32_gnu_pltexit.
39362 (pltexit): Cast int_retval to ptrdiff_t.
39363 * elf/tst-auditmod3b.c: Likewise.
39364 * elf/tst-auditmod4b.c: Likewise.
39365 * elf/tst-auditmod5b.c: Likewise.
39366 * elf/tst-auditmod6b.c: Likewise.
39367 * elf/tst-auditmod6c.c: Likewise.
39368 * elf/tst-auditmod7b.c: Likewise.
39370 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39371 and x32_gnu_pltexit.
39373 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39374 __ELF_NATIVE_CLASS.
39375 (La_x32_regs): New macro.
39376 (La_x32_retval): Likewise.
39377 (la_x32_gnu_pltenter): New function prototype.
39378 (la_x32_gnu_pltexit): Likewise.
39380 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39382 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39387 * configure.in (libc_cv_cc_nofma): Check for option to disable
39388 generation of FMA instructions.
39389 * configure: Regenerate.
39390 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39391 * sysdeps/ieee754/dbl-64/Makefile: New file.
39392 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39393 Remove brandred-fma4.
39394 (CFLAGS-brandred-fma4.c): Remove.
39395 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39396 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39398 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39401 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39403 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39404 LLONG_MAX != LONG_MAX.
39405 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39406 (_fitoa_word): Likewise.
39407 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39408 LLONG_MAX != LONG_MAX.
39409 * stdio-common/_itowa.h: Include <_itoa.h>.
39410 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39411 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39412 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39413 only if not defined.
39414 (_ITOA_WORD_TYPE): Likewise.
39415 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39416 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39418 2012-03-21 David S. Miller <davem@davemloft.net>
39420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39422 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39424 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39425 of x86_64 when setting libc_cv_slibdir, libdir and
39427 * sysdeps/unix/sysv/linux/configure: Regenerated.
39429 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39431 * manual/lang.texi (Old Varargs): Remove section.
39432 (How Variadic): Update menu.
39433 (va_start): Do not mention varargs.h.
39435 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39436 Joseph Myers <joseph@codesourcery.com>
39438 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39440 * configure: Regenerated.
39442 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39444 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39445 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39448 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39451 * Makefile (files-for-dist): Remove NOTES.
39452 (NOTES): Remove rule.
39453 * README: Don't refer to NOTES.
39454 * manual/creature.texi: Don't include macros.texi.
39455 * manual/intro.texi (creature.texi): Remove comment referring to
39458 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39459 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39460 * configure: Regenerated.
39461 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39462 LIBC_TRY_CC_OPTION.
39463 (libc_cv_as_i686): Likewise.
39464 (libc_cv_cc_avx): Likewise.
39465 (libc_cv_cc_sse2avx): Likewise.
39466 (libc_cv_cc_fma4): Likewise.
39467 (libc_cv_cc_novzeroupper): Likewise.
39468 * sysdeps/i386/configure: Regenerated.
39471 * sysdeps/i386/fpu/s_cexp.S: Remove.
39472 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39473 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39474 * math/libm-test.inc (cexp_test): Add more tests.
39475 * sysdeps/i386/fpu/libm-test-ulps: Update.
39476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39478 2012-03-21 Allan McRae <allan@archlinux.org>
39480 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39482 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39485 * math/w_exp2.c: Do not include <float.h>.
39486 (o_threshold, u_threshold): Remove.
39487 (__exp2): Calculate result before checking finiteness and calling
39489 * math/w_exp2f.c: Likewise.
39490 * math/w_exp2l.c: Likewise.
39491 * math/libm-test.inc (exp2_test): Require overflow exception for
39495 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39496 range of signed 64-bit integers before using fistpll. Remove
39497 checks for whether integers fit in mantissa bits.
39498 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39499 the range of signed 32-bit integers before using fistpl. Remove
39500 checks for whether integers fit in mantissa bits.
39501 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39502 (__ieee754_powl): Test for y outside the range of signed 64-bit
39503 integers before using fistpll. Reduce 64-bit values to 63-bit
39505 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39506 divide-by-zero is raised for zero to large negative powers.
39507 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39508 (__ieee754_powl): Test for y outside the range of signed 64-bit
39509 integers before using fistpll. Reduce 64-bit values to 63-bit
39511 * math/libm-test.inc (pow_test): Add more tests.
39513 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39515 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39516 <stdio-common/_itoa.h>.
39517 * debug/segfault.c: Likewise.
39518 * elf/dl-cache.c: Likewise.
39519 * elf/dl-minimal.c: Likewise.
39520 * elf/dl-misc.c: Likewise.
39521 * elf/dl-sysdep.c: Likewise.
39522 * elf/dl-version.c: Likewise.
39523 * elf/rtld.c: Likewise.
39524 * hurd/hurdsock.c: Likewise.
39525 * hurd/lookup-retry.c: Likewise.
39526 * malloc/malloc.c: Likewise.
39527 * malloc/mtrace.c: Likewise.
39528 * nscd/nscd_getgr_r.c: Likewise.
39529 * nscd/nscd_getpw_r.c: Likewise.
39530 * nscd/nscd_getserv_r.c: Likewise.
39531 * posix/getopt_init.c: Likewise.
39532 * posix/wordexp.c: Likewise.
39533 * stdio-common/_itoa.c: Likewise.
39534 * stdio-common/printf_fphex.c: Likewise.
39535 * stdio-common/vfprintf.c: Likewise.
39536 * string/_strerror.c: Likewise.
39537 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39538 * sysdeps/i386/i686/hp-timing.h: Likewise.
39539 * sysdeps/mach/_strerror.c: Likewise.
39540 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39541 * sysdeps/mach/hurd/sethostid.c: Likewise.
39542 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39543 * sysdeps/mach/xpg-strerror.c: Likewise.
39544 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39545 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39546 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39547 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39548 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39549 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39550 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39551 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39552 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39553 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39554 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39555 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39556 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39557 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39558 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39559 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39560 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39561 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39562 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39563 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39564 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39566 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39568 * stdio-common/_itoa.h: Moved to ...
39569 * sysdeps/generic/_itoa.h: Here.
39571 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39573 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39574 instead of "_itoa.h" and "_itowa.h".
39575 * stdio-common/vfprintf.: Likewise.
39577 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39579 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39581 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39582 (__signbit): Likwise.
39583 (llrintf): Likwise.
39586 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39588 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39591 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39593 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39594 OVERFLOW_EXCEPTION_OK.
39595 * math/libm-test.inc ("Philosophy"): Update comment about
39597 (OVERFLOW_EXCEPTION): Define.
39598 (OVERFLOW_EXCEPTION_OK): Likewise.
39599 (INVALID_EXCEPTION_OK): Renumber.
39600 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39601 (IGNORE_ZERO_INF_SIGN): Likewise.
39602 (test_exceptions): Handle FE_OVERFLOW.
39603 (exp10_test): Expect overflow exceptions.
39604 (exp2_test): Likewise.
39605 (expm1_test): Likewise.
39606 (nextafter_test): Likewise.
39607 (pow_test): Likewise.
39608 (scalbn_test): Likewise.
39609 (scalbln_test): Likewise.
39611 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39613 * sysdeps/x86_64/bits/atomic.h
39614 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39616 (atomic_exchange_acq): Likewise.
39617 (__arch_exchange_and_add_body): Likewise.
39618 (__arch_add_body): Likewise.
39619 (atomic_add_negative): Likewise.
39620 (atomic_add_zero): Likewise.
39622 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39624 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39625 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39627 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39629 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39630 Check __x86_64__ instead of __WORDSIZE.
39632 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39634 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39636 2012-03-19 David S. Miller <davem@davemloft.net>
39638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39640 * sysdeps/sparc/fpu/fenv_private.h: New file.
39641 * sysdeps/sparc/fpu/math_private.h: Use it.
39642 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39644 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39645 (libc_feholdexcept_setroundl): Remove.
39646 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39648 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39649 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39651 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39653 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39654 int64_t instead of long int.
39655 (INSERT_WORDS64): Likwise.
39657 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39659 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39660 _Unwind_GetCFA return to _Unwind_Ptr first.
39662 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39665 * math/s_clog.c: Include <float.h>.
39666 (__clog): Scale large or subnormal inputs.
39667 * math/s_clogf.c: Likewise.
39668 * math/s_clogl.c: Likewise.
39669 * math/s_clog10.c: Include <float.h>.
39670 (M_LOG10_2): Define.
39671 (__clog10): Scale large or subnormal inputs.
39672 * math/s_clog10f.c: Likewise.
39673 * math/s_clog10l.c: Likewise.
39674 * math/libm-test.inc (clog_test): Add more tests.
39675 (clog10_test): Likewise.
39676 * sysdeps/i386/fpu/libm-test-ulps: Update.
39677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39680 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39682 * math/libm-test.inc (atan2_test): Add another test.
39684 * Makerules (common-objdir-compile): Remove.
39685 * sysdeps/unix/Makefile (config-generated): Do not add
39686 $(unix-generated) to variable.
39687 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39688 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39690 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39692 [generic bits/local_lim.h] (before-compile): Do not append to
39694 [generic bits/local_lim.h] (common-generated): Likewise.
39695 [generic sys/param.h] (before-compile): Do not append to variable.
39696 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39697 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39698 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39699 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39701 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39702 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39703 [generic sys/param.h] ($(addprefix
39704 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39705 [generic sys/param.h] (common-generated): Do not append to
39707 [generic sys/param.h] (sysdep_headers): Likewise.
39708 [generic bits/errno.h] (before-compile): Do not append to
39710 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39712 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39713 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39714 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39715 [generic bits/errno.h] (common-generated): Do not append to
39717 [generic bits/ioctls.h] (before-compile): Do not append to
39719 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39721 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39722 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39723 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39725 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39726 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39727 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39728 [generic bits/ioctls.h] (common-generated): Do not append to
39730 [generic sys/syscall.h] (syscall.h): Remove variable.
39731 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39733 [generic sys/syscall.h] (before-compile): Do not append to
39735 [generic sys/syscall.h] (common-generated): Likewise.
39736 * sysdeps/unix/errnos-tmpl.c: Remove file.
39737 * sysdeps/unix/errnos.awk: Likewise.
39738 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39739 * sysdeps/unix/ioctls.awk: Likewise.
39740 * sysdeps/unix/mk-local_lim.c: Likewise.
39741 * sysdeps/unix/snarf-ioctls: Likewise.
39743 2012-03-19 Richard Henderson <rth@twiddle.net>
39745 * sysdeps/i386/fpu/fenv_private.h: New file.
39746 * sysdeps/i386/fpu/math_private.h: Use it.
39747 (math_opt_barrier, math_force_eval): Remove.
39748 (libc_feholdexcept_setround_53bit): Remove.
39749 (libc_feupdateenv_53bit): Remove.
39750 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39751 (math_opt_barrier, math_force_eval): Remove.
39752 (libc_feholdexcept): Remove.
39753 (libc_feholdexcept_setround): Remove.
39754 (libc_fetestexcept, libc_fesetenv): Remove.
39755 (libc_feupdateenv_test): Remove.
39756 (libc_feupdateenv, libc_feholdsetround): Remove.
39757 (libc_feresetround): Remove.
39759 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39760 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39762 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39763 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39764 (libc_feupdateenv_testl): New.
39765 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39766 (libc_feupdateenv_testf): New.
39767 (libc_feupdateenv): Use libc_feupdateenv_test.
39768 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39769 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39771 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39772 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39773 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39774 (libc_feresetround_noex): New.
39775 (libc_feresetround_noexf): New.
39776 (libc_feresetround_noexl): New.
39777 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39778 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39779 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39780 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39782 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39783 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39785 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39786 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39787 SET_RESTORE_ROUND_NOEX.
39788 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39789 SET_RESTORE_ROUND_NOEXF.
39790 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39791 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39792 (libc_feholdsetroundf): New.
39793 (libc_feresetround, libc_feresetroundf): New.
39795 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39796 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39797 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39799 * sysdeps/generic/math_private.h: Include <fenv.h>.
39800 (default_libc_feholdexcept): New.
39801 (default_libc_feholdexcept_setround): New.
39802 (default_libc_fesetenv, default_libc_feupdateenv): New.
39803 (libc_feholdexcept): Only define if undefined.
39804 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39805 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39806 (libc_feholdexcept_setroundl): Likewise.
39807 (libc_feholdexcept_setround_53bit): Likewise.
39808 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39809 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39810 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39811 (libc_feupdateenv_53bit): Likewise.
39812 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39813 (libc_feholdexcept): Convert from macro to inline function.
39814 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39815 (libc_fesetenv, libc_feupdateenv): Likewise.
39817 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39818 not previously defined.
39819 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39820 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39821 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39822 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39823 * sysdeps/ieee754/flt-32/math_private.h: New file.
39824 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39825 math_private.h below SET_FLOAT_WORD.
39826 (__isnan, __isinf_ns, __finite): Remove.
39827 (__isnanf, __isinf_nsf, __finitef): Remove.
39829 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39833 2012-03-17 David S. Miller <davem@davemloft.net>
39836 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39839 2012-03-16 David S. Miller <davem@davemloft.net>
39841 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39845 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39847 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39848 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39849 sysdep_routines when subdir is sysvipc.
39850 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39851 __getshmlba helper.
39853 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39855 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39857 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39860 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39862 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39863 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39864 (__lround): Renamed to ...
39865 (__llround): This. Replace long int with long long int.
39866 Define lround functions as aliases of llround functions.
39867 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39869 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39871 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39872 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39873 adresses to uintptr_t. Replace "long int" and "unsigned long
39874 int" with "greg_t" on va_arg.
39876 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39878 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39879 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39881 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39882 Move e_machine check before EI_CLASS check. Handle x32
39883 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39884 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39885 SKIP_EM_IA_64 and include
39886 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39888 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39889 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39890 (add_system_dir): New macro.
39892 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39893 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39895 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39906 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39908 * math/w_j0f.c (j0f): Likewise.
39910 * math/w_j0l.c (__j0l): Likewise.
39912 * math/w_j1.c (j1): Likewise.
39914 * math/w_j1f.c (j1f): Likewise.
39916 * math/w_j1l.c (__j1l): Likewise.
39918 * math/w_jn.c (jn): Likewise.
39920 * math/w_jnf.c (jnf): Likewise.
39922 * math/w_jnl.c (__jnl): Likewise.
39924 * math/libm-test.inc (j0_test): Add more tests.
39925 (j1_test): Likewise.
39926 (jn_test): Likewise. Add trailing semicolon to existing test.
39927 (y0_test): Likewise.
39928 (y1_test): Likewise.
39929 * sysdeps/i386/fpu/libm-test-ulps: Update.
39930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39934 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39935 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39936 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39937 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39938 (__tanl): Set errno for infinite argument.
39939 * sysdeps/i386/fpu/mptan.c: Remove.
39940 * sysdeps/i386/fpu/s_tan.S: Likewise.
39941 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39942 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39943 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39944 * math/libm-test.inc (tan_test): Add more tests and enable more
39945 tests for double and long double.
39946 * sysdeps/i386/fpu/libm-test-ulps: Update.
39947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39949 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39951 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39952 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39954 2012-03-16 Roland McGrath <roland@hack.frob.com>
39956 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39957 * configure.in: Use it for both main tree and add-ons.
39958 * configure: Regenerated.
39960 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39962 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39964 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39966 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39970 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39971 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39972 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39973 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39974 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39976 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39977 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39978 != 0 for prec == 2.
39979 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39980 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39981 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39982 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39983 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39984 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39985 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39986 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39987 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39988 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39989 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39990 * math/libm-test.inc (cos_test): Add more tests and enable more
39991 tests for long double.
39992 (sin_test): Likewise.
39993 (sincos_test): Likewise.
39994 * sysdeps/i386/fpu/libm-test-ulps: Update.
39995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39997 2012-03-16 David S. Miller <davem@davemloft.net>
39999 * sysdeps/sparc/fpu/math_private.h: New file.
40001 2012-03-15 David S. Miller <davem@davemloft.net>
40003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40013 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40017 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40018 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40020 * sysdeps/sparc/sparc-ifunc.h: New file.
40021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40046 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40047 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40048 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40049 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40050 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40058 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40059 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40060 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40061 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40062 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40063 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40064 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40066 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40068 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40072 2012-03-15 Andreas Jaeger <aj@suse.de>
40075 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40076 ieee754/flt-32 implementation for sin, cos and sincos.
40077 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40078 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40079 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40080 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40081 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40082 ieee754/flt-32 implementation for tan.
40084 * math/libm-test.inc (cos_test): Enable some large input tests for
40086 (sin_test): Likewise.
40087 (sincos_test): Likewise.
40088 (tan_test): Add tests for large input.
40090 * sysdeps/i386/fpu/libm-test-ulps: Update.
40092 2012-03-15 Andreas Jaeger <aj@suse.de>
40095 * math/libm-test.inc (cos_test): Add more test cases.
40096 (sin_test): Likewise.
40097 (sincos_test): Likewise.
40099 2012-03-15 Andreas Jaeger <aj@suse.de>
40102 * math/libm-test.inc (cos_test): Add a test case for large input
40104 (sin_test): Likewise.
40105 (sincos_test): Likewise.
40107 2012-03-15 Andreas Jaeger <aj@suse.de>
40108 Joseph Myers <joseph@codesourcery.com>
40111 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40112 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40113 * sysdeps/i386/fpu/branred.c: Likewise.
40114 * sysdeps/i386/fpu/dosincos.c: Likewise.
40115 * sysdeps/i386/fpu/mpa.c: Likewise.
40116 * sysdeps/i386/fpu/s_cos.S: Likewise.
40117 * sysdeps/i386/fpu/s_sin.S: Likewise.
40118 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40119 * sysdeps/i386/fpu/sincos32.c: Likewise.
40121 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40123 (libc_feupdateenv_53bit): Define.
40124 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40126 (libc_feupdateenv_53bit): Define.
40128 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40129 53 bit (without extend i386 double precision).
40131 * math/libm-test.inc (sincos_test): Add tests for large input.
40135 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40137 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40141 2012-03-15 David S. Miller <davem@davemloft.net>
40143 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40144 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40145 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40146 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40170 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40171 fmin/fmax sysdep routines.
40172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40174 2012-03-14 David S. Miller <davem@davemloft.net>
40176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40178 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40179 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40180 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40181 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40182 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40183 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40185 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40186 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40187 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40195 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40196 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40197 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40198 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40199 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40200 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40201 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40202 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40203 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40204 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40248 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40253 * sysdeps/sparc/configure.in: New file.
40254 * sysdeps/sparc/configure: Generate.
40255 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40256 * configure: Regenerate.
40257 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40258 * config.make.in (have-as-vis3): New.
40259 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40260 available use -Av9d instead of -Av9a.
40261 * sysdeps/sparc/sparc64/Makefile: Likewise.
40262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40271 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40272 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40273 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40274 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40275 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40277 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40278 fzeros/fnegs to load 0x80000000 into a float register instead of
40280 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40282 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40284 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40286 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40287 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40288 ($(inst_includedir)/bits/syscall.h): Remove rule.
40289 ($(objpfx)bits/syscall.d): Include instead of
40290 $(objpfx)syscall-list.d.
40291 (generated): Change syscall-list.h and syscall-list.d to
40292 bits/syscall.h and bits/syscall.d.
40294 2012-03-14 Roland McGrath <roland@hack.frob.com>
40297 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40299 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40302 * math/s_csqrt.c: Include <float.h>.
40303 (__csqrt): Scale large or subnormal inputs.
40304 * math/s_csqrtf.c: Likewise.
40305 * math/s_csqrtl.c: Likewise.
40306 * math/libm-test.inc (csqrt_test): Add more tests.
40307 * sysdeps/i386/fpu/libm-test-ulps: Update.
40308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40311 * math/libm-test.inc (hypot_test): Add more tests.
40313 2012-03-13 David S. Miller <davem@davemloft.net>
40316 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40317 double-precision for the calculation instead of scaling.
40319 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40321 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40322 manipulate bits before adding and subtracting TWO52[sx].
40323 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40324 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40326 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40328 2012-03-13 David S. Miller <davem@davemloft.net>
40330 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40331 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40332 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40333 rtld-global-offsets.h
40334 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40336 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40339 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40341 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40342 'err' in the ifdef scope in which it is actually used.
40344 * nss/nss_db/db-init.c: Include string.h
40346 2012-03-12 David S. Miller <davem@davemloft.net>
40348 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40349 masking out of the most significant byte of random value used.
40350 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40351 Fix coding style in previous change.
40353 * sysdeps/unix/sysv/linux/kernel-features.h
40354 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40355 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40357 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40360 2012-03-11 David S. Miller <davem@davemloft.net>
40362 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40363 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40364 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40365 for 'resultvar' otherwise things get truncated on 64-bit.
40367 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40368 Fix masking out of the most significant byte of random value used.
40370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40372 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40376 2012-03-09 David S. Miller <davem@davemloft.net>
40378 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40379 variables with appropriate CPP guards.
40380 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40381 from the frame pointer, not the stack pointer. Correct layout
40382 comments. Fix test on resulting framesize and the management of
40383 the outregs buffer for pltexit. Preserve floating point return
40384 values across _dl_call_pltexit call.
40385 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40386 framesize and the management of the outregs buffer for pltexit.
40387 Preserve floating point return values across _dl_call_pltexit
40389 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40390 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40391 (la_sparc64_gnu_pltexit): New functions.
40392 (print_exit): Fix format string for return register value.
40394 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40396 * sunrpc/Makefile (others): Add rpcgen.
40397 ($(objpfx)rpcgen): Remove special build rule and dependency on
40399 * sunrpc/rpcgen.c: New file.
40401 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40404 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40405 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40406 * sysdeps/i386/crti.S: Likewise.
40407 * sysdeps/i386/crtn.S: Likewise.
40408 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40409 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40410 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40411 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40412 * sysdeps/sh/crti.S: Likewise.
40413 * sysdeps/sh/crtn.S: Likewise.
40414 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40417 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40419 * locale/programs/locfile-kw.gperf: Likewise.
40420 * locale/programs/charmap-kw.h: Regenerated.
40421 * locale/programs/locfile-kw.h: Likewise.
40424 * intl/plural.y: Replace FSF snail mail address with URL.
40425 * intl/plural.c: Regenerated.
40427 2012-03-09 Richard Henderson <rth@twiddle.net>
40429 * include/math_private.h: Remove file.
40430 * math/math_private.h: Move file ...
40431 * sysdeps/generic/math_private.h: ... here.
40433 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40434 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40435 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40437 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40438 and <math_private.h>.
40439 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40440 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40441 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40442 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40443 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40444 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40445 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40446 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40447 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40448 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40449 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40450 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40451 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40452 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40453 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40454 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40455 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40456 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40457 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40458 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40459 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40460 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40461 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40462 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40463 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40464 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40465 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40466 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40467 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40468 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40469 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40470 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40471 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40472 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40473 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40474 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40475 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40476 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40477 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40478 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40479 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40480 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40481 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40482 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40483 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40484 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40485 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40486 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40487 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40488 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40489 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40490 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40491 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40492 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40493 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40494 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40495 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40496 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40497 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40498 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40499 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40500 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40501 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40502 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40503 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40504 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40505 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40506 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40507 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40508 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40509 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40510 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40511 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40512 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40513 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40514 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40515 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40516 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40517 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40518 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40519 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40520 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40521 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40522 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40523 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40524 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40525 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40526 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40527 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40528 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40529 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40530 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40531 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40532 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40533 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40534 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40535 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40536 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40537 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40538 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40539 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40540 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40541 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40542 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40543 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40544 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40545 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40546 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40547 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40548 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40549 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40550 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40551 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40552 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40553 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40554 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40555 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40556 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40557 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40558 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40559 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40560 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40561 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40562 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40563 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40564 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40565 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40566 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40567 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40568 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40569 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40570 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40571 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40572 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40573 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40574 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40575 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40576 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40577 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40578 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40579 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40580 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40581 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40582 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40583 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40584 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40585 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40586 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40587 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40588 * sysdeps/ieee754/k_standard.c: Likewise.
40589 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40590 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40591 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40592 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40593 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40594 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40595 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40596 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40597 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40598 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40599 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40600 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40601 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40602 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40603 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40604 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40605 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40606 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40607 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40608 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40609 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40610 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40611 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40612 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40613 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40614 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40615 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40616 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40617 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40618 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40619 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40620 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40621 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40622 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40623 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40624 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40625 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40626 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40627 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40628 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40629 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40630 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40631 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40632 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40633 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40634 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40635 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40636 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40637 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40638 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40639 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40640 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40641 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40642 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40643 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40644 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40645 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40646 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40647 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40648 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40649 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40650 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40651 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40652 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40653 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40654 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40655 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40656 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40657 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40658 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40659 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40660 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40661 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40662 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40663 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40664 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40665 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40666 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40667 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40668 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40669 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40670 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40671 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40672 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40673 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40674 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40675 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40676 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40677 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40678 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40679 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40680 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40681 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40682 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40683 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40684 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40685 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40686 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40687 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40688 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40689 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40690 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40691 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40692 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40693 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40694 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40695 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40696 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40697 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40698 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40699 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40700 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40701 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40702 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40703 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40704 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40705 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40706 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40707 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40708 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40709 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40710 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40711 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40712 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40713 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40714 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40715 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40716 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40717 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40718 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40719 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40720 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40721 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40722 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40723 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40724 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40725 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40726 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40727 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40728 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40729 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40730 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40731 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40732 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40733 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40734 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40735 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40736 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40737 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40738 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40739 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40740 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40741 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40742 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40743 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40744 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40745 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40746 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40747 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40748 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40749 * sysdeps/ieee754/s_lib_version.c: Likewise.
40750 * sysdeps/ieee754/s_matherr.c: Likewise.
40751 * sysdeps/ieee754/s_signgam.c: Likewise.
40752 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40753 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40754 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40755 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40756 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40757 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40758 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40759 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40760 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40761 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40762 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40763 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40764 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40765 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40766 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40767 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40768 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40769 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40770 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40771 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40772 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40774 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40776 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40777 * sunrpc/rpc_main.c: Likewise.
40778 * sunrpc/rpc_svcout.c: Likewise.
40780 2012-03-09 David S. Miller <davem@davemloft.net>
40782 * include/math_private.h: New file.
40784 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40786 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40787 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40788 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40789 from <bits/socket_type.h>.
40790 (enum __socket_type): Don't define here.
40791 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40793 bits/socket_type.h.
40796 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40797 checking __USE_GNU.
40799 * Makerules ($(inst_includedir)/%.h): New rule.
40800 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40801 (install-others): Remove variable setting.
40802 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40804 2012-03-08 Richard Henderson <rth@twiddle.net>
40806 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40807 from macro to inline function; merge with the
40808 !__LIBC_INTERNAL_MATH_INLINES version.
40809 (__ieee754_sqrtf): Likewise.
40811 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40812 to inline function.
40813 (__rintf, __floor, __floorf): Likewise.
40815 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40816 macro to inline function.
40817 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40819 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40820 not <math/math_private.h>.
40822 2012-03-08 David S. Miller <davem@davemloft.net>
40824 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40826 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40828 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40830 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40832 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40833 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40835 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40837 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40838 be defined individually, they must be defined as a block. Define
40839 S for printing a string instead of hidint the different by using a
40840 macro for adding the 'l'.
40841 * stdio-common/tst-fphex-wide.c: Adjust.
40843 2012-03-07 Marek Polacek <polacek@redhat.com>
40845 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40847 2012-03-08 Marek Polacek <polacek@redhat.com>
40850 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40851 * stdio-common/tst-fphex.c: Define a few macros to make the
40852 test reusable. Use them.
40853 * stdio-common/tst-fphex-wide.c: New file.
40855 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40858 * manual/macros.texi (gnusystems): New macro.
40859 (nongnusystems): Likewise.
40860 (gnulinuxhurdsystems): Likewise.
40861 (gnuhurdsystems): Likewise..
40862 (gnulinuxsystems): Likewise.
40863 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40864 variants of the GNU system, not "GNU system".
40865 * manual/conf.texi: Likewise.
40866 * manual/errno.texi: Likewise. Update example of errno macro
40868 * manual/filesys.texi: Likewise.
40869 (getumask): Document as specific to GNU/Hurd.
40870 * manual/install.texi: Likewise. Reword some references to
40872 * manual/intro.texi: Likewise.
40873 * manual/io.texi: Likewise.
40874 (File Name Portability): Detail which constraints are inapplicable
40875 to all GNU systems and which are only inapplicable to GNU/Hurd.
40876 * manual/job.texi: Likewise.
40877 * manual/llio.texi: Likewise.
40878 (O_NOCTTY): Document as present on GNU/Linux.
40879 * manual/maint.texi: Likewise.
40880 * manual/memory.texi: Likewise.
40881 * manual/pattern.texi: Likewise.
40882 * manual/pipe.texi: Likewise.
40883 * manual/process.texi: Likewise.
40884 * manual/resource.texi: Likewise.
40885 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40887 * manual/setjmp.texi: Likewise.
40888 * manual/signal.texi: Likewise.
40889 * manual/startup.texi: Likewise.
40890 * manual/stdio.texi: Likewise.
40891 * manual/terminal.texi: Likewise.
40892 (ONLCR): Document as POSIX.
40893 (OXTABS): Document availability on GNU/Linux as XTABS.
40894 (ONOEOT): Document availability separately from other bits.
40895 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40896 * manual/time.texi: Likewise.
40897 * manual/users.texi: Likewise.
40898 * INSTALL: Regenerated.
40899 * sysdeps/gnu/errlist.c: Regenerated.
40901 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40902 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40903 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40905 * configure: Regenerated.
40907 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40909 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40910 default includes instead of AC_HEADER_CHECK.
40911 * sysdeps/i386/configure: Regenerated.
40914 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40915 * math/s_cacoshf.c (__cacoshf): Likewise.
40916 * math/s_cacoshl.c (__cacoshl): Likewise.
40917 * math/s_casinh.c (__casinh): Set signs of result from argument.
40918 * math/s_casinhf.c (__casinhf): Likewise.
40919 * math/s_casinhl.c (__casinhl): Likewise.
40920 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40921 (casinh_test): Add more tests.
40922 * sysdeps/i386/fpu/libm-test-ulps: Update.
40923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40925 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40927 * po/zh_TW.po: Update from translation team.
40929 * login/Makefile (distribute): Remove variable.
40930 * catgets/Makefile: Likewise.
40931 * mach/Makefile: Likewise.
40932 * malloc/Makefile: Likewise.
40933 * misc/Makefile: Likewise.
40934 * iconv/Makefile: Likewise.
40935 * nscd/Makefile: Likewise.
40936 * hurd/Makefile: Likewise.
40937 * manual/Makefile: Likewise.
40938 * locale/Makefile: Likewise.
40939 * intl/Makefile: Likewise.
40940 * conform/Makefile: Likewise.
40941 * nss/Makefile: Likewise.
40942 * time/Makefile: Likewise.
40943 * soft-fp/Makefile: Likewise.
40944 * dirent/Makefile: Likewise.
40945 * gmon/Makefile: Likewise.
40946 * po/Makefile: Likewise.
40947 * rt/Makefile: Likewise.
40948 * socket/Makefile: Likewise.
40949 * math/Makefile: Likewise.
40950 * signal/Makefile: Likewise.
40951 * debug/Makefile: Likewise.
40952 * elf/Makefile: Likewise.
40953 * timezone/Makefile: Likewise.
40954 * stdlib/Makefile: Likewise.
40955 * iconvdata/Makefile: Likewise.
40956 * sunrpc/Makefile: Likewise.
40957 * io/Makefile: Likewise.
40958 * argp/Makefile: Likewise.
40959 * inet/Makefile: Likewise.
40960 * hesiod/Makefile: Likewise.
40961 * grp/Makefile: Likewise.
40962 * csu/Makefile: Likewise.
40963 * wctype/Makefile: Likewise.
40964 * crypt/Makefile: Likewise.
40965 * libio/Makefile: Likewise.
40966 * string/Makefile: Likewise.
40967 * nis/Makefile: Likewise.
40968 * resolv/Makefile: Likewise.
40969 * stdio-common/Makefile: Likewise.
40970 * wcsmbs/Makefile: Likewise.
40971 * dlfcn/Makefile: Likewise.
40972 * posix/Makefile: Likewise.
40975 * timezone/Makefile: Don't install timezone files, just the programs
40978 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40980 * nss/databases.def: Add missing gshadow entry.
40982 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40984 2012-03-06 Marek Polacek <polacek@redhat.com>
40987 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40988 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40989 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40990 * stdio-common/tst-long-dbl-fphex.c: New file.
40992 2012-03-06 David S. Miller <davem@davemloft.net>
40994 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40995 (set_obp_int): New function.
40996 (get_obp_int): New function.
40997 (__get_clockfreq_via_dev_openprom): Likewise.
40998 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40999 Avoid unused variable warnings on 'val' and use builtin_expect.
41000 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41002 (INLINE_CLONE_SYSCALL): Likewise.
41004 2012-03-05 David S. Miller <davem@davemloft.net>
41006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41008 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41012 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41013 only for |x| >= 40.
41014 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41016 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
41018 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41019 Replace gettimeofday with __vdso_gettimeofday.
41021 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41022 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41023 __vdso_clock_gettime and __vdso_getcpu.
41025 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41026 time with __vdso_time.
41028 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41030 * manual/lang.texi (size_t): Note types to which size_t may be
41031 equivalent with the GNU C Library, but do not describe when
41032 differences between them are significant.
41034 2012-03-05 Andreas Jaeger <aj@suse.de>
41036 * sysdeps/i386/fpu/libm-test-ulps: Update.
41038 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41041 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41042 (__ieee754_pow): Save and restore rounding mode and use
41043 round-to-nearest for main computations.
41044 * math/libm-test.inc (pow_test_tonearest): New function.
41045 (pow_test_towardzero): Likewise.
41046 (pow_test_downward): Likewise.
41047 (pow_test_upward): Likewise.
41048 (main): Call the new functions.
41049 * sysdeps/i386/fpu/libm-test-ulps: Update.
41050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41053 * math/libm-test.inc (cosh_test_tonearest): New function.
41054 (cosh_test_towardzero): Likewise.
41055 (cosh_test_downward): Likewise.
41056 (cosh_test_upward): Likewise.
41057 (sinh_test_tonearest): Likewise.
41058 (sinh_test_towardzero): Likewise.
41059 (sinh_test_downward): Likewise.
41060 (sinh_test_upward): Likewise.
41061 (main): Call the new functions.
41062 * sysdeps/i386/fpu/libm-test-ulps: Update.
41063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41065 2012-03-05 Tom de Vries <tom@codesourcery.com>
41067 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41068 default stack guard is set in last bytes.
41069 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41071 2012-03-05 Kees Cook <keescook@chromium.org>
41073 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41076 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41077 possibly allocate from heap instead of stack.
41078 * stdio-common/bug-vfprintf-nargs.c: New file.
41079 * stdio-common/Makefile (tests): Add nargs overflow test.
41081 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41085 2012-03-03 Marek Polacek <polacek@redhat.com>
41087 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41088 * math/math_private.h: Likewise.
41089 * stdlib/tst-strtod.c: Likewise.
41090 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41091 * sysdeps/x86_64/bits/atomic.h: Likewise.
41093 2012-03-02 David S. Miller <davem@davemloft.net>
41095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41099 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41100 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41101 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41102 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41104 2012-03-02 Roland McGrath <roland@hack.frob.com>
41107 * manual/examples/README: New file, says the example source files
41108 can be used under GPL>=2.
41109 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41110 line containing just "*/".
41111 * manual/examples/add.c: Add copyright header (GPL>=2).
41112 * manual/examples/argp-ex1.c: Likewise.
41113 * manual/examples/argp-ex2.c: Likewise.
41114 * manual/examples/argp-ex3.c: Likewise.
41115 * manual/examples/argp-ex4.c: Likewise.
41116 * manual/examples/atexit.c: Likewise.
41117 * manual/examples/db.c: Likewise.
41118 * manual/examples/dir.c: Likewise.
41119 * manual/examples/dir2.c: Likewise.
41120 * manual/examples/execinfo.c: Likewise.
41121 * manual/examples/filecli.c: Likewise.
41122 * manual/examples/filesrv.c: Likewise.
41123 * manual/examples/fmtmsgexpl.c: Likewise.
41124 * manual/examples/genpass.c: Likewise.
41125 * manual/examples/inetcli.c: Likewise.
41126 * manual/examples/inetsrv.c: Likewise.
41127 * manual/examples/isockad.c: Likewise.
41128 * manual/examples/longopt.c: Likewise.
41129 * manual/examples/memopen.c: Likewise.
41130 * manual/examples/memstrm.c: Likewise.
41131 * manual/examples/mkfsock.c: Likewise.
41132 * manual/examples/mkisock.c: Likewise.
41133 * manual/examples/mygetpass.c: Likewise.
41134 * manual/examples/pipe.c: Likewise.
41135 * manual/examples/popen.c: Likewise.
41136 * manual/examples/rprintf.c: Likewise.
41137 * manual/examples/search.c: Likewise.
41138 * manual/examples/select.c: Likewise.
41139 * manual/examples/setjmp.c: Likewise.
41140 * manual/examples/sigh1.c: Likewise.
41141 * manual/examples/sigusr.c: Likewise.
41142 * manual/examples/stpcpy.c: Likewise.
41143 * manual/examples/strdupa.c: Likewise.
41144 * manual/examples/strftim.c: Likewise.
41145 * manual/examples/strncat.c: Likewise.
41146 * manual/examples/subopt.c: Likewise.
41147 * manual/examples/swapcontext.c: Likewise.
41148 * manual/examples/termios.c: Likewise.
41149 * manual/examples/testopt.c: Likewise.
41150 * manual/examples/testpass.c: Likewise.
41151 * manual/examples/timeval_subtract.c: Likewise.
41154 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41156 * manual/timeval_subtract.c.texi: ... here, new file.
41158 2012-03-02 David S. Miller <davem@davemloft.net>
41160 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41162 2012-03-02 Joseph Myers <joseph@codesourcery.com>
41165 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41166 (__sin): Save and restore rounding mode and use round-to-nearest
41167 for all computations.
41168 (__cos): Save and restore rounding mode and use round-to-nearest
41169 for all computations.
41170 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41172 (tan): Save and restore rounding mode and use round-to-nearest for
41174 * math/libm-test.inc (cos_test_tonearest): New function.
41175 (cos_test_towardzero): Likewise.
41176 (cos_test_downward): Likewise.
41177 (cos_test_upward): Likewise.
41178 (sin_test_tonearest): Likewise.
41179 (sin_test_towardzero): Likewise.
41180 (sin_test_downward): Likewise.
41181 (sin_test_upward): Likewise.
41182 (tan_test_tonearest): Likewise.
41183 (tan_test_towardzero): Likewise.
41184 (tan_test_downward): Likewise.
41185 (tan_test_upward): Likewise.
41186 (main): Call the new functions.
41187 * sysdeps/i386/fpu/libm-test-ulps: Update.
41188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41191 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41192 small n, then large n, before computing and testing k+n.
41193 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41194 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41196 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41198 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41199 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41200 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41201 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41202 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41203 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41204 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41205 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41206 * math/libm-test.inc (scalbn_test): Add more tests.
41207 (scalbln_test): Likewise.
41209 * manual/filesys.texi (mode_t): Describe constraints on size and
41210 signedness, not exact equivalence to a particular type.
41212 (ino64_t): Likewise.
41214 (nlink_t): Likewise.
41215 (blkcnt_t): Likewise.
41216 (blkcnt64_t): Likewise.
41217 * manual/llio.texi (off_t): Likewise.
41220 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41221 (__ieee754_exp): Save and restore rounding mode and use
41222 round-to-nearest for all computations.
41223 * math/libm-test.inc (exp_test_tonearest): New function.
41224 (exp_test_towardzero): Likewise.
41225 (exp_test_downward): Likewise.
41226 (exp_test_upward): Likewise.
41227 (main): Call the new functions.
41228 * sysdeps/i386/fpu/libm-test-ulps: Update.
41229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41231 2012-03-01 Chris Demetriou <cgd@google.com>
41233 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41234 have predictable order.
41236 2012-03-01 David S. Miller <davem@davemloft.net>
41238 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41240 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41241 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41242 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41243 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41245 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41246 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41247 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41249 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41250 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41251 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41252 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41253 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41257 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41258 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41259 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41261 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41262 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41263 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41264 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41265 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41266 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41267 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41268 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41269 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41270 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41271 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41272 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41273 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41274 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41275 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41276 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41277 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41278 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41279 * sysdeps/sparc/elf/configure: Regenerated.
41281 2012-03-01 Joseph Myers <joseph@codesourcery.com>
41283 * configure.in (AS, LD): Require binutils 2.20 or later.
41284 * configure: Regenerated.
41285 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41286 as required minimum version.
41287 * INSTALL: Regenerated.
41291 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41292 before squaring exponent.
41293 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41294 bottom long double and 27 bits of top long double before squaring
41296 * math/libm-test.inc (erfc_test): Add more tests.
41297 * sysdeps/i386/fpu/libm-test-ulps: Update.
41298 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41301 2012-03-01 Kai Tietz <ktietz@redhat.com>
41303 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41304 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41305 containing bit-fields.
41306 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41307 * soft-fp/single.h (_FP_UNION_S): Likewise.
41308 * soft-fp/double.h (_FP_UNION_D): Likewise.
41310 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41313 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41314 not include ../strcmp.S.
41315 [USE_AS_STRNCASECMP_L]: Likewise.
41316 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41317 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41318 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41319 (__strncasecmp_l_ia32): Define as alias to
41320 __strncasecmp_l_nonascii.
41323 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41324 * sysdeps/i386/fpu/libm-test-ulps: Update.
41325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41327 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41330 2012-02-29 Jeff Law <law@redhat.com>
41332 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41333 out of bounds read.
41335 2012-02-29 Marek Polacek <polacek@redhat.com>
41338 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41339 * elf/Makefile: Add rules to run tst-unused-dep.out.
41341 2012-02-28 David S. Miller <davem@davemloft.net>
41343 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41344 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41345 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41346 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41347 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41348 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41350 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41352 * math/libm-test.inc (llround_test): Move one test from
41353 lround_test. Use TEST_f_L in moved test.
41354 (lround_test): Move misplaced test to llround_test. Add testcase
41357 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41359 * sysdeps/x86_64/fpu/e_expf.S: New file.
41360 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41362 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41365 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41366 of remain_len that may cause incomplete multi-byte character and
41368 * posix/bug-regex33.c: New file.
41369 * posix/Makefile (tests): Add bug-regex33.
41371 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41373 * manual/macros.texi: New file.
41374 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41375 * manual/libc.texinfo: Include macros.texi.
41376 * manual/creatute.texi: Likewise.
41377 * manual/install.texi: Likewise.
41378 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41379 @glibcadj{} in references to the GNU C Library.
41380 * manual/charset.texi: Likewise.
41381 * manual/conf.texi: Likewise.
41382 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41383 when not using those macros.
41384 * manual/creature.texi: Likewise.
41385 * manual/crypt.texi: Likewise.
41386 * manual/errno.texi: Likewise.
41387 * manual/filesys.texi: Likewise.
41388 * manual/header.texi: Likewise.
41389 * manual/install.texi: Likewise.
41390 * manual/intro.texi: Likewise.
41391 * manual/io.texi: Likewise.
41392 * manual/job.texi: Likewise.
41393 * manual/lang.texi: Likewise.
41394 * manual/libc.texiinfo: Likewise.
41395 * manual/llio.texi: Likewise.
41396 * manual/locale.texi: Likewise.
41397 * manual/maint.texi: Likewise.
41398 * manual/math.texi: Likewise.
41399 * manual/memory.texi: Likewise.
41400 * manual/message.texi: Likewise.
41401 * manual/nss.texi: Likewise.
41402 * manual/pattern.texi: Likewise.
41403 * manual/process.texi: Likewise.
41404 * manual/resource.texi: Likewise.
41405 * manual/search.texi: Likewise.
41406 * manual/setjmp.texi: Likewise.
41407 * manual/signal.texi: Likewise.
41408 * manual/socket.texi: Likewise.
41409 * manual/startup.texi: Likewise.
41410 * manual/stdio.texi: Likewise.
41411 * manual/string.texi: Likewise.
41412 * manual/sysinfo.texi: Likewise.
41413 * manual/syslog.texi: Likewise.
41414 * manual/terminal.texi: Likewise.
41415 * manual/time.texi: Likewise.
41416 * manual/users.texi: Likewise.
41417 * INSTALL: Regenerated.
41418 * NOTES: Regenerated.
41419 * sysdeps/gnu/errlist.c: Regenerated.
41421 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41423 * include/dirent.h: Include <dirstream.h> before
41426 2012-02-28 David S. Miller <davem@davemloft.net>
41428 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41429 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41430 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41431 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41433 2012-02-27 David S. Miller <davem@davemloft.net>
41435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41437 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41438 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41441 frame pointer instead of stack pointer relative arg slot.
41442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41443 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41444 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41446 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41449 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41451 2012-02-27 David S. Miller <davem@davemloft.net>
41453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41457 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41458 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41459 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41460 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41462 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41464 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41465 later. Allow versions 5-9.
41466 * configure: Regenerated.
41467 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41468 required minimum version and 4.6 as recommended version. Do not
41469 mention bugs in GCC 2.7 and 2.8.
41470 * INSTALL: Regenerated.
41472 2012-02-27 David S. Miller <davem@davemloft.net>
41474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41478 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41479 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41480 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41481 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41483 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41484 manipulate bits before adding and subtracting TWO112[sx].
41485 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41487 2012-02-27 Roland McGrath <roland@hack.frob.com>
41490 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41491 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41492 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41493 being in POSIX, because they are in 1003.1-2008.
41495 * rt/tst-aio.c: Include <fcntl.h>.
41496 * rt/tst-aio7.c: Likewise.
41497 * rt/tst-aio64.c: Likewise.
41499 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41501 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41503 * manual/install.texi (--with-headers): Describe headers as
41504 interface headers, not private headers.
41505 (Specific advice for GNU/Linux systems): Describe use of headers
41506 from "make headers_install", not private headers from older
41508 * INSTALL: Regenerated.
41509 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41511 * sysdeps/unix/sysv/linux/configure: Regenerated.
41513 * manual/llio.texi (fclean): Remove documentation.
41515 * manual/Makefile (libc-texi-generated): New variable. Include
41517 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41518 $(libc-texi-generated), not duplicated list of files.
41519 (version.texi, stamp-version): New rules.
41520 (realclean): Remove $(libc-texi-generated), not individual files
41521 from that list. Do not remove dir-add.texinfo.
41522 * manual/libc.texinfo: Comment out uses of edition numbers and
41523 references to printed manual. Remove last-updated dates.
41524 (EDITION): Comment out.
41526 (VERSION, UPDATED): Remove.
41527 (version.texi): Include.
41529 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41531 * sysdeps/posix/spawni.c: Include <signal.h>.
41532 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41533 * sysdeps/pthread/aio_fsync.c: Likewise.
41535 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41537 * conform/Makefile (tests): Run only when not cross-compiling and
41538 when fast-check is not defined.
41540 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41541 * conform/data/limits.h-data: Fixes for POSIX2008.
41542 * conform/run-conformtest.sh: Run all tests.
41543 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41545 * include/bits/dlfcn.h: Likewise.
41546 * include/langinfo.h: Likewise.
41547 * include/monetary.h: Likewise.
41548 * include/sys/poll.h: Likewise.
41550 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41552 * posix/spawn.h: Define __need_sigset_t.
41553 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41554 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41555 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41556 to get sigevent_t only.
41557 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41558 only for __USE_GNU.
41559 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41560 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41561 process_vm_writev only for __USE_GNU.
41562 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41564 * conform/Makefile: For now ignore errors from run-conformtest.
41565 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41566 POSIX to avoid namespace pollution. Don't prepend headers.
41567 * conform/data/aio.h-data: Fixes for POSIX testing.
41568 * conform/data/fcntl.h-data: Likewise.
41569 * conform/data/glob.h-data: Likewise.
41570 * conform/data/grp.h-data: Likewise.
41571 * conform/data/pthread.h-data: Likewise.
41572 * conform/data/pwd.h-data: Likewise.
41573 * conform/data/signal.h-data: Likewise.
41574 * conform/data/spawn.h-data: Likewise.
41575 * conform/data/stdio.h-data: Likewise.
41576 * conform/data/stdlib.h-data: Likewise.
41577 * conform/data/stropts.h-data: Likewise.
41578 * conform/data/sys/mman.h-data: Likewise.
41579 * conform/data/sys/stat.h-data: Likewise.
41580 * conform/data/sys/types.h-data: Likewise.
41581 * conform/data/sys/wait.h-data: Likewise.
41582 * conform/data/time.h-data: Likewise.
41583 * conform/data/unistd.h-data: Likewise.
41584 * conform/data/utime.h-data: Likewise.
41586 * io/sys/stat.h: fchmod was always in POSIX.
41587 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41588 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41589 * rt/aio.h: Define __need_timespec before including <time.h>.
41590 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41591 struct. Add forward declaration of pthread_attr_t and use it in
41593 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41594 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41595 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41596 always remove CLK_TCK definition.
41598 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41600 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41602 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41604 * conform/run-conformtest.sh: New file.
41605 * conform/Makefile: Run run-conformtest for tests.
41606 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41609 * conform/data/uchar.h-data: New file.
41610 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41611 * conform/data/arpa/inet.h-data: Likewise.
41612 * conform/data/assert.h-data: Likewise.
41613 * conform/data/complex.h-data: Likewise.
41614 * conform/data/cpio.h-data: Likewise.
41615 * conform/data/ctype.h-data: Likewise.
41616 * conform/data/dirent.h-data: Likewise.
41617 * conform/data/dlfcn.h-data: Likewise.
41618 * conform/data/errno.h-data: Likewise.
41619 * conform/data/fcntl.h-data: Likewise.
41620 * conform/data/float.h-data: Likewise.
41621 * conform/data/fmtmsg.h-data: Likewise.
41622 * conform/data/fnmatch.h-data: Likewise.
41623 * conform/data/ftw.h-data: Likewise.
41624 * conform/data/glob.h-data: Likewise.
41625 * conform/data/grp.h-data: Likewise.
41626 * conform/data/iconv.h-data: Likewise.
41627 * conform/data/inttypes.h-data: Likewise.
41628 * conform/data/langinfo.h-data: Likewise.
41629 * conform/data/libgen.h-data: Likewise.
41630 * conform/data/limits.h-data: Likewise.
41631 * conform/data/locale.h-data: Likewise.
41632 * conform/data/math.h-data: Likewise.
41633 * conform/data/monetary.h-data: Likewise.
41634 * conform/data/mqueue.h-data: Likewise.
41635 * conform/data/ndbm.h-data: Likewise.
41636 * conform/data/net/if.h-data: Likewise.
41637 * conform/data/netdb.h-data: Likewise.
41638 * conform/data/netinet/in.h-data: Likewise.
41639 * conform/data/nl_types.h-data: Likewise.
41640 * conform/data/poll.h-data: Likewise.
41641 * conform/data/pthread.h-data: Likewise.
41642 * conform/data/pwd.h-data: Likewise.
41643 * conform/data/regex.h-data: Likewise.
41644 * conform/data/sched.h-data: Likewise.
41645 * conform/data/search.h-data: Likewise.
41646 * conform/data/semaphore.h-data: Likewise.
41647 * conform/data/setjmp.h-data: Likewise.
41648 * conform/data/signal.h-data: Likewise.
41649 * conform/data/spawn.h-data: Likewise.
41650 * conform/data/stdarg.h-data: Likewise.
41651 * conform/data/stdio.h-data: Likewise.
41652 * conform/data/stdlib.h-data: Likewise.
41653 * conform/data/string.h-data: Likewise.
41654 * conform/data/strings.h-data: Likewise.
41655 * conform/data/stropts.h-data: Likewise.
41656 * conform/data/sys/ipc.h-data: Likewise.
41657 * conform/data/sys/mman.h-data: Likewise.
41658 * conform/data/sys/msg.h-data: Likewise.
41659 * conform/data/sys/resource.h-data: Likewise.
41660 * conform/data/sys/select.h-data: Likewise.
41661 * conform/data/sys/sem.h-data: Likewise.
41662 * conform/data/sys/shm.h-data: Likewise.
41663 * conform/data/sys/socket.h-data: Likewise.
41664 * conform/data/sys/stat.h-data: Likewise.
41665 * conform/data/sys/statvfs.h-data: Likewise.
41666 * conform/data/sys/time.h-data: Likewise.
41667 * conform/data/sys/timeb.h-data: Likewise.
41668 * conform/data/sys/times.h-data: Likewise.
41669 * conform/data/sys/types.h-data: Likewise.
41670 * conform/data/sys/uio.h-data: Likewise.
41671 * conform/data/sys/un.h-data: Likewise.
41672 * conform/data/sys/utsname.h-data: Likewise.
41673 * conform/data/sys/wait.h-data: Likewise.
41674 * conform/data/syslog.h-data: Likewise.
41675 * conform/data/tar.h-data: Likewise.
41676 * conform/data/termios.h-data: Likewise.
41677 * conform/data/utime.h-data: Likewise.
41678 * conform/data/utmpx.h-data: Likewise.
41679 * conform/data/varargs.h-data: Likewise.
41680 * conform/data/wchar.h-data: Likewise.
41681 * conform/data/wctype.h-data: Likewise.
41682 * conform/data/wordexp.h-data: Likewise.
41684 * include/stropts.h: New file.
41685 * include/uchar.h: New file.
41686 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41687 * include/assert.h: Likewise.
41688 * include/ctype.h: Likewise.
41689 * include/dirent.h: Likewise.
41690 * include/dlfcn.h: Likewise.
41691 * include/fcntl.h: Likewise.
41692 * include/fnmatch.h: Likewise.
41693 * include/glob.h: Likewise.
41694 * include/grp.h: Likewise.
41695 * include/libio.h: Likewise.
41696 * include/locale.h: Likewise.
41697 * include/math.h: Likewise.
41698 * include/net/if.h: Likewise.
41699 * include/netdb.h: Likewise.
41700 * include/netinet/in.h: Likewise.
41701 * include/pthread.h: Likewise.
41702 * include/pwd.h: Likewise.
41703 * include/regex.h: Likewise.
41704 * include/sched.h: Likewise.
41705 * include/search.h: Likewise.
41706 * include/setjmp.h: Likewise.
41707 * include/signal.h: Likewise.
41708 * include/stdio.h: Likewise.
41709 * include/stdlib.h: Likewise.
41710 * include/string.h: Likewise.
41711 * include/sys/cdefs.h: Likewise.
41712 * include/sys/mman.h: Likewise.
41713 * include/sys/msg.h: Likewise.
41714 * include/sys/resource.h: Likewise.
41715 * include/sys/select.h: Likewise.
41716 * include/sys/socket.h: Likewise.
41717 * include/sys/stat.h: Likewise.
41718 * include/sys/statvfs.h: Likewise.
41719 * include/sys/time.h: Likewise.
41720 * include/sys/times.h: Likewise.
41721 * include/sys/uio.h: Likewise.
41722 * include/sys/utsname.h: Likewise.
41723 * include/sys/wait.h: Likewise.
41724 * include/termios.h: Likewise.
41725 * include/time.h: Likewise.
41726 * include/ulimit.h: Likewise.
41727 * include/unistd.h: Likewise.
41728 * include/utime.h: Likewise.
41729 * include/wchar.h: Likewise.
41730 * include/wctype.h: Likewise.
41731 * include/wordexp.h: Likewise.
41733 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41735 * time/time.h: TIME_UTC must be a macro.
41736 Make timespec_get available for ISO C11 only as well.
41738 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41740 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41741 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41743 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41745 * configure.in: Use -o not -a in test for unsupported multi-arch.
41747 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41749 * manual/texinfo.tex: Update to version 2012-01-19.16.
41751 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41753 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41755 2012-02-24 Roland McGrath <roland@hack.frob.com>
41758 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41759 * manual/fdl-1.3.texi: New file.
41760 * manual/fdl-1.1.texi: File removed.
41763 * manual/libc.texinfo (FDL_VERSION): New @set.
41764 Use it for mention of FDL in cover text.
41765 (Documentation License): Use it in @include file name.
41767 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41768 Roland McGrath <roland@hack.frob.com>
41771 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41772 (not LONG_LONG_MAX and LONG_LONG_MIN.
41773 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41774 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41776 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41778 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41782 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41783 manipulate bits before adding and subtracting TWO23[sx].
41784 * math/libm-test.inc (nearbyint_test): Add more tests.
41786 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41789 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41790 bits before adding and subtracting TWO23[sx].
41791 * math/libm-test.inc (rint_test): Add more tests.
41792 (rint_test_tonearest): Likewise.
41793 (rint_test_towardzero): Likewise.
41794 (rint_test_downward): Likewise.
41795 (rint_test_upward: Likewise.
41797 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41800 * include/stdc-predef.h: New file. Extracted from features.h.
41801 * include/features.h: Include stdc-predef.h.
41802 * Makefile (headers): Add stdc-predef.h.
41803 * CONFORMANCE (Compiler limitations): Update.
41805 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41807 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41809 2012-02-21 David S. Miller <davem@davemloft.net>
41811 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41812 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41814 2012-02-20 David S. Miller <davem@davemloft.net>
41816 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41817 using a normal save/restore sequence, rather than allocating a
41818 dummy stack frame just to store a frame pointer and restore.
41819 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41821 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41823 * manual/install.texi: Fix stray word in line-wrapped comment.
41825 2012-02-20 David S. Miller <davem@davemloft.net>
41827 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41828 both binutils and gcc support GOTDATA.
41830 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41831 "rd %pc" in the PIC register setup sequences.
41833 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41834 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41835 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41836 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41837 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41838 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41839 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41840 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41841 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41842 (SYSCALL_ERROR_HANDLER): Likewise.
41843 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41844 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41845 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41846 (SYSCALL_ERROR_HANDLER): Likewise.
41848 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41849 (HAVE_GCC_GOTDATA): New.
41850 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41851 relocation support in both binutils and gcc.
41852 * sysdeps/sparc/elf/configure: Regenerate.
41854 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41855 * sysdeps/sparc/sparc32/elf/configure: Delete.
41856 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41857 * sysdeps/sparc/sparc64/elf/configure: Delete.
41858 * sysdeps/sparc/elf/configure.in: New file.
41859 * sysdeps/sparc/elf/configure: Generate.
41861 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41862 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41863 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41864 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41865 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41867 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41869 * manual/install.texi: Do not mention specific glibc version
41871 * manual/libc.texinfo (VERSION, UPDATED): Update.
41872 (@copying): Use @copyright{} and range of years.
41874 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41877 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41878 [crti.S not in sysdirs] (generated): Do not append.
41879 [crti.S not in sysdirs] (omit-deps): Likewise.
41880 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41881 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41882 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41883 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41884 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41886 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41887 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41888 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41889 * csu/defs.awk: Remove file.
41890 * sysdeps/generic/initfini.c: Likewise.
41891 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41893 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41896 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41898 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41899 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41900 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41901 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41902 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41903 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41905 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41906 (__EPOLL_PACKED): Define to empty if not defined by
41908 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41912 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41914 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41915 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41916 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41917 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41919 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41923 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41925 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41927 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41928 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41929 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41932 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41934 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41935 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41937 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41939 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41940 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41942 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41944 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41947 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41949 * math/w_acos.c: Use non-signaling floating-point comparisons.
41950 * math/w_acosf.c: Likewise.
41951 * math/w_acosh.c: Likewise.
41952 * math/w_acoshf.c: Likewise.
41953 * math/w_acoshl.c: Likewise.
41954 * math/w_acosl.c: Likewise.
41955 * math/w_asin.c: Likewise.
41956 * math/w_asinf.c: Likewise.
41957 * math/w_asinl.c: Likewise.
41958 * math/w_atanh.c: Likewise.
41959 * math/w_atanhf.c: Likewise.
41960 * math/w_atanhl.c: Likewise.
41961 * math/w_exp2.c: Likewise.
41962 * math/w_exp2f.c: Likewise.
41963 * math/w_exp2l.c: Likewise.
41964 * math/w_j0.c: Likewise.
41965 * math/w_j0f.c: Likewise.
41966 * math/w_j0l.c: Likewise.
41967 * math/w_j1.c: Likewise.
41968 * math/w_j1f.c: Likewise.
41969 * math/w_j1l.c: Likewise.
41970 * math/w_jn.c: Likewise.
41971 * math/w_jnf.c: Likewise.
41972 * math/w_log.c: Likewise.
41973 * math/w_log10.c: Likewise.
41974 * math/w_log10f.c: Likewise.
41975 * math/w_log10l.c: Likewise.
41976 * math/w_log2.c: Likewise.
41977 * math/w_log2f.c: Likewise.
41978 * math/w_log2l.c: Likewise.
41979 * math/w_logf.c: Likewise.
41980 * math/w_logl.c: Likewise.
41981 * math/w_sqrt.c: Likewise.
41982 * math/w_sqrtf.c: Likewise.
41983 * math/w_sqrtl.c: Likewise.
41984 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41985 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41986 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41987 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41988 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41990 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41993 * manual/string.texi (strnlen): Use correct parameter name in
41994 equivalent expression.
41996 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41999 * manual/users.texi (seteuid): Consistently use neweuid for
42002 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42005 * manual/nss.texi (Services in the NSS configuration): Correct
42006 list of services in example configuration file.
42008 2012-02-19 Nick Bowler <nbowler@draconx.ca>
42011 * manual/arith.texi: Remove statements about negative zero
42012 behaving identically to zero.
42014 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42017 * manual/install.texi: Do not document upgrading from libc5.
42019 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42022 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42024 2012-02-18 David S. Miller <davem@davemloft.net>
42026 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42027 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42028 %o7 across the call.
42029 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42031 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42032 SETUP_PIC_REG_LEAF.
42033 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42034 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42035 * sysdeps/sparc/crtn.S: Likewise.
42037 2012-02-17 Ulrich Drepper <drepper@gmail.com>
42039 * aout/Makefile: Remove.
42041 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42044 * manual/examples/argp-ex1.c (main): Format definition in GNU
42046 * manual/examples/argp-ex2.c (main): Likewise.
42047 * manual/examples/argp-ex3.c (main): Likewise.
42048 * manual/examples/argp-ex4.c (main): Likewise.
42049 * manual/examples/longopt.c (main): Use new-style prototype
42051 * manual/examples/strncat.c (main): Specify return type and use
42052 (void) for arguments.
42053 * manual/examples/subopt.c (main): Use char **argv argument.
42055 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42058 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42061 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42064 * manual/string.texi (strchr): Change when strchrnul is
42067 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42070 * manual/locale.texi (setlocale): Document LOCPATH.
42072 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42075 * manual/process.texi (execle): Move @dots{} before last argument.
42077 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
42080 * manual/charset.texi (Generic Charset Conversion): Fix typo
42081 (LC_TYPE -> LC_CTYPE).
42083 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42086 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42087 (scalbnf): Likewise.
42088 (scalbnl): Likewise.
42089 (scalbln): Likewise.
42090 (scalblnf): Likewise.
42091 (scalblnl): Likewise.
42092 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42093 (vwarnx): Likewise.
42096 * manual/filesys.texi (telldir): Use braces around return type.
42097 * manual/llio.texi (mmap): Add space after comma.
42098 (mmap64): Likewise.
42099 * manual/math.texi (jn): Use @var{} on parameter names.
42105 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42107 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42109 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42110 (sched_get_priority_max): Likewise.
42111 * manual/signal.texi (sigvec): Add space after comma.
42112 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42114 (if_indextoname): Likewise.
42115 (if_freenameindex): Likewise.
42116 (sendto): Use ',' instead of '.' in prototype.
42117 * manual/startup.texi (syscall): Use @dots{} instead of literal
42119 * manual/stdio.texi (__fpending): Separate initial words of
42120 paragraph from @deftypefun line.
42121 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42123 (vsyslog): Use @var{} on parameter names.
42124 * manual/terminal.texi (stty): Use @var{} on parameter names.
42125 * manual/users.texi (getutmp): Use @var{} on parameter names.
42126 (getutmpx): Likewise.
42128 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42131 * manual/stdio.texi (fopen): Fix typos in description of
42134 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42137 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42138 get clock_id definition.
42140 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
42143 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42144 (madvise): Cast every argument to void on its own.
42146 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42149 * manual/startup.texi (Exit Status): Fix typo.
42151 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42154 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42155 * manual/examples/argp-ex2.c: Likewise.
42156 * manual/examples/argp-ex3.c: Likewise.
42158 2012-02-16 Richard Henderson <rth@redhat.com>
42160 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42161 * sysdeps/s390/s390-32/initfini.c: Remove.
42162 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42163 * sysdeps/s390/s390-64/initfini.c: Remove.
42165 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42167 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42168 compiler output for sysdeps/generic/initfini.c.
42169 * sysdeps/sh/elf/initfini.c: Remove file.
42171 2012-02-16 David S. Miller <davem@davemloft.net>
42174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42176 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42177 * sysdeps/sparc/crti.S: New file.
42178 * sysdeps/sparc/crtn.S: New file.
42179 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42180 * sysdeps/sparc/sparc64/Makefile: Likewise.
42182 2012-02-15 Mike Frysinger <vapier@gentoo.org>
42185 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42187 2012-02-15 Roland McGrath <roland@hack.frob.com>
42190 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42192 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42193 (write, read, close): Likewise.
42194 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42196 2012-02-15 Joseph Myers <joseph@codesourcery.com>
42198 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42199 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42200 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42201 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42203 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42204 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42207 2012-02-14 Marek Polacek <polacek@redhat.com>
42209 * sysdeps/x86_64/crti.S: New file.
42210 * sysdeps/x86_64/crtn.S: New file.
42211 * sysdeps/x86_64/elf/initfini.c: Remove file.
42213 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42215 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42216 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42217 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42218 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42220 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42221 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42224 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42226 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42227 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42228 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42229 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42231 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42235 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42237 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42238 __feraiseexcept instead of feraiseexcept.
42240 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42241 nanosleep invocations.
42242 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42243 strings, and add error checking for a nanosleep invocations.
42245 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42247 Replace FSF snail mail address with URLs, as per GNU coding standards.
42248 Most of the snail mail addresses were wrong anyway, and omitting
42249 them makes the source code easier to maintain. Almost all of the
42250 changes are to license notices and to locale LC_IDENTIFICATION
42251 addresses, except for this one:
42252 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42253 not its snail mail address.
42255 2012-02-09 Richard Henderson <rth@twiddle.net>
42257 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42258 of kernel-features.h.
42260 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42262 2012-02-08 Marek Polacek <polacek@redhat.com>
42264 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42265 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42266 * sysdeps/gnu/_G_config.h: Likewise.
42267 * sysdeps/generic/_G_config.h: Likewise.
42269 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42271 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42275 * sysdeps/powerpc/powerpc32/crti.S: New file.
42276 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42277 * sysdeps/powerpc/powerpc64/crti.S: New file.
42278 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42280 * Makeconfig (have-initfini): Don't set.
42281 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42282 * configure.in (nopic_initfini): Don't substitute.
42283 * config.h.in (HAVE_INITFINI): Don't #undef.
42284 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42285 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42287 2012-02-08 Joseph Myers <joseph@codesourcery.com>
42289 Support crti.S and crtn.S provided directly by architectures.
42290 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42291 [crti.S in sysdirs] (omit-deps): Likewise.
42292 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42293 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42294 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42295 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42296 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42297 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42298 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42299 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42300 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42301 compiler output for sysdeps/generic/initfini.c.
42302 * sysdeps/i386/elf/Makefile: Remove file.
42303 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42305 2012-02-07 Marek Polacek <polacek@redhat.com>
42307 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42308 * sysdeps/gnu/_G_config.h: Likewise.
42309 * sysdeps/mach/hurd/_G_config.h: Likewise.
42311 2012-02-07 Marek Polacek <polacek@redhat.com>
42313 * math/Makefile (tests): Add tst-CMPLX2.
42314 * math/tst-CMPLX2.c: New file.
42316 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42318 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42320 * math/libm-test.inc (jn_test): Add missing L suffix.
42322 2012-02-06 Marek Polacek <polacek@redhat.com>
42324 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42325 * sysdeps/i386/fpu/e_powf.S: Likewise.
42326 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42327 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42328 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42329 * sysdeps/i386/fpu/e_pow.S: Likewise.
42330 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42331 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42332 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42333 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42334 * sysdeps/i386/fpu/e_log2.S: Likewise.
42335 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42336 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42337 * sysdeps/i386/fpu/e_powl.S: Likewise.
42338 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42339 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42340 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42341 * sysdeps/i386/fpu/e_logl.S: Likewise.
42342 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42343 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42344 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42345 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42346 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42347 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42348 * sysdeps/i386/fpu/e_log.S: Likewise.
42349 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42350 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42351 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42352 * sysdeps/i386/fpu/e_logf.S: Likewise.
42353 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42354 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42355 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42356 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42357 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42358 * sysdeps/i386/fpu/e_log10.S: Likewise.
42359 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42360 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42361 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42362 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42363 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42364 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42365 * sysdeps/i386/asm-syntax.h: Likewise.
42366 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42367 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42368 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42369 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42370 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42371 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42372 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42373 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42374 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42375 * sysdeps/powerpc/sysdep.h: Likewise.
42376 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42377 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42379 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42382 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42384 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42386 * sysdeps/i386/sysdep.h: Include <features.h>.
42387 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42390 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42392 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42394 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42397 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42399 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42400 (SETUP_PIC_REG): Use GET_PC_THUNK.
42401 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42404 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42406 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42407 for non-PIC compilation.
42408 (SETUP_PIC_REG): Add .p2align directive.
42409 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42410 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42411 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42412 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42413 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42414 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42415 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42416 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42417 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42418 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42419 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42420 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42421 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42422 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42423 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42424 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42425 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42426 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42427 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42428 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42429 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42430 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42431 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42432 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42433 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42434 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42435 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42436 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42437 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42438 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42439 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42440 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42441 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42442 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42443 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42444 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42445 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42446 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42447 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42448 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42449 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42451 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42453 * math/tst-CMPLX.c: Include <stdio.h>.
42455 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42457 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42459 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42460 * sysdeps/sparc/bits/mathdef.h: Likewise.
42462 2012-01-31 Marek Polacek <polacek@redhat.com>
42464 * libio/libio.h: Don't define _PARAMS.
42465 * locale/programs/config.h: Don't define PARAMS.
42466 * stdlib/strtol_l.c: Likewise.
42467 (__strtol_l): Remove PARAMS from the prototype.
42469 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42471 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42472 names. Just use the correct names. Remove unnecessary wrapper
42474 * malloc/arena.c: Likewise.
42475 * malloc/hooks.c: Likewise.
42477 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42478 ARENA_TEST says not to. Simplify test for creation of a new arena.
42479 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42481 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42483 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42485 (update_get_addr): New function.
42486 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42487 GET_ADDR_MODULE parameter.
42489 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42491 * crypt/cert.c: Remove __STDC__ conditionals.
42492 * crypt/crypt-entry.c: Likewise.
42493 * crypt/crypt_util.c: Likewise.
42494 * libio/filedoalloc.c: Likewise.
42495 * libio/fileops.c: Likewise.
42496 * libio/genops.c: Likewise.
42497 * libio/iofclose.c: Likewise.
42498 * libio/iofdopen.c: Likewise.
42499 * libio/iofopen.c: Likewise.
42500 * libio/iofopen64.c: Likewise.
42501 * libio/iogetdelim.c: Likewise.
42502 * libio/iopopen.c: Likewise.
42503 * libio/obprintf.c: Likewise.
42504 * libio/oldfileops.c: Likewise.
42505 * libio/oldiofclose.c: Likewise.
42506 * libio/oldiofdopen.c: Likewise.
42507 * libio/oldiofopen.c: Likewise.
42508 * libio/oldiopopen.c: Likewise.
42509 * libio/wfiledoalloc.c: Likewise.
42510 * libio/wgenops.c: Likewise.
42511 * locale/programs/xmalloc.c: Likewise.
42512 * misc/syslog.c: Likewise.
42513 * stdio-common/xbug.c: Likewise.
42514 * string/memchr.c: Likewise.
42515 * string/memcmp.c: Likewise.
42516 * string/memrchr.c: Likewise.
42517 * string/rawmemchr.c: Likewise.
42518 * sysdeps/posix/getcwd.c: Likewise.
42519 * time/strftime_l.c: Likewise.
42521 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42523 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42524 * config.make.in (config-cflags-sse2avx): Define.
42525 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42528 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42530 * scripts/config.guess: Update from upstream config git repository.
42531 * scripts/config.sub: Likewise.
42533 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42535 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42537 (R_TILEPRO_*, R_TILEGX_*): New macros.
42539 * scripts/firstversions.awk: Fix bug in version range handling.
42541 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42543 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42545 * include/sys/epoll.h: New file.
42546 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42549 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42551 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42552 Avoid unnecessary __WORDSIZE == 64 test.
42553 (fmaxf): Use VEX format if possible.
42558 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42559 * math/math_private.h: Remove libc_fegetround* and
42561 * sysdeps/i386/configure.in: Check for -msse2avx.
42562 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42563 also if SSE2AVX is defined.
42564 Remove libc_fegetround* and libc_fesetround*.
42565 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42566 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42567 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42569 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42570 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42571 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42572 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42573 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42575 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42577 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42579 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42581 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42583 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42586 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42588 * Makeconfig (libm): Define.
42589 * elf/Makefile: Add rules to build and run tst-relsort1.
42590 * elf/tst-relsort1.c: New file.
42591 * elf/tst-relsort1mod1.c: New file.
42592 * elf/tst-relsort1mod2.c: New file.
42594 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42596 * math/s_ldexp.c: Remove __STDC__ conditionals.
42597 * math/s_ldexpf.c: Likewise.
42598 * math/s_ldexpl.c: Likewise.
42599 * math/s_nextafter.c: Likewise.
42600 * math/s_nexttowardf.c: Likewise.
42601 * math/s_significand.c: Likewise.
42602 * math/s_significandf.c: Likewise.
42603 * math/s_significandl.c: Likewise.
42604 * math/w_jnl.c: Likewise.
42605 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42606 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42607 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42608 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42609 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42610 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42611 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42612 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42613 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42614 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42615 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42616 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42617 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42618 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42619 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42620 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42621 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42622 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42624 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42625 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42626 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42627 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42628 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42629 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42630 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42631 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42632 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42633 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42634 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42635 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42636 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42637 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42638 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42639 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42640 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42641 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42642 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42643 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42644 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42645 * sysdeps/ieee754/k_standard.c: Likewise.
42646 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42647 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42648 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42649 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42650 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42651 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42652 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42653 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42654 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42655 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42656 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42657 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42658 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42659 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42660 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42661 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42662 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42663 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42664 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42665 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42666 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42667 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42668 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42669 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42670 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42671 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42672 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42673 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42674 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42675 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42676 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42677 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42678 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42679 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42680 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42681 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42682 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42683 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42684 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42685 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42686 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42687 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42688 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42689 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42690 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42691 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42692 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42693 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42694 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42695 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42696 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42697 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42698 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42699 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42700 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42701 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42702 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42703 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42704 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42705 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42706 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42707 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42708 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42709 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42710 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42711 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42712 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42713 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42714 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42715 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42716 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42717 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42718 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42719 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42720 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42721 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42722 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42723 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42724 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42725 * sysdeps/ieee754/s_matherr.c: Likewise.
42726 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42727 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42728 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42729 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42731 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42733 * crypt/md5.h: Remove __STDC__ conditionals.
42734 * libio/libioP.h: Likewise.
42735 * locale/programs/config.h: Likewise.
42736 * sysdeps/generic/sysdep.h: Likewise.
42737 * sysdeps/i386/asm-syntax.h: Likewise.
42738 * sysdeps/s390/asm-syntax.h: Likewise.
42739 * sysdeps/unix/sysdep.h: Likewise.
42740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42743 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42745 * libio/libio.h: Remove __STDC__ conditionals.
42746 * malloc/obstack.h: Likewise.
42747 * math/complex.h: Likewise.
42748 * math/math.h: Likewise.
42749 * sysdeps/generic/_G_config.h: Likewise.
42750 * sysdeps/gnu/_G_config.h: Likewise.
42751 * sysdeps/mach/hurd/_G_config.h: Likewise.
42752 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42753 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42754 * sysdeps/sparc/bits/mathdef.h: Likewise.
42756 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42759 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42760 Clean up HAS_* macros.
42761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42762 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42764 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42766 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42767 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42768 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42769 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42770 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42772 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42774 * elf/tst-unique3.cc (gets): Remove declaration.
42775 * elf/tst-unique3lib.cc (gets): Likewise.
42776 * elf/tst-unique3lib2.cc (gets): Likewise.
42777 * elf/tst-unique4.cc (gets): Likewise.
42779 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42781 * include/stdio.h: Add C++ protection. Add gets declarations and
42783 * debug/tst-chk1.c: Don't declare gets here.
42784 * stdio-common/tst-gets.c: Likewise.
42786 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42788 * posix/glob: Remove directory.
42790 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42792 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42794 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42796 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42797 of the non-standard EPFNOSUPPORT.
42799 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42801 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42802 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42803 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42805 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42807 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42809 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42811 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42813 * nscd/grpcache.c (cache_addgr): Likewise.
42814 * nscd/hstcache.c (cache_addhst): Likewise.
42815 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42816 * nscd/pwdcache.c (cache_addpw): Likewise.
42817 * nscd/servicescache.c (cache_addserv): Likewise.
42819 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42821 * malloc/malloc.c: Various cleanups.
42822 * malloc/hooks.c: Likewise.
42824 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42825 * stdlib/bug-fmtmsg1.c: New file.
42827 * stdlib/fmtmsg.c (init): Add missing unlock.
42828 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42830 2012-01-12 Marek Polacek <polacek@redhat.com>
42832 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42835 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42837 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42838 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42839 macro to ensure uniqueness of label name.
42840 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42841 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42843 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42845 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42847 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42848 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42849 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42850 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42852 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42854 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42856 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42857 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42858 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42860 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42862 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42863 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42864 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42865 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42867 * math/bits/math-finite.h: Add ldexp support.
42869 2012-01-10 Marek Polacek <polacek@redhat.com>
42871 * locale/programs/localedef.h (show_archive_content): Add noreturn
42874 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42876 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42878 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42880 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42882 * io/Makefile (headers): Add bits/poll2.h.
42884 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42887 typo #include statement.
42889 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42891 * include/sys/cdefs.h: Define __attribute_alloc_size.
42892 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42893 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42894 * elf/pldd.c: Likewise.
42895 * iconv/iconv_charmap.c: Likewise.
42896 * iconv/iconvconfig.c: Likewise.
42897 * iconv/strtab.c: Likewise.
42898 * locale/programs/locale.c: Likewise.
42899 * locale/programs/localedef.h: Likewise.
42900 * locale/programs/simple-hash.c: Likewise.
42901 * nscd/nscd.h: Likewise.
42902 * nss/makedb.c: Likewise.
42903 * sysdeps/generic/ldconfig.h: Likewise.
42904 * locale/programs/localedef.c: Remove xmalloc prototype.
42905 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42907 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42909 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42912 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42914 * math/Makefile (tests): Add tst-CMPLX.
42915 * math/tst-CMPLX.c: New file.
42917 * math/complex.h (CMPLXL): Fix typo.
42919 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42920 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42922 * debug/tst-chk1.c: Add poll and ppoll tests.
42923 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42924 * include/sys/poll.h: Add hidden proto for ppoll.
42925 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42926 * sysdeps/mach/hurd/ppoll.c: Likewise.
42927 * io/ppoll.c: Likewise.
42928 * debug/poll_chk.c: New file.
42929 * debug/ppoll_chk.c: New file.
42930 * include/bits/poll2.h: New file.
42931 * io/bits/poll2.h: New file.
42934 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42936 * configure.in: static is always set to yes. Remove.
42937 * config.make.in: Don't set build-static.
42938 * Makeconfig: Remove use of build-static.
42939 * dlfcn/Makefile: Likewise.
42940 * elf/Makefile: Likewise.
42941 * math/Makefile: Likewise.
42942 * misc/Makefile: Likewise.
42943 * nptl/Makefile: Likewise.
42944 * sysdeps/mach/hurd/Makefile: Likewise.
42946 * configure.in: PWD_P is not used anymore.
42947 * config.make.in: Remove PWD_P entry.
42949 * configure.in: Remove last remnants of RANLIB.
42950 No need to check for signed size_t anymore.
42951 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42953 Remove __builtin_expect test because we require at least gcc 3.4.
42954 * aclocal.m4: Likewise.
42956 * wcsmbs/mbrtoc16.c: Implement using towc function.
42957 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42958 * wcsmbs/wcsmbsload.c: Likewise.
42959 * iconv/gconv_simple.c: Likewise.
42960 * iconv/gconv_int.h: Likewise.
42961 * iconv/gconv_builtin.h: Likewise.
42962 * iconv/iconv_prog.c: Remove CHAR16 handling.
42964 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42966 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42968 * configure.in: Remove --with-elf and --enable-bounded options.
42969 Dont set base_machine for ia64. More non-ELF conditions removed.
42970 Remove testing and setting of leading underscore information.
42971 * config.make.in (build-bounded): Set to no.
42972 * config.h.in: Remove NO_UNDERSCORES entry.
42973 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42975 * csu/start.c: Remove !NO_UNDERSCORE code.
42976 * locale/localeinfo.h: Likewise.
42977 * sysdeps/generic/machine-gmon.h: Likewise.
42978 * sysdeps/generic/sysdep.h: Likewise.
42979 * sysdeps/i386/sysdep.h: Likewise.
42980 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42981 * sysdeps/mach/sysdep.h: Likewise.
42982 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42983 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42984 * sysdeps/sh/sysdep.h: Likewise.
42985 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42986 * sysdeps/unix/i386/sysdep.S: Likewise.
42987 * sysdeps/unix/sparc/start.c: Likewise.
42988 * sysdeps/unix/sparc/sysdep.S: Likewise.
42989 * sysdeps/unix/sparc/sysdep.h: Likewise.
42990 * sysdeps/unix/start.c: Likewise.
42991 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42992 * sysdeps/x86_64/sysdep.h: Likewise.
42994 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42997 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42999 * argp/argp-fmtstream.h: Use const instead __const.
43000 * argp/argp.h: Likewise.
43001 * assert/assert.h: Likewise.
43002 * bits/fenv.h: Likewise.
43003 * bits/sched.h: Likewise.
43004 * bits/sigset.h: Likewise.
43005 * bits/sigthread.h: Likewise.
43006 * catgets/nl_types.h: Likewise.
43007 * conform/data/pthread.h-data: Likewise.
43008 * crypt/crypt-private.h: Likewise.
43009 * crypt/crypt.h: Likewise.
43010 * crypt/crypt_util.c: Likewise.
43011 * ctype/ctype.h: Likewise.
43012 * debug/execinfo.h: Likewise.
43013 * debug/mbsnrtowcs_chk.c: Likewise.
43014 * debug/mbsrtowcs_chk.c: Likewise.
43015 * debug/wcsnrtombs_chk.c: Likewise.
43016 * debug/wcsrtombs_chk.c: Likewise.
43017 * debug/wcstombs_chk.c: Likewise.
43018 * dirent/dirent.h: Likewise.
43019 * dlfcn/dlfcn.h: Likewise.
43020 * elf/neededtest4.c: Likewise.
43021 * grp/grp.h: Likewise.
43022 * gshadow/gshadow.h: Likewise.
43023 * iconv/gconv.h: Likewise.
43024 * iconv/gconv_int.h: Likewise.
43025 * iconv/gconv_simple.c: Likewise.
43026 * iconv/iconv.h: Likewise.
43027 * iconv/loop.c: Likewise.
43028 * iconv/skeleton.c: Likewise.
43029 * include/aio.h: Likewise.
43030 * include/aliases.h: Likewise.
43031 * include/argz.h: Likewise.
43032 * include/arpa/inet.h: Likewise.
43033 * include/assert.h: Likewise.
43034 * include/dirent.h: Likewise.
43035 * include/dlfcn.h: Likewise.
43036 * include/execinfo.h: Likewise.
43037 * include/fcntl.h: Likewise.
43038 * include/fenv.h: Likewise.
43039 * include/glob.h: Likewise.
43040 * include/grp.h: Likewise.
43041 * include/libintl.h: Likewise.
43042 * include/mntent.h: Likewise.
43043 * include/netdb.h: Likewise.
43044 * include/pwd.h: Likewise.
43045 * include/rpc/netdb.h: Likewise.
43046 * include/sched.h: Likewise.
43047 * include/search.h: Likewise.
43048 * include/shadow.h: Likewise.
43049 * include/signal.h: Likewise.
43050 * include/stdio.h: Likewise.
43051 * include/stdlib.h: Likewise.
43052 * include/string.h: Likewise.
43053 * include/sys/socket.h: Likewise.
43054 * include/sys/stat.h: Likewise.
43055 * include/sys/statfs.h: Likewise.
43056 * include/sys/statvfs.h: Likewise.
43057 * include/sys/syslog.h: Likewise.
43058 * include/sys/time.h: Likewise.
43059 * include/sys/uio.h: Likewise.
43060 * include/time.h: Likewise.
43061 * include/unistd.h: Likewise.
43062 * include/utmp.h: Likewise.
43063 * include/wchar.h: Likewise.
43064 * include/wctype.h: Likewise.
43065 * inet/aliases.h: Likewise.
43066 * inet/arpa/inet.h: Likewise.
43067 * inet/netinet/ether.h: Likewise.
43068 * inet/netinet/in.h: Likewise.
43069 * intl/libintl.h: Likewise.
43070 * io/bits/fcntl2.h: Likewise.
43071 * io/fcntl.h: Likewise.
43072 * io/ftw.h: Likewise.
43073 * io/sys/poll.h: Likewise.
43074 * io/sys/stat.h: Likewise.
43075 * io/sys/statfs.h: Likewise.
43076 * io/sys/statvfs.h: Likewise.
43077 * io/utime.h: Likewise.
43078 * libio/bits/stdio.h: Likewise.
43079 * libio/bits/stdio2.h: Likewise.
43080 * libio/libio.h: Likewise.
43081 * libio/libioP.h: Likewise.
43082 * libio/stdio.h: Likewise.
43083 * locale/lc-ctype.c: Likewise.
43084 * locale/locale.h: Likewise.
43085 * login/utmp.h: Likewise.
43086 * malloc/arena.c: Likewise.
43087 * malloc/malloc.c: Likewise.
43088 * malloc/malloc.h: Likewise.
43089 * malloc/mcheck.c: Likewise.
43090 * malloc/mtrace.c: Likewise.
43091 * math/bits/mathcalls.h: Likewise.
43092 * math/fenv.h: Likewise.
43093 * math/math_private.h: Likewise.
43094 * misc/bits/error.h: Likewise.
43095 * misc/bits/syslog.h: Likewise.
43096 * misc/err.h: Likewise.
43097 * misc/error.h: Likewise.
43098 * misc/fstab.h: Likewise.
43099 * misc/mntent.h: Likewise.
43100 * misc/regexp.h: Likewise.
43101 * misc/search.h: Likewise.
43102 * misc/sgtty.h: Likewise.
43103 * misc/sys/mman.h: Likewise.
43104 * misc/sys/syslog.h: Likewise.
43105 * misc/sys/uio.h: Likewise.
43106 * misc/sys/xattr.h: Likewise.
43107 * misc/ttyent.h: Likewise.
43108 * nis/rpcsvc/ypclnt.h: Likewise.
43109 * nss/nss.h: Likewise.
43110 * posix/bits/unistd.h: Likewise.
43111 * posix/fnmatch.h: Likewise.
43112 * posix/glob.h: Likewise.
43113 * posix/sched.h: Likewise.
43114 * posix/spawn.h: Likewise.
43115 * posix/sys/wait.h: Likewise.
43116 * posix/unistd.h: Likewise.
43117 * posix/wordexp.h: Likewise.
43118 * pwd/pwd.h: Likewise.
43119 * resolv/netdb.h: Likewise.
43120 * resource/sys/resource.h: Likewise.
43121 * rt/aio.h: Likewise.
43122 * rt/bits/mqueue2.h: Likewise.
43123 * rt/mqueue.h: Likewise.
43124 * shadow/shadow.h: Likewise.
43125 * signal/signal.h: Likewise.
43126 * socket/send.c: Likewise.
43127 * socket/sendto.c: Likewise.
43128 * socket/sys/socket.h: Likewise.
43129 * stdio-common/printf.h: Likewise.
43130 * stdlib/bits/stdlib.h: Likewise.
43131 * stdlib/fmtmsg.h: Likewise.
43132 * stdlib/monetary.h: Likewise.
43133 * stdlib/stdlib.h: Likewise.
43134 * stdlib/ucontext.h: Likewise.
43135 * streams/stropts.h: Likewise.
43136 * string/argz.h: Likewise.
43137 * string/bits/string2.h: Likewise.
43138 * string/string.h: Likewise.
43139 * string/strings.h: Likewise.
43140 * sunrpc/rpc/auth.h: Likewise.
43141 * sunrpc/rpc/auth_des.h: Likewise.
43142 * sunrpc/rpc/clnt.h: Likewise.
43143 * sunrpc/rpc/netdb.h: Likewise.
43144 * sunrpc/rpc/pmap_clnt.h: Likewise.
43145 * sunrpc/rpc/xdr.h: Likewise.
43146 * sysdeps/generic/inttypes.h: Likewise.
43147 * sysdeps/generic/net/if.h: Likewise.
43148 * sysdeps/generic/sys/swap.h: Likewise.
43149 * sysdeps/gnu/net/if.h: Likewise.
43150 * sysdeps/gnu/utmpx.h: Likewise.
43151 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43152 * sysdeps/i386/i486/bits/string.h: Likewise.
43153 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43154 * sysdeps/s390/bits/string.h: Likewise.
43155 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43156 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43157 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43158 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43159 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43160 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43161 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43162 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43163 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43164 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43165 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43166 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43167 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43168 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43169 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43170 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43171 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43172 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43173 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43174 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43175 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43176 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43177 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43178 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43179 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43180 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43181 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43182 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43183 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43184 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43185 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43186 * sysvipc/sys/ipc.h: Likewise.
43187 * sysvipc/sys/msg.h: Likewise.
43188 * sysvipc/sys/sem.h: Likewise.
43189 * sysvipc/sys/shm.h: Likewise.
43190 * termios/termios.h: Likewise.
43191 * time/sys/time.h: Likewise.
43192 * time/time.h: Likewise.
43193 * wcsmbs/bits/wchar2.h: Likewise.
43194 * wcsmbs/uchar.h: Likewise.
43195 * wcsmbs/wchar.h: Likewise.
43196 * wctype/wctype.h: Likewise.
43199 * Makeconfig: Remove all but ELF support including AIX support.
43200 * Makerules: Likewise.
43201 * config.h.in: Likewise.
43202 * config.make.in: Likewise.
43203 * configure: Likewise.
43204 * configure.in: Likewise.
43205 * csu/Makefile: Likewise.
43206 * csu/version.c: Likewise.
43207 * debug/Makefile: Likewise.
43208 * dlfcn/Makefile: Likewise.
43209 * elf/Makefile: Likewise.
43210 * extra-lib.mk: Likewise.
43211 * iconv/Makefile: Likewise.
43212 * include/libc-symbols.h: Likewise.
43213 * include/shlib-compat.h: Likewise.
43214 * resolv/Makefile: Likewise.
43215 * resolv/res_libc.c: Likewise.
43216 * rt/Makefile: Likewise.
43217 * sysdeps/i386/asm-syntax.h: Likewise.
43218 * sysdeps/i386/sysdep.h: Likewise.
43219 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43220 * sysdeps/mach/sysdep.h: Likewise.
43221 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43222 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43223 * sysdeps/s390/asm-syntax.h: Likewise.
43224 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43225 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43226 * sysdeps/sh/sysdep.h: Likewise.
43227 * sysdeps/unix/sparc/sysdep.h: Likewise.
43228 * sysdeps/wordsize-32/divdi3.c: Likewise.
43229 * sysdeps/x86_64/sysdep.h: Likewise.
43231 * argp/Versions: Remove _argp_unlock_xxx.
43234 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43235 * abilist/libBrokenLocale.abilist: Likewise.
43236 * abilist/libanl.abilist: Likewise.
43237 * abilist/libc.abilist: Likewise.
43238 * abilist/libcrypt.abilist: Likewise.
43239 * abilist/libdl.abilist: Likewise.
43240 * abilist/libm.abilist: Likewise.
43241 * abilist/libnsl.abilist: Likewise.
43242 * abilist/libpthread.abilist: Likewise.
43243 * abilist/libresolv.abilist: Likewise.
43244 * abilist/librt.abilist: Likewise.
43245 * abilist/libthread_db.abilist: Likewise.
43246 * abilist/libutil.abilist: Likewise.
43247 * abilist/libnss_db.abilist: New file.
43249 * scripts/abilist.awk: Add support for indirect functions.
43251 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43253 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43255 * shlib-versions: Remove entries for ports architectures.
43257 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43259 * elf/stackguard-macros.h: Remove support for IA-64.
43260 * elf/tst-auditmod1.c: Likewise.
43261 * sysdeps/generic/ldsodefs.h: Likewise.
43263 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43264 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43268 * configure.in: Remove --enable-omitfp support.
43270 * config.make.in: Likewise.
43271 * Makeconfig: Likewise.
43272 * manual/install.texi: Likewise.
43274 In case anyone cares, the IA-64 architecture could move to ports.
43275 * sysdeps/ia64/*: Removed.
43276 * sysdeps/unix/sysv/linux/ia64/*: Removed.
43277 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43280 * configure.in: Remove entries for unsupported architectures.
43283 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43284 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43286 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43287 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43288 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43289 fall back to using wcrtomb.
43290 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43291 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43293 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43294 * wcsmbs/tst-c16c32-1.c: New file.
43296 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43299 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43301 * elf/tst-unique3.cc: Add explicit declaration of gets.
43302 * elf/tst-unique3lib.cc: Likewise.
43303 * elf/tst-unique3lib2.cc: Likewise.
43304 * elf/tst-unique4.cc: Likewise.
43306 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43308 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43311 * assert/assert.h (static_assert): Don't define for C++.
43312 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43313 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43315 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43317 * iconv/loop.c (single loop): Fix assertion in storing of
43320 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43322 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43324 * posix/getconf.c: Update copyright year.
43325 * nss/getent.c: Likewise.
43326 * nss/makedb.c: Likewise.
43327 * iconv/iconvconfig.c: Likewise.
43328 * iconv/iconv_prog.c: Likewise.
43329 * elf/ldconfig.c: Likewise.
43330 * elf/pldd.c: Likewise.
43331 * elf/sotruss.ksh: Likewise.
43332 * catgets/gencat.c: Likewise.
43333 * csu/version.c: Likewise.
43334 * elf/ldd.bash.in: Likewise.
43335 * elf/sprof.c (print_version): Likewise.
43336 * locale/programs/locale.c: Likewise.
43337 * locale/programs/localedef.c: Likewise.
43338 * login/programs/pt_chown.c: Likewise.
43339 * nscd/nscd.c (print_version): Likewise.
43340 * debug/xtrace.sh: Likewise.
43341 * malloc/memusage.sh: Likewise.
43342 * malloc/mtrace.pl: Likewise.
43343 * debug/catchsegv.sh: Likewise.
43345 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43347 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43350 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43353 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43354 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43356 * iconv/gconv_int.h: Likewise.
43357 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43358 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43359 from libc for GLIBC_2.16.
43360 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43361 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43362 * wcsmbs/uchar.h: Really define mbstate_t.
43363 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43364 * wcsmbs/c16rtomb.c: New file.
43365 * wcsmbs/mbrtoc16.c: New file.
43366 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43367 for C/POSIX locale.
43368 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43369 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43371 * wcsmbs/wchar.h: Add missing __restrict.
43373 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43376 * time/Makefile (routines): Add timespec_get.
43377 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43378 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43379 timespec for ISO C11.
43380 * time/timespec_get.c: New file.
43381 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43382 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43385 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43386 * stdlib/stdlib.h: Declare aligned_alloc.
43387 * Versions.def: Add GLIBC_2.16 for libc.
43388 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43391 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43394 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43398 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43401 * assert/assert.h (static_assert): Define.
43403 * version.h: Update for 2.16 development version.
43406 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43409 * version.h (RELEASE): Bump for 2.15 release.
43410 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43412 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43413 Patch by Marek Polacek <mpolacek@redhat.com>.
43415 * bits/byteswap.h: Protect long long constants with __extension__.
43416 * sysdeps/i386/bits/byteswap.h: Likewise.
43417 * sysdeps/ia64/bits/byteswap.h: Likewise.
43418 * sysdeps/s390/bits/byteswap.h: Likewise.
43419 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43421 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43424 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43425 destination buffer.
43426 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43428 2011-12-23 Marek Polacek <polacek@redhat.com>
43430 * elf/dl-addr.c (determine_info): Add inline keyword.
43431 * elf/tst-auditmod4b.c (check_avx): Likewise.
43432 * elf/tst-auditmod6b.c (check_avx): Likewise.
43433 * elf/tst-auditmod6c.c (check_avx): Likewise.
43434 * elf/tst-auditmod7b.c (check_avx): Likewise.
43436 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43438 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43441 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43444 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43445 processing for last bytes.
43447 2011-08-06 Bruno Haible <bruno@clisp.org>
43450 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43451 U+0385, not to U+1FEE.
43454 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43455 entry for U+00A5 U+0301.
43457 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43460 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43461 buffer for the output is too small.
43463 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43467 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43468 SSE flags if possible.
43470 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43473 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43474 processing for last bytes.
43476 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43478 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43479 (syscall-list-default-options, syscall-list-default-condition)
43480 (syscall-list-includes): Define.
43481 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43482 list of ABIs and options and #if conditions for each ABI. Do not
43483 handle common syscalls between ABIs specially.
43484 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43486 (syscall-list-variants, syscall-list-32bit-options)
43487 (syscall-list-32bit-condition, syscall-list-64bit-options)
43488 (syscall-list-64bit-condition): Define.
43489 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43490 (syscall-list-variants, syscall-list-32bit-options)
43491 (syscall-list-32bit-condition, syscall-list-64bit-options)
43492 (syscall-list-64bit-condition): Define.
43493 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43495 (syscall-list-variants, syscall-list-32bit-options)
43496 (syscall-list-32bit-condition, syscall-list-64bit-options)
43497 (syscall-list-64bit-condition): Define.
43498 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43500 (syscall-list-variants, syscall-list-32bit-options)
43501 (syscall-list-32bit-condition, syscall-list-64bit-options)
43502 (syscall-list-64bit-condition): Define.
43504 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43506 * locale/iso-639.def: Add brx entry.
43509 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43510 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43512 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43513 __feraiseexcept_renamed.
43515 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43518 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43519 EPOLLET with unsigned values.
43520 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43521 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43523 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43524 to large cancellation.
43525 * math/s_cacoshf.c: Likewise.
43526 * math/s_cacoshl.c: Likewise.
43528 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43532 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43533 * math/s_cacoshf.c: Likewise.
43534 * math/s_cacoshl.c: Likewise.
43536 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43539 * iconv/gconv.h: Define __GCONV_SWAP.
43540 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43541 * iconvdata/utf-16.c: Likewise.
43542 * iconvdata/utf-32.c: Likewise.
43544 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43547 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43548 numerator after shifting it by one limb.
43550 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43552 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43553 under [__USE_EXTERN_INLINES].
43555 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43558 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43560 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43562 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43563 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43565 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43566 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43567 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43568 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43569 for strncasecmp/strncasecmp_l compilation.
43570 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43571 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43573 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43576 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43579 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43582 * time/tzfile.c (__tzfile_read): Check values from file header.
43584 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43586 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43587 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43588 * powerpc/powerpc32/dl-start.S: Likewise.
43589 * powerpc/powerpc32/elf/start.S: Likewise.
43590 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43591 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43592 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43593 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43594 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43595 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43596 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43597 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43598 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43599 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43600 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43601 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43602 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43603 * powerpc/powerpc32/memset.S: Likewise.
43604 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43605 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43606 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43607 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43608 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43609 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43610 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43611 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43612 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43613 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43614 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43615 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43616 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43618 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43620 * math/libm-test.inc: Added more nearbyint tests.
43621 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43622 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43623 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43624 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43626 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43628 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43631 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43633 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43634 Add wcscpy-ssse3 wcscpy-c.
43635 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43636 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43637 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43638 * sysdeps/x86_64/wcschr.S: New file.
43639 * sysdeps/x86_64/wcsrchr.S: New file.
43640 * string/test-strcmp.c: Remove checking of wcscmp function for
43642 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43643 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43644 wcsrchr-sse2 wcsrchr-c.
43645 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43646 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43647 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43648 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43649 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43650 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43651 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43652 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43653 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43654 * wcsmbc/wcschr.c (WCSCHR): New macro.
43656 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43658 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43659 * wcsmbs/test-wcsrchr.c: New file.
43660 * string/test-strrchr.c: Add wcsrchr support.
43662 * wcsmbs/test-wcscpy.c: New file.
43663 * string/test-strcpy.c: Add wcscpy support.
43666 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43668 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43671 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43674 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43676 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43678 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43679 Minor optimizations.
43681 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43682 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43683 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43685 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43687 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43688 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43689 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43690 for gcc to avoid warnings.
43691 * inet/Makefile (tests): Add tst-checks.
43692 * inet/tst-checks.c: New file.
43694 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43697 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43700 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43701 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43703 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43705 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43707 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43710 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43712 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43714 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43715 conditional on GCC version.
43716 (__arch_compare_and_exchange_val_8_acq)
43717 (__arch_compare_and_exchange_val_16_acq)
43718 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43719 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43720 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43722 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43724 * sysdeps/sh/backtrace.c: New file.
43726 2011-12-02 Andreas Schwab <schwab@redhat.com>
43728 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43731 2011-12-01 Andreas Schwab <schwab@redhat.com>
43733 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43734 falling back to utime.
43736 2011-11-30 Andreas Schwab <schwab@redhat.com>
43738 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43739 expectations for float.
43741 2011-11-29 Andreas Schwab <schwab@redhat.com>
43743 * locale/weight.h (findidx): Add parameter len.
43744 * locale/weightwc.h (findidx): Likewise.
43745 * posix/fnmatch_loop.c (FCT): Adjust caller.
43746 * posix/regcomp.c (build_equiv_class): Likewise.
43747 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43748 * posix/regexec.c (check_node_accept_bytes): Likewise.
43749 * string/strcoll_l.c (STRCOLL): Likewise.
43750 * string/strxfrm_l.c (STRXFRM): Likewise.
43752 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43754 * Makefile.in: Remove CVSOPT handling.
43755 * configure.in: Remove use of AC_REVISION.
43756 * iconvdata/Makefile (distribute): No need to filter out CVS.
43757 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43760 2011-11-16 Andreas Schwab <schwab@redhat.com>
43762 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43763 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43764 [USE_AS_STRNCASECMP_L]: Likewise.
43765 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43766 NO_TLS_DIRECT_SEG_REFS.
43767 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43768 Fix argument offsets for non-PIC.
43769 [USE_AS_STRNCASECMP_L]: Likewise.
43770 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43771 NO_TLS_DIRECT_SEG_REFS.
43773 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43775 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43777 * locale/loadlocale.c (_nl_load_locale): Likewise.
43779 2011-11-15 Andreas Schwab <schwab@redhat.com>
43781 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43782 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43783 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43784 (SYSCALL_GETTIME): Set errno on error.
43786 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43787 count references to noai6ai_cached.
43789 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43791 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43793 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43794 FD_CLOEXEC for /proc/self/maps.
43796 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43797 FD_CLOEXEC for /proc/meminfo.
43799 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43802 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43803 FD_CLOEXEC for given file.
43805 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43807 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43808 FD_CLOEXEC for /etc/hosts.
43809 (_gethtent): Likewise.
43811 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43813 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43814 cancellation and set FD_CLOEXEC for /etc/netgroup.
43816 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43817 reading /etc/publickey.
43819 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43820 allow cancellation when reading /etc/group.
43822 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43824 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43826 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43827 when using data file.
43829 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43831 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43832 (write_nis_obj): Use "c" and "e" in fopen.
43834 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43836 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43838 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43840 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43842 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43845 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43847 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43849 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43851 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43852 file parsing and set FD_CLOEXEC.
43854 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43856 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43858 2011-11-14 Andreas Schwab <schwab@redhat.com>
43860 * malloc/arena.c (arena_get2): Don't call reused_arena when
43861 _int_new_arena failed.
43863 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43865 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43866 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43867 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43868 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43869 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43870 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43871 to compile strcasecmp and strncasecmp.
43872 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43873 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43875 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43877 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43879 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43880 locale-defines.sym to gen-as-const-headers.
43881 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43882 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43883 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43884 to compile strcasecmp and strncasecmp.
43885 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43886 strcasecmp_l and strncasecmp_l.
43887 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43888 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43889 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43890 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43891 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43892 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43893 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43894 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43895 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43896 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43897 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43899 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43901 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43902 result of SYSDEP_GETTIME_CPU to retval.
43903 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43904 parameter list to macro. Remove trailing semicolon. Adjust users.
43906 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43909 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43911 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43913 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43914 from unused variable.
43916 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43918 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43921 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43924 * sunrpc/rpc_prot.c (rejected): Fix case value.
43926 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43927 unsigned long long int to avoid warnings in shift.
43929 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43931 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43934 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43935 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43936 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43938 * nis/nis_table.c (nis_list): Use variable of correct type for
43939 result of __follow_path call.
43941 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43943 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43944 of math functions ceil, trunc, floor, round, and sqrt, when
43945 avaliable on the platform.
43946 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43948 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43949 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43950 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43952 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43954 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43955 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43957 2011-11-11 Roland McGrath <roland@hack.frob.com>
43959 * include/unistd.h: Fix __readlink return type.
43960 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43962 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43964 * stdlib/ucontext.h: Undo last change for makecontext.
43966 2011-11-11 Andreas Schwab <schwab@redhat.com>
43968 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43970 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43971 * setjmp/setjmp.h: Mark functions as non-leaf.
43972 * setjmp/bits/setjmp2.h: Likewise.
43973 * stdlib/ucontext.h: Likewise.
43975 2011-11-10 Andreas Schwab <schwab@redhat.com>
43977 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43978 (reused_arena): Don't check arena limit.
43979 (arena_get2): Atomically check arena limit.
43981 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43983 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43984 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43986 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43989 2011-11-07 Andreas Schwab <schwab@redhat.com>
43991 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43992 handler when locking.
43994 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43995 Fix size of allocated buffer.
43997 2011-11-04 Andreas Schwab <schwab@redhat.com>
44000 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44001 declarations for long double functions.
44002 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44004 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44006 2011-11-03 Andreas Schwab <schwab@redhat.com>
44008 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44011 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44014 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44016 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44018 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44020 * include/alloca.h (stackinfo_alloca_round): Define.
44021 (extend_alloca): Use it.
44022 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44023 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44026 * scripts/check-local-headers.sh: Ignore libaudit.h.
44028 * nscd/Makefile (extra-objs): Make recursively expanded.
44030 2011-11-01 Ulrich Drepper <drepper@gmail.com>
44032 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44033 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44035 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44036 * posix/tst-rfc3484-2.c: Likewise.
44037 * posix/tst-rfc3484-3.c: Likewise.
44039 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44041 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44043 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44044 process_vm_writev from libc using GLIBC_2.15 version.
44046 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44048 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44050 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44053 2011-10-31 Ulrich Drepper <drepper@gmail.com>
44056 * nss/getent.c (initgroups_keys): Show error message in case no group
44059 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44060 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44061 __bump_nl_timestamp.
44062 * nscd/connections (nscd_init): When host database is served open
44063 netlink socket and request notification about configuration changes.
44064 (main_loop_poll): Track netlink file descriptor and bump timestamp
44065 in case data becomes available.
44066 (main_loop_epoll): Likewise.
44067 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44068 (database_pers_head): Add extra_data fileds.
44069 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44070 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44071 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44073 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44074 in6ai data, call __free_in6ai.
44075 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44076 Add -DHAVE_NETLINK.
44077 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44078 interface information. Reuse previous data if netlink timestamp
44080 (__bump_nl_timestamp): New function.
44081 (__free_in6ai): New function.
44083 2011-10-30 Ulrich Drepper <drepper@gmail.com>
44085 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44086 close_not_cancel_no_status here.
44087 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44089 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44092 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44095 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44096 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44097 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44099 2011-07-03 Andreas Jaeger <aj@suse.de>
44102 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44103 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44104 * math/libm-test.inc (sin_test): Add test case.
44106 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44109 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44110 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44112 * elf/chroot_canon.c (chroot_canon): Cleanups.
44114 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44117 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44118 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44120 * string/test-strchr.c: Make usable for strchrnul testing.
44121 * string/test-strchrnul.c: New file.
44122 * string/Makefile (strop-tests): Add strchrnul.
44124 * po/it.po: Update from translation team.
44125 * po/es.po: Likewise.
44127 2011-10-28 Ulrich Drepper <drepper@gmail.com>
44129 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44130 the three constants needed as parameters. Drop the others.
44131 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44132 __m128i_strloadu_tolower.
44133 Create and initialize variable zero and use it in all the places
44134 where _mm_setzero_si128 was used.
44136 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44137 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44138 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44139 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44141 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44142 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44143 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44144 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44145 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44146 __mpranred, __mptan.
44147 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44148 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44149 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44150 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44151 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44152 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44153 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44154 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44155 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44157 2011-10-28 Andreas Schwab <schwab@redhat.com>
44159 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44160 redefine if SHARED.
44161 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44163 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44164 wide char related routines to wcsmbs subdir.
44166 2011-10-27 Andreas Schwab <schwab@redhat.com>
44169 * misc/sys/cdefs.h (__THROWNL): Define.
44170 * posix/unistd.h: Use __THREADNL instead of __THREAD
44171 for memory synchronization functions.
44173 2011-10-26 Roland McGrath <roland@hack.frob.com>
44176 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44178 * manual/stdio.texi (Obstack Streams): Node removed.
44180 2011-10-26 Andreas Schwab <schwab@redhat.com>
44182 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44183 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44184 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44186 * math/math_private.h (math_force_eval): Allow non-addressable
44188 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44190 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44192 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44193 file is not needed.
44195 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44196 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44197 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44198 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44199 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44200 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44201 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44202 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44204 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44205 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44206 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44207 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44208 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44209 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44210 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44211 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44212 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44213 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44214 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44215 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44216 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44217 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44218 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44219 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44220 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44221 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44222 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44224 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44225 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44227 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44228 place. Use VEX encoding when compiling for AVX.
44230 2011-10-25 Andreas Schwab <schwab@redhat.com>
44232 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44233 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44235 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44237 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44239 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44240 useless if() expression.
44241 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44242 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44243 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44244 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44245 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44246 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44247 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44248 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44249 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44250 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44251 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44252 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44253 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44254 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44255 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44256 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44257 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44258 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44259 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44261 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44263 2011-10-25 Andreas Schwab <schwab@redhat.com>
44265 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44267 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44269 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44271 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44272 .text section. Avoid duplicate constants.
44273 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44274 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44275 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44276 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44277 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44278 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44279 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44280 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44281 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44282 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44283 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44284 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44285 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44286 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44287 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44288 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44289 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44290 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44291 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44292 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44293 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44294 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44295 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44296 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44297 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44298 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44299 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44300 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44301 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44302 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44303 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44304 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44305 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44306 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44307 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44308 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44309 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44310 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44311 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44312 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44313 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44314 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44315 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44316 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44317 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44319 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44321 * sysdeps/x86_64/dla.h: Move to ...
44322 * sysdeps/x86_64/fpu/dla.h: ...here.
44323 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44324 situations. Use __builtin_fma only for gcc 4.6 and up.
44326 * config.make.in: Add have-mfma4 entry.
44327 * configure.in: Substitute libc_cv_cc_fma4.
44328 * math/Makefile (dbl-only-routines): Add sincostab.
44329 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44330 Use __sincostab not sincos.
44331 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44333 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44334 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44335 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44336 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44338 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44339 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44340 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44341 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44343 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44344 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44346 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44347 define aliases when function name is a macro.
44348 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44349 sysdeps/ieee754/dbl-64/sincos.tbl.
44350 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44351 fma4-enabled routines.
44352 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44353 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44354 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44355 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44356 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44357 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44358 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44359 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44360 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44361 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44362 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44363 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44364 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44365 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44366 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44367 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44368 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44369 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44370 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44371 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44372 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44373 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44374 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44375 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44376 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44377 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44378 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44379 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44380 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44381 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44383 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44385 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44386 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44387 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44389 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44390 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44391 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44392 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44394 2011-10-24 Andreas Schwab <schwab@redhat.com>
44396 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44398 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44400 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44402 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44404 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44406 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44407 Remove unused variable magic_bits.
44408 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44410 * string/strnlen.c: Define and use STRNLEN macro.
44411 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44412 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44413 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44414 * wcsmbs/wcslen.c: Define and use WCSLEN.
44415 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44416 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44417 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44418 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44419 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44420 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44421 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44423 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44426 strnlen-sse2-no-bsf.
44427 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44428 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44429 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44430 Add strnlen support.
44431 (USE_AS_STRNLEN): New macro.
44432 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44433 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44434 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44435 * sysdeps/x86_64/wcslen.S: New file.
44437 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44439 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44440 XMM-moves are used for copying on small sizes.
44442 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44444 * wcsmbs/Makefile (strop-tests): Add wcschr.
44445 * wcsmbs/test-wcschr.c: New file.
44446 * string/test-strchr.c: Update.
44447 Add wcschr support.
44450 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44452 * wcsmbs/Makefile (strop-tests): Add wcslen.
44453 * wcsmbs/test-wcslen.c: New file.
44454 * string/test-strlen.c: Update.
44455 Add wcslen support.
44458 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44460 * po/it.po: Update from translation team.
44462 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44464 * sysdeps/x86_64/wcscmp.S: Update.
44465 Fix wrong comparison semantics.
44466 wcscmp shall use signed comparison not unsigned.
44467 Don't use substraction to avoid overflow bug.
44468 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44469 * wcsmbc/wcscmp.c: Likewise.
44470 * string/test-strcmp.c: Likewise.
44471 Add new tests to check cases with negative values.
44473 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44475 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44476 * sysdeps/x86_64/dla.h: ...here. New file.
44477 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44478 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44479 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44480 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44481 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44482 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44483 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44484 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44485 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44487 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44489 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44490 __ynl_finite aliases.
44492 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44494 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44496 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44498 [DLA_FMA] (EMULV): Use DLA_FMA.
44499 [DLA_FMA] (MUL12): Use EMULV.
44500 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44501 that are not needed.
44502 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44503 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44504 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44505 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44506 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44507 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44508 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44510 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44512 * math/s_nan.c: Undef __nan.
44513 * math/s_nanf.c: Undef __nanf.
44514 * math/s_nanl.c: Undef __nanl.
44515 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44518 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44520 * math/s_catan.c: Add branch predictions.
44521 * math/s_catanf.c: Likewise.
44522 * math/s_catanh.c: Likewise.
44523 * math/s_catanhf.c: Likewise.
44524 * math/s_catanhl.c: Likewise.
44525 * math/s_catanl.c: Likewise.
44526 * math/s_cexp.c: Likewise.
44527 * math/s_cexpf.c: Likewise.
44528 * math/s_cexpl.c: Likewise.
44529 * math/s_clog.c: Likewise.
44530 * math/s_clog10.c: Likewise.
44531 * math/s_clog10f.c: Likewise.
44532 * math/s_clog10l.c: Likewise.
44533 * math/s_clogf.c: Likewise.
44534 * math/s_clogl.c: Likewise.
44535 * math/s_csqrt.c: Likewise.
44536 * math/s_csqrtf.c: Likewise.
44537 * math/s_csqrtl.c: Likewise.
44538 * math/s_ctanf.c: Likewise.
44539 * math/s_ctanh.c: Likewise.
44540 * math/s_ctanhf.c: Likewise.
44541 * math/s_ctanhl.c: Likewise.
44542 * math/s_ctanl.c: Likewise.
44544 * math/math_private.h: Define __nan, __nanf, __nanl.
44545 * math/s_cacosh.c: Include <math_private.h>.
44546 * math/s_cacoshl.c: Likewise.
44547 * math/s_casinh.c: Likewise.
44548 * math/s_casinhf.c: Likewise.
44549 * math/s_casinhl.c: Likewise.
44550 * math/s_ccos.c: Rely entire on ccosh.
44551 * math/s_ccosf.c: Rely entire on ccoshf.
44552 * math/s_ccosl.c: Rely entirely on ccoshl.
44553 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44554 Remove tests for FE_INVALID.
44555 * math/s_ccoshf.c: Likewise.
44556 * math/s_ccoshl.c: Likewise.
44557 * math/s_csin.c: Likewise.
44558 * math/s_csinf.c: Likewise.
44559 * math/s_csinh.c Likewise.
44560 * math/s_csinhf.c: Likewise.
44561 * math/s_csinhl.c: Likewise.
44562 * math/s_csinl.c: Likewise.
44563 * math/s_ctan.c: Likewise.
44564 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44565 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44566 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44568 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44571 compilation problems.
44573 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44576 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44578 * sysdeps/i386/configure.in: Test for -mfma4 option.
44579 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44580 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44581 COMMON_CPUID_INDEX_80000001.
44582 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44583 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44584 use it if FMA3 is not supported.
44585 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44587 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44588 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44590 2011-10-20 Andreas Schwab <schwab@redhat.com>
44593 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44594 it would create a cycle with a link time dependency.
44596 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44598 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44600 * string/Makefile (strop-tests): Add rawmemchr.
44601 * string/test-rawmemchr.c: New file.
44603 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44604 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44605 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44606 when compiling str{,n}casecmp and when AVX is available. Hook up
44607 new optimized code in initializers.
44609 2011-10-19 Andreas Schwab <schwab@redhat.com>
44611 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44612 __feraiseexcept instead of feraiseexcept.
44614 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44616 * math/math_private.h: Define defaults for libc_fetestexcept and
44618 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44619 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44620 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44621 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44622 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44623 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44624 libc_fetestexcept and libc_feupdateenv.
44626 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44627 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44628 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44629 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44630 libc_feholdexcept_setround.
44632 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44633 Add s_nearbyint-c and s_nearbyintf-c.
44634 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44635 nearbyintf inlines.
44636 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44637 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44638 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44639 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44641 * math/math_private.h: Define defaults for libc_fegetround,
44642 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44643 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44644 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44645 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44646 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44647 standard functions.
44648 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44649 Remove comments and hacks for old compiler versions.
44650 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44651 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44652 libc_feholdexceptl.
44654 2011-10-18 Andreas Schwab <schwab@redhat.com>
44656 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44657 (__feraiseexcept_renamed): Add __NTH.
44658 (feraiseexcept): Add __NTH. Rename local variables to fix
44659 namespace violations.
44661 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44663 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44665 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44667 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44668 recently added interfaces.
44669 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44671 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44672 about macro parameter expansion.
44674 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44675 __NO_MATH_INLINES is defined. Cleanups.
44677 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44678 and __floorf is target has SSE4.1.
44679 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44680 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44681 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44682 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44684 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44686 (floorf): Likewise.
44688 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44690 2011-10-17 Andreas Schwab <schwab@redhat.com>
44692 * misc/sys/cdefs.h: Fix last change.
44694 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44697 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44699 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44701 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44702 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44703 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44704 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44705 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44706 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44707 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44708 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44709 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44710 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44711 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44712 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44713 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44714 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44715 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44716 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44717 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44718 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44719 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44720 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44721 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44722 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44724 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44725 ceil, ceilf, floor, floorf.
44727 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44728 Perform IRELATIVE relocations last.
44730 * elf/do-rel.h: Add another parameter nrelative, replacing the
44731 local variable with the same name. Change name of the function
44732 to end in Rel or Rela (uppercase).
44733 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44734 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44735 elf_dynamic_do_##reloc function.
44737 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44739 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44740 is sufficient, at least on modern CPUs.
44742 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44744 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44745 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44747 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44749 * math/bits/math-finite.h: Add entries for exp.
44750 * math/e_expl.c: Add __*_finite alias.
44751 * sysdeps/i386/fpu/e_exp.S: Likewise.
44752 * sysdeps/i386/fpu/e_expf.S: Likewise.
44753 * sysdeps/i386/fpu/e_expl.c: Likewise.
44754 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44755 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44756 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44757 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44758 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44759 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44760 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44762 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44763 is sufficient, at least on modern CPUs.
44765 * ctype/ctype-info.c (__ctype_init): Define.
44766 * include/ctype.h (__ctype_init): Declare.
44767 (__ctype_b_loc): The variable is always initialized.
44768 (__ctype_toupper_loc): Likewise.
44769 (__ctype_tolower_loc): Likewise.
44770 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44771 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44773 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44775 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44777 * configure.in: Also look in $cxxmachine/include for C++ system
44780 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44782 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44783 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44784 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44785 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44786 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44787 (USE_AS_WMEMCMP): New macro.
44789 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44790 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44791 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44792 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44793 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44794 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44795 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44796 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44797 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44798 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44799 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44800 (USE_AS_WMEMCMP): New macro.
44801 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44802 * sysdeps/string/test-memcmp.c: Update.
44803 Fix simple_wmemcmp.
44805 * wcsmbs/wmemcmp.c: Update.
44806 (WMEMCMP): New macro.
44809 2011-10-12 Andreas Jaeger <aj@suse.de>
44812 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44814 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44816 * libio/iofwide.c (do_length): Avoid warning.
44818 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44820 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44822 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44824 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44825 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44826 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44827 * sysdeps/i386/i686/fpu/e_log.S: New file.
44828 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44829 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44831 * ctype/ctype.h: Add support for inlined isXXX functions when
44832 compiling C++ code.
44834 2011-10-14 Andreas Schwab <schwab@redhat.com>
44836 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44838 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44840 2011-10-13 Roland McGrath <roland@hack.frob.com>
44843 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44845 2011-10-13 Andreas Schwab <schwab@redhat.com>
44847 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44848 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44851 * sysdeps/x86_64/memrchr.S: Check for zero size.
44853 * string/stratcliff.c: Add memrchr tests.
44855 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44857 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44858 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44859 rawmemchr-sse2 rawmemchr-sse2-bsf.
44860 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44861 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44862 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44863 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44864 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44865 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44866 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44867 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44868 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44869 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44870 * string/memrchr.c (MEMRCHR): New macro.
44872 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44874 Add integration with gcc's -ffinite-math-only and optimize wrapper
44876 * Versions.def: Define GLIBC_2.15 version for libm.
44877 * math/Makefile (headers): Add bits/math-finite.h.
44878 * math/bits/math-finite.h: New file.
44879 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44880 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44881 * math/e_acoshl.c: Add __*_finite alias.
44882 * math/e_acosl.c: Likewise.
44883 * math/e_asinl.c: Likewise.
44884 * math/e_atan2l.c: Likewise.
44885 * math/e_atanhl.c: Likewise.
44886 * math/e_coshl.c: Likewise.
44887 * math/e_exp10.c: Likewise.
44888 * math/e_exp10f.c: Likewise.
44889 * math/e_exp10l.c: Likewise.
44890 * math/e_exp2l.c: Likewise.
44891 * math/e_fmodl.c: Likewise.
44892 * math/e_gammal_r.c: Likewise.
44893 * math/e_hypotl.c: Likewise.
44894 * math/e_j0l.c: Likewise.
44895 * math/e_j1l.c: Likewise.
44896 * math/e_jnl.c: Likewise.
44897 * math/e_lgammal_r.c: Likewise.
44898 * math/e_log10l.c: Likewise.
44899 * math/e_log2l.c: Likewise.
44900 * math/e_logl.c: Likewise.
44901 * math/e_powl.c: Likewise.
44902 * math/e_sinhl.c: Likewise.
44903 * math/e_sqrtl.c: Likewise.
44904 * math/e_scalb.c: Completely rewritten and optimized.
44905 * math/e_scalbf.c: Likewise.
44906 * math/e_scalbl.c: Likewise.
44907 * math/w_acos.c: Likewise.
44908 * math/w_acosf.c: Likewise.
44909 * math/w_acosl.c: Likewise.
44910 * math/w_acosh.c: Likewise.
44911 * math/w_acoshf.c: Likewise.
44912 * math/w_acoshl.c: Likewise.
44913 * math/w_asin.c: Likewise.
44914 * math/w_asinf.c: Likewise.
44915 * math/w_asinl.c: Likewise.
44916 * math/w_atan2.c: Likewise.
44917 * math/w_atan2f.c: Likewise.
44918 * math/w_atan2l.c: Likewise.
44919 * math/w_atanh.c: Likewise.
44920 * math/w_atanhf.c: Likewise.
44921 * math/w_atanhl.c: Likewise.
44922 * math/w_exp10.c: Likewise.
44923 * math/w_exp10f.c: Likewise.
44924 * math/w_exp10l.c: Likewise.
44925 * math/w_fmod.c: Likewise.
44926 * math/w_fmodf.c: Likewise.
44927 * math/w_fmodl.c: Likewise.
44928 * math/w_j0.c: Likewise.
44929 * math/w_j0f.c: Likewise.
44930 * math/w_j0l.c: Likewise.
44931 * math/w_j1.c: Likewise.
44932 * math/w_j1f.c: Likewise.
44933 * math/w_j1l.c: Likewise.
44934 * math/w_jn.c: Likewise.
44935 * math/w_jnf.c: Likewise.
44936 * math/w_log.c: Likewise.
44937 * math/w_logf.c: Likewise.
44938 * math/w_logl.c: Likewise.
44939 * math/w_log10.c: Likewise.
44940 * math/w_log10f.c: Likewise.
44941 * math/w_log10l.c: Likewise.
44942 * math/w_log2.c: Likewise.
44943 * math/w_log2f.c: Likewise.
44944 * math/w_log2l.c: Likewise.
44945 * math/w_pow.c: Likewise.
44946 * math/w_powf.c: Likewise.
44947 * math/w_powl.c: Likewise.
44948 * math/w_remainder.c: Likewise.
44949 * math/w_remainderf.c: Likewise.
44950 * math/w_remainderl.c: Likewise.
44951 * math/w_scalb.c: Likewise.
44952 * math/w_scalbf.c: Likewise.
44953 * math/w_scalbl.c: Likewise.
44954 * math/w_sqrt.c: Likewise.
44955 * math/w_sqrtf.c: Likewise.
44956 * math/w_sqrtl.c: Likewise.
44957 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44958 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44960 * math/math_private.h: Declare __kernel_standard_f.
44961 * math/w_cosh.c: Remove cruft and optimize a bit.
44962 * math/w_coshf.c: Likewise.
44963 * math/w_coshl.c: Likewise.
44964 * math/w_exp2.c: Likewise.
44965 * math/w_exp2f.c: Likewise.
44966 * math/w_exp2l.c: Likewise.
44967 * math/w_hypot.c: Likewise.
44968 * math/w_hypotf.c: Likewise.
44969 * math/w_hypotl.c: Likewise.
44970 * math/w_lgamma.c: Likewise.
44971 * math/w_lgamma_r.c: Likewise.
44972 * math/w_lgammaf.c: Likewise.
44973 * math/w_lgammaf_r.c: Likewise.
44974 * math/w_lgammal.c: Likewise.
44975 * math/w_lgammal_r.c: Likewise.
44976 * math/w_sinh.c: Likewise.
44977 * math/w_sinhf.c: Likewise.
44978 * math/w_sinhl.c: Likewise.
44979 * math/w_tgamma.c: Likewise.
44980 * math/w_tgammaf.c: Likewise.
44981 * math/w_tgammal.c: Likewise.
44982 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44983 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44984 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44985 Minor optimizations. Pretty printing. Remove cruft.
44986 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44987 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44988 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44989 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44990 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44991 * sysdeps/i386/fpu/e_asin.S: Likewise.
44992 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44993 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44994 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44995 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44996 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44997 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44998 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44999 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45000 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45001 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45002 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45003 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45004 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45005 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45006 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45007 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45008 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45009 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45010 * sysdeps/i386/fpu/e_log.S: Likewise.
45011 * sysdeps/i386/fpu/e_log10.S: Likewise.
45012 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45013 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45014 * sysdeps/i386/fpu/e_log2.S: Likewise.
45015 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45016 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45017 * sysdeps/i386/fpu/e_logf.S: Likewise.
45018 * sysdeps/i386/fpu/e_logl.S: Likewise.
45019 * sysdeps/i386/fpu/e_pow.S: Likewise.
45020 * sysdeps/i386/fpu/e_powf.S: Likewise.
45021 * sysdeps/i386/fpu/e_powl.S: Likewise.
45022 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45023 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45024 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45025 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45026 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45027 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45028 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45029 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45030 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45031 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45032 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45033 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45034 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45035 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45036 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45037 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45038 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45039 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45040 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45041 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45042 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45043 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45044 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45045 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45046 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45047 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45048 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45049 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45050 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45051 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45052 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45053 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45054 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45055 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45056 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45057 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45058 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45059 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45060 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45061 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45062 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45063 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45064 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45065 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45066 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45067 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45068 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45069 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45070 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45071 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45072 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45073 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45074 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45075 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45076 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45077 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45078 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45079 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45080 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45081 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45082 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45083 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45084 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45085 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45086 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45087 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45088 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45089 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45090 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45091 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45092 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45093 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45094 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45095 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45096 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45097 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45098 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45099 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45100 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45101 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45102 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45103 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45104 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45105 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45106 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45107 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45108 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45109 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45110 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45111 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45112 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45113 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45114 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45115 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45116 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45117 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45118 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45119 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45120 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45121 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45122 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45123 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45124 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45125 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45126 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45127 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45128 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45129 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45130 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45131 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45132 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45133 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45134 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45135 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45136 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45137 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45138 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45139 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45140 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45141 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45142 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45143 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45144 (__isnanf): Likewise.
45145 (__isinf_ns): Likewise.
45146 (__isinf_nsf): Likewise.
45147 (__finite): Likewise.
45148 (__finitef): Likewise.
45149 (__ieee754_sqrt): Define as macro.
45150 (__ieee754_sqrtf): Define as macro.
45151 (__ieee754_sqrtl): Define as macro.
45152 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45154 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45155 __FINITE_MATH_ONLY__ consistent.
45156 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45158 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45160 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45163 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45165 2011-10-09 Ulrich Drepper <drepper@gmail.com>
45167 * po/ja.po: Update from translation team.
45169 2011-10-08 Roland McGrath <roland@hack.frob.com>
45171 * locale/programs/locarchive.c (prepare_address_space): New function.
45172 (create_archive, enlarge_archive, open_archive): Use it.
45174 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45175 inside [SHARED], where it is used.
45177 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45179 * nss/getent.c (netgroup_keys): Remove unused variable.
45180 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45182 2011-10-08 Ulrich Drepper <drepper@gmail.com>
45184 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45185 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45186 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45187 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45188 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45189 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45190 * math/Makefile (libm-calls): Add s_isinf_ns.
45191 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45192 * math/multc3.c: Likewise.
45193 * math/s_casin.c: Likewise.
45194 * math/s_casinf.c: Likewise.
45195 * math/s_casinl.c: Likewise.
45196 * math/s_ccos.c: Likewise.
45197 * math/s_ccosf.c: Likewise.
45198 * math/s_ccosl.c: Likewise.
45199 * math/s_ctan.c: Likewise.
45200 * math/s_ctanf.c: Likewise.
45201 * math/s_ctanh.c: Likewise.
45202 * math/s_ctanhf.c: Likewise.
45203 * math/s_ctanhl.c: Likewise.
45204 * math/s_ctanl.c: Likewise.
45205 * math/w_fmod.c: Likewise.
45206 * math/w_fmodf.c: Likewise.
45207 * math/w_fmodl.c: Likewise.
45208 * math/w_remainder.c: Likewise.
45209 * math/w_remainderf.c: Likewise.
45210 * math/w_remainderl.c: Likewise.
45211 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45212 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45213 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45214 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45215 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45216 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45217 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45218 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45220 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45222 * stdio-common/printf_fphex.c: Likewise.
45223 * stdio-common/printf_size.c: Likewise.
45225 * math/e_exp10.c: Include math_private.h using <...> not "...".
45226 * math/e_exp10f.c: Likewise.
45227 * math/e_exp10l.c: Likewise.
45228 * math/e_exp2l.c: Likewise.
45229 * math/e_j0l.c: Likewise.
45230 * math/e_j1l.c: Likewise.
45231 * math/e_jnl.c: Likewise.
45232 * math/e_lgammal_r.c: Likewise.
45233 * math/e_rem_pio2l.c: Likewise.
45234 * math/e_scalb.c: Likewise.
45235 * math/e_scalbf.c: Likewise.
45236 * math/e_scalbl.c: Likewise.
45237 * math/k_cosl.c: Likewise.
45238 * math/k_sinl.c: Likewise.
45239 * math/k_tanl.c: Likewise.
45240 * math/s_cacoshf.c: Likewise.
45241 * math/s_catan.c: Likewise.
45242 * math/s_catanf.c: Likewise.
45243 * math/s_catanh.c: Likewise.
45244 * math/s_catanhf.c: Likewise.
45245 * math/s_catanhl.c: Likewise.
45246 * math/s_catanl.c: Likewise.
45247 * math/s_ccosh.c: Likewise.
45248 * math/s_ccoshf.c: Likewise.
45249 * math/s_ccoshl.c: Likewise.
45250 * math/s_cexp.c: Likewise.
45251 * math/s_cexpf.c: Likewise.
45252 * math/s_cexpl.c: Likewise.
45253 * math/s_clog.c: Likewise.
45254 * math/s_clog10.c: Likewise.
45255 * math/s_clog10f.c: Likewise.
45256 * math/s_clog10l.c: Likewise.
45257 * math/s_clogf.c: Likewise.
45258 * math/s_clogl.c: Likewise.
45259 * math/s_csin.c: Likewise.
45260 * math/s_csinf.c: Likewise.
45261 * math/s_csinh.c: Likewise.
45262 * math/s_csinhf.c: Likewise.
45263 * math/s_csinhl.c: Likewise.
45264 * math/s_csinl.c: Likewise.
45265 * math/s_csqrt.c: Likewise.
45266 * math/s_csqrtf.c: Likewise.
45267 * math/s_csqrtl.c: Likewise.
45268 * math/s_ctan.c: Likewise.
45269 * math/s_ctanf.c: Likewise.
45270 * math/s_ctanh.c: Likewise.
45271 * math/s_ctanhf.c: Likewise.
45272 * math/s_ctanhl.c: Likewise.
45273 * math/s_ctanl.c: Likewise.
45274 * math/s_ldexp.c: Likewise.
45275 * math/s_ldexpf.c: Likewise.
45276 * math/s_ldexpl.c: Likewise.
45277 * math/s_significand.c: Likewise.
45278 * math/s_significandf.c: Likewise.
45279 * math/s_significandl.c: Likewise.
45280 * math/w_acos.c: Likewise.
45281 * math/w_acosf.c: Likewise.
45282 * math/w_acosh.c: Likewise.
45283 * math/w_acoshf.c: Likewise.
45284 * math/w_acoshl.c: Likewise.
45285 * math/w_acosl.c: Likewise.
45286 * math/w_asin.c: Likewise.
45287 * math/w_asinf.c: Likewise.
45288 * math/w_asinl.c: Likewise.
45289 * math/w_atan2.c: Likewise.
45290 * math/w_atan2f.c: Likewise.
45291 * math/w_atan2l.c: Likewise.
45292 * math/w_atanh.c: Likewise.
45293 * math/w_atanhf.c: Likewise.
45294 * math/w_atanhl.c: Likewise.
45295 * math/w_cosh.c: Likewise.
45296 * math/w_coshf.c: Likewise.
45297 * math/w_coshl.c: Likewise.
45298 * math/w_dremf.c: Likewise.
45299 * math/w_exp10.c: Likewise.
45300 * math/w_exp10f.c: Likewise.
45301 * math/w_exp10l.c: Likewise.
45302 * math/w_exp2.c: Likewise.
45303 * math/w_exp2f.c: Likewise.
45304 * math/w_fmod.c: Likewise.
45305 * math/w_fmodf.c: Likewise.
45306 * math/w_fmodl.c: Likewise.
45307 * math/w_hypot.c: Likewise.
45308 * math/w_hypotf.c: Likewise.
45309 * math/w_hypotl.c: Likewise.
45310 * math/w_j0.c: Likewise.
45311 * math/w_j0f.c: Likewise.
45312 * math/w_j0l.c: Likewise.
45313 * math/w_j1.c: Likewise.
45314 * math/w_j1f.c: Likewise.
45315 * math/w_j1l.c: Likewise.
45316 * math/w_jn.c: Likewise.
45317 * math/w_jnf.c: Likewise.
45318 * math/w_jnl.c: Likewise.
45319 * math/w_lgamma.c: Likewise.
45320 * math/w_lgamma_r.c: Likewise.
45321 * math/w_lgammaf.c: Likewise.
45322 * math/w_lgammaf_r.c: Likewise.
45323 * math/w_lgammal.c: Likewise.
45324 * math/w_lgammal_r.c: Likewise.
45325 * math/w_log.c: Likewise.
45326 * math/w_log10.c: Likewise.
45327 * math/w_log10f.c: Likewise.
45328 * math/w_log10l.c: Likewise.
45329 * math/w_log2.c: Likewise.
45330 * math/w_log2f.c: Likewise.
45331 * math/w_log2l.c: Likewise.
45332 * math/w_logf.c: Likewise.
45333 * math/w_logl.c: Likewise.
45334 * math/w_pow.c: Likewise.
45335 * math/w_powf.c: Likewise.
45336 * math/w_powl.c: Likewise.
45337 * math/w_remainder.c: Likewise.
45338 * math/w_remainderf.c: Likewise.
45339 * math/w_remainderl.c: Likewise.
45340 * math/w_scalb.c: Likewise.
45341 * math/w_scalbf.c: Likewise.
45342 * math/w_scalbl.c: Likewise.
45343 * math/w_sinh.c: Likewise.
45344 * math/w_sinhf.c: Likewise.
45345 * math/w_sinhl.c: Likewise.
45346 * math/w_sqrt.c: Likewise.
45347 * math/w_sqrtf.c: Likewise.
45348 * math/w_sqrtl.c: Likewise.
45349 * math/w_tgamma.c: Likewise.
45350 * math/w_tgammaf.c: Likewise.
45351 * math/w_tgammal.c: Likewise.
45353 * po/ja.po: Update from translation team.
45355 2011-09-29 Andreas Jaeger <aj@suse.de>
45358 * sunrpc/netname.c (netname2host): Fix logic.
45362 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45364 * math/w_remainder.c (__remainder): Likewise.
45365 * math/w_remainderf.c (__remainderf): Likewise.
45366 * math/libm-test.inc (remainder_test): Add test cases.
45368 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45370 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45373 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45375 * string/test-memcmp.c: Avoid unncessary #defines.
45376 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45378 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45380 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45381 Use new sse2 version for core i3 - i7 as it's faster
45382 than sse42 version.
45383 (bit_Prefer_PMINUB_for_stringop): New.
45384 * sysdeps/x86_64/rawmemchr.S: Update.
45385 Replace with faster SSE2 version.
45386 * sysdeps/x86_64/memrchr.S: New file.
45387 * sysdeps/x86_64/memchr.S: Update.
45388 Replace with faster SSE2 version.
45390 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45392 * elf/dl-load.c (lose): Add cast to avoid warning.
45394 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45396 * po/ca.po: Update from translation team.
45398 * inet/getnetgrent_r.c: Hook up nscd.
45399 * nscd/Makefile (routines): Add nscd_netgroup.
45400 (nscd-modules): Add netgroupcache.
45401 (CFLAGS-netgroupcache.c): Define.
45402 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45403 (cache_search): Add const to second parameter.
45404 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45406 (dbs): Add netgrdb entry.
45407 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45408 (verify_persistent_db): Handle netgrdb.
45409 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45410 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45412 (netgroup_response_header): Define.
45413 (innetgroup_response_header): Define.
45414 (datahead): Add netgroup_response_header and innetgroup_response_header
45416 * nscd/nscd.conf: Add entries for netgroup cache.
45417 * nscd/nscd.h (dbtype): Add netgrdb.
45418 (_PATH_NSCD_NETGROUP_DB): Define.
45419 (netgroup_iov_disabled): Declare.
45420 (xmalloc, xcalloc, xrealloc): Move declarations here.
45421 (cache_search): Adjust prototype.
45422 Add netgroup-related prototypes.
45423 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45424 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45425 (__nscd_innetgr): Declare.
45426 * nscd/selinux.c (perms): Use access_vector_t as element type and
45427 add netgroup-related initializers.
45428 * nscd/netgroupcache.c: New file.
45429 * nscd/nscd_netgroup.c: New file.
45430 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45431 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45432 For four parameters use innetgr.
45433 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45434 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45435 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45436 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45438 * nscd/connections.c (register_traced_file): Don't register file
45439 for disabled databases.
45441 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45443 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45445 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45446 from tree and freeing node.
45448 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45450 * nss/nsswitch.c (__nss_database_lookup): Handle
45451 nss_parse_service_list out of memory case.
45453 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45455 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45456 out of memory case.
45458 2011-10-04 Andreas Schwab <schwab@redhat.com>
45460 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45461 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45463 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45464 elf_machine_rela, elf_machine_lazy_rel.
45465 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45466 (ELF_DYNAMIC_DO_REL): Likewise.
45467 (ELF_DYNAMIC_DO_RELA): Likewise.
45468 (ELF_DYNAMIC_RELOCATE): Likewise.
45469 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45470 to ELF_DYNAMIC_DO_REL.
45471 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45472 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45473 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45475 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45476 skip_ifunc, don't call ifunc function if non-zero.
45477 (elf_machine_rela): Likewise.
45478 (elf_machine_lazy_rel): Likewise.
45479 (elf_machine_lazy_rela): Likewise.
45480 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45481 (elf_machine_lazy_rel): Likewise.
45482 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45484 (elf_machine_lazy_rel): Likewise.
45485 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45487 (elf_machine_lazy_rel): Likewise.
45488 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45489 (elf_machine_lazy_rel): Likewise.
45490 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45491 (elf_machine_lazy_rel): Likewise.
45492 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45493 (elf_machine_lazy_rel): Likewise.
45494 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45495 (elf_machine_lazy_rel): Likewise.
45496 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45497 (elf_machine_lazy_rel): Likewise.
45498 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45499 (elf_machine_lazy_rel): Likewise.
45501 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45503 * nss/nss_files/files-init.c (_nss_files_init): Use static
45504 initialization for all the *_traced_file variables.
45506 2011-09-28 Andreas Schwab <schwab@redhat.com>
45508 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45510 2011-09-27 Roland McGrath <roland@hack.frob.com>
45513 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45515 2011-09-27 Andreas Schwab <schwab@redhat.com>
45517 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45518 Reread the line before reparsing it.
45520 2011-09-26 Andreas Schwab <schwab@redhat.com>
45522 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45524 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45525 Maxim Kuvyrkov <maxim@codesourcery.com>
45526 Joseph Myers <joseph@codesourcery.com>
45528 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45529 if needed for __stack_chk_guard.
45531 2011-09-19 Roland McGrath <roland@hack.frob.com>
45533 * sysdeps/posix/spawni.c (script_execute): Always define it.
45534 It will be optimized away if unused.
45535 (maybe_script_execute): New function.
45536 (__spawni): Call it.
45538 * Makerules: Don't include tls.make.
45539 (config-tls): Always set to thread.
45540 * tls.make.c: File removed.
45542 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45544 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45545 * config.make.in (CPPFLAGS-config): New substituted variable.
45547 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45549 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45552 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45553 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45555 2011-09-15 Roland McGrath <roland@hack.frob.com>
45557 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45558 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45559 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45560 (CALL_FAIL): Likewise.
45561 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45562 (CALL_FAIL): Macro removed.
45563 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45565 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45567 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45568 for __FINITE_MATH_ONLY__ == 1.
45570 2011-09-15 Andreas Schwab <schwab@redhat.com>
45572 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45573 __ieee754_sqrt instead of sqrt.
45574 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45575 __ieee754_sqrtf instead of sqrtf.
45576 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45577 __floorf instead of floorf.
45578 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45579 __floorf, __truncf instead of floorf, truncf.
45581 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45583 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45585 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45586 __extern_always_inline.
45587 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45590 2011-09-14 Andreas Schwab <schwab@redhat.com>
45592 * elf/rtld.c (dl_main): Also relocate in dependency order when
45593 doing symbol dependency testing.
45595 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45597 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45598 Always define `refsym'.
45600 2011-09-13 Andreas Schwab <schwab@redhat.com>
45602 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45603 (__FD_ELT): Renamed from __FDELT.
45604 * misc/bits/select2.h (__FD_ELT): Likewise.
45605 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45606 __FD_MASK instead of __FDELT, __FDMASK.
45607 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45609 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45612 * elf/Makefile (gen-ldd): Fix pattern.
45614 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45615 (init_tls): Likewise.
45617 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45619 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45621 2011-09-12 Andreas Schwab <schwab@redhat.com>
45623 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45624 `struct cmsghdr *' instead of `void *'.
45625 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45628 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45630 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45632 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45633 ldd_rewrite_script.
45635 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45637 * configure.in: Remove --with-tls option.
45638 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45639 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45640 out in case it is missing.
45641 * sysdeps/ia64/elf/configure.in: Likewise.
45642 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45643 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45644 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45645 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45646 * sysdeps/sh/elf/configure.in: Likewise.
45647 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45648 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45649 * sysdeps/x86_64/elf/configure.in: Likewise.
45650 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45651 * sysdeps/mach/hurd/tls.h: Likewise.
45654 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45657 * configure.in: Fix use of AC_INIT.
45659 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45661 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45663 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45665 * malloc/hooks.c: Likewise.
45668 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45669 variables statically.
45670 (narenas): Initialize.
45671 (list_lock): Initialize.
45672 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45673 initializtion of main_arena and list_lock. Small cleanups.
45674 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45675 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45676 Add initializers to main_arena and mp_.
45677 (malloc_state): Remove pagesize member. Change all users to use
45680 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45681 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45682 is always initialized.
45684 * malloc/malloc.c: Removed unused configurations and dead code.
45685 * malloc/arena.c: Likewise.
45686 * malloc/hooks.c: Likewise.
45687 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45689 * include/tls.h: Removed. USE___THREAD must always be defined.
45690 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45691 * elf/dl-libc.c: Likewise.
45692 * elf/dl-tsd.c: Likewise.
45693 * include/errno.h: Likewise.
45694 * include/netdb.h: Likewise.
45695 * include/resolv.h: Likewise.
45696 * inet/herrno-loc.c: Likewise.
45697 * inet/herrno.c: Likewise.
45698 * malloc/arena.c: Likewise.
45699 * malloc/hooks.c: Likewise.
45700 * malloc/malloc.c: Likewise.
45701 * resolv/res-state.c: Likewise.
45702 * resolv/res_libc.c: Likewise.
45703 * sysdeps/i386/dl-machine.h: Likewise.
45704 * sysdeps/ia64/dl-machine.h: Likewise.
45705 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45706 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45707 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45708 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45709 * sysdeps/sh/dl-machine.h: Likewise.
45710 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45711 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45712 * sysdeps/unix/i386/sysdep.S: Likewise.
45713 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45714 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45715 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45716 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45717 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45718 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45719 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45720 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45721 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45722 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45723 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45724 * sysdeps/x86_64/dl-machine.h: Likewise.
45725 * tls.make.c: Likewise.
45727 * configure.in: Remove --with-__thread option. Make tests for
45728 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45729 tls_model attribute fail if no support is available. Remove
45731 * Makeconfig: Adjust for dropped configure option. All features are
45733 * Makerules: Likewise.
45734 * Versions.def: Likewise.
45735 * argp/argp-fmtstream.c: Likewise.
45736 * argp/argp-fmtstream.h: Likewise.
45737 * argp/argp-help.c: Likewise.
45738 * assert/assert.c: Likewise.
45739 * config.h.in: Likewise.
45740 * config.make.in: Likewise.
45741 * configure: Likewise.
45742 * configure.in: Likewise.
45743 * csu/Versions: Likewise.
45744 * csu/init.c: Likewise.
45745 * elf/tst-audit2.c: Likewise.
45746 * elf/tst-tls10.c: Likewise.
45747 * elf/tst-tls10.h: Likewise.
45748 * elf/tst-tls11.c: Likewise.
45749 * elf/tst-tls12.c: Likewise.
45750 * elf/tst-tls14.c: Likewise.
45751 * elf/tst-tlsmod11.c: Likewise.
45752 * elf/tst-tlsmod12.c: Likewise.
45753 * elf/tst-tlsmod13.c: Likewise.
45754 * elf/tst-tlsmod13a.c: Likewise.
45755 * elf/tst-tlsmod14a.c: Likewise.
45756 * elf/tst-tlsmod15b.c: Likewise.
45757 * elf/tst-tlsmod16a.c: Likewise.
45758 * elf/tst-tlsmod16b.c: Likewise.
45759 * elf/tst-tlsmod7.c: Likewise.
45760 * elf/tst-tlsmod8.c: Likewise.
45761 * elf/tst-tlsmod9.c: Likewise.
45762 * gmon/gmon.c: Likewise.
45763 * grp/fgetgrent_r.c: Likewise.
45764 * grp/putgrent.c: Likewise.
45765 * hurd/fopenport.c: Likewise.
45766 * include/libc-symbols.h: Likewise.
45767 * include/tls.h: Likewise.
45768 * intl/gettextP.h: Likewise.
45769 * intl/loadinfo.h: Likewise.
45770 * locale/global-locale.c: Likewise.
45771 * locale/localeinfo.h: Likewise.
45772 * mach/devstream.c: Likewise.
45773 * malloc/arena.c: Likewise.
45774 * malloc/set-freeres.c: Likewise.
45775 * misc/err.c: Likewise.
45776 * misc/getttyent.c: Likewise.
45777 * misc/mntent_r.c: Likewise.
45778 * posix/getopt.c: Likewise.
45779 * posix/wordexp.c: Likewise.
45780 * pwd/fgetpwent_r.c: Likewise.
45781 * resolv/Versions: Likewise.
45782 * resolv/res_hconf.c: Likewise.
45783 * shadow/fgetspent_r.c: Likewise.
45784 * shadow/putspent.c: Likewise.
45785 * stdio-common/printf_fphex.c: Likewise.
45786 * stdio-common/tmpfile.c: Likewise.
45787 * stdlib/abort.c: Likewise.
45788 * stdlib/fmtmsg.c: Likewise.
45789 * sunrpc/auth_unix.c: Likewise.
45790 * sunrpc/clnt_perr.c: Likewise.
45791 * sunrpc/clnt_tcp.c: Likewise.
45792 * sunrpc/clnt_udp.c: Likewise.
45793 * sunrpc/clnt_unix.c: Likewise.
45794 * sunrpc/openchild.c: Likewise.
45795 * sunrpc/svc_simple.c: Likewise.
45796 * sunrpc/svc_tcp.c: Likewise.
45797 * sunrpc/svc_udp.c: Likewise.
45798 * sunrpc/svc_unix.c: Likewise.
45799 * sunrpc/xdr.c: Likewise.
45800 * sunrpc/xdr_array.c: Likewise.
45801 * sunrpc/xdr_rec.c: Likewise.
45802 * sunrpc/xdr_ref.c: Likewise.
45803 * sunrpc/xdr_stdio.c: Likewise.
45805 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45807 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45809 2011-07-03 Andreas Jaeger <aj@suse.de>
45811 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45812 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45813 regenerate with gen-libm-tests.pl.
45815 2010-05-12 Petr Baudis <pasky@suse.cz>
45818 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45819 around j0() zero points by switching to j1().
45820 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45821 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45822 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45823 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45825 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45827 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45829 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45831 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45832 Patch in part by Pavel Roskin <proski@gnu.org>.
45835 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45837 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45838 Free memory block if necessary.
45841 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45842 be NULL. Don't lock in this case.
45844 2011-09-09 Roland McGrath <roland@hack.frob.com>
45846 * elf/elf.h (ELFOSABI_GNU): New macro.
45847 (ELFOSABI_LINUX): Define to that.
45849 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45851 * string/strncat.c (strncat): Undef the symbol in case it has been
45852 defined in bits/string.h.
45854 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45856 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45858 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45861 2011-08-17 Andreas Jaeger <aj@suse.de>
45863 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45865 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45866 Ian Lance Taylor <iant@google.com>
45868 * math/libm-test.inc (lround_test): New testcase.
45869 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45871 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45873 * Makefile: Remove support for automatic cvs check-ins.
45874 * Makerules: Likewise.
45875 * config.make.in: Likewise.
45876 * configure.in: Likewise.
45877 * intl/Makefile: Likewise.
45878 * locale/Makefile: Likewise.
45879 * po/Makefile: Likewise.
45880 * posix/Makefile: Likewise.
45881 * sysdeps/gnu/Makefile: Likewise.
45882 * sysdeps/mach/hurd/Makefile: Likewise.
45883 * sysdeps/sparc/sparc32/Makefile: Likewise.
45886 * posix/Makefile (bug-regex32-ENV): Define.
45887 Patch by John Stanley <jpsinthemix@verizon.net>.
45889 * misc/Makefile (headers): Add bits/select2.h.
45890 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45891 * misc/bits/select2.h: New file.
45892 * include/bits/select2.h: New file.
45893 * debug/Makefile (routines): Add fdelt_chk.
45894 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45895 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45897 * debug/fdelt_chk.c: New file.
45899 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45900 * wcsmbs/test-wmemcmp.c: Likewise.
45901 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45902 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45904 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45906 * string/Makefile (strop-tests): Add memcmp.
45907 * string/test-wmemcmp.c: New file.
45908 * string/test-memcmp.c: Add wmemcmp support.
45910 2011-09-08 Roland McGrath <roland@hack.frob.com>
45913 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45916 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45917 garbage value in a __mach_port_mod_refs call in the cases of the
45918 task-self and thread-self ports.
45920 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45922 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45924 2011-09-08 Andreas Schwab <schwab@redhat.com>
45926 * elf/dl-load.c (lose): Check for non-null L.
45928 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45930 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45932 * elf/dl-libc.c (dlerror_run): Pass back error code from
45936 * elf/dl-load.c (lose): Free l_origin if it is valid.
45938 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45940 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45941 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45942 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45943 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45944 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45945 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45947 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45949 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45950 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45951 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45952 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45953 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45954 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45955 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45956 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45957 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45958 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45960 2011-08-15 Alan Modra <amodra@gmail.com>
45963 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45964 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45965 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45966 ppc_mcount to static-only-routines.
45967 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45969 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45970 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45972 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45974 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45975 for finite and infinity parameters.
45977 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45979 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45980 and add nop instructions for throughput optimization.
45981 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45983 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45985 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45986 aligned copy for power7 with vector-scalar instructions.
45987 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45989 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45991 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45994 2011-09-07 Andreas Schwab <schwab@redhat.com>
45997 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46000 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46002 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46003 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46004 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46005 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46008 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46010 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46011 Forgot to demangle the pointer.
46013 * sysdeps/i386/sysdep.h: Define atom_text_section.
46014 * sysdeps/x86_64/sysdep.h: Likewise.
46015 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46016 section with atom_text_section.
46017 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46018 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46019 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46020 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46021 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46023 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46024 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46025 already be defined. Change to take two parameters and don't assign
46026 result to variable. Adjust all users.
46027 Define INTERNAL_GETTIME if not already defined.
46028 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46030 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46031 HAVE_CLOCK_GETTIME_VSYSCALL.
46032 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46034 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46035 gettimeofday vsyscall, just use time.
46037 2011-09-06 Andreas Schwab <schwab@redhat.com>
46039 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46042 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46044 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46046 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46048 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46049 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46050 syscall if possible.
46052 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46054 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46055 e_ident. Don't pass to find_mapsXX.
46056 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46058 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46061 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46062 * sysdeps/x86_64/multiarch/strchr.S: Update.
46063 Check bit_slow_BSF bit.
46064 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46065 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46066 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46068 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46071 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46073 (tryshell): Define.
46074 (__spawni): Change last parameter to be flag. Test
46075 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46076 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46077 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46078 * posix/spawni.c: Likewise.
46079 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46080 * posix/spawnp.c: Likewise. Change normal version to use
46081 SPAWN_XFLAGS_USE_PATH.
46082 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46083 SPAWN_XFLAGS_TRY_SHELL.
46086 * posix/glob.h: Remove gcc 1.x support.
46089 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46091 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46093 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46094 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46096 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46097 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46098 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46099 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46100 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46101 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46103 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46105 * sysdeps/x86_64/wcscmp.S: New file.
46107 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46108 wcscmp-c wcscmp-sse2
46109 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46110 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46111 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46112 * wcsmbs/wcscmp.c: Allow renaming.
46114 2011-09-05 David S. Miller <davem@davemloft.net>
46116 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46117 stack slot, rather than the struct return pointer slot.
46118 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46119 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46121 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46123 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46125 * po/ja.po: Update from translation team.
46128 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46129 kernel in 64-bit binaries.
46131 2011-09-01 David S. Miller <davem@davemloft.net>
46133 * elf/elf.h (HWCAP_SPARC_*): Move to..
46134 * sysdeps/sparc/sysdep.h: this new file and add new values.
46135 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46136 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46137 _DL_HWCAP_COUNT to 24.
46138 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46140 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46141 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46142 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46143 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46144 instead of magic constants.
46145 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46147 2011-08-31 David S. Miller <davem@davemloft.net>
46149 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46150 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46151 Reimplement to do errno handling inline.
46152 (SYSCALL_ERROR_HANDLER): New macro.
46153 (__SYSCALL_STRING): Do not do errno handling in asm.
46154 (__CLONE_SYSCALL_STRING): Delete.
46155 (__INTERNAL_SYSCALL_STRING): Delete.
46156 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46157 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46158 (PSEUDO): Reimplement to do errno handling inline.
46159 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46160 (SYSCALL_ERROR_HANDLER): New macro.
46161 (__SYSCALL_STRING): Do not do errno handling in asm.
46162 (__CLONE_SYSCALL_STRING): Delete.
46163 (__INTERNAL_SYSCALL_STRING): Delete.
46164 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46165 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46167 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46168 (inline_syscall*): Add 'err' argument.
46169 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46170 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46171 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46172 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46174 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46175 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46177 2011-08-30 Andreas Schwab <schwab@redhat.com>
46179 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46181 2011-08-29 Jiri Olsa <jolsa@redhat.com>
46183 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46186 2011-08-24 David S. Miller <davem@davemloft.net>
46188 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46190 2011-08-24 Andreas Schwab <schwab@redhat.com>
46192 * elf/Makefile: Add rules to build and run unload8 test.
46193 * elf/unload8.c: New file.
46194 * elf/unload8mod1.c: New file.
46195 * elf/unload8mod1x.c: New file.
46196 * elf/unload8mod2.c: New file.
46197 * elf/unload8mod3.c: New file.
46199 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46202 2011-08-23 David S. Miller <davem@davemloft.net>
46204 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46205 subtract stack bias.
46206 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46207 %sp not %fp in calculations.
46208 (_JMPBUF_UNWINDS_ADJ): Likewise.
46210 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46211 (aio_suspend): Call it to force an exception region around the
46212 AIO_MISC_WAIT() invocation.
46214 2011-08-23 Andreas Schwab <schwab@redhat.com>
46216 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46219 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46221 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46223 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46224 and <dl-machine.h>.
46225 (Elf64_FuncDesc): Remove.
46227 2011-08-22 David S. Miller <davem@davemloft.net>
46229 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46230 sigaltstack check, add missing cfi directives.
46231 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46232 missing cfi directives, and sigaltstack handling.
46234 2011-08-16 Andreas Schwab <schwab@redhat.com>
46237 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46238 object is seen twice.
46239 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46241 * elf/Makefile (distribute): Add tst-initorder2.c.
46242 (tests): Add tst-initorder2.
46243 (modules-names): Add tst-initorder2a tst-initorder2b
46244 tst-initorder2c tst-initorder2d. Add rules to build them.
46245 ($(objpfx)tst-initorder2.out): New rule.
46246 * elf/tst-initorder2.c: New file.
46247 * elf/tst-initorder2.exp: New file.
46249 2011-08-22 Andreas Schwab <schwab@redhat.com>
46251 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46253 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46254 dependencies back to end of function.
46256 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46257 $(elfobjdir)/ld.so.
46259 2011-08-21 Ulrich Drepper <drepper@gmail.com>
46261 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46262 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46263 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46264 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46265 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46266 of __vdso_gettimeofday.
46267 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46268 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46270 (_libc_vdso_platform_setup): Remove initialization of
46271 __vdso_gettimeofday and __vdso_time.
46273 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46275 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46276 and fgetc_unlocked.
46277 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46280 * elf/dl-open.c (add_to_global): Report additions to the global scope
46281 for LD_DEBUG=scopes.
46282 (dl_open_worker): Also print scope of newly loaded dependencies.
46283 (_dl_show_scope): Indicate if there is no scope.
46286 * stdio-common/Makefile (tests): Add bug24.
46287 * stdio-common/bug24.c: New file.
46289 2011-08-19 Andreas Jaeger <aj@suse.de>
46292 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46293 non-existant file when using close-on-exec mode.
46295 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46297 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46298 the very first instruction.
46300 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46301 the CFI state in the end.
46302 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46303 inclusion of dl-trampoline.h.
46304 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46306 2011-08-19 Andreas Schwab <schwab@redhat.com>
46308 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46309 expectations for long double.
46311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46312 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46314 2011-08-14 David S. Miller <davem@davemloft.net>
46316 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46317 artificual limit depends upon the system page size.
46319 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46321 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46322 * resolv/Makefile: Define CFLAGS-libresolv.
46324 2011-08-17 Andreas Schwab <schwab@redhat.com>
46326 * nss/makedb.c (compute_tables): Make variables used in nested
46329 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46331 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46332 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46333 if buffer was too small.
46335 * elf/pldd.c (main): Attach to all threads in the process.
46336 Rewrite /proc handling to use *at functions.
46338 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46340 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46341 specifies first scope to show.
46342 (dl_open_worker): Update callers. Move printing scope of new
46343 object to before the relocation.
46344 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46345 * sysdeps/generic/ldsodefs.h: Update declaration.
46347 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46348 string for the scope number.
46350 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46352 * nscd/servicescache.c (cache_addserv): Make sure written is always
46355 2011-08-14 Roland McGrath <roland@hack.frob.com>
46357 * sysdeps/i386/i486/bits/atomic.h
46358 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46359 statement expression, so as to suppress "set but not used" warning.
46360 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46362 * string/strncat.c (STRNCAT): Use prototype definition.
46364 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46365 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46367 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46368 (localedef-modules): Add localedef.
46369 (locale-modules): Add locale.
46371 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46372 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46373 to avoid a warning.
46375 2011-08-14 David S. Miller <davem@davemloft.net>
46377 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46378 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46380 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46382 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46383 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46384 * elf/rtld.c (dl_main): Set l_name of vDSO.
46385 Call _dl_show_scope when DL_DEBUG_SCOPES.
46386 (process_dl_debug): Recognize scopes flag and also set it for all.
46387 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46388 Declare _dl_show_scope.
46390 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46391 (do_dlopen): Pass caller_dlopen to dl_open.
46392 (__libc_dlopen_mode): Initialize caller_dlopen.
46394 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46395 of libc. Make tolower call locale-independent. Optimize a bit by
46396 using isdigit instead of isalnum.
46397 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46399 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46401 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46402 was a dependency or dynamically loaded.
46404 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46406 * intl/l10nflist.c: Allow architecture-specific pop function.
46407 * sysdeps/x86_64/l10nflist.c: New file.
46409 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46412 2011-08-10 Andreas Schwab <schwab@redhat.com>
46414 * include/dirent.h: Add libc_hidden_proto for scandirat and
46415 scandirat64. Don't declare __scandirat64.
46416 * dirent/scandirat.c: Add libc_hidden_def.
46417 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46418 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46420 2011-08-10 David S. Miller <davem@davemloft.net>
46422 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46424 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46425 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46426 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46428 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46430 * Versions.def [libc]: Add GLIBC_2.15.
46431 * dirent/Makefile (routines): Add scandirat and scandirat64.
46432 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46434 * dirent/dirent.h: Declare scandirat and scandirat64.
46435 * dirent/scandirat.c: New file.
46436 * dirent/scandirat64.c: New file.
46437 * sysdeps/wordsize-64/scandirat.c: New file.
46438 * sysdeps/wordsize-64/scandirat64.c: New file.
46439 * dirent/opendir.c: Define opendirat.
46440 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46442 * dirent/scandir64.c: Adjust for scandir.c change.
46443 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46444 __scandirat64, and __scandir_cancel_handler.
46445 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46446 additional parameter and use openat instead of open (outside of ld.so).
46447 Add new __opendir as wrapper around __opendirat.
46448 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46449 here without requiring old scandirat implementation.
46451 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46453 * dirent/scandir.c (cancel_handler): Renamed to
46454 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46455 defined. Adjust users.
46456 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46457 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46459 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46461 * string/test-string.h (IMPL): Use __STRING to expand name and then
46464 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46467 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46469 * string/Makefile: Update.
46470 (strop-tests): Append strncat.
46471 * string/test-wcscmp.c: New file.
46472 New comprehensive test for wcscmp.
46473 * string/test-strcmp.c: Update.
46474 (WIDE): New define.
46476 2011-07-22 Andreas Schwab <schwab@redhat.com>
46478 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46481 2011-07-26 Andreas Schwab <schwab@redhat.com>
46483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46484 encoding to ACE if AI_IDN.
46486 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46488 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46489 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46491 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46493 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46494 Fix overflow bug in strncat.
46495 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46497 * string/test-strncat.c: Update.
46498 Add new tests for checking overflow bugs.
46500 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46502 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46503 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46504 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46505 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46506 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46507 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46508 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46509 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46510 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46512 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46513 (USE_AS_STRCAT): Define.
46514 Add strcat and strncat support.
46515 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46517 2011-07-25 Andreas Schwab <schwab@redhat.com>
46519 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46520 __n bigger than INT_MAX+1.
46521 (__strncmp_g): Likewise.
46523 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46525 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46526 * libio/stido.h: Likewise.
46528 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46530 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46533 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46534 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46535 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46536 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46537 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46540 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46543 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46545 (_dl_x86_64_save_sse): Likewise.
46547 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46549 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46551 (_dl_x86_64_save_sse): Likewise.
46553 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46555 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46557 2011-07-21 Andreas Schwab <schwab@redhat.com>
46559 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46561 (_dl_x86_64_save_sse): Use correct AVX check.
46563 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46565 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46566 bug in strncpy/strncat.
46567 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46569 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46571 * string/tester.c (test_strcat): Add tests for different alignments
46572 of source and destination.
46573 (test_strncat): Likewise.
46575 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46578 * posix/glob.c (glob): Check passed in values before using them in
46579 expressions to avoid some overflows.
46580 (glob_in_dir): Likewise.
46583 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46584 check for AVX enablement so that we don't crash with old kernels and
46586 * elf/tst-audit4.c: Add same checks here.
46587 * elf/tst-audit6.c: Likewise.
46589 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46591 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46593 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46595 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46597 * po/cs.po: Update from translation team.
46598 * po/bg.po: Likewise.
46600 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46602 * misc/sys/cdefs.h: Add support for const attribute.
46603 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46604 to gnu_dev_{major,minor,makedev} functions.
46606 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46608 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46610 2011-07-20 Andreas Schwab <schwab@redhat.com>
46612 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46615 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46617 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46618 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46619 register in order to avoid conflicts with the soft frame pointer
46620 being held in r11 when necessary.
46621 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46622 (INTERNAL_VSYSCALL_NCS): Likewise.
46624 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46626 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46627 * elf/dl-fini.c (_dl_fini): Adjust caller.
46628 * elf/dl-close.c (_dl_close_worker): Likewise.
46629 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46631 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46633 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46634 "aux_cache->nlibs < 0".
46636 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46637 in the reload-count case.
46639 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46642 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46643 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46644 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46645 * sysdeps/x86_64/multiarch/strcat.S: New file.
46646 * sysdeps/x86_64/multiarch/strncat.S: New file.
46647 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46648 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46649 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46650 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46651 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46652 (USE_AS_STRCAT): Define.
46653 Add strcat and strncat support.
46654 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46655 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46656 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46657 * string/strncat.c: Update.
46658 (USE_AS_STRNCAT): Define.
46659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46660 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46662 * sysdeps/x86_64/multiarch/init-arch.h
46663 (bit_Prefer_PMINUB_for_stringop): New.
46664 (index_Prefer_PMINUB_for_stringop): Likewise.
46665 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46666 bit_Prefer_PMINUB_for_stringop.
46668 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46670 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46672 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46673 of casting of buffer.
46674 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46675 buffer32 and buffer64.
46676 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46677 writes instead of casting of buffer.
46678 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46680 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46683 2011-07-19 Andreas Schwab <schwab@redhat.com>
46685 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46687 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46689 * nscd/nscd.c (termination_handler): Don't do anything for a database
46690 if it has not yet been initialized.
46692 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46694 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46696 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46698 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46700 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46702 * po/nl.po: Update from translation team.
46703 * po/sv.po: Likewise.
46705 2011-07-16 Roland McGrath <roland@hack.frob.com>
46707 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46708 now disallowed by GCC.
46710 * configure.in (use-default-link): Default to yes if a test -shared
46711 link meets our qualifications.
46712 * configure: Regenerated.
46714 * config.make.in (output-format): New variable.
46715 * configure.in: Check for ld --print-output-format support.
46716 * configure: Regenerated.
46717 * Makerules ($(common-objpfx)format.lds)
46718 [$(output-format) != unknown]: Just use $(output-format),
46719 instead of the linker-script munging.
46721 2011-07-14 Roland McGrath <roland@hack.frob.com>
46723 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46724 of $(common-objpfx)shlib.lds.
46725 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46727 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46728 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46730 * configure.in (-z relro check): Adjust test code to add a large
46731 writable data section after it.
46732 * configure: Regenerated.
46734 2011-07-11 Roland McGrath <roland@hack.frob.com>
46736 * configure.in (-z relro check): Fix test code to make the variable
46738 * configure: Regenerated.
46740 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46742 * nscd/nscd.h (struct traced_file): Define.
46743 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46744 elements. Add traced_files.
46745 (inotify_fd): Declare.
46746 (register_traced_file): Declare.
46747 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46748 (inotify_fd): Export.
46749 (resolv_conf_descr): Remove.
46750 (nscd_init): Move inotify descriptor creation to main.
46751 Don't register files for notification here.
46752 (register_traced_file): New function.
46753 (invalidate_cache): Don't use reset_res to determine whether to call
46754 res_init, go through the list of registered files.
46755 (main_loop_poll): The inotify descriptors are now stored in the
46756 structures for the traced files.
46757 (main_loop_epoll): Likewise
46758 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46759 to __nss_disable_nscd.
46760 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46761 for a database anymore. Check the records for all the registered
46763 * nss/Makefile (libnss_files-routines): Add files-init.
46764 (libnss_db-routines): Add db-init.
46765 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46766 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46767 * nss/nss_db/db-init.c: New file.
46768 * nss/nss_files/files-init.c: New file.
46769 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46770 __nss_lookup_function.
46771 (__nss_lookup_function): Call nss_load_library.
46772 (nss_load_all_libraries): New function.
46773 (__nss_disable_nscd): Take parameter with callback function for files
46774 to register. Set is_nscd. Load all the DSOs for the NSS modules
46775 used for the cached services.
46776 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46777 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46778 options for features to all the files in nscd.
46780 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46782 2011-07-10 Roland McGrath <roland@hack.frob.com>
46784 * csu/elf-init.c (__libc_csu_init): Comment typo.
46786 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46788 * po/pl.po: Update from translation team.
46789 * po/ja.po: Likewise.
46790 * po/ru.po: Likewise.
46791 * po/ko.po: Likewise.
46792 * po/fr.po: Likewise.
46794 2011-07-09 Roland McGrath <roland@hack.frob.com>
46796 * configure.in (.ctors/.dtors header and trailer check):
46797 Use an empirical test on a built program.
46798 * configure: Regenerated.
46800 * configure.in (-z relro check): Use an empirical test on a built DSO.
46801 Detect, but do not require, on ia64.
46802 * configure: Regenerated.
46804 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46805 Update tests that use readelf to use $READELF instead.
46806 * configure: Regenerated.
46808 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46810 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46811 if the result is not used.
46813 2011-07-05 Andreas Jaeger <aj@suse.de>
46816 * stdlib/tst-strtod.c: Add testcase.
46818 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46820 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46821 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46822 The latter has a higher limit. Take additional parameter to pass to
46824 (__pathconf): Pass file to __statfs_link_max.
46825 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46827 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46831 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46832 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46834 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46835 (__statfs_filesize_max): Likewise.
46836 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46838 2011-07-05 Andreas Jaeger <aj@suse.de>
46840 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46842 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46844 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46846 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46849 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46851 * Makefile (strop-tests): Add strncat.
46852 * string/test-strncat.c: New file.
46854 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46856 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46858 2011-06-21 Andreas Jaeger <aj@suse.de>
46860 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46861 Copy rule from iconvdata/Makefile.
46863 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46866 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46867 but no long options are defined, just return 'W'.
46869 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46872 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46874 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46876 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46878 (innetgr): Likewise.
46880 2011-07-05 Roland McGrath <roland@hack.frob.com>
46882 * config.make.in (install_root): Default to $(DESTDIR).
46884 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46886 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46888 2011-07-02 Roland McGrath <roland@hack.frob.com>
46890 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46892 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46893 containing directory rather than embedding absolute directory names.
46895 * scripts/check-local-headers.sh: Rewritten using awk.
46896 Match by word, not by line. Print error messages for matches.
46897 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46899 * Makerules [shlib-lds-flags empty]:
46900 ($(common-objpfx)libc_pic.opts): New target.
46901 ($(common-objpfx)libc_pic.os.clean): New target.
46902 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46904 * config.make.in (OBJCOPY): New variable.
46905 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46906 * configure: Regenerated.
46908 * config.make.in (use-default-link): New variable.
46909 * configure.in (use_default_link): Grok --with-default-link to set it.
46910 * configure: Regenerated.
46911 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46912 (shlib-lds, shlib-lds-flags): Define to empty.
46914 * Makerules (shlib-lds): New variable.
46915 (shlib-lds-flags): New variable.
46916 (build-shlib, build-moduile, build-module-asneeded): Use it.
46917 ($(common-objpfx)libc.so): Use $(shlib-lds).
46918 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46919 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46921 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46922 DT_FLAGS/DT_FLAGS_1 with zero flags.
46924 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46925 linker script munging.
46927 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46929 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46931 * crypt/sha512.c (sha512_process_block): Perform total addition using
46932 128-bit if possible.
46933 (__sha512_finish_ctx): Likewise.
46934 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46936 * crypt/sha256.c (SWAP64): Define.
46937 (sha256_process_block): Perform total addition using 64-bit if
46939 (__sha256_finish_ctx): Likewise.
46941 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46943 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46944 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46945 * nscd/hstcache.c (cache_addhst): Likewise.
46946 * nscd/grpcache.c (cache_addgr): Likewise.
46947 * nscd/aicache.c (addhstaiX): Likewise
46948 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46950 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46952 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46953 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46954 * nscd/hstcache.c (cache_addhst): Likewise.
46955 * nscd/grpcache.c (cache_addgr): Likewise.
46956 * nscd/aicache.c (addhstaiX): Likewise
46958 2011-07-01 Andreas Schwab <schwab@redhat.com>
46960 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46961 domain only when needed.
46963 2011-06-30 Andreas Schwab <schwab@redhat.com>
46965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46966 is always restored.
46968 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46970 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46971 are re-adding the entry.
46972 * nscd/servicescache.c (cache_addserv): Likewise.
46974 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46976 * sysdeps/generic/dl-irel.h: fix protection against multiple
46978 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46980 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46983 * malloc/memusage.sh: Fix quoting in message.
46984 * debug/xtrace.sh: Likewise.
46986 * configure.in: Remove support for --experimental-malloc option, make
46988 * config.make.in: Likewise.
46989 * malloc/Makefile: Likewise.
46991 2011-06-27 Andreas Schwab <schwab@redhat.com>
46993 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46994 two-byte characters.
46996 2011-06-27 Roland McGrath <roland@hack.frob.com>
46998 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46999 AC_CACHE_CHECK invocation.
47000 * configure: Regenerated.
47002 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47004 2011-06-27 Ulrich Drepper <drepper@gmail.com>
47007 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47008 bit from old_res_options.
47010 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47012 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47013 value type for setfct.
47015 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47017 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47018 __gettimeofday instead of gettimeofday.
47020 2011-06-26 Ulrich Drepper <drepper@gmail.com>
47022 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47024 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47026 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47028 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47031 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47034 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47035 strcpy-sse2-unaligned strncpy-sse2-unaligned
47036 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47037 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47038 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47039 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47040 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47041 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47042 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47043 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47044 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47045 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47046 (STRCPY): Support SSE2 and SSSE3 versions.
47048 2011-06-24 Ulrich Drepper <drepper@gmail.com>
47051 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47052 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47053 kernels which artificially limit size of requests.
47055 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47057 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47058 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47059 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47060 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47061 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47062 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47063 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47064 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47065 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47066 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47067 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47068 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47069 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47070 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47071 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47073 Enable unaligned load optimization for Intel Core i3, i5 and i7
47075 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47077 (index_Fast_Unaligned_Load): Define.
47078 (HAS_FAST_UNALIGNED_LOAD): Define.
47080 2011-06-23 Marek Polacek <mpolacek@redhat.com>
47082 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47084 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47087 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47088 until it is clear that the information is realy needed.
47089 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47091 2011-06-22 Andreas Schwab <schwab@redhat.com>
47093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47095 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47097 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47098 /sys/devices/system/cpu/online if it is usable.
47100 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47101 reading the information from the /proc filesystem to once a second.
47103 2011-06-21 Andreas Jaeger <aj@suse.de>
47105 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47106 NULL after inclusion of kernel headers.
47108 2011-06-21 Ulrich Drepper <drepper@gmail.com>
47110 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47111 calls to internal_setent.
47114 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47115 addresses using gethostbyname4_r ignore IPv4 addresses.
47117 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47118 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47120 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47122 2011-06-20 David S. Miller <davem@davemloft.net>
47124 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47126 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47128 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47129 (elf_irel): Use it.
47130 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47131 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47132 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47133 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47134 * sysdeps/x86_64/dl-irel.h: Likewise.
47136 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47137 * elf/dl-sym.c: Likewise.
47139 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47141 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47142 need to dereference resplen2.
47144 2011-06-14 Andreas Schwab <schwab@redhat.com>
47146 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47148 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47150 * Makeconfig: Define vardbdir and inst_vardbdir.
47151 * nss/Makefile: Add rules to install db-Makefile.
47153 * nss/nss_db/db-XXX.c: Cleanup.
47155 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47156 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47158 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47159 * nss/makedb.c: Implement -g option to specify that value strings
47160 are generated and should not be added to table iterated over for
47162 * nss/nss_db/db-initgroups.c: New file.
47164 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47167 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47168 (internal_getgrouplist): Adjust to name change.
47169 Update use_initgroups_entry if this is not the first call.
47170 * nss/databases.def: Add initgroups entry.
47172 * nss/makedb.c (compute_tables): Check result of multiple hash table
47173 sizes to minimize maximum chain length.
47175 2011-06-14 Ulrich Drepper <drepper@gmail.com>
47177 * Versions.def: Add entry for libnss_db.
47178 * shlib-versions: Likewise.
47179 * nss/Makefile: Add rules to build libnss_db.
47180 * nss/Versions: Add libnss_db information. Organize libnss_files
47182 * nss/db-Makefile: Add gshadow support. Change rules for the new
47183 makedb progra. Some minor improvements to generate smaller files.
47184 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47186 * nss/makedb.c: ...here.
47187 Improve database format to be smaller and require less memory at
47189 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47191 * nss/nss_db/db-netgrp.c: Likewise.
47192 * nss/nss_db/db-open.c: Likewise.
47193 * nss/nss_files/flies-XXX.x: Adjust comments.
47194 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47195 * nss/nss_files/files-grp.c: Likewise.
47196 * nss/nss_files/files-hosts.c: Likewise.
47197 * nss/nss_files/files-network.c: Likewise.
47198 * nss/nss_files/files-proto.c: Likewise.
47199 * nss/nss_files/files-pwd.c: Likewise.
47200 * nss/nss_files/files-rpc.c: Likewise.
47201 * nss/nss_files/files-service.c: Likewise.
47202 * nss/nss_files/files-sgrp.c: Likewise.
47203 * nss/nss_files/files-spwd.c: Likewise.
47204 * nss/nss_db/db-alias.c: Removed.
47205 * nss/nss_db/dummy-db.h: Removed.
47207 2011-06-02 Ulrich Drepper <drepper@gmail.com>
47209 * nss/makedb.c: Rewritten to not use database library.
47210 * nss/Makefile: Update to build new makedb program.
47212 2011-06-14 Andreas Jaeger <aj@suse.de>
47214 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47215 memset declaration.
47217 2011-06-10 Andreas Schwab <schwab@redhat.com>
47219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47222 2011-06-10 Roland McGrath <roland@hack.frob.com>
47224 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47225 * elf/Makefile ($(objpfx)ld.so): Likewise.
47227 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47228 Don't list ld.so twice in dependencies.
47230 * posix/bug-regex31.c: Include <stdlib.h>.
47232 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47234 * nis/nss_compat/compat-spwd.c
47235 (getspent_next_nss_netgr): Remove unused variable.
47236 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47238 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47239 nonmembers" output to use the right array.
47241 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47243 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47245 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47246 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47247 * catgets/gencat.c (read_input_file): Likewise.
47248 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47250 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47251 variable definition inside #if's controlling its use.
47253 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47255 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47257 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47259 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47262 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47264 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47265 * configure: Regenerated.
47267 * Makerules: Revert last change.
47268 * elf/Makefile: Likewise.
47270 2011-06-09 Roland McGrath <roland@hack.frob.com>
47272 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47273 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47274 (reloc-link): Likewise.
47276 2011-06-09 Ulrich Drepper <drepper@gmail.com>
47278 * elf/Makefile: Add rules to build pldd.
47279 * elf/pldd.c: New file.
47280 * elf/pldd-xx.c: New file.
47282 2011-06-07 Ulrich Drepper <drepper@gmail.com>
47284 * version.h: Update for 2.15 development version.
47286 2011-06-07 David S. Miller <davem@davemloft.net>
47288 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47290 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47291 elf_machine_lazy_rel): Likewise.
47292 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47293 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47294 elf_machine_lazy_rel): Likewise.
47295 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47296 dl_hwcap via passed in argument.
47297 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47300 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47302 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47304 2011-06-06 Roland McGrath <roland@hack.frob.com>
47307 * manual/fdl-1.1.texi: New file, verbatim from:
47308 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47309 * manual/lgpl-2.1.texi: New file, verbatim from:
47310 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47311 * manual/Makefile (licenses): New variable, list those new file names.
47313 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47315 * manual/fdl.texi: File removed.
47316 * manual/lesser.texi: File removed.
47317 * manual/libc.texinfo (Copying, Documentation License):
47318 Use new @include file names, put @appendix directive before @include.
47320 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47323 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47324 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47325 (mq_open): Add __NTH.
47327 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47330 Assume Intel Core i3/i5/i7 processor if AVX is available.
47332 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47334 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47337 2011-05-31 Andreas Schwab <schwab@redhat.com>
47339 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47340 memory. Use alloca_account. Fix memory leak when retrying.
47342 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47344 * version.h (RELEASE): Bump for 2.14 release.
47345 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47347 * config.make.in (RANLIB): Remove entry.
47349 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47351 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47352 (libc.pot): Work around missing support for .ksh extension in xgettext.
47355 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47356 if both request failed.
47357 (send_dg): In case of server errors clear resplen or *resplen2.
47360 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47361 when there are multiple maps.
47362 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47363 (_dl_fini): Remove test here.
47365 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47367 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47370 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47371 bit from old_res_options.
47372 (gaih_inet): Likewise.
47375 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47378 * resolv/res_init.c (res_setoptions): Make the code more compact.
47381 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47385 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47387 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47390 * malloc/malloc.h: Declare malloc hook variables as volatile.
47392 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47396 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47397 raise in the comment.
47398 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47399 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47400 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47402 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47405 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47406 grow the buffers more if it already has to be sufficient.
47407 (build_wcs_upper_buffer): Likewise.
47408 * posix/regexec.c (check_matching): Likewise.
47409 (clean_state_log_if_needed): Likewise.
47410 (extend_buffers): Don't enlarge buffers beyond size of the input
47412 Patches mostly by Emil Wojak <emil@wojak.eu>.
47413 * posix/bug-regex32.c: New file.
47414 * posix/Makefile (tests): Add bug-regex32.
47416 * locale/findlocale.c (_nl_find_locale): Return right away if
47417 _nl_explode_name failed.
47418 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47420 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47422 * debug/xtrace.sh: Unify messages.
47423 * malloc/memusage.sh: Likewise.
47426 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47427 time symbol from vDSO. Substitute with vsyscall if not available.
47428 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47431 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47432 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47433 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47434 Add sendmmsg and internal_sendmmsg.
47435 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47436 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47437 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47439 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47440 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47441 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47443 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47446 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47447 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47449 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47453 * iconvdata/Makefile (tests): Add bug-iconv9.
47454 * iconvdata/bug-iconv9.c: New file.
47456 2011-05-27 Andreas Schwab <schwab@redhat.com>
47459 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47461 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47463 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47464 (struct user_regs_struct): Change intcs field back to cs.
47466 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47468 * po/ja.po: Update from translation team.
47470 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47473 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47474 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47476 2011-05-20 Andreas Schwab <schwab@redhat.com>
47478 * stdlib/longlong.h: Update from GCC.
47480 2011-05-23 Andreas Schwab <schwab@redhat.com>
47482 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47484 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47485 Add parameter name.
47486 (__sysconf): Pass it down.
47488 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47491 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47493 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47494 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47495 add in in __libc_use_alloca calls. Adjust callers.
47496 (glob): Use malloc in some situations.
47498 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47499 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47502 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47504 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47505 and CLOCK_BOOTTIME_ALARM.
47508 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47511 * string/_strerror.c (__strerror_r): Print negative errors as signed
47515 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47516 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47517 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47519 * configure.in: Fix typo in redirection and correct removal of test
47520 files in two cases.
47523 * locale/setlocale.c (new_composite_name): Fix test to check for
47524 identical name of all categories.
47527 * libio/filedoalloc.c (local_isatty): New function.
47528 (_IO_file_doallocate): Use local_isatty.
47529 * stdio-common/perror.c (perror): In case a new stream is used
47530 forward the stream error.
47531 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47534 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47537 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47539 * include/alloca.h (extend_alloca_account): Define.
47542 * posix/regex.h: Fix comments with documentation of user-accessible
47543 fields after compilation and describe correct free'ing of pattern
47544 after re_compile_pattern.
47545 Patch by Reuben Thomas <rrt@sc3d.org>.
47547 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47549 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47550 and -mno-altivec to prevent the compiler from using Altivec and/or
47551 VSX instructions when the corresponding registers are not available.
47553 2011-05-19 Andreas Schwab <schwab@redhat.com>
47555 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47557 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47559 * libio/freopen.c (freopen): Use __dup2, not dup2.
47560 * libio/freopen64.c (freopen64): Likewise.
47562 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47565 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47566 * math/Makefile (tests): Add test-powl.
47567 (CFLAGS-test-powl.c): Define.
47568 * math/test-powl.c: New file.
47570 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47572 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47574 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47577 * iconvdata/gb18030.c: Update to GB18020-2005.
47579 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47581 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47582 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47583 Patch by Aharon Robbins <arnold@skeeve.com>.
47586 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47590 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47591 through underflows.
47594 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47595 point to strings before performing equality test for error_one_per_line
47599 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47602 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47603 (struct user_fpregs_struct): Avoid __uint*_t types.
47606 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47607 symbol info. Use it instead of calling _dl_addr locally.
47608 (lock_and_info): New function.
47609 (tr_freehook): Call lock_and_info and pass symbol info as additional
47610 parameter to tr_where.
47611 (tr_mallochook): Likewise.
47612 (tr_reallochook): Likewise.
47613 (tr_memalignhook): Likewise.
47615 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47616 used and couldn't be at all thread-safe.
47618 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47620 * libio/freopen.c (freopen): Don't close old file descriptor
47621 before the new one is opened. Instead dup the new file descriptor
47622 to the old one after the new stream is created.
47623 * libio/freopen64.c (freopen64): Likewise.
47624 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47625 * libio/fileops.c (_IO_new_file_close_it): Handle new
47626 _IO_FLAGS2_NOCLOSE flag.
47627 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47628 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47629 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47630 _IO_FLAGS2_NOCLOSE flag.
47631 * include/unistd.h: Add hidden_proto for dup3.
47632 Define __have_dup3.
47633 * io/dup3.c: Define hidden symbol.
47634 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47637 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47638 when an incomplete long option is used.
47639 * posix/tst-getopt_long1.c: New file.
47640 * posix/Makefile (tests): Add tst-getopt_long1.
47643 * scripts/config.guess: Update from autoconf-2.68.
47644 * scripts/config.sub: Likewise.
47647 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47649 (has_cpuclock): ...this. New function.
47650 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47651 macro here based on has_cpuclock code.
47654 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47655 First byte (not low byte) is now always NUL.
47656 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47658 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47659 Use non-cancelable interfaces.
47662 * locale/iso-639.def: Add entry for Sorani.
47665 * include/stdlib.h: Move include protection to the right place.
47666 Define abort_msg_s. Declare __abort_msg with it.
47667 * stdlib/abort.c (__abort_msg): Adjust type.
47668 * assert/assert.c (__assert_fail_base): New function. Majority
47669 of code from __assert_fail. Allocate memory for __abort_msg with
47671 (__assert_fail): Now call __assert_fail_base.
47672 * assert/assert-perr.c: Remove bulk of implementation. Use
47673 __assert_fail_base.
47674 * include/assert.hL Declare __assert_fail_base.
47675 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47677 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47679 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47683 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47684 until all modules are registered in the DTV.
47685 * elf/Makefile: Add rules to build and run tst-tls19.
47686 * elf/tst-tls19.c: New file.
47687 * elf/tst-tls19mod1.c: New file.
47688 * elf/tst-tls19mod2.c: New file.
47689 * elf/tst-tls19mod3.c: New file.
47690 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47693 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47697 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47698 two-byte sequence errors.
47699 * iconvdata/Makefile (tests): Add bug-iconv8.
47700 * iconvdata/bug-iconv8.c: New file.
47703 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47706 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47709 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47710 (dummy_getcfa): New function.
47711 (init): Get _Unwind_GetCFA address, use dummy if not found.
47712 (backtrace_helper): In recursion check, also check whether CFA changes.
47713 (__backtrace): Completely initialize arg.
47715 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47716 storing incomplete byte sequence in state object. Avoid testing for
47717 guaranteed too small input if we know there is enough data available.
47719 2011-05-11 Andreas Schwab <schwab@redhat.com>
47721 * Makeconfig (+link-pie): Indent.
47722 * Rules (binaries-pie): Define if $(have-fpie) and
47724 (binaries-shared): Also filter out $(binaries-pie).
47725 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47726 * nscd/Makefile (others-pie): Add nscd.
47727 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47728 ($(objpfx)nscd): Remove command override.
47729 * login/Makefile (others-pie): Add pt_chown.
47730 ($(objpfx)pt_chown): Remove command override.
47731 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47732 remove command overrides.
47734 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47736 * libio/tst_putwc.c: Fix error messages.
47739 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47740 currently writing and seek to current position when not.
47741 * libio/Makefile (tests): Add bug-fclose1.
47742 * libio/bug-fclose1.c: New file.
47744 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47747 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47748 don't set DF_1_NODELETE here.
47749 (do_lookup_x): When entering new entry test for copy relocation
47750 and if necessary set DF_1_NODELETE flag.
47751 * elf/tst-unique4.cc: New file.
47752 * elf/tst-unique4.h: New file.
47753 * elf/tst-unique4lib.cc: New file.
47754 * elf/Makefile: Add rules to build and run tst-unique4.
47755 Patch by Piotr Bury <pbury@goahead.com>.
47757 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47760 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47763 * misc/mntent_r.c (addmntent): Flush the stream after the output
47766 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47767 (is_trusted_path_normalize): Skip initial colon. Append slash
47768 to empty buffer. Duplicate is_trusted_path code but allow
47769 constructed patch to be prefix.
47770 (is_dst): Allow $ORIGIN followed by /.
47771 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47772 Correct testing of result of is_trusted_path_normalize
47773 (decompose_rpath): Fix warning.
47775 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47778 * grp/initgroups.c (internal_getgrouplist): When we found the service
47779 list through the initgroups entry in nsswitch.conf do not always
47780 continue on a successful lookup. Don't always use the
47781 __nss_group_database value if it is set.
47782 * nss/nsswitch.conf (initgroups): Change action for successful db
47783 lookup to continue for compatibility.
47785 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47788 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47790 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47792 * iconvdata/tst-tables.sh: Likewise.
47793 * iconvdata/cp770.c: New file.
47794 * iconvdata/cp771.c: New file.
47795 * iconvdata/cp772.c: New file.
47796 * iconvdata/cp773.c: New file.
47797 * iconvdata/cp774.c: New file.
47798 * iconvdata/testdata/CP770: New file.
47799 * iconvdata/testdata/CP770..UTF8: New file.
47800 * iconvdata/testdata/CP771: New file.
47801 * iconvdata/testdata/CP771..UTF8: New file.
47802 * iconvdata/testdata/CP772: New file.
47803 * iconvdata/testdata/CP772..UTF8: New file.
47804 * iconvdata/testdata/CP773: New file.
47805 * iconvdata/testdata/CP773..UTF8: New file.
47806 * iconvdata/testdata/CP774: New file.
47807 * iconvdata/testdata/CP774..UTF8: New file.
47809 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47811 * iconvdata/gen-8bit-gap.sh: Likewise.
47812 * iconvdata/gen-8bit.sh: Likewise.
47814 * locale/iso-639.def: Add ary entry.
47817 * locale/C-translit.h.in: Add U20A1 transliteration.
47820 * locale/iso-639.def: Add wae entry.
47821 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47824 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47828 * locale/C-translit.h.in: Add entry for U20B9.
47829 Patch by pravin.d.s@gmail.com.
47831 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47834 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47835 ENAMETOOLONG use generic getcwd.
47836 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47837 in rtld. Use *stat64.
47838 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47839 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47840 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47841 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47842 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47843 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47844 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47845 __fstatat64 macros.
47846 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47847 * dirent/rewinddir.c: Add libc_hidden_def.
47848 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47849 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47851 * include/dirent.h (__alloc_dir): Add flags parameter.
47852 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47853 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47855 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47856 from fdopendir if O_CLOEXEC is already set.
47858 2011-03-15 Alan Modra <amodra@gmail.com>
47860 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47861 l_tls_firstbyte_offset non-zero. Save padding offset in
47862 l_tls_firstbyte_offset for later use.
47863 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47864 freeing static tls block.
47866 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47868 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47869 where #ifdef was intended. The intent is to prevent ARG_MAX from
47870 being defined by the kernel headers.
47872 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47875 * resolv/resolv.h: Define RES_NOTLDQUERY.
47876 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47877 no-tld-query and set RES_NOTLDQUERY.
47878 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47879 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47880 modern BIND to search name as TLD unless forbidden.
47882 2011-05-07 Petr Baudis <pasky@suse.cz>
47883 Ulrich Drepper <drepper@gmail.com>
47886 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47887 (is_trusted_path): ...to here.
47888 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47889 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47890 using is_trusted_path_normalize() in setuid scripts.
47892 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47894 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47895 __BEGIN/__END_DECLS.
47897 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47899 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47900 NSS_STATUS_NOTFOUND if no record was found.
47902 2011-05-05 Andreas Schwab <schwab@redhat.com>
47904 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47905 (headers-not-in-tirpc): Remove rpc/netdb.h
47906 * resolv/netdb.h: Revert last change.
47908 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47910 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47911 circular dependency between libgcc.a and libc.a.
47913 2011-05-05 Andreas Schwab <schwab@redhat.com>
47915 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47916 * nis/Makefile: Don't install rpcsvc/*.
47917 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47918 instead of <rpc/types.h>.
47919 (MAXHOSTNAMELEN): Define.
47921 2011-05-03 Andreas Schwab <schwab@redhat.com>
47923 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47925 2011-04-28 Maciej Babinski <mbabinski@google.com>
47928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47929 gethostbyname4_r when IPv6 results are possible.
47931 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47934 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47935 _PC_PIPE_BUF handling.
47937 2011-04-30 Bruno Haible <bruno@clisp.org>
47940 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47941 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47943 * inet/getnameinfo.c (getnameinfo): Likewise.
47945 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47947 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47948 to groups setting in database lookup.
47949 * nss/nsswitch.conf: Add initgroups entry.
47951 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47954 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47956 Patch by Eric Blake <eblake@redhat.com>.
47958 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47960 * sunrpc/Makefile (need-export-routines): Add svc_run.
47961 (routines): Remove svc_run.
47962 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47963 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47964 * sunrpc/svc_run.c (svc_run): Likewise.
47965 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47967 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47969 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47970 problem in reallocation in last patch.
47972 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47974 * sunrpc/Makefile: Move inclusion of Rules.
47976 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47978 * nss/nss_files/files-initgroups.c: New file.
47979 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47980 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47981 _nss_files_initgroups_dyn.
47983 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47985 * elf/elf.h (R_ARM_IRELATIVE): Define.
47987 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47989 * po/ru.po: Update from translation team.
47991 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47993 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47996 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47999 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48000 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48001 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48002 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48003 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48005 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48007 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48009 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48010 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48011 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48013 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48016 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48018 * stdlib/bug-getcontext.c: New file.
48019 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48021 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48023 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48024 instructions into .machine "z9-109".
48025 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48026 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48028 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48030 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48031 between environment variables and auxiliary vector.
48033 2011-04-16 Ulrich Drepper <drepper@gmail.com>
48035 * Makefile: Add rules to build linkobj/libc.so.
48036 * include/libc-symbols.h: Define libc_hidden_nolink.
48037 * include/rpc/auth.h: Mark functions which are to be hidden.
48038 * include/rpc/auth_des.h: Likewise.
48039 * include/rpc/auth_unix.h: Likewise.
48040 * include/rpc/clnt.h: Likewise.
48041 * include/rpc/des_crypt.h: Likewise.
48042 * include/rpc/key_prot.h: Likewise.
48043 * include/rpc/pmap_clnt.h: Likewise.
48044 * include/rpc/pmap_prot.h: Likewise.
48045 * include/rpc/pmap_rmt.h: Likewise.
48046 * include/rpc/rpc_msg.h: Likewise.
48047 * include/rpc/svc.h: Likewise.
48048 * include/rpc/svc_auth.h: Likewise.
48049 * include/rpc/xdr.h: Likewise.
48050 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48051 * nss/Makefile: Likewise.
48052 * sunrpc/Makefile: Don't install headers. Build library with normal
48053 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48054 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48055 for the compat linking library. Remove use of INTDEF/INTUSE.
48056 * sunrpc/auth_none.c: Likewise.
48057 * sunrpc/auth_unix.c: Likewise.
48058 * sunrpc/authdes_prot.c: Likewise.
48059 * sunrpc/authuxprot.c: Likewise.
48060 * sunrpc/clnt_gen.c: Likewise.
48061 * sunrpc/clnt_perr.c: Likewise.
48062 * sunrpc/clnt_raw.c: Likewise.
48063 * sunrpc/clnt_simp.c: Likewise.
48064 * sunrpc/clnt_tcp.c: Likewise.
48065 * sunrpc/clnt_udp.c: Likewise.
48066 * sunrpc/clnt_unix.c: Likewise.
48067 * sunrpc/des_crypt.c: Likewise.
48068 * sunrpc/des_soft.c: Likewise.
48069 * sunrpc/get_myaddr.c: Likewise.
48070 * sunrpc/key_call.c: Likewise.
48071 * sunrpc/key_prot.c: Likewise.
48072 * sunrpc/netname.c: Likewise.
48073 * sunrpc/pm_getmaps.c: Likewise.
48074 * sunrpc/pm_getport.c: Likewise.
48075 * sunrpc/pmap_clnt.c: Likewise.
48076 * sunrpc/pmap_prot.c: Likewise.
48077 * sunrpc/pmap_prot2.c: Likewise.
48078 * sunrpc/pmap_rmt.c: Likewise.
48079 * sunrpc/publickey.c: Likewise.
48080 * sunrpc/rpc_cmsg.c: Likewise.
48081 * sunrpc/rpc_common.c: Likewise.
48082 * sunrpc/rpc_dtable.c: Likewise.
48083 * sunrpc/rpc_prot.c: Likewise.
48084 * sunrpc/rpc_thread.c: Likewise.
48085 * sunrpc/rtime.c: Likewise.
48086 * sunrpc/svc.c: Likewise.
48087 * sunrpc/svc_auth.c: Likewise.
48088 * sunrpc/svc_authux.c: Likewise.
48089 * sunrpc/svc_raw.c: Likewise.
48090 * sunrpc/svc_run.c: Likewise.
48091 * sunrpc/svc_simple.c: Likewise.
48092 * sunrpc/svc_tcp.c: Likewise.
48093 * sunrpc/svc_udp.c: Likewise.
48094 * sunrpc/svc_unix.c: Likewise.
48095 * sunrpc/svcauth_des.c: Likewise.
48096 * sunrpc/xcrypt.c: Likewise.
48097 * sunrpc/xdr.c: Likewise.
48098 * sunrpc/xdr_array.c: Likewise.
48099 * sunrpc/xdr_float.c: Likewise.
48100 * sunrpc/xdr_intXX_t.c: Likewise.
48101 * sunrpc/xdr_mem.c: Likewise.
48102 * sunrpc/xdr_rec.c: Likewise.
48103 * sunrpc/xdr_ref.c: Likewise.
48104 * sunrpc/xdr_sizeof.c: Likewise.
48105 * sunrpc/xdr_stdio.c: Likewise.
48107 2011-04-10 Ulrich Drepper <drepper@gmail.com>
48110 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48111 * sysdeps/ia64/dl-tls.h: Likewise.
48112 * sysdeps/powerpc/dl-tls.h: Likewise.
48113 * sysdeps/s390/dl-tls.h: Likewise.
48114 * sysdeps/sh/dl-tls.h: Likewise.
48115 * sysdeps/sparc/dl-tls.h: Likewise.
48116 * sysdeps/x86_64/dl-tls.h: Likewise.
48117 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48119 2011-03-14 Andreas Schwab <schwab@redhat.com>
48121 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48122 rpath element also skip the following colon.
48123 (expand_dynamic_string_token): Add is_path parameter and pass
48124 down to DL_DST_REQUIRED and _dl_dst_substitute.
48125 (decompose_rpath): Call expand_dynamic_string_token with
48126 non-zero is_path. Ignore empty rpaths.
48127 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48130 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48135 2011-04-09 Ulrich Drepper <drepper@gmail.com>
48138 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48139 Patch by Filipe David Manana <fdmanana@apache.org>.
48141 2011-04-07 Andreas Schwab <schwab@redhat.com>
48143 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48144 Maintain aligned stack.
48145 (CHECK_RSP): Remove unused macro.
48147 2011-04-03 Ulrich Drepper <drepper@gmail.com>
48149 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48150 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48152 2011-04-02 Ulrich Drepper <drepper@gmail.com>
48154 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48156 * include/features.h: Mention __USE_XOPEN2K8 in comment.
48158 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48161 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48162 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48163 * sysdeps/x86_64/memmove.c: New file.
48164 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48165 (memcpy): Renamed to ...
48166 (__new_memcpy): This.
48167 (memcpy): Provide GLIBC_2_14 memcpy.
48168 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48169 (memcpy): Provide GLIBC_2_2_5 memcpy.
48171 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48174 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48176 2011-03-30 Andreas Schwab <schwab@redhat.com>
48178 * misc/syncfs.c: New file.
48179 * misc/Makefile (routines): Add syncfs.
48180 * posix/unistd.h: Declare syncfs.
48181 * sysdeps/unix/syscalls.list: Add syncfs.
48183 2011-04-01 Andreas Schwab <schwab@redhat.com>
48185 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48187 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48188 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48189 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48190 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48191 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48192 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48193 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48195 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48197 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48198 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48199 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48200 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48201 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48202 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48203 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48205 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48206 sync_file_range.c with -fexceptions.
48207 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48208 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48209 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48210 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48211 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48212 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48213 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48214 sync_file_range as cancellation point
48215 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48216 now a wrapper around __call_sync_file_range with cancellation handling.
48217 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48218 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48219 function name to __call_sync_file_range.
48220 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48221 Add call_sync_file_range.
48223 2011-04-01 Andreas Schwab <schwab@redhat.com>
48225 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48228 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48230 * iconv/iconv.h: Fix typo in comment.
48231 * io/fcntl.h: Likewise.
48232 * libio/stdio.h: Likewise.
48233 * posix/spawn.h: Likewise.
48234 * posix/unistd.h: Likewise.
48235 * stdlib/stdlib.h: Likewise.
48236 * time/time.h: Likewise.
48237 * wcsmbs/wchar.h: Likewise.
48239 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48240 open_by_handle): Add.
48241 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48242 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48243 Augment a few comments.
48244 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48245 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48246 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48248 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48249 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48252 * io/fcntl.h (AT_EMPTY_PATH): Define.
48254 2011-03-30 Ulrich Drepper <drepper@gmail.com>
48256 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48257 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48258 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48260 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
48261 * Versions.def: Add GLIBC_2.14.
48262 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48265 2011-03-22 Ulrich Drepper <drepper@gmail.com>
48267 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48269 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48271 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48274 * string/test-strncmp.c (do_page_test): New function.
48275 (check2): Likewise.
48276 (test_main): Call check2.
48277 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48279 2011-03-20 Ulrich Drepper <drepper@gmail.com>
48282 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48283 Handle cache information in CPU leaf 4.
48284 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48286 2011-03-18 Ulrich Drepper <drepper@gmail.com>
48289 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48290 character representation.
48291 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48293 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48295 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48296 END(__isnan) to END(__isnanf) to match function entry point/label
48297 EALIGN(__isnanf,...).
48299 2011-03-10 Jakub Jelinek <jakub@redhat.com>
48301 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48303 2011-03-10 Ulrich Drepper <drepper@gmail.com>
48306 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48307 copy from the symbol referenced in the relocation to initialize the
48309 Patch by Piotr Bury <pbury@goahead.com>.
48310 * elf/Makefile: Add rules to build and tst-unique3.
48311 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48312 * elf/tst-unique3.cc: New file.
48313 * elf/tst-unique3.h: New file.
48314 * elf/tst-unique3lib.cc: New file.
48315 * elf/tst-unique3lib2.cc: New file.
48317 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48319 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48321 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48322 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48325 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48327 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48328 to-be-loaded object along a path to loader is ld.so.
48330 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48331 Ulrich Drepper <drepper@gmail.com>
48333 * sysdeps/x86_64/memset.S: After aligning destination, code
48334 branches to different locations depending on the value of
48335 misalignment, when multiarch is enabled. Fix this.
48337 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48339 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48340 Set _x86_64_preferred_memory_instruction for AMD processsors.
48341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48342 Set bit_Prefer_SSE_for_memop for AMD processors.
48344 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48346 * libio/fmemopen.c (fmemopen): Optimize a bit.
48348 2011-03-03 Andreas Schwab <schwab@redhat.com>
48350 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48352 2011-03-03 Roland McGrath <roland@redhat.com>
48354 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48356 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48358 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48359 __bzero_ultra1 instead of __memset_ultra1.
48361 2011-02-23 Andreas Schwab <schwab@redhat.com>
48362 Ulrich Drepper <drepper@gmail.com>
48365 * include/link.h (struct link_map): Add l_orig_initfini.
48366 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48367 returning unsuccessfully.
48368 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48369 close of a file loaded at startup, restore the original l_initfini
48371 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48372 list, store the pointer.
48373 * elf/Makefile ($(objpfx)noload-mem): New rule.
48374 (noload-ENV): Define.
48375 (tests): Add $(objpfx)noload-mem.
48376 * elf/noload.c: Include <memcheck.h>.
48377 (main): Call mtrace. Close all opened handles.
48379 2011-02-17 Andreas Schwab <schwab@redhat.com>
48382 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48383 dependencies are missing.
48385 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48387 Fix __if_freereq crash: Unlike the generic version which uses free,
48389 * sysdeps/mach/hurd/ifreq.h: New file.
48391 2011-01-27 Petr Baudis <pasky@suse.cz>
48392 Ulrich Drepper <drepper@gmail.com>
48395 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48396 to extend_alloca().
48397 * stdio-common/bug23.c: New file.
48398 * stdio-common/Makefile (tests): Add bug23.
48400 2010-09-28 Andreas Schwab <schwab@redhat.com>
48401 Ulrich Drepper <drepper@gmail.com>
48404 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48405 before performing relro protection. At old place add assertion
48406 to make sure nothing changed.
48408 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48409 Glauber de Oliveira Costa <glommer@gmail.com>
48411 * elf/elf.h: Add new ARM TLS relocs.
48413 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48416 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48418 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48420 * sysdeps/wordsize-64/tst-writev.c: New file.
48422 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48424 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48425 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48426 insns in _dl_start to prevent a TOC reference before relocs are
48429 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48432 * Makeconfig: Remove RANLIB definition.
48433 * Makerules: Don't use RANLIB.
48434 * aclocal.m4: Remove ranlib test.
48435 * configure.in: No need to check for ranlib.
48436 * elf/rtld-Rules: Don't use RANLIB.
48438 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48440 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48442 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48443 inclusion protection macro.
48445 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48446 SIGRTMIN and SIGRTMAX and print information in that case only when
48447 SIGRTMIN is defined.
48449 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48451 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48452 arginfo fn returning -1.
48454 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48455 and thousands string is zero terminated.
48457 2011-02-03 Andreas Schwab <schwab@redhat.com>
48459 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48460 sysdeps/unix/sysv/linux/bits/socket.h.
48462 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48464 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48465 (__CPU_COUNT): Remove old macros.
48466 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48467 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48468 (__CPU_ALLOC, __CPU_FREE): Add macros.
48469 (__sched_cpualloc, __sched_cpufree): Add declarations.
48471 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48473 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48474 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48475 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48476 (readdhstai): Return value of addhstaiX call.
48477 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48478 (addgrbyX): Return value returned by cache_addgr.
48479 (readdgrbyname): Return value returned by addgrbyX.
48480 (readdgrbygid): Likewise.
48481 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48482 (addpwbyX): Return value returned by cache_addpw.
48483 (readdpwbyname): Return value returned by addhstbyX.
48484 (readdpwbyuid): Likewise.
48485 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48486 (addservbyX): Return value returned by cache_addserv.
48487 (readdservbyname): Return value returned by addservbyX:
48488 (readdservbyport): Likewise.
48489 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48490 (addhstbyX): Return value returned by cache_addhst.
48491 (readdhstbyname): Return value returned by addhstbyX.
48492 (readdhstbyaddr): Likewise.
48493 (readdhstbynamev6): Likewise.
48494 (readdhstbyaddrv6): Likewise.
48495 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48496 (readdinitgroups): Return value returned by addinitgroupsX.
48497 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48498 (prune_cache): Keep track of timeout value of re-added entries.
48499 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48500 * nscd/nscd.h: Adjust prototypes of readd* functions.
48502 2011-02-04 Roland McGrath <roland@redhat.com>
48504 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48505 (nis_stats): Likewise.
48506 * nis/nis_modify.c (nis_modify): Likewise.
48507 * nis/nis_remove.c (nis_remove): Likewise.
48508 * nis/nis_add.c (nis_add): Likewise.
48510 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48512 * posix/fnmatch_loop.c: Add some consts.
48514 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48516 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48519 * config.make.in (config-cflags-novzeroupper): Define.
48520 * configure.in: Substitute libc_cv_cc_novzeroupper.
48521 * elf/Makefile (AVX-CFLAGS): Define.
48522 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48523 (CFLAGS-tst-auditmod4a.c): Likewise.
48524 (CFLAGS-tst-auditmod4b.c): Likewise.
48525 (CFLAGS-tst-auditmod6b.c): Likewise.
48526 (CFLAGS-tst-auditmod6c.c): Likewise.
48527 (CFLAGS-tst-auditmod7b.c): Likewise.
48528 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48530 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48532 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48533 function to the callback.
48534 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48536 2011-02-02 Andreas Schwab <schwab@redhat.com>
48538 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48541 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48544 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48546 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48548 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48551 * elf/Makefile: Add rules to build and run new test.
48552 * elf/tst-initorder.c: New file.
48553 * elf/tst-initorder.exp: New file.
48554 * elf/tst-initordera1.c: New file.
48555 * elf/tst-initordera2.c: New file.
48556 * elf/tst-initordera3.c: New file.
48557 * elf/tst-initordera4.c: New file.
48558 * elf/tst-initorderb1.c: New file.
48559 * elf/tst-initorderb2.c: New file.
48560 * elf/tst-order-a1.c: New file.
48561 * elf/tst-order-a2.c: New file.
48562 * elf/tst-order-a3.c: New file.
48563 * elf/tst-order-a4.c: New file.
48564 * elf/tst-order-b1.c: New file.
48565 * elf/tst-order-b2.c: New file.
48566 * elf/tst-order-main.c: New file.
48567 New test case by George Gensure <werkt0@gmail.com>.
48569 2010-10-01 Andreas Schwab <schwab@redhat.com>
48571 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48572 decoding ACE if AI_CANONIDN.
48574 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48576 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48578 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48580 * version.h (RELEASE): Bump for 2.13 release.
48581 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48583 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48585 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48587 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48588 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48589 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48590 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48591 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48592 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48594 * posix/getconf.c: Update copyright year.
48595 * catgets/gencat.c: Likewise.
48596 * csu/version.c: Likewise.
48597 * debug/catchsegv.sh: Likewise.
48598 * debug/xtrace.sh: Likewise.
48599 * elf/ldconfig.c: Likewise.
48600 * elf/ldd.bash.in: Likewise.
48601 * elf/sprof.c (print_version): Likewise.
48602 * iconv/iconv_prog.c: Likewise.
48603 * iconv/iconvconfig.c: Likewise.
48604 * locale/programs/locale.c: Likewise.
48605 * locale/programs/localedef.c: Likewise.
48606 * malloc/memusage.sh: Likewise.
48607 * malloc/mtrace.pl: Likewise.
48608 * nscd/nscd.c (print_version): Likewise.
48609 * nss/getent.c: Likewise.
48611 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48612 PF_CAIF, and PF_ALG.
48613 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48615 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48617 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48618 (modules-names): Use them.
48619 (ifunc-test-modules, ifunc-pie-tests): Define.
48620 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48621 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48622 (test-extras): Likewise.
48623 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48624 $(compile-command.c).
48625 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48626 (all-built-dso): Define.
48627 (check-textrel.out, check-execstack.out): Depend on it.
48629 * configure.in: Don't override --enable-multi-arch.
48631 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48634 * nscd/hstcache.c (tryagain): Define.
48635 (cache_addhst): Return tryagain not notfound for temporary errors.
48636 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48639 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48642 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48643 to make the syscall.
48644 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48647 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48648 and fall back to matching as normal character if the string ends before
48649 the matching ']' is found. This is what POSIX requires.
48650 * posix/testfnm.c: Adjust test result.
48651 * posix/globtest.sh: Adjust test result. Add new test.
48652 * posix/tst-fnmatch.input: Likewise.
48653 * posix/tst-fnmatch2.c: Add new test.
48655 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48657 * elf/Makefile (check-execstack): Revert last change. Depend on
48659 (check-execstack.h): New target.
48660 (generated): Add check-execstack.h.
48661 * elf/check-execstack.c: Include "check-execstack.h".
48662 (main): Revert last change.
48663 (handle_file): Return zero if GNU_STACK is absent and
48664 DEFAULT_STACK_PERMS doesn't include PF_X.
48666 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48668 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48669 in child fails because the descriptor is already closed.
48670 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48671 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48672 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48675 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48679 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48680 temporary buffer used to handle multi lookups locally.
48681 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48683 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48685 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48688 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48690 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48691 alignment for SSE2.
48693 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48696 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48697 characters. When rounding increased number of integer digits recompute
48699 * stdio-common/tst-grouping.c: New file.
48700 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48702 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48704 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48705 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48707 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48709 * bits/select.h: Likewise.
48711 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48713 * po/ja.po: Update from translation team.
48715 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48718 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48719 implementation just like for lxstat, fxstatat, et al.
48721 2010-12-27 Jim Meyering <meyering@redhat.com>
48724 * posix/regexec.c (build_trtable): Return failure indication upon
48725 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48727 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48730 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48731 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48732 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48733 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48736 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48739 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48740 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48742 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48744 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48745 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48746 script has SORT_BY_INIT_PRIORITY.
48747 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48748 NO_CTORS_DTORS_SECTIONS is defined.
48749 * elf/soinit.c: Likewise.
48750 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48751 NO_CTORS_DTORS_SECTIONS is defined.
48752 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48753 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48754 * sysdeps/sh/init-first.c: Likewise.
48755 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48757 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48759 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48760 always use the slow path.
48762 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48764 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48765 similar rule which adds the sysdep directories to the header search in
48766 order to pick up the correct platform stackinfo.h.
48767 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48768 perform test if it is, otherwise return successfully without testing.
48769 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48770 DEFAULT_STACK_PERMS define in stackinfo.h.
48771 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48772 defined in stackinfo.h.
48773 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48774 DEFAULT_STACK_PERMS defined in stackinfo.h.
48775 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48776 * sysdeps/ia64/stackinfo.h: Likewise.
48777 * sysdeps/s390/stackinfo.h: Likewise.
48778 * sysdeps/sh/stackinfo.h: Likewise.
48779 * sysdeps/sparc/stackinfo.h: Likewise.
48780 * sysdeps/x86_64/stackinfo.h: Likewise.
48781 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48782 PF_X for powerpc64. Retain PF_X for powerpc32.
48784 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48786 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48788 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48789 GETDENTS_64BIT_ALIGNED.
48791 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48793 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48795 2010-12-10 Andreas Schwab <schwab@redhat.com>
48797 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48800 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48801 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48803 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48804 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48806 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48809 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48812 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48814 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48816 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48818 * po/it.po: Update from translation team.
48820 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48825 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48827 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48829 2010-11-24 Andreas Schwab <schwab@redhat.com>
48831 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48833 (gaih_getanswer_slice): Likewise.
48835 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48837 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48839 2010-05-31 Petr Baudis <pasky@suse.cz>
48842 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48843 silently even in the chroot mode.
48845 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48847 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48848 last patch a bit. Pretty printing
48850 2010-05-31 Petr Baudis <pasky@suse.cz>
48853 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48854 initialization of skip_initgroups_dyn.
48856 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48858 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48859 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48861 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48863 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48865 2010-11-11 Andreas Schwab <schwab@redhat.com>
48867 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48868 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48869 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48870 ($(objpfx)tst-fnmatch-mem): New rule.
48871 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48872 * posix/tst-fnmatch.c (main): Call mtrace.
48874 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48877 Support Intel processor model 6 and model 0x2c.
48879 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48881 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48884 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48887 * string/test-strncasecmp.c (check_result): New function.
48888 (do_one_test): Use it.
48889 (check1): New function.
48890 (test_main): Use it.
48891 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48892 Support strcasecmp and strncasecmp.
48894 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48897 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48898 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48900 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48902 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48906 * sysdeps/x86_64/multiarch/bzero.S: New file.
48907 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48908 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48909 * sysdeps/x86_64/multiarch/memset.S: New file.
48910 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48912 Set bit_Prefer_SSE_for_memop for Intel processors.
48913 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48915 (index_Prefer_SSE_for_memop): Define.
48916 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48918 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48920 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48921 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48923 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48926 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48927 (__x86_64_raw_data_cache_size_half): Likewise.
48928 (__x86_64_raw_shared_cache_size): Likewise.
48929 (__x86_64_raw_shared_cache_size_half): Likewise.
48931 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48932 (__x86_64_raw_data_cache_size_half): Likewise.
48933 (__x86_64_raw_shared_cache_size): Likewise.
48934 (__x86_64_raw_shared_cache_size_half): Likewise.
48935 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48936 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48937 and __x86_64_raw_shared_cache_size_half. Round
48938 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48939 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48940 to multiple of 256 bytes.
48942 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48945 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48946 of inacessible symlinks. Verify result of symlink before returning it.
48947 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48948 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48950 2010-10-28 Erich Ritz <erichritz@gmail.com>
48952 * math/math.h (isinf): Fix typo in comment.
48954 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48956 * po/da.po: Update from translation team.
48958 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48960 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48961 is added to the list.
48963 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48964 Ulrich Drepper <drepper@gmail.com>
48966 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48967 the global list here. Move code to...
48968 (_dl_add_to_namespace_list): ...here. New function.
48969 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48970 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48971 * elf/dl-load.c (lose): Don't remove the element from the list.
48972 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48973 (_dl_map_object): Likewise.
48975 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48978 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48979 into all bytes of SSE register.
48980 Patch by Richard Li <richardpku@gmail.com>.
48982 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48985 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48988 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48990 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48991 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48992 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48993 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48998 2010-10-22 Andreas Schwab <schwab@redhat.com>
49000 * include/dlfcn.h (__RTLD_SECURE): Define.
49001 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49002 mode & __RTLD_SECURE instead.
49003 (open_path): Rename preloaded parameter to secure.
49004 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49005 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49006 * elf/dl-deps.c (openaux): Likewise.
49007 * elf/rtld.c (struct map_args): Remove is_preloaded.
49008 (map_doit): Don't use it.
49009 (dl_main): Likewise.
49010 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49011 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49013 2010-09-09 Andreas Schwab <schwab@redhat.com>
49015 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49016 (sysd-rules-targets): Remove duplicates.
49017 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49018 rtld-%.$o dependency.
49020 2010-10-18 Andreas Schwab <schwab@redhat.com>
49022 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49023 _dl_map_object do it.
49025 2010-10-19 Ulrich Drepper <drepper@gmail.com>
49027 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49028 fast fma builtins, define the macros in the C99 standard.
49029 (FP_FAST_FMAF): Likewise.
49030 (FP_FAST_FMAL): Likewise.
49031 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49033 * bits/mathdef.h: Update copyright year.
49034 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49036 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49038 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49039 builtins, define the macros in the C99 standard.
49040 (FP_FAST_FMAF): Likewise.
49041 (FP_FAST_FMAL): Likewise.
49042 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49044 (FP_FAST_FMAF): Likewise.
49046 2010-10-15 Jakub Jelinek <jakub@redhat.com>
49049 * math/libm-test.inc (fma_test): Some new testcases.
49050 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49051 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49052 y and infinite z. Do multiplication by C already in long double.
49053 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49054 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49055 y and infinite z. Do bitwise or of inexact bit into u.d.
49056 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49057 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49058 * sysdeps/i386/fpu/s_fma.S: Removed.
49059 * sysdeps/i386/fpu/s_fmal.S: Removed.
49061 2010-10-16 Jakub Jelinek <jakub@redhat.com>
49064 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49065 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49066 computation is not scheduled after fetestexcept. Fix value
49067 of minimum denormal long double.
49069 2010-10-14 Jakub Jelinek <jakub@redhat.com>
49072 * math/libm-test.inc (fma_test): Add some more tests.
49073 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49076 2010-10-15 Andreas Schwab <schwab@redhat.com>
49078 * scripts/data/localplt-s390-linux-gnu.data: New file.
49079 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49081 2010-10-13 Jakub Jelinek <jakub@redhat.com>
49084 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49085 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49087 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49089 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49090 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49091 if one of x and y is very large and the other is subnormal.
49092 * sysdeps/s390/fpu/s_fmaf.c: New file.
49093 * sysdeps/s390/fpu/s_fma.c: New file.
49094 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49095 * sysdeps/powerpc/fpu/s_fma.S: New file.
49096 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49097 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49098 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49100 2010-10-12 Jakub Jelinek <jakub@redhat.com>
49103 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49105 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49106 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49107 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49108 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49109 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49110 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49111 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49113 2010-10-12 Ulrich Drepper <drepper@redhat.com>
49116 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49117 * posix/bug-regex31.input: Add test case.
49119 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49121 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49122 * posix/bug-regex31.input: New file.
49125 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49126 (parse_sub_exp): Fix last change, use postorder.
49128 * posix/bug-regex31.c: New file.
49129 * posix/Makefile: Add rules to build and run bug-regex31.
49131 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49134 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49137 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49138 to have entries in sys_siglist.
49141 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49144 2010-10-07 Jakub Jelinek <jakub@redhat.com>
49147 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49148 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49149 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49150 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49151 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49152 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49153 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49154 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49155 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49156 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49157 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49158 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49159 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49160 * math/ftestexcept.c (fetestexcept): Likewise.
49161 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49162 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49163 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49164 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49165 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49166 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49167 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49169 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49172 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49175 2010-10-06 Ulrich Drepper <drepper@gmail.com>
49177 * string/bug-strstr1.c: New file.
49178 * string/Makefile: Add rules to build and run bug-strstr1.
49180 2010-10-05 Eric Blake <eblake@redhat.com>
49183 * string/str-two-way.h (two_way_long_needle): Always clear memory
49184 when skipping input due to the shift table.
49186 2010-10-03 Ulrich Drepper <drepper@gmail.com>
49189 * malloc/mcheck.c: Handle large requests.
49192 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49193 for strncmp and strncasecmp.
49194 * string/stratcliff.c: Add tests for strcmp and strncmp.
49195 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49197 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49199 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49202 2010-09-30 Andreas Jaeger <aj@suse.de>
49204 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49205 (CGROUP_SUPER_MAGIC): Define.
49206 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49207 Handle btrfs and cgroup file systems.
49208 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49211 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
49213 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49214 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49216 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49219 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49220 trying to locate the ELF header.
49222 2010-09-27 Andreas Schwab <schwab@redhat.com>
49225 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49226 Mask out sign-bit copies when constructing f_fsid.
49228 2010-09-24 Petr Baudis <pasky@suse.cz>
49230 * debug/stack_chk_fail_local.c: Add missing licence exception.
49231 * debug/warning-nop.c: Likewise.
49233 2010-09-15 Joseph Myers <joseph@codesourcery.com>
49235 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49236 implementing getdents64 using getdents syscall, set d_type if
49237 __ASSUME_GETDENTS32_D_TYPE.
49239 2010-09-16 Andreas Schwab <schwab@redhat.com>
49241 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49242 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49244 2010-09-21 Ulrich Drepper <drepper@redhat.com>
49247 * posix/unistd.h: Undo change of feature selection for ftruncate from
49250 2010-09-20 Ulrich Drepper <drepper@redhat.com>
49252 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49255 2010-09-20 Andreas Schwab <schwab@redhat.com>
49257 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49259 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49261 2010-09-14 Andreas Schwab <schwab@redhat.com>
49263 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49264 variables after CHECK_SP call.
49265 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49267 2010-09-13 Andreas Schwab <schwab@redhat.com>
49268 Ulrich Drepper <drepper@redhat.com>
49270 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49271 re-relocationg ld.so.
49272 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49273 _dl_init_paths call.
49274 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49277 2010-09-14 Ulrich Drepper <drepper@redhat.com>
49279 * resolv/res_init.c (__res_vinit): Count the default server we added.
49281 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49282 Ulrich Drepper <drepper@redhat.com>
49285 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49286 (____longjmp_chk): Use %ebx for saving value across system call.
49289 2010-09-06 Andreas Schwab <schwab@redhat.com>
49291 * manual/Makefile: Don't mix pattern rules with normal rules.
49293 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49295 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49297 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49298 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49299 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49300 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49301 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49304 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49307 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49308 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49310 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49312 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49313 * sysdeps/x86_64/addmul_1.S: Likewise.
49314 * sysdeps/x86_64/lshift.S: Likewise.
49315 * sysdeps/x86_64/mul_1.S: Likewise.
49316 * sysdeps/x86_64/rshift.S: Likewise.
49317 * sysdeps/x86_64/sub_n.S: Likewise.
49318 * sysdeps/x86_64/submul_1.S: Likewise.
49320 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49322 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49323 Define __sched_param instead of SCHED_* and sched_param when
49324 <bits/sched.h> is included with __need_schedparam defined.
49325 * bits/sched.h [__need_schedparam]
49326 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49327 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49328 (__defined_schedparam): Define to 1.
49329 (__sched_param): New structure, identical to sched_param.
49330 (__need_schedparam): Undefine.
49332 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49334 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49335 (epoll_create1): Declare.
49337 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49339 2010-08-31 Andreas Schwab <schwab@redhat.com>
49342 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49343 shifting retval into place.
49345 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49347 * nis/rpcsvc/nis.h: Update copyright notice.
49348 * nis/rpcsvc/nis.x: Likewise.
49349 * nis/rpcsvc/nis_callback.h: Likewise.
49350 * nis/rpcsvc/nis_callback.x: Likewise.
49351 * nis/rpcsvc/nis_object.x: Likewise.
49352 * nis/rpcsvc/nis_tags.h: Likewise.
49353 * nis/rpcsvc/yp.h: Likewise.
49354 * nis/rpcsvc/yp.x: Likewise.
49355 * nis/rpcsvc/ypupd.h: Likewise.
49356 * nis/yp_xdr.c: Likewise.
49357 * nis/ypupdate_xdr.c: Likewise.
49359 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49360 mainly the body of pmap_getport. Add parameters to specify timeouts.
49361 (pmap_getport): Use __libc_rpc_getport.
49362 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49363 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49364 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49366 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49371 2010-08-27 Roland McGrath <roland@redhat.com>
49373 * sysdeps/i386/i686/multiarch/Makefile
49374 (CFLAGS-varshift.c): New variable.
49376 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49378 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49379 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49381 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49383 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49385 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49387 * sysdeps/x86_64/strlen.S: Unroll the loop.
49388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49389 strlen-sse2 strlen-sse2-bsf.
49390 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49391 __strlen_no_bsf if bit_Slow_BSF is set.
49392 (__strlen_sse42): Removed.
49393 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49394 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49396 2010-08-25 Roland McGrath <roland@redhat.com>
49398 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49399 * sysdeps/x86_64/multiarch/varshift.c: New file.
49400 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49401 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49402 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49403 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49405 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49407 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49408 strlen-sse2 strlen-sse2-bsf.
49409 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49410 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49411 (__strlen_sse2): Removed.
49412 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49413 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49415 bit_Slow_BSF for Atom.
49416 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49417 (index_Slow_BSF): Define.
49418 (HAS_SLOW_BSF): Define.
49420 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49423 * resolv/res_init.c (__res_vinit): When no server address at all
49424 is given default to loopback.
49426 2010-08-24 Roland McGrath <roland@redhat.com>
49428 * configure.in: Remove config-name.h generation.
49429 * configure: Regenerated.
49430 * config-name.in: File removed.
49431 * scripts/config-uname.sh: New file.
49432 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49433 ($(objdir)config-name.h): New target.
49435 * sunrpc/rpc_parse.h: Avoid nested comment.
49437 2010-08-24 Richard Henderson <rth@redhat.com>
49438 Ulrich Drepper <drepper@redhat.com>
49439 H.J. Lu <hongjiu.lu@intel.com>
49441 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49442 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49443 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49444 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49445 _mm_alignr_epi8 with _mm_loadu_si128.
49446 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49447 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49448 (__m128i_shift_right): Removed.
49449 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49450 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49451 * sysdeps/x86_64/multiarch/varshift.h: New file.
49452 * sysdeps/x86_64/multiarch/varshift.S: New file.
49454 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49456 * configure.in: Move assembler checks to before sysdep dir checking.
49458 2010-08-20 Petr Baudis <pasky@suse.cz>
49460 * LICENSES: Sync the sunrpc license.
49462 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49464 * sunrpc/auth_des.c: Update copyright notice once again.
49465 * sunrpc/auth_none.c: Likewise.
49466 * sunrpc/auth_unix.c: Likewise.
49467 * sunrpc/authdes_prot.c: Likewise.
49468 * sunrpc/authuxprot.c: Likewise.
49469 * sunrpc/bindrsvprt.c: Likewise.
49470 * sunrpc/clnt_gen.c: Likewise.
49471 * sunrpc/clnt_perr.c: Likewise.
49472 * sunrpc/clnt_raw.c: Likewise.
49473 * sunrpc/clnt_simp.c: Likewise.
49474 * sunrpc/clnt_tcp.c: Likewise.
49475 * sunrpc/clnt_udp.c: Likewise.
49476 * sunrpc/clnt_unix.c: Likewise.
49477 * sunrpc/des_crypt.c: Likewise.
49478 * sunrpc/des_soft.c: Likewise.
49479 * sunrpc/get_myaddr.c: Likewise.
49480 * sunrpc/getrpcport.c: Likewise.
49481 * sunrpc/key_call.c: Likewise.
49482 * sunrpc/key_prot.c: Likewise.
49483 * sunrpc/openchild.c: Likewise.
49484 * sunrpc/pm_getmaps.c: Likewise.
49485 * sunrpc/pm_getport.c: Likewise.
49486 * sunrpc/pmap_clnt.c: Likewise.
49487 * sunrpc/pmap_prot.c: Likewise.
49488 * sunrpc/pmap_prot2.c: Likewise.
49489 * sunrpc/pmap_rmt.c: Likewise.
49490 * sunrpc/rpc/auth.h: Likewise.
49491 * sunrpc/rpc/auth_unix.h: Likewise.
49492 * sunrpc/rpc/clnt.h: Likewise.
49493 * sunrpc/rpc/des_crypt.h: Likewise.
49494 * sunrpc/rpc/key_prot.h: Likewise.
49495 * sunrpc/rpc/netdb.h: Likewise.
49496 * sunrpc/rpc/pmap_clnt.h: Likewise.
49497 * sunrpc/rpc/pmap_prot.h: Likewise.
49498 * sunrpc/rpc/pmap_rmt.h: Likewise.
49499 * sunrpc/rpc/rpc.h: Likewise.
49500 * sunrpc/rpc/rpc_des.h: Likewise.
49501 * sunrpc/rpc/rpc_msg.h: Likewise.
49502 * sunrpc/rpc/svc.h: Likewise.
49503 * sunrpc/rpc/svc_auth.h: Likewise.
49504 * sunrpc/rpc/types.h: Likewise.
49505 * sunrpc/rpc/xdr.h: Likewise.
49506 * sunrpc/rpc_clntout.c: Likewise.
49507 * sunrpc/rpc_cmsg.c: Likewise.
49508 * sunrpc/rpc_common.c: Likewise.
49509 * sunrpc/rpc_cout.c: Likewise.
49510 * sunrpc/rpc_dtable.c: Likewise.
49511 * sunrpc/rpc_hout.c: Likewise.
49512 * sunrpc/rpc_main.c: Likewise.
49513 * sunrpc/rpc_parse.c: Likewise.
49514 * sunrpc/rpc_parse.h: Likewise.
49515 * sunrpc/rpc_prot.c: Likewise.
49516 * sunrpc/rpc_sample.c: Likewise.
49517 * sunrpc/rpc_scan.c: Likewise.
49518 * sunrpc/rpc_scan.h: Likewise.
49519 * sunrpc/rpc_svcout.c: Likewise.
49520 * sunrpc/rpc_tblout.c: Likewise.
49521 * sunrpc/rpc_util.c: Likewise.
49522 * sunrpc/rpc_util.h: Likewise.
49523 * sunrpc/rpcinfo.c: Likewise.
49524 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49525 * sunrpc/rpcsvc/key_prot.x: Likewise.
49526 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49527 * sunrpc/rpcsvc/mount.x: Likewise.
49528 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49529 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49530 * sunrpc/rpcsvc/rex.x: Likewise.
49531 * sunrpc/rpcsvc/rstat.x: Likewise.
49532 * sunrpc/rpcsvc/rusers.x: Likewise.
49533 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49534 * sunrpc/rpcsvc/spray.x: Likewise.
49535 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49536 * sunrpc/rtime.c: Likewise.
49537 * sunrpc/svc.c: Likewise.
49538 * sunrpc/svc_auth.c: Likewise.
49539 * sunrpc/svc_authux.c: Likewise.
49540 * sunrpc/svc_raw.c: Likewise.
49541 * sunrpc/svc_run.c: Likewise.
49542 * sunrpc/svc_simple.c: Likewise.
49543 * sunrpc/svc_tcp.c: Likewise.
49544 * sunrpc/svc_udp.c: Likewise.
49545 * sunrpc/svc_unix.c: Likewise.
49546 * sunrpc/svcauth_des.c: Likewise.
49547 * sunrpc/xcrypt.c: Likewise.
49548 * sunrpc/xdr.c: Likewise.
49549 * sunrpc/xdr_array.c: Likewise.
49550 * sunrpc/xdr_float.c: Likewise.
49551 * sunrpc/xdr_mem.c: Likewise.
49552 * sunrpc/xdr_rec.c: Likewise.
49553 * sunrpc/xdr_ref.c: Likewise.
49554 * sunrpc/xdr_sizeof.c: Likewise.
49555 * sunrpc/xdr_stdio.c: Likewise.
49557 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49560 2010-08-19 Andreas Schwab <schwab@redhat.com>
49562 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49564 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49566 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49567 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49568 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49569 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49570 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49571 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49572 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49573 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49574 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49575 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49576 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49577 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49578 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49579 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49581 2010-07-26 Anton Blanchard <anton@samba.org>
49583 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49584 * malloc/arena.c (heap_trim): Likewise.
49586 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49588 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49590 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49591 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49593 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49595 * sysdeps/i386/elf/Makefile: New file.
49597 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49599 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49600 from fanotify_init.
49601 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49602 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49604 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49606 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49608 * sysdeps/multiarch/strcmp.S: Likewise.
49610 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49612 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49613 strncase_l-nonascii.
49614 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49615 Add strncase_l-ssse3.
49616 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49617 * sysdeps/x86_64/strcmp.S: Likewise.
49618 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49619 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49620 * sysdeps/x86_64/strncase.S: New file.
49621 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49622 * sysdeps/x86_64/strncase_l.S: New file.
49623 * string/Makefile (strop-tests): Add strncasecmp.
49624 * string/test-strncasecmp.c: New file.
49626 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49629 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49630 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49632 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49634 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49636 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49638 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49639 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49640 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49642 2010-05-01 Alan Modra <amodra@gmail.com>
49644 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49645 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49646 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49647 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49648 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49649 tidying. Don't tail-call __sigjmp_save for static lib.
49650 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49652 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49653 (CALL_MCOUNT): Add eh info, and nop after bl.
49654 (TAIL_CALL_SYSCALL_ERROR): New macro.
49655 (PSEUDO_RET): Use it.
49656 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49657 Correct save location of integer regs and cr.
49658 (_dl_profile_resolve): Correct cr save location. Delete nops
49659 after bl when SHARED. Reduce cfi size a little by better
49660 placement of cfi directives.
49661 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49662 make a stack frame. Instead use parm save area as a temp.
49663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49664 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49666 Don't make a stack frame for parent, use parm save area.
49667 Increase child stack frame to 112 bytes. Don't save unused reg,
49668 and adjust reg usage. Set up cfi on error recovery and
49669 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49671 (__makecontext): Add dummy nop after jump to exit.
49672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49673 Use correct parm save area and cr save, reduce stack frame.
49674 Correct cfi for possible PSEUDO_RET frame setup.
49675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49676 Branch to local label emitted by PSEUDO_RET rather than
49679 2010-08-12 Andreas Schwab <schwab@redhat.com>
49682 * locale/programs/locale.c (print_assignment): New function.
49683 (show_locale_vars): Use it.
49685 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49687 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49689 (struct statfs64): Likewise.
49690 (_STATFS_F_FLAGS): Define.
49691 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49692 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49693 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49694 (ST_VALID): Define locally.
49695 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49696 __statvfs_getflags, use the provided value.
49697 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49698 __ASSUME_STATFS_F_FLAGS.
49700 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49702 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49703 Add sys/fanotify.h.
49704 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49705 fanotify_mask for GLIBC_2.13.
49706 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49707 fanotify_init and fanotify_mark.
49708 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49709 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49711 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49713 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49714 prlimit64 for GLIBC_2.13.
49715 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49717 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49720 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49721 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49722 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49723 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49725 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49728 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49729 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49731 * nss/Makefile: Add rules to build and run tst-nss-test1.
49732 * shlib-versions: Add entry for libnss_test1.
49733 * nss/nss_test1.c: New file.
49734 * nss/tst-nss-test1.c: New file.
49736 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49737 (__nss_configure_lookup): Set appropriate entry in
49738 __nss_configure_lookup to true.
49739 * nss/nsswitch.h: Define enum with indeces of databases in
49740 databases and __nss_database_custom arrays. Declare
49741 __nss_database_custom.
49742 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49743 to avoid using nscd when custom rules are installed.
49744 * nss/getXXbyYY_r.c: Likewise.
49745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49747 * nss/nss_files/files-parse.c: Whitespace fixes.
49749 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49752 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49753 * posix/fnmatch_loop.c: Likewise.
49755 2010-07-17 Andi Kleen <ak@linux.intel.com>
49757 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49758 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49759 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49760 * Versions.def [GLIBC_2.13]: Add.
49762 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49764 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49765 Also fail if tpwd after pwuid call is NULL.
49767 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49769 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49770 when converting to ms.
49772 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49774 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49775 EOPNOTSUPP errors with ENOTTY.
49776 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49777 EOPNOTSUPP errors with ENOTTY.
49779 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49781 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49782 Add strcasecmp_l-ssse3.
49783 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49785 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49786 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49787 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49789 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49791 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49793 * string/Makefile (strop-tests): Add strcasecmp.
49794 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49795 strcasecmp_l-nonascii.
49796 (gen-as-const-headers): Add locale-defines.sym.
49797 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49798 * sysdeps/x86_64/strcasecmp.S: New file.
49799 * sysdeps/x86_64/strcasecmp_l.S: New file.
49800 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49801 * sysdeps/x86_64/locale-defines.sym: New file.
49802 * string/test-strcasecmp.c: New file.
49804 * string/test-strcasestr.c: Test both ends of the range of characters.
49805 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49807 2010-07-29 Roland McGrath <roland@redhat.com>
49810 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49812 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49814 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49817 2010-07-27 Andreas Schwab <schwab@redhat.com>
49819 * manual/memory.texi (Malloc Tunable Parameters): Document
49822 2010-07-26 Roland McGrath <roland@redhat.com>
49825 * configure.in (-fgnu89-inline check): Set and substitute
49826 gnu89_inline, not libc_cv_gnu89_inline.
49827 * configure: Regenerated.
49828 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49830 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49832 * string/test-strnlen.c: New file.
49833 * string/Makefile (strop-tests): Add strnlen.
49834 * string/tester.c (test_strnlen): Add a few more test cases.
49835 * string/tst-strlen.c: Better error reporting.
49837 * sysdeps/x86_64/strnlen.S: New file.
49839 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49841 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49842 lower-latency instructions.
49844 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49846 * string/test-strcasestr.c: New file.
49847 * string/test-strstr.c: New file.
49848 * string/Makefile (strop-tests): Add strstr and strcasestr.
49849 * string/str-two-way.h: Don't undefine MAX.
49850 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49852 2010-07-21 Andreas Schwab <schwab@redhat.com>
49854 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49855 strcasestr-nonascii.
49856 (CFLAGS-strcasestr-nonascii.c): Define.
49857 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49858 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49859 Remove unused attribute.
49861 2010-07-20 Roland McGrath <roland@redhat.com>
49863 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49864 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49865 ld.so.cache was broken. With it, there is no way to disable dsocaps
49866 like LD_HWCAP_MASK can disable hwcaps.
49868 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49870 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49872 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49874 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49875 call in strcasestr.
49876 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49877 __strcasestr_sse42_nonascii.
49878 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49879 strcasestr-nonascii.c.
49880 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49882 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49884 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49885 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49886 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49887 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49889 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49891 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49894 2010-07-06 Andreas Schwab <schwab@redhat.com>
49897 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49900 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49902 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49903 _PC_PIPE_BUF using F_GETPIPE_SZ.
49905 2010-07-05 Roland McGrath <roland@redhat.com>
49907 * manual/arith.texi (Rounding Functions): Fix rint description
49908 implicit in round description.
49910 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49912 * elf/Makefile: Fix linking for a few tests to make recent linker
49915 2010-06-30 Andreas Schwab <schwab@redhat.com>
49917 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49918 $(common-objpfx)libc_nonshared.a.
49920 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49922 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49923 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49924 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49925 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49926 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49927 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49928 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49929 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49944 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49945 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49946 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49947 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49948 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49949 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49950 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49951 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49952 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49953 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49954 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49955 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49971 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49973 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49974 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49975 * string/memmove.c (memmove): Renamed to ...
49976 (MEMMOVE): ...this. Default to memmove.
49977 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49978 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49980 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49981 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49982 mempcpy-ssse3-back memmove-ssse3-back.
49983 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49984 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49985 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49986 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49987 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49988 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49989 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49990 * sysdeps/x86_64/multiarch/memmove.c: New file.
49991 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49992 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49993 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49994 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49995 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49996 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49998 (index_Fast_Copy_Backward): Define.
49999 (HAS_ARCH_FEATURE): Define.
50000 (HAS_FAST_REP_STRING): Define.
50001 (HAS_FAST_COPY_BACKWARD): Define.
50003 2010-06-21 Andreas Schwab <schwab@redhat.com>
50005 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50006 Restore proper fallback handling.
50008 2010-06-19 Ulrich Drepper <drepper@redhat.com>
50011 * posix/group_member.c (__group_member): Correct checking loop.
50013 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50014 OOM in getpwuid_r correctly. Return error number when the caller
50015 should return, otherwise -1.
50016 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50017 call returning > 0 value.
50018 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50020 2010-06-07 Andreas Schwab <schwab@redhat.com>
50022 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50023 libc_nonshared.a from targets in modules-names.
50025 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50027 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50030 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
50032 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50033 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50034 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50035 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50037 2010-06-02 Andreas Schwab <schwab@redhat.com>
50039 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50041 2010-06-14 Ulrich Drepper <drepper@redhat.com>
50043 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50045 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50046 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50047 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50048 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50049 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50050 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50052 2010-06-14 Roland McGrath <roland@redhat.com>
50054 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50056 2010-06-07 Jakub Jelinek <jakub@redhat.com>
50058 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50059 __REDIRECT followed by __THROW.
50060 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50061 * posix/getopt.h (getopt): Likewise.
50063 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50065 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50066 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50067 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50069 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50070 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50072 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
50074 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50076 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50080 Properly check family and model.
50082 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50084 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50086 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
50088 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50090 2010-05-21 Ulrich Drepper <drepper@redhat.com>
50092 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50095 2010-05-19 Andreas Schwab <schwab@redhat.com>
50097 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50100 2010-05-21 Andreas Schwab <schwab@redhat.com>
50102 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50103 and internal_recvmmsg.
50104 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50105 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50106 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50107 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50109 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50110 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50111 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50113 2010-05-20 Andreas Schwab <schwab@redhat.com>
50115 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50117 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
50119 POWER7 optimizations.
50120 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50121 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50123 2010-05-19 Ulrich Drepper <drepper@redhat.com>
50125 * version.h: Update for 2.13 development version.
50127 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
50129 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50130 exceptions. Return 0.
50132 2010-05-07 Roland McGrath <roland@redhat.com>
50134 * elf/ldconfig.c (main): Add a const.
50136 2010-05-06 Ulrich Drepper <drepper@redhat.com>
50138 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50139 (args_options): Add no-idn option.
50140 (ahosts_keys_int): Add idn_flags to ai_flags.
50141 (parse_option): Handle 'i' option to clear idn_flags.
50143 * malloc/malloc.c (_int_free): Possible race in the most recently
50144 added check. Only act on the data if no current modification
50147 See ChangeLog.17 for earlier changes.