1 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4 (UDP_NO_CHECK6_RX): Likewise.
6 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8 * sysdeps/posix/sysconf.c (__sysconf): Spell
9 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11 2014-08-12 Florian Weimer <fweimer@redhat.com>
13 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15 * iconv/Versions (__gconv_transliterate): Export for use from
17 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
18 (struct __gconv_trans_data, __gconv_trans_fct,
19 __gconv_trans_context_fct, __gconv_trans_query_fct,
20 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
22 (struct __gconv_step_data): Remove __trans member.
23 (__gconv_transliterate): Declaration moved from gconv_int.h. No
24 longer hidden. Remove unused trans_data argument.
25 * iconv/gconv_int.h (struct trans_struct): Remove definition.
26 (__gconv_translit_find): Remove declaration.
27 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
29 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
31 trans_data argument. Add hidden definition.
32 (__gconv_translit_find): Remove.
33 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
34 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35 * iconv/skeleton.c: Remove transliteration initialization.
36 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
37 __gconv_step_data initialization.
38 * libio/iofwide.c (__libio_translit_): Remove.
39 (_IO_fwide): Adjust struct __gconv_step_data initialization.
40 * wcsmbs/btowc.c (__btowc): Likewise.
41 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
44 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
45 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
47 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
48 * wcsmbs/wctob.c (wctob): Likewise.
50 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
53 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
54 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
56 * sysdeps/x86/Makefile: Adjust.
58 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
59 Roland McGrath <roland@hack.frob.com>
61 * locale/weight.h: Add include guard.
62 (findidx): Make static rather than auto; take new parameters
63 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
64 * locale/weightwc.h: Likewise.
65 * posix/fnmatch_loop.c
66 (FCT): Change type of EXTRA from int32_t to wint_t.
67 Don't include either header inside the function.
68 Call FINDIDX rather than findidx, and pass new arguments.
69 #undef FINDIDX at the end of the file.
70 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
71 FINDIDX before including fnmatch_loop.c for the non-wide version.
72 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
73 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
75 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
76 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
77 Pass new arguments to findidx.
78 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
79 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
80 Don't #include it inside the function. Pass new arguments to findidx.
81 * posix/regex_internal.h
82 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
83 (re_string_elem_size_at): Don't #include it inside the function.
84 Pass new arguments to findidx.
85 * string/strcoll_l.c: #include WEIGHT_H at top level.
86 (get_next_seq): Don't #include it inside the function.
87 Pass new arguments to findidx.
88 (get_next_seq_nocache): Likewise.
89 * string/strxfrm_l.c: #include WEIGHT_H at top level.
90 (STRXFRM): Don't #include it inside the function.
91 Pass new arguments to findidx.
93 2014-09-11 Florian Weimer <fweimer@redhat.com>
96 * malloc/malloc.c (unlink): Turn asserts into a call to
99 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
102 * libio/wfileops (do_ftell_wide): Free OUT.
104 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
106 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
108 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
111 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
112 group if the current group is empty.
114 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
116 * benchtests/bench-memset.c (test_main): Add more test from size
117 from 32 to 512 bytes.
118 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
119 Add POWER8 memset object.
120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
121 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
122 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
124 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
126 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
127 multiarch POWER8 memset optimization.
128 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
129 POWER8 memset optimization.
131 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
132 Remove bzero multiarch objects.
133 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
134 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
135 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
136 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
138 [__bzero]: Redefine to specific name.
139 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
140 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
141 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
143 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
144 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
146 2014-09-10 Florian Weimer <fweimer@redhat.com>
148 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
149 warnings into errors.
151 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
152 __cxa_thread_atexit_impl prototype.
154 2014-09-09 Steve Ellcey <sellcey@mips.com>
156 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
157 Fix capitalization of error message.
159 2014-09-09 Steve Ellcey <sellcey@mips.com>
161 * sysdeps/mips/preconfigure: Modify ABI tests.
163 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
165 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
167 2014-09-07 Roland McGrath <roland@hack.frob.com>
168 Carlos O'Donell <carlos@systemhalted.org>
170 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
171 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
172 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
173 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
174 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
175 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
176 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
177 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
178 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
179 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
180 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
181 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
182 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
183 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
184 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
185 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
186 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
187 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
188 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
189 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
190 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
191 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
192 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
193 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
194 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
195 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
196 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
197 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
198 Deconditionalize the code that was previously under [RESET_PID].
199 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
200 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
201 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
202 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
205 2014-09-08 Allan McRae <allan@archlinux.org>
207 * version.h (RELEASE): Set to "development".
208 (VERSION): Set to "2.20.90"
210 2014-09-07 Allan McRae <allan@archlinux.org
212 * version.h (RELEASE): Set to "stable".
213 (VERSION): Set to "2.20"
214 * include/features.h (__GLIBC_MINOR__): Set to 20.
216 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
219 * po/ko.po: Update Korean translation from translation project.
221 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
224 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
225 macro for handling signed relocations.
227 2014-09-03 Florian Weimer <fweimer@redhat.com>
230 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
231 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
233 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
234 * iconvdata/ibm935.c (BODY): Likewise.
235 * iconvdata/ibm937.c (BODY): Likewise.
236 * iconvdata/ibm939.c (BODY): Likewise.
237 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
239 * iconvdata/Makefile (iconv-test.out): Pass module list to test
241 * iconvdata/run-iconv-test.sh: New test loop for checking for
244 2014-09-02 Khem Raj <raj.khem@gmail.com>
246 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
249 2014-09-01 Allan McRae <allan@archlinux.org>
251 * po/eo.po: Update Esperanto translation from translation project.
253 * po/ca.po: Update Catalan translation from translation project.
255 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
257 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
260 2014-08-27 Mark Wielaard <mjw@redhat.com>
263 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
264 to call set_thread_area instead of hand written asm.
265 (__NR_set_thread_area): Removed define.
266 (TLS_FLAG_WRITABLE): Likewise.
267 (__ASSUME_SET_THREAD_AREA): Remove check.
268 (TLS_EBX_ARG): Remove define.
269 (TLS_LOAD_EBX): Likewise.
271 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
273 Simplify atomicity of socket creation in bind.
275 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
276 looking up the name after linking the file.
278 2014-08-27 Allan McRae <allan@archlinux.org>
280 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
282 2014-08-26 Florian Weimer <fweimer@redhat.com>
285 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
286 trans_compare, open_translit, __gconv_translit_find):
287 Remove module loading code.
289 2014-08-26 Allan McRae <allan@archlinux.org>
291 * po/vi.po: Update Vietnamese translation from translation project.
293 * po/uk.po: Update Ukrainian translation from translation project.
295 * po/fr.po: Update French translation from translation project.
297 * po/ru.po: Update Russian translation from translation project.
299 * po/pl.po: Update Polish translation from translation project.
301 * po/cs.po: Update Czech translation from translation project.
303 * po/de.po: Update German translation from translation project.
305 * po/bg.po: Update Bulgarian translation from translation project.
307 * po/sv.po: Update Sweedish translation from translation project.
309 * po/nl.po: Update Dutch translation from translation project.
311 * po/es.po: Update Spanish translation from translation project.
313 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
315 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
317 * catgets/Makefile (CPPFLAGS-gencat): Remove.
318 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
319 (CPPFLAGS-iconvconfig): Likewise.
320 * timezone/Makefile (CPPFLAGS-zic): Likewise.
322 * include/libc-symbols.h: Remove unnecessary check for
324 * nptl/pthreadP.h: Likewise.
325 * sysdeps/aarch64/setjmp.S: Likewise.
326 * sysdeps/alpha/setjmp.S: Likewise.
327 * sysdeps/arm/sysdep.h: Likewise.
328 * sysdeps/i386/setjmp.S: Likewise.
329 * sysdeps/m68k/setjmp.c: Likewise.
330 * sysdeps/posix/getcwd.c: Likewise.
331 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
332 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
333 * sysdeps/s390/s390-32/setjmp.S: Likewise.
334 * sysdeps/s390/s390-64/setjmp.S: Likewise.
335 * sysdeps/sh/sh3/setjmp.S: Likewise.
336 * sysdeps/sh/sh4/setjmp.S: Likewise.
337 * sysdeps/unix/alpha/sysdep.h: Likewise.
338 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
339 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
340 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
341 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
344 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
345 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
346 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
347 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
348 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
349 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
350 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
351 * sysdeps/x86_64/setjmp.S: Likewise.
353 2014-08-13 Joseph Myers <joseph@codesourcery.com>
356 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
358 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
359 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
361 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
363 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
366 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
367 and __x86_64__ when disabling x87 inline functions.
369 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
372 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
373 asm statement with __cpuid_count.
375 2014-08-12 Mike Frysinger <vapier@gentoo.org>
377 * configure.ac: Change __ehdr_start code to dereference the struct.
378 Run readelf on the output to look for relocations.
379 * configure: Regenerated.
381 2014-08-12 Joseph Myers <joseph@codesourcery.com>
384 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
386 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
388 2014-08-12 Roland McGrath <roland@hack.frob.com>
390 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
392 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
395 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
396 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
398 2014-08-12 Sean Anderson <seanga2@gmail.com>
400 * malloc/malloc.c: Fix typo in comment.
402 2014-08-09 Allan McRae <allan@archlinux.org>
404 * Regenerate libc.po.
406 2014-08-08 Mike Frysinger <vapier@gentoo.org>
408 * intl/tst-gettext2.sh: Check every lang file for creation.
410 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
412 * sysdeps/aarch64/fpu/math_private.h
413 (libc_feholdsetround_noex_aarch64_ctx): New function.
415 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
417 * sysdeps/arm/armv6/strcpy.S (strcpy):
418 Fix performance issue in misaligned cases.
420 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
422 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
423 Move definition from termios.h.
424 (struct termio): Likewise.
425 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
426 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
427 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
428 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
430 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
431 Move definition to ioctl-types.h
432 (struct termio): Likewise.
433 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
434 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
435 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
436 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
439 2014-08-05 Richard Henderson <rth@redhat.com>
441 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
443 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
445 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
447 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
448 Protect libm symbols with IS_IN_libm.
450 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
452 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
454 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
456 2014-08-04 Will Newton <will.newton@linaro.org>
458 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
461 2014-08-04 Mike Frysinger <vapier@gentoo.org>
463 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
464 variants for each function.
466 2014-08-04 Roland McGrath <roland@hack.frob.com>
468 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
470 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
471 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
473 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
474 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
475 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
476 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
477 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
478 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
479 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
480 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
481 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
482 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
483 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
484 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
485 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
486 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
487 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
488 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
489 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
490 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
491 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
492 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
493 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
494 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
495 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
496 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
497 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
498 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
499 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
500 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
501 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
502 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
503 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
504 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
505 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
506 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
507 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
508 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
509 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
510 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
511 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
512 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
513 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
514 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
515 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
516 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
517 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
518 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
519 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
520 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
521 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
522 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
523 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
524 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
525 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
527 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
528 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
530 2014-08-04 Roland McGrath <roland@hack.frob.com>
532 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
533 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
534 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
535 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
536 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
537 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
539 2014-08-04 Roland McGrath <roland@hack.frob.com>
541 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
542 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
543 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
544 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
546 2014-08-04 Roland McGrath <roland@hack.frob.com>
548 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
549 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
550 (__libc_vfork): Define function under this name.
551 (__vfork): Define as an alias.
552 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
553 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
555 2014-08-04 Roland McGrath <roland@hack.frob.com>
557 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
558 that was previously under [RESET_PID].
559 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
561 2014-08-04 Andreas Schwab <schwab@suse.de>
563 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
565 2014-08-03 Mike Frysinger <vapier@gentoo.org>
567 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
570 2014-08-01 Roland McGrath <roland@hack.frob.com>
572 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
574 2014-08-01 Richard Henderon <rth@redhat.com>
576 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
577 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
578 typo in exact zero test.
579 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
580 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
581 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
583 2014-08-01 Roland McGrath <roland@hack.frob.com>
585 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
586 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
587 * sysdeps/arm/sysdep.h: ... here.
588 [!__ASSEMBLER__]: Include <stdint.h>.
590 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
592 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
593 (HAVE_WCTYPE_H): Likewise.
594 (HAVE_ISWCTYPE): Likewise.
595 (ENABLE_NLS): Likewise.
596 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
597 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
599 * posix/regex_internal.c: Check if DEBUG is defined and is
602 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
603 (HAVE_MBSRTOWCS): Likewise.
604 * posix/fnmatch.c: Include string.h unconditionally.
606 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
608 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
611 2014-07-31 Roland McGrath <roland@hack.frob.com>
613 * sysdeps/generic/safe-fatal.h: New file.
614 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
615 * nptl/forward.c: Include it.
616 (__pthread_unwind): Use __safe_fatal as default action, rather
617 than a bogus use of INTERNAL_SYSCALL that could never work.
619 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
620 * configure.ac (libc_cv_builtin_trap): New test.
621 * configure: Regenerated.
622 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
623 (ABORT_INSTRUCTION): Define using __builtin_trap.
625 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
626 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
627 * sysdeps/nptl/nptl-signals.h: New file.
628 * nptl/pthreadP.h: Include <nptl-signals.h>.
630 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
632 * sysdeps/s390/s390-64/utf16-utf32-z9.c
633 (ONE_DIRECTION): Define.
634 * sysdeps/s390/s390-64/utf8-utf16-z9.c
635 (ONE_DIRECTION): Define.
636 * sysdeps/s390/s390-64/utf8-utf32-z9.c
637 (ONE_DIRECTION): Define.
639 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
641 * sysdeps/s390/Makefile: Delete file.
642 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
643 * sysdeps/s390/__longjmp.c: Delete file.
644 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
645 Remove fields __flags and __reserved.
646 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
648 * sysdeps/s390/rtld-__longjmp.c: Delete file.
649 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
650 * sysdeps/s390/rtld-setjmp.S: Likewise.
651 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
652 * sysdeps/s390/s390-32/__longjmp.c: ... here.
653 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
654 * sysdeps/s390/s390-32/setjmp.S: ... here.
656 (__sigsetjmp): Remove setting __flags field.
657 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
658 * sysdeps/s390/s390-64/__longjmp.c: ... here.
659 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
660 * sysdeps/s390/s390-64/setjmp.S: ... here.
662 (__sigsetjmp): Remove setting __flags field.
663 * sysdeps/s390/setjmp.S: Delete file.
664 * sysdeps/s390/sigjmp.c: Likewise.
665 * sysdeps/s390/v1-longjmp.c: Likewise.
666 * sysdeps/s390/v1-setjmp.h: Likewise.
667 * sysdeps/s390/v1-sigjmp.c: Likewise.
668 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
669 Remove v1-longjmp_chk.
670 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
671 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
672 Include debug/longjmp_chk.c and add versioning.
673 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
674 Include nptl/pt-longjmp.c and add versioning.
675 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
676 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
678 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
680 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
681 (__getcontext): Remove setting __flags field.
683 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
684 Don't restore upper high grps.
685 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
687 (__swapcontext): Remove setting uc_flags field.
688 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
690 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
692 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
694 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
695 (__getcontext): Remove setting __flags field.
697 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
698 (__swapcontext): Remove setting uc_flags field.
699 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
700 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
701 Remove fields uc_high_gprs and __reserved.
702 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
703 New file with reverted content.
704 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
705 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
707 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
710 2014-07-31 Andreas Schwab <schwab@suse.de>
712 * config.h.in (HAVE_IFUNC): Define to 0.
713 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
716 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
719 memmove-avx-unaligned, memcpy-avx-unaligned and
720 mempcpy-avx-unaligned.
721 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
722 Add tests for AVX memcpy functions.
723 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
724 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
726 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
727 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
729 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
730 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
732 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
733 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
734 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
736 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
739 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
742 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
745 * manual/llio.texi: Add section about open file description locks.
746 * manual/examples/ofdlocks.c: Example of open file description
748 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
749 F_OFD_SETLK, and F_OFD_SETLKW.
751 2014-07-23 Allan McRae <allan@archlinux.org>
753 * po/es.po: Update Spanish translation from translation project.
755 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
757 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
759 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
762 * sysdeps/arm/dl-machine.h (elf_machine_rela)
763 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
764 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
766 2014-07-17 Joseph Myers <joseph@codesourcery.com>
769 * math/fesetenv.c (__fesetenv)
770 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
771 * math/feupdateenv.c (__feupdateenv)
772 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
774 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
775 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
776 (__ASSUME_SOCKETCALL): Do not define.
778 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
779 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
780 (__ASSUME_SOCKETCALL): Do not define.
781 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
782 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
783 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
784 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
785 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
786 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
787 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
788 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
790 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
791 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
792 (__ASSUME_SOCKETCALL): Do not define.
793 (__ASSUME_IPC64): Define unconditionally.
794 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
795 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
796 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
797 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
798 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
799 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
800 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
803 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
804 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
805 (__ASSUME_SOCKETCALL): Do not define.
806 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
807 (__ASSUME_FUTEX_LOCK_PI): Likewise.
808 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
809 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
810 (__ASSUME_REQUEUE_PI): Define unconditionally.
811 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
812 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
813 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
814 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
815 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
816 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
818 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
819 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
820 (__ASSUME_SOCKETCALL): Do not define.
821 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
822 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
823 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
824 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
825 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
826 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
828 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
829 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
830 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
831 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
832 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
833 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
834 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
835 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
836 (__ASSUME_GETCPU_SYSCALL): Likewise.
838 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
839 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
840 cases for individual architectures.
841 * sysdeps/gnu/configure: Regenerated.
842 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
843 LIBC_SLIBDIR_RTLDDIR.
844 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
845 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
846 LIBC_SLIBDIR_RTLDDIR.
847 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
849 LIBC_SLIBDIR_RTLDDIR.
850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
852 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
853 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
855 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
856 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
858 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
859 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
860 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
861 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
863 * sysdeps/aarch64/shlib-versions: Move to ...
864 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
865 * sysdeps/alpha/shlib-versions: Move to ...
866 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
867 * sysdeps/arm/shlib-versions: Move to ...
868 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
869 * sysdeps/hppa/shlib-versions: Move all contents except for
870 libgcc_s entry to ...
871 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
873 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
874 * sysdeps/ia64/shlib-versions: Move to ...
875 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
877 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
878 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
879 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
880 * sysdeps/microblaze/shlib-versions: Move to ...
881 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
882 * sysdeps/mips/shlib-versions: Move to ...
883 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
885 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
886 * sysdeps/tile/shlib-versions: Move to ...
887 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
888 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
890 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
891 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
893 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
895 2014-07-17 Will Newton <will.newton@linaro.org>
897 * sysdeps/arm/bits/atomic.h
898 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
899 (__arch_compare_and_exchange_bool_16_int): Likewise.
900 (__arch_compare_and_exchange_bool_64_int): Likewise.
902 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
905 2014-07-16 Roland McGrath <roland@hack.frob.com>
907 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
908 just Linux configurations. Test empirically that the compiler sets
909 __ARM_EABI__, rather than using the tuple to decide.
910 * sysdeps/arm/preconfigure: Regenerated.
911 * sysdeps/unix/sysv/linux/arm/configure: File removed.
912 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
913 contents appended ...
914 * sysdeps/arm/configure.ac: ... here.
915 * sysdeps/arm/configure: Regenerated.
917 2014-07-15 Roland McGrath <roland@hack.frob.com>
919 * nptl/pthread_kill.c: New file.
920 * nptl/pthread_sigmask.c: New file.
921 * nptl/pthread_sigqueue.c: New file.
923 * sysdeps/nptl/lowlevellock.h: New file.
924 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
925 * sysdeps/nptl/lowlevellock-futex.h: New file.
927 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
928 Remove dead declarations.
930 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
932 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
933 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
935 * sysdeps/x86_64/configure.ac: Likewise.
936 * sysdeps/i386/configure: Regenerated.
937 * sysdeps/x86_64/configure: Likewise.
938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
939 memset-avx2 only if config-cflags-avx2 is yes.
940 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
941 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
943 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
944 only if HAVE_AVX2_SUPPORT is defined.
945 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
947 2014-07-14 Alan Modra <amodra@gmail.com>
950 * elf/elf.h (DT_PPC64_NUM): Correct value.
951 * NEWS: Add to fixed bug list.
953 2014-07-13 Jim Meyering <meyering@fb.com>
956 regex: don't deref NULL upon heap allocation failure
957 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
958 failure in one more place.
959 To trigger the segfault, configure grep -with-included-regex,
960 build it, and run these commands:
961 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
963 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
965 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
967 2014-07-11 Richard Henderson <rth@redhat.com>
969 * sysdeps/aarch64/libm-test-ulps: Update.
971 2014-07-10 Florian Weimer <fweimer@redhat.com>
974 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
975 * nptl/allocatestack.c (__nptl_setxid_error): New function.
976 (__nptl_setxid): Initialize error member. Call
978 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
979 * nptl/descr.h (struct xid_command): Add error member.
980 * nptl/tst-setuid3.c: New file.
981 * nptl/Makefile (tests): Add it.
983 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
985 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
987 (__lll_trylock): Use __lll_base_trylock.
988 (__lll_cond_trylock): Likewise.
990 2014-07-10 Roland McGrath <roland@hack.frob.com>
992 * nptl/pthread_create.c (start_thread): Use atomic_or and
993 lll_futex_wake directly rather than lll_robust_dead.
994 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
995 (lll_robust_dead): Macro removed.
996 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
997 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
998 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
999 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1000 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1001 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1002 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1003 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1004 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1005 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1006 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1007 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1008 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1009 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1010 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1012 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1013 Use atomic_compare_and_exchange_val_acq directly rather than
1015 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1016 (__lll_robust_trylock, lll_robust_trylock): Removed.
1017 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1018 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1019 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1020 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1021 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1022 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1023 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1024 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1025 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1026 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1027 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1028 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1029 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1030 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1032 2014-07-02 Florian Weimer <fweimer@redhat.com>
1034 * manual/locale.texi (Locale Names): New section documenting
1035 locale name syntax. Adjust menu and node chaining accordingly.
1036 (Choosing Locale): Reference Locale Names, Locale Categories.
1037 Mention setting LC_ALL=C. Reflect that name syntax is now
1039 (Locale Categories): New section title. Reference Locale Names.
1040 LC_ALL is an environment variable, but not a category.
1041 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1042 description, now in Locale Name. Reference that section. Locale
1043 name syntax is now documented.
1045 2014-07-02 Florian Weimer <fweimer@redhat.com>
1048 * locale/findlocale.c (name_present, valid_locale_name): New
1050 (_nl_find_locale): Use the loc_name variable to store name
1051 candidates. Call name_present and valid_locale_name to check and
1052 validate locale names. Return an error if the locale is invalid.
1054 2014-07-02 Florian Weimer <fweimer@redhat.com>
1056 * locale/setlocale.c (setlocale): Use strdup for allocating
1057 composite name copy.
1059 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1061 Sync up with gnulib.
1062 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1063 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1064 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1065 and _GL_ARG_NONNULL.
1066 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1067 [!_LIBC]: Include code for Windows and Cygwin.
1068 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1069 Include prototype for int strerror_r.
1070 [!_LIBC] (is_open): New function.
1071 (flush_stdout): New function.
1072 (print_errno_message): Use it.
1074 (error_at_line): Likewise.
1075 (error_tail) Add function attribute macros. Use
1078 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1080 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1082 * io/ftw.c: Include sys/param.h unconditionally.
1084 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1087 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1089 (freecache): New function to free CACHE on exit.
1091 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1094 2014-07-09 David S. Miller <davem@davemloft.net>
1096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1098 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1099 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1100 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1101 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1102 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1103 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1104 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1105 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1106 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1107 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1108 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1109 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1110 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1112 2014-07-09 Andreas Schwab <schwab@suse.de>
1114 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1116 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1117 (do_test): Likewise.
1119 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1121 2014-07-09 Will Newton <will.newton@linaro.org>
1123 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1124 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1125 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1126 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1127 * sysdeps/hppa/start.S (_start): Likewise.
1129 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1131 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1133 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1136 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1138 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1139 after checking that it is non-NULL.
1141 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1143 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1145 * sysdeps/powerpc/memmove.c: Remove file.
1146 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1147 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1148 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1149 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1150 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1151 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1152 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1153 string memmove instead of removed powerpc one.
1155 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1156 [weak_alias]: Fix compiler warning due trailing data.
1157 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1158 [weak_alias]: Likewise.
1159 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1160 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1162 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1163 (__libc_ifunc_impl_list): Add memmove functions.
1165 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1167 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1169 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1171 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1173 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1175 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1177 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1179 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1181 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1183 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1185 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1187 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1189 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1191 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1193 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1195 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1197 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1199 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1202 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1204 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1205 to avoid alignment traps in non-cacheable memory.
1206 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1208 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1210 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1211 file: multiarch power7 memmove.
1212 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1213 multiarch default memmove.
1214 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1215 multiarch memove for powerpc32/power4.
1217 * string/bcopy.c: Use full path to include memmove.c.
1218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1220 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1221 bcopy for powerpc64.
1222 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1223 bcopy for powerpc64.
1224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1225 and memmove implementations.
1226 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1227 optimized multiarch memmove for POWER7/powerpc64.
1228 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1229 default multiarch memmove for powerpc64.
1230 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1231 multiarch for powerpc64.
1232 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1233 for POWER7/powerpc64.
1234 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1235 memmove for POWER7/powerpc64.
1237 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1240 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1241 __ELF_NATIVE_CLASS equal to 64.
1243 2014-07-07 Roland McGrath <roland@hack.frob.com>
1245 * sysdeps/nptl/lowlevellock.h: File removed.
1247 * NEWS: NPTL is no longer an add-on!
1248 * nptl/internaltypes.h: Moved ...
1249 * sysdeps/nptl/internaltypes.h: ... here.
1250 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1251 * sysdeps/nptl/fork.c: Likewise.
1252 * sysdeps/nptl/gai_misc.h: Likewise.
1253 * sysdeps/nptl/librt-cancellation.c: Likewise.
1254 * sysdeps/nptl/jmp-unwind.c: Likewise.
1255 * sysdeps/nptl/setxid.h: Likewise.
1256 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1257 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1258 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1259 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1260 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1261 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1262 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1263 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1264 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1265 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1266 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1267 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1268 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1269 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1270 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1271 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1272 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1273 * nptl/Makeconfig: Moved ...
1274 * sysdeps/nptl/Makeconfig: ... here.
1275 * nptl/configure: File removed.
1276 * nptl/ANNOUNCE: File removed.
1277 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1278 * sysdeps/unix/sysv/linux/configure: Regenerated.
1280 * nptl/Makefile (routines): Add libc_pthread_init,
1281 libc_multiple_threads, register-atfork and unregister-atfork.
1282 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1283 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1284 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1285 pthread-pi-defines.sym, structsem.sym.
1286 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1287 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1288 [$(subdir) = nptl] (tests): Add tst-setgetname.
1289 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1290 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1291 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1292 [!LIBC_SIGACTION]: Remove aliases.
1293 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1294 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1295 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1296 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1297 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1298 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1299 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1300 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1301 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1302 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1303 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1304 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1305 __libc_allocate_rtsig_private.
1306 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1307 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1308 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1309 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1310 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1311 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1312 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1313 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1314 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1315 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1316 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1317 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1318 * nptl/internaltypes.h: ... here.
1319 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1320 * sysdeps/nptl/jmp-unwind.c: ... here.
1321 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1322 * nptl/libc-lowlevellock.c: ... here.
1323 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1324 * nptl/libc_multiple_threads.c: ... here.
1325 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1326 * nptl/libc_pthread_init.c: ... here.
1327 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1328 * nptl/lowlevelbarrier.sym: ... here.
1329 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1330 * nptl/lowlevelcond.sym: ... here.
1331 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1332 * nptl/lowlevellock.c: ... here.
1333 * nptl/lowlevellock.h: Moved ...
1334 * sysdeps/nptl/lowlevellock.h: ... here.
1335 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1336 * nptl/lowlevelrobustlock.c: ... here.
1337 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1338 * nptl/lowlevelrobustlock.sym: ... here.
1339 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1340 * nptl/lowlevelrwlock.sym: ... here.
1341 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1342 * nptl/pt-fork.c: ... here.
1343 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1344 * nptl/pthread-pi-defines.sym: ... here.
1345 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1346 * nptl/pthread_attr_getaffinity.c: ... here.
1347 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1348 * nptl/pthread_attr_setaffinity.c: ... here.
1349 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1350 * nptl/pthread_mutex_cond_lock.c: ... here.
1351 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1353 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1354 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1355 * nptl/pthread_once.c: ... here, replacing old file.
1356 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1357 * nptl/pthread_yield.c: ... here.
1358 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1359 * nptl/register-atfork.c: ... here.
1360 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1361 * nptl/sem_post.c: ... here.
1362 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1363 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1364 * nptl/sem_timedwait.c: ... here.
1365 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1366 * nptl/sem_trywait.c: ... here.
1367 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1368 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1369 * nptl/sem_wait.c: ... here.
1370 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1371 * nptl/structsem.sym: ... here.
1372 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1373 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1374 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1375 * nptl/unregister-atfork.c: ... here.
1376 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1377 * nptl/unwindbuf.sym: ... here.
1378 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1379 * sysdeps/nptl/fork.c: ... here.
1380 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1381 * sysdeps/nptl/fork.h: ... here.
1382 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1383 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1384 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1385 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1386 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1387 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1388 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1389 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1390 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1391 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1392 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1393 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1394 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1395 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1396 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1397 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1398 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1399 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1400 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1401 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1402 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1403 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1404 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1405 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1406 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1407 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1408 * sysdeps/unix/sysv/linux/raise.c: ... here.
1409 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1410 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1411 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1412 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1413 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1414 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1415 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1416 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1417 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1418 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1419 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1420 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1421 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1422 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1423 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1425 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1427 * sysdeps/generic/memcopy.h: Add comment for
1428 MEMCPY_OK_FOR_FWD_MEMMOVE.
1430 2014-07-04 Will Newton <will.newton@linaro.org>
1432 * string/memchr.c: Merge from gnulib.
1433 [_LIBC]: Remove conditionals.
1434 (__ptr_t): Remove define.
1435 (LONG_MAX_32_BITS): Likewise.
1436 (LONG_MAX): Likewise.
1437 (MEMCHR): Use ANSI prototype and optimize algorithm.
1439 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1441 2014-07-03 Roland McGrath <roland@hack.frob.com>
1443 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1444 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1446 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1447 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1448 in a bare environment with no <stdlib.h> installed.
1449 * sysdeps/nptl/configure: Regenerated.
1451 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1453 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1454 AC_EGREP_CPP for kernel header checks, so they only succeed if
1455 including <linux/version.h> actually works right.
1456 * sysdeps/unix/sysv/linux/configure: Regenerated.
1458 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1459 value so it's not diagnosed as unused.
1461 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1462 thing) with "ifeq ($(subdir),rt)".
1464 2014-07-03 Richard Henderson <rth@redhat.com>
1466 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1467 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1468 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1470 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1471 (math_force_eval): New.
1473 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1474 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1476 * sysdeps/alpha/fpu/s_round.c: Remove file.
1477 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1479 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1480 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1481 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1482 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1483 (_dl_start, print_statistics): Likewise.
1484 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1485 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1487 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1488 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1489 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1490 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1491 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1492 (HP_SMALL_TIMING_AVAIL): Define.
1493 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1494 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1495 (HP_SMALL_TIMING_AVAIL): Define.
1496 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1497 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1499 * sysdeps/aarch64/hp-timing.h: New file.
1501 * sysdeps/generic/hp-timing.h: Remove dead comment.
1502 * sysdeps/generic/hp-timing-common.h: New file.
1503 * sysdeps/alpha/hp-timing.h: Include it.
1504 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1505 * sysdeps/i386/i686/hp-timing.h: Likewise.
1506 * sysdeps/ia64/hp-timing.h: Likewise.
1507 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1508 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1509 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1510 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1511 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1512 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1515 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1516 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1517 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1518 * elf/rtld.c (_dl_start_final): Likewise.
1519 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1520 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1521 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1522 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1523 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1524 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1525 (HP_TIMING_DIFF_INIT): Remove.
1526 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1527 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1528 (HP_TIMING_DIFF_INIT): Remove.
1529 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1530 * sysdeps/i386/i686/hp-timing.c: Remove file.
1531 * sysdeps/x86_64/hp-timing.c: Remove file.
1532 * sysdeps/ia64/hp-timing.c: Remove file.
1533 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1534 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1535 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1536 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1538 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1539 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1540 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1541 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1542 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1543 (HP_TIMING_ACCUM): Remove.
1544 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1545 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1546 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1548 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1549 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1550 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1551 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1552 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1553 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1554 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1555 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1557 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1559 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1561 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1563 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1565 Sync up with gettext.
1566 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1567 [_MSC_VER]: Include malloc.h
1568 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1569 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1570 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1571 TEMP_FAILURE_RETRY. Cast return of alloca.
1572 [!_LIBC] Call gl_rwlock_init.
1573 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1575 2014-07-02 Roland McGrath <roland@hack.frob.com>
1577 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1578 before checking its value.
1580 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1582 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1584 * debug/memcpy_chk.c: Don't include pagecopy.h.
1585 * debug/mempcpy_chk.c: Likewise.
1586 * string/memcpy.c: Likewise.
1587 * string/memmove.c: Likewise.
1588 * sysdeps/powerpc/memmove.c: Likewise.
1589 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1590 definition of PAGE_COPY_FWD_MAYBE here...
1591 * sysdeps/generic/pagecopy.h: ... from here.
1592 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1594 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1595 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1597 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1601 (__libc_ifunc_impl_list): Likewise.
1602 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1603 multiarch strcat for PPC64.
1604 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1605 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1607 2014-07-02 Roland McGrath <roland@hack.frob.com>
1609 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1611 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1613 * intl/loadmsgcat.c: Remove declaration of
1614 get_sysdep_segment_value.
1615 (get_sysdep_segment_value): Use ISO C style.
1616 (_nl_load_domain): Use ISO C style. Get rid of redundant
1617 semicolon. Fix typo and formatting in comment.
1618 (_nl_unload_domain): Use ISO C style.
1620 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1622 2014-07-02 Will Newton <will.newton@linaro.org>
1624 * malloc/obstack.c: Merge from gnulib master.
1625 [HAVE_CONFIG_H]: Remove conditional code.
1626 [!_LIBC]: Include config.h.
1627 [!ELIDE_CODE]: Don't include inttypes.h, include
1628 stdint.h unconditionally.
1629 (print_and_abort): Mark as _Noreturn.
1630 (_obstack_allocated_p): Mark as __attribute_pure__.
1631 (obstack_free): Rename to __obstack_free.
1632 [!__attribute__]: Remove conditional code.
1633 * malloc/obstack.h: Merge from gnulib master.
1634 [__cplusplus]: Move conditional down.
1635 [!__attribute_pure__]: Define __attribute_pure__ here
1636 if it is not already defined.
1637 (_obstack_memory_used): Mark as __attribute_pure__.
1638 [!__obstack_free]: Define as obstack_free.
1639 [__GNUC__]: Remove check for ancient NeXT gcc.
1641 2014-07-02 Will Newton <will.newton@linaro.org>
1642 Paul Eggert <eggert@cs.ucla.edu>
1644 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1646 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1648 * resolv/gethnamaddr.c: Add comment warning that the file is
1651 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1653 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1656 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1657 entry for aio_cancel and aio_cancel64.
1658 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1659 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1660 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1661 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1662 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1663 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1664 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1665 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1666 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1667 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1668 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1669 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1670 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1672 2014-07-01 Roland McGrath <roland@hack.frob.com>
1674 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1675 * nptl/pthread_mutex_lock.c: Likewise.
1676 * nptl/pthread_mutex_timedlock.c: Likewise.
1677 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1679 2014-07-01 Richard henderson <rth@redhat.com>
1681 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1682 (__isnan, __isnanl): Remove.
1683 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1685 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1687 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1689 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1691 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1693 * resolv/nss_dns/dns-host.c (getanswer_r)
1694 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1696 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1698 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1699 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1701 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1702 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1704 2014-07-01 Roland McGrath <roland@hack.frob.com>
1706 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1707 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1709 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1710 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1712 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1713 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1715 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1716 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1718 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1719 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1720 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1721 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1723 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1724 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1725 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1726 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1727 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1729 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1731 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1732 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1733 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1734 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1735 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1736 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1737 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1738 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1739 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1740 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1741 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1742 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1743 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1744 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1745 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1746 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1747 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1748 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1749 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1750 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1752 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1753 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1754 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1755 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1756 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1757 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1758 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1759 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1761 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1763 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1764 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1765 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1768 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1772 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1774 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1775 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1777 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1779 * sysdeps/arm/libm-test-ulps: Regenerated.
1781 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1782 Roland McGrath <roland@hack.frob.com>
1784 * test-skeleton.c (signal_handler): Kill the whole process group
1785 before killing the child individually.
1786 (main): Report any failure on `setpgid'.
1788 2014-06-30 Roland McGrath <roland@hack.frob.com>
1790 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1791 from _TLS_H to _ARM_NPTL_TLS_H.
1792 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1793 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1795 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1798 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1799 (__expm1l): Return argument unchanged when small but not
1802 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1804 (_FP_UNPACK_RAW_1_P): Likewise.
1805 (_FP_PACK_RAW_1): Likewise.
1806 (_FP_PACK_RAW_1_P): Likewise.
1807 (_FP_MUL_MEAT_1_wide): Likewise.
1808 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1809 (_FP_MUL_MEAT_1_hard): Likewise.
1810 (_FP_DIV_MEAT_1_imm): Likewise.
1811 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1812 (_FP_DIV_MEAT_1_udiv): Likewise.
1813 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1814 (_FP_UNPACK_RAW_2): Likewise.
1815 (_FP_UNPACK_RAW_2_P): Likewise.
1816 (_FP_PACK_RAW_2): Likewise.
1817 (_FP_PACK_RAW_2_P): Likewise.
1818 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1819 (_FP_MUL_MEAT_2_wide): Likewise.
1820 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1821 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1822 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1823 (_FP_MUL_MEAT_2_gmp): Likewise.
1824 (_FP_DIV_MEAT_2_udiv): Likewise.
1825 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1826 (_FP_FRAC_SRL_4): Likewise.
1827 (_FP_FRAC_SRST_4): Likewise.
1828 (_FP_FRAC_SRS_4): Likewise.
1829 (_FP_UNPACK_RAW_4): Likewise.
1830 (_FP_UNPACK_RAW_4_P): Likewise.
1831 (_FP_PACK_RAW_4): Likewise.
1832 (_FP_PACK_RAW_4_P): Likewise.
1833 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1834 (_FP_MUL_MEAT_4_wide): Likewise.
1835 (_FP_MUL_MEAT_4_gmp): Likewise.
1836 (umul_ppppmnnn): Likewise.
1837 (_FP_DIV_MEAT_4_udiv): Likewise.
1838 (__FP_FRAC_ADD_4): Likewise.
1839 (__FP_FRAC_SUB_3): Likewise.
1840 (__FP_FRAC_SUB_4): Likewise.
1841 (__FP_FRAC_DEC_3): Likewise.
1842 (__FP_FRAC_DEC_4): Likewise.
1843 (__FP_FRAC_ADDI_4): Likewise.
1844 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1845 (_FP_FRAC_SRL_8): Likewise.
1846 (_FP_FRAC_SRS_8): Likewise.
1848 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1850 (FP_UNPACK_RAW_EP): Likewise.
1851 (FP_PACK_RAW_E): Likewise.
1852 (FP_PACK_RAW_EP): Likewise.
1853 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1854 (_FP_ISSIGNAN): Likewise.
1855 (_FP_ADD_INTERNAL): Likewise.
1856 (_FP_FMA): Likewise.
1857 (_FP_CMP): Likewise.
1858 (_FP_SQRT): Likewise.
1859 (_FP_TO_INT): Likewise.
1860 (_FP_FROM_INT): Likewise.
1861 (FP_EXTEND): Likewise.
1862 (_FP_DIV_MEAT_N_loop): Likewise.
1864 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1866 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1869 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1872 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1873 result with correct sign in case of exponents that produce
1874 overflow except for X very close to 1.
1876 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1878 mktime: merge #if/#ifdef usage from glibc
1879 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1880 as that works with both Glibc's and Gnulib's style.
1881 See thread starting at Siddhesh Poyarekar's bug report at:
1882 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1884 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1886 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1887 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1888 * sysdeps/tile/tilegx/memmove.c: Remove file.
1890 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1892 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1893 abi-name definition.
1894 * scripts/soversions.awk: Do not handle or generate ABI lines.
1895 * shlib-versions: Remove ABI entries.
1896 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1897 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1899 2014-06-27 Roland McGrath <roland@hack.frob.com>
1901 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1902 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1903 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1904 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1905 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1906 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1907 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1909 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1911 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1912 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1913 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1914 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1915 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1916 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1917 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1918 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1919 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1920 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1921 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1922 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1923 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1925 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1926 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1927 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1928 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1929 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1930 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1932 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1933 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1935 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1936 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1937 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1938 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1940 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1941 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1942 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1943 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1944 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1945 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1946 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1947 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1949 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1950 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1951 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1952 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1954 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1955 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1957 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1958 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1959 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1960 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1962 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1964 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1965 Identical file removed.
1966 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1968 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1969 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1970 Identical file removed.
1971 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1972 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1973 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1975 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1976 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1977 Identical file removed.
1978 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1979 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1980 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1981 Identical file removed.
1982 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1983 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1984 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1985 Identical file removed.
1986 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1987 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1988 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1989 Identical file removed.
1990 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1992 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1993 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1994 Identical file removed.
1995 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1997 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1998 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1999 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2000 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2001 Identical file removed.
2002 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2004 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2006 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2007 Identical file removed.
2008 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2010 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2011 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2012 Identical file removed.
2013 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2015 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2016 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2017 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2018 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2019 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2020 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2022 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2023 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2024 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2026 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2027 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2028 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2029 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2030 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2032 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
2035 * nscd/nscd.c (monitor_child): Return exit status of child
2036 instead of return value from wait syscall.
2038 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2040 * configure.ac (libc_commonpagesize): Remove variable.
2041 (libc_relro_required): Likewise.
2042 (libc_cv_z_relro): Remove configure test.
2043 * configure: Regenerated.
2044 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2046 (libc_relro_required): Likewise.
2047 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2048 (libc_relro_required): Likewise.
2049 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2050 (libc_relro_required): Likewise.
2051 * sysdeps/arm/preconfigure: Regenerated.
2052 * sysdeps/ia64/preconfigure: Remove file.
2053 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2055 (libc_relro_required): Likewise.
2059 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2060 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2061 recompute overflowing results in original rounding mode.
2062 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2063 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2064 recompute overflowing results in original rounding mode.
2065 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2066 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2067 recompute overflowing results in original rounding mode.
2068 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2069 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2070 recompute overflowing results in original rounding mode.
2071 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2072 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2073 recompute overflowing results in original rounding mode.
2074 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2075 (libc_feholdsetround_ctx): New macro.
2076 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2077 * sysdeps/i386/fpu/libm-test-ulps: Update.
2078 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2080 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2082 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2083 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2084 corresponding .cpsetup call.
2086 2014-06-26 Roland McGrath <roland@hack.frob.com>
2088 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2089 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2090 * sysdeps/arm/Makefile [$(subdir) = csu]
2091 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2092 (static-only-routines): Add aeabi_read_tp here.
2093 (shared-only-routines): Add libc-aeabi_read_tp here.
2094 (CFLAGS-libc-start.c): Add -fexceptions here.
2095 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2096 (sysdep_routines, static-only-routines, shared-only-routines):
2097 Don't add to these here.
2098 (CFLAGS-libc-start.c): Likewise.
2100 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2101 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2102 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2103 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2104 * sysdeps/arm/Makefile [$(subdir) = rt]
2105 (librt-sysdep_routines, librt-shared-only-routines):
2106 Append rt-aeabi_unwind_cpp_pr1 here.
2107 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2108 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2109 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2110 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2111 Append nptl-aeabi_unwind_cpp_pr1 here.
2112 (tests): Filter out tst-cleanupx4 here.
2113 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2114 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2115 Don't do those here.
2117 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2119 * scripts/list-sources.sh: Do not handle ports specially.
2121 2014-06-26 Roland McGrath <roland@hack.frob.com>
2123 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2124 * sysdeps/arm/feupdateenv.c: Likewise.
2126 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2128 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2130 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2131 trailing whitespace removed.
2132 * scripts/config.guess: Update to version 2014-03-23.
2133 * scripts/config.sub: Update to version 2014-05-01
2134 * scripts/install-sh: Update to version 2013-12-25.23.
2135 * scripts/move-if-change: Update from gnulib.
2137 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2139 * debug/memmove_chk.c: Remove pagecopy.h include.
2141 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2143 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2144 identical to gnulib mktime.
2146 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2148 * configure.ac: Do not test for machine being rs6000. Do not test
2150 * configure: Regenerated.
2152 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2154 * configure: Regenerated.
2155 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2156 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2157 Remove configure test.
2158 * sysdeps/arm/configure: Regenerated.
2159 * sysdeps/nptl/configure.ac: Do not check
2160 libc_cv_asm_cfi_directives.
2161 * sysdeps/nptl/configure: Regenerated.
2162 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2163 * sysdeps/x86_64/nptl/configure: Remove generated file.
2164 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2166 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2168 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2170 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2171 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2172 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2175 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2176 instead of whether it is defined.
2177 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2178 * sysdeps/hppa/dl-machine.h: Likewise.
2179 * sysdeps/ia64/dl-machine.h: Likewise.
2180 * sysdeps/m68k/dl-machine.h: Likewise.
2181 * sysdeps/microblaze/dl-machine.h: Likewise.
2182 * sysdeps/mips/dl-machine.: Likewise.
2183 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2184 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2185 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2186 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2187 * sysdeps/sh/dl-machine.h: Likewise.
2188 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2189 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2190 * sysdeps/tile/dl-machine.h: Likewise.
2191 * sysdeps/x86_64/dl-machine.h: Likewise.
2193 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2195 (verify_persistent_db): Likewise.
2197 2014-06-26 Roland McGrath <roland@hack.frob.com>
2199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2200 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2202 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2205 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2208 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2210 Identical file removed.
2211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2212 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2214 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2216 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2218 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2220 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2223 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2225 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2227 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2230 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2232 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2234 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2236 Identical file removed.
2237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2238 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2240 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2243 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2246 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2248 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2250 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2252 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2254 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2257 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2260 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2262 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2265 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2267 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2269 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2271 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2272 * sysdeps/unix/sysv/linux/s390/Versions
2273 (libpthread: GLIBC_2.19): New version set.
2274 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2275 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2276 (librt: GLIBC_2.3.3): New version set.
2277 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2278 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2279 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2280 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2281 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2282 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2283 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2284 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2285 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2286 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2287 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2288 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2289 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2290 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2291 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2292 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2293 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2294 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2295 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2296 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2297 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2298 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2299 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2300 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2301 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2302 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2303 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2304 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2305 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2306 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2307 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2308 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2309 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2310 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2311 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2312 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2313 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2314 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2315 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2316 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2317 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2318 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2319 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2320 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2321 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2323 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2324 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2325 (__libc_vfork): Define the function under this name.
2326 [!NOT_IN_libc] (__vfork): Make this an alias.
2327 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2328 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2329 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2330 (__libc_vfork): Define the function under this name.
2331 [!NOT_IN_libc] (__vfork): Make this an alias.
2332 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2333 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2334 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2335 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2336 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2337 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2339 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2340 code that was previously under [RESET_PID].
2341 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2342 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2343 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2345 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2346 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2347 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2348 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2349 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2350 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2351 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2352 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2353 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2354 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2355 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2357 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2358 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2359 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2360 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2361 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2362 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2363 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2364 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2365 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2366 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2367 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2368 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2369 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2370 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2371 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2372 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2373 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2374 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2375 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2376 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2377 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2378 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2379 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2380 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2381 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2382 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2383 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2384 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2385 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2387 2014-06-25 Roland McGrath <roland@hack.frob.com>
2389 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2390 that was previously under [RESET_PID].
2391 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2393 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2395 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2396 not undefine and redefine.
2397 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2398 [O_CLOEXEC]: Make code unconditional.
2399 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2400 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2401 <kernel-features.h>.
2402 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2403 conditional variable definition.
2404 (shm_open) [O_CLOEXEC]: Make code unconditional.
2405 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2408 * configure.ac (USE_REGPARMS): Don't define here.
2409 * configure: Regenerated.
2410 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2411 * sysdeps/i386/configure: Regenerated.
2413 * nptl/createthread.c: Don't include kernel-features.h.
2414 * nptl/pthread_cancel.c: Likewise.
2415 * nptl/pthread_condattr_setclock.c: Likewise.
2416 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2417 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2418 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2419 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2420 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2421 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2422 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2423 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2424 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2425 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2426 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2427 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2428 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2429 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2430 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2431 * nscd/gai.c: Likewise.
2432 * nss/nss_db/db-open.c: Likewise.
2433 * sysdeps/generic/ldsodefs.h: Likewise.
2434 * sysdeps/sh/nptl/tls.h: Likewise.
2435 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2436 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2437 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2438 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2439 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2440 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2441 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2442 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2443 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2444 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2445 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2446 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2447 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2448 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2449 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2450 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2451 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2452 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2453 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2454 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2455 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2456 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2457 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2458 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2459 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2460 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2461 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2462 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2463 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2464 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2465 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2466 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2467 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2468 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2469 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2470 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2471 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2472 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2473 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2474 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2475 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2476 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2477 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2478 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2479 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2480 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2481 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2482 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2483 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2484 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2485 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2486 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2487 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2488 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2489 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2490 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2491 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2492 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2515 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2516 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2517 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2518 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2519 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2520 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2521 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2522 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2523 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2524 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2525 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2526 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2527 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2528 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2529 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2530 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2531 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2532 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2533 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2534 * sysdeps/unix/sysv/linux/system.c: Likewise.
2535 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2536 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2537 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2538 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2539 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2540 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2541 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2543 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2544 * configure: Regenerated.
2545 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2547 * configure.ac (base_machine): Do not set specially for particular
2549 * configure: Regenerated.
2550 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2551 settings from configure.ac.
2552 * sysdeps/i386/preconfigure: New file.
2553 * sysdeps/s390/preconfigure: Likewise.
2554 * sysdeps/sh/preconfigure: Likewise.
2555 * sysdeps/sparc/preconfigure: Likewise.
2557 2014-06-25 Roland McGrath <roland@hack.frob.com>
2559 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2560 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2561 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2562 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2563 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2564 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2565 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2566 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2567 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2568 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2569 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2570 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2571 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2572 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2573 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2574 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2575 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2576 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2577 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2579 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2580 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2581 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2582 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2583 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2584 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2585 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2586 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2587 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2588 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2589 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2590 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2591 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2592 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2593 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2594 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2595 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2596 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2597 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2598 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2599 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2600 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2601 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2602 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2603 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2604 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2605 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2606 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2607 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2608 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2609 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2610 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2611 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2612 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2613 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2614 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2615 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2616 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2619 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2621 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2624 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2627 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2629 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2632 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2634 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2636 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2638 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2641 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2644 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2646 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2649 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2651 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2653 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2655 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2657 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2660 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2663 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2665 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2668 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2670 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2672 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2674 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2677 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2680 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2682 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2685 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2687 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2689 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2691 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2693 * timezone/checktab.awk: Update from tzcode 2014e.
2694 * timezone/private.h: Likewise.
2695 * timezone/tzfile.h: Likewise.
2696 * timezone/zdump.c: Likewise.
2697 * timezone/zic.c: Likewise.
2699 * sysdeps/unix/sysv/linux/kernel-features.h
2700 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2701 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2702 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2703 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2704 Remove conditional code.
2706 2014-06-25 Will Newton <will.newton@linaro.org>
2708 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2709 (_dl_arm_cap_flags): Add HWCAP2 values.
2710 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2711 (_DL_HWCAP_COUNT): Increase to 37.
2712 (_DL_HWCAP_LAST): New define.
2713 (_DL_HWCAP2_LAST): New define.
2714 (_dl_procinfo): Add support for printing
2716 (_dl_string_hwcap): Use _dl_hwcap_string.
2718 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2722 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2724 * README: Do not mention ports directory.
2726 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2728 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2729 <kernel-features.h>.
2730 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2731 conditional variable definition.
2732 (__futimes): Update comment.
2733 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2734 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2737 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2738 arguments close to 0.
2739 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2741 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2743 * math/auto-libm-test-in: Add more tests of exp10.
2744 * math/auto-libm-test-out: Regenerated.
2745 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2747 * sysdeps/unix/sysv/linux/kernel-features.h
2748 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2749 * sysdeps/unix/sysv/linux/readv.c: Do not include
2750 <kernel-features.h>.
2751 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2752 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2753 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2755 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2757 * sysdeps/unix/sysv/linux/writev.c: Do not include
2758 <kernel-features.h>.
2759 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2760 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2761 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2763 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2766 2014-06-25 Will Newton <will.newton@linaro.org>
2768 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2769 comment changes throughout the file. Remove checks
2770 for HAVE_*_H definitions that are not required.
2771 (__gen_tempname): Call abort if an unknown kind value is
2774 2014-06-25 Andreas Schwab <schwab@suse.de>
2777 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2778 scalbln, scalblnf, scalblnl in libc.
2780 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2783 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2784 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2785 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2787 2014-06-24 Roland McGrath <roland@hack.frob.com>
2789 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2790 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2791 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2792 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2794 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2795 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2797 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2798 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2799 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2800 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2801 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2802 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2803 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2804 * sysdeps/x86/bits/semaphore.h: ... here.
2805 * sysdeps/x86/nptl/elide.h: Moved ...
2806 * sysdeps/x86/elide.h: ... here.
2807 * sysdeps/x86_64/nptl/Implies: File removed.
2808 * sysdeps/i386/nptl/Implies: File removed.
2810 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2813 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2814 return the argument for normal arguments with exponent below -64.
2815 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2817 * math/auto-libm-test-in: Add another test of expm1.
2818 * math/auto-libm-test-out: Regenerated.
2821 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2822 calling __erfcl for arguments at least 16.
2823 * math/auto-libm-test-in: Add more tests of erf.
2824 * math/auto-libm-test-out: Regenerated.
2826 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2827 individual architectures.
2828 * sysdeps/unix/sysv/linux/configure: Regenerated.
2829 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2830 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2831 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2832 (ldd_rewrite_script): Define variable.
2833 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2838 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2839 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2840 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2841 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2842 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2843 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2844 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2845 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2847 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2850 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2851 Rename member __data.d to __data.__elision_data.
2853 2014-06-24 Wilco <wdijkstr@arm.com>
2855 * NEWS: Add 16918 to fixed bug list.
2857 2014-06-24 Wilco <wdijkstr@arm.com>
2859 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2861 2014-06-24 Wilco <wdijkstr@arm.com>
2863 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2864 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2865 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2866 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2867 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2868 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2869 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2872 2014-06-24 Wilco <wdijkstr@arm.com>
2874 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2876 2014-06-24 Wilco <wdijkstr@arm.com>
2878 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2879 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2880 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2881 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2883 2014-06-24 Wilco <wdijkstr@arm.com>
2886 * sysdeps/arm/feupdateenv.c (feupdateenv):
2887 Rewrite to reduce FPSCR accesses and fix return value.
2889 2014-06-24 Wilco <wdijkstr@arm.com>
2891 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2892 Optimize to avoid unnecessary FPSCR writes.
2893 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2894 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2895 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2896 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2898 2014-06-24 Wilco <wdijkstr@arm.com>
2900 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2901 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2902 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2903 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2904 Call libc_fetestexcept_vfp.
2905 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2906 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2907 __SOFTFP__ ifdef so that they can be built for softfp.
2909 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2911 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2912 argument type signed char.
2914 * Makerules (check-abi): Dump diff of symlist if the test
2917 2014-06-23 Roland McGrath <roland@hack.frob.com>
2919 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2922 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2923 Remove unused variable ST.
2925 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2929 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2930 small arguments before calling __expm1.
2931 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2932 small arguments before calling __expm1f.
2933 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2934 small arguments before calling __expm1l.
2935 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2937 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2938 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2939 spurious underflow for some cosh tests.
2940 * math/auto-libm-test-out: Regenerated.
2941 * sysdeps/i386/fpu/libm-test-ulps: Update.
2944 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2945 (__ieee754_y1): Set errno if return value overflows.
2946 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2947 (__ieee754_y1f): Set errno if return value overflows.
2948 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2949 (__ieee754_y1l): Set errno if return value overflows.
2950 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2951 (__ieee754_y1l): Set errno if return value overflows.
2952 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2953 * math/auto-libm-test-out: Regenerated.
2955 * math/gen-auto-libm-tests.c: Document use of
2956 ignore-zero-inf-sign.
2957 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2958 (input_flags): Add ignore-zero-inf-sign.
2959 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2960 * math/gen-libm-test.pl (generate_testfile): Handle
2961 ignore-zero-inf-sign.
2962 * math/auto-libm-test-in: Mark some cpow tests with
2963 ignore-zero-inf-sign and some with xfail-rounding.
2964 * math/auto-libm-test-out: Regenerated.
2965 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2966 * sysdeps/i386/fpu/libm-test-ulps: Update.
2967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2970 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2971 overflowing or underflowing operations take place with sign of
2973 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2974 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2975 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2976 (__ieee754_pow): Recompute overflowing and underflowing results in
2977 original rounding mode.
2978 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2979 (__powl_helper): Allow negative argument X and scale negated value
2980 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2981 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2982 overflowing or underflowing operations take place with sign of
2984 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2986 * math/auto-libm-test-in: Add more tests of pow.
2987 * math/auto-libm-test-out: Regenerated.
2988 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2989 (pow_tonearest_test_data): Remove.
2990 (pow_test_tonearest): Likewise.
2991 (pow_towardzero_test_data): Likewise.
2992 (pow_test_towardzero): Likewise.
2993 (pow_downward_test_data): Likewise.
2994 (pow_test_downward): Likewise.
2995 (pow_upward_test_data): Likewise.
2996 (pow_test_upward): Likewise.
2997 (main): Don't call removed functions.
2998 * sysdeps/i386/fpu/libm-test-ulps: Update.
2999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3001 2014-06-23 Roland McGrath <roland@hack.frob.com>
3003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3177 2014-06-23 Will Newton <will.newton@linaro.org>
3178 Wilco <wdijkstr@arm.com>
3180 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3181 implementation. Include get-rounding-mode.h.
3182 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3183 [!libc_feholdsetround_noex_ctx]: Define
3184 libc_feholdsetround_noex_ctx.
3185 [!libc_feholdsetround_noexf_ctx]: Define
3186 libc_feholdsetround_noexf_ctx.
3187 [!libc_feholdsetround_noexl_ctx]: Define
3188 libc_feholdsetround_noexl_ctx.
3189 (libc_feholdsetround_ctx): New function.
3190 (libc_feresetround_ctx): New function.
3191 (libc_feholdsetround_noex_ctx): New function.
3192 (libc_feresetround_noex_ctx): New function.
3194 2014-06-23 Roland McGrath <roland@hack.frob.com>
3196 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3197 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3198 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3199 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3200 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3201 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3203 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3204 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3205 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3206 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3207 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3208 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3209 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3210 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3211 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3212 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3213 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3215 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3217 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3218 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3219 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3220 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3221 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3223 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3224 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3225 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3226 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3227 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3228 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3229 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3230 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3232 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3233 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3235 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3236 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3237 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3238 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3240 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3241 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3242 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3243 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3244 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3245 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3246 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3247 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3248 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3249 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3251 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3253 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3254 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3255 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3256 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3257 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3258 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3259 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3260 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3261 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3262 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3263 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3264 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3265 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3267 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3268 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3269 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3270 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3271 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3272 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3274 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3275 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3276 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3277 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3278 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3280 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3281 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3282 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3283 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3284 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3285 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3286 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3287 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3288 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3289 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3290 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3291 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3292 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3293 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3294 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3295 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3296 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3297 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3298 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3299 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3300 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3301 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3302 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3303 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3304 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3305 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3306 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3307 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3309 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3311 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3312 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3313 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3314 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3315 (IPV6_PMTUDISC_INTERFACE): Likewise.
3316 (IPV6_PMTUDISC_OMIT): Likewise.
3318 2014-06-23 Andreas Schwab <schwab@suse.de>
3320 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3321 Remove unused errout label.
3323 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3325 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3326 macro: hardware supports Vector Crypto instructions.
3328 2014-06-23 Will Newton <will.newton@linaro.org>
3330 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3331 rather than __builtin_expect.
3333 * elf/dl-lookup.c (undefined_msg): Remove variable.
3334 (_dl_lookup_symbol_x): Replace undefined_msg with string
3337 * elf/dl-lookup.c (do_lookup_unique): New function.
3338 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3339 to a separate function.
3341 2014-06-23 Andreas Schwab <schwab@suse.de>
3344 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3345 before reading the next line.
3347 2014-06-23 Will Newton <will.newton@linaro.org>
3349 * test-skeleton.c (signal_handler): Use printf and %m
3350 rather than perror. Use printf rather than fprintf to
3351 stderr. Use puts rather than fputs to stderr.
3354 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3356 * nscd/nscd.c (thread_info_t): Remove typedef.
3357 (thread_info): Remove variable.
3359 2014-06-21 Allan McRae <allan@archlinux.org>
3361 * NEWS: Mention CVE-2014-4043.
3363 2014-06-20 Roland McGrath <roland@hack.frob.com>
3365 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3366 * nptl/smp.h: ... here.
3368 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3370 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3371 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3372 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3373 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3375 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3376 * nptl/stack-aliasing.h: New file.
3377 * sysdeps/i386/i686/stack-aliasing.h: New file.
3378 * sysdeps/i386/i686/nptl/Makefile: File removed.
3379 * sysdeps/x86_64/stack-aliasing.h: New file.
3380 * sysdeps/x86_64/nptl/Makefile
3381 (CFLAGS-pthread_create.c): Variable removed.
3383 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3384 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3386 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3387 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3390 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3392 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3393 (__ASSUME_SIGFRAME_V2): Remove macro.
3394 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3395 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3396 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3397 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3398 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3399 Declare as function. Remove conditional macro definitions.
3400 (__default_rt_sa_restorer): Likewise.
3401 (__default_sa_restorer_v1): Remove declaration.
3402 (__default_sa_restorer_v2): Likewise.
3403 (__default_rt_sa_restorer_v1): Likewise.
3404 (__default_rt_sa_restorer_v2): Likewise.
3405 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3406 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3407 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3409 2014-06-20 Roland McGrath <roland@hack.frob.com>
3411 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3412 (libpthread-routines): Add sysdep.
3413 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3414 * sysdeps/unix/sysv/linux/sparc/Versions
3415 (libpthread: GLIBC_2.3.3): New version set.
3416 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3417 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3418 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3419 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3420 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3421 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3423 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3424 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3425 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3426 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3427 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3428 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3429 * sysdeps/sparc/nptl/sem_init.c: ... here.
3430 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3431 * sysdeps/sparc/nptl/sem_post.c: ... here.
3432 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3433 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3434 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3435 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3436 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3437 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3438 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3439 (libpthread-routines): Add cpu_relax.
3440 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3442 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3443 (librt: GLIBC_2.3.3): New version set.
3444 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3445 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3446 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3447 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3448 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3450 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3453 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3455 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3456 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3457 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3458 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3459 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3460 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3461 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3462 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3464 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3466 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3468 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3472 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3476 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3480 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3482 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3484 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3486 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3487 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3489 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3491 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3493 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3495 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3498 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3499 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3500 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3501 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3502 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3504 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3506 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3507 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3508 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3509 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3510 * nscd/nscd.c: Likewise.
3511 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3512 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3513 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3514 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3516 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3517 <kernel-features.h>.
3518 (init_mq_netlink): Remove conditional have_sock_cloexec
3519 definitions. Remove code conditional on have_sock_cloexec < 0.
3520 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3521 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3522 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3523 <kernel-features.h>.
3524 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3525 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3527 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3529 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3530 Add tests for memset_chk and memset.
3532 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3535 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3538 * elf/tst-dl-iter-static.c: New file.
3539 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3541 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3544 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3546 * sysdeps/unix/sysv/linux/kernel-features.h
3547 (__ASSUME_F_GETOWN_EX): Remove macro.
3548 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3549 <kernel-features.h>.
3550 (miss_F_GETOWN_EX): Remove variable or macro.
3551 (do_fcntl): Do not check miss_F_GETOWN_EX.
3552 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3554 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3556 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3557 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3558 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3560 * sysdeps/unix/sysv/linux/kernel-features.h
3561 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3562 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3563 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3564 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3566 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3569 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3570 Fix calculation of the symbol's value.
3571 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3572 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3573 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3574 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3575 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3576 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3577 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3578 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3579 (modules-names): Add `tst-armtlsdescmod',
3580 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3581 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3582 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3583 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3584 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3585 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3586 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3587 ($(objpfx)tst-armtlsdescloc): New dependency.
3588 ($(objpfx)tst-armtlsdescextnow): Likewise.
3589 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3590 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3592 * sysdeps/arm/configure: Regenerate.
3594 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3596 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3597 (__atfct_seterrno_2): Likewise.
3598 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3599 <kernel-features.h>.
3600 (__ASSUME_ATFCTS): Do not undefine and redefine.
3601 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3602 (__have_atfcts): Remove conditional definition.
3603 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3604 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3605 unreachable if [__ASSUME_ATFCTS].
3606 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3607 not undefine and redefine.
3608 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3609 <kernel-features.h>.
3610 (faccessat) [__NR_faccessat]: Make code unconditional.
3611 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3612 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3613 <kernel-features.h>.
3614 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3615 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3616 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3617 <kernel-features.h>.
3618 (fchownat) [__NR_fchownat]: Make code unconditional.
3619 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3620 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3621 <kernel-features.h>.
3622 (futimesat) [__NR_futimesat]: Make code unconditional.
3623 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3624 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3625 <kernel-features.h>.
3626 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3627 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3628 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3629 <kernel-features.h>.
3630 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3631 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3632 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3633 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3634 <kernel-features.h>.
3635 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3636 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3637 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3638 <kernel-features.h>.
3639 (linkat) [__NR_linkat]: Make code unconditional.
3640 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3641 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3642 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3643 <kernel-features.h>.
3644 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3645 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3646 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3647 <kernel-features.h>.
3648 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3649 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3650 * sysdeps/unix/sysv/linux/openat.c: Do not include
3651 <kernel-features.h>.
3652 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3653 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3654 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3655 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3656 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3657 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3658 <kernel-features.h>.
3659 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3660 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3661 result of INLINE_SYSCALL directly, not via int variable.
3662 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3663 <kernel-features.h>.
3664 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3665 (renameat) [__NR_renameat]: Make code unconditional.
3666 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3667 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3668 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3669 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3670 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3671 (__ASSUME_ATFCTS): Do not undefine and redefine.
3672 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3673 <kernel-features.h>.
3674 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3675 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3676 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3677 <kernel-features.h>.
3678 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3679 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3680 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3681 (__ASSUME_ATFCTS): Do not undefine and redefine.
3682 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3683 <kernel-features.h>.
3684 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3685 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3686 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3687 <kernel-features.h>.
3688 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3689 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3691 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3693 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3695 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3698 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3699 constructed tree before returning error.
3700 * posix/bug-regexp36.c: Expand test case.
3702 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3705 * math/libm-test.inc (scalbln_test_date):
3706 Add errno expectations.
3707 * math/w_scalblnf.c: New File.
3708 Add wrapper which checks for setting errno to ERANGE.
3709 Add weak_alias for corresponding scalbln function.
3710 * math/w_scalbln.c: Likewise.
3711 * math/w_scalblnl.c: Likewise.
3712 * math/Makefile (libm-calls): Add w_scalbln.
3713 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3714 Remove weak_alias for corresponding scalbln function.
3715 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3716 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3717 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3718 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3719 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3720 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3721 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3722 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3723 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3724 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3725 Remove long_double_symbol for scalblnl function in libm, libc.
3726 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3727 Add wrapper which checks for setting errno to ERANGE.
3728 Add long_double_symbol for scalblnl function in libm, libc.
3729 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3730 Remove long_double_symbol for scalblnl in libm.
3731 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3732 Add wrapper which checks for setting errno to ERANGE.
3733 Add long_double_symbol for scalblnl function in libm.
3734 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3735 Do not use wrapper because of own implementation.
3737 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3739 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3740 3 bytes for __pad1 for x32.
3741 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3743 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3744 H.J. Lu <hongjiu.lu@intel.com>
3746 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3747 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3748 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3749 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3750 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3752 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3755 * posix/regcomp.c (parse_expression): Deallocate partially
3756 constructed tree before returning error.
3757 * posix/Makefile.c (tests): Add bug-regex36.
3758 (generated): Add bug-regex36.mtrace.
3759 (tests-special): Add $(objpfx)bug-regex36-mem.out
3760 (bug-regex36-ENV): New variable.
3761 ($(objpfx)bug-regex36-mem.out): New rule.
3762 * posix/bug-regex36.c: New file.
3764 2014-06-19 Will Newton <will.newton@linaro.org>
3766 * malloc/malloc.c (systrim): If extra is zero then return
3769 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3771 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3773 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3775 * sysdeps/aarch64/strchr.S: New file.
3777 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3780 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3781 from arguments -2 or below.
3782 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3783 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3785 2014-06-18 Andreas Schwab <schwab@suse.de>
3788 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3789 of a bracket expr not to run off the end of the string.
3790 * posix/Makefile (tests): Add tst-fnmatch3.
3791 * posix/tst-fnmatch3.c: New file.
3793 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3795 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3796 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3797 [$(cross-compiling) = no]: Likewise.
3798 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3799 [$(cross-compiling) = no]: Likewise.
3801 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3804 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3805 double, adjusted for any remainder from the high double.
3806 * math/libm-test.inc (nearbyint): Add tests.
3809 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3811 * nptl/sysdeps/powerpc/Makefile: Moved ...
3812 * sysdeps/powerpc/nptl/Makefile: ... here.
3813 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3814 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3815 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3816 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3817 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3818 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3819 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3820 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3821 * nptl/sysdeps/powerpc/tls.h: Moved ...
3822 * sysdeps/powerpc/nptl/tls.h: ... here.
3824 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3827 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3828 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3829 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3830 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3831 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3832 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3833 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3834 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3835 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3837 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3839 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3841 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3843 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3846 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3849 2014-06-16 Florian Weimer <fweimer@redhat.com>
3852 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3853 non-executed part of the test.
3855 2014-06-16 Andreas Schwab <schwab@suse.de>
3857 * string/bits/string2.h (strdup, strndup): Update feature guard.
3859 2014-06-14 David S. Miller <davem@davemloft.net>
3861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3863 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3865 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3866 that was previously under [RESET_PID].
3867 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3869 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3870 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3871 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3872 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3873 (__libc_vfork): New strong alias.
3874 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3876 2014-06-14 Andi Kleen <ak@linux.intel.com>
3878 * sysdeps/generic/elide.h: New file.
3880 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3882 * Makefile (installed-headers): Adjust path of pthread.h header.
3884 2014-06-13 Roland McGrath <roland@hack.frob.com>
3886 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3887 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3888 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3889 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3891 * nptl/sysdeps/s390/Makefile: Moved ...
3892 * sysdeps/s390/nptl/Makefile: ... here.
3893 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3894 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3895 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3896 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3897 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3898 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3899 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3900 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3901 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3902 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3903 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3904 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3905 * nptl/sysdeps/s390/tls.h: Moved ...
3906 * sysdeps/s390/nptl/tls.h: ... here.
3908 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3909 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3911 2014-06-13 David S. Miller <davem@davemloft.net>
3913 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3915 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3916 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3917 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3919 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3920 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3921 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3922 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3923 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3924 Remove RESET_PID cpp guards.
3925 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3926 Remove RESET_PID cpp guards.
3927 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3929 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3931 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3934 2014-06-13 Andi Kleen <ak@linux.intel.com>
3936 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3937 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3938 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3939 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3940 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3941 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3942 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3943 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3944 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3945 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3946 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3947 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3948 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3949 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3950 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3951 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3952 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3953 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3954 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3955 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3957 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3958 (pthread_rwlock_rdlock): Add elision.
3959 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3960 (pthread_rwlock_wrlock): Add elision.
3961 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3962 (pthread_rwlock_trywrlock): Add elision.
3963 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3964 (pthread_rwlock_tryrdlock): Add elision.
3965 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3966 (pthread_rwlock_tryrdlock): Add elision unlock.
3967 * nptl/sysdeps/pthread/pthread.h:
3968 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3969 (PTHREAD_RWLOCK_INITIALIZER,
3970 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3971 Handle new elision field.
3972 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3973 * sysdeps/arm/nptl/bits/pthreadtypes.h
3974 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3975 * sysdeps/sh/nptl/bits/pthreadtypes.h
3976 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3977 * sysdeps/tile/nptl/bits/pthreadtypes.h
3978 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3979 * sysdeps/a/nptl/bits/pthreadtypes.h
3980 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3981 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3982 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3983 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3984 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3985 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3986 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3987 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3988 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3989 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3990 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3991 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3992 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3993 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3994 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3995 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3996 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3997 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3998 (elision_init): Set try_xbegin to zero when no RTM.
3999 * sysdeps/x86/nptl/bits/pthreadtypes.h
4000 (pthread_rwlock_t): Change __pad1 to __rwelision.
4001 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4003 2014-06-13 Andi Kleen <ak@linux.intel.com>
4005 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4006 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4007 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4008 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4010 2014-06-13 Meador Inge <meadori@codesourcery.com>
4013 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4014 that the cached result has been set before returning it.
4016 2014-06-12 Roland McGrath <roland@hack.frob.com>
4018 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4019 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4020 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4021 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4022 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4023 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4025 * nptl/sysdeps/sparc/Makefile: Moved ...
4026 * sysdeps/sparc/nptl/Makefile: ... here.
4027 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4028 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4029 * nptl/sysdeps/sparc/tls.h: Moved ...
4030 * sysdeps/sparc/nptl/tls.h: ... here.
4031 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4032 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4033 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4034 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4035 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4036 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4037 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4038 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4039 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4040 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4041 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4042 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4043 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4044 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4045 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4046 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4047 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4048 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4050 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4051 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4053 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4054 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4056 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4057 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4060 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4062 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4063 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4065 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4066 (struct list_links): Type removed.
4067 (struct thread_node, struct timer_node): Replace struct list_links
4068 with struct list_head.
4069 (list_unlink_ip): Likewise.
4070 * sysdeps/pthread/timer_routines.c
4071 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4072 (list_append, list_insbefore): Likewise.
4073 (list_init): Function removed.
4074 (thread_init, init_module): Use INIT_LIST_HEAD instead.
4075 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4076 * sysdeps/pthread/Makefile: ... here, new file.
4078 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4079 * sysdeps/nptl/Implies: ... here.
4080 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4081 * nptl/sysdeps/pthread/list.h: Moved ...
4082 * include/list.h: ... here.
4083 * nptl/sysdeps/pthread/createthread.c: Moved ...
4084 * nptl/createthread.c: ... here.
4085 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4086 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4087 * nptl/pt-longjmp.c: ... here.
4088 * nptl/sysdeps/pthread/Makefile: Moved ...
4089 * sysdeps/nptl/Makefile: ... here.
4090 * nptl/sysdeps/pthread/Subdirs: Moved ...
4091 * sysdeps/nptl/Subdirs: ... here.
4092 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4093 * sysdeps/nptl/aio_misc.h: ... here.
4094 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4095 * sysdeps/nptl/bits/libc-lock.h: ... here.
4096 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4097 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4098 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4099 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4100 * nptl/sysdeps/pthread/configure: Moved ...
4101 * sysdeps/nptl/configure: ... here.
4102 * nptl/sysdeps/pthread/configure.ac: Moved ...
4103 * sysdeps/nptl/configure.ac: ... here.
4104 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4105 * sysdeps/nptl/gai_misc.h: ... here.
4106 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4107 * sysdeps/nptl/librt-cancellation.c: ... here.
4108 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4109 * sysdeps/nptl/malloc-machine.h: ... here.
4110 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4111 * sysdeps/nptl/pthread-functions.h: ... here.
4112 * nptl/sysdeps/pthread/pthread.h: Moved ...
4113 * sysdeps/nptl/pthread.h: ... here.
4114 * nptl/sysdeps/pthread/setxid.h: Moved ...
4115 * sysdeps/nptl/setxid.h: ... here.
4116 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4117 * sysdeps/nptl/sigfillset.c: ... here.
4118 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4119 * sysdeps/nptl/tcb-offsets.h: ... here.
4120 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4121 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4122 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4123 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4124 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4125 * sysdeps/pthread/allocalim.h: ... here.
4126 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4127 * sysdeps/pthread/bits/sigthread.h: ... here.
4128 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4129 * sysdeps/pthread/flockfile.c: ... here.
4130 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4131 * sysdeps/pthread/ftrylockfile.c: ... here.
4132 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4133 * sysdeps/pthread/funlockfile.c: ... here.
4134 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4135 * sysdeps/pthread/posix-timer.h: ... here.
4136 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4137 * sysdeps/pthread/timer_create.c: ... here.
4138 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4139 * sysdeps/pthread/timer_delete.c: ... here.
4140 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4141 * sysdeps/pthread/timer_getoverr.c: ... here.
4142 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4143 * sysdeps/pthread/timer_gettime.c: ... here.
4144 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4145 * sysdeps/pthread/timer_routines.c: ... here.
4146 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4147 * sysdeps/pthread/timer_settime.c: ... here.
4148 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4149 * sysdeps/pthread/tst-timer.c: ... here.
4150 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4151 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4153 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4154 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4156 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4157 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4158 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4159 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4160 Update #include target.
4161 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4162 * sysdeps/i386/i686/nptl/Makefile: ... here.
4163 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4164 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4165 Update #include target.
4166 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4167 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4168 * nptl/sysdeps/i386/Makefile: Moved ...
4169 * sysdeps/i386/nptl/Makefile: ... here.
4170 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4171 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4172 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4173 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4174 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4175 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4176 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4177 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4178 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4179 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4180 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4181 * nptl/sysdeps/i386/tls.h: Moved ...
4182 * sysdeps/i386/nptl/tls.h: ... here.
4184 * sysdeps/sh/Makefile [$(subdir) = csu]
4185 (gen-as-const-headers): Add tcb-offsets.sym.
4186 * nptl/sysdeps/sh/Makefile: File removed.
4187 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4188 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4189 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4190 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4191 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4192 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4193 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4194 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4195 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4196 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4197 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4198 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4199 * nptl/sysdeps/sh/tls.h: Moved ...
4200 * sysdeps/sh/nptl/tls.h: ... here.
4201 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4202 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4203 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4204 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4205 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4206 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4207 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4208 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4209 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4210 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4211 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4212 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4213 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4214 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4215 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4216 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4217 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4218 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4219 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4220 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4221 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4222 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4223 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4224 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4225 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4227 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4228 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4230 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4231 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4232 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4233 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4234 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4235 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4236 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4237 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4238 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4239 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4240 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4241 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4242 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4243 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4244 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4245 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4246 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4247 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4248 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4250 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4252 * posix/spawn_faction_addopen.c: Include string.h.
4254 2014-06-11 Roland McGrath <roland@hack.frob.com>
4256 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4257 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4258 * nptl/sysdeps/x86_64/Makefile: Moved ...
4259 * sysdeps/x86_64/nptl/Makefile: ... here.
4260 * nptl/sysdeps/x86_64/configure: Moved ...
4261 * sysdeps/x86_64/nptl/configure: ... here.
4262 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4263 * sysdeps/x86_64/nptl/configure.ac: ... here.
4264 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4265 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4266 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4267 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4268 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4269 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4270 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4271 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4272 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4273 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4274 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4275 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4276 * nptl/sysdeps/x86_64/tls.h: Moved ...
4277 * sysdeps/x86_64/nptl/tls.h: ... here.
4278 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4279 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4280 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4281 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4283 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4285 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4289 2014-06-11 Joseph Myers <joseph@codesourcery.com>
4291 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4293 [POSIX] (off_t): Likewise.
4294 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4295 [POSIX] (S_ISBLK): Require macro.
4296 [POSIX] (S_ISCHR): Likewise.
4297 [POSIX] (S_ISDIR): Likewise.
4298 [POSIX] (S_ISFIFO): Likewise.
4299 [POSIX] (S_ISREG): Likewise.
4300 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4302 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4304 [POSIX] (time_t): Likewise.
4305 [POSIX] (timer_t): Likewise.
4307 2014-06-11 Florian Weimer <fweimer@redhat.com>
4310 * posix/spawn_int.h (struct __spawn_action): Make the path string
4311 non-const to support deallocation.
4312 * posix/spawn_faction_addopen.c
4313 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4314 * posix/spawn_faction_destroy.c
4315 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4316 path in all spawn_do_open actions.
4317 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4318 posix_spawn_file_actions_addopen.
4320 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4322 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4323 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4324 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4325 conditional code always true.
4326 (__libc_vfork): New alias.
4328 2014-06-11 Roland McGrath <roland@hack.frob.com>
4330 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4331 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4333 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4335 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4336 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4338 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4339 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4341 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4342 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4344 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4346 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4347 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4348 multiarch strcmp for PPC64.
4349 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4350 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4351 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4352 multiarch optimizations.
4353 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4354 (__libc_ifunc_impl_list): Likewise.
4356 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4358 * benchtests/scripts/validate_benchout.py: New script.
4359 * benchtests/Makefile (bench-func): Call it.
4360 * benchtests/scripts/benchout.schema.json: New file.
4362 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4364 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4365 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4366 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4367 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4368 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4369 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4370 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4371 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4372 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4373 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4374 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4375 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4376 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4377 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4378 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4379 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4483 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4484 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4485 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4486 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4487 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4489 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4491 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4492 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4493 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4494 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4495 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4496 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4497 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4498 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4499 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4500 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4501 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4502 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4503 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4505 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4506 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4508 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4509 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4510 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4511 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4513 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4514 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4515 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4516 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4517 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4518 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4519 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4521 2014-06-10 Wilco <wdijkstr@arm.com>
4523 * math/test-fenv-return.c: New file.
4524 * math/Makefile: Add new test test-fenv-return.
4526 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4529 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4531 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4532 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4533 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4534 0.0L for an argument of 1.0L.
4535 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4537 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4538 value when x - 1 is zero.
4539 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4540 * sysdeps/i386/fpu/libm-test-ulps: Update.
4541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4543 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4546 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4548 2014-06-09 Roland McGrath <roland@hack.frob.com>
4550 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4551 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4553 2014-06-09 Roland McGrath <roland@hack.frob.com>
4555 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4556 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4558 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4559 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4561 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4562 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4564 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4565 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4567 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4568 if not already defined.
4569 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4570 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4571 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4572 (TLS_INIT_TP): Use it.
4573 (TLS_DEFINE_INIT_TP): New macro.
4574 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4576 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4578 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4580 [POSIX] (IXANY): Likewise.
4581 [POSIX] (OLCUC): Likewise.
4582 [POSIX || POSIX2008] (CBAUD): Do not allow.
4583 [POSIX || POSIX2008] (DEFECHO): Likewise.
4584 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4585 [POSIX || POSIX2008] (ECHOKE): Likewise.
4586 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4587 [POSIX || POSIX2008] (EXTA): Likewise.
4588 [POSIX || POSIX2008] (EXTB): Likewise.
4589 [POSIX || POSIX2008] (FLUSHO): Likewise.
4590 [POSIX || POSIX2008] (LOBLK): Likewise.
4591 [POSIX || POSIX2008] (PENDIN): Likewise.
4592 [POSIX || POSIX2008] (SWTCH): Likewise.
4593 [POSIX || POSIX2008] (VDISCARD): Likewise.
4594 [POSIX || POSIX2008] (VDSUSP): Likewise.
4595 [POSIX || POSIX2008] (VLNEXT): Likewise.
4596 [POSIX || POSIX2008] (VREPRINT): Likewise.
4597 [POSIX || POSIX2008] (VSTATUS): Likewise.
4598 [POSIX || POSIX2008] (VWERASE): Likewise.
4599 (B*): Change to B[0123456789]*.
4600 * conform/data/time.h-data [POSIX || UNIX98]
4601 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4602 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4603 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4604 [POSIX] (tm_*): Do not allow.
4606 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4608 * Makefile (install): Don't set LANGUAGE.
4609 * Makefile.in (install): Likewise.
4610 * assert/Makefile (test-assert-ENV): Remove variable.
4611 (test-assert-perr-ENV): Likewise.
4612 * elf/Makefile (neededtest4-ENV): Likewise.
4613 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4614 [$(cross-compiling) = no]: Don't set LANGUAGE.
4615 * io/ftwtest-sh (LANG): Remove variable.
4616 * libio/Makefile (tst-widetext-ENV): Likewise.
4617 * manual/install.texi (Running make install): Don't refer to
4618 environment settings for make install.
4619 * INSTALL: Regenerated.
4620 * nptl/tst-tls6.sh: Don't set LANG.
4621 * posix/globtest.sh (LANG): Remove variable.
4622 * string/Makefile (tester-ENV): Likewise.
4623 (inl-tester-ENV): Likewise.
4624 (noinl-tester-ENV): Likewise.
4625 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4626 [$(cross-compiling) = no]: Don't set LANGUAGE.
4627 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4628 without explicit environment settings.
4630 2014-06-06 Roland McGrath <roland@hack.frob.com>
4632 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4633 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4634 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4635 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4637 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4639 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4640 other files in the crypt directory.
4641 * crypt/crypt.c: Remove duplicate includes.
4642 * crypt/crypt-entry.c: Likewise.
4643 * crypt/crypt_util.c: Likewise.
4645 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4647 * Makeconfig (run-program-env): New variable.
4648 (run-program-prefix-before-env): Likewise.
4649 (run-program-prefix-after-env): Likewise.
4650 (run-program-prefix): Define in terms of new variables.
4651 (built-program-cmd-before-env): New variable.
4652 (built-program-cmd-after-env): Likewise.
4653 (built-program-cmd): Define in terms of new variables.
4654 (test-program-prefix-before-env): New variable.
4655 (test-program-prefix-after-env): Likewise.
4656 (test-program-prefix): Define in terms of new variables.
4657 (test-program-cmd-before-env): New variable.
4658 (test-program-cmd-after-env): Likewise.
4659 (test-program-cmd): Define in terms of new variables.
4660 * Rules (make-test-out): Use $(run-program-env).
4661 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4662 (help): Do not mention environment variables. Mention
4663 --timeoutfactor option.
4664 (timeoutfactor): New variable.
4665 (blacklist_exports): Remove function.
4666 (exports): Remove variable.
4667 (command): Do not include ${exports}.
4668 * manual/install.texi (Configuring and compiling): Do not mention
4669 test wrappers preserving environment variables. Mention that last
4670 assignment to a variable must take precedence.
4671 * INSTALL: Regenerated.
4672 * benchtests/Makefile (run-bench): Use $(run-program-env).
4673 * catgets/Makefile ($(objpfx)test1.cat): Use
4674 $(built-program-cmd-before-env), $(run-program-env) and
4675 $(built-program-cmd-after-env).
4676 ($(objpfx)test2.cat): Do not specify environment variables
4678 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4679 $(run-program-env) and $(built-program-cmd-after-env).
4680 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4681 $(run-program-env) and $(test-program-cmd-after-env).
4682 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4684 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4685 run_program_env and test_program_cmd_after_env arguments.
4686 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4687 * elf/tst-pathopt.sh: Use run_program_env argument.
4688 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4689 $(test-wrapper-env) and $(run-program-env).
4690 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4691 run_program_env arguments.
4692 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4693 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4694 $(test-program-prefix-before-env), $(run-program-env) and
4695 $(test-program-prefix-after-env).
4696 ($(objpfx)tst-gettext2.out): Likewise.
4697 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4698 run_program_env and test_program_prefix_after_env arguments.
4699 * intl/tst-gettext2.sh: Likewise.
4700 * intl/tst-gettext4.sh: Do not set environment variables
4702 * intl/tst-gettext6.sh: Likewise.
4703 * intl/tst-translit.sh: Likewise.
4704 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4705 $(test-program-prefix-before-env), $(run-program-env) and
4706 $(test-program-prefix-after-env).
4707 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4708 run_program_env and test_program_prefix_after_env arguments.
4709 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4710 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4711 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4712 explicitly with each use of ${test_wrapper_env}.
4713 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4714 $(test-program-prefix-before-env), $(run-program-env) and
4715 $(test-program-prefix-after-env).
4716 * posix/tst-getconf.sh: Do not set environment variables
4718 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4719 run_program_env and test_program_prefix_after_env arguments.
4720 * stdio-common/tst-printf.sh: Do not set environment variables
4722 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4723 $(test-program-prefix-before-env), $(run-program-env) and
4724 $(test-program-prefix-after-env).
4725 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4726 run_program_env and test_program_prefix_after_env arguments.
4727 Split $test calls into $test_pre and $test.
4728 * timezone/Makefile (build-testdata): Use
4729 $(built-program-cmd-before-env), $(run-program-env) and
4730 $(built-program-cmd-after-env).
4732 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4734 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4735 strlen for non SHARED builds.
4737 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4739 * nptl/allocatestack.c (check_list): Inlined function...
4740 (__reclaim_stacks): ... here.
4742 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4745 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4748 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4750 * Rules (make-test-out): Include
4751 LOCPATH=$(common-objpfx)localedata in default environment.
4752 * debug/Makefile (tst-chk1-ENV): Remove variable.
4753 (tst-chk2-ENV): Likewise.
4754 (tst-chk3-ENV): Likewise.
4755 (tst-chk4-ENV): Likewise.
4756 (tst-chk5-ENV): Likewise.
4757 (tst-chk6-ENV): Likewise.
4758 (tst-lfschk1-ENV): Likewise.
4759 (tst-lfschk2-ENV): Likewise.
4760 (tst-lfschk3-ENV): Likewise.
4761 (tst-lfschk4-ENV): Likewise.
4762 (tst-lfschk5-ENV): Likewise.
4763 (tst-lfschk6-ENV): Likewise.
4764 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4765 (tst-iconv7-ENV): Likewise.
4766 * intl/Makefile (LOCPATH-ENV): Likewise.
4767 (tst-codeset-ENV): Likewise.
4768 (tst-gettext3-ENV): Likewise.
4769 (tst-gettext5-ENV): Likewise.
4770 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4771 (tst-fopenloc-ENV): Likewise.
4772 (tst-fgetws-ENV): Remove variable.
4773 (tst-ungetwc1-ENV): Likewise.
4774 (tst-ungetwc2-ENV): Likewise.
4775 (bug-ungetwc2-ENV): Likewise.
4776 (tst-swscanf-ENV): Likewise.
4777 (bug-ftell-ENV): Likewise.
4778 (tst-fgetwc-ENV): Likewise.
4779 (tst-fseek-ENV): Likewise.
4780 (tst-ftell-partial-wide-ENV): Likewise.
4781 (tst-ftell-active-handler-ENV): Likewise.
4782 (tst-ftell-append-ENV): Likewise.
4783 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4784 (tst-regexloc-ENV): Likewise.
4785 (bug-regex1-ENV): Likewise.
4786 (tst-regex-ENV): Likewise.
4787 (tst-regex2-ENV): Likewise.
4788 (bug-regex5-ENV): Likewise.
4789 (bug-regex6-ENV): Likewise.
4790 (bug-regex17-ENV): Likewise.
4791 (bug-regex18-ENV): Likewise.
4792 (bug-regex19-ENV): Likewise.
4793 (bug-regex20-ENV): Likewise.
4794 (bug-regex22-ENV): Likewise.
4795 (bug-regex23-ENV): Likewise.
4796 (bug-regex25-ENV): Likewise.
4797 (bug-regex26-ENV): Likewise.
4798 (bug-regex30-ENV): Likewise.
4799 (bug-regex32-ENV): Likewise.
4800 (bug-regex33-ENV): Likewise.
4801 (bug-regex34-ENV): Likewise.
4802 (bug-regex35-ENV): Likewise.
4803 (tst-rxspencer-ENV): Likewise.
4804 (tst-rxspencer-no-utf8-ENV): Likewise.
4805 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4806 (tst-sscanf-ENV): Likewise.
4807 (tst-swprintf-ENV): Likewise.
4808 (tst-swscanf-ENV): Likewise.
4809 (test-vfprintf-ENV): Likewise.
4810 (scanf13-ENV): Likewise.
4811 (bug14-ENV): Likewise.
4812 (tst-grouping-ENV): Likewise.
4813 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4814 (tst-strtod3-ENV): Likewise.
4815 (tst-strtod4-ENV): Likewise.
4816 (tst-strtod5-ENV): Likewise.
4817 (testmb2-ENV): Likewise./
4818 * string/Makefile (tst-strxfrm-ENV): Likewise.
4819 (tst-strxfrm2-ENV): Likewise.
4820 (bug-strcoll1-ENV): Likewise.
4821 (test-strcasecmp-ENV): Likewise.
4822 (test-strncasecmp-ENV): Likewise.
4823 * time/Makefile (tst-strptime-ENV): Likewise.
4824 (tst-ftime_l-ENV): Likewise.
4825 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4826 (tst-mbrtowc-ENV): Likewise.
4827 (tst-wcrtomb-ENV): Likewise.
4828 (tst-mbrtowc2-ENV): Likewise.
4829 (tst-c16c32-1-ENV): Likewise.
4830 (tst-mbsnrtowcs-ENV): Likewise.
4832 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4834 * manual/resource.texi (How to get information about the memory
4835 subsystem?): Fix typo.
4836 Reported by Peon de la Parra Ivan <peon@keba.com>
4838 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4841 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4842 (pthread_spin_lock): Branch out of spin loop to proper location.
4843 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4844 (pthread_spin_lock): Likewise.
4846 * nptl/tst-spin4.c: New test.
4847 * nptl/Makefile (tests): Add tst-spin4.
4849 2014-06-03 Andreas Schwab <schwab@suse.de>
4852 * resolv/res_send.c (send_dg): Reload file descriptor after
4855 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4857 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4859 2014-06-03 Richard Henderson <rth@redhat.com>
4861 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4862 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4863 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4864 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4865 in the SAVE_PID block.
4866 (__libc_vfork): New alias.
4867 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4869 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4870 child in registers, not on the stack. Remove RESET_PID conditionals.
4871 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4873 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4875 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4877 2014-06-03 Wilco <wdijkstr@arm.com>
4879 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4880 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4881 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4882 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4883 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4886 2014-06-03 Wilco <wdijkstr@arm.com>
4888 * sysdeps/aarch64/fpu/math_private.h
4889 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4890 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4891 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4892 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4895 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4897 * crypt/crypt-private.h: Include ufc-crypt.h.
4898 (__b64_from_24bit): Declare extern.
4899 * crypt/crypt_util.c(__b64_from_24bit): New function.
4900 (b64t): New static const variable.
4901 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4902 (b64t): Remove variable.
4903 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4904 * crypt/sha256-crypt.c: Include crypt-private.h.
4905 (b64t): Remove variable.
4906 (__sha256_crypt_r): Remove b64_from_24bit and replace
4907 with __b64_from_24bit.
4908 * crypt/sha512-crypt.c: Likewise.
4910 2014-06-02 Roland McGrath <roland@hack.frob.com>
4912 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4913 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4914 Label the code __libc_vfork rather than __vfork.
4915 [!NOT_IN_libc] (vfork): Define as weak alias.
4916 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4917 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4918 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4920 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4922 * malloc/malloc.c (malloc_info): Fix format specifier for
4925 2014-06-02 Wilco <wdijkstr@arm.com>
4927 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4930 2014-06-02 Wilco <wdijkstr@arm.com>
4933 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4934 Rewrite to reduce FPCR/FPSR accesses.
4936 2014-06-01 David S. Miller <davem@davemloft.net>
4938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4940 2014-05-31 David S. Miller <davem@davemloft.net>
4942 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4943 to occur in round to nearest mode when |x| >= 2.0
4945 2014-05-30 Richard Henderson <rth@twiddle.net>
4947 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4948 (PSEUDO_RET_NOERRNO): Remove.
4949 (ret): Don't redefine.
4950 (ret_NOERRNO): Define in terms of ret.
4951 (ret_ERRVAL): Likewise.
4953 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4954 use of PSEUDO_RET; perform the error check directly.
4956 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4958 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4961 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4963 * malloc/malloc (malloc_info): Fix formatting.
4965 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4966 Roland McGrath <roland@hack.frob.com>
4968 * malloc/malloc (malloc_info): Also print mmapped statistics.
4970 2014-05-30 Roland McGrath <roland@hack.frob.com>
4972 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4973 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4975 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4977 * malloc/malloc.c (malloc_info): Inline mi_arena.
4979 2014-05-29 Richard Henderson <rth@twiddle.net>
4981 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4982 Remove comma before expanding ASM_ARGS_##nr.
4983 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4984 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4986 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4987 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4988 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4989 (ASM_ARGS_1): Add leading comma.
4991 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4992 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4993 to __errno_location.
4994 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4995 Remove the expected plt for __errno_location.
4997 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4998 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5001 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5002 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5003 it and break it down.
5004 (DOCARGS_0, DOCARGS_1): Do nothing.
5005 (DOCARGS_2): Update to store into the new stack frame.
5006 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5007 (UNDOCARGS_1): Update to restore from the new stack frame.
5008 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5009 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5011 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5012 (SINGLE_THREAD_P): New parameter for result regno.
5013 (PSEUDO): Update to match; use cbz instead of beq.
5015 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5016 Use ENTRY to define the _nocancel entry point. Share the syscall
5017 and syscall error check paths with the cancel path.
5020 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5021 whitespace; tabs before and after asm mnemonics.
5023 2014-05-29 Eric Wong <normalperson@yhbt.net>
5026 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5027 Call fstat64 or stat64 internally, depending on arguments passed.
5028 Replace stat buffer argument with file descriptor argument.
5029 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5030 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5031 Pass fd to __internal_statvfs instead of calling fstat64.
5032 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5033 Pass fd to __internal_statvfs64 instead of calling fstat64.
5034 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5035 Pass -1 to __internal_statvfs instead of calling stat64.
5036 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5037 Pass -1 to __internal_statvfs64 instead of calling stat64.
5039 2014-05-28 Roland McGrath <roland@hack.frob.com>
5041 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5042 that was previously under [RESET_PID].
5043 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5045 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5046 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5048 2014-05-27 Roland McGrath <roland@hack.frob.com>
5050 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5052 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5053 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5055 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
5057 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5059 2014-05-27 Andreas Schwab <schwab@suse.de>
5061 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5063 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5064 * elf/rtld.c (init_tls, dl_main): Likewise.
5065 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5066 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5067 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5068 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5069 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5070 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5071 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5072 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5073 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5074 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5075 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5076 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5077 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5078 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5079 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5080 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5081 * sysdeps/generic/tls.h: Update description.
5083 2014-05-27 Will Newton <will.newton@linaro.org>
5086 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5087 and restore r2 rather than just restoring.
5089 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5092 * libio/tst-ftell-append.c: New test case.
5093 * libio/Makefile (tests): Add test case.
5094 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5096 * libio/wfileops.c (do_ftell_wide): Likewise.
5098 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5102 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5106 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5107 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5108 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5109 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5110 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5111 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5112 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5115 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5118 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5119 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5120 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5121 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5122 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5124 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5125 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5127 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5129 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5131 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5132 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5133 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5135 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5136 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5137 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5138 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5140 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5146 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5149 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5153 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5156 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5161 conditional [RESET_PID].
5162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5163 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5165 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5170 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5171 (__libc_vfork): New strong alias.
5172 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5174 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5179 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5180 (__libc_vfork): New strong alias.
5181 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5183 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5186 2014-05-26 Carlos O'Donell <carlos@redhat.com>
5188 * malloc/malloc.c (mi_arena): New function.
5189 (malloc_info): Remove nested function mi_arena. Call non-nosted
5192 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5194 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5196 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5197 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5198 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5199 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5200 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5201 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5202 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5204 2014-05-26 Andreas Schwab <schwab@suse.de>
5207 * locale/programs/repertoire.c (repertoire_read): Add slash
5208 between I18NPATH element and file name.
5209 * locale/programs/locfile.c (locfile_read): Likewise.
5211 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5213 * nptl/pthread_mutexattr_settype.c
5214 (__pthread_mutexattr_settype):
5215 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5217 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5219 * nptl/tst-mutex5 (do_test):
5220 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5222 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5224 * benchtests/README: Document 'init' directive.
5225 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5227 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5228 (parse_file): Recognize 'init' directive.
5230 2014-05-26 Kyle McMartin <kyle@redhat.com>
5233 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5234 alignment of struct pthread.
5236 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5239 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5240 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5241 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5242 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5244 2014-05-25 Richard Henderson <rth@twiddle.net>
5246 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5247 (SINGLE_THREAD_P_PIC): Remove.
5248 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5249 (SINGLE_THREAD_P_PIC): Remove.
5251 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5252 branch to syscall error ...
5254 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5255 from __local_syscall_error to .Lsyscall_error.
5256 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5257 (SYSCALL_ERROR): Update label name.
5259 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5260 Do not use DOARGS/UNDOARGS.
5261 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5262 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5263 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5264 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5265 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5267 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5270 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5271 define if !NOT_IN_libc.
5272 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5273 define with non-default symbol versions.
5275 2014-05-23 Richard Henderson <rth@twiddle.net>
5277 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5278 (vfork, __vfork): Define via compat_symbol.
5280 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5281 [!HAVE_IFUNC] (vfork_compat): Remove.
5282 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5284 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5287 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5288 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5291 2014-05-23 Richard Henderson <rth@twiddle.net>
5293 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5294 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5295 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5296 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5298 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5299 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5300 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5301 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5302 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5303 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5304 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5305 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5306 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5307 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5308 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5309 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5310 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5311 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5312 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5313 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5314 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5315 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5316 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5317 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5318 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5319 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5320 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5321 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5322 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5323 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5324 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5325 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5326 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5327 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5328 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5329 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5330 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5331 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5332 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5333 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5334 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5335 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5336 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5337 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5338 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5339 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5340 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5341 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5342 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5343 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5344 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5345 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5346 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5347 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5348 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5349 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5350 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5351 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5352 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5353 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5355 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5356 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5357 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5358 before exiting on error.
5359 (__libc_vfork): New strong alias.
5360 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5361 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5363 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5364 that was previously under [RESET_PID].
5365 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5367 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5369 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5372 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5373 value when x - 1 is zero.
5374 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5375 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5376 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5377 0.0L for an argument of 1.0L.
5378 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5380 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5381 value when x - 1 is zero.
5382 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5383 * sysdeps/i386/fpu/libm-test-ulps: Update.
5384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5386 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5388 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5389 alphasort and versionsort.
5391 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5393 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5395 [copysignf]: Likewise.
5397 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5399 * crypt/md5-crypt.c: Fix formatting.
5401 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5403 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5404 (b64_from_24bit): New function.
5406 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5408 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5409 libc_hidden_builtin_def to ifunc.
5410 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5411 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5413 2014-05-21 Roland McGrath <roland@hack.frob.com>
5415 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5416 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5418 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5420 * nscd/Depend (linuxthreads): Remove.
5422 * resolv/Depend (linuxthreads): Remove.
5423 * rt/Depend (linuxthreads): Remove.
5425 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5426 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5427 $(common-objpfx)elf/.
5428 (link-libc-before-gnulib): Likewise.
5429 (elfobjdir): Remove variable.
5430 * Makefile (install): Use $(elf-objpfx) instead of
5431 $(common-objpfx)elf/.
5432 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5434 (link-libc-deps): Likewise.
5435 ($(common-objpfx)libc.so): Likewise.
5436 ($(common-objpfx)linkobj/libc.so): Likewise.
5437 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5438 instead of $(common-objpfx)elf/.
5439 (symbolic-link-list): Likewise.
5440 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5441 [$(cross-compiling) = no]: Likewise.
5442 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5444 (static-gnulib-arch): Likewise.
5445 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5446 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5447 $(common-objpfx)elf/.
5449 2014-05-21 Richard Henderson <rth@redhat.com>
5451 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5452 (SINGLE_THREAD_P): Use the correct width load. Fold
5453 into the ldr offset.
5455 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5456 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5458 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5460 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5461 (libgcc_s_resume): Use __attribute_used__.
5462 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5465 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5467 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5468 optimization when used with float constants.
5470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5472 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5475 * locale/nl_langinfo_l.c: Make direct reference to every
5476 _nl_current_CATEGORY symbol.
5477 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5478 (tests-static): Add tst-langinfo-static.
5479 (tests-special): Add tst-langinfo-static.out.
5480 ($(objpfx)tst-langinfo.out): Redirect output.
5481 ($(objpfx)tst-langinfo-static.out): New.
5482 * localedata/tst-langinfo.sh: Send output to stdout.
5483 * localedata/tst-langinfo-static.c: New file.
5486 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5487 when the shift amount is modulo the limb size.
5489 2014-05-20 Richard Henderson <rth@redhat.com>
5492 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5493 Change type of sa_flags from unsigned int to int.
5496 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5498 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5500 2014-05-20 Will Newton <will.newton@linaro.org>
5502 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5503 Test the return value of the system call in the nocancel case.
5505 2014-05-20 Will Newton <will.newton@linaro.org>
5506 Yvan Roux <yvan.roux@linaro.org>
5508 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5509 #include of asm/ptrace.h.
5510 (PTRACE_GET_THREAD_AREA): Remove #undef.
5511 (PTRACE_GETHBPREGS): Likewise.
5512 (PTRACE_SETHBPREGS): Likewise.
5513 (struct user_regs_struct): New structure.
5514 (struct user_fpsimd_struct): New structure.
5515 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5516 #include of asm/ptrace.h and second #include of sys/user.h.
5517 (PTRACE_GET_THREAD_AREA): Remove #undef.
5518 (PTRACE_GETHBPREGS): Likewise.
5519 (PTRACE_SETHBPREGS): Likewise.
5520 (ELF_NGREG): Use new struct user_regs_struct.
5521 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5523 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5525 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5526 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5528 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5531 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5532 membar to avoid block loads/stores to overlap previous stores.
5534 2014-05-17 Richard Henderson <rth@redhat.com>
5536 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5537 Create the __##syscall_name##_nocancel entry point.
5538 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5539 Remove; let the sysdep-cancel.h code create it.
5541 2014-05-17 David S. Miller <davem@davemloft.net>
5543 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5544 Protect with __USE_GNU.
5545 (TIOCSET_TEMPT): Likewise.
5546 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5547 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5548 these are already provided in bits/ioctl-types.h
5550 2014-05-16 Roland McGrath <roland@hack.frob.com>
5552 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5553 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5555 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5556 Use wait4 regardless of [__NR_waitpid].
5558 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5561 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5562 (_FP_NANSIGN_Q): Set the quiet bit.
5564 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5566 * benchtests/Makefile
5567 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5568 not $(common-objpfx)math/libm.so.
5569 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5570 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5571 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5572 $(common-objpfx)dlfcn/libdl.so.
5573 ($(objpfx)tst-audit8): Depend on $(libm), not
5574 $(common-objpfx)math/libm.so.
5575 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5576 not $(common-objpfx)dlfcn/libdl.so.
5578 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5579 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5580 [$(build-shared) = yes].
5581 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5582 $(common-objpfx)nptl/libpthread.so.
5583 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5584 $(common-objpfx)math/libm.so$(libm.so-version) or
5585 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5586 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5587 $(common-objpfx)dlfcn/libdl.so.
5588 * setjmp/Makefile (link-libm): Remove variable.
5589 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5590 * stdio-common/Makefile (link-libm): Remove variable.
5591 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5592 * stdlib/Makefile (link-libm): Remove variable.
5593 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5594 ($(objpfx)tst-strtod-round): Likewise.
5595 ($(objpfx)tst-tininess): Likewise.
5596 ($(objpfx)tst-strtod-underflow): Likewise.
5597 ($(objpfx)tst-strtod6): Likewise.
5598 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5599 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5600 $(common-objpfx)dlfcn/libdl.so.
5602 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5604 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5605 BSD terminal modes definitions.
5607 2014-05-16 Roland McGrath <roland@hack.frob.com>
5609 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5610 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5612 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5613 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5614 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5615 Don't do #include_next.
5616 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5617 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5618 Don't do #include_next.
5619 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5620 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5621 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5622 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5624 2014-05-16 Allan McRae <allan@archlinux.org>
5626 * po/sv.po: Update Swedish translation from translation project.
5628 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5631 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5634 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5635 errno if the TIOCGPTN ioctl fails with an error different than
5637 * login/tst-ptsname.c: New file.
5638 * login/Makefile (tests): Add tst-ptsname.
5641 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5644 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5647 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5648 herrno to return EAI_AGAIN.
5650 2014-05-14 Roland McGrath <roland@hack.frob.com>
5652 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5653 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5654 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5655 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5656 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5657 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5658 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5659 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5660 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5661 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5662 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5663 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5664 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5665 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5666 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5667 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5668 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5669 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5670 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5671 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5672 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5673 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5674 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5675 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5676 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5677 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5678 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5679 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5680 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5681 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5683 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5685 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5688 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5690 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5692 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5694 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5696 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5698 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5700 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5702 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5704 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5706 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5708 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5710 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5712 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5714 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5717 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5719 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5721 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5723 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5725 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5727 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5729 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5731 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5733 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5735 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5738 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5740 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5742 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5743 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5744 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5745 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5746 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5747 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5748 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5749 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5750 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5751 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5752 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5753 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5754 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5755 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5756 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5757 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5758 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5759 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5760 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5761 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5762 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5763 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5764 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5765 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5766 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5767 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5768 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5769 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5770 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5771 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5772 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5774 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5775 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5777 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5778 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5779 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5780 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5781 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5782 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5784 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5785 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5787 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5788 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5790 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5791 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5793 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5794 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5795 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5796 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5798 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5799 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5800 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5801 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5802 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5803 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5804 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5805 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5807 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5808 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5810 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5812 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5813 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5814 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5815 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5816 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5818 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5820 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5822 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5823 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5824 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5825 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5826 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5827 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5829 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5830 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5832 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5833 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5835 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5836 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5838 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5839 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5840 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5841 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5843 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5844 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5845 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5846 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5847 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5848 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5849 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5850 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5852 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5853 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5855 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5857 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5858 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5859 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5860 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5861 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5863 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5865 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5867 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5868 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5869 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5870 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5871 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5872 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5873 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5874 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5875 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5876 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5878 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5879 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5881 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5882 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5884 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5885 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5887 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5888 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5889 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5890 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5891 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5892 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5894 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5895 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5896 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5897 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5898 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5899 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5900 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5901 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5903 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5904 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5906 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5908 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5909 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5910 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5911 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5912 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5914 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5916 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5918 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5919 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5920 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5921 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5922 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5923 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5924 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5925 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5926 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5927 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5928 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5930 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5931 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5933 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5934 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5936 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5937 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5938 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5939 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5940 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5941 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5942 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5943 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5944 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5945 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5946 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5947 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5948 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5949 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5950 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5951 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5952 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5953 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5955 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5956 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5957 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5958 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5960 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5961 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5962 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5963 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5964 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5965 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5966 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5967 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5969 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5970 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5972 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5973 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5974 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5975 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5976 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5977 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5978 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5979 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5980 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5981 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5982 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5983 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5984 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5985 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5986 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5987 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5988 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5990 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5991 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5992 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5993 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5994 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5996 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5997 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5998 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5999 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6000 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6001 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6002 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6003 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6004 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6005 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6007 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6008 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6010 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6011 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6012 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6013 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6014 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6015 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6016 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6017 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6018 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6019 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6020 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6021 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6022 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6023 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6024 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6026 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6028 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6030 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6032 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6044 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6045 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6046 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6047 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6048 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6049 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6050 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6051 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6052 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6053 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6054 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6055 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6056 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6057 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6058 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
6060 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6061 that was previously under [RESET_PID].
6062 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6063 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6064 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6066 * sysdeps/i386/nptl/Implies: New file.
6067 * sysdeps/x86_64/nptl/Implies: New file.
6068 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6069 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6070 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6071 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6073 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6074 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6075 (__libc_vfork): New strong alias.
6076 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6077 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6079 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6080 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6081 (__libc_vfork): New strong alias.
6082 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6083 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6085 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6086 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6087 (__libc_vfork): New strong alias.
6088 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6089 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6090 * nptl/pt-vfork.c: New file.
6091 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6092 (libpthread: GLIBC_2.20): New version set (empty).
6094 2014-05-14 Will Newton <will.newton@linaro.org>
6096 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6099 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6102 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6103 arguments with exponent 65 or above.
6104 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6105 arguments 0x1p113L or above.
6106 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6107 to arguments 0x1p107L or above.
6108 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6109 positive arguments with exponent 65 or above.
6110 * math/auto-libm-test-in: Add more tests of log1p.
6111 * math/auto-libm-test-out: Regenerated.
6114 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6115 non-finite arguments is +0.
6116 * math/s_cacosf.c (__cacosf): Likewise.
6117 * math/s_cacosl.c (__cacosl): Likewise.
6118 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6119 * sysdeps/i386/fpu/libm-test-ulps: Update.
6120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6123 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6125 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6126 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6127 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6128 for explicit high bit of mantissa when testing for argument equal
6130 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6131 * sysdeps/i386/fpu/libm-test-ulps: Update.
6132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6135 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6136 (__erf): Scale by 16 instead of 8 in potentially underflowing
6137 case. Ensure exception if result actually underflows.
6138 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6139 (__erff): Scale by 16 instead of 8 in potentially underflowing
6140 case. Ensure exception if result actually underflows.
6141 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6142 (efx8): Remove variable.
6143 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6144 case. Ensure exception if result actually underflows.
6145 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6146 (efx8): Remove variable.
6147 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6148 case. Ensure exception if result actually underflows.
6149 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6150 (efx8): Remove variable.
6151 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6152 case. Ensure exception if result actually underflows.
6153 * math/auto-libm-test-in: Add more tests of erf.
6154 * math/auto-libm-test-out: Regenerated.
6156 2014-05-14 Andreas Schwab <schwab@suse.de>
6158 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6159 Remove code conditionalized on USE___THREAD.
6161 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6162 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6165 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6167 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6168 Define unconditionally.
6169 (__ASSUME_O_CLOEXEC): Likewise.
6170 (__ASSUME_SOCK_CLOEXEC): Likewise.
6171 (__ASSUME_IN_NONBLOCK): Likewise.
6172 (__ASSUME_PIPE2): Likewise.
6173 (__ASSUME_EVENTFD2): Likewise.
6174 (__ASSUME_SIGNALFD4): Likewise.
6175 (__ASSUME_DUP3): Likewise.
6176 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6177 (__ASSUME_DUP3): Do not define.
6178 (__ASSUME_EVENTFD2): Likewise.
6179 (__ASSUME_IN_NONBLOCK): Likewise.
6180 (__ASSUME_O_CLOEXEC): Likewise.
6181 (__ASSUME_PIPE2): Likewise.
6182 (__ASSUME_SIGNALFD4): Likewise.
6183 (__ASSUME_SOCK_CLOEXEC): Likewise.
6184 (__ASSUME_UTIMES): Undefine.
6185 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6186 (__ASSUME_UTIMES): Do not define.
6187 (__ASSUME_O_CLOEXEC): Likewise.
6188 (__ASSUME_SOCK_CLOEXEC): Likewise.
6189 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6190 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6192 (__ASSUME_PIPE2): Likewise.
6193 (__ASSUME_EVENTFD2): Likewise.
6194 (__ASSUME_SIGNALFD4): Likewise.
6195 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6196 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6198 (__ASSUME_EVENTFD2): Likewise.
6199 (__ASSUME_SIGNALFD4): Likewise.
6200 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6201 (__ASSUME_32BITUIDS): Likewise.
6202 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6203 (__ASSUME_IPC64): Likewise.
6204 (__ASSUME_ST_INO_64_BIT): Likewise.
6205 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6206 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6207 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6208 (__ASSUME_UTIMES): Do not define.
6209 (__ASSUME_PSELECT): Likewise.
6210 (__ASSUME_PPOLL): Likewise.
6211 (__ASSUME_O_CLOEXEC): Likewise.
6212 (__ASSUME_SOCK_CLOEXEC): Likewise.
6213 (__ASSUME_IN_NONBLOCK): Likewise.
6214 (__ASSUME_PIPE2): Likewise.
6215 (__ASSUME_EVENTFD2): Likewise.
6216 (__ASSUME_SIGNALFD4): Likewise.
6217 (__ASSUME_DUP3): Likewise.
6218 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6219 (__ASSUME_UTIMES): Likewise.
6220 (__ASSUME_O_CLOEXEC): Likewise.
6221 (__ASSUME_SOCK_CLOEXEC): Likewise.
6222 (__ASSUME_IN_NONBLOCK): Likewise.
6223 (__ASSUME_PIPE2): Likewise.
6224 (__ASSUME_EVENTFD2): Likewise.
6225 (__ASSUME_SIGNALFD4): Likewise.
6226 (__ASSUME_DUP3): Likewise.
6227 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6228 (__ASSUME_UTIMES): Likewise.
6229 (__ASSUME_O_CLOEXEC): Likewise.
6230 (__ASSUME_SOCK_CLOEXEC): Likewise.
6231 (__ASSUME_IN_NONBLOCK): Likewise.
6232 (__ASSUME_PIPE2): Likewise.
6233 (__ASSUME_EVENTFD2): Likewise.
6234 (__ASSUME_SIGNALFD4): Likewise.
6235 (__ASSUME_DUP3): Likewise.
6236 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6238 (__ASSUME_UTIMES): Likewise.
6239 (__ASSUME_EVENTFD2): Likewise.
6240 (__ASSUME_SIGNALFD4): Likewise.
6241 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6242 (__ASSUME_O_CLOEXEC): Likewise.
6243 (__ASSUME_SOCK_CLOEXEC): Likewise.
6244 (__ASSUME_IN_NONBLOCK): Likewise.
6245 (__ASSUME_PIPE2): Likewise.
6246 (__ASSUME_EVENTFD2): Likewise.
6247 (__ASSUME_SIGNALFD4): Likewise.
6248 (__ASSUME_DUP3): Likewise.
6249 (__ASSUME_UTIMES): Undefine.
6251 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6252 feclearexcept. Remove symbol versioning code.
6253 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6254 symbol versioning code.
6255 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6256 symbol versioning code.
6257 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6258 feupdateenv. Remove symbol versioning code.
6259 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6260 fegetexceptflag. Remove symbol versioning code.
6261 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6262 fesetexceptflag. Remove symbol versioning code.
6263 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6264 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6265 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6266 (__posix_fadvise64_l32): Remove prototype.
6267 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6270 2014-05-13 Roland McGrath <roland@hack.frob.com>
6272 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6273 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6274 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6275 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6277 2014-05-13 Sami Kerola <kerolasa@iki.fi>
6279 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6280 current working directory
6282 2014-05-13 Roland McGrath <roland@hack.frob.com>
6284 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6285 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6286 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6287 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6288 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6289 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6290 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6291 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6292 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6293 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6294 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6295 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6296 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6297 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6298 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6299 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6300 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6301 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6302 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6303 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6304 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6305 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6306 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6307 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6308 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6309 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6310 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6311 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6312 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6313 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6314 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6315 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6316 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6317 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6318 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6319 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6320 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6321 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6322 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6323 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6324 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6325 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6327 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6328 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6330 * sysdeps/unix/sysv/linux/arm/Makefile
6331 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6332 Add rt-aeabi_unwind_cpp_pr1.
6333 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6334 Add nptl-aeabi_unwind_cpp_pr1.
6335 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6336 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6337 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6338 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6339 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6340 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6342 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6343 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6344 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6345 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6347 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6348 Deconditionalize the code that was previously under [RESET_PID].
6349 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6351 * sysdeps/generic/exit-thread.h: New file.
6352 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6353 * include/unistd.h (__exit_thread): Remove declaration.
6354 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6355 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6356 * csu/libc-start.c: Include <exit-thread.h>.
6357 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6358 * nptl/pthread_create.c: Include <exit-thread.h>.
6359 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6360 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6361 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6362 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6363 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6364 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6365 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6366 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6367 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6368 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6369 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6370 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6371 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6372 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6373 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6374 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6375 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6377 2014-05-13 Andreas Schwab <schwab@suse.de>
6379 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6381 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6383 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6384 (__ASSUME_UTIMES): Do not condition on kernel version.
6385 (__ASSUME_PSELECT): Define unconditionally.
6386 (__ASSUME_PPOLL): Likewise.
6387 (__ASSUME_ATFCTS): Likewise.
6388 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6389 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6390 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6391 (__ASSUME_UTIMENSAT): Define unconditionally.
6392 (__ASSUME_PRIVATE_FUTEX): Likewise.
6393 (__ASSUME_FALLOCATE): Likewise.
6394 (__ASSUME_O_CLOEXEC): Likewise.
6395 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6396 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6397 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6398 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6399 (__ASSUME_IN_NONBLOCK): Likewise.
6400 (__ASSUME_PIPE2): Likewise.
6401 (__ASSUME_EVENTFD2): Likewise.
6402 (__ASSUME_SIGNALFD4): Likewise.
6403 (__ASSUME_DUP3): Likewise.
6404 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6405 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6406 (__ASSUME_AT_RANDOM): Likewise.
6407 (__ASSUME_PREADV): Likewise.
6408 (__ASSUME_PWRITEV): Likewise.
6409 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6410 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6411 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6412 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6413 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6414 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6415 (__ASSUME_O_CLOEXEC): Define unconditionally.
6416 (__ASSUME_PSELECT): Do not undefine conditionally.
6417 (__ASSUME_PPOLL): Likewise.
6418 (__ASSUME_ATFCTS): Likewise.
6419 (__ASSUME_SET_ROBUST_LIST): Likewise.
6420 (__ASSUME_UTIMENSAT): Likewise.
6421 (__ASSUME_FDATASYNC): Define unconditionally.
6422 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6423 (__ASSUME_SIGFRAME_V2): Likewise.
6424 )__ASSUME_EVENTFD2): Likewise.
6425 (__ASSUME_SIGNALFD4): Likewise.
6426 (__ASSUME_PSELECT): Do not undefine conditionally.
6427 (__ASSUME_PPOLL): Likewise.
6428 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6429 (__ASSUME_PSELECT): Define unconditionally.
6430 (__ASSUME_PPOLL): Likewise.
6431 (__ASSUME_O_CLOEXEC): Likewise.
6432 (__ASSUME_SOCK_CLOEXEC): Likewise.
6433 (__ASSUME_IN_NONBLOCK): Likewise.
6434 (__ASSUME_PIPE2): Likewise.
6435 (__ASSUME_EVENTFD2): Likewise.
6436 (__ASSUME_SIGNALFD4): Likewise.
6437 (__ASSUME_DUP3): Likewise.
6438 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6439 (__ASSUME_O_CLOEXEC): Likewise.
6440 (__ASSUME_SOCK_CLOEXEC): Likewise.
6441 (__ASSUME_IN_NONBLOCK): Likewise.
6442 (__ASSUME_PIPE2): Likewise.
6443 (__ASSUME_EVENTFD2): Likewise.
6444 (__ASSUME_SIGNALFD4): Likewise.
6445 (__ASSUME_DUP3): Likewise.
6446 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6447 (__ASSUME_EVENTFD2): Likewise.
6448 (__ASSUME_SIGNALFD4): Likewise.
6449 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6451 2014-05-12 Andreas Schwab <schwab@suse.de>
6454 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6455 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6456 than maximum RPC packet size.
6457 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6458 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6459 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6460 (_nss_nis_getservbyport_r): Likewise.
6462 2014-05-12 Will Newton <will.newton@linaro.org>
6464 * malloc/Makefile (tests): Add tst-mallopt.
6465 * malloc/tst-mallopt.c: New file.
6467 2014-05-09 Roland McGrath <roland@hack.frob.com>
6469 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6470 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6472 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6474 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6475 (tst-tlsmod6.so): Likewise.
6477 2014-05-09 Roland McGrath <roland@hack.frob.com>
6479 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6481 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6484 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6485 and <dl-procinfo.h>.
6486 (__fegetenv): Save SSE state in envp->__eip if supported.
6487 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6488 envp->__eip if supported.
6489 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6490 and <dl-procinfo.h>.
6491 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6492 __data_offset and __data_selector in environment to 0. Set SSE
6494 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6496 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6498 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6500 2014-05-09 Will Newton <will.newton@linaro.org>
6502 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6503 and libc_relro_required for ARM.
6504 * sysdeps/arm/preconfigure: Regenerate.
6506 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6507 Stefan Liebler <stli@linux.vnet.ibm.com>
6509 * config.make.in (enable-lock-elision): New Makefile variable.
6510 * configure.ac: Likewise.
6511 * configure: Regenerate.
6512 * sysdeps/s390/configure.ac:
6513 Add check for gcc transactions support.
6514 * sysdeps/s390/configure: Regenerate.
6515 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6516 Build elision files if enabled.
6517 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6518 Add lock elision support for s390.
6519 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6520 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6521 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6522 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6523 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6524 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6525 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6527 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6529 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6531 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6533 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6534 (__lll_timedlock_elision, __lll_lock_elision)
6535 (__lll_unlock_elision, __lll_trylock_elision)
6536 (lll_timedlock_elision, lll_lock_elision)
6537 (lll_unlock_elision, lll_trylock_elision): Add.
6538 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6539 (pthread_mutex_t): Add lock elision support for s390.
6541 2014-05-14 Wilco <wdijkstr@arm.com>
6543 * sysdeps/arm/fclrexcpt.c: Cleanup.
6544 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6545 * sysdeps/arm/feenablxcpt.c: Cleanup.
6546 * sysdeps/arm/fegetenv.c: Cleanup.
6547 * sysdeps/arm/fegetexcept.c: Cleanup.
6548 * sysdeps/arm/fegetround.c: Cleanup.
6549 * sysdeps/arm/feholdexcpt.c: Cleanup.
6550 * sysdeps/arm/fesetenv.c: Cleanup.
6551 * sysdeps/arm/fesetround.c: Cleanup.
6552 * sysdeps/arm/feupdateenv.c: Cleanup.
6553 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6554 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6555 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6556 * sysdeps/arm/ftestexcept.c: Cleanup.
6557 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6558 * sysdeps/arm/setfpucw.c: Cleanup.
6560 2014-05-09 Will Newton <will.newton@linaro.org>
6562 * sysdeps/arm/armv7/strcmp.S: New file.
6563 * NEWS: Mention addition of ARMv7 optimized strcmp.
6565 2014-05-08 Roland McGrath <roland@hack.frob.com>
6567 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6568 look for %.ac rather than %.in.
6570 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6571 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6572 * sysdeps/mach/hurd/configure: Regenerated.
6573 * sysdeps/unix/sysv/linux/configure: Regenerated.
6575 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6577 2014-05-07 Steve Ellcey <sellcey@mips.com>
6580 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6584 2014-05-07 Andreas Schwab <schwab@suse.de>
6586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6587 when skipping over non-matching result from nscd.
6589 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6592 * nptl/sockperf.c (client): Check socket return value.
6595 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6596 nscd security class.
6598 2014-05-06 Roland McGrath <roland@hack.frob.com>
6600 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6601 * sysdeps/arm/unwind.h: ... here.
6603 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6606 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6609 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6611 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6612 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6613 multiarch strncpy for PPC64.
6614 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6615 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6616 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6617 multiarch optimizations.
6618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6619 (__libc_ifunc_impl_list): Likewise.
6620 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6621 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6622 multiarch stpncpy for PPC64.
6623 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6624 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6626 2014-05-06 Andreas Schwab <schwab@suse.de>
6629 * gmon/mcount.c (_MCOUNT_DECL): Use
6630 atomic_compare_and_exchange_bool_acq instead of
6631 catomic_compare_and_exchange_bool_acq.
6633 2014-05-05 Roland McGrath <roland@hack.frob.com>
6635 * elf/Makefile (others, install-bin): Remove pldd.
6636 (pldd-modules): Variable removed.
6637 ($(objpfx)pldd): Target removed.
6638 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6639 (others, install-bin): Append pldd here.
6640 ($(objpfx)pldd): New target.
6642 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6643 to 0, so the first #if test emitted later doesn't see it undefined.
6644 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6645 * sysdeps/gnu/errlist.c: Regenerated.
6647 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6649 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6650 [libc_hidden_builtin_def]: Define to empty value.
6651 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6652 [libc_hidden_builtin_def]: Likewise.
6653 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6654 [libc_hidden_builtin_def]: Likewise.
6655 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6656 [libc_hidden_builtin_def]: Likewise.
6657 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6658 __redirect_memcpy and define ifunc as default hidden symbol.
6659 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6660 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6662 2014-05-04 Adam Conrad <adconrad@0c3.net>
6664 * locale/iso-4217.def: Reintroduce XDR currency.
6666 2014-05-04 Allan McRae <allan@archlinux.org>
6668 * po/eo.po: Update Esperanto translation from translation project.
6670 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6672 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6673 and FEATURE_INDEX_MAX to 1.
6674 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6676 2014-05-01 Steve Ellcey <sellcey@mips.com>
6678 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6679 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6680 * iconvdata/big5.c (ONE_DIRECTION): Define.
6681 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6682 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6683 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6684 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6685 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6686 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6687 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6688 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6689 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6690 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6691 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6692 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6693 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6694 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6695 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6696 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6697 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6698 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6699 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6700 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6701 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6702 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6703 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6704 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6705 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6706 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6707 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6708 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6709 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6710 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6711 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6712 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6713 * iconvdata/johab.c (ONE_DIRECTION): Define.
6714 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6715 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6716 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6717 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6718 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6719 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6720 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6721 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6722 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6723 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6725 2014-05-01 Roland McGrath <roland@hack.frob.com>
6727 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6728 (_IO_JUMPS_OFFSET): Define to 0.
6730 * nptl/sysdeps/pthread/bits/libc-lock.h
6731 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6732 (__libc_lock_define_initialized_recursive): Always define using
6733 initializer. Modern compilers treat uninitialized (implicit zero) and
6734 explicit zero initializers the same (i.e. put the datum in bss).
6736 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6738 * nscd/nscd-client.h: Include <string.h>.
6740 2014-05-01 David S. Miller <davem@davemloft.net>
6743 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6744 multiple zero bytes exist at the end of a string.
6745 Reported by Aurelien Jarno <aurelien@aurel32.net>
6747 * string/test-strcmp.c (check): Add explicit test for situations where
6748 there are multiple zero bytes after the first.
6750 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6753 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6754 when compiling wprintf.
6755 * stdio-common/tstdiomisc.c (t3): New function.
6758 2014-05-01 Steve Ellcey <sellcey@mips.com>
6760 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6761 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6762 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6763 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6765 2014-05-01 Steve Ellcey <sellcey@mips.com>
6767 * stdlib/longlong.h: Updated from GCC.
6769 2014-05-01 Will Newton <will.newton@linaro.org>
6770 Bernard Ogden <bernie.ogden@linaro.org>
6772 * NEWS: Update fixed bug list.
6775 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6777 2014-04-30 David S. Miller <davem@davemloft.net>
6779 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6780 (libc_feholdexcept_setround_sparc_ctx): New function.
6781 (libc_fesetenv_sparc_ctx): Likewise.
6782 (libc_feupdateenv_sparc_ctx): Likewise.
6783 (libc_feholdsetround_sparc_ctx): Likewise.
6784 (libc_feholdexcept_setround_ctx): Define.
6785 (libc_feholdexcept_setroundf_ctx): Likewise.
6786 (libc_feholdexcept_setroundl_ctx): Likewise.
6787 (libc_fesetenv_ctx): Likewise.
6788 (libc_fesetenvf_ctx): Likewise.
6789 (libc_fesetenvl_ctx): Likewise.
6790 (libc_feupdateenv_ctx): Likewise.
6791 (libc_feupdateenvf_ctx): Likewise.
6792 (libc_feupdateenvl_ctx): Likewise.
6793 (libc_feresetround_ctx): Likewise.
6794 (libc_feresetroundf_ctx): Likewise.
6795 (libc_feresetroundl_ctx): Likewise.
6796 (libc_feholdsetround_ctx): Likewise.
6797 (libc_feholdsetroundf_ctx): Likewise.
6798 (libc_feholdsetroundl_ctx): Likewise.
6800 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6801 with __USE_GNU instead of XOPEN cpp guards.
6803 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6806 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6807 with XOPEN cpp guards.
6809 2014-04-30 Julian Brown <julian@codesourcery.com>
6812 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6815 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6818 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6820 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6821 * sysdeps/unix/sysv/linux/configure: Regenerated.
6822 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6823 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6824 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6825 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6826 * README: Update reference to required Linux kernel version.
6827 * manual/install.texi (Linux): Update reference to required Linux
6828 kernel headers version.
6829 * INSTALL: Regenerated.
6831 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6833 [POSIX] (limits.h): Likewise.
6834 [POSIX] (math.h): Likewise.
6835 [POSIX] (sys/wait.h): Likewise.
6836 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6838 [POSIX] (stddef.h): Do not allow header inclusion.
6840 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6842 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6844 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6846 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6847 Return immediately after lll_futex_wake.
6849 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6852 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6854 (datahead_init_pos): Call datahead_init_common early.
6855 (datahead_init_neg): Likewise.
6857 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6858 datahead_init_neg): New functions.
6859 * nscd/aicache.c (addhstaiX): Use them.
6860 * nscd/grpcache.c (cache_addgr): Likewise.
6861 * nscd/hstcache.c (cache_addhst): Likewise.
6862 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6863 * nscd/netgroupcache.c (do_notfound): Likewise.
6864 (addgetnetgrentX): Likewise.
6865 (addinnetgrX): Likewise.
6866 * nscd/pwdcache.c (cache_addpw): Likewise.
6867 * nscd/servicescache.c (cache_addserv): Likewise.
6869 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6870 Atsushi Onoe <atsushi@onoe.org>
6875 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6876 one response is valid.
6877 * resolv/res_send.c (send_dg): Check for validity of other
6878 response if the current response is a referral.
6880 2014-04-29 Steve Ellcey <sellcey@mips.com>
6882 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6884 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6887 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6888 Always divide by positive zero when computing -Inf result.
6889 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6890 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6892 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6894 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6895 FPSCR if value do not change.
6896 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6897 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6898 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6899 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6900 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6901 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6904 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6906 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6907 * sysdeps/unix/sysv/linux/hppa: Move directory from
6908 ports/systeps/unix/sysv/linux/hppa.
6909 * README: Update listing for hppa-*-linux-gnu.
6911 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6914 * manual/stdio.texi (Hook functions): Fix types of stream hook
6917 * socket/sys/socket.h: Fix typo in comment.
6919 2014-04-28 Wilco <wdijkstr@arm.com>
6921 * sysdeps/arm/fenv_private.h: New file.
6922 * sysdeps/arm/math_private.h: New file.
6923 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6925 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6927 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6929 (La_x86_64_retval): Likewise.
6931 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6933 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6934 fpsr if value didn't change.
6935 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6936 to fpcr if value didn't change.
6937 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6938 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6939 fpsr or fpcr if value didn't change.
6940 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6941 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6942 fpcr if value didn't change.
6943 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6944 to fpsr if value didn't change.
6946 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6948 * nptl/tst-sem3.c: Use test-skeleton.c
6949 (main): Rename to do_test. Use return instead of
6951 * nptl/tst-sem4.c: Use test-skeleton.c
6952 (main): Rename to do_test.
6954 2014-04-22 David S. Miller <davem@davemloft.net>
6956 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6957 (struct sigaction): New struct member __glibc_reserved0, change
6958 type of sa_flags to int.
6960 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6962 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6963 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6965 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6967 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6968 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6970 2014-04-22 Will Newton <will.newton@linaro.org>
6971 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6973 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6974 (__longjmp): Add longjmp and longjmp_target SystemTap
6976 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6977 (__sigsetjmp): Add setjmp SystemTap probe.
6979 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6981 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6984 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6986 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6988 * sysdeps/powerpc/fpu/fenv_private.h
6989 (libc_feholdexcept_setroundl_ctx): Define to
6990 libc_feholdexcept_setround_ppc_ctx.
6991 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6992 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6993 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6994 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6996 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6998 * sysdeps/aarch64/math-tests.h: New file.
7000 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7002 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7005 Check and set bit_AVX2_Usable.
7006 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7008 (bit_AVX2): Likewise.
7009 (index_AVX2_Usable): Likewise.
7010 (CPUID_AVX2): Likewise.
7011 (HAS_AVX2): Likewise.
7013 2014-04-17 Will Newton <will.newton@linaro.org>
7015 * manual/setjmp.texi (System V contexts): Add note that
7016 calling setcontext on a context created by a call to a
7017 signal handler is undefined. Update text to note that
7018 setcontext from a signal handler is possible but not
7022 * stdlib/tst-setcontext.c: Include signal.h.
7023 (main): Check that the signal stack before and
7024 after swapcontext is the same.
7026 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7027 Re-implement to restore registers in user code and avoid
7028 rt_sigreturn system call.
7030 2014-04-17 Wilco <wdijkstr@arm.com>
7032 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7033 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7034 * math/test-fenv.c: Skip exception trap tests on targets which only
7035 support non-stop mode.
7037 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7038 Wilco Dijkstra <wilco.dijkstra@arm.com>
7040 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7041 (libc_feholdsetround_aarch64_ctx)
7042 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7043 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7044 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7045 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7046 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7047 (libc_feresetround_noexl_ctx): Define.
7049 2014-04-16 Richard Henderson <rth@redhat.com>
7051 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7053 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7056 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7057 const from the non-libc, non-ldso copy.
7059 * sysdeps/alpha/libm-test-ulps: Regenerate.
7061 2014-04-16 Ian Bolton <ian.bolton@arm.com>
7062 Wilco Dijkstra <wilco.dijkstra@arm.com>
7064 * sysdeps/aarch64/fpu/math_private.h: New file.
7066 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7068 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7070 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7073 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7074 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7075 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7076 Intel MPX bound registers before _dl_profile_fixup.
7077 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7078 registers after _dl_profile_fixup. Save and restore bound
7079 registers bnd0/bnd1 when calling _dl_call_pltexit.
7080 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7081 (LR_BND_OFFSET): Likewise.
7082 (LRV_BND0_OFFSET): Likewise.
7083 (LRV_BND1_OFFSET): Likewise.
7085 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7087 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7089 * sysdeps/mach/hurd/i386/tls.h: ... here.
7090 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7091 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7094 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7096 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7098 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7100 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7102 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7105 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7106 * sysdeps/s390/configure: Regenerate.
7109 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7110 Set round-to-nearest internally to reduce error accumulation.
7112 2014-04-16 Alan Modra <amodra@gmail.com>
7116 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7117 * math/libm-test.inc (frexp_test_data): Add tests.
7118 * NEWS: Update fixed bug list.
7120 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7122 * benchtests/Makefile: Depend on libraries in build directory.
7123 (bench-math): Separate out math tests.
7124 (bench-pthread): Separate out pthread tests.
7125 (bench): Include math and pthread tests.
7127 2014-04-14 Carlos O'Donell <carlos@redhat.com>
7130 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7131 _dl_debug_initialize.
7133 * configure.ac: Remove SELinux header check.
7134 * configure: Regenerate.
7135 * nscd/selinux.c (perms): Array of const char* to permission names.
7136 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7137 default policy. Call string_to_security_class and string_to_av_perm to
7138 translate strings. Enforce default policy and call avs_has_perm with
7139 results of translated strings.
7141 2014-04-13 David S. Miller <davem@davemloft.net>
7143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7145 2014-04-12 Allan McRae <allan@archlinux.org>
7148 * manual/string.texi (Collation Functions): Fix qsort argument
7150 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7152 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7154 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7155 Make the test a no-op if there are no exceptions defined.
7157 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7159 * elf/Makefile (tests): make tst-dlopen-aout conditional on
7160 enable-hardcoded-path-in-tests
7162 2014-04-11 Will Newton <will.newton@linaro.org>
7164 * benchtests/Makefile (extra-objs): Add json-lib.o.
7165 (bench-func): Tidy up JSON output.
7166 * benchtests/bench-skeleton.c: Include json-lib.h.
7167 (main): Use JSON library functions to do output of
7169 * benchtests/bench-timing-type.c (main): Output the
7170 timing type simply, leaving formatting to the user.
7171 * benchtests/json-lib.c: New file.
7172 * benchtests/json-lib.h: Likewise.
7174 2014-04-11 Torvald Riegel <triegel@redhat.com>
7177 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7178 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7179 memory barriers. Add comments.
7180 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7181 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7182 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7183 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7184 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7185 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7187 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7189 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7190 * sysdeps/s390/s390-64/configure.ac: ... this ...
7191 * sysdeps/s390/configure.ac: ... to here.
7192 * sysdeps/s390/s390-32/configure: Delete file.
7193 * sysdeps/s390/s390-64/configure: Delete file.
7194 * sysdeps/s390/configure: Regenerate.
7196 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7198 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7200 2014-04-11 Will Newton <will.newton@linaro.org>
7202 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7203 to zero if it is not defined elsewhere. (mtrim): Test
7204 the value of MALLOC_DEBUG with #if rather than #ifdef.
7206 2014-04-10 Torvald Riegel <triegel@redhat.com>
7208 * benchtests/pthread_once-inputs: New file.
7209 * benchtests/pthread_once-source.c: New file.
7210 * benchtests/README: Update documentation.
7212 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7213 H.J. Lu <hongjiu.lu@intel.com>
7216 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7217 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7218 * sysdeps/x86_64/configure: Regenerated.
7219 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7221 (REGISTER_SAVE_RAX): Likewise.
7222 (REGISTER_SAVE_RCX): Likewise.
7223 (REGISTER_SAVE_RDX): Likewise.
7224 (REGISTER_SAVE_RSI): Likewise.
7225 (REGISTER_SAVE_RDI): Likewise.
7226 (REGISTER_SAVE_R8): Likewise.
7227 (REGISTER_SAVE_R9): Likewise.
7228 (REGISTER_SAVE_BND0): Likewise.
7229 (REGISTER_SAVE_BND1): Likewise.
7230 (REGISTER_SAVE_BND2): Likewise.
7231 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7232 bound registers when calling _dl_fixup.
7234 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7236 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7237 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7239 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7240 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7241 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7242 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7243 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7244 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7245 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7247 2014-04-09 Peter Brett <peter@peter-b.co.uk>
7250 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7251 pathconf(_PC_NAME_MAX).
7253 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7255 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7257 (__PTHREAD_SPINS): Move definition to ...
7258 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7259 (__PTHREAD_SPINS): ... here.
7260 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7261 (__PTHREAD_SPIN): Likewise.
7262 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7263 (__PTHREAD_SPIN): Likewise.
7264 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7265 (__PTHREAD_SPIN): Likewise.
7266 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7267 (__PTHREAD_SPIN): Likewise.
7268 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7269 (__PTHREAD_SPIN): Likewise.
7270 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7271 (__PTHREAD_SPIN): Likewise.
7272 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7273 (__PTHREAD_SPIN): Likewise.
7274 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7275 (__PTHREAD_SPIN): Likewise.
7276 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7277 (__PTHREAD_SPIN): Likewise.
7278 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7279 (__PTHREAD_SPIN): Likewise.
7280 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7281 (__PTHREAD_SPIN): Likewise.
7282 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7283 (__PTHREAD_SPIN): Likewise.
7285 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7286 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7287 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7288 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7290 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7291 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7292 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7293 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7295 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7296 strlen symbol for non multi-arch builds.
7297 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7298 missing hidden_def and weak_alias.
7300 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7302 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7304 2014-04-07 Will Newton <will.newton@linaro.org>
7306 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7307 and contents. [!_LIBC] Remove #ifndef and contents.
7308 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7309 * string/memccpy.c (__memccpy): Use ANSI prototype.
7310 * string/memfrob.c (memfrob): Likewise.
7311 * string/strcoll.c (STRCOLL): Likewise.
7312 * string/strlen.c (strlen): Likewise.
7313 * string/strtok.c (STRTOK): Likewise.
7314 * string/strcat.c: Remove unused #include of memcopy.h.
7315 (strcat): Use ANSI prototype.
7316 * string/strchr.c: Remove unused #include of memcopy.h.
7317 (strchr): Use ANSI prototype.
7318 * string/strcmp.c: Remove unused #include of memcopy.h.
7319 (strcmp): Use ANSI prototype.
7320 * string/strcpy.c: Remove unused #include of memcopy.h.
7321 (strcpy): Use ANSI prototype.
7323 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7325 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7326 * config.make.in (config-extra-cppflags): Set it from
7327 libc_extra_cppflags.
7328 * configure.ac (libc_extra_cflags): Make it accumulate over
7329 configure fragments.
7330 (libc_extra_cppflags): New flag.
7331 * configure. Regenerate.
7332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7333 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7334 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7338 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7339 result for FE_DOWNWARD rounding mode.
7340 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7344 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7346 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7347 in function argument name.
7349 2014-04-03 David Svoboda <svoboda@cert.org>
7352 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7355 2014-04-03 Roland McGrath <roland@hack.frob.com>
7357 * elf/dl-unmap-segments.h: New file.
7358 * sysdeps/generic/ldsodefs.h
7359 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7360 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7361 * elf/dl-fptr.c: Likewise.
7362 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7363 * sysdeps/aarch64/tlsdesc.c: Likewise.
7364 * sysdeps/arm/tlsdesc.c: Likewise.
7365 * sysdeps/i386/tlsdesc.c: Likewise.
7366 * sysdeps/tile/dl-runtime.c: Likewise.
7367 * sysdeps/x86_64/tlsdesc.c: Likewise.
7368 * elf/dl-load.h: New file.
7369 * elf/dl-load.c: Include it.
7370 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7371 Macros moved to dl-load.h.
7372 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7373 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7374 Use _dl_unmap_segments in place of __munmap.
7375 Break out segment-mapping loop into ...
7376 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7378 2014-04-03 Will Newton <will.newton@linaro.org>
7380 * elf/dl-lookup.c (do_lookup_x): Remove comment
7381 referring to nested function and move variable
7382 declarations down to before first use.
7384 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7388 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7390 * math/s_catanf.c (__catanf): Likewise.
7391 * math/s_catanh.c (__catanh): Likewise.
7392 * math/s_catanhf.c (__catanhf): Likewise.
7393 * math/s_catanhl.c (__catanhl): Likewise.
7394 * math/s_catanl.c (__catanl): Likewise.
7395 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7396 by positive zero when computing -Inf result.
7397 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7398 (catanh_test): Likewise.
7399 * sysdeps/i386/fpu/libm-test-ulps: Update.
7400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7403 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7404 instead of using underflowing value in computing result.
7405 * math/s_clog10.c (__clog10): Likewise.
7406 * math/s_clog10f.c (__clog10f): Likewise.
7407 * math/s_clog10l.c (__clog10l): Likewise.
7408 * math/s_clogf.c (__clogf): Likewise.
7409 * math/s_clogl.c (__clogl): Likewise.
7410 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7411 (clog10_test): Likewise.
7412 * sysdeps/i386/fpu/libm-test-ulps: Update.
7413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7415 2014-04-02 Alan Modra <amodra@gmail.com>
7418 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7419 output when value is near a power of two. Use int64_t for lx and
7420 remove casts. Use decimal rather than hex exponent constants.
7421 Don't use long double multiplication when double will suffice.
7422 * math/libm-test.inc (nextafter_test_data): Add tests.
7423 * NEWS: Add 16739 and 16786 to bug list.
7425 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7427 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7429 2014-04-01 Will Newton <will.newton@linaro.org>
7431 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7432 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7434 2014-04-01 Florian Weimer <fweimer@redhat.com>
7437 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7438 * nptl/tst-setuid2.c: New file.
7439 * nptl/Makefile (xtests): Add tst-setuid2.
7441 2014-04-01 Alan Modra <amodra@gmail.com>
7444 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7446 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7450 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7451 set errno as appropriate.
7452 * math/w_scalbf.c (__scalbf): Likewise.
7453 * math/w_scalbl.c (__scalbl): Likewise.
7454 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7455 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7456 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7460 * math/w_atan2.c: Include <errno.h>.
7461 (__atan2): Set errno for result underflowing to zero.
7462 * math/w_atan2f.c: Include <errno.h>.
7463 (__atan2f): Set errno for result underflowing to zero.
7464 * math/w_atan2l.c: Include <errno.h>.
7465 (__atan2l): Set errno for result underflowing to zero.
7466 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7468 * math/auto-libm-test-out: Regenerated.
7470 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7472 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7473 Encode instruction correctly in little endian.
7474 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7476 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7478 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7480 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7483 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7486 * sysdeps/unix/sysv/linux/kernel-features.h
7487 [__sparc__ && !__arch64__ && !__sparc_v9__]
7488 (__ASSUME_SET_ROBUST_LIST): Do not define.
7489 [__sparc__ && !__arch64__ && !__sparc_v9__]
7490 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7491 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7493 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7494 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7495 (__ASSUME_REQUEUE_PI): Likewise.
7496 (__ASSUME_SET_ROBUST_LIST): Likewise.
7497 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7498 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7500 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7501 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7503 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7505 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7507 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7508 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7510 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7511 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7515 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7516 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7517 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7519 2014-03-31 Will Newton <will.newton@linaro.org>
7521 * benchtests/Makefile (bench): Add ffs and ffsll to list
7523 * benchtests/ffs-inputs: New file.
7524 * benchtests/ffsll-inputs: Likewise.
7526 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7529 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7530 too large before casting to int.
7531 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7532 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7533 * math/libm-test.inc (scalb_test_data): Add more tests.
7535 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7537 * benchtests/Makefile (DETAILED_OPT): New make option.
7538 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7540 * benchtests/bench-skeleton.c: Include stdbool.h.
7541 (main): Store and print timings per input.
7542 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7543 member to each argument value.
7544 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7545 (_print_arg_data): Initialize per-input timing to 0.
7547 * benchtests/Makefile (timing-type): New binary.
7548 (bench-clean): Also remove bench-timing-type.
7549 (bench): New target for timing-type.
7550 (bench-func): Print output in JSON format.
7551 * benchtests/bench-skeleton.c (main): Print output in JSON
7553 * benchtests/bench-timing-type.c: New file.
7554 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7555 (TIMING_PRINT_STATS): Remove.
7556 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7559 * benchtests/bench-modf.c: Remove.
7560 * benchtests/modf-inputs: New inputs file.
7562 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7565 * math/s_clog10.c (M_PI_LOG10E): New macro.
7566 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7567 imaginary parts are 0.
7568 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7569 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7570 imaginary parts are 0.
7571 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7572 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7573 imaginary parts are 0.
7574 * math/libm-test.inc (clog10_test_data): Update expected results
7575 for when real and imaginary parts are 0.
7577 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7579 * elf/dl-load.c: Finish conversion of __builtin_expect into
7582 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7585 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7586 1+x for argument with exponent below -67.
7587 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7589 * math/auto-libm-test-in: Add more tests of exp.
7590 * math/auto-libm-test-out: Regenerated.
7592 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7595 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7596 (nscd_getnetgrent): Use it.
7599 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7602 2014-03-27 Andi Kleen <ak@linux.intel.com>
7604 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7605 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7606 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7607 (lll_robust_unlock): Remove out of line section. Use cfi
7609 (LLL_STUB_UNWIND_INFO*): Remove.
7610 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7611 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7612 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7613 (lll_robust_unlock): Remove out of line section. Use cfi
7615 (LLL_STUB_UNWIND_INFO*): Remove.
7617 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7620 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7623 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7625 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7627 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7630 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7632 * math/test-fenv-preserve.c: New file.
7633 * math/Makefile (tests): Add test-fenv-preserve.
7635 2014-03-26 Will Newton <will.newton@linaro.org>
7637 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7639 2014-03-25 Roland McGrath <roland@hack.frob.com>
7641 * scripts/versionlist.awk: Partition the version sets and emit all
7642 GLIBC_* (sorted) before all others (sorted).
7644 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7646 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7647 GLIBC_2.2.5 version.
7649 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7651 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7654 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7659 2014-03-25 Andreas Schwab <schwab@suse.de>
7661 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7662 label to be used after in6ailist is initialized.
7664 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7666 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7667 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7669 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7673 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7675 (fp_formats): Update initializers.
7676 (init_fp_formats): Initialize new field.
7677 (output_for_one_input_case): Allow underflow for results up to
7679 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7680 * math/auto-libm-test-in: Don't mark some underflows from asin and
7682 * math/auto-libm-test-out: Regenerated.
7683 * sysdeps/i386/fpu/libm-test-ulps: Update.
7684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7686 2014-03-25 Andreas Schwab <schwab@suse.de>
7688 * libio/Makefile (tst-ftell-partial-wide-ENV)
7689 (tst-ftell-active-handler-ENV): Define.
7691 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7693 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7695 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7697 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7699 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7701 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7702 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7703 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7705 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7708 * elf/dl-load.c (open_verify): Add mode parameter.
7709 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7710 (open_path): Change from boolean 'secure' to complete flag 'mode'
7711 (_dl_map_object): Adjust.
7712 * elf/Makefile (tests): Add tst-dlopen-aout.
7713 * elf/tst-dlopen-aout.c: New test.
7715 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7718 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7719 (struct stat): Rename member pad0 to __glibc_reserved0.
7722 * sysdeps/s390/s390-32/bits/wordsize.h
7723 (__WORDSIZE32_SIZE_ULONG): New define.
7724 * sysdeps/s390/s390-64/bits/wordsize.h
7725 (__WORDSIZE32_SIZE_ULONG): Likewise.
7726 * sysdeps/generic/stdint.h (SIZE_MAX):
7727 Define as UL if __WORDSIZE32_SIZE_ULONG.
7730 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7731 (__glibc_reserved0): New variable.
7732 (sa_flags): Change type to int.
7734 * posix/Makefile (before-compile): Use += before-compile instead
7737 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7738 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7740 2014-03-20 Andreas Schwab <schwab@suse.de>
7743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7744 non-matching result from nscd.
7746 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7748 * scripts/bench.py: Moved to ...
7749 * benchtests/scripts/bench.py: ... here.
7750 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7752 2014-03-24 Andreas Schwab <schwab@suse.de>
7755 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7756 alloca_account and account alloca use for struct in6ailist.
7758 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7761 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7762 rounding mode to recompute results that overflow to infinity or
7764 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7766 * math/auto-libm-test-out: Regenerated.
7767 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7768 (ccosh_test): Likewise.
7769 (csin_test_data): Use plus_oflow.
7770 (csin_test): Use ALL_RM_TEST.
7771 (csinh_test_data): Use plus_oflow.
7772 (csinh_test): Use ALL_RM_TEST.
7773 * sysdeps/i386/fpu/libm-test-ulps: Update.
7774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7776 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7778 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7779 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7780 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7783 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7785 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7786 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7787 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7788 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7790 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7791 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7793 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7794 * sysdeps/i386/fpu/libm-test-ulps: Update.
7795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7797 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7799 * scripts/bench.pl: Remove file.
7800 * scripts/bench.py: New benchmark script.
7801 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7802 * benchtests/README: Mention python dependency.
7803 * scripts/pylintrc: New file.
7804 * scripts/pylint: New file.
7806 * bits/mathdef.h: Use #ifdef instead of #if.
7807 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7808 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7809 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7810 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7811 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7812 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7814 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7815 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7817 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7818 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7819 and strpbrk-ppc64 objects.
7820 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7821 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7822 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7823 multiarch strpbrk for POWER7.
7824 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7825 multiarch strpbrk for PPC64.
7826 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7828 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7831 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7833 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7834 (atan_test): Likewise.
7835 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7836 (atanh_test): Use ALL_RM_TEST.
7837 (atan2_test_data): Likewise.
7838 (cabs_test): Likewise.
7839 (cacosh_test): Likewise.
7840 (carg_test): Likewise.
7841 (casin_test): Likewise.
7842 (casinh_test): Likewise.
7843 (cbrt_test): Likewise.
7844 (csqrt_test): Likewise.
7845 (erf_test): Likewise.
7846 (erfc_test): Likewise.
7847 (pow10_test): Likewise.
7848 (exp2_test): Likewise.
7849 (hypot_test): Likewise.
7850 (j0_test): Likewise.
7851 (j1_test): Likewise.
7852 (lgamma_test): Likewise.
7853 (gamma_test): Likewise.
7854 (sincos_test): Likewise.
7855 (tanh_test): Likewise.
7856 (y0_test): Likewise.
7857 (y1_test): Likewise.
7858 * sysdeps/i386/fpu/libm-test-ulps: Update.
7859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7861 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7863 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7864 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7865 and strcspn-ppc64 objects.
7866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7867 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7868 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7869 multiarch strcspn for POWER7.
7870 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7871 multiarch strcspn for PPC64.
7872 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7874 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7877 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7879 * math/gen-libm-test.pl (generate_testfile): Expect only function
7880 name as argument to AUTO_TESTS_* and pass results for all rounding
7881 modes to parse_args.
7882 (parse_auto_input): Separate inputs of automatic tests from
7883 outputs before storing in %auto_tests.
7884 * math/libm-test.inc (acos_test_data): Update call to
7886 (acos_test): Use ALL_RM_TEST.
7887 (acos_tonearest_test_data): Remove.
7888 (acos_test_tonearest): Likewise.
7889 (acos_towardzero_test_data): Likewise.
7890 (acos_test_towardzero): Likewise.
7891 (acos_downward_test_data): Likewise.
7892 (acos_test_downward): Likewise.
7893 (acos_upward_test_data): Likewise.
7894 (acos_test_upward): Likewise.
7895 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7896 (asin_test_data): Likewise.
7897 (asin_test): Use ALL_RM_TEST.
7898 (asin_tonearest_test_data): Remove.
7899 (asin_test_tonearest): Likewise.
7900 (asin_towardzero_test_data): Likewise.
7901 (asin_test_towardzero): Likewise.
7902 (asin_downward_test_data): Likewise.
7903 (asin_test_downward): Likewise.
7904 (asin_upward_test_data): Likewise.
7905 (asin_test_upward): Likewise.
7906 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7907 (atan_test_data): Likewise.
7908 (atanh_test_data): Likewise.
7909 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7910 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7911 (carg_test_data): Likewise.
7912 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7913 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7914 (ccosh_test_data): Likewise.
7915 (cexp_test_data): Likewise.
7916 (clog_test_data): Likewise.
7917 (clog10_test_data): Likewise.
7918 (cos_test_data): Update call to AUTO_TESTS_f_f.
7919 (cos_test): Use ALL_RM_TEST.
7920 (cos_tonearest_test_data): Remove.
7921 (cos_test_tonearest): Likewise.
7922 (cos_towardzero_test_data): Likewise.
7923 (cos_test_towardzero): Likewise.
7924 (cos_downward_test_data): Likewise.
7925 (cos_test_downward): Likewise.
7926 (cos_upward_test_data): Likewise.
7927 (cos_test_upward): Likewise.
7928 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7929 (cosh_test): Use ALL_RM_TEST.
7930 (cosh_tonearest_test_data): Remove.
7931 (cosh_test_tonearest): Likewise.
7932 (cosh_towardzero_test_data): Likewise.
7933 (cosh_test_towardzero): Likewise.
7934 (cosh_downward_test_data): Likewise.
7935 (cosh_test_downward): Likewise.
7936 (cosh_upward_test_data): Likewise.
7937 (cosh_test_upward): Likewise.
7938 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7939 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7940 (ctan_test_data): Likewise.
7941 (ctan_test): Use ALL_RM_TEST.
7942 (ctan_tonearest_test_data): Remove.
7943 (ctan_test_tonearest): Likewise.
7944 (ctan_towardzero_test_data): Likewise.
7945 (ctan_test_towardzero): Likewise.
7946 (ctan_downward_test_data): Likewise.
7947 (ctan_test_downward): Likewise.
7948 (ctan_upward_test_data): Likewise.
7949 (ctan_test_upward): Likewise.
7950 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7951 (ctanh_test): Use ALL_RM_TEST.
7952 (ctanh_tonearest_test_data): Remove.
7953 (ctanh_test_tonearest): Likewise.
7954 (ctanh_towardzero_test_data): Likewise.
7955 (ctanh_test_towardzero): Likewise.
7956 (ctanh_downward_test_data): Likewise.
7957 (ctanh_test_downward): Likewise.
7958 (ctanh_upward_test_data): Likewise.
7959 (ctanh_test_upward): Likewise.
7960 (erf_test_data): Update call to AUTO_TESTS_f_f.
7961 (erfc_test_data): Likewise.
7962 (exp_test_data): Likewise.
7963 (exp_test): Use ALL_RM_TEST.
7964 (exp_tonearest_test_data): Remove.
7965 (exp_test_tonearest): Likewise.
7966 (exp_towardzero_test_data): Likewise.
7967 (exp_test_towardzero): Likewise.
7968 (exp_downward_test_data): Likewise.
7969 (exp_test_downward): Likewise.
7970 (exp_upward_test_data): Likewise.
7971 (exp_test_upward): Likewise.
7972 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7973 (exp10_test): Use ALL_RM_TEST.
7974 (exp10_tonearest_test_data): Remove.
7975 (exp10_test_tonearest): Likewise.
7976 (exp10_towardzero_test_data): Likewise.
7977 (exp10_test_towardzero): Likewise.
7978 (exp10_downward_test_data): Likewise.
7979 (exp10_test_downward): Likewise.
7980 (exp10_upward_test_data): Likewise.
7981 (exp10_test_upward): Likewise.
7982 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7983 (expm1_test_data): Likewise.
7984 (expm1_test): Use ALL_RM_TEST.
7985 (expm1_tonearest_test_data): Remove.
7986 (expm1_test_tonearest): Likewise.
7987 (expm1_towardzero_test_data): Likewise.
7988 (expm1_test_towardzero): Likewise.
7989 (expm1_downward_test_data): Likewise.
7990 (expm1_test_downward): Likewise.
7991 (expm1_upward_test_data): Likewise.
7992 (expm1_test_upward): Likewise.
7993 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7994 (fma_test): Use ALL_RM_TEST.
7995 (fma_towardzero_test_data): Remove.
7996 (fma_test_towardzero): Likewise.
7997 (fma_downward_test_data): Likewise.
7998 (fma_test_downward): Likewise.
7999 (fma_upward_test_data): Likewise.
8000 (fma_test_upward): Likewise.
8001 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8002 (j0_test_data): Update call to AUTO_TESTS_f_f.
8003 (j1_test_data): Likewise.
8004 (jn_test_data): Update call to AUTO_TESTS_if_f.
8005 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8006 (log_test_data): Update call to AUTO_TESTS_f_f.
8007 (log10_test_data): Likewise.
8008 (log1p_test_data): Likewise.
8009 (log2_test_data): Likewise.
8010 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8011 (pow_tonearest_test_data): Likewise.
8012 (sin_test_data): Update call to AUTO_TESTS_f_f.
8013 (sin_test): Use ALL_RM_TEST.
8014 (sin_tonearest_test_data): Remove.
8015 (sin_test_tonearest): Likewise.
8016 (sin_towardzero_test_data): Likewise.
8017 (sin_test_towardzero): Likewise.
8018 (sin_downward_test_data): Likewise.
8019 (sin_test_downward): Likewise.
8020 (sin_upward_test_data): Likewise.
8021 (sin_test_upward): Likewise.
8022 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8023 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8024 (sinh_test): Use ALL_RM_TEST.
8025 (sinh_tonearest_test_data): Remove.
8026 (sinh_test_tonearest): Likewise.
8027 (sinh_towardzero_test_data): Likewise.
8028 (sinh_test_towardzero): Likewise.
8029 (sinh_downward_test_data): Likewise.
8030 (sinh_test_downward): Likewise.
8031 (sinh_upward_test_data): Likewise.
8032 (sinh_test_upward): Likewise.
8033 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8034 (sqrt_test): Use ALL_RM_TEST.
8035 (sqrt_tonearest_test_data): Remove.
8036 (sqrt_test_tonearest): Likewise.
8037 (sqrt_towardzero_test_data): Likewise.
8038 (sqrt_test_towardzero): Likewise.
8039 (sqrt_downward_test_data): Likewise.
8040 (sqrt_test_downward): Likewise.
8041 (sqrt_upward_test_data): Likewise.
8042 (sqrt_test_upward): Likewise.
8043 (tan_test_data): Update call to AUTO_TESTS_f_f.
8044 (tan_test): Use ALL_RM_TEST.
8045 (tan_tonearest_test_data): Remove.
8046 (tan_test_tonearest): Likewise.
8047 (tan_towardzero_test_data): Likewise.
8048 (tan_test_towardzero): Likewise.
8049 (tan_downward_test_data): Likewise.
8050 (tan_test_downward): Likewise.
8051 (tan_upward_test_data): Likewise.
8052 (tan_test_upward): Likewise.
8053 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8054 (tgamma_test_data): Likewise.
8055 (y0_test_data): Likewise.
8056 (y1_test_data): Likewise.
8057 (yn_test_data): Update call to AUTO_TESTS_if_f.
8058 (main): Do not call removed functions.
8060 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8062 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8063 (ldexp_test_data): Remove.
8064 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8066 (scalb_test): Use ALL_RM_TEST.
8068 2014-03-19 Andreas Schwab <schwab@suse.de>
8070 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8072 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8075 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8076 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8077 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8078 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8079 (__ASSUME_PREADV): Undefine.
8080 (__ASSUME_PWRITEV): Likewise.
8082 2014-03-18 Roland McGrath <roland@hack.frob.com>
8084 * bits/mman-linux.h: Add comment about non-Linux use.
8085 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8086 bits/mman-linux.h resting place.
8088 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8089 * bits/mman-linux.h: ... here.
8091 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8093 * conform/conformtest.pl: Add standard definition when calling C
8094 preprocessor on data files.
8095 (checknamespace): Remove unused variable.
8097 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8099 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8100 minus_oflow, plus_uflow and minus_uflow in expected results.
8101 * math/libm-test.inc (scalbn_test_data): Add more tests of
8102 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8104 (scalbn_test): Use ALL_RM_TEST.
8105 (scalbln_test_data): Add more tests of negative arguments. Use
8106 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8107 (scalbln_test): Use ALL_RM_TEST.
8109 2014-03-18 Roland McGrath <roland@hack.frob.com>
8111 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8113 2014-03-18 Will Newton <will.newton@linaro.org>
8115 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8118 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8120 * Makerules [!subdir] (check-abi): Exit with error status if a
8123 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8125 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8126 for rint. Include results for all rounding modes.
8127 (nearbyint_test): Use ALL_RM_TEST.
8128 (rint_test_data): Include all tests used for nearbyint.
8130 2014-03-17 Will Newton <will.newton@linaro.org>
8132 * nptl/sysdeps/pthread/pthread.h: Revert previous
8135 * sysdeps/generic/ldsodefs.h: Revert previous
8138 * libio/genops.c: Revert previous change.
8139 * libio/libioP.h: Likewise.
8140 * stdio-common/vfprintf.c: Likewise.
8142 * sysdeps/generic/math_private.h: Revert previous
8145 * sysdeps/generic/math_private.h: Check whether
8146 HAVE_RM_CTX is defined with #ifdef rather
8149 * argp/argp-fmtstream.h: Check whether
8150 __STRICT_ANSI__ is defined with #ifdef rather
8152 * argp/argp.h: Likewise.
8154 * libio/genops.c: Check whether
8155 _IO_JUMPS_OFFSET is defined with #ifdef rather
8157 * libio/libioP.h: Likewise.
8158 * stdio-common/vfprintf.c: Likewise.
8160 * sysdeps/generic/ldsodefs.h: Check whether
8161 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8164 * nptl/sysdeps/pthread/pthread.h: Check
8165 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8168 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8170 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8172 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8176 * libio/fileops.c (_IO_file_open): Seek to end of file but
8177 don't cache the offset.
8178 (get_file_offset): Remove function.
8179 (do_ftell): Use cached offset when available.
8180 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8181 don't cache the offset.
8182 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8184 (do_one_test): Call it.
8185 (do_ftell_test): Fix up expected old offset for a+ mode.
8186 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8189 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8190 up test status with function return status.
8191 (do_write_test): Likewise.
8192 (do_append_test): Likewise.
8194 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8195 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8198 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8200 * math/gen-libm-test.pl (parse_args): Handle results specified for
8201 each rounding mode separately.
8202 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8203 tests and results from lrint_tonearest_test_data,
8204 lrint_towardzero_test_data, lrint_downward_test_data and
8205 lrint_upward_test_data.
8206 (lrint_test): Use ALL_RM_TEST.
8207 (lrint_tonearest_test_data): Remove.
8208 (lrint_test_tonearest): Likewise.
8209 (lrint_towardzero_test_data): Likewise.
8210 (lrint_test_towardzero): Likewise.
8211 (lrint_downward_test_data): Likewise.
8212 (lrint_test_downward): Likewise.
8213 (lrint_upward_test_data): Likewise.
8214 (lrint_test_upward): Likewise.
8215 (llrint_test_data): Merge in per-rounding-mode tests and results
8216 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8217 llrint_downward_test_data and llrint_upward_test_data.
8218 (llrint_test): Use ALL_RM_TEST.
8219 (llrint_tonearest_test_data): Remove.
8220 (llrint_test_tonearest): Likewise.
8221 (llrint_towardzero_test_data): Likewise.
8222 (llrint_test_towardzero): Likewise.
8223 (llrint_downward_test_data): Likewise.
8224 (llrint_test_downward): Likewise.
8225 (llrint_upward_test_data): Likewise.
8226 (llrint_test_upward): Likewise.
8227 (rint_test_data): Merge in per-rounding-mode tests and results
8228 from rint_tonearest_test_data, rint_towardzero_test_data,
8229 rint_downward_test_data and rint_upward_test_data. Add
8230 per-rounding-mode results for tests not in those arrays.
8231 (rint_test): Use ALL_RM_TEST.
8232 (rint_tonearest_test_data): Remove.
8233 (rint_test_tonearest): Likewise.
8234 (rint_towardzero_test_data): Likewise.
8235 (rint_test_towardzero): Likewise.
8236 (rint_downward_test_data): Likewise.
8237 (rint_test_downward): Likewise.
8238 (rint_upward_test_data): Likewise.
8239 (rint_test_upward): Likewise.
8240 (main): Don't call removed functions.
8242 2014-03-14 Roland McGrath <roland@hack.frob.com>
8244 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8245 "Compiled on ..." crapola. It is anti-useful.
8247 2014-03-14 Joseph Myers <joseph@codesourcery.com>
8249 * scripts/evaluate-test.sh: Handle fourth argument to determine
8250 whether test run should stop on failure.
8251 * Makeconfig (stop-on-test-failure): New variable.
8252 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8253 $(stop-on-test-failure).
8254 * Makefile (tests): Give a summary of results from testing and
8255 exit with failure status if they include an ERROR or FAIL.
8257 * manual/install.texi (Configuring and compiling): Mention
8258 stop-on-test-failure=y.
8259 * INSTALL: Regenerated.
8261 2014-03-14 Roland McGrath <roland@hack.frob.com>
8263 * scripts/versionlist.awk: New file.
8264 * Makerules [$(build-shared) = yes]
8265 (postclean-generated): Add Versions.def, not Versions.def.v and
8267 ($(common-objpfx)Versions.def.v.i): Target removed.
8268 ($(common-objpfx)Versions.def): New target.
8269 ($(common-objpfx)Versions.all): Depend on that rather that
8270 $(common-objpfx)Versions.def.v.
8271 * Versions.def: File removed.
8273 * Makeconfig (+gccwarn): Add -Wundef.
8274 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8275 a dl-sysdep.h breaking its contract.
8276 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8277 * include/stackinfo.h: New file.
8278 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8279 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8280 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8281 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8282 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8283 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8284 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8285 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8286 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8287 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8288 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8289 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8290 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8291 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8292 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8294 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8297 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8299 * math/libm-test.inc (round_test_data): Add more tests.
8302 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8304 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8307 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8309 * math/libm-test.inc (ceil_test_data): Add more tests.
8311 * math/libm-test.inc (trunc_test_data): Add more tests related to
8314 2014-03-14 Roland McGrath <roland@hack.frob.com>
8316 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8317 with #if rather than #ifdef.
8318 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8320 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8322 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8323 first. Disable AVX-512 GCC support if assembler doesn't support
8325 * sysdeps/x86_64/configure: Regenerated.
8327 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8329 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8330 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8331 (__old_pthread_attr_setstack): Likewise.
8332 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8333 [!_STACK_GROWS_DOWN]: Likewise.
8335 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8337 * config.make.in (have-bash2): Delete.
8338 * configure.ac (libc_cv_have_bash2): Delete.
8339 * configure: Regenerate.
8340 * elf/Makefile (common-ldd-rewrite): Rename to ...
8341 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8342 (sh-ldd-rewrite): Delete.
8343 (bash-ldd-rewrite): Delete.
8344 (have-bash2): Delete checks.
8345 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8348 * config.make.in (have-ksh): Delete.
8350 * configure.ac (libc_cv_have_ksh): Delete.
8351 * configure: Regenerate.
8353 * elf/Makefile: Delete $(have-ksh) check.
8354 ($(objpfx)sotruss): Change KSH to BASH.
8355 * elf/sotruss.ksh: Rename to ...
8356 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8357 function style to match POSIX. Drop ksh vim mode setting.
8359 * manual/time.texi (Specifying the Time Zone with TZ): Change
8360 Tuesday to Thursday.
8362 * debug/tst-longjmp_chk2.c: Update header comment.
8363 (stackoverflow_handler): Add comment. Call assert on pass value.
8365 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8368 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8369 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8370 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8371 (La_x86_64_vector): Add zmm.
8372 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8373 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8374 ($(objpfx)tst-audit10): New target.
8375 ($(objpfx)tst-audit10.out): Likewise.
8376 (tst-audit10-ENV): New.
8377 (AVX512-CFLAGS): Likewise.
8378 (CFLAGS-tst-audit10.c): Likewise.
8379 (CFLAGS-tst-auditmod10a.c): Likewise.
8380 (CFLAGS-tst-auditmod10b.c): Likewise.
8381 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8382 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8383 * sysdeps/x86_64/configure: Regenerated.
8384 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8385 AVX-512 zmm register support.
8386 (_dl_x86_64_save_sse): Likewise.
8387 (_dl_x86_64_restore_sse): Likewise.
8388 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8389 size vector registers.
8390 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8391 (ZMM_SIZE): Likewise.
8392 * sysdeps/x86_64/tst-audit10.c: New file.
8393 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8394 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8396 2014-03-13 Roland McGrath <roland@hack.frob.com>
8398 * configure.ac (HAVE_EHDR_START): New check.
8399 * configure: Regenerated.
8400 * config.h.in (HAVE_EHDR_START): New #undef.
8401 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8402 assuming the lowest-addressed segment maps the start of the file.
8404 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8406 * INSTALL: Regenerated.
8408 2014-03-13 Will Newton <will.newton@linaro.org>
8410 * manual/setjmp.texi (System V contexts): Improve
8411 clarity and grammar of documentation.
8413 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8416 * elf/Makefile (tests): Add tst-pie2.
8417 (tests-pie): Add tst-pie2.
8418 * elf/tst-pie2.c: New file.
8419 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8421 * elf/rtld.c (map_doit): Load executable as lt_executable.
8422 (dl_main): Likewise.
8424 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8427 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8428 (__ASSUME_PSELECT): Undefine.
8430 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8433 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8434 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8436 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8437 selector for static builds.
8439 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8442 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8445 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8447 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8448 IFUNC selector for static builds.
8450 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8452 * sysdeps/mips/math_private.h [__mips_hard_float]
8453 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8454 libc_feresetround_mips_ctx.
8455 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8456 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8457 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8460 * math/s_nextafter.c (__nextafter): Do not return value from
8461 overflowing computation.
8462 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8463 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8464 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8466 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8468 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8469 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8471 2014-03-11 Roland McGrath <roland@hack.frob.com>
8473 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8474 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8475 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8476 the new mov targetting sp.
8478 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8481 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8482 Define it for static builds as well.
8483 (NO_BZERO_IMPL): Likewise.
8485 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8487 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8488 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8489 multiarch strspn for PPC64.
8490 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8491 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8493 (__libc_ifunc_impl_list): Likewise.
8494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8495 multiarch optimizations
8496 * string/strspn.c (strspn): Using macro to redefine symbol name.
8498 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8499 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8501 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8502 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8503 multiarch strncat for PPC64.
8504 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8505 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8507 (__libc_ifunc_impl_list): Likewise.
8508 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8509 multiarch optimizations
8511 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8514 * nscd/nscd.service: Make service type forking.
8516 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8518 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8519 sign in non default rounding modes.
8520 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8522 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8524 * math/libm-test.inc (ALL_RM_TEST): New macro.
8525 (ceil_test): Use ALL_RM_TEST.
8526 (cimag_test): Likewise.
8527 (conj_test): Likewise.
8528 (copysign_test): Likewise.
8529 (cproj_test): Likewise.
8530 (creal_test): Likewise.
8531 (fabs_test): Likewise.
8532 (floor_test): Likewise.
8533 (fmax_test): Likewise.
8534 (fmin_test): Likewise.
8535 (fmod_test): Likewise.
8536 (fpclassify_test): Likewise.
8537 (frexp_test): Likewise.
8538 (ilogb_test): Likewise.
8539 (isfinite_test): Likewise.
8540 (finite_test): Likewise.
8541 (isgreater_test): Likewise.
8542 (isgreaterequal_test): Likewise.
8543 (isinf_test): Likewise.
8544 (isless_test): Likewise.
8545 (islessequal_test): Likewise.
8546 (islessgreater_test): Likewise.
8547 (isnan_test): Likewise.
8548 (isnormal_test): Likewise.
8549 (issignaling_test): Likewise.
8550 (isunordered_test): Likewise.
8551 (logb_test): Likewise.
8552 (logb_downward_test_data): Remove.
8553 (logb_test_downward): Likewise.
8554 (lround_test): Use ALL_RM_TEST.
8555 (llround_test): Likewise.
8556 (modf_test): Likewise.
8557 (nexttoward_test): Likewise.
8558 (remainder_test): Likewise.
8559 (drem_test): Likewise.
8560 (remainder_tonearest_test_data): Likewise.
8561 (remainder_test_tonearest): Likewise.
8562 (drem_test_tonearest): Likewise.
8563 (remainder_towardzero_test_data): Likewise.
8564 (remainder_test_towardzero): Likewise.
8565 (drem_test_towardzero): Likewise.
8566 (remainder_downward_test_data): Likewise.
8567 (remainder_test_downward): Likewise.
8568 (drem_test_downward): Likewise.
8569 (remainder_upward_test_data): Likewise.
8570 (remainder_test_upward): Likewise.
8571 (drem_test_upward): Likewise.
8572 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8573 (round_test): Use ALL_RM_TEST.
8574 (signbit_test): Likewise.
8575 (trunc_test): Likewise.
8576 (significand_test): Likewise.
8577 (main): Don't call removed functions.
8579 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8582 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8584 (ILL_ILLOPN): Likewise.
8585 (ILL_ILLADR): Likewise.
8586 (ILL_ILLTRP): Likewise.
8587 (ILL_PRVOPC): Likewise.
8588 (ILL_PRVREG): Likewise.
8589 (ILL_COPROC): Likewise.
8590 (ILL_BADSTK): Likewise.
8591 (FPE_INTDIV): Likewise.
8592 (FPE_INTOVF): Likewise.
8593 (FPE_FLTDIV): Likewise.
8594 (FPE_FLTOVF): Likewise.
8595 (FPE_FLTUND): Likewise.
8596 (FPE_FLTRES): Likewise.
8597 (FPE_FLTINV): Likewise.
8598 (FPE_FLTSUB): Likewise.
8599 (SEGV_MAPERR): Likewise.
8600 (SEGV_ACCERR): Likewise.
8601 (BUS_ADRALN): Likewise.
8602 (BUS_ADRERR): Likewise.
8603 (BUS_OBJERR): Likewise.
8604 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8605 (TRAP_TRACE): Likewise.
8606 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8608 (CLD_KILLED): Likewise.
8609 (CLD_DUMPED): Likewise.
8610 (CLD_TRAPPED): Likewise.
8611 (CLD_STOPPED): Likewise.
8612 (CLD_CONTINUED): Likewise.
8613 (POLL_IN): Likewise.
8614 (POLL_OUT): Likewise.
8615 (POLL_MSG): Likewise.
8616 (POLL_ERR): Likewise.
8617 (POLL_PRI): Likewise.
8618 (POLL_HUP): Likewise.
8619 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8621 (ILL_ILLOPN): Likewise.
8622 (ILL_ILLADR): Likewise.
8623 (ILL_ILLTRP): Likewise.
8624 (ILL_PRVOPC): Likewise.
8625 (ILL_PRVREG): Likewise.
8626 (ILL_COPROC): Likewise.
8627 (ILL_BADSTK): Likewise.
8628 (FPE_INTDIV): Likewise.
8629 (FPE_INTOVF): Likewise.
8630 (FPE_FLTDIV): Likewise.
8631 (FPE_FLTOVF): Likewise.
8632 (FPE_FLTUND): Likewise.
8633 (FPE_FLTRES): Likewise.
8634 (FPE_FLTINV): Likewise.
8635 (FPE_FLTSUB): Likewise.
8636 (SEGV_MAPERR): Likewise.
8637 (SEGV_ACCERR): Likewise.
8638 (BUS_ADRALN): Likewise.
8639 (BUS_ADRERR): Likewise.
8640 (BUS_OBJERR): Likewise.
8641 (BUS_MCEERR_AR): Likewise.
8642 (BUS_MCEERR_AO): Likewise.
8643 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8644 (TRAP_TRACE): Likewise.
8645 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8647 (CLD_KILLED): Likewise.
8648 (CLD_DUMPED): Likewise.
8649 (CLD_TRAPPED): Likewise.
8650 (CLD_STOPPED): Likewise.
8651 (CLD_CONTINUED): Likewise.
8652 (POLL_IN): Likewise.
8653 (POLL_OUT): Likewise.
8654 (POLL_MSG): Likewise.
8655 (POLL_ERR): Likewise.
8656 (POLL_PRI): Likewise.
8657 (POLL_HUP): Likewise.
8658 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8659 (ILL_ILLOPN): Likewise.
8660 (ILL_ILLADR): Likewise.
8661 (ILL_ILLTRP): Likewise.
8662 (ILL_PRVOPC): Likewise.
8663 (ILL_PRVREG): Likewise.
8664 (ILL_COPROC): Likewise.
8665 (ILL_BADSTK): Likewise.
8666 (FPE_INTDIV): Likewise.
8667 (FPE_INTOVF): Likewise.
8668 (FPE_FLTDIV): Likewise.
8669 (FPE_FLTOVF): Likewise.
8670 (FPE_FLTUND): Likewise.
8671 (FPE_FLTRES): Likewise.
8672 (FPE_FLTINV): Likewise.
8673 (FPE_FLTSUB): Likewise.
8674 (SEGV_MAPERR): Likewise.
8675 (SEGV_ACCERR): Likewise.
8676 (BUS_ADRALN): Likewise.
8677 (BUS_ADRERR): Likewise.
8678 (BUS_OBJERR): Likewise.
8679 (BUS_MCEERR_AR): Likewise.
8680 (BUS_MCEERR_AO): Likewise.
8681 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8682 (TRAP_TRACE): Likewise.
8683 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8685 (CLD_KILLED): Likewise.
8686 (CLD_DUMPED): Likewise.
8687 (CLD_TRAPPED): Likewise.
8688 (CLD_STOPPED): Likewise.
8689 (CLD_CONTINUED): Likewise.
8690 (POLL_IN): Likewise.
8691 (POLL_OUT): Likewise.
8692 (POLL_MSG): Likewise.
8693 (POLL_ERR): Likewise.
8694 (POLL_PRI): Likewise.
8695 (POLL_HUP): Likewise.
8696 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8698 (ILL_ILLOPN): Likewise.
8699 (ILL_ILLADR): Likewise.
8700 (ILL_ILLTRP): Likewise.
8701 (ILL_PRVOPC): Likewise.
8702 (ILL_PRVREG): Likewise.
8703 (ILL_COPROC): Likewise.
8704 (ILL_BADSTK): Likewise.
8705 (ILL_BADIADDR): Likewise.
8706 (ILL_BREAK): Likewise.
8707 (FPE_INTDIV): Likewise.
8708 (FPE_INTOVF): Likewise.
8709 (FPE_FLTDIV): Likewise.
8710 (FPE_FLTOVF): Likewise.
8711 (FPE_FLTUND): Likewise.
8712 (FPE_FLTRES): Likewise.
8713 (FPE_FLTINV): Likewise.
8714 (FPE_FLTSUB): Likewise.
8715 (FPE_DECOVF): Likewise.
8716 (FPE_DECDIV): Likewise.
8717 (FPE_DECERR): Likewise.
8718 (FPE_INVASC): Likewise.
8719 (FPE_INVDEC): Likewise.
8720 (SEGV_MAPERR): Likewise.
8721 (SEGV_ACCERR): Likewise.
8722 (SEGV_PSTKOVF): Likewise.
8723 (BUS_ADRALN): Likewise.
8724 (BUS_ADRERR): Likewise.
8725 (BUS_OBJERR): Likewise.
8726 (BUS_MCEERR_AR): Likewise.
8727 (BUS_MCEERR_AO): Likewise.
8728 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8729 (TRAP_TRACE): Likewise.
8730 (TRAP_BRANCH): Likewise.
8731 (TRAP_HWBKPT): Likewise.
8732 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8734 (CLD_KILLED): Likewise.
8735 (CLD_DUMPED): Likewise.
8736 (CLD_TRAPPED): Likewise.
8737 (CLD_STOPPED): Likewise.
8738 (CLD_CONTINUED): Likewise.
8739 (POLL_IN): Likewise.
8740 (POLL_OUT): Likewise.
8741 (POLL_MSG): Likewise.
8742 (POLL_ERR): Likewise.
8743 (POLL_PRI): Likewise.
8744 (POLL_HUP): Likewise.
8745 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8746 (ILL_ILLOPN): Likewise.
8747 (ILL_ILLADR): Likewise.
8748 (ILL_ILLTRP): Likewise.
8749 (ILL_PRVOPC): Likewise.
8750 (ILL_PRVREG): Likewise.
8751 (ILL_COPROC): Likewise.
8752 (ILL_BADSTK): Likewise.
8753 (FPE_INTDIV): Likewise.
8754 (FPE_INTOVF): Likewise.
8755 (FPE_FLTDIV): Likewise.
8756 (FPE_FLTOVF): Likewise.
8757 (FPE_FLTUND): Likewise.
8758 (FPE_FLTRES): Likewise.
8759 (FPE_FLTINV): Likewise.
8760 (FPE_FLTSUB): Likewise.
8761 (SEGV_MAPERR): Likewise.
8762 (SEGV_ACCERR): Likewise.
8763 (BUS_ADRALN): Likewise.
8764 (BUS_ADRERR): Likewise.
8765 (BUS_OBJERR): Likewise.
8766 (BUS_MCEERR_AR): Likewise.
8767 (BUS_MCEERR_AO): Likewise.
8768 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8769 (TRAP_TRACE): Likewise.
8770 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8772 (CLD_KILLED): Likewise.
8773 (CLD_DUMPED): Likewise.
8774 (CLD_TRAPPED): Likewise.
8775 (CLD_STOPPED): Likewise.
8776 (CLD_CONTINUED): Likewise.
8777 (POLL_IN): Likewise.
8778 (POLL_OUT): Likewise.
8779 (POLL_MSG): Likewise.
8780 (POLL_ERR): Likewise.
8781 (POLL_PRI): Likewise.
8782 (POLL_HUP): Likewise.
8783 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8784 (ILL_ILLOPN): Likewise.
8785 (ILL_ILLADR): Likewise.
8786 (ILL_ILLTRP): Likewise.
8787 (ILL_PRVOPC): Likewise.
8788 (ILL_PRVREG): Likewise.
8789 (ILL_COPROC): Likewise.
8790 (ILL_BADSTK): Likewise.
8791 (FPE_INTDIV): Likewise.
8792 (FPE_INTOVF): Likewise.
8793 (FPE_FLTDIV): Likewise.
8794 (FPE_FLTOVF): Likewise.
8795 (FPE_FLTUND): Likewise.
8796 (FPE_FLTRES): Likewise.
8797 (FPE_FLTINV): Likewise.
8798 (FPE_FLTSUB): Likewise.
8799 (SEGV_MAPERR): Likewise.
8800 (SEGV_ACCERR): Likewise.
8801 (BUS_ADRALN): Likewise.
8802 (BUS_ADRERR): Likewise.
8803 (BUS_OBJERR): Likewise.
8804 (BUS_MCEERR_AR): Likewise.
8805 (BUS_MCEERR_AO): Likewise.
8806 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8807 (TRAP_TRACE): Likewise.
8808 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8810 (CLD_KILLED): Likewise.
8811 (CLD_DUMPED): Likewise.
8812 (CLD_TRAPPED): Likewise.
8813 (CLD_STOPPED): Likewise.
8814 (CLD_CONTINUED): Likewise.
8815 (POLL_IN): Likewise.
8816 (POLL_OUT): Likewise.
8817 (POLL_MSG): Likewise.
8818 (POLL_ERR): Likewise.
8819 (POLL_PRI): Likewise.
8820 (POLL_HUP): Likewise.
8821 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8822 (ILL_ILLOPN): Likewise.
8823 (ILL_ILLADR): Likewise.
8824 (ILL_ILLTRP): Likewise.
8825 (ILL_PRVOPC): Likewise.
8826 (ILL_PRVREG): Likewise.
8827 (ILL_COPROC): Likewise.
8828 (ILL_BADSTK): Likewise.
8829 (FPE_INTDIV): Likewise.
8830 (FPE_INTOVF): Likewise.
8831 (FPE_FLTDIV): Likewise.
8832 (FPE_FLTOVF): Likewise.
8833 (FPE_FLTUND): Likewise.
8834 (FPE_FLTRES): Likewise.
8835 (FPE_FLTINV): Likewise.
8836 (FPE_FLTSUB): Likewise.
8837 (SEGV_MAPERR): Likewise.
8838 (SEGV_ACCERR): Likewise.
8839 (BUS_ADRALN): Likewise.
8840 (BUS_ADRERR): Likewise.
8841 (BUS_OBJERR): Likewise.
8842 (BUS_MCEERR_AR): Likewise.
8843 (BUS_MCEERR_AO): Likewise.
8844 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8845 (TRAP_TRACE): Likewise.
8846 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8848 (CLD_KILLED): Likewise.
8849 (CLD_DUMPED): Likewise.
8850 (CLD_TRAPPED): Likewise.
8851 (CLD_STOPPED): Likewise.
8852 (CLD_CONTINUED): Likewise.
8853 (POLL_IN): Likewise.
8854 (POLL_OUT): Likewise.
8855 (POLL_MSG): Likewise.
8856 (POLL_ERR): Likewise.
8857 (POLL_PRI): Likewise.
8858 (POLL_HUP): Likewise.
8859 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8860 (ILL_ILLOPN): Likewise.
8861 (ILL_ILLADR): Likewise.
8862 (ILL_ILLTRP): Likewise.
8863 (ILL_PRVOPC): Likewise.
8864 (ILL_PRVREG): Likewise.
8865 (ILL_COPROC): Likewise.
8866 (ILL_BADSTK): Likewise.
8867 (ILL_DBLFLT): Likewise.
8868 (ILL_HARDWALL): Likewise.
8869 (FPE_INTDIV): Likewise.
8870 (FPE_INTOVF): Likewise.
8871 (FPE_FLTDIV): Likewise.
8872 (FPE_FLTOVF): Likewise.
8873 (FPE_FLTUND): Likewise.
8874 (FPE_FLTRES): Likewise.
8875 (FPE_FLTINV): Likewise.
8876 (FPE_FLTSUB): Likewise.
8877 (SEGV_MAPERR): Likewise.
8878 (SEGV_ACCERR): Likewise.
8879 (BUS_ADRALN): Likewise.
8880 (BUS_ADRERR): Likewise.
8881 (BUS_OBJERR): Likewise.
8882 (BUS_MCEERR_AR): Likewise.
8883 (BUS_MCEERR_AO): Likewise.
8884 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8885 (TRAP_TRACE): Likewise.
8886 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8888 (CLD_KILLED): Likewise.
8889 (CLD_DUMPED): Likewise.
8890 (CLD_TRAPPED): Likewise.
8891 (CLD_STOPPED): Likewise.
8892 (CLD_CONTINUED): Likewise.
8893 (POLL_IN): Likewise.
8894 (POLL_OUT): Likewise.
8895 (POLL_MSG): Likewise.
8896 (POLL_ERR): Likewise.
8897 (POLL_PRI): Likewise.
8898 (POLL_HUP): Likewise.
8899 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8900 (ILL_ILLOPN): Likewise.
8901 (ILL_ILLADR): Likewise.
8902 (ILL_ILLTRP): Likewise.
8903 (ILL_PRVOPC): Likewise.
8904 (ILL_PRVREG): Likewise.
8905 (ILL_COPROC): Likewise.
8906 (ILL_BADSTK): Likewise.
8907 (FPE_INTDIV): Likewise.
8908 (FPE_INTOVF): Likewise.
8909 (FPE_FLTDIV): Likewise.
8910 (FPE_FLTOVF): Likewise.
8911 (FPE_FLTUND): Likewise.
8912 (FPE_FLTRES): Likewise.
8913 (FPE_FLTINV): Likewise.
8914 (FPE_FLTSUB): Likewise.
8915 (SEGV_MAPERR): Likewise.
8916 (SEGV_ACCERR): Likewise.
8917 (BUS_ADRALN): Likewise.
8918 (BUS_ADRERR): Likewise.
8919 (BUS_OBJERR): Likewise.
8920 (BUS_MCEERR_AR): Likewise.
8921 (BUS_MCEERR_AO): Likewise.
8922 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8923 (TRAP_TRACE): Likewise.
8924 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8926 (CLD_KILLED): Likewise.
8927 (CLD_DUMPED): Likewise.
8928 (CLD_TRAPPED): Likewise.
8929 (CLD_STOPPED): Likewise.
8930 (CLD_CONTINUED): Likewise.
8931 (POLL_IN): Likewise.
8932 (POLL_OUT): Likewise.
8933 (POLL_MSG): Likewise.
8934 (POLL_ERR): Likewise.
8935 (POLL_PRI): Likewise.
8936 (POLL_HUP): Likewise.
8937 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8938 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8941 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8942 before #include of <time.h>.
8943 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8944 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8945 (test-xfail-UNIX98/sched.h/conform): Likewise.
8947 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8949 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8950 error absence of trapping exception support.
8951 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8953 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8955 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8956 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8957 * timezone/Makefile (testdata): Move definition above include of
8959 (test-zones): New variable.
8960 (tests-special): Add zone files.
8961 (build-testdata): Use $(evaluate-test).
8963 * elf/Makefile (tests-special): Rename tests to end with .out.
8964 ($(objpfx)noload-mem): Likewise.
8965 ($(objpfx)tst-leaks1-mem): Likewise.
8966 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8967 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8968 $(objpfx)test-iconvconfig.out.
8969 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8970 set -e inside subshell and redirect output to file.
8971 * iconvdata/Makefile (generated): Rename tests to end with .out.
8973 (tests-special): Rename tests to end with .out.
8974 ($(objpfx)mtrace-tst-loading): Likewise.
8975 * intl/Makefile (generated): Likewise.
8976 (tests-special): Likewise.
8977 ($(objpfx)mtrace-tst-gettext): Likewise.
8978 * misc/Makefile (generated): Likewise.
8979 (tests-special): Likewise.
8980 ($(objpfx)tst-error1-mem): Likewise.
8981 * nptl/Makefile (tests-special): Likewise.
8982 ($(objpfx)tst-stack3-mem): Likewise.
8983 (generated): Likewise.
8984 * posix/Makefile (generated): Likewise.
8985 (tests-special): Likewise.
8986 (xtests-special): Likewise.
8987 ($(objpfx)tst-fnmatch-mem): Likewise.
8988 ($(objpfx)bug-regex2-mem): Likewise.
8989 ($(objpfx)bug-regex14-mem): Likewise.
8990 ($(objpfx)bug-regex21-mem): Likewise.
8991 ($(objpfx)bug-regex31-mem): Likewise.
8992 ($(objpfx)tst-vfork3-mem): Likewise.
8993 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8994 ($(objpfx)tst-pcre-mem): Likewise.
8995 ($(objpfx)tst-boost-mem): Likewise.
8996 ($(objpfx)bug-ga2-mem): Likewise.
8997 ($(objpfx)bug-glob2-mem): Likewise.
8998 * resolv/Makefile (generate): Likewise.
8999 (tests-special): Likewise.
9000 (xtests-special): Likewise.
9001 (generated): Likewise.
9002 ($(objpfx)mtrace-tst-leaks): Likewise.
9003 ($(objpfx)mtrace-tst-leaks2): Likewise.
9005 * scripts/merge-test-results.sh: New file.
9006 * Makefile (tests-special-notdir): New variable.
9007 (tests): Run merge-test-results.sh.
9009 * Rules (tests-special-notdir): New variable.
9010 (xtests-special-notdir): Likewise.
9011 (tests): Run merge-test-results.sh
9014 * Makeconfig (test-xfail-name): New variable.
9015 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9016 compute variable name for expected failures.
9017 * conform/Makefile (conformtest-headers-data): New variable.
9018 (conformtest-standards): Likewise.
9019 (conformtest-headers-ISO): Likewise.
9020 (conformtest-headers-ISO99): Likewise.
9021 (conformtest-headers-ISO11): Likewise.
9022 (conformtest-headers-POSIX): Likewise.
9023 (conformtest-headers-XPG3): Likewise.
9024 (conformtest-headers-XPG4): Likewise.
9025 (conformtest-headers-UNIX98): Likewise.
9026 (conformtest-headers-XOPEN2K): Likewise.
9027 (conformtest-headers-POSIX2008): Likewise.
9028 (conformtest-headers-XOPEN2K8): Likewise.
9029 (conformtest-header-list-base): Likewise.
9030 (conformtest-header-list-tests): Likewise.
9031 (conformtest-header-base): Likewise.
9032 (conformtest-header-tests): Likewise.
9033 (tests-special): Add $(conformtest-header-list-tests). If
9034 [$(fast-check) && !$(cross-compiling)], add
9035 $(conformtest-header-tests) instead of
9036 $(objpfx)run-conformtest.out.
9037 (generated): Add $(conformtest-header-list-base). If
9038 [$(fast-check) && !$(cross-compiling)], add
9039 $(conformtest-header-base). Remove previous setting.
9040 ($(conformtest-header-list-tests)): New target.
9041 (test-xfail-run-conformtest): Remove variable.
9042 ($(objpfx)run-conformtest.out): Remove target.
9043 (test-xfail-ISO11/complex.h/conform): New variable.
9044 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9045 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9046 (test-xfail-XPG3/varargs.h/conform): Likewise.
9047 (test-xfail-XPG4/varargs.h/conform): Likewise.
9048 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9049 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9050 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9051 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9052 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9053 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9054 (test-xfail-XPG3/ftw.h/conform): Likewise.
9055 (test-xfail-XPG3/grp.h/conform): Likewise.
9056 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9057 (test-xfail-XPG3/limits.h/conform): Likewise.
9058 (test-xfail-XPG3/pwd.h/conform): Likewise.
9059 (test-xfail-XPG3/search.h/conform): Likewise.
9060 (test-xfail-XPG3/signal.h/conform): Likewise.
9061 (test-xfail-XPG3/stdio.h/conform): Likewise.
9062 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9063 (test-xfail-XPG3/string.h/conform): Likewise.
9064 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9065 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9066 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9067 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9068 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9069 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9070 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9071 (test-xfail-XPG3/termios.h/conform): Likewise.
9072 (test-xfail-XPG3/time.h/conform): Likewise.
9073 (test-xfail-XPG3/unistd.h/conform): Likewise.
9074 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9075 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9076 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9077 (test-xfail-XPG4/netdb.h/conform): Likewise.
9078 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9079 (test-xfail-XPG4/signal.h/conform): Likewise.
9080 (test-xfail-XPG4/stdio.h/conform): Likewise.
9081 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9082 (test-xfail-XPG4/stropts.h/conform): Likewise.
9083 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9084 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9085 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9086 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9087 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9088 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9089 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9090 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9091 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9092 (test-xfail-XPG4/termios.h/conform): Likewise.
9093 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9094 (test-xfail-XPG4/unistd.h/conform): Likewise.
9095 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9096 (test-xfail-POSIX/sched.h/conform): Likewise.
9097 (test-xfail-POSIX/signal.h/conform): Likewise.
9098 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9099 (test-xfail-POSIX/tar.h/conform): Likewise.
9100 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9101 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9102 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9103 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9104 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9105 (test-xfail-UNIX98/sched.h/conform): Likewise.
9106 (test-xfail-UNIX98/signal.h/conform): Likewise.
9107 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9108 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9109 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9110 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9111 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9112 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9113 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9114 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9115 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9116 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9117 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9118 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9119 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9120 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9121 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9122 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9123 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9124 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9125 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9126 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9127 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9128 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9129 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9130 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9131 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9132 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9133 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9134 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9135 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9136 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9137 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9138 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9139 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9140 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9141 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9142 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9143 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9144 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9145 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9146 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9147 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9148 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9149 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9150 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9151 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9152 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9153 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9154 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9155 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9156 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9157 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9158 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9159 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9160 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9161 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9162 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9163 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9164 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9165 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9166 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9167 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9168 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9169 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9170 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9171 (conformtest-cc-flags): Likewise.
9172 ($(conformtest-header-tests): New target.
9173 * conform/check-header-lists.sh: New file.
9174 * conform/run-conformtest.sh: Remove.
9176 * conform/conformtest.pl: Allow ' and \ in values given for
9178 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9180 [POSIX] (sys/types.h): Likewise.
9181 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9183 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9185 * conform/data/signal.h-data (SIGIO): Remove expectation.
9186 [XPG3] (SIGBUS): Do not expect.
9187 [POSIX || XPG3] (SIGPOLL): Likewise.
9188 [POSIX || XPG3] (SIGPROF): Likewise.
9189 [POSIX || XPG3] (SIGSYS): Likewise.
9190 [XPG3] (SIGTRAP): Likewise.
9191 [POSIX || XPG3] (SIGURG): Likewise.
9192 [POSIX || XPG3] (SIGVTALRM): Likewise.
9193 [POSIX || XPG3] (SIGXCPU): Likewise.
9194 [POSIX || XPG3] (SIGXFSZ): Likewise.
9195 [POSIX] (SA_SIGINFO): Expect.
9196 [XPG3] (siginfo_t): Do not expect type or contents.
9197 [POSIX] (si_pid): Do not expect element.
9198 [POSIX] (si_uid): Likewise.
9199 [POSIX] (si_addr): Likewise.
9200 [POSIX] (si_status): Likewise.
9201 [POSIX] (si_band): Likewise.
9202 [XPG4] (si_value): Likewise.
9203 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9204 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9205 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9206 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9207 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9208 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9209 [POSIX || XPG3] (ILL_COPROC): Likewise.
9210 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9211 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9212 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9213 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9214 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9215 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9216 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9217 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9218 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9219 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9220 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9221 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9222 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9223 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9224 [POSIX || XPG3] (CLD_EXITED): Likewise.
9225 [POSIX || XPG3] (CLD_KILLED): Likewise.
9226 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9227 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9228 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9229 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9230 [POSIX || XPG3] (POLL_IN): Likewise.
9231 [POSIX || XPG3] (POLL_OUT): Likewise.
9232 [POSIX || XPG3] (POLL_MSG): Likewise.
9233 [POSIX || XPG3] (POLL_ERR): Likewise.
9234 [POSIX || XPG3] (POLL_PRI): Likewise.
9235 [POSIX || XPG3] (POLL_HUP): Likewise.
9236 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9237 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9238 (SIG*): Do not allow.
9239 [XPG3] (si_*): Likewise.
9240 [XPG3] (SI_*): Likewise.
9241 [XPG3 || XPG4] (sigev_*): Likewise.
9242 [XPG3 || XPG4] (SIGEV_*): Likewise.
9243 [XPG3 || XPG4] (sival_*): Likewise.
9244 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9245 [POSIX || XPG3] (BUS_*): Likewise.
9246 [POSIX || XPG3] (CLD_*): Likewise.
9247 [POSIX || XPG3] (FPE_*): Likewise.
9248 [POSIX || XPG3] (ILL_*): Likewise.
9249 [POSIX || XPG3] (POLL_*): Likewise.
9250 [POSIX || XPG3] (SEGV_*): Likewise.
9251 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9252 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9253 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9254 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9255 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9256 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9257 Specify type and value.
9258 (TVERSLEN): Likewise.
9259 (REGTYPE): Likewise.
9260 (AREGTYPE): Likewise.
9261 (LNKTYPE): Likewise.
9262 (SYMTYPE): Likewise.
9263 (CHRTYPE): Likewise.
9264 (BLKTYPE): Likewise.
9265 (DIRTYPE): Likewise.
9266 (FIFOTYPE): Likewise.
9267 (CONTTYPE): Likewise.
9272 (TUWRITE): Likewise.
9275 (TGWRITE): Likewise.
9278 (TOWRITE): Likewise.
9280 [POSIX] (TSVTX): Expect constant.
9282 2014-03-06 Joseph Myers <joseph@codesourcery.com>
9284 * Makefile (tests): Change dependencies to ....
9285 (tests-special): ... additions to this variable.
9286 (tests): Depend on $(tests-special).
9287 * Makerules (check-abi-list): New variable.
9288 (check-abi): Depend on $(check-abi-list).
9289 [$(subdir) = elf] (tests-special): Add
9290 $(objpfx)check-abi-libc.out.
9291 [$(build-shared) = yes && subdir] (tests-special): Add
9293 [$(build-shared) = yes && subdir] (tests): Do not depend on
9295 * Rules (tests): Depend on $(tests-special).
9296 (xtests): Depend on $(xtests-special).
9297 * catgets/Makefile (tests): Change dependencies to ....
9298 (tests-special): ... additions to this variable.
9299 * conform/Makefile (tests): Change dependencies to ....
9300 (tests-special): ... additions to this variable.
9301 * elf/Makefile (tests): Change dependencies to ....
9302 (tests-special): ... additions to this variable.
9303 * grp/Makefile (tests): Change dependencies to ....
9304 (tests-special): ... additions to this variable.
9305 * iconv/Makefile (xtests): Change dependencies to ....
9306 (xtests-special): ... additions to this variable.
9307 * iconvdata/Makefile (tests): Change dependencies to ....
9308 (tests-special): ... additions to this variable.
9309 * intl/Makefile (tests): Change dependencies to ....
9310 (tests-special): ... additions to this variable. Also add
9311 $(objpfx)tst-gettext.out.
9312 * io/Makefile (tests): Change dependencies to ....
9313 (tests-special): ... additions to this variable.
9314 * libio/Makefile (tests): Change dependencies to ....
9315 (tests-special): ... additions to this variable.
9316 * malloc/Makefile (tests): Change dependencies to ....
9317 (tests-special): ... additions to this variable.
9318 * misc/Makefile (tests): Change dependencies to ....
9319 (tests-special): ... additions to this variable.
9320 * nptl/Makefile (tests): Change dependencies to ....
9321 (tests-special): ... additions to this variable.
9322 * nptl_db/Makefile (tests): Change dependencies to ....
9323 (tests-special): ... additions to this variable.
9324 * posix/Makefile (tests): Change dependencies to ....
9325 (tests-special): ... additions to this variable.
9326 (xtests): Change dependencies to ....
9327 (xtests-special): ... additions to this variable.
9328 * resolv/Makefile (tests): Change dependencies to ....
9329 (tests-special): ... additions to this variable.
9330 (xtests): Change dependencies to ....
9331 (xtests-special): ... additions to this variable.
9332 * stdio-common/Makefile (tests): Change dependencies to ....
9333 (tests-special): ... additions to this variable.
9334 (do-tst-unbputc): Remove target.
9335 (do-tst-printf): Likewise.
9336 * stdlib/Makefile (tests): Change dependencies to ....
9337 (tests-special): ... additions to this variable.
9338 * string/Makefile (tests): Change dependencies to ....
9339 (tests-special): ... additions to this variable.
9340 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9341 (tests-special): ... additions to this variable.
9343 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9345 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9347 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9348 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9350 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9351 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9352 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9353 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9354 * conform/data/libgen.h-data [XPG3]: Likewise.
9355 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9356 * conform/data/ndbm.h-data [XPG3]: Likewise.
9357 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9358 * conform/data/netdb.h-data [XPG3]: Likewise.
9359 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9360 * conform/data/poll.h-data [XPG3]: Likewise.
9361 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9362 * conform/data/strings.h-data [XPG3]: Likewise.
9363 * conform/data/stropts.h-data [XPG3]: Likewise.
9364 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9365 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9366 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9368 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9369 * conform/data/sys/time.h-data [XPG3]: Likewise.
9370 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9371 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9372 * conform/data/sys/un.h-data [XPG3]: Likewise.
9373 * conform/data/syslog.h-data [XPG3]: Likewise.
9374 * conform/data/ucontext.h-data [XPG3]: Likewise.
9375 * conform/data/utmpx.h-data [XPG3]: Likewise.
9376 * conform/data/varargs.h-data [UNIX98]: Enable file.
9378 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9380 * math/libm-test.inc (struct test_f_f_data): Move expected results
9381 into structure for each rounding mode.
9382 (struct test_ff_f_data): Likewise.
9383 (struct test_ff_f_data_nexttoward): Likewise.
9384 (struct test_fi_f_data): Likewise.
9385 (struct test_fl_f_data): Likewise.
9386 (struct test_if_f_data): Likewise.
9387 (struct test_fff_f_data): Likewise.
9388 (struct test_c_f_data): Likewise.
9389 (struct test_f_f1_data): Likewise.
9390 (struct test_fF_f1_data): Likewise.
9391 (struct test_ffI_f1_data): Likewise.
9392 (struct test_c_c_data): Likewise.
9393 (struct test_cc_c_data): Likewise.
9394 (struct test_f_i_data): Likewise.
9395 (struct test_ff_i_data): Likewise.
9396 (struct test_f_l_data): Likewise.
9397 (struct test_f_L_data): Likewise.
9398 (struct test_fFF_11_data): Likewise.
9400 (RM_FE_DOWNWARD): Likewise.
9401 (RM_FE_TONEAREST): Likewise.
9402 (RM_FE_TOWARDZERO): Likewise.
9403 (RM_FE_UPWARD): Likewise.
9404 (RUN_TEST_LOOP_f_f): Update references to expected results.
9405 (RUN_TEST_LOOP_2_f): Likewise.
9406 (RUN_TEST_LOOP_fff_f): Likewise.
9407 (RUN_TEST_LOOP_c_f): Likewise.
9408 (RUN_TEST_LOOP_f_f1): Likewise.
9409 (RUN_TEST_LOOP_fF_f1): Likewise.
9410 (RUN_TEST_LOOP_fI_f1): Likewise.
9411 (RUN_TEST_LOOP_ffI_f1): Likewise.
9412 (RUN_TEST_LOOP_c_c): Likewise.
9413 (RUN_TEST_LOOP_cc_c): Likewise.
9414 (RUN_TEST_LOOP_f_i): Likewise.
9415 (RUN_TEST_LOOP_f_i_tg): Likewise.
9416 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9417 (RUN_TEST_LOOP_f_b): Likewise.
9418 (RUN_TEST_LOOP_f_b_tg): Likewise.
9419 (RUN_TEST_LOOP_f_l): Likewise.
9420 (RUN_TEST_LOOP_f_L): Likewise.
9421 (RUN_TEST_LOOP_fFF_11): Likewise.
9422 * math/gen-libm-test.pl (parse_args): Output four copies of
9423 expected results for each test.
9425 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9426 (__ASSUME_UTIMES): Remove.
9427 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9428 (__ASSUME_UTIMES): Likewise.
9430 * math/gen-auto-libm-tests.c: Update comment on output format.
9431 (output_for_one_input_case): Generate before-rounding and
9432 after-rounding information as conditions on output flags not
9433 floating-point format.
9434 * math/auto-libm-test-out: Regenerated.
9435 * math/gen-libm-test.pl (cond_value): New function.
9436 (or_cond_value): Use cond_value.
9437 (generate_testfile): Handle conditional exceptions.
9439 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9441 * math/libm-test.inc (max_valid_error): New variable.
9442 (init_max_error): Take new argument specifying whether function
9443 results are exactly determined. Set max_valid_error and bound
9444 other variables for errors based on this argument.
9445 (set_max_error): Do not record results above max_valid_error.
9446 (check_float_internal): Only accept errors of up to 0.5ulps if
9447 also at most max_valid_error.
9448 (START): Take new argument EXACT and pass it to init_max_error.
9449 (acos_test): Update call to START.
9450 (acos_test_tonearest): Likewise.
9451 (acos_test_towardzero): Likewise.
9452 (acos_test_downward): Likewise.
9453 (acos_test_upward): Likewise.
9454 (acosh_test): Likewise.
9455 (asin_test): Likewise.
9456 (asin_test_tonearest): Likewise.
9457 (asin_test_towardzero): Likewise.
9458 (asin_test_downward): Likewise.
9459 (asin_test_upward): Likewise.
9460 (asinh_test): Likewise.
9461 (atan_test): Likewise.
9462 (atanh_test): Likewise.
9463 (atan2_test): Likewise.
9464 (cabs_test): Likewise.
9465 (cacos_test): Likewise.
9466 (cacosh_test): Likewise.
9467 (carg_test): Likewise.
9468 (casin_test): Likewise.
9469 (casinh_test): Likewise.
9470 (catan_test): Likewise.
9471 (catanh_test): Likewise.
9472 (cbrt_test): Likewise.
9473 (ccos_test): Likewise.
9474 (ccosh_test): Likewise.
9475 (ceil_test): Likewise.
9476 (cexp_test): Likewise.
9477 (cimag_test): Likewise.
9478 (clog_test): Likewise.
9479 (clog10_test): Likewise.
9480 (conj_test): Likewise.
9481 (copysign_test): Likewise.
9482 (cos_test): Likewise.
9483 (cos_test_tonearest): Likewise.
9484 (cos_test_towardzero): Likewise.
9485 (cos_test_downward): Likewise.
9486 (cos_test_upward): Likewise.
9487 (cosh_test): Likewise.
9488 (cosh_test_tonearest): Likewise.
9489 (cosh_test_towardzero): Likewise.
9490 (cosh_test_downward): Likewise.
9491 (cosh_test_upward): Likewise.
9492 (cpow_test): Likewise.
9493 (cproj_test): Likewise.
9494 (creal_test): Likewise.
9495 (csin_test): Likewise.
9496 (csinh_test): Likewise.
9497 (csqrt_test): Likewise.
9498 (ctan_test): Likewise.
9499 (ctan_test_tonearest): Likewise.
9500 (ctan_test_towardzero): Likewise.
9501 (ctan_test_downward): Likewise.
9502 (ctan_test_upward): Likewise.
9503 (ctanh_test): Likewise.
9504 (ctanh_test_tonearest): Likewise.
9505 (ctanh_test_towardzero): Likewise.
9506 (ctanh_test_downward): Likewise.
9507 (ctanh_test_upward): Likewise.
9508 (erf_test): Likewise.
9509 (erfc_test): Likewise.
9510 (exp_test): Likewise.
9511 (exp_test_tonearest): Likewise.
9512 (exp_test_towardzero): Likewise.
9513 (exp_test_downward): Likewise.
9514 (exp_test_upward): Likewise.
9515 (exp10_test): Likewise.
9516 (exp10_test_tonearest): Likewise.
9517 (exp10_test_towardzero): Likewise.
9518 (exp10_test_downward): Likewise.
9519 (exp10_test_upward): Likewise.
9520 (pow10_test): Likewise.
9521 (exp2_test): Likewise.
9522 (expm1_test): Likewise.
9523 (expm1_test_tonearest): Likewise.
9524 (expm1_test_towardzero): Likewise.
9525 (expm1_test_downward): Likewise.
9526 (expm1_test_upward): Likewise.
9527 (fabs_test): Likewise.
9528 (fdim_test): Likewise.
9529 (floor_test): Likewise.
9530 (fma_test): Likewise.
9531 (fma_test_towardzero): Likewise.
9532 (fma_test_downward): Likewise.
9533 (fma_test_upward): Likewise.
9534 (fmax_test): Likewise.
9535 (fmin_test): Likewise.
9536 (fmod_test): Likewise.
9537 (fpclassify_test): Likewise.
9538 (frexp_test): Likewise.
9539 (hypot_test): Likewise.
9540 (ilogb_test): Likewise.
9541 (isfinite_test): Likewise.
9542 (finite_test): Likewise.
9543 (isgreater_test): Likewise.
9544 (isgreaterequal_test): Likewise.
9545 (isinf_test): Likewise.
9546 (isless_test): Likewise.
9547 (islessequal_test): Likewise.
9548 (islessgreater_test): Likewise.
9549 (isnan_test): Likewise.
9550 (isnormal_test): Likewise.
9551 (issignaling_test): Likewise.
9552 (isunordered_test): Likewise.
9553 (j0_test): Likewise.
9554 (j1_test): Likewise.
9555 (jn_test): Likewise.
9556 (ldexp_test): Likewise.
9557 (lgamma_test): Likewise.
9558 (gamma_test): Likewise.
9559 (lrint_test): Likewise.
9560 (lrint_test_tonearest): Likewise.
9561 (lrint_test_towardzero): Likewise.
9562 (lrint_test_downward): Likewise.
9563 (lrint_test_upward): Likewise.
9564 (llrint_test): Likewise.
9565 (llrint_test_tonearest): Likewise.
9566 (llrint_test_towardzero): Likewise.
9567 (llrint_test_downward): Likewise.
9568 (llrint_test_upward): Likewise.
9569 (log_test): Likewise.
9570 (log10_test): Likewise.
9571 (log1p_test): Likewise.
9572 (log2_test): Likewise.
9573 (logb_test): Likewise.
9574 (logb_test_downward): Likewise.
9575 (lround_test): Likewise.
9576 (llround_test): Likewise.
9577 (modf_test): Likewise.
9578 (nearbyint_test): Likewise.
9579 (nextafter_test): Likewise.
9580 (nexttoward_test): Likewise.
9581 (pow_test): Likewise.
9582 (pow_test_tonearest): Likewise.
9583 (pow_test_towardzero): Likewise.
9584 (pow_test_downward): Likewise.
9585 (pow_test_upward): Likewise.
9586 (remainder_test): Likewise.
9587 (drem_test): Likewise.
9588 (remainder_test_tonearest): Likewise.
9589 (drem_test_tonearest): Likewise.
9590 (remainder_test_towardzero): Likewise.
9591 (drem_test_towardzero): Likewise.
9592 (remainder_test_downward): Likewise.
9593 (drem_test_downward): Likewise.
9594 (remainder_test_upward): Likewise.
9595 (drem_test_upward): Likewise.
9596 (remquo_test): Likewise.
9597 (rint_test): Likewise.
9598 (rint_test_tonearest): Likewise.
9599 (rint_test_towardzero): Likewise.
9600 (rint_test_downward): Likewise.
9601 (rint_test_upward): Likewise.
9602 (round_test): Likewise.
9603 (scalb_test): Likewise.
9604 (scalbn_test): Likewise.
9605 (scalbln_test): Likewise.
9606 (signbit_test): Likewise.
9607 (sin_test): Likewise.
9608 (sin_test_tonearest): Likewise.
9609 (sin_test_towardzero): Likewise.
9610 (sin_test_downward): Likewise.
9611 (sin_test_upward): Likewise.
9612 (sincos_test): Likewise.
9613 (sinh_test): Likewise.
9614 (sinh_test_tonearest): Likewise.
9615 (sinh_test_towardzero): Likewise.
9616 (sinh_test_downward): Likewise.
9617 (sinh_test_upward): Likewise.
9618 (sqrt_test): Likewise.
9619 (sqrt_test_tonearest): Likewise.
9620 (sqrt_test_towardzero): Likewise.
9621 (sqrt_test_downward): Likewise.
9622 (sqrt_test_upward): Likewise.
9623 (tan_test): Likewise.
9624 (tan_test_tonearest): Likewise.
9625 (tan_test_towardzero): Likewise.
9626 (tan_test_downward): Likewise.
9627 (tan_test_upward): Likewise.
9628 (tanh_test): Likewise.
9629 (tgamma_test): Likewise.
9630 (trunc_test): Likewise.
9631 (y0_test): Likewise.
9632 (y1_test): Likewise.
9633 (yn_test): Likewise.
9634 (significand_test): Likewise.
9636 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9637 individual tests in comment.
9638 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9639 (prev_max_error): New variable.
9640 (prev_real_max_error): Likewise.
9641 (prev_imag_max_error): Likewise.
9642 (compare_ulp_data): Don't refer to test names in comment.
9643 (find_test_ulps): Remove function.
9644 (find_function_ulps): Likewise.
9645 (find_complex_function_ulps): Likewise.
9646 (init_max_error): Take function name as argument. Look up ulps
9648 (print_ulps): Remove function.
9649 (print_max_error): Use prev_max_error instead of calling
9651 (print_complex_max_error): Use prev_real_max_error and
9652 prev_imag_max_error instead of calling find_complex_function_ulps.
9653 (check_float_internal): Take max_ulp parameter instead of calling
9654 find_test_ulps. Don't call print_ulps.
9655 (check_float): Update call to check_float_internal.
9656 (check_complex): Update calls to check_float_internal.
9657 (START): Pass argument to init_max_error.
9658 * math/gen-libm-test.pl (%results): Don't include "kind"
9660 (parse_ulps): Don't handle ulps of individual tests.
9661 (print_ulps_file): Likewise.
9662 (output_ulps): Likewise.
9663 * math/README.libm-test: Update.
9664 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9666 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9667 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9668 * sysdeps/arm/libm-test-ulps: Likewise.
9669 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9670 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9671 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9672 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9673 * sysdeps/microblaze/libm-test-ulps: Likewise.
9674 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9675 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9676 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9677 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9678 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9679 * sysdeps/sh/libm-test-ulps: Likewise.
9680 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9681 * sysdeps/tile/libm-test-ulps: Likewise.
9682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9684 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9686 * math/libm-test.inc (print_complex_max_error): Check separately
9687 whether real and imaginary errors are within allowed range and
9688 pass 0 to print_complex_function_ulps instead of value within
9691 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9693 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9695 (get_handles_fopen): Likewise.
9696 (do_write_test): Likewise.
9698 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9700 * libio/fileops.c (do_ftell): Use cached offset when
9702 * libio/iofwide.c (do_ftell_wide): Likewise.
9703 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9705 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9708 * libio/libioP.h (get_file_offset): New function.
9709 * libio/fileops.c (get_file_offset): Likewise.
9710 (do_ftell): Likewise.
9711 (_IO_new_file_seekoff): Split out ftell logic.
9712 * libio/wfileops.c (do_ftell_wide): Likewise.
9713 (_IO_wfile_seekoff): Split out ftell logic.
9714 * libio/tst-ftell-active-handler.c: New test case.
9715 * libio/Makefile (tests): Add it.
9717 2014-03-03 Roland McGrath <roland@hack.frob.com>
9719 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9720 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9722 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9725 * nscd/connections.c (nscd_init): Call do_exit.
9726 (start_threads): Call do_exit and notify_parent.
9727 (begin_drop_privileges): Call do_exit.
9728 (finish_drop_privileges): Likewise.
9729 * nscd/selinux.c (preserve_capabilities): Likewise.
9730 (install_real_capabilities): Likewise.
9731 (nscd_selinux_enabled): Likewise.
9732 (avc_create_thread): Likewise.
9733 (avc_alloc_lock): Likewise.
9734 (nscd_avc_init): Likewise.
9735 * nscd/nscd.c (parent_fd): New static variable.
9736 (main): Create a pipe between parent and child processes.
9737 Skip closing parent_fd.
9738 (monitor_child): New function.
9739 (do_exit): Likewise.
9740 (notify_parent): Likewise.
9741 * nscd/nscd.h (notify_parent): Likewise.
9742 (do_exit): Likewise.
9744 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9746 * malloc/malloc.c (__libc_calloc): Revert last change.
9748 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9752 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9754 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9758 (__libc_ifunc_impl_list): Likewise.
9759 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9760 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9761 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9762 * string/strrchr.c: Define STRRCHR.
9764 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9766 * benchtest/bench-strtok.c (simple_strtok): Delete.
9767 (strtok_string): Use as benchmark.
9768 * string/strtok (STRTOK): New macro.
9770 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9772 * manual/threads.texi: Add header and standard comments to all
9775 * elf/dl-lookup.c (check_match): New function.
9776 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9777 (do_lookup_x): Remove nested function check_match. Use non-nested
9778 function check_match.
9780 2014-02-28 Roland McGrath <roland@hack.frob.com>
9782 * csu/Makefile (generated, before-compile): Use += rather than =.
9783 * catgets/Makefile (generated, generated-dirs): Likewise.
9784 * debug/Makefile (generated): Likewise.
9785 * dlfcn/Makefile (generated): Likewise.
9786 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9787 * iconvdata/Makefile (before-compile, generated): Likewise.
9788 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9789 * libio/Makefile (generated): Likewise.
9790 * malloc/Makefile (generated): Likewise.
9791 * manual/Makefile (generated, generated-dirs): Likewise.
9792 * misc/Makefile (generated): Likewise.
9793 * posix/Makefile (generated): Likewise.
9794 * resolv/Makefile (generated): Likewise.
9795 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9796 * timezone/Makefile (generated, generated-dirs): Likewise.
9798 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9800 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9802 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9803 power8 implementation.
9804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9805 file: POWER8 llround ifunc implementation.
9806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9807 (__lllround): Add POWER8 implementation.
9808 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9809 POWER8 llround implementation.
9811 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9812 power8 implementation.
9813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9814 file: POWER8 llrint ifunc implementation.
9815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9816 Add POWER8 implementation.
9817 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9818 POWER8 llrint implementation.
9820 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9821 power8 implementation.
9822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9823 file: POWER8 finite ifunc implementation.
9824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9825 Add POWER8 implementation.
9826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9828 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9829 POWER8 finite implementation.
9830 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9832 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9833 power8 implementation.
9834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9835 file: POWER8 isinf ifunc implementation.
9836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9837 POWER8 implementation.
9838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9840 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9841 isinf implementation.
9842 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9844 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9845 (INIT_ARCH): Add hwcap2 initialization.
9846 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9847 power8 implementation.
9848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9849 file: POWER8 isnan ifunc implementation.
9850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9851 POWER8 implementation.
9852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9854 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9855 isnan implementation.
9856 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9858 2014-02-27 Joey Ye <joey.ye@arm.com>
9860 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9861 (_FP_NANFRAC_Q): Set to zero.
9863 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9866 * math/auto-libm-test-in: New test inputs.
9867 * math/auto-libm-test-out: Regenerate.
9868 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9871 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9873 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9875 * scripts/evaluate-test.sh: Take new argument indicating whether
9876 failure is expected.
9877 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9878 indicating whether failure is expected.
9879 * conform/Makefile (test-xfail-run-conformtest): New variable.
9880 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9882 * posix/Makefile (test-xfail-annexc): New variable.
9883 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9885 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9887 * argp/Makefile: Include Makeconfig immediately after defining
9889 * assert/Makefile: Likewise.
9890 * benchtests/Makefile: Likewise.
9891 * catgets/Makefile: Likewise.
9892 * conform/Makefile: Likewise.
9893 * crypt/Makefile: Likewise.
9894 * csu/Makefile: Likewise.
9895 (all): Remove target.
9896 * ctype/Makefile: Include Makeconfig immediately after defining
9898 * debug/Makefile: Likewise.
9899 * dirent/Makefile: Likewise.
9900 * dlfcn/Makefile: Likewise.
9901 * gmon/Makefile: Likewise.
9902 * gnulib/Makefile: Likewise.
9903 * grp/Makefile: Likewise.
9904 * gshadow/Makefile: Likewise.
9905 * hesiod/Makefile: Likewise.
9906 * hurd/Makefile: Likewise.
9907 (all): Remove target.
9908 * iconvdata/Makefile: Include Makeconfig immediately after
9910 * inet/Makefile: Likewise.
9911 * intl/Makefile: Likewise.
9912 * io/Makefile: Likewise.
9913 * libio/Makefile: Likewise.
9914 (all): Remove target.
9915 * locale/Makefile: Include Makeconfig immediately after defining
9917 * login/Makefile: Likewise.
9918 * mach/Makefile: Likewise.
9919 (all): Remove target.
9920 * malloc/Makefile: Include Makeconfig immediately after defining
9922 (all): Remove target.
9923 * manual/Makefile: Include Makeconfig immediately after defining
9925 * math/Makefile: Likewise.
9926 * misc/Makefile: Likewise.
9927 * nis/Makefile: Likewise.
9928 * nss/Makefile: Likewise.
9929 * po/Makefile: Likewise.
9930 (all): Remove target.
9931 * posix/Makefile: Include Makeconfig immediately after defining
9933 * pwd/Makefile: Likewise.
9934 * resolv/Makefile: Likewise.
9935 * resource/Makefile: Likewise.
9936 * rt/Makefile: Likewise.
9937 * setjmp/Makefile: Likewise.
9938 * shadow/Makefile: Likewise.
9939 * signal/Makefile: Likewise.
9940 * socket/Makefile: Likewise.
9941 * soft-fp/Makefile: Likewise.
9942 * stdio-common/Makefile: Likewise.
9943 * stdlib/Makefile: Likewise.
9944 * streams/Makefile: Likewise.
9945 * string/Makefile: Likewise.
9946 * sunrpc/Makefile: Likewise.
9947 (all): Remove target.
9948 * sysvipc/Makefile: Include Makeconfig immediately after defining
9950 * termios/Makefile: Likewise.
9951 * time/Makefile: Likewise.
9952 * timezone/Makefile: Likewise.
9953 (all): Remove target.
9954 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9956 * wctype/Makefile: Likewise.
9958 2014-02-26 Steve Ellcey <sellcey@mips.com>
9960 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9961 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9962 (libc_feholdexcept_setround_mips): Ditto.
9963 (libc_feholdsetround): New.
9964 (libc_feholdsetroundf): New.
9965 (libc_feholdsetroundl): New.
9966 (libc_feupdateenv_test_mips): New.
9967 (libc_feupdateenv_test): New.
9968 (libc_feupdateenv_testf): New.
9969 (libc_feupdateenv_testl): New.
9970 (libc_feresetround): New.
9971 (libc_feresetroundf): New.
9972 (libc_feresetroundl): New.
9973 (libc_fetestexcept_mips): New.
9974 (libc_fetestexcept): New.
9975 (libc_fetestexceptf): New.
9976 (libc_fetestexceptl): New.
9978 (libc_feholdexcept_setround_mips_ctx): New.
9979 (libc_feholdexcept_setround_ctx): New.
9980 (libc_feholdexcept_setroundf_ctx): New.
9981 (libc_feholdexcept_setroundl_ctx): New.
9982 (libc_fesetenv_mips_ctx): New.
9983 (libc_fesetenv_ctx): New.
9984 (libc_fesetenv_ctxf): New.
9985 (libc_fesetenv_ctxl): New.
9986 (libc_feupdateenv_mips_ctx): New.
9987 (libc_feupdateenv_ctx): New.
9988 (libc_feupdateenvf_ctx): New.
9989 (libc_feupdateenvl_ctx): New.
9990 (libc_feholdsetround_mips_ctx): New.
9991 (libc_feholdsetround_ctx): New.
9992 (libc_feholdsetroundf_ctx): New.
9993 (libc_feholdsetroundl_ctx): New.
9994 (libc_feresetround_mips_ctx): New.
9995 (libc_feresetround_ctx): New.
9996 (libc_feresetroundf_ctx): New.
9997 (libc_feresetroundl_ctx): New.
9999 2014-02-26 Carlos O'Donell <carlos@redhat.com>
10001 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10003 * manual/ipc.texi: New file.
10004 * manual/Makefile (chapters): Add ipc.
10005 * manual/job.texi: Add "Inter-Process Communication" to next.
10006 * manual/process.texi: Add "Inter-Process Communication" to prev.
10008 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10012 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
10014 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10016 * manual/arith.texi: Fix spaces after sentences.
10017 * manual/charset.texi: Likewise.
10018 * manual/errno.texi: Likewise.
10019 * manual/install.texi: Likewise.
10020 * manual/llio.texi: Likewise.
10021 * manual/locale.texi: Likewise.
10022 * manual/maint.texi: Likewise.
10023 * manual/math.texi: Likewise.
10024 * manual/memory.texi: Likewise.
10025 * manual/message.texi: Likewise.
10026 * manual/probes.texi: Likewise.
10027 * manual/resource.texi: Likewise.
10028 * manual/signal.texi: Likewise.
10029 * manual/socket.texi: Likewise.
10030 * manual/stdio.texi: Likewise.
10031 * manual/string.texi: Likewise.
10032 * manual/time.texi: Likewise.
10033 * manual/users.texi: Likewise.
10035 2014-02-25 Carlos O'Donell <carlos@redhat.com>
10038 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10039 _DEFAULT_SOURCE is defined.
10041 2014-02-25 Ulrich Drepper <drepper@gmail.com>
10042 Carlos O'Donell <carlos@redhat.com>
10045 * elf/dl-tls.c (_dl_count_modids): New function.
10046 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10047 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10048 audit library and increment generation counter.
10049 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10050 * elf/tst-audit9.c: New file.
10051 * elf/tst-auditmod9a.c: New file.
10052 * elf/tst-auditmod9b.c: New file.
10053 * elf/Makefile: Add rules to build and run tst-audit9.
10055 2014-02-25 Florian Weimer <fweimer@redhat.com>
10058 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10060 2014-02-25 Will Newton <will.newton@linaro.org>
10062 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10063 (__longjmp): Restore sp and lr before restoring callee
10064 saved registers. Add longjmp and longjmp_target
10065 SystemTap probe point.
10066 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10067 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10068 Define to zero to match jmpbuf layout.
10069 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10070 (__sigsetjmp): Save sp and lr before saving callee
10071 saved registers. Add setjmp SystemTap probe point.
10073 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10075 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10077 2014-02-24 Andreas Schwab <schwab@suse.de>
10080 * elf/pldd.c (wait_for_ptrace_stop): New function.
10081 (main): Call it after attaching.
10083 2014-02-22 Roland McGrath <roland@hack.frob.com>
10085 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10086 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10087 Versions files is now verboten.
10088 * hurd/Versions (libc: GLIBC_2.0):
10089 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10090 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10091 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10092 * mach/Versions: Likewise.
10094 * csu/Versions: Remove unused %include.
10095 * resolv/Versions: Likewise.
10097 2014-02-21 Joseph Myers <joseph@codesourcery.com>
10099 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10100 ($(objpfx)check-local-headers.out): Likewise.
10101 ($(objpfx)begin-end-check.out): Likewise.
10102 * Makerules (check-abi-%.out): Likewise.
10103 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10104 ($(objpfx)test2.cat): Likewise.
10105 ($(objpfx)de/libc.cat): Likewise.
10106 ($(objpfx)test-gencat.out): Likewise.
10107 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10108 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10109 ($(objpfx)noload-mem): Likewise.
10110 ($(objpfx)tst-pathopt.out): Likewise.
10111 ($(objpfx)tst-rtld-load-self.out): Likewise.
10112 ($(objpfx)tst-array1-cmp.out): Likewise.
10113 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10114 ($(objpfx)tst-array2-cmp.out): Likewise.
10115 ($(objpfx)tst-array3-cmp.out): Likewise.
10116 ($(objpfx)tst-array4-cmp.out): Likewise.
10117 ($(objpfx)tst-array5-cmp.out): Likewise.
10118 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10119 ($(objpfx)check-textrel.out): Likewise.
10120 ($(objpfx)check-execstack.out): Likewise.
10121 ($(objpfx)check-localplt.out): Likewise.
10122 ($(objpfx)order2-cmp.out): Likewise.
10123 ($(objpfx)tst-leaks1-mem): Likewise.
10124 ($(objpfx)tst-leaks1-static-mem): Likewise.
10125 ($(objpfx)tst-initorder-cmp.out): Likewise.
10126 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10127 ($(objpfx)tst-unused-dep.out): Likewise.
10128 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10129 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10130 * iconv/Makefile (test-iconvconfig): Likewise.
10131 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10132 ($(objpfx)iconv-test.out): Likewise.
10133 ($(objpfx)tst-tables.out): Likewise.
10134 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10135 ($(objpfx)tst-gettext.out): Likewise.
10136 ($(objpfx)tst-translit.out): Likewise.
10137 ($(objpfx)tst-gettext2.out): Likewise.
10138 ($(objpfx)tst-gettext4.out): Likewise.
10139 ($(objpfx)tst-gettext6.out): Likewise.
10140 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10141 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10142 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10143 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10144 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10145 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10146 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10147 ($(objpfx)wordexp-tst.out): Likewise.
10148 ($(objpfx)annexc.out): Likewise.
10149 ($(objpfx)tst-fnmatch-mem): Likewise.
10150 ($(objpfx)bug-regex2-mem): Likewise.
10151 ($(objpfx)bug-regex14-mem): Likewise.
10152 ($(objpfx)bug-regex21-mem): Likewise.
10153 ($(objpfx)bug-regex31-mem): Likewise.
10154 ($(objpfx)tst-vfork3-mem): Likewise.
10155 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10156 ($(objpfx)tst-pcre-mem): Likewise.
10157 ($(objpfx)tst-boost-mem): Likewise.
10158 ($(objpfx)tst-getconf.out): Likewise.
10159 ($(objpfx)bug-ga2-mem): Likewise.
10160 ($(objpfx)bug-glob2-mem): Likewise.
10161 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10162 ($(objpfx)mtrace-tst-leaks2): Likewise.
10163 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10164 ($(objpfx)tst-printf.out): Likewise.
10165 ($(objpfx)tst-setvbuf1.out): Likewise.
10166 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10167 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10168 ($(objpfx)tst-fmtmsg.out): Likewise.
10169 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10170 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10172 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10173 * bits/sigaction.h [__USE_MISC]: Likewise.
10174 * bits/waitstatus.h: Update #endif comments.
10175 * ctype/ctype.h: Likewise.
10176 * dirent/dirent.h: Likewise.
10177 [__USE_MISC]: Remove redundant conditionals.
10178 * grp/grp.h: Update #endif comments.
10179 [__USE_GNU]: Remove redundant conditionals.
10180 [__USE_MISC]: Likewise.
10181 * inet/netinet/in.h [__USE_GNU]: Likewise.
10182 * io/sys/stat.h [__USE_MISC]: Likewise.
10183 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10184 * libio/bits/stdio.h: Update #endif comments.
10185 [__USE_MISC]: Remove redundant conditionals.
10186 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10187 * libio/stdio.h: Update #endif comments.
10188 [__USE_MISC]: Remove redundant conditionals.
10189 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10190 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10191 * math/math.h: Update #else and #endif comments.
10192 [__USE_MISC]: Remove redundant conditionals.
10193 * misc/sys/uio.h: Update #endif comments.
10194 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10195 * posix/glob.h [__USE_MISC]: Likewise.
10196 * posix/sys/types.h: Update #endif comments.
10197 [__USE_MISC]: Remove redundant conditionals.
10198 * posix/sys/wait.h: Update #endif comments.
10199 [__USE_MISC]: Remove redundant conditionals.
10200 * posix/unistd.h: Update #endif comments.
10201 [__USE_MISC]: Remove redundant conditionals.
10202 * pwd/pwd.h [__USE_GNU]: Likewise.
10203 [__USE_MISC]: Likewise.
10204 * resolv/netdb.h [__USE_GNU]: Likewise.
10205 * signal/signal.h: Update #endif comments.
10206 [__USE_MISC]: Remove redundant conditionals.
10207 * stdlib/stdlib.h: Update #else and #endif comments.
10208 [__USE_MISC]: Remove redundant conditionals.
10209 [__USE_GNU]: Likewise.
10210 * string/bits/string2.h [__USE_MISC]: Likewise.
10211 * string/string.h: Update #endif comments.
10212 [__USE_MISC]: Remove redundant conditionals.
10213 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10215 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10216 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10217 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10219 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10221 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10223 [__USE_MISC]: Remove redundant conditionals.
10224 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10225 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10226 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10227 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10228 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10230 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10231 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10233 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10234 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10236 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10238 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10239 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10241 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10243 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10244 * sysdeps/x86/bits/string.h: Update #endif comments.
10245 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10247 * time/sys/time.h: Update #endif comments.
10248 * time/time.h: Likewise.
10249 [__USE_MISC]: Remove redundant conditionals.
10251 2014-02-21 Yury Gribov <y.gribov@samsung.com>
10254 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10256 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10258 * Versions.def (librt): Add GLIBC_2.17.
10260 2014-02-21 Adam Conrad <adconrad@0c3.net>
10262 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10263 synonym for _SYS_AUXV_H to allow direct inclusion.
10264 * sysdeps/sparc/bits/hwcap.h: Likewise.
10265 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10266 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10267 * sysdeps/sparc/sysdep.h: Likewise.
10269 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10271 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10273 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10275 * benchtests/bench-strrchr.c: Print length instead of position.
10277 2014-02-20 Joseph Myers <joseph@codesourcery.com>
10280 * sysdeps/unix/sysv/linux/kernel-features.h
10281 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10282 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10283 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10284 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10286 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10287 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10288 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10289 (__ASSUME_SENDMMSG): Define instead of using previous
10290 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10291 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10292 (__ASSUME_SENDMMSG_SYSCALL): Define.
10293 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10294 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10296 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10297 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10299 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10300 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10302 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10303 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10304 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10305 [__ASSUME_SENDMMSG]: Change conditionals to
10306 [__ASSUME_SENDMMSG_SOCKETCALL].
10307 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10308 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10310 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10311 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10313 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10314 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10315 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10316 [!__ASSUME_SENDMMSG]: Change conditional to
10317 [!__ASSUME_SENDMMSG_SOCKETCALL].
10318 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10319 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10323 * sysdeps/unix/sysv/linux/kernel-features.h
10324 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10325 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10326 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10327 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10328 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10329 [__i386__ || __sparc__]
10330 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10331 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10332 (__ASSUME_RECVMMSG): Define instead of using previous
10333 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10334 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10335 (__ASSUME_RECVMMSG_SYSCALL): Define.
10336 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10337 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10339 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10340 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10342 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10343 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10345 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10346 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10347 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10348 [__ASSUME_RECVMMSG]: Change condition to
10349 [__ASSUME_RECVMMSG_SOCKETCALL].
10350 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10351 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10353 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10354 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10355 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10357 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10358 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10359 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10360 [!__ASSUME_RECVMMSG]: Change condition to
10361 [!__ASSUME_RECVMMSG_SOCKETCALL].
10362 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10363 (__ASSUME_RECVMMSG_SYSCALL): Define.
10366 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10367 __powerpc__ || __s390__ || __sh__ || __sparc__]
10368 (__ASSUME_SOCKETCALL): Define.
10369 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10370 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10371 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10372 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10373 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10374 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10375 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10376 (__ASSUME_ACCEPT4): Define instead of using previous
10377 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10378 __powerpc__ || __sparc__ || __s390__)] condition.
10379 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10380 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10381 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10382 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10383 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10384 [!__ASSUME_ACCEPT4]: Change condition to
10385 [!__ASSUME_ACCEPT4_SOCKETCALL].
10386 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10387 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10388 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10389 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10390 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10391 __ASSUME_ACCEPT4_SYSCALL.
10392 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10393 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10394 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10395 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10396 __ASSUME_ACCEPT4_SYSCALL.
10397 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10398 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10399 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10400 [__ASSUME_ACCEPT4]: Change condition to
10401 [__ASSUME_ACCEPT4_SOCKETCALL].
10402 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10403 (__ASSUME_SOCKETCALL): Define.
10404 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10405 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10406 (__ASSUME_SOCKETCALL): Define.
10407 (__ASSUME_ACCEPT4): Remove.
10408 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10410 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10411 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10413 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10414 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10416 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10418 (HWCAP_ARM_LPAE): Likewise.
10419 (HWCAP_ARM_EVTSTRM): Likewise.
10420 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10421 Add vpfd32, lpae and evtstrm.
10422 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10425 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10427 * math/auto-libm-test-in: Add tests of clog10.
10428 * math/auto-libm-test-out: Regenerated.
10429 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10430 * sysdeps/i386/fpu/libm-test-ulps: Update.
10431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10433 2014-02-18 Andreas Schwab <schwab@suse.de>
10436 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10437 Store non-zero if the second buffer was newly allocated.
10438 (send_dg): Likewise.
10439 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10440 to send_vc and send_dg.
10441 (res_nsend): Pass NULL for ansp2_malloced.
10442 * resolv/res_query.c (__libc_res_nquery): Add parameter
10443 answerp2_malloced and pass it down to __libc_res_nsend.
10444 (res_nquery): Pass additional NULL to __libc_res_nquery.
10445 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10446 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10447 second answer buffer if answerp2_malloced was set.
10448 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10449 (__libc_res_nquerydomain): Add parameter
10450 answerp2_malloced and pass it down to __libc_res_nquery.
10451 (res_nquerydomain): Pass additional NULL to
10452 __libc_res_nquerydomain.
10453 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10454 additional NULL to __libc_res_nsend and __libc_res_nquery.
10455 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10456 additional NULL to __libc_res_nsearch.
10457 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10458 parameter of __libc_res_nsearch to check for separately allocated
10460 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10462 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10463 additional NULL to __libc_res_nquery.
10464 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10465 __libc_res_nsearch.
10466 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10467 * include/resolv.h: Update prototypes of __libc_res_nquery,
10468 __libc_res_nsearch, __libc_res_nsend.
10470 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10472 * math/auto-libm-test-in: Add tests of fma.
10473 * math/auto-libm-test-out: Regenerated.
10474 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10475 (fma_towardzero_test_data): Likewise.
10476 (fma_downward_test_data): Likewise.
10477 (fma_upward_test_data): Likewise.
10478 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10480 (rounding_modes): Add values for new field.
10481 (func_calc_method): Add value mpfr_fff_f.
10482 (func_calc_desc): Add mpfr_fff_f union field.
10483 (test_function): Add field exact_args.
10484 (FUNC): Add macro argument EXACT_ARGS.
10485 (FUNC_mpfr_f_f): Update call to FUNC.
10486 (FUNC_mpfr_f_f): Likewise.
10487 (FUNC_mpfr_ff_f): Likewise.
10488 (FUNC_mpfr_if_f): Likewise.
10489 (FUNC_mpc_c_f): Likewise.
10490 (FUNC_mpc_c_c): Likewise.
10491 (test_functions): Add fma. Update calls to FUNC.
10492 (handle_input_arg): Add argument exact_args.
10493 (add_test): Update call to handle_input_arg.
10494 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10495 (output_for_one_input_case): Update call to calc_generic_results.
10496 Recalculate exact zero results in each rounding mode.
10498 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10499 non-negative before setting low bit.
10500 * math/auto-libm-test-in: Mark one asin test possibly having
10501 spurious underflow.
10502 * math/auto-libm-test-out: Regenerated.
10503 * sysdeps/i386/fpu/libm-test-ulps: Update.
10504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10506 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10508 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10509 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10510 ports/sysdeps/unix/sysv/linux/microblaze.
10511 * README: Add missing listing for microblaze*-*-linux-gnu.
10513 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10515 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10518 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10520 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10521 * sysdeps/unix/sysv/linux/ia64: Move directory from
10522 ports/sysdeps/unix/sysv/linux/ia64.
10523 * README: Update listing for ia64-*-linux-gnu.
10525 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10526 Joseph Myers <joseph@codesourcery.com>
10528 * Makeconfig (test-name): New variable.
10529 (evaluate-test): Likewise.
10530 * Makerules (do-test-clean): Remove .test-result files.
10531 (common-mostlyclean): Likewise.
10532 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10533 * scripts/evaluate-test.sh: New file.
10535 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10537 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10538 separate $(objpfx)tst-fopenloc-cmp.out and
10539 $(objpfx)tst-fopenloc-mem.out targets.
10540 (tests): Update dependencies.
10541 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10542 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10543 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10544 (tst-rxspencer-no-utf8-ARGS): New variable.
10545 (tst-rxspencer-no-utf8-ENV): Likewise.
10546 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10547 instead of $(objpfx)tst-rxspencer-mem.
10548 ($(objpfx)tst-rxspencer-mem): Change target to
10549 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10550 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10551 * posix/tst-rxspencer-no-utf8.c: New file.
10553 * elf/Makefile ($(objpfx)order.out): Remove rule.
10554 [$(run-built-tests) = yes] (tests): Depend on
10555 $(objpfx)order-cmp.out.
10556 ($(objpfx)order-cmp.out): New rule.
10557 [$(run-built-tests) = yes] (tests): Depend on
10558 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10559 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10560 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10561 $(objpfx)tst-array5-static-cmp.out.
10562 ($(objpfx)tst-array1.out): Remove rule.
10563 ($(objpfx)tst-array1-cmp.out): New rule.
10564 ($(objpfx)tst-array1-static.out): Remove rule.
10565 ($(objpfx)tst-array1-static-cmp.out): New rule.
10566 ($(objpfx)tst-array2.out): Remove rule.
10567 ($(objpfx)tst-array2-cmp.out): New rule.
10568 ($(objpfx)tst-array3.out): Remove rule.
10569 ($(objpfx)tst-array3-cmp.out): New rule.
10570 ($(objpfx)tst-array4.out): Remove rule.
10571 ($(objpfx)tst-array4-cmp.out): New rule.
10572 ($(objpfx)tst-array5.out): Remove rule.
10573 ($(objpfx)tst-array5-cmp.out): New rule.
10574 ($(objpfx)tst-array5-static.out): Remove rule.
10575 ($(objpfx)tst-array5-static-cmp.out): New rule.
10576 [$(run-built-tests) = yes] (tests): Depend on
10577 $(objpfx)order2-cmp.out.
10578 ($(objpfx)order2.out): Remove rule.
10579 ($(objpfx)order2-cmp.out): New rule.
10580 ($(objpfx)tst-initorder.out): Remove rule.
10581 [$(run-built-tests) = yes] (tests): Depend on
10582 $(objpfx)tst-initorder-cmp.out.
10583 ($(objpfx)tst-initorder-cmp.out): New rule.
10584 ($(objpfx)tst-initorder2.out): Remove rule.
10585 [$(run-built-tests) = yes] (tests): Depend on
10586 $(objpfx)tst-initorder2-cmp.out.
10587 ($(objpfx)tst-initorder2-cmp.out): New rule.
10588 [$(run-built-tests) = yes] (tests): Depend on
10589 $(objpfx)tst-unused-dep-cmp.out.
10590 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10591 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10592 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10593 on $(objpfx)tst-setvbuf1-cmp.out.
10594 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10595 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10596 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10597 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10598 ($(objpfx)tst-svc.out): Remove rule.
10599 ($(objpfx)tst-svc-cmp.out): New rule.
10601 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10603 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10604 * ctype/ctype.h [__USE_MISC]: Likewise.
10605 * dirent/dirent.h [__USE_MISC]: Likewise.
10606 * grp/grp.h [__USE_MISC]: Likewise.
10607 * io/fcntl.h [__USE_MISC]: Likewise.
10608 * io/sys/stat.h [__USE_MISC]: Likewise.
10609 * libio/stdio.h [__USE_MISC]: Likewise.
10610 * posix/unistd.h [__USE_MISC]: Likewise.
10611 * pwd/pwd.h [__USE_MISC]: Likewise.
10612 * stdlib.h [__USE_MISC]: Likewise.
10613 * string/bits/string2.h [__USE_MISC]: Likewise.
10614 * string/string.h [__USE_MISC]: Likewise.
10615 * time/time.h [__USE_MISC]: Likewise.
10617 2014-02-13 Andreas Schwab <schwab@suse.de>
10620 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10621 second answer buffer if it was separately allocated.
10623 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10625 * sysdeps/mips/math-tests.h: Include <features.h>.
10626 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10627 (ROUNDING_TESTS_long_double): Do not define.
10628 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10629 (EXCEPTION_TESTS_long_double): Likewise.
10630 * sysdeps/mips/mips64/libm-test-ulps: Update.
10632 * include/features.h (__USE_BSD): Remove macro definitions.
10633 (__USE_SVID): Likewise.
10634 (_BSD_SOURCE): Likewise.
10635 (_SVID_SOURCE): Likewise.
10636 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10637 from definition of _DEFAULT_SOURCE.
10638 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10640 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10641 * bits/mman.h [__USE_BSD]: Likewise.
10642 * bits/termios.h [__USE_BSD]: Likewise.
10643 * bits/waitstatus.h [__USE_BSD]: Likewise.
10644 * ctype/ctype.h [__USE_SVID]: Likewise.
10645 * dirent/dirent.h [__USE_BSD]: Likewise.
10646 * grp/grp.h [__USE_SVID]: Likewise.
10647 [__USE_BSD]: Likewise.
10648 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10649 * io/fcntl.h [__USE_BSD]: Likewise.
10650 * io/ftw.h [__USE_BSD]: Likewise.
10651 * io/sys/stat.h [__USE_BSD]: Likewise.
10652 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10653 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10654 * libio/stdio.h [__USE_SVID]: Likewise.
10655 [__USE_BSD]: Likewise.
10656 * math/math.h [__USE_SVID]: Likewise.
10657 [__USE_BSD]: Likewise.
10658 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10659 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10660 * misc/search.h [__USE_SVID]: Likewise.
10661 * misc/sys/mman.h [__USE_BSD]: Likewise.
10662 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10663 * misc/sys/uio.h [__USE_BSD]: Likewise.
10664 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10665 * posix/glob.h [__USE_BSD]: Likewise.
10666 * posix/regex.h [__USE_BSD]: Likewise.
10667 * posix/sys/types.h [__USE_BSD]: Likewise.
10668 [__USE_SVID]: Likewise.
10669 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10670 * posix/sys/wait.h [__USE_BSD]: Likewise.
10671 [__USE_SVID]: Likewise.
10672 * posix/unistd.h [__USE_BSD]: Likewise.
10673 [__USE_SVID]: Likewise.
10674 * pwd/pwd.h [__USE_SVID]: Likewise.
10675 * resolv/netdb.h [__USE_BSD]: Likewise.
10676 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10677 * signal/signal.h [__USE_BSD]: Likewise.
10678 [__USE_SVID]: Likewise.
10679 * socket/sys/socket.h [__USE_BSD]: Likewise.
10680 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10681 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10682 [__USE_SVID]: Likewise.
10683 * string/bits/string2.h [__USE_BSD]: Likewise.
10684 [__USE_SVID]: Likewise.
10685 * string/bits/string3.h [__USE_BSD]: Likewise.
10686 * string/endian.h [__USE_BSD]: Likewise.
10687 * string/string.h [__USE_SVID]: Likewise.
10688 [__USE_BSD]: Likewise.
10689 * string/strings.h [__USE_BSD]: Likewise.
10690 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10691 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10692 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10693 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10694 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10695 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10697 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10699 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10700 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10702 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10703 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10705 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10707 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10708 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10709 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10711 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10713 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10714 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10715 * termios/termios.h [__USE_BSD]: Likewise.
10716 * time/sys/time.h [__USE_BSD]: Likewise.
10717 * time/time.h [__USE_BSD]: Likewise.
10718 [__USE_SVID]: Likewise.
10720 * Makefile (subdir_targets): Remove subdir_lint.out.
10722 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10723 (do-tst-printf): Likewise.
10724 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10725 $(objpfx)tst-printf.out.
10727 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10729 * Makerules (check-abi-%): Change target to
10730 $(objpfx)check-abi-%.out.
10731 (check-abi target): Update dependencies.
10732 (check-abi-pattern variable): Redirect output of diff to $@.
10733 (check-abi variable): Likewise.
10734 * elf/Makefile (check-abi): Update dependencies.
10736 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10738 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10739 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10741 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10742 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10743 value has largest subnormal exponent.
10744 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10745 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10746 * sysdeps/aarch64/soft-fp/sfp-machine.h
10747 (_FP_TININESS_AFTER_ROUNDING): New macro.
10748 * sysdeps/alpha/soft-fp/sfp-machine.h
10749 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10750 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10752 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10753 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10754 * sysdeps/mips/soft-fp/sfp-machine.h
10755 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10756 * sysdeps/powerpc/soft-fp/sfp-machine.h
10757 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10758 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10760 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10761 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10762 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10763 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10764 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10767 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10770 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10773 2014-02-12 Richard Henderson <rth@redhat.com>
10775 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10776 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10777 * sysdeps/unix/sysv/linux/alpha: Move directory from
10778 ports/sysdeps/unix/sysv/linux/alpha.
10779 * README: Update listing for alpha-*-linux-gnu.
10781 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10783 * include/features.h: Update comment documenting feature test
10785 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10787 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10788 (_SVID_SOURCE): Likewise.
10789 (_DEFAULT_SOURCE): Update description of default features.
10790 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10792 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10793 (S_ISVTX): Likewise.
10794 * manual/math.texi (Mathematical Constants): Likewise.
10795 * manual/signal.texi (Interrupted Primitives): Likewise.
10796 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10797 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10798 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10799 Don't refer to _SVID_SOURCE in warning text.
10801 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10803 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10805 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10806 * sysdeps/mips/dl-lookup.c: Remove.
10807 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10809 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10812 * math/auto-libm-test-in: Add testcase for expl.
10813 * math/auto-libm-test-out: Regenerate.
10814 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10815 calculation of unsafe.
10816 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10818 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10820 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10821 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10822 ports/sysdeps/unix/sysv/linux/aarch64.
10823 * README: Update listing for aarch64*-*-linux-gnu.
10825 2014-02-11 Will Newton <will.newton@linaro.org>
10827 * manual/probes.texi (Mathematical Function Probes): Use
10828 "triggered" instead of "hit".
10830 * manual/probes.texi (Internal Probes): Add documentation
10831 of setjmp, longjmp and longjmp_target probes.
10833 * include/stap-probe.h: Add comment about probe argument
10836 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10837 definition. (tr_where, tr_freehook, tr_mallochook,
10838 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10840 2014-02-11 David S. Miller <davem@davemloft.net>
10842 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10843 processing int_tests.
10845 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10847 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10848 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10849 * sysdeps/unix/sysv/linux/mips: Move directory from
10850 ports/sysdeps/unix/sysv/linux/mips.
10851 * README: Update listing for mips-*-linux-gnu and
10852 mips64-*-linux-gnu.
10854 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10856 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10857 * sysdeps/unix/sysv/linux/m68k: Move directory from
10858 ports/sysdeps/unix/sysv/linux/m68k.
10859 * README: Update listing for m68k-*-linux-gnu.
10861 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10863 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10864 * sysdeps/unix/sysv/linux/generic: Move directory from
10865 ports/sysdeps/unix/sysv/linux/generic.
10866 * sysdeps/unix/sysv/linux/tile: Move directory from
10867 ports/sysdeps/unix/sysv/linux/tile.
10868 * README: Update listing for tile*-*-linux-gnu.
10870 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10872 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10874 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10875 * catgets/open_catalog.c (__open_catalog): Likewise.
10876 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10877 * debug/confstr_chk.c: Likewise.
10878 * debug/fread_chk.c (__fread_chk): Likewise.
10879 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10880 * debug/getgroups_chk.c: Likewise.
10881 * debug/mbsnrtowcs_chk.c: Likewise.
10882 * debug/mbsrtowcs_chk.c: Likewise.
10883 * debug/mbstowcs_chk.c: Likewise.
10884 * debug/memcpy_chk.c: Likewise.
10885 * debug/memmove_chk.c: Likewise.
10886 * debug/mempcpy_chk.c: Likewise.
10887 * debug/memset_chk.c: Likewise.
10888 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10889 * debug/strcat_chk.c (__strcat_chk): Likewise.
10890 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10891 * debug/strncat_chk.c (__strncat_chk): Likewise.
10892 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10893 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10894 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10895 * debug/wcpncpy_chk.c: Likewise.
10896 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10897 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10898 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10899 * debug/wcsncpy_chk.c: Likewise.
10900 * debug/wcsnrtombs_chk.c: Likewise.
10901 * debug/wcsrtombs_chk.c: Likewise.
10902 * debug/wcstombs_chk.c: Likewise.
10903 * debug/wmemcpy_chk.c: Likewise.
10904 * debug/wmemmove_chk.c: Likewise.
10905 * debug/wmempcpy_chk.c: Likewise.
10906 * debug/wmemset_chk.c: Likewise.
10907 * dirent/scandirat.c (SCANDIRAT): Likewise.
10908 * dlfcn/dladdr1.c (dladdr1): Likewise.
10909 * dlfcn/dladdr.c (dladdr): Likewise.
10910 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10911 * dlfcn/dlerror.c (__dlerror): Likewise.
10912 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10913 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10914 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10915 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10916 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10917 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10918 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10919 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10921 * elf/dl-conflict.c: Likewise.
10922 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10923 * elf/dl-dst.h: Likewise.
10924 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10925 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10926 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10927 * elf/dl-init.c (call_init, _dl_init): Likewise.
10928 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10929 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10930 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10932 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10934 * elf/dl-minimal.c (__libc_memalign): Likewise.
10935 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10936 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10937 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10938 * elf/dl-sym.c (do_sym): Likewise.
10939 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10940 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10941 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10942 * elf/dl-writev.h (_dl_writev): Likewise.
10943 * elf/ldconfig.c (search_dir): Likewise.
10944 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10945 (dl_main): Likewise.
10946 * elf/setup-vdso.h (setup_vdso): Likewise.
10947 * grp/compat-initgroups.c (compat_call): Likewise.
10948 * grp/fgetgrent.c (fgetgrent): Likewise.
10949 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10950 * grp/putgrent.c (putgrent): Likewise.
10951 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10953 * hurd/hurdinit.c: Likewise.
10954 * iconvdata/8bit-gap.c (struct): Likewise.
10955 * iconvdata/ansi_x3.110.c : Likewise.
10956 * iconvdata/big5.c : Likewise.
10957 * iconvdata/big5hkscs.c : Likewise.
10958 * iconvdata/cp1255.c: Likewise.
10959 * iconvdata/cp1258.c : Likewise.
10960 * iconvdata/cp932.c : Likewise.
10961 * iconvdata/euc-cn.c: Likewise.
10962 * iconvdata/euc-jisx0213.c : Likewise.
10963 * iconvdata/euc-jp.c: Likewise.
10964 * iconvdata/euc-jp-ms.c : Likewise.
10965 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10966 * iconvdata/gb18030.c : Likewise.
10967 * iconvdata/gbbig5.c (const): Likewise.
10968 * iconvdata/gbgbk.c: Likewise.
10969 * iconvdata/gbk.c : Likewise.
10970 * iconvdata/ibm1364.c : Likewise.
10971 * iconvdata/ibm930.c : Likewise.
10972 * iconvdata/ibm932.c: Likewise.
10973 * iconvdata/ibm933.c : Likewise.
10974 * iconvdata/ibm935.c : Likewise.
10975 * iconvdata/ibm937.c : Likewise.
10976 * iconvdata/ibm939.c : Likewise.
10977 * iconvdata/ibm943.c: Likewise.
10978 * iconvdata/iso_11548-1.c: Likewise.
10979 * iconvdata/iso-2022-cn.c : Likewise.
10980 * iconvdata/iso-2022-cn-ext.c : Likewise.
10981 * iconvdata/iso-2022-jp-3.c: Likewise.
10982 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10983 * iconvdata/iso-2022-kr.c : Likewise.
10984 * iconvdata/iso646.c (gconv_end): Likewise.
10985 * iconvdata/iso_6937-2.c : Likewise.
10986 * iconvdata/iso_6937.c : Likewise.
10987 * iconvdata/iso8859-1.c: Likewise.
10988 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10989 * iconvdata/shift_jisx0213.c : Likewise.
10990 * iconvdata/sjis.c : Likewise.
10991 * iconvdata/t.61.c : Likewise.
10992 * iconvdata/tcvn5712-1.c : Likewise.
10993 * iconvdata/tscii.c: Likewise.
10994 * iconvdata/uhc.c : Likewise.
10995 * iconvdata/unicode.c (gconv_end): Likewise.
10996 * iconvdata/utf-16.c (gconv_end): Likewise.
10997 * iconvdata/utf-32.c (gconv_end): Likewise.
10998 * iconvdata/utf-7.c (base64): Likewise.
10999 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11000 * iconv/gconv_close.c (__gconv_close): Likewise.
11001 * iconv/gconv_open.c (__gconv_open): Likewise.
11002 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11003 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11004 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11005 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11006 (ucs4le_internal_loop_single): Likewise.
11007 * iconv/iconv.c (iconv): Likewise.
11008 * iconv/iconv_close.c: Likewise.
11009 * iconv/loop.c (SINGLE): Likewise.
11010 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11011 * include/atomic.h: Likewise.
11012 * inet/inet6_option.c (option_alloc): Likewise.
11013 * intl/bindtextdom.c (set_binding_values): Likewise.
11014 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11015 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11016 * intl/localealias.c (read_alias_file): Likewise.
11017 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11018 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11019 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11020 * libio/fmemopen.c (fmemopen): Likewise.
11021 * libio/iofgets.c (_IO_fgets): Likewise.
11022 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11023 * libio/iofgetws.c (fgetws): Likewise.
11024 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11025 * libio/iogetdelim.c (_IO_getdelim): Likewise.
11026 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11027 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11028 * locale/findlocale.c (_nl_find_locale): Likewise.
11029 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11030 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11032 * locale/setlocale.c (setlocale): Likewise.
11033 * login/programs/pt_chown.c (main): Likewise.
11034 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11035 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11036 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11037 (mmap, mmap64, mremap, munmap): Likewise.
11038 * math/e_exp2l.c: Likewise.
11039 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11040 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11041 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11042 * math/s_catan.c (__catan): Likewise.
11043 * math/s_catanf.c (__catanf): Likewise.
11044 * math/s_catanh.c (__catanh): Likewise.
11045 * math/s_catanhf.c (__catanhf): Likewise.
11046 * math/s_catanhl.c (__catanhl): Likewise.
11047 * math/s_catanl.c (__catanl): Likewise.
11048 * math/s_ccosh.c (__ccosh): Likewise.
11049 * math/s_ccoshf.c (__ccoshf): Likewise.
11050 * math/s_ccoshl.c (__ccoshl): Likewise.
11051 * math/s_cexp.c (__cexp): Likewise.
11052 * math/s_cexpf.c (__cexpf): Likewise.
11053 * math/s_cexpl.c (__cexpl): Likewise.
11054 * math/s_clog10.c (__clog10): Likewise.
11055 * math/s_clog10f.c (__clog10f): Likewise.
11056 * math/s_clog10l.c (__clog10l): Likewise.
11057 * math/s_clog.c (__clog): Likewise.
11058 * math/s_clogf.c (__clogf): Likewise.
11059 * math/s_clogl.c (__clogl): Likewise.
11060 * math/s_csin.c (__csin): Likewise.
11061 * math/s_csinf.c (__csinf): Likewise.
11062 * math/s_csinh.c (__csinh): Likewise.
11063 * math/s_csinhf.c (__csinhf): Likewise.
11064 * math/s_csinhl.c (__csinhl): Likewise.
11065 * math/s_csinl.c (__csinl): Likewise.
11066 * math/s_csqrt.c (__csqrt): Likewise.
11067 * math/s_csqrtf.c (__csqrtf): Likewise.
11068 * math/s_csqrtl.c (__csqrtl): Likewise.
11069 * math/s_ctan.c (__ctan): Likewise.
11070 * math/s_ctanf.c (__ctanf): Likewise.
11071 * math/s_ctanh.c (__ctanh): Likewise.
11072 * math/s_ctanhf.c (__ctanhf): Likewise.
11073 * math/s_ctanhl.c (__ctanhl): Likewise.
11074 * math/s_ctanl.c (__ctanl): Likewise.
11075 * math/w_pow.c: Likewise.
11076 * math/w_powf.c: Likewise.
11077 * math/w_powl.c: Likewise.
11078 * math/w_scalb.c (sysv_scalb): Likewise.
11079 * math/w_scalbf.c (sysv_scalbf): Likewise.
11080 * math/w_scalbl.c (sysv_scalbl): Likewise.
11081 * misc/error.c (error_tail): Likewise.
11082 * misc/pselect.c (__pselect): Likewise.
11083 * nis/nis_callback.c (__nis_create_callback): Likewise.
11084 * nis/nis_call.c (__nisfind_server): Likewise.
11085 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11086 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11087 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11088 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11089 * nis/nis_lookup.c (nis_lookup): Likewise.
11090 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11091 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11092 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11093 * nis/nis_xdr.c (xdr_endpoint): Likewise.
11094 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11095 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11096 * nis/nss_compat/compat-initgroups.c (add_group)
11097 (internal_getgrent_r): Likewise.
11098 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11099 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11100 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11101 (internal_getspnam_r): Likewise.
11102 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11103 (_nss_nis_getaliasbyname_r): Likewise.
11104 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11105 (_nss_nis_getntohost_r): Likewise.
11106 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11107 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11108 (_nss_nis_getgrgid_r): Likewise.
11109 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11110 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11111 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11112 (_nss_nis_gethostbyname4_r): Likewise.
11113 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11114 (initgroups_netid): Likewise.
11115 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11116 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11117 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11118 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11119 (_nss_nis_getprotobynumber_r): Likewise.
11120 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11121 (_nss_nis_getsecretkey): Likewise.
11122 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11123 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11124 (_nss_nis_getpwuid_r): Likewise.
11125 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11126 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11127 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11128 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11129 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11130 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11131 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11133 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11134 (_nss_nisplus_getntohost_r): Likewise.
11135 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11136 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11137 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11138 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11140 * nis/nss_nisplus/nisplus-initgroups.c
11141 (_nss_nisplus_initgroups_dyn): Likewise.
11142 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11143 (_nss_nisplus_getnetbyaddr_r): Likewise.
11144 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11145 (_nss_nisplus_getprotobynumber_r): Likewise.
11146 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11147 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11148 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11150 * nis/nss_nisplus/nisplus-service.c
11151 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11152 (_nss_nisplus_getservbyport_r): Likewise.
11153 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11154 (_nss_nisplus_getspnam_r): Likewise.
11155 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11157 * nscd/aicache.c (addhstaiX): Likewise.
11158 * nscd/cache.c (cache_search, prune_cache): Likewise.
11159 * nscd/connections.c (register_traced_file, send_ro_fd)
11160 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11161 (main_loop_epoll): Likewise.
11162 * nscd/grpcache.c (addgrbyX): Likewise.
11163 * nscd/hstcache.c (addhstbyX): Likewise.
11164 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11165 * nscd/mem.c (gc, mempool_alloc): Likewise.
11166 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11167 (addinnetgrX): Likewise.
11168 * nscd/nscd-client.h (__nscd_acquire_maplock)
11169 (__nscd_drop_map_ref): Likewise.
11170 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11171 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11172 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11174 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11175 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11176 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11177 (__nscd_get_map_ref): Likewise.
11178 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11179 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11181 * nscd/pwdcache.c (addpwbyX): Likewise.
11182 * nscd/selinux.c (preserve_capabilities): Likewise.
11183 * nscd/servicescache.c (addservbyX): Likewise.
11184 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11185 * posix/fnmatch.c (fnmatch): Likewise.
11186 * posix/getopt.c (_getopt_internal_r): Likewise.
11187 * posix/glob.c (glob, glob_in_dir): Likewise.
11188 * posix/wordexp.c (exec_comm_child): Likewise.
11189 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11190 (getanswer_r, gaih_getanswer_slice): Likewise.
11191 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11192 * resolv/res_init.c: Likewise.
11193 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11194 * resolv/res_query.c (__libc_res_nquery): Likewise.
11195 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11197 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11198 * stdio-common/perror.c (perror): Likewise.
11199 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11200 * stdio-common/tmpnam.c (tmpnam): Likewise.
11201 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11202 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11203 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11205 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11206 * stdlib/putenv.c (putenv): Likewise.
11207 * stdlib/setenv.c (__add_to_environ): Likewise.
11208 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11209 * stdlib/strtol_l.c (INTERNAL): Likewise.
11210 * string/memmem.c (memmem): Likewise.
11211 * string/strerror.c (strerror): Likewise.
11212 * string/strnlen.c (__strnlen): Likewise.
11213 * string/test-memmem.c (simple_memmem): Likewise.
11214 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11215 * sunrpc/pm_getport.c (__get_socket): Likewise.
11216 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11217 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11218 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11219 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11221 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11222 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11223 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11224 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11225 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11226 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11228 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11230 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11231 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11232 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11233 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11234 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11235 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11236 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11237 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11238 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11239 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11240 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11241 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11243 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11245 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11247 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11248 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11249 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11250 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11251 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11252 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11253 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11254 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11255 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11256 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11257 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11258 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11259 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11260 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11261 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11262 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11264 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11266 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11268 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11270 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11271 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11272 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11274 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11275 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11276 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11277 * sysdeps/posix/sleep.c: Likewise.
11278 * sysdeps/posix/tempname.c: Likewise.
11279 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11280 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11282 * sysdeps/powerpc/powerpc32/dl-machine.h
11283 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11284 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11285 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11286 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11287 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11289 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11290 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11291 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11292 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11293 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11294 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11295 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11296 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11297 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11298 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11299 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11300 (elf_machine_lazy_rel): Likewise.
11301 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11302 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11303 (elf_machine_lazy_rel): Likewise.
11304 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11305 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11306 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11307 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11308 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11309 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11310 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11313 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11314 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11315 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11316 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11317 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11318 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11319 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11320 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11321 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11322 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11323 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11325 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11326 (__posix_fallocate64_l64): Likewise.
11327 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11328 (posix_fallocate): Likewise.
11329 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11331 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11332 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11333 (getifaddrs_internal): Likewise.
11334 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11335 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11336 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11337 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11338 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11339 (__posix_fallocate64_l64): Likewise.
11340 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11342 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11343 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11344 (__get_clockfreq): Likewise.
11345 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11346 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11347 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11348 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11349 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11350 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11351 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11352 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11354 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11355 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11356 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11357 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11358 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11359 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11360 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11362 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11363 (posix_fallocate): Likewise.
11364 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11365 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11366 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11367 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11368 (elf_machine_rela, elf_machine_rela_relative)
11369 (elf_machine_lazy_rel): Likewise.
11370 * time/asctime.c (asctime_internal): Likewise.
11371 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11372 * time/tzset.c (__tzset_parse_tz): Likewise.
11373 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11374 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11375 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11376 * wcsmbs/wcsmbsload.h: Likewise.
11379 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11381 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11382 (arena_get2): Remove THREAD_STATS conditionals.
11383 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11384 (__malloc_stats, int): Likewise.
11386 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11388 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11389 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11391 * manual/setjmp.texi: Fix typos/grammar errors.
11393 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11394 Only return early when n is <= 0. Delete unused return statement.
11396 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11397 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11398 * debug/tst-longjmp_chk3.c: New file.
11400 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11401 (test_main): Replace code with set_fortify_handler call.
11402 * debug/test-strcpy_chk.c: Likewise.
11403 * debug/tst-chk1.c: Likewise.
11404 * debug/tst-longjmp_chk.c: Likewise.
11405 * test-skeleton.c: Include fcntl.h & paths.h
11406 (set_fortify_handler): Define.
11408 * debug/tst-longjmp_chk.c: Add header comment and include
11409 ../test-skeleton.c.
11410 (do_test): Mark static.
11411 (TEST_FUNCTION): Define.
11413 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11414 (IP_PMTUDISC_INTERFACE): Likewise.
11415 (IP_MULTICAST_IF): Likewise.
11416 (IP_MULTICAST_TTL): Likewise.
11417 (IP_MULTICAST_LOOP): Likewise.
11418 (IP_ADD_MEMBERSHIP): Likewise.
11419 (IP_DROP_MEMBERSHIP): Likewise.
11420 (IP_UNBLOCK_SOURCE): Likewise.
11421 (IP_BLOCK_SOURCE): Likewise.
11422 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11423 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11424 (IP_MSFILTER): Likewise.
11425 (MCAST_JOIN_GROUP): Likewise.
11426 (MCAST_BLOCK_SOURCE): Likewise.
11427 (MCAST_UNBLOCK_SOURCE): Likewise.
11428 (MCAST_LEAVE_GROUP): Likewise.
11429 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11430 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11431 (MCAST_MSFILTER): Likewise.
11432 (IP_MULTICAST_ALL): Likewise.
11433 (IP_UNICAST_IF): Likewise.
11435 * timezone/Makefile: Delete $(have-ksh) check.
11436 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11437 * timezone/tzselect.ksh: Add +x mode bits.
11439 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11440 (ANON_INODE_FS_MAGIC): Likewise.
11441 (BDEVFS_MAGIC): Likewise.
11442 (BINFMTFS_MAGIC): Likewise.
11443 (BTRFS_TEST_MAGIC): Likewise.
11444 (CRAMFS_MAGIC_WEND): Likewise.
11445 (DEBUGFS_MAGIC): Likewise.
11446 (ECRYPTFS_SUPER_MAGIC): Likewise.
11447 (EXT3_SUPER_MAGIC): Likewise.
11448 (EXT4_SUPER_MAGIC): Likewise.
11449 (FUTEXFS_SUPER_MAGIC): Likewise.
11450 (HOSTFS_SUPER_MAGIC): Likewise.
11451 (HUGETLBFS_MAGIC): Likewise.
11452 (MINIX3_SUPER_MAGIC): Likewise.
11453 (MTD_INODE_FS_MAGIC): Likewise.
11454 (NILFS_SUPER_MAGIC): Likewise.
11455 (OPENPROM_SUPER_MAGIC): Likewise.
11456 (PIPEFS_MAGIC): Likewise.
11457 (PSTOREFS_MAGIC): Likewise.
11458 (QNX6_SUPER_MAGIC): Likewise.
11459 (RAMFS_MAGIC): Likewise.
11460 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11461 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11462 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11463 (SECURITYFS_MAGIC): Likewise.
11464 (SELINUX_MAGIC): Likewise.
11465 (SMACK_MAGIC): Likewise.
11466 (SOCKFS_MAGIC): Likewise.
11467 (SQUASHFS_MAGIC): Likewise.
11468 (STACK_END_MAGIC): Likewise.
11469 (TMPFS_MAGIC): Likewise.
11470 (USBDEVICE_SUPER_MAGIC): Likewise.
11471 (V9FS_MAGIC): Likewise.
11472 (XENFS_SUPER_MAGIC): Likewise.
11473 (CRAMFS_MAGIC): Fix typo in comment.
11474 (EXT2_SUPER_MAGIC): Update comment.
11475 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11477 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11479 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11480 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11481 * sysdeps/unix/sysv/linux/arm: Move directory from
11482 ports/sysdeps/unix/sysv/linux/arm.
11483 * README: Update listing for arm-*-linux-gnueabi.
11485 * README: Remove mention of am33.
11487 2014-02-07 Roland McGrath <roland@hack.frob.com>
11489 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11490 than the comma operator, to avoid "rhs of comma has no effect"
11492 (__sigfillset, __sigandset, __sigorset): Likewise.
11493 * include/signal.h (__sigemptyset): Likewise.
11494 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11496 2014-02-07 Allan McRae <allan@archlinux.org>
11498 * version.h (RELEASE): Set to "development".
11499 (VERSION): Set to "2.19.90"
11500 * NEWS: Add 2.20 section.
11502 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11505 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11507 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11509 * manual/contrib.texi: Update entry for Carlos O'Donell,
11510 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11512 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11514 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11516 * sysdeps/unix/sysv/linux/kernel-features.h
11517 [__LINUX_KERNEL_VERSION >= 0x020621]
11518 (__ASSUME_PROC_PID_TASK_COMM): Define.
11520 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11523 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11524 conversion when destination buffer does not have enough space.
11525 * libio/tst-ftell-partial-wide.c: New test case.
11526 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11528 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11529 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11530 Leonard and Allan McRae.
11532 2014-02-04 David S. Miller <davem@davemloft.net>
11534 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11537 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11566 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11568 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11569 * shlib-versions: Likewise.
11571 2014-02-04 Roland McGrath <roland@hack.frob.com>
11572 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11574 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11575 (abilist-pattern): New variable, set to %-le.abilist.
11577 * Makerules (abilist-pattern): New variable.
11578 (vpath): Use $(abilist-pattern) in place of %.abilist.
11579 (check-abi-% pattern rule): Likewise.
11580 (check-abi, update-abi): Likewise.
11582 2014-02-04 Eric Wong <normalperson@yhbt.net>
11584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11586 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11588 * manual/startup.texi: Add next, previous, and top entries for
11589 the `Program Arguments' and `Environment Variables' nodes.
11591 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11593 * manual/macros.texi: Add comments before MTASC-safety macros.
11595 * manual/users.texi: Document MTASC-safety properties.
11597 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11598 (pthread_getspecific, pthread_setspecific): Format with
11599 @deftypefun, and add @safety note.
11600 * manual/signal.texi: Move comments that analyze the above
11601 functions to their home place.
11603 2014-02-03 Allan McRae <allan@archlinux.org>
11605 * po/sl.po: Update Slovenian translation from translation project.
11607 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11609 * manual/time.texi (timegm): Add missing blank after @c.
11610 Reported by Joseph Myers <joseph@codesourcery.com>.
11612 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11614 * manual/check-safety.sh: New.
11615 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11617 * manual/terminal.texi: Document MTASC-safety properties.
11619 * manual/filesys.texi: Document MTASC-safety properties.
11621 * manual/errno.texi: Document MTASC-safety properties.
11623 * manual/intro.texi: Document safety identifiers and
11626 * manual/string.texi (wcstok): Fix prototype.
11627 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11629 * manual/time.texi: Document MTASC-safety properties.
11631 * manual/string.texi: Document MTASC-safety properties.
11633 * manual/threads.texi: Document MTASC-safety properties.
11635 * manual/stdio.texi: Document MTASC-safety properties.
11637 * manual/syslog.texi: Document MTASC-safety properties.
11639 * manual/sysinfo.texi: Document MTASC-safety properties.
11641 * manual/startup.texi: Document MTASC-safety properties.
11643 * manual/socket.texi: Document MTASC-safety properties.
11645 * manual/signal.texi: Document MTASC-safety properties.
11647 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11649 * manual/setjmp.texi: Document MTASC-safety properties.
11651 * manual/search.texi: Document MTASC-safety properties.
11653 * manual/resource.texi: Document MTASC-safety properties.
11655 * manual/process.texi: Document MTASC-safety properties.
11657 * manual/platform.texi: Document MTASC-safety properties.
11659 * manual/pipe.texi: Document MTASC-safety properties.
11661 * manual/pattern.texi: Document MTASC-safety properties.
11663 * manual/message.texi: Document MTASC-safety properties.
11666 * manual/memory.texi: Document MTASC-safety properties.
11668 * manual/math.texi: Document MTASC-safety properties.
11670 * manual/locale.texi: Document MTASC-safety properties.
11672 * manual/llio.texi: Document MTASC-safety properties.
11674 * manual/libdl.texi: New.
11676 * manual/lang.texi: Document MTASC-safety properties.
11678 * manual/job.texi: Document MTASC-safety properties.
11680 * manual/getopt.texi: Document MTASC-safety properties.
11682 * manual/ctype.texi: Document MTASC-safety properties.
11684 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11687 * csu/libc-tls.c (static_map): Remove variable.
11688 (__libc_setup_tls): Use main executable's link map for TLS data.
11689 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11690 casing for LM_ID_BASE and GL(dl_nns).
11691 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11692 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11693 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11694 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11695 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11697 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11700 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11702 * manual/debug.texi: Document MTASC-safety properties.
11704 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11707 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11708 of __x86_64__ when disabling x87 inline functions.
11710 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11712 * manual/charset.texi: Document MTASC-safety properties.
11714 * manual/crypt.texi: Document MTASC-safety properties.
11716 * manual/conf.texi: Document MTASC-safety properties.
11718 * manual/arith.texi: Document MTASC-safety properties.
11720 * manual/argp.texi: Document MTASC-safety properties.
11722 * manual/macros.texi: Introduce macros to document multi
11723 thread, asynchronous signal and asynchronous cancellation
11725 * manual/intro.texi: Introduce the properties themselves.
11727 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11729 * sysdeps/sh/sh4/Makefile: New file.
11731 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11733 * math/gen-libm-test.pl ($srcdir): New variable.
11734 ($auto_input): Use it.
11736 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11739 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11740 access beyond array bounds when parsing netgroups file.
11742 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11743 the old buffer before realloc.
11745 2014-01-27 Allan McRae <allan@archlinux.org>
11747 * po/fr.po: Update French translation from translation project.
11749 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11751 * sysdeps/sh/libm-test-ulps: Regenerate.
11753 2014-01-24 David S. Miller <davem@davemloft.net>
11755 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11757 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11759 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11760 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11762 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11765 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11766 string pointers after reallocation.
11768 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11770 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11771 __SH4A__ instead of __SH_FPU_ANY__.
11773 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11775 * sysdeps/sh/fpu_control.h: New file.
11776 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11777 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11778 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11779 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11780 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11781 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11782 * sysdeps/sh/sys/ucontext.h: Remove.
11783 * sysdeps/sh/sys: Remove directory.
11785 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11787 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11788 s390/sys/ucontext.h.
11789 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11790 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11792 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11795 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11797 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11800 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11801 Adjust the vDSO correctly for internal calls.
11802 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11804 2014-01-20 Allan McRae <allan@archlinux.org>
11806 * po/ca.po: Update Catalan translation from translation project.
11808 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11810 * sysdeps/s390/sotruss-lib.c: New file.
11812 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11815 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11816 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11817 local calls issues by not having a PLT stub required for IFUNC calls.
11818 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11820 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11822 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11823 * math/test-fpucw-static.c: Likewise.
11825 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11828 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11830 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11832 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11833 implementation for powerpc.
11835 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11838 * sysdeps/posix/system.c (__libc_system): Do not enable
11839 asynchronous cancellation.
11841 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11844 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11845 handling only for numbers special also in the IEEE case.
11847 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11849 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11851 2014-01-11 Allan McRae <allan@archlinux.org>
11853 * po/bg.po: Update Bulgarian translation from translation project.
11855 * po/de.po: Update German translation from translation project.
11857 2014-01-10 Roland McGrath <roland@hack.frob.com>
11859 * sysdeps/generic/gcc-compat.h: New file.
11861 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11863 * benchtests/asin-inputs: Correct slow inputs.
11864 * benchtests/acos-inputs: Likewise.
11866 2014-01-10 Allan McRae <allan@archlinux.org>
11868 * po:sv.po: Update Swedish translation from translation project.
11870 * po/vi.po: Update Vietnamese translation from translation project.
11872 * po/eo.po: Update Esperanto translation from translation project.
11874 * po/cs.po: Update Czech translation from translation project.
11876 * po/nl.po: Update Dutch translation from translation project.
11878 * po/pl.po: Update Polish translation from translation project.
11880 * po/ru.po: Update Russian translation from translation project.
11882 * po/uk.po: Update Ukrainian translation from translation project.
11884 2014-01-08 Brooks Moses <bmoses@google.com>
11886 * elf/dl-load.c: Fix comment typo.
11888 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11890 * po/header.pot: Rename to...
11891 * po/pot.header: ... this.
11892 * po/Makefile: Use pot.header.
11894 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11895 Maxim Kuvyrkov <maxim@kugelworks.com>
11898 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11899 SRC and DEST against LEN.
11901 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11904 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11906 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11908 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11912 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11915 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11916 for large positive arguments.
11918 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11920 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11922 * math/auto-libm-test-in: Mark various tests with
11923 xfail-rounding:ldbl-128ibm.
11924 * math/auto-libm-test-out: Regenerated.
11927 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11928 Increase overflow threshold.
11930 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11933 * stdio-common/vfprintf.c: Check for integer overflow.
11935 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11937 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11938 the first argument and return value of __tls_get_addr_internal.
11940 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11942 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11943 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11945 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11947 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11948 * sysdeps/s390/rtld-global-offsets.sym: New file.
11949 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11951 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11952 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11953 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11955 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11956 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11962 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11963 halfs of GPRs for high_gprs contexts.
11964 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11965 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11967 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11969 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11971 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11972 for high GPRs (uc_high_gprs) and for future extensions
11974 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11975 for future extensions (__reserved).
11976 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11978 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11979 SC_HIGHGPRS offset definition.
11980 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11981 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11983 * Versions.def: Add GLIBC_2.19 for libpthread.
11984 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11985 siglongjmp for libpthread with GLIBC_2.19 symver.
11986 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11987 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11988 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11989 * sysdeps/s390/__longjmp.c: New file.
11990 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11991 * sysdeps/s390/longjmp.c: New file.
11992 * sysdeps/s390/setjmp.S: New file.
11993 * sysdeps/s390/sigjmp.S: New file.
11994 * sysdeps/s390/v1-longjmp.c: New file.
11995 * sysdeps/s390/v1-setjmp.h: New file.
11996 * sysdeps/s390/v1-sigjmp.c: New file.
11997 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11998 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11999 GLIBC_2.19 version.
12000 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12001 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12002 versioned symbols for ____longjmp_chk.
12003 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12013 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12014 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12015 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12016 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12017 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12018 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12019 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12020 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12021 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12022 * sysdeps/s390/rtld-__longjmp.c: New file.
12023 * sysdeps/s390/rtld-setjmp.S: New file.
12025 2014-01-06 Joseph Myers <joseph@codesourcery.com>
12028 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12029 Return -__logl (x) for small positive arguments without evaluating
12032 2014-01-06 Mike Frysinger <vapier@gentoo.org>
12034 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12036 (__ptrace_peeksiginfo_args): ... this.
12037 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12038 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12039 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12041 2014-01-06 Allan McRae <allan@archlinux.org>
12043 * inet/netinet/in.h: Fix typo in comment.
12045 2014-01-05 Andreas Jaeger <aj@suse.de>
12047 * sysdeps/i386/fpu/libm-test-ulps: Update.
12049 2014-01-05 Allan McRae <allan@archlinux.org>
12051 * po/libc.pot: Regenerated.
12053 * malloc/memusagestat.c: Fix gettext call formatting.
12055 2014-01-04 Sami Kerola <kerolasa@iki.fi>
12057 * nscd/nscd.c: Improve usage() output.
12059 2014-01-04 Mike Frysinger <vapier@gentoo.org>
12061 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12062 * sysdeps/unix/sysv/linux/configure: Regenerated.
12063 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12064 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12066 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12069 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12070 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12072 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12074 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12075 extra tokens at end of #undef directive.
12076 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12077 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12078 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12080 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12082 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12084 * math/auto-libm-test-in: Mark various tests with
12085 xfail-rounding:ldbl-128ibm.
12086 * math/auto-libm-test-out: Regenerated.
12088 2014-01-02 Joseph Myers <joseph@codesourcery.com>
12091 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12092 numbers with subnormal high part when calculating exponent.
12095 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12099 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12101 (__ieee754_acoshl): Use __log1pl not __log1p.
12103 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
12105 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12106 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12107 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12108 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12109 (reused_arena, arena_get2): Convert to GNU style.
12110 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12111 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12112 (memalign_check, __malloc_set_state): Likewise.
12113 * malloc/mallocbug.c (main): Likewise.
12114 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12115 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12116 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12117 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12118 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12119 (__posix_memalign, malloc_info): Likewise.
12120 * malloc/malloc.h: Likewise.
12121 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12122 (mallochook, memalignhook, reallochook, mabort): Likewise.
12123 * malloc/mcheck.h: Likewise.
12124 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12125 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12126 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12127 * malloc/morecore.c (__default_morecore): Likewise.
12128 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12129 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12130 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12131 (print_and_abort): Likewise.
12132 * malloc/obstack.h: Likewise.
12133 * malloc/set-freeres.c (__libc_freeres): Likewise.
12134 * malloc/tst-mallocstate.c (main): Likewise.
12135 * malloc/tst-mtrace.c (main): Likewise.
12136 * malloc/tst-realloc.c (do_test): Likewise.
12138 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12141 * nscd/netgroupcache.c (do_notfound): New function.
12142 (addgetnetgrentX): Use it.
12145 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12146 NSS_STATUS_NOTFOUND.
12148 2014-01-01 Joseph Myers <joseph@codesourcery.com>
12150 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12153 2014-01-01 Allan McRae <allan@archlinux.org>
12155 * scripts/update-copyrights: Update configure input file suffix.
12157 * NEWS: Update copyright year.
12158 * catgets/gencat.c: Likewise.
12159 * csu/version.c: Likewise.
12160 * debug/catchsegv.sh: Likewise.
12161 * debug/pcprofiledump.c: Likewise.
12162 * debug/xtrace.sh: Likewise.
12163 * elf/ldconfig.c: Likewise.
12164 * elf/ldd.bash.in: Likewise.
12165 * elf/pldd.c: Likewise.
12166 * elf/sotruss.ksh: Likewise.
12167 * elf/sprof.c: Likewise.
12168 * iconv/iconv_prog.c: Likewise.
12169 * iconv/iconvconfig.c: Likewise.
12170 * locale/programs/locale.c: Likewise.
12171 * locale/programs/localedef.c: Likewise.
12172 * login/programs/pt_chown.c: Likewise.
12173 * malloc/memusage.sh: Likewise.
12174 * malloc/memusagestat.c: Likewise.
12175 * malloc/mtrace.pl: Likewise.
12176 * manual/libc.texinfo: Likewise.
12177 * nscd/nscd.c: Likewise.
12178 * nss/getent.c: Likewise.
12179 * nss/makedb.c: Likewise.
12180 * posix/getconf.c: Likewise.
12181 * scripts/test-installation.pl: Likewise.
12183 * All files with FSF copyright notices: Update copyright dates
12184 using scripts/update-copyrights.
12185 * intl/plural.c: Regenerated.
12186 * locale/programs/charmap-kw.h: Likewise.
12187 * locale/programs/locfile-kw.h: Likewise.
12189 2013-12-31 Mike Frysinger <vapier@gentoo.org>
12191 * sysdeps/unix/sysv/linux/configure: Regenerated.
12192 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12193 the linux/fanotify.h header.
12194 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12195 HAVE_LINUX_FANOTIFY_H is defined.
12197 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12199 * benchtests/cos-inputs: New inputs.
12200 * benchtests/sin-inputs: Likewise.
12202 * benchtests/atan-inputs: New inputs. Fix name of multiple
12203 precision fallback inputs.
12205 * benchtests/atanh-inputs: New inputs.
12206 * benchtests/tanh-inputs: Likewise.
12208 * benchtests/acosh-inputs: New inputs.
12209 * benchtests/asinh-inputs: Likewise.
12211 * benchtests/cosh-inputs: New inputs.
12212 * benchtests/sinh-inputs: Likewise.
12214 * benchtests/acos-inputs: Add more inputs.
12215 * benchtests/asin-inputs: Likewise.
12217 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
12220 * manual/arith.texi: Fix spelling.
12221 * manual/charset.texi: Likewise.
12222 * manual/errno.texi: Likewise.
12223 * manual/filesys.texi: Likewise.
12224 * manual/lang.texi: Likewise.
12225 * manual/llio.texi: Likewise.
12226 * manual/locale.texi: Likewise.
12227 * manual/message.texi: Likewise.
12228 * manual/resource.texi: Likewise.
12229 * manual/search.texi: Likewise.
12230 * manual/setjmp.texi: Likewise.
12231 * manual/stdio.texi: Likewise.
12232 * manual/string.texi: Likewise.
12233 * manual/sysinfo.texi: Likewise.
12234 * manual/time.texi: Likewise.
12236 2013-12-27 Carlos O'Donell <carlos@redhat.com>
12238 * po/sl.po: New file.
12240 2013-12-27 Mike Frysinger <vapier@gentoo.org>
12242 * .gitignore: Add core/.gdbinit/.gdb_history.
12244 2013-12-27 Allan McRae <allan@archlinux.org>
12247 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12248 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12250 2013-12-24 Brooks Moses <bmoses@google.com>
12252 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12253 all compilers that claim C++98 compliance, not just GCC.
12254 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12257 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12259 * NEWS: Restore accidentally deleted bug-fix entries.
12261 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12262 Ondřej Bílka <neleai@seznam.cz>
12265 * malloc/malloc.c (_int_free): Perform sanity check only if we
12268 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
12271 * manual/stdio.texi (String Input Conversions): Clarify that character
12272 classes are not supported.
12274 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12278 2013-12-22 Joseph Myers <joseph@codesourcery.com>
12281 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12282 Calculate results for small negative arguments directly rather
12283 than using reflection formula with special underflow handling.
12285 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12286 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12287 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12288 (fchflags): Likewise.
12289 (revoke): Likewise.
12290 (setlogin): Likewise.
12291 (sigaltstack): Likewise.
12293 (sigblock): Remove.
12294 (sigsetmask): Likewise.
12296 (waitpid): Likewise.
12297 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12298 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12300 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12301 * sysdeps/unix/bsd/Makefile: ... here.
12302 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12303 * sysdeps/unix/bsd/Versions: ... here.
12304 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12305 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12306 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12307 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12308 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12309 * sysdeps/unix/bsd/sigblock.c: ... here.
12310 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12311 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12312 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12313 * sysdeps/unix/bsd/sigvec.c: ... here.
12314 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12315 * sysdeps/unix/bsd/tcdrain.c: ... here.
12316 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12317 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12318 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12319 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12320 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12321 * sysdeps/unix/bsd/wait.c: ... here.
12322 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12323 * sysdeps/unix/bsd/wait3.c: ... here.
12324 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12325 * sysdeps/unix/bsd/waitpid.c: ... here.
12327 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12330 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12331 round-to-nearest for [!USE_AS_EXPM1L].
12332 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12333 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12334 more tests of exp and exp10. Expect some exp10 tests to miss
12335 exceptions or fail in directed rounding modes.
12336 * math/auto-libm-test-out: Regenerated.
12337 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12338 (exp10_test_tonearest): New function.
12339 (exp10_towardzero_test_data): New array.
12340 (exp10_test_towardzero): New function.
12341 (exp10_downward_test_data): New array.
12342 (exp10_test_downward): New function.
12343 (exp10_upward_test_data): New array.
12344 (exp10_test_upward): New function.
12345 (main): Call the new functions.
12346 * sysdeps/i386/fpu/libm-test-ulps: Update.
12347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12349 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12351 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12352 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12353 * math/auto-libm-test-out: Regenerated.
12354 * math/libm-test.inc (acosh_test_data): Add more tests.
12355 (atanh_test_data): Likewise.
12356 (ceil_test_data): Likewise.
12357 (copysign_test_data): Likewise.
12358 * sysdeps/i386/fpu/libm-test-ulps: Update.
12359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12361 * timezone/checktab.awk: Update from tzcode 2013i.
12362 * timezone/private.h: Likewise.
12363 * timezone/scheck.c: Likewise.
12364 * timezone/tzfile.h: Likewise.
12365 * timezone/tzselect.ksh: Likewise.
12366 * timezone/zdump.c: Likewise.
12367 * timezone/zic.c: Likewise.
12369 * math/auto-libm-test-in: Add tests of cpow.
12370 * math/auto-libm-test-out: Regenerated.
12371 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12372 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12374 (func_calc_desc): Add mpc_cc_c union field.
12375 (test_functions): Add cpow.
12376 (special_fill_2pi): New function.
12377 (special_real_inputs): Add 2pi.
12378 (calc_generic_results): Handle mpc_cc_c.
12379 * sysdeps/i386/fpu/libm-test-ulps: Update.
12380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12382 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12383 csqrt, ctan and ctanh.
12384 * math/auto-libm-test-out: Regenerated.
12385 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12386 (TEST_COND_x86): Likewise.
12387 (ccos_test_data): Use AUTO_TESTS_c_c.
12388 (ccosh_test_data): Likewise.
12389 (cexp_test_data): Likewise.
12390 (clog_test_data): Likewise.
12391 (csqrt_test_data): Likewise.
12392 (ctan_test_data): Likewise.
12393 (ctan_tonearest_test_data): Likewise.
12394 (ctan_towardzero_test_data): Likewise.
12395 (ctan_downward_test_data): Likewise.
12396 (ctan_upward_test_data): Likewise.
12397 (ctanh_test_data): Likewise.
12398 (ctanh_tonearest_test_data): Likewise.
12399 (ctanh_towardzero_test_data): Likewise.
12400 (ctanh_downward_test_data): Likewise.
12401 (ctanh_upward_test_data): Likewise.
12402 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12404 (func_calc_desc): Add mpc_c_c union field.
12405 (FUNC_mpc_c_c): New macro.
12406 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12407 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12409 (special_fill_min_subnorm_p120): New function.
12410 (special_real_inputs): Add min_subnorm_p120.
12411 (calc_generic_results): Handle mpc_c_c.
12412 * sysdeps/i386/fpu/libm-test-ulps: Update.
12413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12415 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12417 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12418 (do_sin_slow): New functions.
12419 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12420 (cslow2, csloww1, csloww2): Use the new functions.
12422 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12423 Use M to change sign of result instead of X. Assume X is
12425 (csloww1): Likewise.
12429 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12430 arguments A and DA.
12434 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12436 (sloww1): Don't adjust sign of DX.
12437 (csloww1): Likewise.
12438 (sloww2): Use X directly and don't adjust sign of DX.
12439 (csloww2): Likewise.
12441 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12443 * math/auto-libm-test-in: Add tests of cabs and carg.
12444 * math/auto-libm-test-out: Regenerated.
12445 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12446 (carg_test_data): Likewise.
12447 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12449 (func_calc_desc): Add mpc_c_f union field.
12450 (test_functions): Add cabs and carg.
12451 (calc_generic_results): Handle mpc_c_f.
12453 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12454 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12455 as a macro and a compat symbol.
12456 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12457 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12458 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12459 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12460 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12461 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12463 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12465 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12467 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12469 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12471 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12473 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12474 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12477 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12481 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12483 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12484 trailing whitespace removed.
12485 * scripts/config.guess: Update to version 2013-11-29.
12486 * scripts/config.sub: Update to version 2013-10-01.
12488 * math/auto-libm-test-in: Add tests of sincos.
12489 * math/auto-libm-test-out: Regenerated.
12490 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12491 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12493 (func_calc_desc): Add mpfr_f_11 union field.
12494 (test_functions): Add sincos.
12495 (calc_generic_results): Handle mpfr_f_11.
12496 * sysdeps/i386/fpu/libm-test-ulps: Update.
12497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12499 2013-12-19 Andreas Schwab <schwab@suse.de>
12501 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12503 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12504 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12505 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12507 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12509 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12510 * sysdeps/i386/fpu/libm-test-ulps: Update.
12511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12514 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12515 round-to-nearest mode when using frndint.
12516 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12517 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12518 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12520 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12522 * math/auto-libm-test-out: Regenerated.
12523 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12524 (TEST_COND_x86): Likewise.
12525 (expm1_tonearest_test_data): New array.
12526 (expm1_test_tonearest): New function.
12527 (expm1_towardzero_test_data): New array.
12528 (expm1_test_towardzero): New function.
12529 (expm1_downward_test_data): New array.
12530 (expm1_test_downward): New function.
12531 (expm1_upward_test_data): New array.
12532 (expm1_test_upward): New function.
12533 (main): Run the new test functions.
12534 * sysdeps/i386/fpu/libm-test-ulps: Update.
12535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12537 * include/features.h: Update comment documenting feature test
12538 macros. Mention _DEFAULT_SOURCE in comment.
12539 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12540 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12541 _BSD_SOURCE and _SVID_SOURCE.
12542 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12543 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12544 !_SVID_SOURCE]: Likewise.
12545 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12546 (__USE_POSIX_IMPLICITLY): Define.
12547 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12548 (_POSIX_SOURCE): Undefine and redefine.
12549 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12550 (_POSIX_C_SOURCE): Likewise.
12551 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12552 (Feature Test Macros): Update documentation of default features.
12554 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12556 * benchtests/Makefile: Add bench-strtok.
12557 * benchtests/bench-strtok.c: New file: strtok benchtest.
12559 2013-12-19 Allan McRae <allan@archlinux.org>
12561 * manual/install.texi: Suppress menu for plain text output.
12562 * INSTALL: Regenerated.
12564 2013-12-18 Brooks Moses <bmoses@google.com>
12567 * misc/getauxval.c: Include errno.h.
12568 (__getauxval): Set errno to ENOENT if the requested type is not
12570 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12571 don't declare with __attribute_const__.
12572 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12573 * manual/startup.texi: Document that getauxval sets errno.
12575 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12577 * math/auto-libm-test-in: Add tests of jn and yn.
12578 * math/auto-libm-test-out: Regenerated.
12579 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12580 (yn_test_data): Likewise.
12581 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12583 (func_calc_desc): Add mpfr_if_f union field.
12584 (FUNC_mpfr_if_f): New macro.
12585 (test_functions): Add jn and yn.
12586 (calc_generic_results): Assert type of second input for
12587 mpfr_ff_f. Handle mpfr_if_f.
12588 (output_for_one_input_case): Disable all checking for arguments
12589 fitting floating-point types in case of an integer argument.
12590 * sysdeps/i386/fpu/libm-test-ulps: Update.
12591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12594 Don't expect fegetround reference in libm.so.
12596 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12598 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12599 $(config-cflags-nofma).
12601 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12603 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12604 * math/auto-libm-test-out: Regenerated.
12607 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12608 to determine exponent and adjust argument to have exponent of -1.
12609 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12611 * math/auto-libm-test-out: Regenerated.
12612 * sysdeps/i386/fpu/libm-test-ulps: Update.
12613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12615 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12617 * manual/probes.texi: Remove cases when per-thread arenas are
12620 2013-12-18 Andreas Schwab <schwab@suse.de>
12622 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12623 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12624 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12625 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12626 * sysdeps/i386/i686/multiarch/Makefile: Update.
12627 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12629 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12631 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12632 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12634 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12637 Support TZ transition times < 00:00:00.
12638 This is needed for version-3 tz-format files; it supports time
12639 stamps past 2037 for America/Godthab (the only entry in the tz
12640 database for which this change is relevant).
12641 * manual/time.texi (TZ Variable): Document transition times
12642 from -167:59:59 through -00:00:01.
12643 * time/tzset.c (tz_rule): Time of day is now signed.
12644 (__tzset_parse_tz): Parse negative time of day.
12646 Document TZ transition times >= 25:00:00.
12647 * manual/time.texi (TZ Variable): Document transition times from
12648 25:00:00 through 167:59:59. These are already supported, and this
12649 support will help with version-3 tz-format files.
12651 * manual/time.texi (TZ Variable): Modernize North America example
12652 to reflect current (i.e., 2007-and-later) daylight saving rules.
12654 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12656 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12658 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12659 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12660 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12661 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12662 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12663 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12664 * sysdeps/unix/bsd/clock.c: Likewise.
12665 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12666 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12667 * sysdeps/unix/bsd/init-posix.c: Likewise.
12668 * sysdeps/unix/bsd/poll.c: Likewise.
12669 * sysdeps/unix/bsd/ptsname.c: Likewise.
12670 * sysdeps/unix/bsd/seekdir.c: Likewise.
12671 * sysdeps/unix/bsd/setegid.c: Likewise.
12672 * sysdeps/unix/bsd/seteuid.c: Likewise.
12673 * sysdeps/unix/bsd/setgid.c: Likewise.
12674 * sysdeps/unix/bsd/setrgid.c: Likewise.
12675 * sysdeps/unix/bsd/setruid.c: Likewise.
12676 * sysdeps/unix/bsd/setsid.c: Likewise.
12677 * sysdeps/unix/bsd/setuid.c: Likewise.
12678 * sysdeps/unix/bsd/sigaction.c: Likewise.
12679 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12680 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12681 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12682 * sysdeps/unix/bsd/telldir.c: Likewise.
12683 * sysdeps/unix/bsd/times.c: Likewise.
12684 * sysdeps/unix/bsd/usleep.c: Likewise.
12686 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12687 ($(objpfx)libbsd-compat.a): Remove rule.
12689 * include/features.h (__FAVOR_BSD): Do not define.
12690 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12691 features conflicting with POSIX.
12692 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12693 (_BSD_SOURCE): Remove description of not being a subset of other
12694 feature test macros.
12695 * manual/job.texi (getpgrp): Do not document BSD version.
12696 (getpgid): Do not document by reference to BSD getpgrp.
12697 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12698 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12699 * signal/signal.h [__FAVOR_BSD]: Likewise.
12700 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12701 instead of making contents conditional on [__FAVOR_BSD].
12702 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12704 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12708 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12711 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12712 values below 2**-450, not 2**-500.
12713 * math/auto-libm-test-in: Don't allow spurious underflow from
12715 * math/auto-libm-test-out: Regenerated.
12719 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12720 values of ha and hb and sort them after adjusting subnormal
12722 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12724 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12725 values of ea and eb and sort them after adjusting subnormal
12727 * math/auto-libm-test-in: Do not expect some hypot tests of
12728 subnormals to fail. Add more hypot tests.
12729 * math/auto-libm-test-out: Regenerated.
12731 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12734 * sysdeps/sh/s_fma.c: New file.
12735 * sysdeps/sh/s_fmaf.c: New file.
12736 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12738 * sysdeps/sh/Implies: Add sh/soft-fp.
12740 2013-12-16 Roland McGrath <roland@hack.frob.com>
12742 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12743 level of indirection to members `objname', `errstring', `malloced'.
12744 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12745 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12746 it as the __longjmp argument (just pass 1 instead).
12747 (_dl_catch_error): Initialize C with argument pointers and address of
12748 volatile local ERRCODE rather than copying values out of C at return.
12750 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12752 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12753 * math/auto-libm-test-out: Regenerated.
12754 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12755 (hypot_test_data): Likewise.
12756 (pow_test_data): Likewise.
12757 (pow_tonearest_test_data): Likewise.
12758 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12760 (func_calc_desc): Add mpfr_ff_f union field.
12761 (FUNC_mpfr_ff_f): New macro.
12762 (test_functions): Add atan2, hypot and pow.
12763 (special_fill_min): New function.
12764 (special_fill_minus_min): Likewise.
12765 (special_fill_min_subnorm): Likewise.
12766 (special_fill_minus_min_subnorm): Likewise.
12767 (special_real_inputs): Add min, -min, min_subnorm and
12769 (calc_generic_results): Handle mpfr_ff_f.
12770 * sysdeps/i386/fpu/libm-test-ulps: Update.
12771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12773 2013-12-16 Will Newton <will.newton@linaro.org>
12775 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12776 (Aligned Memory Blocks): Add documentation for aligned_alloc
12777 and suggest it as an alternative to posix_memalign.
12778 (Hooks for Malloc): Document __memalign_hook is also called
12779 for aligned_alloc. (Summary of Malloc): Add summary for
12780 aligned alloc. Document __memalign_hook is also called
12783 2013-12-16 Will Newton <will.newton@linaro.org>
12785 * manual/memory.texi (Malloc Examples): Clarify default
12786 alignment documentation. Suggest posix_memalign rather
12787 than memalign or valloc.
12788 (Aligned Memory Blocks): Remove suggestion to use memalign
12789 or valloc. Remove obsolete comment about BSD.
12790 Document memalign errno values and mark the function obsolete.
12791 Document posix_memalign returned error codes. Mark valloc
12792 as obsolete. (Hooks for Malloc): __memalign_hook is also
12793 called for posix_memalign and valloc.
12794 (Summary of Malloc): Add posix_memalign to function summary.
12795 __memalign_hook is also called for posix_memalign and valloc.
12797 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12799 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12803 (sloww): Use mynumber union. Expand ternary operator into
12804 if-else statements.
12805 (cslow): use mynumber union.
12807 2013-12-16 Allan McRae <allan@archlinux.org>
12809 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12810 * configure: Regenerated.
12812 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12815 * configure.ac: Added --enable-maintainer-mode. Check for
12816 autoconf when enabled.
12817 * configure: Regenerated.
12819 * nscd/nscd.service: New file.
12820 * nscd/nscd.tmpfiles: New file.
12822 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12825 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12826 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12827 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12828 (strstr): Add __strstr_sse2_unaligned ifunc.
12829 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12830 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12831 (strcasestr): Remove __strcasestr_sse42 ifunc.
12832 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12833 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12834 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12836 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12838 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12839 * sysdeps/sh/bits/fenv.h: ... here.
12840 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12842 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12844 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12846 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12847 hypotf multiarch implementations.
12848 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12849 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12850 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12851 multiarch hypot for PPC64.
12852 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12853 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12854 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12855 multiarch hypotf for PPC64.
12857 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12858 modff multiarch implementations.
12859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12862 multiarch modf for PPC64.
12863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12866 multiarch modff for PPC64.
12868 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12869 and logl multiarch implementations.
12870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12873 multiarch logb for PPC64.
12874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12877 multiarch logb for PPC64.
12878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12881 multiarch logb for PPC64.
12883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12884 isinff multiarch implementation.
12885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12889 multiarch isinf for PPC64.
12890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12893 multiarch isinff for PPC64.
12895 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12896 finitef multiarch implementation.
12897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12901 multiarch finite for PPC64.
12902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12905 multiarch finitef for PPC64.
12907 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12908 lrint multiarch implementation.
12909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12913 multiarch llrint for PPC64.
12914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12915 multiarch lrint for PPC64.
12917 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12918 copysignf multiarch implementation.
12919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12924 multiarch copysign for PPC64.
12925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12926 multiarch copysignf for PPC64.
12928 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12929 multiarch implementation.
12930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12938 multiarch llround for PPC64.
12939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12940 multiarch trunc for PPC64.
12941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12942 multiarch truncf for PPC64.
12944 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12945 multiarch implementation.
12946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12954 multiarch llround for PPC64.
12955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12956 multiarch round for PPC64.
12957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12958 multiarch roundf for PPC64.
12960 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12961 multiarch implementation.
12962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12970 multiarch llround for PPC64.
12971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12972 multiarch floor for PPC64.
12973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12974 multiarch floorf for PPC64.
12976 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12977 multiarch implementation.
12978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12986 multiarch llround for PPC64.
12987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12988 multiarch ceil for PPC64.
12989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12990 multiarch ceilf for PPC64.
12992 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12993 multiarch implementation.
12994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13001 multiarch llround for PPC64.
13002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13003 multiarch lround for PPC64.
13005 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13006 multiarch implementation.
13007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13014 multiarch isnan for PPC64.
13015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13016 multiarch isnanf for PPC64.
13018 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13019 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13020 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13021 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13022 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13025 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13026 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13027 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13028 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13030 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13031 multiarch implementations.
13032 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13033 (__libc_ifunc_impl_list): Likewise.
13034 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13035 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13036 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13037 multiarch stpcpy for PPC64.
13039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13040 multiarch implementations.
13041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13042 (__libc_ifunc_impl_list): Likewise.
13043 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13044 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13045 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13046 multiarch strcpy for PPC64.
13048 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13049 redefine function name.
13050 (_wordcopy_fwd_dest_aligned): Likewise.
13051 (_wordcopy_bwd_aligned): Likewise.
13052 (_wordcopy_bwd_dest_aligned): Likewise.
13053 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13054 multiarch implementations.
13055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13056 (__libc_ifunc_impl_list): Likewise.
13057 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13058 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13059 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13060 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13061 multiarch wcscpy for PPC64.
13063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13064 multiarch implementations.
13065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13066 (__libc_ifunc_impl_list): Likewise.
13067 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13068 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13069 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13070 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13071 multiarch wcscpy for PPC64.
13073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13074 multiarch implementations.
13075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13076 (__libc_ifunc_impl_list): Likewise.
13077 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13078 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13079 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13080 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13081 multiarch wcsrchr for PPC64.
13083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13084 multiarch implementations.
13085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13086 (__libc_ifunc_impl_list): Likewise.
13087 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13088 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13089 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13090 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13091 multiarch wcschr for PPC64.
13093 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13094 multiarch implementations.
13095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13096 (__libc_ifunc_impl_list): Likewise.
13097 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13098 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13099 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13100 multiarch strchrnul for PPC64.
13102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13105 (__libc_ifunc_impl_list): Likewise.
13106 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13107 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13108 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13109 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13112 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13115 (__libc_ifunc_impl_list): Likewise.
13116 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13117 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13118 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13119 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13122 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13123 multiarch implementations.
13124 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13125 (__libc_ifunc_impl_list): Likewise.
13126 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13127 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13128 strncasecmp for PPC64.
13129 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13130 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13131 multiarch strncasecmp_l for PPC64.
13133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13134 multiarch implementations.
13135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13136 (__libc_ifunc_impl_list): Likewise.
13137 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13138 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13139 multiarch strcasecmp for PPC64.
13140 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13142 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13143 multiarch strcasecmp_l for PPC64.
13145 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13148 (__libc_ifunc_impl_list): Likewise.
13149 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13150 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13151 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13154 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13156 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13157 (__libc_ifunc_impl_list): Likewise.
13158 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13159 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13160 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13163 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13165 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13166 (__libc_ifunc_impl_list): Likewise.
13167 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13168 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13169 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13170 rawmemrchr for PPC64.
13172 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13174 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13175 (__libc_ifunc_impl_list): Likewise.
13176 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13177 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13178 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13181 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13184 (__libc_ifunc_impl_list): Likewise.
13185 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13186 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13187 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13193 (__libc_ifunc_impl_list): Likewise.
13194 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13195 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13196 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13199 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13200 avoid cretion of __bzero symbol.
13201 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13203 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13205 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13207 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13208 multiarch implementations.
13209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13210 (__libc_ifunc_impl_list): Likewise.
13211 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13212 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13213 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13214 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13216 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13217 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13218 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13219 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13220 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13222 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13224 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13228 (__libc_ifunc_impl_list): Likewise.
13229 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13230 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13231 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13232 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13236 multiarch for POWER/PPC64.
13237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13238 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13239 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13240 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13241 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13242 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13243 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13244 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13245 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13248 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13249 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13250 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13251 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13252 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13253 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13254 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13255 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13256 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13257 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13258 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13259 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13260 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13261 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13262 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13271 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13273 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13275 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13277 * benchtests/Makefile (bench): Add exp2 and log2.
13278 (LDLIBS-bench-exp2): Add -lm.
13279 (LDLIBS-bench-log2): Likewise.
13280 * benchtests/exp2-inputs: New inputs file.
13281 * benchtests/log2-inputs: New inputs file.
13282 * benchtests/log-inputs: Add new inputs.
13283 * benchtests/tan-inputs: Likewise.
13285 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13287 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13289 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13290 (csloww2): ... from here.
13292 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13293 instead of structures.
13294 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13295 (POLYNOMIAL): Likewise.
13296 (TAYLOR_SLOW): Likewise.
13302 (sloww1); Likewise.
13303 (sloww2): Likewise.
13304 (bsloww1): Likewise.
13305 (bsloww2): Likewise.
13306 (cslow2): Likewise.
13307 (csloww): Likewise.
13308 (csloww1): Likewise.
13309 (csloww2): Likewise.
13311 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13313 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13314 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13315 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13316 * malloc/hooks.c (realloc_check): Likewise.
13318 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13319 * malloc/arena.c: Remove PER_THREAD conditional.
13320 [!PER_THREAD]: Remove code.
13321 (ptmalloc_unlock_all2): Likewise.
13322 (ptmalloc_init): Likewise.
13323 (_int_new_arena): Likewise.
13324 (arena_get2): Likewise.
13325 * malloc/hooks.c (__malloc_get_state): Likewise.
13326 (__malloc_set_state): Likewise.
13327 * malloc/malloc.c: Likewise.
13328 (struct malloc_state): Likewise.
13329 (struct malloc_par): Likewise.
13330 (__libc_realloc): Likewise.
13331 (__libc_mallopt): Likewise.
13333 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13335 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13337 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13339 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13340 macro to a function. Check for zero perturb_byte.
13341 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13343 * malloc/malloc.c: (force_reg): Remove.
13344 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13345 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13346 force_reg by atomic_forced_read.
13347 * malloc/arena.c (ptmalloc_init): Likewise.
13348 * malloc/hooks.c (top_check): Likewise.
13350 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13354 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13358 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13360 * math/auto-libm-test-in: Add tests of lgamma.
13361 * math/auto-libm-test-out: Regenerated.
13362 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13363 (M_LOG_2_SQRT_PIl): Likewise.
13364 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13365 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13367 (func_calc_desc): Add mpfr_f_f1 union field.
13368 (ARGS1): New macro.
13376 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13377 (test_functions): Add lgamma.
13378 (calc_generic_results): Handle mpfr_f_f1.
13379 * sysdeps/i386/fpu/libm-test-ulps: Update.
13380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13382 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13384 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13385 __mpn_add_n for PowerPC64/POWER7.
13386 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13387 __mpn_sub_n for PowerPC64/POWER7.
13389 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13390 __mpn_addmul_1 for PowerPC64.
13391 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13392 __mpn_submul_1 for PowerPC64.
13393 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13395 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13398 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13401 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13403 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13405 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13407 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13408 add multiarch folders.
13409 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13410 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13411 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13412 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13413 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13414 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13415 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13416 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13417 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13418 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13419 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13428 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13434 multiarch __ieee754_hypot for PowerPC32.
13435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13440 multiarch __ieee754_hypotf for PowerPC32.
13442 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13443 long_double_symbol only if __logbl is defined.
13444 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13445 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13446 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13447 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13448 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13449 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13450 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13451 path for implementation.
13452 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13453 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13455 logb, and logbl multiarch implementations for PowerPC32.
13456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13461 multiarch logb for PowerPC32.
13462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13467 multiarch logbf for PowerPC32.
13468 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13472 multiarch logbl implementation for PowerPC32.
13474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13475 and modff multiarch implementations.
13476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13481 multiarch modf for PowerPC32.
13482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13487 multiarch modff for PowerPC32.
13489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13490 and lrintf multiarch implementations.
13491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13496 multiarch lrint for PowerPC32.
13497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13498 file: multiarch lrintf for PowerPC32.
13500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13501 and lroundf multiarch implementations.
13502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13509 multiarch lround for PowerPC32.
13510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13511 file: multiarch lroundf for PowerPC32.
13513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13514 copysign and copysignf multiarch implementations.
13515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13520 file: multiarch copysign for PowerPC32.
13521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13522 file: multiarch copysignf for PowerPC32.
13524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13525 and truncf multiarch implementations.
13526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13531 multiarch trunc for PowerPC32.
13532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13537 multiarch truncf for PowerPC32.
13539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13540 and roundf multiarch implementations.
13541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13546 multiarch round for PowerPC32.
13547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13552 multiarch roundf for PowerPC32.
13554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13555 and floorf multiarch implementations.
13556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13561 multiarch floor for PowerPC32.
13562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13567 multiarch floorf for PowerPC32.
13569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13570 and ceilf multiarch implementations.
13571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13576 multiarch ceil for PowerPC32.
13577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13582 multiarch ceilf for PowerPC32.
13584 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13586 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13587 FINITEF is defined.
13588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13589 and finitef multiarch implementations.
13590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13595 multiarch finite for PowerPC32.
13596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13599 file: multiarch finitef for PowerPC32.
13601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13602 and isinff multiarch implementations.
13603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13608 multiarch isinf for PowerPC32.
13609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13612 multiarch isinff for PowerPC32.
13614 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13615 alias when __isnan is defined.
13616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13617 and isnanf multiarch implementations.
13618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13627 multiarch isnan for PowerPC32.
13628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13633 multiarch isnanf for PowerPC32.
13635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13636 and sqrtf multiarch implementations.
13637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13642 multiarch sqrt for PowerPC32.
13643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13648 multiarch sqrtf for PowerPC32.
13650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13651 and llroundf multiarch implementations.
13652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13659 file: multiarch llround for PowerPC32.
13660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13661 file: multiarch llroundf for PowerPC32.
13663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13664 multiarch PowerPC32 fpu implementations.
13665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13670 multiarch llrint for PowerPC32.
13671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13680 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13682 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13684 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13686 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13687 multiarch wordcopy for PPC32.
13688 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13690 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13691 (__libc_ifunc_impl_list): Likewise.
13692 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13693 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13694 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13695 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13696 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13697 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13699 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13700 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13702 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13704 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13706 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13707 multiarch wcscpy for PPC32.
13708 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13710 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13711 (__libc_ifunc_impl_list): Likewise.
13712 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13713 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13714 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13715 sysdeps/powerpc/power6/wcscpy.c.
13717 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13718 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13720 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13722 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13724 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13725 multiarch wcsrchr for PPC32.
13726 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13728 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13729 (__libc_ifunc_impl_list): Likewise.
13730 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13731 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13732 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13733 sysdeps/powerpc/power6/wcsrchr.c.
13735 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13737 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13739 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13740 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13741 multiarch wcschr for PPc32.
13742 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13744 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13745 (__libc_ifunc_impl_list): Likewise.
13746 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13747 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13748 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13749 sysdeps/powerpc/power6/wcschr.c.
13751 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13752 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13754 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13755 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13756 file: multiarch strchr for PPC32.
13757 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13759 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13760 (__libc_ifunc_impl_list): Likewise.
13762 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13764 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13766 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13768 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13769 multiarch strchrnul for PPC32.
13770 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13772 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13773 (__libc_ifunc_impl_list): Likewise.
13775 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13777 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13778 multiarch strncasecmp for PPC32.
13779 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13781 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13782 multiarch strncasecmp_l for PPC32.
13783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13784 strncasecmp multiarch objects.
13785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13786 (__libc_ifunc_impl_list): Likewise.
13788 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13790 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13791 multiarch strncasecmp for PPC32.
13792 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13794 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13795 multiarch strcasecmp_l for PPC32.
13796 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13798 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13799 (__libc_ifunc_impl_list): Likewise.
13801 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13803 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13805 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13806 multiarch strncmp for PPC32.
13807 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13809 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13810 (__libc_ifunc_impl_list): Likewise.
13812 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13813 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13815 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13816 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13817 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13819 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13820 (__libc_ifunc_impl_list): Likewise.
13822 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13824 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13826 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13827 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13829 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13830 (__libc_ifunc_impl_list): Likewise.
13832 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13834 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13836 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13837 multiarch rawmemchr for PPC32.
13838 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13840 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13841 (__libc_ifunc_impl_list): Likewise.
13843 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13845 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13847 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13848 file: memrchr multiarch for PPC32.
13849 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13851 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13852 (__libc_ifunc_impl_list): Likewise.
13854 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13855 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13857 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13858 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13859 multiarch memchr for PPC32.
13860 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13863 (__libc_ifunc_impl_list): Likewise.
13865 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13866 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13868 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13870 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13871 file: multiarch mempcpy for PPC32.
13872 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13874 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13875 (__libc_ifunc_impl_list): Likewise.
13877 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13878 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13879 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13880 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13881 multiarch bzero for PPC32.
13882 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13884 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13886 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13887 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13888 file: multiarch memset for PPC32.
13889 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13890 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13891 memset multiarch objects.
13892 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13893 (__libc_ifunc_impl_list): Likewise.
13895 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13897 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13898 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13900 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13901 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13903 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13904 (__libc_ifunc_impl_list): Likewise.
13906 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13907 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13908 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13910 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13912 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13914 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13915 multiarch memcpy for PPC32.
13916 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13918 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13919 (__libc_ifunc_impl_list): Likewise.
13921 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13922 support multiarch for POWER/PPC32.
13923 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13925 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13927 Implies file to make multiarch folder appers before the fpu and
13928 default folder for power4 configuration.
13930 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13932 * scripts/bench.pl: Append volatile keyword to type.
13934 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13936 * sysdeps/sh/sotruss-lib.c: New file.
13937 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13939 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13943 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13946 * math/w_tgamma.c: Include <errno.h>.
13947 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13948 * math/w_tgammaf.c: Include <errno.h>.
13949 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13950 * math/w_tgammal.c: Include <errno.h>.
13951 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13952 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13953 underflow. Add more tgamma tests.
13954 * math/auto-libm-test-out: Regenerated.
13955 * sysdeps/i386/fpu/libm-test-ulps: Update.
13956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13958 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13959 sin, sinh, tan, tanh, tgamma, y0 and y1.
13960 * math/auto-libm-test-out: Regenerated.
13961 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13962 (TEST_COND_x86): Likewise.
13963 (M_E2l): Remove macro.
13965 (M_2_SQRT_PIl): Likewise.
13966 (M_SQRT_PIl): Likewise.
13967 (M_1_DIV_El): Likewise.
13968 (log_test_data): Use AUTO_TESTS_f_f.
13969 (log10_test_data): Likewise.
13970 (log1p_test_data): Likewise.
13971 (log2_test_data): Likewise.
13972 (sin_test_data): Likewise.
13973 (sin_tonearest_test_data): Likewise.
13974 (sin_towardzero_test_data): Likewise.
13975 (sin_downward_test_data): Likewise.
13976 (sin_upward_test_data): Likewise.
13977 (sinh_test_data): Likewise.
13978 (sinh_tonearest_test_data): Likewise.
13979 (sinh_towardzero_test_data): Likewise.
13980 (sinh_downward_test_data): Likewise.
13981 (sinh_upward_test_data): Likewise.
13982 (tan_test_data): Likewise.
13983 (tan_tonearest_test_data): Likewise.
13984 (tan_towardzero_test_data): Likewise.
13985 (tan_downward_test_data): Likewise.
13986 (tan_upward_test_data): Likewise.
13987 (tanh_test_data): Likewise.
13988 (tgamma_test_data): Likewise.
13989 (y0_test_data): Likewise.
13990 (y1_test_data): Likewise.
13991 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13992 (special_real_inputs): Add pi/4.
13993 * sysdeps/i386/fpu/libm-test-ulps: Update.
13994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13996 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13998 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13999 "longjmp_target" static probes.
14000 (__longjmp): Rename to __longjmp_symbol.
14001 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14002 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14003 on which longjmp to generate.
14004 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14005 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14007 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14008 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14009 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14010 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14011 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14012 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14014 __longjmp_symbol based on which __longjmp to generate.
14015 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14017 (setjmp): Rename to setjmp_symbol.
14018 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14019 (_setjmp): Rename to _setjmp_symbol.
14020 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14021 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14022 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14023 which setjmp to generate.
14024 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14025 "longjmp_target" static probes.
14027 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14029 * benchtests/README: Add note about output arguments.
14030 * benchtests/bench-sincos.c: Remove file.
14031 * benchtests/sincos-inputs: New file.
14032 * scripts/bench.pl: Identify output arguments and define
14033 static variables for them.
14035 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14038 * Makefile (INSTALL): Add install-plain.texi as the primary
14040 * manual/install-plain.texi: New file.
14041 * manual/install.texi: Include node directive only for
14042 non-plaintext output.
14044 2013-12-04 Joseph Myers <joseph@codesourcery.com>
14046 * stdlib/longlong.h: Update from GCC.
14050 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14051 * math/w_j0f.c (y0f): Likewise.
14052 * math/w_j0l.c (__y0l): Likewise.
14053 * math/w_j1.c (y1): Likewise.
14054 * math/w_j1f.c (y1f): Likewise.
14055 * math/w_j1l.c (__y1l): Likewise
14056 * math/w_jn.c (yn): Likewise.
14057 * math/w_jnf.c (ynf): Likewise.
14058 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14059 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14060 value for Bessel function domain errors outside _SVID_ mode.
14061 Adjust sign of return value for yn (negative integer, 0).
14062 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14063 by zero in return for negative x and set sign appropriately for
14065 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14066 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14067 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14068 expectations in error cases.
14069 (y1_test_data): Likewise.
14070 (yn_test_data): Likewise.
14071 * sysdeps/i386/fpu/libm-test-ulps: Update.
14072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14074 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14076 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14077 "64" to "64-v1". Add "64-v2".
14078 (abi-64-options): Rename to ...
14079 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14080 (abi-64-condition): Rename to ...
14081 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14082 (abi-64-ld-soname): Rename to ...
14083 (abi-64-v1-ld-soname): ... this.
14084 (abi-64-v2-options): Define.
14085 (abi-64-v2-condition): Likewise.
14086 (abi-64-v2-ld-soname): Likewise.
14087 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14088 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14093 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14094 Alan Modra <amodra@gmail.com>
14096 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14097 New versions for use with the ELFv2 ABI.
14098 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14099 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14101 (struct La_ppc64v2_retval): Likewise.
14102 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14103 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14104 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14105 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14106 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14107 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14108 Do not save or restore CR.
14109 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14110 (_dl_profile_resolve): Do no save or restore CR. Support extended
14111 return values for ELFv2 ABI. Fix location of FPR return registers.
14112 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14113 updated values for _CALL_ELF == 2.
14114 (La_regs, La_retval, int_retval): Likewise.
14116 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14118 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14119 (FRAME_MIN_SIZE_PARM): Likewise.
14120 (FRAME_BACKCHAIN): Likewise.
14121 (FRAME_CR_SAVE): Likewise.
14122 (FRAME_LR_SAVE): Likewise.
14123 (FRAME_TOC_SAVE): Likewise.
14124 (FRAME_PARM_SAVE): Likewise.
14125 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14126 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14127 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14128 (call_mcount_parm_offset): New macro.
14129 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14130 (PROF): Use symbolic stack frame offsets.
14131 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14132 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14133 Redefine in terms of FRAME_MIN_SIZE.
14134 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14135 (_dl_profile_resolve): Likewise. Update comment.
14136 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14137 symbols stack frame offsets.
14138 (__sigsetjmp): Likewise.
14139 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14140 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14141 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14142 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14145 (FRAME_BACKCHAIN): Remove.
14146 (FRAME_CR_SAVE): Likewise.
14147 (FRAME_LR_SAVE): Likewise.
14148 (FRAME_COMPILER_DW): Likewise.
14149 (FRAME_LINKER_DW): Likewise.
14150 (FRAME_TOC_SAVE): Likewise.
14151 (FRAME_PARM_SAVE): Likewise.
14152 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14153 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14154 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14156 (CHECK_SP): Use symbolic stack frame offsets.
14157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14158 zone" instead of caller's parameter save area for temp storage.
14159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14160 Likewise. Also, use symbolic stack frame offsets.
14161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14162 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14163 our own stack frame instead of the caller's.
14164 (__socket): Use symbolic stack frame offsets.
14166 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14167 Alan Modra <amodra@gmail.com>
14169 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14171 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14172 (PPC64_LOCAL_ENTRY_OFFSET): Define.
14173 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14175 (elf_machine_fixup_plt): Call it.
14176 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14178 (elf_machine_rela): Update call to elf_machine_plt_conflict.
14179 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14180 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14181 r2 before calling target.
14183 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14184 Alan Modra <amodra@gmail.com>
14186 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14187 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14188 versions of macros to support ELFv2 ABI.
14189 (LOCALENTRY): New macro.
14190 (ENTRY, EALIGN): Use it.
14191 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14192 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14193 fall through into ENTRY entry point.
14194 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14195 Only define if _CALL_ELF != 2.
14197 (elf_machine_matches_host): Verify ABI version matches.
14198 (RTLD_START): Use LOCALENTRY.
14199 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14200 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14201 (PLT_ENTRY_WORDS): New macro.
14202 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14203 (elf_machine_runtime_setup): Support ELFv2 ABI.
14204 (elf_machine_fixup_plt): Likewise.
14205 (elf_machine_plt_conflict): Likewise.
14206 (resolve_ifunc): Likewise.
14207 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14208 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14211 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14213 (makecontext): Support ELFv2 ABI.
14214 * elf/elf.h (EF_PPC64_ABI): Define.
14216 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14218 * sysdeps/powerpc/powerpc64/sysdep.h
14219 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14220 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14221 (ENTRY) [ASSEMBLER]: ... but instead here ...
14222 (EALIGN) [ASSEMBLER]: ... and here.
14223 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14224 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14225 (ENTRY_2) [!ASSEMBLER]: Use it.
14226 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14227 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
14228 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14229 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14230 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14232 Use PPC64_LOAD_FUNCPTR.
14234 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14236 2013-12-04 Alan Modra <amodra@gmail.com>
14238 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14239 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14240 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14241 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14243 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14244 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14245 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14246 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14247 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14248 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14250 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14253 (__makecontext): Fix incorrect CFI when backtracing out of
14254 context created via makecontext.
14255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14256 (__setcontext): Fix incorrect CFI during switch to new context.
14257 (__novec_setcontext): Likewise.
14259 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14262 * time/strptime_l.c (__strptime_internal): Allow modifiers
14264 * time/tst-strptime.c (day_tests): Add testcase.
14266 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14268 * scripts/bench.pl: Skip over blank lines.
14270 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14273 * manual/time.texi (Calendar Time): Clarify what timezone functions
14276 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14280 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14282 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14284 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14285 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14286 * debug/memset_chk.c (__memset_chk): Likewise.
14287 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14288 * debug/strncpy_chk.c: Likewise.
14290 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14294 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14295 (__ieee754_exp): For possibly underflowing results, check size of
14296 result and force underflow exception if required.
14297 * math/auto-libm-test-in: Add more tests of exp.
14298 * math/auto-libm-test-out: Regenerated.
14299 * sysdeps/i386/fpu/libm-test-ulps: Update.
14300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14303 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14304 * math/w_exp2f.c (__exp2f): Likewise.
14305 * math/w_exp2l.c (__exp2l): Likewise.
14306 * math/auto-libm-test-in: Do not allow missing errno on exp2
14308 * math/auto-libm-test-out: Regenerated.
14310 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14313 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14314 handle filename validation.
14315 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14318 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14321 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14322 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14323 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14325 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14326 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14327 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14328 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14329 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14330 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14331 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14332 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14333 Add more erfc tests.
14334 * math/auto-libm-test-out: Regenerated.
14335 * sysdeps/i386/fpu/libm-test-ulps: Update.
14336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14338 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14339 exp2, expm1, j0 and j1.
14340 * math/auto-libm-test-out: Regenerated.
14341 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14342 (erfc_test_data): Likewise.
14343 (exp_test_data): Likewise.
14344 (exp_tonearest_test_data): Likewise.
14345 (exp_towardzero_test_data): Likewise.
14346 (exp_downward_test_data): Likewise.
14347 (exp_upward_test_data): Likewise.
14348 (exp10_test_data): Likewise.
14349 (exp2_test_data): Likewise.
14350 (expm1_test_data): Likewise.
14351 (j0_test_data): Likewise.
14352 (j1_test_data): Likewise.
14353 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14354 (input_flag_type): Add flag_xfail_rounding.
14355 (input_flags): Add xfail-rounding.
14356 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14357 (output_for_one_input_case): Handle flag_xfail_rounding.
14358 * sysdeps/i386/fpu/libm-test-ulps: Update.
14359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14361 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14364 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14367 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14370 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14371 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14372 (STAP_PROBE0): New macro.
14373 (STAP_PROBE1): Likewise.
14374 (STAP_PROBE2): Likewise.
14375 (STAP_PROBE3): Likewise.
14376 (STAP_PROBE4): Likewise.
14378 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14380 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14382 2013-12-02 Steve Ellcey <sellcey@mips.com>
14384 * benchtests/Makefile (bench): Add sqrt.
14385 (LDLIBS-bench-sqrt): New.
14386 * benchtests/sqrt-input: New.
14388 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14390 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14391 (GAIH_EAI): Likewise.
14392 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14393 (gaih_inet): Likewise.
14394 (getaddrinfo): Don't use GAIH_EAI.
14396 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14397 (struct gaih): Remove definition.
14399 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14401 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14402 Use HERRNOP directly.
14404 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14408 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14410 * math/gen-auto-libm-tests.c (test_functions): Add more
14411 single-argument functions.
14412 (special_fill_pi_2): New function.
14413 (special_fill_minus_pi_2): Likewise.
14414 (special_fill_pi_6): Likewise.
14415 (special_fill_minus_pi_6): Likewise.
14416 (special_fill_pi_3): Likewise.
14417 (special_fill_2pi_3): Likewise.
14418 (special_fill_e): Likewise.
14419 (special_fill_1_e): Likewise.
14420 (special_fill_e_minus_1): Likewise.
14421 (special_real_inputs): Add more special inputs.
14422 (output_for_one_input_case): Do not require ERANGE on underflow to
14423 zero if round-to-nearest result does not underflow to zero, unless
14424 exact results required.
14425 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14426 atan, atanh, cbrt, cos and cosh.
14427 * math/auto-libm-test-out: Regenerated.
14428 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14429 (acos_tonearest_test_data): Likewise.
14430 (acos_towardzero_test_data): Likewise.
14431 (acos_downward_test_data): Likewise.
14432 (acos_upward_test_data): Likewise.
14433 (acosh_test_data): Likewise.
14434 (asin_test_data): Likewise.
14435 (asin_tonearest_test_data): Likewise.
14436 (asin_towardzero_test_data): Likewise.
14437 (asin_upward_test_data): Likewise.
14438 (asinh_test_data): Likewise.
14439 (atan_test_data): Likewise.
14440 (atanh_test_data): Likewise.
14441 (cbrt_test_data): Likewise.
14442 (cos_test_data): Likewise.
14443 (cos_tonearest_test_data): Likewise.
14444 (cos_towardzero_test_data): Likewise.
14445 (cos_downward_test_data): Likewise.
14446 (cos_upward_test_data): Likewise.
14447 (cosh_test_data): Likewise.
14448 (cosh_tonearest_test_data): Likewise.
14449 (cosh_towardzero_test_data): Likewise.
14450 (cosh_downward_test_data): Likewise.
14451 (cosh_upward_test_data): Likewise.
14452 * sysdeps/i386/fpu/libm-test-ulps: Update.
14453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14455 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14458 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14459 * math/w_exp10f.c (__exp10f): Likewise.
14460 * math/w_exp10l.c (__exp10l): Likewise.
14461 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14462 errno settings in existing tests.
14465 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14466 precision control set to double precision.
14467 * sysdeps/i386/fpu/w_sqrt.c: New file.
14468 * math/auto-libm-test-in: Add more tests.
14469 * math/auto-libm-test-out: Update.
14471 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14472 (sqrt_test_tonearest): New function.
14473 (sqrt_towardzero_test_data): New variable.
14474 (sqrt_test_towardzero): New function.
14475 (sqrt_downward_test_data): New variable.
14476 (sqrt_test_downward): New function.
14477 (sqrt_upward_test_data): New variable.
14478 (sqrt_test_upward): New function.
14479 (main): Call the new functions.
14481 * math/gen-auto-libm-tests.c: New file.
14482 * math/auto-libm-test-in: Likewise.
14483 * math/auto-libm-test-out: New generated file.
14484 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14486 (%beautify): Add generated representations of zero.
14487 (top level): Set $auto_input and call parse_auto_input.
14488 (beautify): Remove trailing "f" from hex float constants.
14489 (parse_args): Handle XFAIL_TEST.
14490 (convert_condition): New function.
14491 (or_value): Likewise.
14492 (or_cond_value): Likewise.
14493 (generate_testfile): Handle AUTO_TESTS_* lines.
14494 (parse_auto_input): New function.
14495 * math/libm-test.inc (XFAIL_TEST): New macro.
14496 (ERRNO_UNCHANGED): Update value.
14497 (ERRNO_EDOM): Likewise.
14498 (ERRNO_ERANGE): Likewise.
14499 (IGNORE_RESULT): Likewise.
14500 (TEST_COND_flt_32): New macro.
14501 (TEST_COND_dbl_64): Likewise.
14502 (TEST_COND_ldbl_96_intel): Likewise.
14503 (TEST_COND_ldbl_96_m68k): Likewise.
14504 (TEST_COND_ldbl_128): Likewise.
14505 (TEST_COND_ldbl_128ibm): Likewise.
14506 (TEST_COND_long32): Likewise.
14507 (TEST_COND_long64): Likewise.
14508 (TEST_COND_before_rounding): Likewise.
14509 (TEST_COND_after_rounding): Likewise.
14510 (enable_test): Handle XFAIL_TEST flag.
14511 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14512 with finite results.
14513 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14514 auto-libm-test-out.
14516 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14517 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14520 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14521 __tls_get_addr_internal instead of __tls_get_offset in order to
14522 avoid GOT pointer dependency. Make rtld export
14523 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14524 __tls_get_addr since we are a __tls_get_offset platform.
14525 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14526 GOT pointer being set up before.
14527 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14529 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14531 * manual/math.texi (Errors in Math Functions): Document accuracy
14535 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14536 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14537 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14538 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14539 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14540 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14541 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14542 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14543 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14544 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14545 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14546 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14547 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14548 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14549 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14550 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14552 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14553 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14554 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14555 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14556 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14558 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14560 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14562 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14563 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14564 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14565 atomic-feupdateenv and flt-rounds.
14566 * sysdeps/powerpc/nofpu/Versions (libc): Add
14567 __atomic_feholdexcept, __atomic_feclearexcept,
14568 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14569 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14570 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14571 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14572 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14577 * manual/arith.texi (FP Exceptions): Document that exceptions may
14578 not be raised when matherr is used.
14579 (Math Error Reporting): Document overflow in directed rounding
14580 modes. Document that errno may not be set when finite values are
14581 returned on overflow. Document intent to set errno on underflow
14582 only for underflow to zero.
14585 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14586 round-to-nearest then adjust result for other rounding modes.
14587 * include/fenv.h (fegetround): Use libm_hidden_proto.
14588 * math/fegetround.c (fegetround): Use libm_hidden_def.
14589 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14590 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14591 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14592 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14594 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14595 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14596 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14597 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14599 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14602 * nss/Versions (libnss_files): Add
14603 _nss_files_gethostbyname3_r.
14604 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14606 (HOST_DB_LOOKUP): Remove macro.
14607 (_nss_files_gethostbyname_r): Implement function without the
14608 HOST_DB_LOOKUP macro.
14609 (_nss_files_gethostbyname2_r): Likewise.
14611 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14613 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14615 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14617 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14618 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14621 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14623 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14624 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14625 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14626 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14627 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14628 __fe_nomask_env_priv and attribute_hidden.
14629 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14630 (libc_feupdateenv_test_ppc): Likewise.
14631 (libc_feresetround_ppc): Likewise.
14632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14633 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14634 compat_symbol macro.
14635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14636 (__fe_nomask_env): Likewise.
14637 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14639 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14641 * string/Makefile: Remove ifunc tests.
14642 * string/test-string.h: Define TEST_IFUNC.
14643 * string/test-bcopy-ifunc.c: Remove.
14644 * string/test-bzero-ifunc.c: Likewise.
14645 * string/test-memccpy-ifunc.c: Likewise.
14646 * string/test-memchr-ifunc.c: Likewise.
14647 * string/test-memcmp-ifunc.c: Likewise.
14648 * string/test-memcpy-ifunc.c: Likewise.
14649 * string/test-memmem-ifunc.c: Likewise.
14650 * string/test-memmove-ifunc.c: Likewise.
14651 * string/test-mempcpy-ifunc.c: Likewise.
14652 * string/test-memrchr-ifunc.c: Likewise.
14653 * string/test-memset-ifunc.c: Likewise.
14654 * string/test-rawmemchr-ifunc.c: Likewise.
14655 * string/test-stpcpy-ifunc.c: Likewise.
14656 * string/test-stpncpy-ifunc.c: Likewise.
14657 * string/test-strcasecmp-ifunc.c: Likewise.
14658 * string/test-strcasestr-ifunc.c: Likewise.
14659 * string/test-strcat-ifunc.c: Likewise.
14660 * string/test-strchr-ifunc.c: Likewise.
14661 * string/test-strchrnul-ifunc.c: Likewise.
14662 * string/test-strcmp-ifunc.c: Likewise.
14663 * string/test-strcpy-ifunc.c: Likewise.
14664 * string/test-strcspn-ifunc.c: Likewise.
14665 * string/test-strlen-ifunc.c: Likewise.
14666 * string/test-strncasecmp-ifunc.c: Likewise.
14667 * string/test-strncat-ifunc.c: Likewise.
14668 * string/test-strncmp-ifunc.c: Likewise.
14669 * string/test-strncpy-ifunc.c: Likewise.
14670 * string/test-strnlen-ifunc.c: Likewise.
14671 * string/test-strpbrk-ifunc.c: Likewise.
14672 * string/test-strrchr-ifunc.c: Likewise.
14673 * string/test-strspn-ifunc.c: Likewise.
14674 * string/test-strstr-ifunc.c: Likewise.
14676 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14678 * benchtests/Makefile: Remove ifunc tests.
14679 * benchtests/bench-string.h: Define TEST_IFUNC.
14680 * benchtests/bench-bcopy-ifunc.c: Remove.
14681 * benchtests/bench-bzero-ifunc.c: Likewise.
14682 * benchtests/bench-memccpy-ifunc.c: Likewise.
14683 * benchtests/bench-memchr-ifunc.c: Likewise.
14684 * benchtests/bench-memcmp-ifunc.c: Likewise.
14685 * benchtests/bench-memcpy-ifunc.c: Likewise.
14686 * benchtests/bench-memmem-ifunc.c: Likewise.
14687 * benchtests/bench-memmove-ifunc.c: Likewise.
14688 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14689 * benchtests/bench-memrchr-ifunc.c: Likewise.
14690 * benchtests/bench-memset-ifunc.c: Likewise.
14691 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14692 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14693 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14694 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14695 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14696 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14697 * benchtests/bench-strcat-ifunc.c: Likewise.
14698 * benchtests/bench-strchr-ifunc.c: Likewise.
14699 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14700 * benchtests/bench-strcmp-ifunc.c: Likewise.
14701 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14702 * benchtests/bench-strcpy-ifunc.c: Likewise.
14703 * benchtests/bench-strcspn-ifunc.c: Likewise.
14704 * benchtests/bench-strlen-ifunc.c: Likewise.
14705 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14706 * benchtests/bench-strncat-ifunc.c: Likewise.
14707 * benchtests/bench-strncmp-ifunc.c: Likewise.
14708 * benchtests/bench-strncpy-ifunc.c: Likewise.
14709 * benchtests/bench-strnlen-ifunc.c: Likewise.
14710 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14711 * benchtests/bench-strrchr-ifunc.c: Likewise.
14712 * benchtests/bench-strsep-ifunc.c: Likewise.
14713 * benchtests/bench-strspn-ifunc.c: Likewise.
14714 * benchtests/bench-strstr-ifunc.c: Likewise.
14716 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14718 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14720 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14722 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14723 * rt/aio.h: Likewise.
14724 * sysdeps/gnu/bits/utmp.h: Likewise.
14725 * sysdeps/gnu/bits/utmpx.h: Likewise.
14726 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14727 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14728 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14729 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14730 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14731 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14732 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14733 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14734 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14735 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14736 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14737 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14738 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14740 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14741 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14742 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14743 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14744 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14745 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14746 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14747 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14748 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14749 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14750 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14751 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14752 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14753 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14754 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14755 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14756 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14757 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14758 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14759 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14760 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14761 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14762 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14763 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14764 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14765 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14766 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14767 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14769 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14772 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14773 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14775 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14777 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14778 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14781 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14783 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14784 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14785 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14786 (__fesetround): Remove define.
14787 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14788 rounding and exceptions handling.
14789 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14790 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14791 (__fe_nomask_env): Likewise.
14792 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14793 __fegetround instead of fegetround.
14794 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14795 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14797 2013-11-21 Roland McGrath <roland@hack.frob.com>
14799 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14802 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14804 2013-11-21 Meador Inge <meadori@codesourcery.com>
14807 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14808 (encrypt_r): Likewise.
14809 * malloc/obstack.h (obstack_free): Likewise.
14810 * posix/unistd.h (encrypt): Likewise.
14812 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14814 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14815 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14816 DL_CALL_DT_FINI() that call the functions directly.
14817 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14818 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14819 * elf/dl-fini.c: Likewise.
14821 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14823 * malloc/hooks.c (memalign_check): Add alignment rounding.
14824 * malloc/malloc.c (_mid_memalign): New function.
14825 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14826 Implement by calling _mid_memalign.
14827 * manual/probes.texi (Memory Allocation Probes): Remove
14828 memory_valloc_retry and memory_pvalloc_retry.
14830 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14832 * locale/programs/locarchive.c (open_archive): Add const
14833 qualifier to ARCHIVEFNAME and copy default fname to
14837 * libio/tst-widetext.input: Rename Oriya to Odia.
14838 * locale/iso-639.def: Likewise.
14840 * manual/probes.texi (Mathematical Function Probes): Add
14841 documentation for sin, cos, asin and acos probes.
14842 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14843 (__sin32): Add slowasin probe.
14844 (__cos32): Add slowacos probe.
14845 (__mpsin): Add slowsin probe.
14846 (__mpcos): Add slowcos probe.
14848 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14851 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14852 thread-local __sim_exceptions_thread and global
14853 __sim_exceptions_global.
14854 (__sim_disabled_exceptions): Change to thread-local
14855 __sim_disabled_exceptions_thread and global
14856 __sim_disabled_exceptions_global.
14857 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14858 and global __sim_round_mode_global.
14859 (__simulate_exceptions): Use thread-local floating-point state and
14860 set global state from it as needed.
14861 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14862 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14863 __sim_round_mode_thread.
14864 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14865 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14866 and global __sim_exceptions_global.
14867 (__sim_disabled_exceptions): Change to thread-local
14868 __sim_disabled_exceptions_thread and global
14869 __sim_disabled_exceptions_global.
14870 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14871 and global __sim_round_mode_global.
14872 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14873 (SIM_SET_GLOBAL): Likewise.
14874 * sysdeps/powerpc/soft-fp/sfp-machine.h
14875 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14876 __sim_round_mode_thread.
14877 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14878 __sim_disabled_exceptions_thread.
14879 (__sim_exceptions): Change to __sim_exceptions_thread.
14880 (__sim_disabled_exceptions): Change to
14881 __sim_disabled_exceptions_thread.
14882 (__sim_round_mode): Change to __sim_round_mode_thread.
14883 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14884 thread-local floating-point state and set global state from it as
14886 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14887 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14888 (__sim_disabled_exceptions): Remove extern declaration.
14889 (feenableexcept): Use thread-local floating-point state and set
14890 global state from it as needed.
14891 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14892 extern declaration.
14893 (__sim_disabled_exceptions): Likewise.
14894 (__sim_round_mode): Likewise.
14895 (__fegetenv): Use thread-local floating-point state.
14896 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14897 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14898 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14899 floating-point state and set global state from it as needed.
14900 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14901 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14902 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14904 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14905 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14907 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14908 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14909 Use __sim_round_mode_thread.
14910 * math/test-fenv-tls.c: New file.
14911 * math/Makefile (tests): Add test-fenv-tls.
14912 ($(objpfx)test-fenv-tls): Depend on
14913 $(common-objpfx)nptl/libpthread.so.
14915 2013-11-19 Andreas Schwab <schwab@suse.de>
14917 * locale/programs/locale.c (show_info): Decode wordarray elements.
14918 * locale/categories.def (LC_MONETARY): Add element for
14919 _NL_MONETARY_CRNCYSTR.
14920 * locale/C-monetary.c (conversion_rate): New variable.
14921 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14924 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14926 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14927 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14929 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14931 * elf/Makefile (tst-auxv): New test.
14932 * elf/tst-auxv.c: New
14933 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14935 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14937 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14938 (hidden_proto): Caller changed.
14939 (hidden_tls_proto): New macro.
14940 (libc_hidden_tls_proto): Likewise.
14941 (rtld_hidden_tls_proto): Likewise.
14942 (libm_hidden_tls_proto): Likewise.
14943 (libresolv_hidden_tls_proto): Likewise.
14944 (librt_hidden_tls_proto): Likewise.
14945 (libdl_hidden_tls_proto): Likewise.
14946 (libnss_files_hidden_tls_proto): Likewise.
14947 (libnsl_hidden_tls_proto): Likewise.
14948 (libnss_nisplus_hidden_tls_proto): Likewise.
14949 (libutil_hidden_tls_proto): Likewise.
14951 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14954 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14955 (decompose_rpath): Defer expansion to fillin_rpath.
14956 (_dl_init_paths): Pass linkmap to fillin_rpath.
14958 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14960 * benchtests/Makefile: Add strsep.
14961 * benchtests/bench-strsep.c: New file: strsep benchtest.
14962 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14964 2013-11-18 Andreas Schwab <schwab@suse.de>
14966 * locale/programs/locale.c (show_info) [case byte]: Check for
14967 '\377' instead of '\177'.
14968 * locale/C-monetary.c (not_available): Always use "\377".
14969 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14970 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14971 detect unavailable sign_posn locale elements.
14972 * locale/localeconv.c (__localeconv): For grouping and
14973 mon_grouping handle "\177" and "\377" like no grouping.
14974 (INT_ELEM): New macro. Use it to set all numeric members.
14975 * locale/programs/ld-monetary.c (monetary_read)
14976 <tok_mon_grouping>: Normalize single -1 to the empty string.
14977 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14980 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14983 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14984 when we match (nil).
14985 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14987 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14989 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14990 (NO_TEST_INLINE): Update value.
14991 (ERRNO_UNCHANGED): Likewise.
14992 (ERRNO_EDOM): Likewise.
14993 (ERRNO_ERANGE): Likewise.
14994 (IGNORE_RESULT): Likewise.
14995 (check_float_internal): Check signs of NaN results if
14996 TEST_NAN_SIGN used.
14997 (check_complex): Pass TEST_NAN_SIGN flag through to second
14998 check_float_internal call.
14999 (copysign_test_data): Add tests with quiet NaNs as second
15000 argument. Use TEST_NAN_SIGN.
15001 (fabs_test_data): Add test of negative quiet NaN argument. Use
15003 (signbit_test_data): Add tests of quiet NaN argument.
15004 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15006 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15008 (parse_args): Handle function results specified as IGNORE.
15009 * math/libm-test.inc (IGNORE_RESULT): New macro.
15010 (check_float_internal): Do not check numerical result if flag
15012 (check_complex): Pass through IGNORE_RESULT to second
15013 check_float_internal call.
15014 (check_int): Do not check numerical result if flag IGNORE_RESULT
15016 (check_long): Likewise.
15017 (check_bool): Likewise.
15018 (check_longlong): Likewise.
15019 (lrint_test_data): Add tests of infinite and NaN arguments.
15020 (lrint_tonearest_test_data): Likewise.
15021 (lrint_towardzero_test_data): Likewise.
15022 (lrint_downward_test_data): Likewise.
15023 (lrint_upward_test_data): Likewise.
15024 (llrint_test_data): Likewise.
15025 (llrint_tonearest_test_data): Likewise.
15026 (llrint_towardzero_test_data): Likewise.
15027 (llrint_downward_test_data): Likewise.
15028 (llrint_upward_test_data): Likewise.
15029 (lround_test_data): Likewise.
15030 (llround_test_data): Likewise.
15032 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15033 (ERRNO_UNCHANGED): Update value.
15034 (ERRNO_EDOM): Likewise.
15035 (ERRNO_ERANGE): Likewise.
15036 (NO_TEST_INLINE_FLOAT): New macro.
15037 (NO_TEST_INLINE_DOUBLE): Likewise.
15038 (enable_test): New function.
15039 (RUN_TEST_f_f): Check enable_test before running test.
15040 (RUN_TEST_2_f): Likewise.
15041 (RUN_TEST_fff_f): Likewise.
15042 (RUN_TEST_c_f): Likewise.
15043 (RUN_TEST_f_f1): Likewise.
15044 (RUN_TEST_fF_f1): Likewise.
15045 (RUN_TEST_fI_f1): Likewise.
15046 (RUN_TEST_ffI_f1): Likewise.
15047 (RUN_TEST_c_c): Likewise.
15048 (RUN_TEST_cc_c): Likewise.
15049 (RUN_TEST_f_i): Likewise.
15050 (RUN_TEST_f_i_tg): Likewise.
15051 (RUN_TEST_ff_i_tg): Likewise.
15052 (RUN_TEST_f_b): Likewise.
15053 (RUN_TEST_f_b_tg): Likewise.
15054 (RUN_TEST_f_l): Likewise.
15055 (RUN_TEST_f_L): Likewise.
15056 (RUN_TEST_fFF_11): Likewise.
15057 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15059 (cosh_test_data): Likewise.
15060 (exp_test_data): Likewise.
15061 (expm1_test_data): Likewise.
15062 (hypot_test_data): Likewise.
15063 (pow_test_data): Likewise.
15064 (sinh_test_data): Likewise.
15065 (tanh_test_data): Likewise.
15066 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15069 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15070 tests with quiet NaN input and output.
15071 (acosh_test_data): Likewise.
15072 (asin_test_data): Likewise.
15073 (asinh_test_data): Likewise.
15074 (atan_test_data): Likewise.
15075 (atanh_test_data): Likewise.
15076 (atan2_test_data): Likewise.
15077 (cbrt_test_data): Likewise.
15078 (cos_test_data): Likewise.
15079 (cosh_test_data): Likewise.
15080 (erf_test_data): Likewise.
15081 (erfc_test_data): Likewise.
15082 (exp_test_data): Likewise.
15083 (exp10_test_data): Likewise.
15084 (exp2_test_data): Likewise.
15085 (expm1_test_data): Likewise.
15086 (hypot_test_data): Likewise.
15087 (j0_test_data): Likewise.
15088 (j1_test_data): Likewise.
15089 (jn_test_data): Likewise.
15090 (lgamma_test_data): Likewise.
15091 (log_test_data): Likewise.
15092 (log10_test_data): Likewise.
15093 (log1p_test_data): Likewise.
15094 (log2_test_data): Likewise.
15095 (pow_test_data): Likewise.
15096 (scalb_test_data): Likewise.
15097 (sin_test_data): Likewise.
15098 (sincos_test_data): Likewise.
15099 (sinh_test_data): Likewise.
15100 (tan_test_data): Likewise.
15101 (tanh_test_data): Likewise.
15102 (tgamma_test_data): Likewise.
15103 (y0_test_data): Likewise.
15104 (y1_test_data): Likewise.
15105 (yn_test_data): Likewise.
15108 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15109 argument being NaN and avoid computations with second argument in
15111 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15112 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15113 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15115 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15117 * locale/iso-639.def: Add Chitwani Tharu (the).
15119 2013-11-14 Andreas Schwab <schwab@suse.de>
15121 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15122 word instead of empty string.
15124 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15127 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15129 (__fe_nomask_env): Likewise.
15131 2013-11-13 Steve Ellcey <sellcey@mips.com>
15133 * benchtests/bench-timing.h: Include time.h.
15135 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15138 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15140 * sysdeps/unix/sysv/linux/configure: Regenerated.
15142 2013-11-13 Joseph Myers <joseph@codesourcery.com>
15145 * stdlib/strtod_l.c (round_and_return): Do not consider
15146 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15147 exponent one less than half the least subnormal exponent.
15148 * stdlib/test-strtod-round-data: Add more tests.
15149 * stdlib/tst-strtod-round.c (tests): Regenerated.
15151 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15154 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15155 (__fe_mask_env): Likewise.
15156 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15157 libm_hidden_proto and add function prototype.
15158 (__fe_mask_env): Add function prototype.
15159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15160 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15162 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15164 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15166 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15168 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15169 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15171 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15173 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15174 of htab_find_slot().
15176 2013-11-11 David S. Miller <davem@davemloft.net>
15179 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15180 symbol in the non-vis3 case in static builds.
15181 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15182 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15183 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15184 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15186 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15189 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15192 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15194 * benchtests/Makefile: Add bench-strtod.
15195 * benchtests/bench-strtod.c: New file: strtod benchtest
15197 2013-11-11 Andreas Schwab <schwab@suse.de>
15200 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15201 terminating NUL in key length.
15203 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15205 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15206 Add artificial ODP entry for vDSO symbol for PPC64.
15207 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15208 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15210 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15213 * nss/getent.c (services_keys): Recognize services starting with digit.
15215 2013-11-06 David S. Miller <davem@davemloft.net>
15218 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15219 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15221 2013-11-06 Will Newton <will.newton@linaro.org>
15223 * manual/memory.texi (Malloc Examples): Remove register
15224 keyword from examples.
15226 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
15228 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15230 2013-11-04 Joseph Myers <joseph@codesourcery.com>
15233 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15234 depending on [__GCC_IEC_559 > 0].
15235 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15236 depending on [__GCC_IEC_559_COMPLEX > 0].
15238 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
15240 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15243 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
15245 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15247 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
15250 * malloc/malloc (malloc_info): Do not handle first bin as
15253 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
15255 * locale/iso-639.def: Add Central Nahuatl (nhn).
15257 2013-11-01 Bruno Haible <bruno@clisp.org>
15260 * manual/math.texi (BSD Random): Specify range upper bound as
15263 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
15265 * locale/iso-639.def: Add Meadow Mari (mhr).
15267 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
15269 [BZ #14752], [BZ #15763]
15270 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15272 * rt/tst_shm.c: Add test for escaping directory.
15274 2013-10-31 Andreas Schwab <schwab@suse.de>
15277 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15278 followed by 'x' as part of digit sequence.
15279 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15281 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15284 * configure.ac: allow GNU Make 4.0 and greater.
15285 * configure: Regenerated.
15287 2013-10-30 Will Newton <will.newton@linaro.org>
15290 * malloc/hooks.c (memalign_check): Limit alignment to the
15291 maximum representable power of two.
15292 * malloc/malloc.c (__libc_memalign): Likewise.
15293 * malloc/tst-memalign.c (do_test): Add test for very
15294 large alignment values.
15295 * malloc/tst-posix_memalign.c (do_test): Likewise.
15297 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15300 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15301 (munmap_chunk): Likewise.
15302 (mremap_chunk): Likewise.
15304 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15307 * stdlib/div.c (div): Remove obsolete code.
15308 * stdlib/ldiv.c (ldiv): Likewise.
15309 * stdlib/lldiv.c (lldiv): Likewise.
15311 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15314 * nss/nss_files/files-XXX.c (get_contents_ret): New
15316 (get_contents): New function.
15317 (internal_getent): Use it. Expand size of LINEBUFLEN.
15319 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15321 * configure.in: Moved to ...
15322 * configure.ac: ... here. Change reference to configure.in
15324 * sysdeps/arm/preconfigure.ac: ... here.
15325 configure.in to configure.ac.
15326 * sysdeps/gnu/configure.in: Moved to ...
15327 * sysdeps/gnu/configure.ac: ... here.
15328 * sysdeps/i386/configure.in: Moved to ...
15329 * sysdeps/i386/configure.ac: ... here.
15330 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15331 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15332 * sysdeps/mach/configure.in: Moved to ...
15333 * sysdeps/mach/configure.ac: ... here.
15334 * sysdeps/mach/hurd/configure.in: Moved to ...
15335 * sysdeps/mach/hurd/configure.ac: ... here.
15336 * sysdeps/powerpc/configure.in: Moved to ...
15337 * sysdeps/powerpc/configure.ac: ... here.
15338 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15339 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15340 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15341 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15342 * sysdeps/s390/s390-32/configure.in: Moved to ...
15343 * sysdeps/s390/s390-32/configure.ac: ... here.
15344 * sysdeps/s390/s390-64/configure.in: Moved to ...
15345 * sysdeps/s390/s390-64/configure.ac: ... here.
15346 * sysdeps/sh/configure.in: Moved to ...
15347 * sysdeps/sh/configure.ac: ... here.
15348 * sysdeps/sparc/configure.in: Moved to ...
15349 * sysdeps/sparc/configure.ac: ... here.
15350 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15351 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15352 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15353 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15354 * sysdeps/x86_64/configure.in: Moved to ...
15355 * sysdeps/x86_64/configure.ac: ... here.
15356 * sysdeps/x86_64/preconfigure.in: Moved to ...
15357 * sysdeps/x86_64/preconfigure.ac: ... here.
15358 * aclocal.m4: Change reference to configure.in to configure.ac.
15359 * config.h.in: Likewise.
15360 * manual/install.texi: Likewise.
15361 * manual/maint.texi: Likewise.
15362 * Makefile: Likewise.
15363 * malloc/Makefile: Likewise.
15364 * nscd/Makefile: Likewise.
15365 * Makeconfig: Change reference to configure.in and
15366 preconfigure.in to configure.ac and preconfigure.ac
15368 * INSTALL: Regenerated.
15369 * configure: Likewise.
15370 * sysdeps/gnu/configure: Likewise.
15371 * sysdeps/i386/configure: Likewise.
15372 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15373 * sysdeps/mach/configure: Likewise.
15374 * sysdeps/mach/hurd/configure: Likewise.
15375 * sysdeps/powerpc/configure: Likewise.
15376 * sysdeps/powerpc/powerpc32/configure: Likewise.
15377 * sysdeps/powerpc/powerpc64/configure: Likewise.
15378 * sysdeps/s390/s390-32/configure: Likewise.
15379 * sysdeps/s390/s390-64/configure: Likewise.
15380 * sysdeps/sh/configure: Likewise.
15381 * sysdeps/sparc/configure: Likewise.
15382 * sysdeps/unix/sysv/linux/configure: Likewise.
15383 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15384 * sysdeps/x86_64/configure: Likewise.
15385 * sysdeps/x86_64/preconfigure: Likewise.
15387 2013-10-29 Andreas Schwab <schwab@suse.de>
15389 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15391 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15393 * benchtests/pow-inputs: Add new inputs.
15395 * benchtests/exp-inputs: Add new inputs.
15397 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15398 conditional check for return value.
15399 (__cos32): Likewise.
15401 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15403 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15404 to provide a boost for large inputs with word alignment.
15405 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15406 implementation based on optimized PPC64 strcpy.
15407 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15408 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15409 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15410 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15412 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15415 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15417 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15420 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15421 * time/tst-strptime.c (day_tests): Add testcase.
15423 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15426 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15428 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15431 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15432 MAP_FAILED on error.
15434 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15437 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15438 heap for large requests.
15440 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15443 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15444 result if the result has no associated interface.
15445 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15446 interface for all 127.X.Y.Z addresses.
15448 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15450 * locale/iso-639.def: Add Ligurian (lij)
15452 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15455 * sunrpc/rpc_main.c: Document rpcgen -5.
15457 2013-10-19 Michael Stahl <mstahl@redhat.com>
15459 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15461 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15464 * posix/glob.c: Match only directories when trailing slash is present.
15465 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15466 (main): Add testcase.
15468 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15471 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15473 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15475 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15476 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15477 AUTH_DES and cindex for FIPS 140-2.
15478 (DES Encryption): Add cindex FIPS 46-3.
15480 * locale/locarchive.h (struct locarhandle): Add fname.
15481 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15482 if an optional argument was specified to --list-archive,
15484 * locale/programs/locarchive.c (show_archive_content): Take new
15485 argument fname and pass it via ah.fname to open_archive.
15486 * locale/programs/localedef.h: Update decl.
15487 (open_archive): If AH->fname is non-null, open that file
15488 rather than the default file name, and don't ignore ENOENT.
15489 (create_archive): Set AH.fname to NULL.
15490 (delete_locales_from_archive): Likewise.
15491 (add_locales_to_archive): Likewise.
15492 * locale/programs/locfile.c (write_all_categories): Likewise.
15494 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15495 Aldy Hernandez <aldyh@redhat.com>
15497 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15498 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15499 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15500 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15501 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15502 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15503 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15504 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15505 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15506 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15507 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15508 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15509 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15510 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15511 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15513 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15515 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15517 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15519 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15520 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15522 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15523 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15524 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15525 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15527 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15528 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15529 * sysdeps/powerpc/preconfigure: Likewise.
15530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15532 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15533 Replace contents of file by #include of <fenv_libc.h>.
15534 * sysdeps/powerpc/soft-fp/sfp-machine.h
15535 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15537 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15538 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15539 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15540 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15541 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15542 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15543 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15544 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15545 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15546 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15547 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15548 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15550 Allow copysignl PLT reference to be missing.
15552 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15553 Joseph Myers <joseph@codesourcery.com
15556 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15558 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15560 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15562 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15563 * elf/tst-tls1.c: Likewise.
15564 * elf/tst-tls10.h: Likewise.
15565 * elf/tst-tls14.c: Likewise.
15566 * elf/tst-tls2.c: Likewise.
15567 * elf/tst-tls3.c: Likewise.
15568 * elf/tst-tls4.c: Likewise.
15569 * elf/tst-tls5.c: Likewise.
15570 * elf/tst-tls6.c: Likewise.
15571 * elf/tst-tls7.c: Likewise.
15572 * elf/tst-tls8.c: Likewise.
15573 * elf/tst-tls9.c: Likewise.
15574 * elf/tst-tlsmod1.c: Likewise.
15575 * elf/tst-tlsmod13.c: Likewise.
15576 * elf/tst-tlsmod13a.c: Likewise.
15577 * elf/tst-tlsmod14a.c: Likewise.
15578 * elf/tst-tlsmod16a.c: Likewise.
15579 * elf/tst-tlsmod16b.c: Likewise.
15580 * elf/tst-tlsmod2.c: Likewise.
15581 * elf/tst-tlsmod3.c: Likewise.
15582 * elf/tst-tlsmod4.c: Likewise.
15583 * elf/tst-tlsmod5.c: Likewise.
15584 * elf/tst-tlsmod6.c: Likewise.
15586 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15589 * malloc/malloc.c: remove checks for statistics.
15591 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15594 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15595 * inet/tst-network.c: Add testcase.
15597 2013-10-17 Andreas Schwab <schwab@suse.de>
15600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15601 to determine canonical name.
15603 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15605 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15606 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15607 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15608 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15609 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15610 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15611 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15612 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15613 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15614 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15615 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15616 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15617 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15618 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15619 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15620 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15621 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15622 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15623 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15624 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15625 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15626 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15627 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15628 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15629 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15630 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15631 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15632 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15633 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15634 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15635 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15636 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15637 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15638 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15639 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15640 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15641 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15642 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15643 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15644 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15645 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15646 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15647 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15648 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15649 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15650 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15651 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15652 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15653 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15654 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15655 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15656 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15657 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15658 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15659 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15660 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15661 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15662 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15664 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15667 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15668 make result into a quiet NaN.
15670 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15672 * soft-fp/adddf3.c: Fix horizontal whitespace.
15673 * soft-fp/addsf3.c: Likewise.
15674 * soft-fp/addtf3.c: Likewise.
15675 * soft-fp/divdf3.c: Likewise.
15676 * soft-fp/divsf3.c: Likewise.
15677 * soft-fp/divtf3.c: Likewise.
15678 * soft-fp/double.h: Likewise.
15679 * soft-fp/eqdf2.c: Likewise.
15680 * soft-fp/eqsf2.c: Likewise.
15681 * soft-fp/eqtf2.c: Likewise.
15682 * soft-fp/extenddftf2.c: Likewise.
15683 * soft-fp/extended.h: Likewise.
15684 * soft-fp/extendsfdf2.c: Likewise.
15685 * soft-fp/extendsftf2.c: Likewise.
15686 * soft-fp/extendxftf2.c: Likewise.
15687 * soft-fp/fixdfdi.c: Likewise.
15688 * soft-fp/fixdfsi.c: Likewise.
15689 * soft-fp/fixdfti.c: Likewise.
15690 * soft-fp/fixsfdi.c: Likewise.
15691 * soft-fp/fixsfsi.c: Likewise.
15692 * soft-fp/fixsfti.c: Likewise.
15693 * soft-fp/fixtfdi.c: Likewise.
15694 * soft-fp/fixtfsi.c: Likewise.
15695 * soft-fp/fixtfti.c: Likewise.
15696 * soft-fp/fixunsdfdi.c: Likewise.
15697 * soft-fp/fixunsdfsi.c: Likewise.
15698 * soft-fp/fixunsdfti.c: Likewise.
15699 * soft-fp/fixunssfdi.c: Likewise.
15700 * soft-fp/fixunssfsi.c: Likewise.
15701 * soft-fp/fixunssfti.c: Likewise.
15702 * soft-fp/fixunstfdi.c: Likewise.
15703 * soft-fp/fixunstfsi.c: Likewise.
15704 * soft-fp/fixunstfti.c: Likewise.
15705 * soft-fp/floatdidf.c: Likewise.
15706 * soft-fp/floatdisf.c: Likewise.
15707 * soft-fp/floatditf.c: Likewise.
15708 * soft-fp/floatsidf.c: Likewise.
15709 * soft-fp/floatsisf.c: Likewise.
15710 * soft-fp/floatsitf.c: Likewise.
15711 * soft-fp/floattidf.c: Likewise.
15712 * soft-fp/floattisf.c: Likewise.
15713 * soft-fp/floattitf.c: Likewise.
15714 * soft-fp/floatundidf.c: Likewise.
15715 * soft-fp/floatundisf.c: Likewise.
15716 * soft-fp/floatunditf.c: Likewise.
15717 * soft-fp/floatunsidf.c: Likewise.
15718 * soft-fp/floatunsisf.c: Likewise.
15719 * soft-fp/floatunsitf.c: Likewise.
15720 * soft-fp/floatuntidf.c: Likewise.
15721 * soft-fp/floatuntisf.c: Likewise.
15722 * soft-fp/floatuntitf.c: Likewise.
15723 * soft-fp/fmadf4.c: Likewise.
15724 * soft-fp/fmasf4.c: Likewise.
15725 * soft-fp/fmatf4.c: Likewise.
15726 * soft-fp/gedf2.c: Likewise.
15727 * soft-fp/gesf2.c: Likewise.
15728 * soft-fp/getf2.c: Likewise.
15729 * soft-fp/ledf2.c: Likewise.
15730 * soft-fp/lesf2.c: Likewise.
15731 * soft-fp/letf2.c: Likewise.
15732 * soft-fp/muldf3.c: Likewise.
15733 * soft-fp/mulsf3.c: Likewise.
15734 * soft-fp/multf3.c: Likewise.
15735 * soft-fp/negdf2.c: Likewise.
15736 * soft-fp/negsf2.c: Likewise.
15737 * soft-fp/negtf2.c: Likewise.
15738 * soft-fp/op-1.h: Likewise.
15739 * soft-fp/op-2.h: Likewise.
15740 * soft-fp/op-4.h: Likewise.
15741 * soft-fp/op-8.h: Likewise.
15742 * soft-fp/op-common.h: Likewise.
15743 * soft-fp/quad.h: Likewise.
15744 * soft-fp/single.h: Likewise.
15745 * soft-fp/soft-fp.h: Likewise.
15746 * soft-fp/sqrtdf2.c: Likewise.
15747 * soft-fp/sqrtsf2.c: Likewise.
15748 * soft-fp/sqrttf2.c: Likewise.
15749 * soft-fp/subdf3.c: Likewise.
15750 * soft-fp/subsf3.c: Likewise.
15751 * soft-fp/subtf3.c: Likewise.
15752 * soft-fp/truncdfsf2.c: Likewise.
15753 * soft-fp/trunctfdf2.c: Likewise.
15754 * soft-fp/trunctfsf2.c: Likewise.
15755 * soft-fp/trunctfxf2.c: Likewise.
15756 * soft-fp/unorddf2.c: Likewise.
15757 * soft-fp/unordsf2.c: Likewise.
15758 * soft-fp/unordtf2.c: Likewise.
15760 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15762 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15763 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15765 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15767 * elf/dl-libc.c: Clear initfini list after freeing.
15769 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15771 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15772 * soft-fp/addsf3.c: Likewise.
15773 * soft-fp/addtf3.c: Likewise.
15774 * soft-fp/divdf3.c: Likewise.
15775 * soft-fp/divsf3.c: Likewise.
15776 * soft-fp/divtf3.c: Likewise.
15777 * soft-fp/double.h: Likewise.
15778 * soft-fp/eqdf2.c: Likewise.
15779 * soft-fp/eqsf2.c: Likewise.
15780 * soft-fp/eqtf2.c: Likewise.
15781 * soft-fp/extenddftf2.c: Likewise.
15782 * soft-fp/extended.h: Likewise.
15783 * soft-fp/extendsfdf2.c: Likewise.
15784 * soft-fp/extendsftf2.c: Likewise.
15785 * soft-fp/extendxftf2.c: Likewise.
15786 * soft-fp/fixdfdi.c: Likewise.
15787 * soft-fp/fixdfsi.c: Likewise.
15788 * soft-fp/fixdfti.c: Likewise.
15789 * soft-fp/fixsfdi.c: Likewise.
15790 * soft-fp/fixsfsi.c: Likewise.
15791 * soft-fp/fixsfti.c: Likewise.
15792 * soft-fp/fixtfdi.c: Likewise.
15793 * soft-fp/fixtfsi.c: Likewise.
15794 * soft-fp/fixtfti.c: Likewise.
15795 * soft-fp/fixunsdfdi.c: Likewise.
15796 * soft-fp/fixunsdfsi.c: Likewise.
15797 * soft-fp/fixunsdfti.c: Likewise.
15798 * soft-fp/fixunssfdi.c: Likewise.
15799 * soft-fp/fixunssfsi.c: Likewise.
15800 * soft-fp/fixunssfti.c: Likewise.
15801 * soft-fp/fixunstfdi.c: Likewise.
15802 * soft-fp/fixunstfsi.c: Likewise.
15803 * soft-fp/fixunstfti.c: Likewise.
15804 * soft-fp/floatdidf.c: Likewise.
15805 * soft-fp/floatdisf.c: Likewise.
15806 * soft-fp/floatditf.c: Likewise.
15807 * soft-fp/floatsidf.c: Likewise.
15808 * soft-fp/floatsisf.c: Likewise.
15809 * soft-fp/floatsitf.c: Likewise.
15810 * soft-fp/floattidf.c: Likewise.
15811 * soft-fp/floattisf.c: Likewise.
15812 * soft-fp/floattitf.c: Likewise.
15813 * soft-fp/floatundidf.c: Likewise.
15814 * soft-fp/floatundisf.c: Likewise.
15815 * soft-fp/floatunsidf.c: Likewise.
15816 * soft-fp/floatunsisf.c: Likewise.
15817 * soft-fp/floatuntidf.c: Likewise.
15818 * soft-fp/floatuntisf.c: Likewise.
15819 * soft-fp/floatuntitf.c: Likewise.
15820 * soft-fp/fmadf4.c: Likewise.
15821 * soft-fp/fmasf4.c: Likewise.
15822 * soft-fp/fmatf4.c: Likewise.
15823 * soft-fp/gedf2.c: Likewise.
15824 * soft-fp/gesf2.c: Likewise.
15825 * soft-fp/getf2.c: Likewise.
15826 * soft-fp/ledf2.c: Likewise.
15827 * soft-fp/lesf2.c: Likewise.
15828 * soft-fp/letf2.c: Likewise.
15829 * soft-fp/muldf3.c: Likewise.
15830 * soft-fp/mulsf3.c: Likewise.
15831 * soft-fp/multf3.c: Likewise.
15832 * soft-fp/negdf2.c: Likewise.
15833 * soft-fp/negsf2.c: Likewise.
15834 * soft-fp/negtf2.c: Likewise.
15835 * soft-fp/op-1.h: Likewise.
15836 * soft-fp/op-2.h: Likewise.
15837 * soft-fp/op-4.h: Likewise.
15838 * soft-fp/op-8.h: Likewise.
15839 * soft-fp/op-common.h: Likewise.
15840 * soft-fp/quad.h: Likewise.
15841 * soft-fp/single.h: Likewise.
15842 * soft-fp/soft-fp.h: Likewise.
15843 * soft-fp/sqrtdf2.c: Likewise.
15844 * soft-fp/sqrtsf2.c: Likewise.
15845 * soft-fp/sqrttf2.c: Likewise.
15846 * soft-fp/subdf3.c: Likewise.
15847 * soft-fp/subsf3.c: Likewise.
15848 * soft-fp/subtf3.c: Likewise.
15849 * soft-fp/truncdfsf2.c: Likewise.
15850 * soft-fp/trunctfdf2.c: Likewise.
15851 * soft-fp/trunctfsf2.c: Likewise.
15852 * soft-fp/trunctfxf2.c: Likewise.
15853 * soft-fp/unorddf2.c: Likewise.
15854 * soft-fp/unordsf2.c: Likewise.
15855 * soft-fp/unordtf2.c: Likewise.
15857 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15860 * misc/error.c (error_tail): Fix possible buffer overflow.
15862 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15865 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15868 2013-10-14 P. J. McDermott <pj@pehjota.net>
15871 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15872 testing pipefail option.
15874 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15876 * soft-fp/double.h: Indent preprocessor directives inside #if.
15877 * soft-fp/extended.h: Likewise.
15878 * soft-fp/op-2.h: Likewise.
15879 * soft-fp/op-4.h: Likewise.
15880 * soft-fp/op-common.h: Likewise.
15881 * soft-fp/quad.h: Likewise.
15882 * soft-fp/single.h: Likewise.
15883 * soft-fp/soft-fp.h: Likewise.
15885 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15887 * iconv/iconv_prog.c: Fix typos.
15888 * stdio-common/psiginfo-data.h: Likewise.
15890 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15893 * locale/setlocale.c: Fix typo.
15895 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15898 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15899 signaling NaN arguments.
15900 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15901 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15904 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15905 unordered operands.
15906 * soft-fp/gesf2.c (__gesf2): Likewise.
15907 * soft-fp/getf2.c (__getf2): Likewise.
15908 * soft-fp/ledf2.c (__ledf2): Likewise.
15909 * soft-fp/lesf2.c (__lesf2): Likewise.
15910 * soft-fp/letf2.c (__letf2): Likewise.
15912 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15913 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15914 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15915 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15916 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15917 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15918 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15919 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15920 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15921 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15922 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15923 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15924 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15925 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15926 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15927 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15928 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15929 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15930 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15931 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15932 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15933 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15934 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15935 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15936 * soft-fp/floattidf.c (__floattidf): Likewise.
15937 * soft-fp/floattisf.c (__floattisf): Likewise.
15938 * soft-fp/floattitf.c (__floattitf): Likewise.
15939 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15940 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15941 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15942 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15943 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15944 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15945 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15946 * soft-fp/gesf2.c (__gesf2): Likewise.
15947 * soft-fp/getf2.c (__getf2): Likewise.
15948 * soft-fp/ledf2.c (__ledf2): Likewise.
15949 * soft-fp/lesf2.c (__lesf2): Likewise.
15950 * soft-fp/letf2.c (__letf2): Likewise.
15952 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15953 Undefine and redefine.
15954 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15955 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15956 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15957 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15958 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15959 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15960 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15961 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15962 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15963 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15964 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15965 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15966 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15967 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15968 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15971 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15972 without decrementing exponent if mantissa >= that for the
15973 denominator, not >.
15974 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15975 denominator, not >. Decrement exponent in < case instead of
15976 incrementing in >= case.
15977 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15978 without decrementing exponent if mantissa >= that for the
15979 denominator, not >.
15981 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15982 computing saturated result for unsigned overflow.
15984 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15985 Jeff Law <law@redhat.com>
15987 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15988 (atan2Mp): Add systemtap probe marker.
15989 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15990 (__ieee754_log): Add systemtap probe marker.
15991 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15992 (atanMp): Add systemtap probe marker.
15993 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15994 (tanMp): Add systemtap probe marker.
15995 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15996 (__slowexp): Add systemtap probe marker.
15997 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15998 (__slowpow): Add systemtap probe marker.
15999 * manual/probes.texi: Document probes.
16001 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
16004 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16006 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16008 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16009 written to buffer but not flushed.
16010 * libio/iofwrite_u.c: Likewise.
16011 * libio/iopadn.c: Return bytes returned even if EOF was
16013 * libio/iowpadn.c: Likewise.
16014 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16015 if _IO_padn does not write the whole buffer.
16016 [!COMPILE_WPRINTF] (PAD): Likewise.
16018 2013-10-10 David S. Miller <davem@davemloft.net>
16020 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16023 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16025 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16026 instead of FSF address.
16027 * soft-fp/fixdfti.c: Likewise.
16028 * soft-fp/fixsfti.c: Likewise.
16029 * soft-fp/fixtfti.c: Likewise.
16030 * soft-fp/fixunsdfti.c: Likewise.
16031 * soft-fp/fixunssfti.c: Likewise.
16032 * soft-fp/fixunstfti.c: Likewise.
16033 * soft-fp/floattidf.c: Likewise.
16034 * soft-fp/floattisf.c: Likewise.
16035 * soft-fp/floattitf.c: Likewise.
16036 * soft-fp/floatuntidf.c: Likewise.
16037 * soft-fp/floatuntisf.c: Likewise.
16038 * soft-fp/floatuntitf.c: Likewise.
16039 * soft-fp/trunctfxf2.c: Likewise.
16041 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
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 2013-10-10 David S. Miller <davem@davemloft.net>
16058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16060 2013-10-10 Joseph Myers <joseph@codsourcery.com>
16062 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16063 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16064 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16065 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16066 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16067 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16068 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16070 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16071 for NaNs before doing comparisons on argument.
16072 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16075 2013-10-10 Will Newton <will.newton@linaro.org>
16077 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16078 passed to _int_memalign does not overflow.
16080 2013-10-10 Torvald Riegel <triegel@redhat.com>
16082 * scripts/bench.pl: Add include-sources directive.
16083 * benchtests/README: Update documentation.
16085 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16087 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16088 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16089 instead of FP_INIT_ROUNDMODE.
16090 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16091 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16094 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16095 copy class of input value.
16096 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16097 not handle exceptions.
16098 * soft-fp/negsf2.c (__negsf2): Likewise.
16099 * soft-fp/negtf2.c (__negtf2): Likewise.
16100 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16102 2013-10-09 Joseph Myers <joseph@codesourcery.com>
16104 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16105 semicolon. From Linux kernel.
16107 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16109 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16111 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16114 * manual/socket.texi: Added statement about buffer
16115 for gethostbyname2_r.
16117 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
16119 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16120 Use .p2align directive instead, throughout.
16121 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16122 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16123 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16124 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16125 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16126 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16127 * sysdeps/x86_64/strchr.S: Likewise.
16128 * sysdeps/x86_64/strrchr.S: Likewise.
16130 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16132 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16134 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16136 * sysdeps/generic/math_private.h (__mpsin1): Remove
16138 (__mpcos1): Likewise.
16139 (__mpsin): New argument __range_reduce.
16140 (__mpcos): Likewise.
16141 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16142 (slow): Use __mpsin and __mpcos.
16146 (sloww1): Likewise.
16147 (sloww2): Likewise.
16148 (bsloww): Likewise.
16149 (bsloww1): Likewise.
16150 (bsloww2): Likewise.
16151 (cslow2): Likewise.
16152 (csloww): Likewise.
16153 (csloww1): Likewise.
16154 (csloww2): Likewise.
16155 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16156 range_reduce. Merge in __mpsin1.
16157 (__mpcos): Likewise.
16158 (__mpsin1): Remove.
16159 (__mpcos1): Likewise.
16161 2013-10-07 Joseph Myers <joseph@codesourcery.com>
16163 * locale/loadlocale.c (_nl_intern_locale_data): Use
16165 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16166 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16167 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16168 obstack data is appropriately aligned.
16169 (obstack_int32_grow_fast): Likewise.
16170 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16171 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16172 (add_locale_uint32_array): Likewise.
16174 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16176 * benchtests/Makefile: Remove ARGLIST and RET variables.
16177 ($(objpfx)bench-%.c): Pass only function name to the script.
16178 * benchtests/README: Update documentation.
16179 * benchtests/acos-inputs: Add new directives.
16180 * benchtests/acosh-inputs: Likewise.
16181 * benchtests/asin-inputs: Likewise.
16182 * benchtests/asinh-inputs: Likewise.
16183 * benchtests/atan-inputs: Likewise.
16184 * benchtests/atanh-inputs: Likewise.
16185 * benchtests/cos-inputs: Likewise.
16186 * benchtests/cosh-inputs: Likewise.
16187 * benchtests/exp-inputs: Likewise.
16188 * benchtests/log-inputs: Likewise.
16189 * benchtests/pow-inputs: Likewise.
16190 * benchtests/rint-inputs: Likewise.
16191 * benchtests/sin-inputs: Likewise.
16192 * benchtests/sinh-inputs: Likewise.
16193 * benchtests/tan-inputs: Likewise.
16194 * benchtests/tanh-inputs: Likewise.
16195 * scripts/bench.pl: Add support for new directives.
16197 2013-10-07 Alan Modra <amodra@gmail.com>
16199 * README: Fix careless merge.
16201 2013-10-05 Alan Modra <amodra@gmail.com>
16203 * NEWS: Mention powerpc64le support and bugs fixed.
16204 * README: Both big-endian and little-endian powerpc64 supported.
16206 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16208 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16209 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16210 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16211 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16213 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16215 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16218 2013-10-04 Joseph Myers <joseph@codesourcery.com>
16220 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16221 Move -mhard-float appending from
16222 ports/sysdeps/powerpc/powerpc32/Makefile.
16223 [$(with-fp) = yes] (ASFLAGS): Likewise.
16224 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16225 * sysdeps/powerpc/nofpu: Move directory from
16226 ports/sysdeps/powerpc/nofpu.
16227 * sysdeps/powerpc/soft-fp: Move directory from
16228 ports/sysdeps/powerpc/soft-fp.
16229 * sysdeps/powerpc/powerpc32/405: Move directory from
16230 ports/sysdeps/powerpc/powerpc32/405.
16231 * sysdeps/powerpc/powerpc32/440: Move directory from
16232 ports/sysdeps/powerpc/powerpc32/440.
16233 * sysdeps/powerpc/powerpc32/464: Move directory from
16234 ports/sysdeps/powerpc/powerpc32/464.
16235 * sysdeps/powerpc/powerpc32/476: Move directory from
16236 ports/sysdeps/powerpc/powerpc32/476.
16237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16238 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16240 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16242 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16244 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16246 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16247 * README: Update for powerpc-*-linux-gnu software floating point
16250 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16251 case to powerpc/powerpc32*.
16252 * sysdeps/unix/sysv/linux/configure: Regenerated.
16254 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16255 (_FPU_MASK_OM): Define as 0x04.
16256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16257 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16264 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16267 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16270 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16271 and setcontext_e500.
16273 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16275 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16277 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16279 * manual/threads.texi (Default Thread Attributes): Fix typo.
16281 2013-10-04 Will Newton <will.newton@linaro.org>
16283 * malloc/Makefile: Add tst-memalign.
16284 * malloc/tst-memalign.c: New file.
16286 * malloc/tst-posix_memalign.c: Add comments.
16287 (do_test): Add comments and call free on all potentially
16288 allocated pointers. Add space after cast.
16290 * malloc/tst-pvalloc.c: Add comments.
16291 (do_test): Add comments and call free on all potentially
16292 allocated pointers. Remove duplicate check for NULL pointer.
16293 Add space after cast.
16295 * malloc/tst-valloc.c: Add comments.
16296 (do_test): Add comments and call free on all potentially
16297 allocated pointers. Remove duplicate check for NULL pointer.
16298 Add space after cast.
16300 2013-10-04 Alan Modra <amodra@gmail.com>
16302 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16303 Use stdint types in rather than __attribute__((mode())).
16304 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16306 2013-10-04 Alan Modra <amodra@gmail.com>
16308 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16309 Correct handling of unaligned relocs for little-endian.
16310 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16312 2013-10-04 Alan Modra <amodra@gmail.com>
16314 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16315 * configure: Regenerate.
16316 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16317 * shlib-versions: Likewise.
16319 2013-10-04 Alan Modra <amodra@gmail.com>
16321 * string/tester.c (test_memrchr): Increment reported test cycle.
16323 2013-10-04 Alan Modra <amodra@gmail.com>
16325 * string/test-memcpy.c (do_one_test): When reporting errors, print
16326 string address and don't overrun end of string.
16328 2013-10-04 Alan Modra <amodra@gmail.com>
16330 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16331 insrdi. Make better use of reg selection to speed exit slightly.
16332 Schedule entry path a little better. Remove useless "are we done"
16333 checks on entry to main loop. Handle wrapping around zero address.
16334 Correct main loop count. Handle single left-over word from main
16335 loop inline rather than by using loop_small. Remove extra word
16336 case in loop_small caused by wrong loop count. Add little-endian
16338 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16339 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16341 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16342 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16343 support. Avoid rlwimi.
16344 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16346 2013-10-04 Alan Modra <amodra@gmail.com>
16348 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16349 insrdi. Formatting.
16350 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16351 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16352 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16353 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16354 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16355 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16357 2013-10-04 Alan Modra <amodra@gmail.com>
16359 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16360 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16361 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16362 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16363 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16364 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16365 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16366 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16367 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16368 use of regs. Use power7 mtocrf. Tidy function tails.
16370 2013-10-04 Alan Modra <amodra@gmail.com>
16372 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16373 Formatting. Consistently use rXXX register defines or rN defines.
16374 Use early exit labels that avoid restoring unused non-volatile regs.
16375 Make cr field use more consistent with rWORDn compares. Rename
16376 regs used as shift registers for unaligned loop, using rN defines
16377 for short lifetime/multiple use regs.
16378 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16379 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16380 addi 1,1,64 to pop stack frame. Simplify return value code.
16381 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16383 2013-10-04 Alan Modra <amodra@gmail.com>
16385 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16386 support. Correct typos, formatting. Optimize tail. Use insrdi
16387 rather than rlwimi.
16388 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16389 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16390 little-endian support. Correct typos.
16391 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16392 rather than rlwimi.
16393 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16394 in loop and entry code to keep "and." results.
16395 (strchr): Add little-endian support. Comment. Move cntlzd
16397 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16399 2013-10-04 Alan Modra <amodra@gmail.com>
16401 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16402 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16403 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16404 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16406 2013-10-04 Alan Modra <amodra@gmail.com>
16408 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16409 (rTMP): Define as r11.
16410 (strcmp): Add little-endian support. Optimise tail.
16411 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16412 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16413 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16414 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16415 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16416 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16417 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16419 2013-10-04 Alan Modra <amodra@gmail.com>
16421 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16422 little-endian support. Remove unnecessary "are we done" tests.
16423 Handle "s" wrapping around zero and extremely large "size".
16424 Correct main loop count. Handle single left-over word from main
16425 loop inline rather than by using small_loop. Correct comments.
16426 Delete "zero" tail, use "end_max" instead.
16427 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16429 2013-10-04 Alan Modra <amodra@gmail.com>
16431 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16432 support. Don't branch over align.
16433 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16434 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16435 support. Rearrange tmp reg use to suit. Comment.
16436 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16438 2013-10-04 Alan Modra <amodra@gmail.com>
16440 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16442 2013-10-04 Alan Modra <amodra@gmail.com>
16444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16445 conditional form of branch and link when obtaining pc.
16446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16448 2013-10-04 Alan Modra <amodra@gmail.com>
16450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16455 2013-10-04 Alan Modra <amodra@gmail.com>
16457 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16458 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16459 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16460 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16461 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16462 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16463 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16464 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16465 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16466 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16468 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16469 Alistair Popple <alistair@ozlabs.au.ibm.com>
16470 Alan Modra <amodra@gmail.com>
16473 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16474 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16475 _dl_hwcap access for little-endian.
16476 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16477 destroy vmx regs when saving unaligned.
16478 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16479 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16480 destroy vmx regs when saving unaligned.
16482 2013-10-04 Alan Modra <amodra@gmail.com>
16484 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16485 Don't use a union to pack hi/low value.
16487 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16489 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16491 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16492 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16493 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16494 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16495 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16497 2013-10-04 Alan Modra <amodra@gmail.com>
16499 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16500 constants to usual value for .cst8 section, and remove redundant
16502 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16503 constant for 0x1p52. Load little-endian words of double from
16504 correct stack offsets.
16506 2013-10-04 Alan Modra <amodra@gmail.com>
16508 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16509 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16510 words of double from correct stack offsets.
16511 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16512 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16513 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16514 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16515 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16516 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16517 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16518 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16519 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16520 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16521 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16522 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16523 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16524 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16525 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16526 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16527 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16529 2013-10-04 Alan Modra <amodra@gmail.com>
16531 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16532 64-bit int/double union.
16533 (_FPU_SETCW): Likewise.
16534 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16535 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16537 2013-10-04 Alan Modra <amodra@gmail.com>
16539 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16540 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16542 2013-10-04 Alan Modra <amodra@gmail.com>
16544 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16545 use vector int constants.
16546 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16548 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16550 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16551 array with long long.
16552 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16553 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16554 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16555 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16556 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16557 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16558 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16559 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16560 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16561 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16562 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16563 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16564 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16566 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16568 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16569 (__signbit): Likewise. Correct for little-endian.
16570 (__signbitl): Call __signbit.
16571 (lrint): Correct for little-endian.
16572 (lrintf): Call lrint.
16574 2013-10-04 Alan Modra <amodra@gmail.com>
16576 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16577 union 32-bit int array member with 64-bit int array.
16578 (t515, tm256): Double rather than long double.
16579 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16581 2013-10-04 Alan Modra <amodra@gmail.com>
16583 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16585 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16586 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16587 version of math_ldbl.h.
16589 2013-10-04 Alan Modra <amodra@gmail.com>
16591 [BZ #15734], [BZ #15735]
16592 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16593 all uses of ieee875 long double macros and unions. Simplify test
16594 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16595 ldbl_extract_mantissa value for ix,iy exponents. Properly
16596 normalize after ldbl_extract_mantissa, and don't add hidden bit
16597 already handled. Don't treat low word of ieee854 mantissa like
16598 low word of IBM long double and mask off bit when testing for
16600 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16601 all uses of ieee875 long double macros and unions. Simplify tests
16602 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16603 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16604 two1022, instead use their values. Recognise that tests for large
16605 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16606 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16607 Rewrite all uses of ieee875 long double macros and unions. Simplify
16608 test for 0.0L and nan. Correct negation.
16609 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16610 ieee875 long double macros and unions. Correct output for large
16611 magnitude x. Correct absolute value calculation.
16612 (__erfcl): Likewise.
16613 * math/libm-test.inc: Add tests for errors discovered in IBM long
16614 double versions of fmodl, remainderl, erfl and erfcl.
16616 2013-10-04 Alan Modra <amodra@gmail.com>
16618 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16619 all uses of ieee854 long double macros and unions. Simplify tests
16620 for long doubles that are fully specified by the high double.
16621 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16623 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16624 Remove dead code too.
16625 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16626 (__ieee754_ynl): Likewise.
16627 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16628 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16629 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16630 Remove dead code too.
16631 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16632 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16633 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16634 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16636 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16638 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16639 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16640 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16641 Comment on variable precision.
16642 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16643 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16645 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16646 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16647 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16648 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16649 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16651 2013-10-04 Alan Modra <amodra@gmail.com>
16653 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16654 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16655 all uses of ieee854 long double macros and unions.
16656 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16657 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16658 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16659 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16660 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16661 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16663 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16664 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16665 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16666 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16667 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16668 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16669 Simplify sign and nan test too.
16670 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16671 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16672 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16673 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16675 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16676 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16678 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16679 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16680 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16681 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16682 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16683 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16685 2013-10-04 Alan Modra <amodra@gmail.com>
16687 * stdio-common/printf_size.c (__printf_size): Don't use
16688 union ieee854_long_double in fpnum union.
16689 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16690 signbit macro to retrieve sign from long double.
16691 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16692 retrieve sign from long double.
16693 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16694 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16695 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16696 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16697 * math/test-misc.c (main): Don't use union ieee854_long_double.
16699 2013-10-04 Alan Modra <amodra@gmail.com>
16702 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16703 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16704 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16705 calculation. Remove unnecessary test for denormal exponent.
16706 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16707 Correct handling of denormals. Avoid undefined shift behaviour.
16708 Correct normalisation of low mantissa when low double is denormal.
16709 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16710 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16711 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16712 Correct normalisation of low mantissa. Test for overflow of high
16713 mantissa and normalise.
16714 (ldbl_nearbyint): Use more readable constant for two52.
16715 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16716 (__mpn_construct_long_double): Fix test for overflow of high
16717 mantissa and correct normalisation. Avoid undefined shift.
16719 2013-10-04 Alan Modra <amodra@gmail.com>
16721 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16722 (union ibm_extended_long_double): Define as an array of ieee754_double.
16723 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16724 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16725 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16726 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16730 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16735 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16737 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16738 page size instead of calling getpagesize.
16740 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16741 (LOCFILE_ALIGN_MASK): Likewise.
16742 (LOCFILE_ALIGN_UP): Likewise.
16743 (LOCFILE_ALIGNED_P): Likewise.
16744 * locale/programs/ld-collate.c (collate_output): Use the new
16745 macros instead of __alignof__ (int32_t).
16746 * locale/weight.h (findidx): Likewise.
16748 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16751 * manual/string.texi: Fix strncat and wcsncat.
16753 2013-10-03 Brooks Moses <bmoses@google.com>
16756 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16757 * Makerules: ...here, and adjust associated comments.
16759 2013-10-02 Will Newton <will.newton@linaro.org>
16761 * malloc/Makefile: Add tst-pvalloc.
16762 * malloc/tst-pvalloc.c: New file.
16764 2013-10-02 Will Newton <will.newton@linaro.org>
16766 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16767 improve test coverage.
16769 2013-10-02 Will Newton <will.newton@linaro.org>
16771 * malloc/Makefile: Add tst-posix_memalign.
16772 * malloc/tst-posix_memalign.c: New file.
16774 2013-10-01 Eric Blake <eblake@redhat.com>
16776 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16777 Use __THROWNL rather than __THROW on static functions.
16779 2013-09-30 Petr Machata <pmachata@redhat.com>
16781 * elf/elf.h (R_AARCH64_ABS16): New macro.
16782 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16783 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16784 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16785 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16786 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16787 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16788 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16789 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16790 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16791 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16792 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16793 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16794 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16795 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16796 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16797 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16798 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16799 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16800 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16801 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16802 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16803 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16804 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16805 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16806 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16807 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16808 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16809 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16810 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16811 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16812 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16813 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16814 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16815 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16816 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16817 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16818 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16819 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16820 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16821 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16822 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16823 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16824 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16825 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16826 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16827 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16828 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16829 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16830 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16831 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16832 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16833 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16834 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16835 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16836 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16837 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16838 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16839 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16840 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16841 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16842 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16843 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16844 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16845 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16846 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16847 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16848 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16849 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16850 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16851 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16852 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16853 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16854 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16855 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16856 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16857 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16858 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16859 (R_AARCH64_TLSDESC_LDR): Likewise.
16860 (R_AARCH64_TLSDESC_ADD): Likewise.
16861 (R_AARCH64_TLSDESC_CALL): Likewise.
16863 2013-09-30 Andreas Schwab <schwab@suse.de>
16866 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16867 the nss database lookup.
16868 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16871 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16873 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16875 2013-09-28 P. J. McDermott <pj@pehjota.net>
16877 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16878 ${Bash-specific parameter/pattern/string} parameter expansion.
16879 * sysdeps/unix/make-syscalls.sh: Likewise.
16881 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16883 * sysdeps/sh/stackguard-macros.h: New file.
16885 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16887 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16888 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16889 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16890 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16891 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16892 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16894 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16896 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16897 Fix thread ID register.
16899 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16901 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16902 [POSIX || UNIX98]: Require rather than permitting all symbols from
16904 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16905 element of struct sched_param.
16906 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16907 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16908 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16909 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16912 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16914 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16915 argument calculation.
16917 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16919 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16921 [POSIX] (pthread_attr_t): Do not require type.
16922 [POSIX] (pthread_cond_t): Likewise.
16923 [POSIX] (pthread_condattr_t): Likewise.
16924 [POSIX] (pthread_key_t): Likewise.
16925 [POSIX] (pthread_mutex_t): Likewise.
16926 [POSIX] (pthread_mutexattr_t): Likewise.
16927 [POSIX] (pthread_once_t): Likewise.
16928 [POSIX] (pthread_t): Likewise.
16929 [POSIX-based standards] (pthread_atfork): Expect function.
16931 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16932 Richard Sandiford <richard@codesourcery.com>
16934 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16935 (swap_endianness_p): New extern variable.
16936 (set_big_endian): New inline function.
16937 (maybe_swap_uint32): Likewise.
16938 (maybe_swap_uint32_array): Likewise.
16939 (maybe_swap_uint32_obstack): Likewise.
16940 * locale/programs/locfile.c: Include <stdbool.h>.
16941 (swap_endianness_p): New variable.
16942 (add_locale_uint32): Call maybe_swap_uint32.
16943 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16944 (write_locale_data): Call maybe_swap_uint32_array.
16945 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16947 (obstack_int32_grow_fast): Likewise.
16948 (output_weightwc): Call maybe_swap_uint32_obstack.
16949 (collate_output): Likewise.
16950 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16951 (OPT_LITTLE_ENDIAN): Likewise.
16952 (options): Add --little-endian and --big-endian options.
16953 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16954 * locale/programs/locarchive.c: Include "locfile.h".
16958 (create_archive): Use the new macros to access fields of
16959 structures directly mapped from or written to locale archives.
16960 (oldlocrecentcmp): Likewise.
16961 (enlarge_archive): Likewise.
16962 (insert_name): Likewise.
16963 (add_alias): Likewise.
16964 (add_locale): Likewise.
16965 (delete_locales_from_archive): Likewise.
16966 (show_archive_content): Likewise.
16967 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16970 2013-09-24 Roland McGrath <roland@hack.frob.com>
16972 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16973 http://www.gnu.org/doc/freemanuals.texi.
16974 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16976 2013-09-24 Will Newton <will.newton@linaro.org>
16978 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16981 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16983 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16986 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16988 * manual/threads.texi (POSIX Threads): Fix a typo.
16990 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16993 * string/tst-strcoll-overflow.c: New test case.
16994 * string/Makefile (xtests): Add tst-strcoll-overflow.
16995 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16996 cache if string sizes may cause integer overflow.
16999 * string/strcoll_l.c (coll_seq): New members rule, idx,
17000 save_idx and back_us.
17001 (get_next_seq_nocache): New function.
17002 (do_compare_nocache): New function.
17003 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17006 2013-09-23 Carlos O'Donell <carlos@redhat.com>
17009 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17010 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17011 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17014 * elf/Makefile (tests): Add tst-ptrguard1.
17015 (tests-static): Add tst-ptrguard1-static.
17016 (tst-ptrguard1-ARGS): Define.
17017 (tst-ptrguard1-static-ARGS): Define.
17018 * elf/tst-ptrguard1.c: New file.
17019 * elf/tst-ptrguard1-static.c: New file.
17020 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17021 * sysdeps/i386/stackguard-macros.h: Likewise.
17022 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17023 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17024 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17025 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17026 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17027 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17029 2013-09-23 Hector Marco <hecmargi@upv.es>
17030 Ismael Ripoll <iripoll@disca.upv.es>
17031 Carlos O'Donell <carlos@redhat.com>
17034 * sysdeps/generic/stackguard-macros.h: Define
17035 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17036 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17037 Define __pointer_chk_guard_local.
17038 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17039 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17041 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17044 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17046 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17048 * include/string.h (__ffs): Declare as hidden.
17049 * string/ffs.c (__ffs): Define as hidden.
17050 * sysdeps/i386/ffs.c (__ffs): Likewise.
17051 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17052 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17053 * sysdeps/s390/ffs.c (__ffs): Likewise.
17054 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17056 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
17058 * NEWS: Mention malloc probes.
17060 * malloc/arena.c (new_heap): New memory_heap_new probe.
17061 (grow_heap): New memory_heap_more probe.
17062 (shrink_heap): New memory_heap_less probe.
17063 (heap_trim): New memory_heap_free probe.
17064 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17065 (systrim): New memory_sbrk_less probe.
17066 * manual/probes.texi: Document them.
17068 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17069 * manual/probes.texi: Document it.
17071 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17072 (__libc_realloc): Add memory_realloc_retry probe.
17073 (__libc_memalign): Add memory_memalign_retry probe.
17074 (__libc_valloc): Add memory_valloc_retry probe.
17075 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17076 (__libc_calloc): Add memory_calloc_retry probe.
17077 * manual/probes.texi: Document them.
17079 * malloc/arena.c (get_free_list): Add probe
17080 memory_arena_reuse_free_list.
17081 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17082 and memory_arena_reuse.
17083 (arena_get2) [!PER_THREAD]: Likewise.
17084 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17085 memory_arena_reuse_realloc.
17086 * manual/probes.texi: Document them.
17088 * malloc/malloc.c (__libc_free): Add
17089 memory_mallopt_free_dyn_thresholds probe.
17090 (__libc_mallopt): Add multiple memory_mallopt probes.
17091 * manual/probes.texi: Document them.
17093 * malloc/malloc.c: Include stap-probe.h.
17094 (__libc_mallopt): Add memory_mallopt probe.
17095 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17096 * manual/probes.texi: New.
17097 * manual/Makefile (chapters): Add probes.
17098 * manual/threads.texi: Set next node.
17100 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
17102 [BZ #15963, #13985]
17103 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17104 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17105 Add `Chinese' to `nan' entry name.
17107 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17109 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17110 (POLYNOMIAL): Likewise.
17111 (TAYLOR_SINCOS): Likewise.
17112 (TAYLOR_SLOW): Likewise.
17113 (__sin): Use TAYLOR_SINCOS.
17115 (slow): Use TAYLOR_SLOW.
17117 (bsloww): Likewise.
17118 (csloww): Likewise.
17120 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17122 * stdlib/strtod_l.c: Fix buffer overrun.
17124 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17126 * benchtests/Makefile (bench): Add sincos.
17127 * benchtests/bench-sincos.c: New file.
17129 * math/libm-test.inc (cos_test_data): New test inputs.
17130 (sin_test_data): Likewise.
17132 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17138 (sloww1): Likewise.
17139 (sloww2): Likewise.
17140 (bsloww1): Likewise.
17141 (bsloww2): Likewise.
17142 (cslow2): Likewise.
17143 (csloww1): Likewise.
17144 (csloww2): Likewise.
17146 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17151 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17155 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17157 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17158 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17159 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17160 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17161 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17162 * elf/cache.c (print_entry): Handle the new cache flags.
17164 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17165 Aldy Hernandez <aldyh@redhat.com>
17167 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17168 Change condition to [_SOFT_FLOAT].
17169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17170 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17171 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17179 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17180 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17181 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17182 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17183 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17184 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17187 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17189 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17190 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17191 (__longjmp): Use LOAD_GP to load saved GPRs.
17192 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17193 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17194 (__sigsetjmp): Use SAVE_GP to save GPRs.
17196 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17197 Do not append -msoft-float.
17198 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17200 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17202 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17204 2013-09-17 Joseph Myers <joseph@codesourcery.com>
17207 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17208 (_FPU_GETCW): Use initial "__" on variable and field names but not
17209 on macro parameter name.
17210 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17211 parentheses around reference to macro parameter.
17213 2013-09-13 Richard Sandiford <richard@codesourcery.com>
17215 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17217 (ctype_startup): Use uint32_t in cast and sizeof for
17220 2013-09-11 Jia Liu <proljc@gmail.com>
17222 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17224 [__FreeBSD__]: Likewise.
17226 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
17228 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17229 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17230 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17231 (strchr): Remove __strchr_sse42 ifunc selection.
17232 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17233 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17235 2013-09-11 Will Newton <will.newton@linaro.org>
17237 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17238 parameter to RES. Remove hardcoded 1000 value.
17239 * benchtests/bench-skeleton.c (main): Pass RES parameter
17240 to TIMING_INIT and multiply result by 1000.
17242 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17246 2013-09-11 Andreas Schwab <schwab@suse.de>
17248 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17250 (O_TMPFILE) [__USE_GNU]: Define.
17251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17254 2013-09-11 Will Newton <will.newton@linaro.org>
17257 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17260 2013-09-11 Will Newton <will.newton@linaro.org>
17263 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17266 2013-09-11 Will Newton <will.newton@linaro.org>
17269 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17272 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
17274 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17275 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17276 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17277 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17278 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17280 2013-09-10 Allan McRae <allan@archlinux.org>
17283 * manual/arith.texi (Parsing of Floats): Clarify
17287 * manual/install.texi (Running make install): Mention
17289 * INSTALL: Regenerated.
17291 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17293 * csu/init-first.c (_init): Remove the !SHARED condition around
17294 FPU control word initialization.
17295 * elf/dl-support.c (_dl_fpu_control): New variable.
17296 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17297 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17298 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17299 * math/test-fpucw-static.c: New file.
17300 * math/test-fpucw-ieee.c: New file.
17301 * math/test-fpucw-ieee-static.c: New file.
17302 * math/Makefile (tests): Add `test-fpucw-ieee' and
17304 (tests-static): New variable.
17305 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17307 [($(build-shared),yes)]
17308 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17310 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17313 2013-09-09 Allan McRae <allan@archlinux.org>
17316 * manual/string.texi (Collation Functions): Fix typo in
17318 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17321 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17324 * libio/memstream.c (open_memstream): Fix memory leak.
17325 * libio/wmemstream.c (open_wmemstream): Likewise.
17328 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17330 2013-09-09 Will Newton <will.newton@linaro.org>
17332 * malloc/Makefile: Add tst-realloc to tests.
17333 * malloc/tst-realloc.c: New file.
17335 2013-09-09 Allan McRae <allan@archlinux.org>
17338 * COPYING: Update from GNU website to fix FSF address.
17339 * COPYING.LIB: Likewise.
17341 2013-09-06 David S. Miller <davem@davemloft.net>
17343 * po/zh_TW.po: Update Chinese (traditional) translation from
17344 translation project.
17346 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17347 Joseph Myers <joseph@codesourcery.com>
17349 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17351 (obstack_chunk_alloc): New macro.
17352 (obstack_chunk_free): Likewise.
17353 (record_offset): New function.
17354 (init_locale_data): Likewise.
17355 (align_locale_data): Likewise.
17356 (add_locale_empty): Likewise.
17357 (add_locale_raw_data): Likewise.
17358 (add_locale_raw_obstack): Likewise.
17359 (add_locale_string): Likewise.
17360 (add_locale_wstring): Likewise.
17361 (add_locale_uint32): Likewise.
17362 (add_locale_uint32_array): Likewise.
17363 (add_locale_char): Likewise.
17364 (start_locale_structure): Likewise.
17365 (end_locale_structure): Likewise.
17366 (start_locale_prelude): Likewise.
17367 (end_locale_prelude): Likewise.
17368 (write_locale_data): Take locale_file structure rather than an
17370 * locale/programs/locfile.h: Include "obstack.h".
17371 (struct locale_file): Change to store locale file contents instead
17373 (init_locale_data): New prototype.
17374 (align_locale_data): Likewise.
17375 (add_locale_empty): Likewise.
17376 (add_locale_raw_data): Likewise.
17377 (add_locale_raw_obstack): Likewise.
17378 (add_locale_string): Likewise.
17379 (add_locale_wstring): Likewise.
17380 (add_locale_uint32): Likewise.
17381 (add_locale_uint32_array): Likewise.
17382 (add_locale_char): Likewise.
17383 (start_locale_structure): Likewise.
17384 (end_locale_structure): Likewise.
17385 (start_locale_prelude): Likewise.
17386 (end_locale_prelude): Likewise.
17387 (write_locale_data): Update prototype.
17388 * locale/programs/3level.h (struct TABLE): Remove result field.
17389 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17390 Use new locale_file interface.
17391 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17392 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17393 * locale/programs/ld-address.c (address_output): Use new
17394 locale_file interface.
17395 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17397 (collate_finish): Don't call collseq_table_finalize.
17398 (collate_output): Use new locale_file interface.
17399 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17401 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17402 (TABLE): Move defines earlier in file.
17403 (ELEMENT): Likewise.
17404 (DEFAULT): Likewise.
17405 (wctrans_table_add): Move macro and inline function earlier in
17407 (struct wctype_table): Move type earlier in file.
17408 (add_locale_wctype_table): New static prototype.
17409 (struct locale_ctype_t): Use logical types instead of struct iovec
17410 pointers for members.
17411 (ctype_output): Use new locale_file interface.
17412 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17413 new locale_file interface.
17414 (allocate_arrays): Update for use of new locale_file interface.
17415 * locale/programs/ld-identification.c (identification_output): Use
17416 new locale_file interface.
17417 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17418 * locale/programs/ld-messages.c (messages_output): Likewise.
17419 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17420 * locale/programs/ld-name.c (name_output): Likewise.
17421 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17422 * locale/programs/ld-paper.c (paper_output): Likewise.
17423 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17424 * locale/programs/ld-time.c (time_output): Likewise.
17426 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17428 * benchtests/Makefile: Add memrchr benchmark.
17429 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17430 benchmark as memrchr.
17431 * benchtests/bench-memrchr-ifunc.c: New file.
17432 * benchtests/bench-memrchr.c: New file.
17434 2013-09-06 Will Newton <will.newton@linaro.org>
17436 * benchtests/Makefile (string-bench): Add memcpy.
17438 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17439 Cong Wang <amwang@redhat.com>
17442 * sysdeps/unix/sysv/linux/bits/in.h
17443 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17444 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17445 before __USE_KERNEL_IPV6_DEFS uses.
17446 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17448 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17449 sockaddr_in6, or ipv6_mreq.
17451 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17453 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17454 memory access for final bytes in some large inputs.
17455 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17457 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17459 * string/test-memrchr.c: New file.
17460 * string/test-memrchr-ifunc.c: New file.
17461 * string/Makefile: Add new memrchr testcase.
17463 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17465 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17466 fanotify_init returns EPERM.
17468 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17470 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17472 (top level): Treat second token from macro or constant entries for
17473 allowed headers as allowed.
17474 * include/complex.h: Condition internal declarations on
17476 * include/fenv.h: Condition include of <stdbool.h> and internal
17477 declarations on [!_ISOMAC].
17479 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17482 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17484 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17486 * configure.in (--enable-versioning): Remove configure option.
17487 (libc_cv_asm_symver_directive): Remove configure test.
17488 (libc_cv_ld_version_script_option): Likewise.
17489 (VERSIONING): Remove variable and AC_SUBST.
17490 (DO_VERSIONING): Remove AC_DEFINE.
17491 * configure: Regenerated.
17492 * config.h.in (DO_VERSIONING): Remove macro.
17493 * Makerules [$(versioning) = yes]: Change conditionals to
17494 [$(build-shared) = yes].
17495 * config.make.in (versioning): Remove variable.
17496 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17497 [$(build-shared) = yes].
17498 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17499 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17500 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17501 [$(build-shared) = yes].
17502 * extra-lib.mk [$(versioning) = yes]: Likewise.
17503 * hurd/Makefile [$(versioning) = yes]: Likewise.
17504 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17506 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17508 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17509 [SHARED && !NO_HIDDEN].
17510 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17512 [SHARED && DO_VERSIONING]: Likewise..
17513 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17514 [$(build-shared) = yes].
17515 * manual/install.texi (--disable-versioning): Remove
17517 * INSTALL: Regenerated.
17518 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17520 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17521 [$(build-shared) = yes].
17522 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17523 * sysdeps/i386/i686/multiarch/strstr-c.c
17524 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17525 [SHARED && !NO_HIDDEN].
17526 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17527 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17528 * sysdeps/powerpc/powerpc32/dl-machine.c
17529 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17530 * sysdeps/powerpc/powerpc32/sysdep.h
17531 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17532 to [SHARED && PIC && !NO_HIDDEN].
17533 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17534 conditional to [SHARED].
17536 2013-09-04 Will Newton <will.newton@linaro.org>
17538 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17539 * benchtests/bench-string.h: Include bench-timing.h instead
17540 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17541 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17542 call to HP_TIMING_DIFF_INIT.
17543 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17544 instead of hp-timing.h macros.
17545 * benchtests/bench-memchr.c: Likewise.
17546 * benchtests/bench-memcmp.c: Likewise.
17547 * benchtests/bench-memcpy.c: Likewise.
17548 * benchtests/bench-memmem.c: Likewise.
17549 * benchtests/bench-memmove.c: Likewise.
17550 * benchtests/bench-memset.c: Likewise.
17551 * benchtests/bench-rawmemchr.c: Likewise.
17552 * benchtests/bench-strcasecmp.c: Likewise.
17553 * benchtests/bench-strcasestr.c: Likewise.
17554 * benchtests/bench-strcat.c: Likewise.
17555 * benchtests/bench-strchr.c: Likewise.
17556 * benchtests/bench-strcmp.c: Likewise.
17557 * benchtests/bench-strcpy.c: Likewise.
17558 * benchtests/bench-strcpy_chk.c: Likewise.
17559 * benchtests/bench-strlen.c: Likewise.
17560 * benchtests/bench-strncasecmp.c: Likewise.
17561 * benchtests/bench-strncat.c: Likewise.
17562 * benchtests/bench-strncmp.c: Likewise.
17563 * benchtests/bench-strncpy.c: Likewise.
17564 * benchtests/bench-strnlen.c: Likewise.
17565 * benchtests/bench-strpbrk.c: Likewise.
17566 * benchtests/bench-strrchr.c: Likewise.
17567 * benchtests/bench-strspn.c: Likewise.
17568 * benchtests/bench-strstr.c: Likewise.
17570 2013-09-04 Will Newton <will.newton@linaro.org>
17572 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17574 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17577 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17578 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17579 * math/libm-test.inc (lgamma_test_data): Add more tests.
17580 * sysdeps/i386/fpu/libm-test-ulps: Update.
17581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17583 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17585 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17586 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17588 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17589 Add strcmp-sse2-unaligned
17590 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17592 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17594 * Versions.def (libc): Add GLIBC_2.19.
17596 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17598 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17599 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17601 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17604 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17605 intermediate calculations in recurrence.
17606 (__ieee754_ynf): Likewise.
17607 * math/libm-test.inc (jn_test_data): Do not allow spurious
17608 underflow exception. Add more tests.
17609 (yn_test_data): Add more tests.
17610 * sysdeps/i386/fpu/libm-test-ulps: Update.
17611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17613 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17615 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17617 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17619 * csu/init-first.c: Fix then/than typos.
17620 * locale/programs/ld-collate.c: Likewise.
17621 * locale/programs/linereader.h: Likewise.
17622 * manual/charset.texi: Likewise.
17623 * manual/filesys.texi: Likewise.
17624 * manual/stdio.texi: Likewise.
17625 * manual/string.texi: Likewise.
17626 * stdlib/fmtmsg.c: Likewise.
17627 * sysdeps/i386/stpncpy.S: Likewise.
17628 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17629 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17630 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17631 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17633 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17635 * elf/dl-open.c: Fix typos.
17636 * iconvdata/gbbig5.c: Likewise.
17637 * iconvdata/iso-2022-jp.c: Likewise.
17638 * iconv/gconv_int.h: Likewise.
17639 * iconv/loop.c: Likewise.
17640 * nis/rpcsvc/nis.h: Likewise.
17641 * resolv/ns_name.c: Likewise.
17642 * stdio-common/vfscanf.c: Likewise.
17643 * streams/stropts.h: Likewise.
17644 * sunrpc/rpc_thread.c: Likewise.
17645 * sysdeps/i386/strpbrk.S: Likewise.
17646 * sysdeps/ieee754/k_standard.c: Likewise.
17647 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17648 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17649 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17650 * sysdeps/mach/hurd/profil.c: Likewise.
17651 * sysdeps/s390/dl-procinfo.h: Likewise.
17652 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17653 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17654 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17655 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17656 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17658 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17660 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17661 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17663 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17665 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17666 aix specific files.
17667 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17668 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17669 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17670 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17671 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17672 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17673 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17674 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17676 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17677 Roland McGrath <roland@hack.frob.com>
17679 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17680 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17682 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17684 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17685 __executable_start symbol instead of _start.
17687 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17689 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17690 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17692 * sysdeps/gnu/ldsodefs.h: ... this new file.
17694 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17695 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17696 instead of ELFOSABI_LINUX.
17698 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17699 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17700 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17701 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17703 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17704 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17705 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17707 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17708 (ibm_extended_long_double): Add ieee_nan member.
17709 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17710 (do_test): New function.
17712 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17714 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17715 functions, renamed from truncdfsf_test, trunctfsf_test,
17717 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17719 (do_test): Run all these.
17721 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17723 * argp/argp-help.c: Fix typos.
17724 * argp/argp-parse.c: Likewise.
17725 * debug/backtracesyms.c: Likewise.
17726 * elf/elf.h: Likewise.
17727 * malloc/malloc.c: Likewise.
17728 * nis/nis_print.c: Likewise.
17729 * resolv/res_comp.c: Likewise.
17730 * stdlib/stdlib.h: Likewise.
17731 * sunrpc/clnt_tcp.c: Likewise.
17732 * sunrpc/clnt_udp.c: Likewise.
17733 * sunrpc/clnt_unix.c: Likewise.
17734 * sysdeps/unix/bsd/ptsname.c: Likewise.
17735 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17736 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17743 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17745 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17747 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17750 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17753 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17754 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17755 ($(objpfx)bug-dl-leaf): New rule.
17756 ($(objpfx)bug-dl-leaf.so): Likewise.
17757 ($(objpfx)bug-dl-leaf.out): Likewise.
17758 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17759 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17760 * dlfcn/bug-dl-leaf.c: New test.
17761 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17762 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17763 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17764 (dlclose): Likewise.
17765 (dlmopen): Likewise.
17767 2013-08-27 Roland McGrath <roland@hack.frob.com>
17769 * include/netdb.h [!_ISOMAC]:
17770 Don't include <tls.h>.
17771 (h_errno, __libc_h_errno): Move declaration and macros out of
17774 * include/resolv.h [_RESOLV_H_]:
17775 Don't include <tls.h>.
17776 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17777 * resolv/res_libc.c: Don't include <tls.h>.
17778 (_res): Use __attribute__ ((nocommon)) in place of
17779 __attribute__ ((section (".bss"))).
17781 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17782 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17784 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17786 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17787 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17789 * resolv/res_mkquery.c: Include <sys/time.h>.
17791 * inet/ifreq.c: Moved to ...
17792 * sysdeps/unix/ifreq.c: ... here.
17793 * inet/ifreq.c: New file, true stub version.
17795 * socket/sa_len.c: New file.
17796 * socket/Makefile (aux): Add it.
17797 * sysdeps/unix/sysv/linux/Makefile
17798 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17799 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17800 and #include <socket/sa_len.c>.
17801 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17802 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17804 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17805 * bits/socket.h: ... here.
17807 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17808 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17809 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17811 2013-08-27 Andreas Schwab <schwab@suse.de>
17814 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17815 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17816 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17817 * string/test-strcasecmp.c (test_main): Run tests in several
17819 * string/test-strncasecmp.c (test_main): Likewise.
17821 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17822 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17823 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17824 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17825 (__strncasecmp_ssse3) [PIC]: Likewise.
17827 2013-08-26 Roland McGrath <roland@hack.frob.com>
17829 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17831 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17832 instead of explicitly declaring xdecrypt.
17833 * nis/nss_nis/nis-publickey.c: Likewise.
17835 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17838 * nscd/aicache.c: Include res_hconf.h.
17839 (addhstaiX): Initialize res_hconf.
17841 2013-08-26 Andreas Schwab <schwab@suse.de>
17843 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17844 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17846 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17848 * nscd/aicache.c (addhstaiX): Fix indentation.
17850 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17852 * configure.ac: Quote $build_pt_chown test.
17853 * configure: Regenerated.
17855 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17858 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17859 * math/s_cexpf.c (__cexpf): Likewise.
17860 * math/s_cexpl.c (__cexpl): Likewise.
17861 * math/libm-test.inc (cexp_test_data): Correct expected return
17862 value for NaN + i0. Add another test.
17864 2013-08-22 David S. Miller <davem@davemloft.net>
17866 * po/ca.po: Update Catalan translation from translation project.
17867 * po/uk.po: Add Ukrainian translations from translation project.
17869 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17872 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17873 is infinite, not alongside NaN test.
17874 * math/s_fdimf.c (__fdimf): Likewise.
17875 * math/s_fdiml.c (__fdiml): Likewise.
17876 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17877 errno is unchanged.
17879 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17881 * argp/argp-help.c: Fix typos.
17882 * crypt/speeds.c: Likewise.
17883 * csu/check_fds.c: Likewise.
17884 * elf/dl-load.c: Likewise.
17885 * elf/dl-open.c: Likewise.
17886 * elf/reldep3.c: Likewise.
17887 * elf/reldep.c: Likewise.
17888 * elf/sprof.c: Likewise.
17889 * iconv/iconv_charmap.c: Likewise.
17890 * iconv/skeleton.c: Likewise.
17891 * iconv/strtab.c: Likewise.
17892 * io/lockf64.c: Likewise.
17893 * libio/libioP.h: Likewise.
17894 * resolv/gai_notify.c: Likewise.
17895 * resolv/ns_name.c: Likewise.
17896 * resolv/ns_samedomain.c: Likewise.
17897 * resolv/res_send.c: Likewise.
17898 * stdlib/random.c: Likewise.
17899 * sunrpc/rpc/xdr.h: Likewise.
17900 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17901 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17902 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17903 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17904 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17905 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17906 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17907 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17908 * sysdeps/mach/hurd/check_fds.c: Likewise.
17909 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17910 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17911 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17912 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17913 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17914 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17915 * sysdeps/pthread/aio_notify.c: Likewise.
17916 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17917 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17918 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17919 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17920 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17922 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17924 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17925 version if bit_Slow_SSE4_2 is set.
17926 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17927 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17929 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17932 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17933 trampoline stack frame information.
17934 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17935 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17936 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17937 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17938 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17939 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17940 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17941 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17943 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17944 interrupting a syscall and set with option SA_SIGINFO.
17946 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17949 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17950 argument is infinite.
17951 * math/s_cprojf.c (__cprojf): Likewise.
17952 * math/s_cprojl.c (__cprojl): Likewise.
17953 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17954 * math/libm-test.inc (cproj_test_data): Add more tests.
17956 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17958 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17959 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17960 size. Use __ffs to determine corresponding shift.
17962 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17963 Roland McGrath <roland@hack.frob.com>
17965 * Makefile (INSTALL): Remove trailing blank lines from output of
17968 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17970 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17971 Align 32 bit compat elf_greg to 8 bytes.
17973 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17975 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17977 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17979 * string/strcoll_l.c (coll_seq): New structure.
17980 (get_next_seq_cached): New function.
17981 (get_next_seq): New function.
17982 (do_compare): New function.
17983 (STRCOLL): Use GNU style definition. Simplify implementation
17984 by using get_next_seq, get_next_seq_cached and do_compare.
17986 2013-08-16 Florian Weimer <fweimer@redhat.com>
17990 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17992 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17994 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17995 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17996 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17998 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17999 GETDENTS_64BIT_ALIGNED.
18000 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18001 * manual/filesys.texi (Reading/Closing Directory): Document
18002 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18004 * manual/conf.texi (Limits for Files): Add portability note to
18005 NAME_MAX, PATH_MAX.
18006 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18008 2013-08-13 Andreas Schwab <schwab@suse.de>
18011 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18013 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18014 LDBL_MAX_EXP >= 16384]: Add tests for it.
18016 2013-08-12 David S. Miller <davem@davemloft.net>
18018 * version.h (RELEASE): Set to "development".
18019 (VERSION): Set to "2.18.90".
18020 * NEWS: Add 2.19 section.
18022 2013-08-03 David S. Miller <davem@davemloft.net>
18024 * po/ko.po: Update Korean translation from translation project.
18026 2013-08-01 David S. Miller <davem@davemloft.net>
18028 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18029 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18032 2013-07-30 David S. Miller <davem@davemloft.net>
18034 * po/fr.po: Update French translation from translation project.
18036 2013-07-28 David S. Miller <davem@davemloft.net>
18038 * po/cs.po: Update Czech translation from translation project.
18040 * po/sv.po: Update Swedish translation from translation project.
18042 2013-07-27 David S. Miller <davem@davemloft.net>
18044 * po/eo.po: Update Esperanto translation from translation project.
18046 * po/vi.po: Update Vietnamese translation from translation project.
18048 * po/de.po: Update German translation from translation project.
18050 2013-07-26 David S. Miller <davem@davemloft.net>
18052 * po/bg.po: Update Bulgarian translation from translation project.
18054 * po/nl.po: Update Dutch translation from translation project.
18055 * po/pl.po: Update Polish translation from translation project.
18056 * po/ru.po: Update Russian translation from translation project.
18058 2013-07-24 David S. Miller <davem@davemloft.net>
18060 * po/libc.pot: Update.
18062 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18064 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18065 variable page size.
18066 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18067 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18068 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18070 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18072 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18074 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18075 Andreas Schwab <schwab@suse.de>
18076 Roland McGrath <roland@hack.frob.com>
18077 Joseph Myers <joseph@codesourcery.com>
18078 Carlos O'Donell <carlos@redhat.com>
18081 * config.h.in: Define HAVE_PT_CHOWN.
18082 * config.make.in (build-pt-chown): New variable.
18083 * configure.in (--enable-pt_chown): New configure option.
18084 * configure: Regenerate.
18085 * login/Makefile: Include Makeconfig. Build pt_chown only if
18086 build-pt-chown is enabled.
18087 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18088 pt_chown to fix pty ownership.
18089 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18091 * manual/install.texi (Configuring and compiling): Mention
18092 --enable-pt_chown. Add @findex for grantpt.
18093 * INSTALL: Regenerate.
18095 2013-07-20 David S. Miller <davem@davemloft.net>
18097 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18098 difference between 32-bit and 64-bit.
18100 2013-07-15 Carlos O'Donell <carlos@redhat.com>
18103 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18104 Avoid system header dependency with -ffreestanding.
18105 ($(objpfx)bits/syscall%d): Likewise.
18107 2013-07-13 David S. Miller <davem@davemloft.net>
18109 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18110 underflows from atanl/atan2l due to bug 15319.
18111 (casinh_test_data): Likewise.
18113 2013-07-07 David S. Miller <davem@davemloft.net>
18115 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18117 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18119 * sysdeps/i386/fpu/libm-test-ulps: Update.
18120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18122 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18124 * configure.in (--enable-lock-elision): Fix message text.
18125 * INSTALL: Regenerate.
18126 * configure: Regenerate.
18128 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18132 2013-07-03 Andreas Jaeger <aj@suse.de>
18134 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18136 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18137 (ptrace_peeksiginfo_args): Add.
18138 (__ptrace_peeksiginfo_flags): Add.
18139 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18140 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18141 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18143 2013-07-03 Allan McRae <allan@archlinux.org>
18145 * sysdeps/i386/fpu/libm-test-ulps: Update.
18147 2013-07-02 David S. Miller <davem@davemloft.net>
18149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18151 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18155 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18157 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18160 2013-07-02 Andi Kleen <ak@linux.intel.com>
18162 * config.h.in (ENABLE_LOCK_ELISION): Add.
18163 * configure.in (--enable-lock-elision): Add option.
18164 * manual/install.texi: Document --enable lock elision.
18165 * configure: Regenerate
18166 * INSTALL: Regenerate.
18168 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18170 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18171 SSE4.2 strcasecmp for libc.a.
18172 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18174 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18177 * soft-fp/op-common.h (_FP_FMA): New macro.
18178 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18179 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18180 (_FP_MUL_MEAT_1_imm): ... here.
18181 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18182 (_FP_MUL_MEAT_1_wide): ... here.
18183 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18184 (_FP_MUL_MEAT_1_hard): ... here.
18185 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18186 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18187 (_FP_MUL_MEAT_2_wide): ... here.
18188 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18189 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18190 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18191 (_FP_MUL_MEAT_2_gmp): ... here.
18192 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18193 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18194 (_FP_MUL_MEAT_4_wide): ... here.
18195 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18196 (_FP_MUL_MEAT_4_gmp): ... here.
18197 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18198 (_FP_WFRACBITS_DW_S): Likewise.
18199 (_FP_WFRACXBITS_DW_S): Likewise.
18200 (_FP_HIGHBIT_DW_S): Likewise.
18201 (FP_FMA_S): Likewise.
18202 (_FP_FRAC_HIGH_DW_S): Likewise.
18203 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18204 (_FP_WFRACBITS_DW_D): Likewise.
18205 (_FP_WFRACXBITS_DW_D): Likewise.
18206 (_FP_HIGHBIT_DW_D): Likewise.
18207 (FP_FMA_D): Likewise.
18208 (_FP_FRAC_HIGH_DW_D): Likewise.
18209 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18210 (_FP_WFRACBITS_DW_E): Likewise.
18211 (_FP_WFRACXBITS_DW_E): Likewise.
18212 (_FP_HIGHBIT_DW_E): Likewise.
18213 (FP_FMA_E): Likewise.
18214 (_FP_FRAC_HIGH_DW_E): Likewise.
18215 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18216 (_FP_WFRACBITS_DW_Q): Likewise.
18217 (_FP_WFRACXBITS_DW_Q): Likewise.
18218 (_FP_HIGHBIT_DW_Q): Likewise.
18219 (FP_FMA_Q): Likewise.
18220 (_FP_FRAC_HIGH_DW_Q): Likewise.
18221 * soft-fp/fmasf4.c: New file.
18222 * soft-fp/fmadf4.c: Likewise.
18223 * soft-fp/fmatf4.c: Likewise.
18225 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18228 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18230 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18232 (index_Slow_SSE4_2): Likewise.
18233 (index_Prefer_PMINUB_for_stringop): Likewise.
18234 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18235 bit_Slow_SSE4_2 is set.
18236 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18237 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18239 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18241 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18242 rtld_global._dl_hwcap2.
18243 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18245 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18246 POWER8 feature descriptions defined in _dl_hwcap2.
18247 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18248 string handling for POWER8 feature bits.
18249 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18250 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18251 _dl_powerpc_cap_flags.
18252 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18253 * sysdeps/powerpc/rtld-global-offsets.sym
18254 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18255 _dl_hwcap2 in the rtld_global_ro structure.
18257 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18259 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18260 hardware capabilities in support of AT_HWCAP2.
18261 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18262 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18264 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18265 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18266 explicitly the unknown a_type display mechanism is used.
18267 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18268 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18270 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18271 to macro prototype for AT_HWCAP2 support.
18272 * sysdeps/i386/dl-procinfo.h: Likewise.
18273 * sysdeps/s390/dl-procinfo.h: Likewise.
18274 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18275 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18276 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18277 return -1 for unknown a_type display fallback.
18278 * sysdeps/sparc/dl-procinfo.h: Likewise.
18279 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18280 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18282 2013-06-28 Joseph Myers <joseph@codesourcery.com>
18284 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18285 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18287 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18290 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18291 mprotect making __stack_prot writable.
18293 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18294 Joseph Myers <joseph@codesourcery.com>
18296 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18297 as being properly aligned.
18299 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18301 * dlfcn/modstatic5.c: New file.
18302 * dlfcn/tststatic5.c: New file.
18303 * dlfcn/Makefile (tests): Add tststatic5.
18304 (tests-static): Likewise.
18305 (modules-names): Add modstatic5.
18306 (tststatic5-ENV): New variable.
18307 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18310 * elf/dl-support.c (_dl_main_map): New variable.
18311 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18312 (_dl_nns, _dl_load_adds): Set to 1.
18313 (_dl_initial_searchlist): Refer to _dl_main_map.
18314 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18315 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18316 call to _dl_get_origin.
18317 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18319 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18320 * dlfcn/modstatic3.c: New file.
18321 * dlfcn/tststatic3.c: New file.
18322 * dlfcn/tststatic4.c: New file.
18323 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18324 (tests-static): Likewise.
18325 (modules-names): Add modstatic3.
18326 (tststatic3-ENV, tststatic4-ENV): New variables.
18327 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18328 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18330 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18332 * configure.in (CC): Require GCC version 4.4 or later.
18333 * configure: Regenerated.
18334 * manual/install.texi (Tools for Compilation): Update GCC version
18336 * INSTALL: Regenerated.
18338 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18341 * string/test-memcmp.c (check2): New.
18342 (main): Call check2.
18344 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18346 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18349 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18351 (dl_open_worker) [!SHARED]: ... here.
18353 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18355 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18357 2013-06-25 Richard Henderson <rth@redhat.com>
18359 * locale/programs/locarchive.c: Include <libc-internal.h>
18361 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18363 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18364 trailing whitespace removed.
18366 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18369 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18370 * locale/programs/locarchive.c: Include libc-mmap.h.
18371 (prepare_address_space): Take two new outputs (the mmap base and len).
18372 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18374 (create_archive): Declare new mmap base and len values for
18375 prepare_address_space, and store the result in ah.
18376 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18377 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18378 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18379 Declare new mmap base and len values for
18380 prepare_address_space, and store the result in new_ah.
18381 (open_archive): Declare new mmap base and len values for
18382 prepare_address_space, and store the result in ah.
18383 (close_archive): If ah->mmap_base is not NULL, use that and
18384 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18385 * sysdeps/generic/libc-mmap.h: New file.
18387 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18389 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18390 (ALIGN_UP): Likewise.
18391 (PTR_ALIGN_DOWN): Likewise.
18392 (PTR_ALIGN_UP): Likewise.
18394 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18396 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18397 entry mapped to PPC_PLATFORM_POWER8.
18398 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18400 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18401 (_dl_string_platform): Add case for exporting platform position for
18403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18404 search path to sysdeps/powerpc/powerpc32/power8 directory.
18405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18406 search path to sysdeps/powerpc/powerpc64/power8 directory.
18407 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18408 power7 directories.
18409 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18410 power7 directories.
18412 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18414 * INSTALL: Regenerate.
18416 * nscd/connections.c (nscd_init): Fix comment.
18418 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18420 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18423 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18424 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18426 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18428 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18430 (DL_DST_REQ_STATIC): Remove macro.
18432 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18435 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18436 with a shift of 0 bits.
18438 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18440 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18443 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18446 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18448 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18450 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18451 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18452 accepts -fno-tree-loop-distribute-patterns.
18453 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18454 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18456 * string/memset.c (memset): Likewise.
18457 * string/test-memmove.c (simple_memmove): Disable loop transformation
18459 * string/test-memset.c (simple_memset): Likewise.
18460 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18461 * benchtests/bench-memset.c (simple_memset): Likewise.
18462 * configure: Regenerated.
18464 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18466 * math/test-misc.c (main): Ignore fesetround failure when failures
18467 of subsequent rounding tests would be ignored.
18470 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18471 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18472 * math/fegetenv.c (__fegetenv): Return 0.
18473 * math/fegetexcept.c (fegetexcept): Return 0.
18474 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18476 * math/feholdexcpt.c (feholdexcept): Return 0.
18477 * math/fesetenv.c (__fesetenv): Return 0.
18478 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18479 argument FE_TONEAREST.
18480 * math/feupdateenv.c (__feupdateenv): Return 0.
18481 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18483 2013-06-18 Roland McGrath <roland@hack.frob.com>
18485 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18486 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18487 ($(objpfx)rtld-%.os rules): Use them.
18489 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18491 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18494 2013-06-17 Roland McGrath <roland@hack.frob.com>
18496 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18497 length of target pattern, then descending length of dependency pattern.
18498 * configure.in (AWK): Require gawk 3.1.2 or newer.
18499 * manual/install.texi (Tools for Compilation): Say that we do.
18500 * configure: Regenerated.
18502 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18503 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18504 * scripts/sysd-rules.awk: ... this new script.
18505 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18506 than a glob-style pattern.
18508 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18510 * math/test-misc.c (main): Do not treat incorrectly rounded
18511 conversions as failure unless ROUNDING_TESTS passes.
18513 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18516 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18517 restore exception state around main square root computation, then
18518 check for inexactness explicitly.
18520 * math/libm-test.inc (fma_test_data): Add another test.
18522 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18524 * manual/threads.texi (Non-POSIX Extensions): New document
18525 node. Document pthread_getattr_default_np and
18526 pthread_setattr_default_np.
18528 * Versions.def (libpthread): Add GLIBC_2.18.
18529 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18538 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18549 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18552 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18554 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18555 H.J. Lu <hjl.tools@gmail.com>
18558 * sysdeps/x86_64/rtld-memset.c: Remove file.
18559 * sysdeps/x86_64/rtld-memset.S: New file.
18561 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18563 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18564 (test_in_one_mode): Take arguments for whether the rounding mode
18565 is supported for each floating-point type.
18566 (do_test): Pass new arguments to test_in_one_mode using
18569 2013-06-13 Roland McGrath <roland@hack.frob.com>
18571 * posix/tst-waitid.c (do_test): Distinguish different instances of
18572 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18573 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18574 before entering the kernel for waitpid.
18576 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18578 * NEWS: Fix note on clock function precision. Text by Roland
18581 2013-06-13 Roland McGrath <roland@hack.frob.com>
18583 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18584 it into place only when and if the sanity check passes.
18586 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18588 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18589 output for whether conversion result is exact. Take argument
18590 indicating whether type is IBM long double.
18591 (round_for_all): Change need_exact field to ibm_ld.
18592 * stdlib/tst-strtod-round.c (struct exactness): New type.
18593 (struct test): Change bool ld_ok field to struct exactness exact.
18594 (TEST): Update all definitions for change to field.
18595 (tests): Regenerate array contents.
18596 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18597 field value. Check for IBM long double here.
18598 (do_test): Update calls to test_in_one_mode.
18600 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18603 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18604 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18606 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18609 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18610 generated by the compiler on loop optimizations.
18611 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18612 general definitions.
18614 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18616 * math/bug-nextafter.c: Include <math-tests.h>.
18617 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18619 * math/bug-nexttoward.c: Include <math-tests.h>.
18620 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18622 * math/test-misc.c: Include <math-tests.h>.
18623 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18626 2013-06-12 Andreas Jaeger <aj@suse.de>
18628 * po/ia.po: Update Interlingua translation from translation
18631 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18633 * include/fenv.h: Include stdbool.h.
18634 (struct rm_ctx): New structure.
18635 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18637 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18638 (SET_RESTORE_ROUNDF): Likewise.
18639 (SET_RESTORE_ROUNDL): Likewise.
18640 (SET_RESTORE_ROUND_NOEX): Likewise.
18641 (SET_RESTORE_ROUND_NOEXF): Likewise.
18642 (SET_RESTORE_ROUND_NOEXL): Likewise.
18643 (SET_RESTORE_ROUND_53BIT): Likewise.
18644 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18645 (libc_feresetround_noexf_ctx): Likewise.
18646 (libc_feresetround_noexl_ctx): Likewise.
18647 (libc_feholdsetround_53bit_ctx): Likewise.
18648 (libc_feresetround_53bit_ctx): Likewise.
18649 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18650 (libc_feholdexcept_setround_sse_ctx): New function.
18651 (libc_fesetenv_sse_ctx): Likewise.
18652 (libc_feupdateenv_sse_ctx): Likewise.
18653 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18654 (libc_feholdexcept_setround_387_ctx): Likewise.
18655 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18656 (libc_feholdsetround_387_prec_ctx): Likewise.
18657 (libc_feholdsetround_387_ctx): Likewise.
18658 (libc_feholdsetround_387_53bit_ctx): Likewise.
18659 (libc_feholdsetround_sse_ctx): Likewise.
18660 (libc_feresetround_sse_ctx): Likewise.
18661 (libc_feresetround_387_ctx): Likewise.
18662 (libc_feupdateenv_387_ctx): Likewise.
18663 (libc_feholdexcept_setroundf_ctx): Define macro.
18664 (libc_fesetenvf_ctx): Likewise.
18665 (libc_feupdateenvf_ctx): Likewise.
18666 (libc_feholdsetroundf_ctx): Likewise.
18667 (libc_feresetroundf_ctx): Likewise.
18668 (libc_feholdexcept_setround_ctx): Likewise.
18669 (libc_fesetenv_ctx): Likewise.
18670 (libc_feupdateenv_ctx): Likewise.
18671 (libc_feholdsetround_ctx): Likewise.
18672 (libc_feresetround_ctx): Likewise.
18673 (libc_feholdexcept_setroundl_ctx): Likewise.
18674 (libc_feupdateenvl_ctx): Likewise.
18675 (libc_feholdsetroundl_ctx): Likewise.
18676 (libc_feresetroundl_ctx): Likewise.
18677 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18678 (libc_feresetround_53bit_ctx): Likewise.
18680 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18682 * locale/iso-639.def: Convert to UTF-8.
18684 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18686 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18687 (EXCEPTION_TESTS_double): Likewise.
18688 (EXCEPTION_TESTS_long_double): Likewise.
18689 (EXCEPTION_TESTS): Likewise.
18690 * math/libm-test.inc (test_exceptions): Only test exceptions if
18691 EXCEPTION_TESTS (FLOAT).
18693 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18695 * benchtests/Makefile (string-bench): Add strcpy_chk and
18697 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18698 * benchtests/bench-stpcpy_chk.c: New file.
18699 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18700 * benchtests/bench-strcpy_chk.c: New file.
18701 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18703 (do_test): Likewise.
18705 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18707 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18708 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18709 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18710 with tabs where appropriate.
18711 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18713 [PPC_PLATFORM_PPC440]: Likewise.
18714 [PPC_PLATFORM_PPC464]: Likewise.
18715 [PPC_PLATFORM_PPC476]: Likewise.
18716 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18717 ppc464, and ppc476 platform strings merging from ports/
18720 2013-06-11 Andreas Schwab <schwab@suse.de>
18723 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18724 (from_ucs4_idx): Regenerate.
18725 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18726 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18727 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18728 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18729 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18730 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18731 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18732 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18733 from FROM_LOOP and TO_LOOP specific macros.
18734 (BODY): Handle combining characters.
18735 * iconvdata/BIG5HKSCS.irreversible: Update.
18736 * iconvdata/BIG5HKSCS.precomposed: New file.
18737 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18739 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18741 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18743 * include/sys/time.h: Fix indentation and add copyright header.
18745 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18746 (do_test): Likewise.
18747 * string/test-memchr.c (do_one_test): Likewise.
18748 (do_test): Likewise.
18749 * string/test-memcmp.c (do_one_test): Likewise.
18750 (do_test): Likewise.
18751 * string/test-memcpy.c (do_one_test): Likewise.
18752 (do_test): Likewise.
18753 * string/test-memmem.c (do_one_test): Likewise.
18754 (do_test): Likewise.
18755 (do_random_tests): Likewise.
18756 * string/test-memmove.c (do_one_test): Likewise.
18757 (do_test): Likewise.
18758 * string/test-memset.c (do_one_test): Likewise.
18759 (do_test): Likewise.
18760 * string/test-rawmemchr.c (do_one_test): Likewise.
18761 (do_test): Likewise.
18762 * string/test-strcasecmp.c (do_one_test): Likewise.
18763 (do_test): Likewise.
18764 * string/test-strcasestr.c (do_one_test): Likewise.
18765 (do_test): Likewise.
18766 * string/test-strcat.c (do_one_test): Likewise.
18767 (do_test): Likewise.
18768 * string/test-strchr.c (do_one_test): Likewise.
18769 (do_test): Likewise.
18770 * string/test-strcmp.c (do_one_test): Likewise.
18771 (do_test): Likewise.
18772 * string/test-strcpy.c (do_one_test): Likewise.
18773 (do_test): Likewise.
18774 * string/test-string.h: Likewise.
18775 (test_init): Likewise.
18776 * string/test-strlen.c (do_one_test): Likewise.
18777 (do_test): Likewise.
18778 * string/test-strncasecmp.c (do_one_test): Likewise.
18779 (do_test): Likewise.
18780 * string/test-strncat.c (do_one_test): Likewise.
18781 (do_test): Likewise.
18782 * string/test-strncmp.c (do_one_test): Likewise.
18783 (do_test_limit): Likewise.
18784 (do_test): Likewise.
18785 * string/test-strncpy.c (do_one_test): Likewise.
18786 (do_test): Likewise.
18787 * string/test-strnlen.c (do_one_test): Likewise.
18788 (do_test): Likewise.
18789 * string/test-strpbrk.c (do_one_test): Likewise.
18790 (do_test): Likewise.
18791 * string/test-strrchr.c (do_one_test): Likewise.
18792 (do_test): Likewise.
18793 * string/test-strspn.c (do_one_test): Likewise.
18794 (do_test): Likewise.
18795 * string/test-strstr.c (do_one_test): Likewise.
18796 (do_test): Likewise.
18798 * benchtests/Makefile (string-bench): Add string benchmarks.
18799 * benchtests/bench-bcopy-ifunc.c: New file.
18800 * benchtests/bench-bcopy.c: New file.
18801 * benchtests/bench-bzero-ifunc.c: New file.
18802 * benchtests/bench-bzero.c: New file.
18803 * benchtests/bench-memccpy-ifunc.c: New file.
18804 * benchtests/bench-memccpy.c: New file.
18805 * benchtests/bench-memchr-ifunc.c: New file.
18806 * benchtests/bench-memchr.c: New file.
18807 * benchtests/bench-memcmp-ifunc.c: New file.
18808 * benchtests/bench-memcmp.c: New file.
18809 * benchtests/bench-memmem-ifunc.c: New file.
18810 * benchtests/bench-memmem.c: New file.
18811 * benchtests/bench-memmove-ifunc.c: New file.
18812 * benchtests/bench-memmove.c: New file.
18813 * benchtests/bench-mempcpy-ifunc.c: New file.
18814 * benchtests/bench-mempcpy.c: New file.
18815 * benchtests/bench-memset-ifunc.c: New file.
18816 * benchtests/bench-memset.c: New file.
18817 * benchtests/bench-rawmemchr-ifunc.c: New file.
18818 * benchtests/bench-rawmemchr.c: New file.
18819 * benchtests/bench-stpcpy-ifunc.c: New file.
18820 * benchtests/bench-stpcpy.c: New file.
18821 * benchtests/bench-stpncpy-ifunc.c: New file.
18822 * benchtests/bench-stpncpy.c: New file.
18823 * benchtests/bench-strcasecmp-ifunc.c: New file.
18824 * benchtests/bench-strcasecmp.c: New file.
18825 * benchtests/bench-strcasestr-ifunc.c: New file.
18826 * benchtests/bench-strcasestr.c: New file.
18827 * benchtests/bench-strcat-ifunc.c: New file.
18828 * benchtests/bench-strcat.c: New file.
18829 * benchtests/bench-strchr-ifunc.c: New file.
18830 * benchtests/bench-strchr.c: New file.
18831 * benchtests/bench-strchrnul-ifunc.c: New file.
18832 * benchtests/bench-strchrnul.c: New file.
18833 * benchtests/bench-strcmp-ifunc.c: New file.
18834 * benchtests/bench-strcmp.c: New file.
18835 * benchtests/bench-strcpy-ifunc.c: New file.
18836 * benchtests/bench-strcpy.c: New file.
18837 * benchtests/bench-strcspn-ifunc.c: New file.
18838 * benchtests/bench-strcspn.c: New file.
18839 * benchtests/bench-strlen-ifunc.c: New file.
18840 * benchtests/bench-strlen.c: New file.
18841 * benchtests/bench-strncasecmp-ifunc.c: New file.
18842 * benchtests/bench-strncasecmp.c: New file.
18843 * benchtests/bench-strncat-ifunc.c: New file.
18844 * benchtests/bench-strncat.c: New file.
18845 * benchtests/bench-strncmp-ifunc.c: New file.
18846 * benchtests/bench-strncmp.c: New file.
18847 * benchtests/bench-strncpy-ifunc.c: New file.
18848 * benchtests/bench-strncpy.c: New file.
18849 * benchtests/bench-strnlen-ifunc.c: New file.
18850 * benchtests/bench-strnlen.c: New file.
18851 * benchtests/bench-strpbrk-ifunc.c: New file.
18852 * benchtests/bench-strpbrk.c: New file.
18853 * benchtests/bench-strrchr-ifunc.c: New file.
18854 * benchtests/bench-strrchr.c: New file.
18855 * benchtests/bench-strspn-ifunc.c: New file.
18856 * benchtests/bench-strspn.c: New file.
18857 * benchtests/bench-strstr-ifunc.c: New file.
18858 * benchtests/bench-strstr.c: New file.
18860 * benchtests/Makefile: Disable parallel execution of targets.
18861 (string-bench): Add memcpy.
18862 (benchset): New variable to store a list of benchmark sets.
18863 (bench-func): Renamed from bench.
18864 (bench-set): New target.
18865 (bench): Depend on bench-func and bench-set.
18866 * benchtests/README: Add section on benchmark sets.
18867 * benchtests/bench-memcpy-ifunc.c: New file.
18868 * benchtests/bench-memcpy.c: New file.
18869 * benchtests/bench-string.h: New file.
18871 2013-06-11 Andreas Schwab <schwab@suse.de>
18874 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18875 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18876 values in the triple.
18877 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18878 terminator in the group key.
18880 2013-06-11 Andreas Jaeger <aj@suse.de>
18882 * po/zh_TW.po: Update Chinese (traditional) translation from
18883 translation project.
18885 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18887 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18888 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18889 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18890 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18891 (clock_getcpuclockid): Likewise.
18892 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18893 Add weak_alias and libc_hidden_def.
18894 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18895 * rt/clock_gettime.c (clock_gettime): Rename to
18896 __clock_gettime. Add weak_alias and libc_hidden_def.
18897 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18898 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18899 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18900 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18901 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18903 * rt/clock_settime.c (clock_settime): Rename to
18904 __clock_settime. Add weak_alias and libc_hidden_def.
18905 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18907 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18909 * mach/err_boot.sub: Remove trailing whitespace.
18910 * mach/err_ipc.sub: Likewise.
18911 * mach/err_mach.sub: Likewise.
18913 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18914 (ROUNDING_TESTS_double): Likewise.
18915 (ROUNDING_TESTS_long_double): Likewise.
18916 (ROUNDING_TESTS): Likewise.
18917 * math/libm-test.inc: Include <math-tests.h>.
18918 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18919 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18920 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18921 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18923 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18925 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18928 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18930 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18931 otherwise empty TRANS lines.
18932 * sysdeps/gnu/errlist.c: Regenerated.
18934 * catgets/gencat.c (error_print): Use (void) in function
18936 * crypt/crypt_util.c (__init_des): Likewise.
18937 * crypt/speeds.c (Stop): Likewise.
18939 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18940 * inet/ruserpass.c (token): Likewise.
18941 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18942 * intl/localealias.c (extend_alias_table): Likewise.
18943 * intl/plural-exp.c (init_germanic_plural): Likewise.
18944 * libio/fcloseall.c (__fcloseall): Likewise.
18945 * libio/genops.c (_IO_flush_all): Likewise.
18946 (_IO_flush_all_linebuffered): Likewise.
18947 (_IO_cleanup): Likewise.
18948 (_IO_iter_begin): Likewise.
18949 (_IO_iter_end): Likewise.
18950 (_IO_list_lock): Likewise.
18951 (_IO_list_unlock): Likewise.
18952 (_IO_list_resetlock): Likewise.
18953 * libio/getchar.c (getchar): Likewise.
18954 * libio/getchar_u.c (getchar_unlocked): Likewise.
18955 * libio/getwchar.c (getwchar): Likewise.
18956 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18957 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18958 * login/getpt.c (__getpt): Likewise.
18959 * login/tst-utmp.c (main): Likewise.
18960 * malloc/hooks.c (__malloc_check_init): Likewise.
18961 * malloc/malloc.c (__malloc_stats): Likewise.
18962 * malloc/mtrace.c (tr_break): Likewise.
18963 (mtrace): Likewise.
18964 (muntrace): Likewise.
18965 * misc/fstab.c (endfsent): Likewise.
18966 * misc/getclktck.c (__getclktck): Likewise.
18967 * misc/getdtsz.c (__getdtablesize): Likewise.
18968 * misc/gethostid.c (gethostid): Likewise.
18969 * misc/getpagesize.c (__getpagesize): Likewise.
18970 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18971 (__get_nprocs): Likewise.
18972 (__get_phys_pages): Likewise.
18973 (__get_avphys_pages): Likewise.
18974 * misc/getttyent.c (getttyent): Likewise.
18975 (setttyent): Likewise.
18976 (endttyent): Likewise.
18977 * misc/getusershell.c (getusershell): Likewise.
18978 (endusershell): Likewise.
18979 (setusershell): Likewise.
18980 (initshells): Likewise.
18981 * misc/hsearch.c (__hdestroy): Likewise.
18982 * misc/sync.c (sync): Likewise.
18983 * misc/syslog.c (closelog_internal): Likewise.
18984 (closelog): Likewise.
18985 * misc/ttyslot.c (ttyslot): Likewise.
18986 * misc/vhangup.c (vhangup): Likewise.
18987 * posix/fork.c (__fork): Likewise.
18988 * posix/getegid.c (__getegid): Likewise.
18989 * posix/geteuid.c (__geteuid): Likewise.
18990 * posix/getgid.c (__getgid): Likewise.
18991 * posix/getpid.c (__getpid): Likewise.
18992 * posix/getppid.c (__getppid): Likewise.
18993 * posix/getuid.c (__getuid): Likewise.
18994 * posix/pause.c (pause): Likewise.
18995 * posix/setpgrp.c (setpgrp): Likewise.
18996 * posix/setsid.c (__setsid): Likewise.
18997 * posix/test-vfork.c (noop): Likewise.
18998 * resolv/gethnamaddr.c (_endhtent): Likewise.
18999 (_gethtent): Likewise.
19000 (ht_endhostent): Likewise.
19001 (gethostent): Likewise.
19002 (dns_service): Likewise.
19003 * stdlib/drand48.c (drand48): Likewise.
19004 * stdlib/lrand48.c (lrand48): Likewise.
19005 * stdlib/mrand48.c (mrand48): Likewise.
19006 * stdlib/rand.c (rand): Likewise.
19007 * stdlib/random.c (__random): Likewise.
19008 * stdlib/setenv.c (clearenv): Likewise.
19009 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19010 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19011 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19012 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19013 (__get_nprocs): Likewise.
19014 (__get_phys_pages): Likewise.
19015 (__get_avphys_pages): Likewise.
19016 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19017 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19018 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19019 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19020 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19021 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19022 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19023 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19024 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19025 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19026 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19027 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19028 * sysdeps/posix/clock.c (clock): Likewise.
19029 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19030 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19031 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19032 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19033 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19034 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19035 (__get_nprocs_conf): Likewise.
19036 (__get_phys_pages): Likewise.
19037 (__get_avphys_pages): Likewise.
19038 * time/clock.c (clock): Likewise.
19039 * time/tzset.c (__tzname_max): Likewise.
19041 2013-06-07 Joseph Myers <joseph@codesourcery.com>
19043 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19044 (__bswap_32): Do not use "register".
19045 * crypt/crypt.c (_ufc_doit_r): Likewise.
19046 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19047 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19048 * gmon/gmon.c (__monstartup): Likewise.
19049 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19050 * hurd/hurdmalloc.c (more_memory): Likewise.
19051 (malloc): Likewise.
19053 (realloc): Likewise.
19054 (malloc_fork_prepare): Likewise.
19055 (malloc_fork_parent): Likewise.
19056 (malloc_fork_child): Likewise.
19057 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19058 (_svcauth_des): Likewise.
19059 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19060 * inet/inet_net.c (inet_network): Likewise.
19061 * inet/inet_netof.c (inet_netof): Likewise.
19062 * inet/rcmd.c (__validuser2_sa): Likewise.
19063 * io/fts.c (fts_open): Likewise.
19064 (fts_load): Likewise.
19065 (fts_close): Likewise.
19066 (fts_read): Likewise.
19067 (fts_children): Likewise.
19068 (fts_build): Likewise.
19069 (fts_stat): Likewise.
19070 (fts_sort): Likewise.
19071 (fts_alloc): Likewise.
19072 (fts_lfree): Likewise.
19073 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19074 (_IO_file_xsgetn): Likewise.
19075 (_IO_file_xsgetn_mmap): Likewise.
19076 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19077 (_IO_cookie_write): Likewise.
19078 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19079 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19080 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19081 * malloc/obstack.c (_obstack_begin): Likewise.
19082 (_obstack_begin_1): Likewise.
19083 (_obstack_newchunk): Likewise.
19084 (_obstack_allocated_p): Likewise.
19085 (obstack_free): Likewise.
19086 (_obstack_memory_used): Likewise.
19087 * misc/getttyent.c (getttynam): Likewise.
19088 (getttyent): Likewise.
19091 * misc/getusershell.c (initshells): Likewise.
19092 * misc/syslog.c (__vsyslog_chk): Likewise.
19093 * misc/ttyslot.c (ttyslot): Likewise.
19094 * nis/nis_hash.c (__nis_hash): Likewise.
19095 * posix/fnmatch_loop.c (FCT): Likewise.
19096 * posix/getconf.c (print_all): Likewise.
19098 * posix/getopt.c (exchange): Likewise.
19099 * posix/glob.c (globfree): Likewise.
19100 (prefix_array): Likewise.
19101 (__glob_pattern_type): Likewise.
19102 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19103 (NS_GET32): Likewise.
19104 (NS_PUT16): Likewise.
19105 (NS_PUT32): Likewise.
19106 * resolv/gethnamaddr.c (getanswer): Likewise.
19107 (gethostbyname2): Likewise.
19108 (gethostbyaddr): Likewise.
19109 (_gethtent): Likewise.
19110 (_gethtbyname2): Likewise.
19111 (_gethtbyaddr): Likewise.
19112 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19113 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19114 * resolv/res_init.c (__res_vinit): Likewise.
19115 (net_mask): Likewise.
19116 * resolv/res_mkquery.c (outchar): Likewise.
19118 * stdio-common/printf_fp.c (outchar): Likewise.
19120 * stdio-common/printf_fphex.c (outchar): Likewise.
19122 * stdio-common/printf_size.c (outchar): Likewise.
19124 * stdio-common/test_rdwr.c (main): Likewise.
19125 * stdio-common/tfformat.c (matches): Likewise.
19126 * stdio-common/vfprintf.c (outchar): Likewise.
19127 (printf_unknown): Likewise.
19128 (buffered_vfprintf): Likewise.
19129 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19130 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19131 (ReadFile): Likewise.
19132 * stdlib/qsort.c (SWAP): Likewise.
19133 (_quicksort): Likewise.
19134 * stdlib/setenv.c (__add_to_environ): Likewise.
19135 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19136 * stdlib/strtol_l.c (__strtol_l): Likewise.
19137 * stdlib/tst-strtod.c (main): Likewise.
19138 * stdlib/tst-strtol.c (main): Likewise.
19139 * stdlib/tst-strtoll.c (main): Likewise.
19140 * string/bits/string2.h (__strcmp_cc): Likewise.
19141 (__strcmp_cg): Likewise.
19142 (__strcspn_c1): Likewise.
19143 (__strcspn_c2): Likewise.
19144 (__strcspn_c3): Likewise.
19145 (__strspn_c1): Likewise.
19146 (__strspn_c2): Likewise.
19147 (__strspn_c3): Likewise.
19148 (__strsep_1c): Likewise.
19149 (__strsep_2c): Likewise.
19150 (__strsep_3c): Likewise.
19151 * string/memccpy.c (__memccpy): Likewise.
19152 * string/stpcpy.c (__stpcpy): Likewise.
19153 * string/strcmp.c (strcmp): Likewise.
19154 * string/strrchr.c (strrchr): Likewise.
19155 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19157 * sysdeps/mach/hurd/getcwd.c
19158 (_hurd_canonicalize_directory_name_internal): Likewise.
19159 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19160 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19161 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19162 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19163 Likewise, in both definitions.
19164 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19166 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19167 64] (__bswap_64): Likewise.
19168 * time/test_time.c (main): Likewise.
19169 * time/tzfile.c (__tzfile_read): Likewise.
19170 (__tzfile_compute): Likewise.
19171 * time/tzset.c (__tzset_parse_tz): Likewise.
19172 (tzset_internal): Likewise.
19173 (compute_change): Likewise.
19174 * wcsmbs/wcscat.c (__wcscat): Likewise.
19175 * wcsmbs/wcschr.c (wcschr): Likewise.
19176 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19177 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19178 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19179 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19180 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19181 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19182 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19183 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19184 * wcsmbs/wmemset.c (wmemset): Likewise.
19186 2013-06-06 Joseph Myers <joseph@codesourcery.com>
19188 * scripts/config.guess: Update to version 2013-05-16.
19189 * scripts/config.sub: Update to version 2013-04-24.
19190 * scripts/install-sh: Update to version 2011-11-20.07.
19191 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19192 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19194 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
19196 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19197 * elf/sln.c: Likewise.
19198 * hurd/hurd/ioctl.h: Likewise.
19199 * hurd/hurdmalloc.c: Likewise.
19200 * hurd/xattr.c: Likewise.
19201 * include/shlib-compat.h: Likewise.
19202 * inet/ruserpass.c: Likewise.
19203 * libio/iofgets_u.c: Likewise.
19204 * libio/iofgetws_u.c: Likewise.
19205 * locale/programs/ld-identification.c: Likewise.
19206 * locale/programs/ld-time.c: Likewise.
19207 * mach/msg-destroy.c: Likewise.
19208 * nss/nss_files/files-netgrp.c: Likewise.
19209 * resolv/res_data.c: Likewise.
19210 * soft-fp/op-1.h: Likewise.
19211 * soft-fp/op-2.h: Likewise.
19212 * soft-fp/op-4.h: Likewise.
19213 * soft-fp/op-common.h: Likewise.
19214 * stdio-common/printf_fphex.c: Likewise.
19215 * stdlib/strtod_l.c: Likewise.
19216 * sunrpc/rpc/clnt.h: Likewise.
19217 * sysdeps/generic/framestate.c: Likewise.
19218 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19219 * sysdeps/i386/bsd-setjmp.S: Likewise.
19220 * sysdeps/i386/__longjmp.S: Likewise.
19221 * sysdeps/i386/setjmp.S: Likewise.
19222 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19223 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19224 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19225 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19226 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19227 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19228 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19229 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19230 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19231 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19232 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19233 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19234 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19235 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19236 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19237 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19238 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19239 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19240 * sysdeps/ieee754/support.c: Likewise.
19241 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19242 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19243 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19244 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19245 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19246 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19247 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19248 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19249 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19250 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19251 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19252 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19253 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19254 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19255 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19256 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19257 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19260 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
19262 * posix/transbug.c: Remove executable mode.
19264 2013-06-05 Joseph Myers <joseph@codesourcery.com>
19266 * crypt/speeds.c: Remove trailing whitespace.
19267 * dlfcn/default.c: Likewise.
19268 * elf/ifuncdep2.c: Likewise.
19269 * elf/ifuncmain1.c: Likewise.
19270 * elf/ifuncmain1vis.c: Likewise.
19271 * elf/testobj.h: Likewise.
19272 * elf/tst-stackguard1.c: Likewise.
19273 * gmon/sys/gmon.h: Likewise.
19274 * hurd/hurdmsg.c: Likewise.
19275 * hurd/new-fd.c: Likewise.
19276 * hurd/ports-get.c: Likewise.
19277 * iconvdata/ibm1008_420.c: Likewise.
19278 * inet/tst-getni1.c: Likewise.
19279 * inet/tst-getni2.c: Likewise.
19280 * libio/ioungetc.c: Likewise.
19281 * libio/wfiledoalloc.c: Likewise.
19282 * manual/libm-err-tab.pl: Likewise.
19283 * math/w_dremf.c: Likewise.
19284 * misc/ftruncate.c: Likewise.
19285 * posix/bug-glob2.c: Likewise.
19286 * posix/tst-pcre.c: Likewise.
19287 * posix/wait4.c: Likewise.
19288 * resolv/README: Likewise.
19289 * resolv/res_debug.h: Likewise.
19290 * resolv/tst-inet_ntop.c: Likewise.
19291 * setjmp/bug269-setjmp.c: Likewise.
19292 * soft-fp/extended.h: Likewise.
19293 * soft-fp/op-1.h: Likewise.
19294 * soft-fp/op-2.h: Likewise.
19295 * soft-fp/op-4.h: Likewise.
19296 * soft-fp/op-8.h: Likewise.
19297 * soft-fp/testit.c: Likewise.
19298 * stdio-common/bug16.c: Likewise.
19299 * stdlib/random.c: Likewise.
19300 * sunrpc/rpcsvc/rquota.x: Likewise.
19301 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19302 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19303 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19304 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19305 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19306 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19307 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19308 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19309 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19310 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19311 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19312 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19313 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19314 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19315 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19316 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19317 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19318 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19319 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19320 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19321 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19322 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19323 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19324 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19325 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19326 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19327 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19328 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19329 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19330 * sysdeps/ieee754/s_lib_version.c: Likewise.
19331 * sysdeps/mach/hurd/check_fds.c: Likewise.
19332 * sysdeps/mach/hurd/getsockname.c: Likewise.
19333 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19334 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19335 * sysdeps/powerpc/bits/link.h: Likewise.
19336 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19337 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19338 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19339 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19340 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19341 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19342 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19343 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19344 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19345 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19346 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19347 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19348 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19349 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19350 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19351 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19352 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19353 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19354 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19355 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19356 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19357 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19358 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19359 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19360 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19361 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19362 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19363 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19364 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19365 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19366 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19367 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19368 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19369 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19370 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19371 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19372 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19373 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19374 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19375 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19376 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19377 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19378 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19379 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19380 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19381 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19382 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19383 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19384 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19385 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19386 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19387 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19388 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19389 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19390 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19391 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19392 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19393 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19394 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19395 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19396 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19397 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19398 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19399 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19400 * sysdeps/powerpc/sysdep.h: Likewise.
19401 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19402 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19403 * sysdeps/sh/dl-trampoline.S: Likewise.
19404 * sysdeps/sh/memset.S: Likewise.
19405 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19406 * sysdeps/sh/strlen.S: Likewise.
19407 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19408 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19409 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19410 * sysdeps/sparc/sparc32/rem.S: Likewise.
19411 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19412 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19413 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19414 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19415 * sysdeps/sparc/sparc32/urem.S: Likewise.
19416 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19417 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19418 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19419 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19420 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19421 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19422 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19423 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19424 * sysdeps/unix/bsd/times.c: Likewise.
19425 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19426 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19430 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19431 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19432 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19433 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19434 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19435 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19436 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19437 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19438 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19439 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19440 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19441 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19442 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19443 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19444 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19445 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19446 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19447 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19448 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19449 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19450 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19451 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19452 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19453 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19454 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19455 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19456 * sysdeps/x86_64/strcspn.S: Likewise.
19458 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19460 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19461 generated file. Regenerate properly from gen-translit.pl.
19462 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19463 locale/C-translit.h.
19465 2013-06-05 Andreas Schwab <schwab@suse.de>
19468 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19469 week as 6 instead of -1.
19470 * time/tst-strptime.c (day_tests): Add test case.
19472 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19474 * sysdeps/generic/math_private.h
19475 (libc_feholdexcept_setround_53bit): Replace with
19476 libc_feholdsetround_53bit.
19477 (libc_feupdateenv_53bit): Replace with
19478 libc_feresetround_53bit.
19479 (SET_RESTORE_ROUND_53BIT): Adjust.
19481 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19483 * string/test-strchrnul.c: Add copyright header.
19485 * posix/tst-getaddrinfo4.c: Increase test timeout.
19487 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19490 * math/libm-test.inc (MAX_EXP): Remove
19492 (ulp): Use MIN_EXP - MANT_DIG.
19493 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19495 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19497 * po/be.po: Revert last change.
19498 * po/zh_CN.po: Likewise.
19499 * po/header.pot: Likewise.
19501 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19503 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19504 link-libc-deps to empty as target-specific variable.
19505 * Makerules (link-libc-args): New variable.
19506 (libc-for-link): Likewise.
19507 (link-libc-deps): Likewise.
19508 (lib%.so): Depend on $(link-libc-deps). Link with
19510 (build-module): Link with $(link-libc-args).
19511 (build-module-asneeded): Likewise.
19512 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19514 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19515 target-specific variable.
19516 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19517 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19518 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19520 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19522 ($(objpfx)libpcprofile.so): Likewise.
19523 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19525 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19526 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19527 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19529 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19530 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19531 * login/Makefile ($(objpfx)libutil.so): Likewise.
19532 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19533 * math/Makefile ($(objpfx)libm.so): Likewise.
19534 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19535 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19536 variable instead of depending directly on libc.
19537 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19538 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19540 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19542 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19543 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19544 ($(objpfx)libanl.so): Likewise.
19545 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19547 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19549 * sysdeps/i386/fpu/Makefile: Remove file.
19550 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19551 ($(objpfx)libm.so): Remove dependency on ld.so.
19553 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19556 * nis/yp_xdr.c (XDRMAXNAME): Define.
19557 (XDRMAXRECORD): Define.
19558 (xdr_domainname): Use XDRMAXNAME.
19559 (xdr_mapname): Likewise.
19560 (xdr_peername): Likewise.
19561 (xdr_keydat): Use XDRMAXRECORD.
19562 (xdr_valdat): Likewise.
19564 2013-05-30 Jeff Law <law@redhat.com>
19567 * manual/errno.texi (ESTALE): Update to account for more than
19568 just NFS file systems.
19569 * sysdeps/gnu/errlist.c: Regenerated.
19571 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19574 * elf/Makefile (tests): Add tst-null-argv.
19575 (modules-names): Add tst-null-argv-lib.
19576 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19577 (tst-null-argv-ENV): Set environment for tst-null-argv.
19578 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19579 (RTLD_PROGNAME): New macro.
19580 * elf/tst-null-argv.c: New test case.
19581 * elf/tst-null-argv-lib.c: Library for test case.
19582 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19583 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19584 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19585 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19586 * elf/dl-init.c (call_init): Likewise.
19587 (_dl_init): Likewise.
19588 * elf/dl-load.c (print_search_path): Likewise.
19589 (_dl_map_object): Likewise.
19590 * elf/dl-lookup.c (do_lookup_x): Likewise.
19591 (add_dependency): Likewise.
19592 (_dl_lookup_symbol_x): Likewise.
19593 (_dl_debug_bindings): Likewise.
19594 * elf/dl-open.c (_dl_show_scope): Likewise.
19595 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19596 * elf/dl-version.c (match_symbol): Likewise.
19597 (_dl_check_map_versions): Likewise.
19598 * elf/rtld.c (dl_main): Likewise.
19599 (print_unresolved): Use RTLD_PROGNAME.
19600 (print_missing_version): Likewise.
19601 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19602 (elf_machine_rela): Likewise.
19603 * sysdeps/powerpc/powerpc32/dl-machine.c
19604 (__process_machine_rela): Likewise.
19605 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19607 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19609 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19611 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19612 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19614 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19616 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19618 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19620 * po/be.po: Add descriptive title.
19621 * po/zh_CN.po: Likewise.
19622 * po/header.pot: Likewise.
19624 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19626 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19628 (enlarge_archive): Likewise.
19630 2013-05-28 Ben North <ben@redfrontdoor.org>
19632 * manual/arith.texi (frexp): It is the magnitude of the return
19633 value which lies in [0.5, 1), not the return value itself.
19635 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19639 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19641 * stdio-common/bug26.c (main): Correct fscanf template.
19643 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19644 declare _dl_skip_args.
19646 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19649 * manual/platform.texi: Add missing @end deftypefun.
19651 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19654 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19655 bit of mantissa of 2^16382.
19656 * math/libm-test.inc (hypot_test_data): Add more tests.
19658 * math/libm-test.inc: Add drem and pow10 to list of tested
19660 (pow10_test): New function.
19661 (drem_test): Likewise.
19662 (drem_test_tonearest): Likewise.
19663 (drem_test_towardzero): Likewise.
19664 (drem_test_downward): Likewise.
19665 (drem_test_upward): Likewise.
19666 (main): Call the new functions.
19668 * math/libm-test.inc (finite_test_data): Remove.
19669 (finite_test): Run tests from isfinite_test_data.
19670 (gamma_test_data): Remove.
19671 (gamma_test): Run tests from lgamma_test_data.
19672 * sysdeps/i386/fpu/libm-test-ulps: Update.
19673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19675 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19677 * manual/platform.texi: Add PowerPC PPR function set documentation.
19678 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19681 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19683 * math/libm-test.inc (MAX_EXP): Define.
19685 (ulp): New function.
19686 (check_float_internal): Use ULPDIFF.
19687 (cpow_test): Disable failing test.
19688 (check_ulp): Test ulp() implemetnation.
19689 (main): Call check_ulp before starting tests.
19691 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19693 * math/gen-libm-test.pl (generate_testfile): Do not handle
19694 START_DATA and END_DATA.
19695 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19697 (acos_tonearest_test_data): Likewise.
19698 (acos_towardzero_test_data): Likewise.
19699 (acos_downward_test_data): Likewise.
19700 (acos_upward_test_data): Likewise.
19701 (acosh_test_data): Likewise.
19702 (asin_test_data): Likewise.
19703 (asin_tonearest_test_data): Likewise.
19704 (asin_towardzero_test_data): Likewise.
19705 (asin_downward_test_data): Likewise.
19706 (asin_upward_test_data): Likewise.
19707 (asinh_test_data): Likewise.
19708 (atan_test_data): Likewise.
19709 (atanh_test_data): Likewise.
19710 (atan2_test_data): Likewise.
19711 (cabs_test_data): Likewise.
19712 (cacos_test_data): Likewise.
19713 (cacosh_test_data): Likewise.
19714 (carg_test_data): Likewise.
19715 (casin_test_data): Likewise.
19716 (casinh_test_data): Likewise.
19717 (catan_test_data): Likewise.
19718 (catanh_test_data): Likewise.
19719 (cbrt_test_data): Likewise.
19720 (ccos_test_data): Likewise.
19721 (ccosh_test_data): Likewise.
19722 (ceil_test_data): Likewise.
19723 (cexp_test_data): Likewise.
19724 (cimag_test_data): Likewise.
19725 (clog_test_data): Likewise.
19726 (clog10_test_data): Likewise.
19727 (conj_test_data): Likewise.
19728 (copysign_test_data): Likewise.
19729 (cos_test_data): Likewise.
19730 (cos_tonearest_test_data): Likewise.
19731 (cos_towardzero_test_data): Likewise.
19732 (cos_downward_test_data): Likewise.
19733 (cos_upward_test_data): Likewise.
19734 (cosh_test_data): Likewise.
19735 (cosh_tonearest_test_data): Likewise.
19736 (cosh_towardzero_test_data): Likewise.
19737 (cosh_downward_test_data): Likewise.
19738 (cosh_upward_test_data): Likewise.
19739 (cpow_test_data): Likewise.
19740 (cproj_test_data): Likewise.
19741 (creal_test_data): Likewise.
19742 (csin_test_data): Likewise.
19743 (csinh_test_data): Likewise.
19744 (csqrt_test_data): Likewise.
19745 (ctan_test_data): Likewise.
19746 (ctan_tonearest_test_data): Likewise.
19747 (ctan_towardzero_test_data): Likewise.
19748 (ctan_downward_test_data): Likewise.
19749 (ctan_upward_test_data): Likewise.
19750 (ctanh_test_data): Likewise.
19751 (ctanh_tonearest_test_data): Likewise.
19752 (ctanh_towardzero_test_data): Likewise.
19753 (ctanh_downward_test_data): Likewise.
19754 (ctanh_upward_test_data): Likewise.
19755 (erf_test_data): Likewise.
19756 (erfc_test_data): Likewise.
19757 (exp_test_data): Likewise.
19758 (exp_tonearest_test_data): Likewise.
19759 (exp_towardzero_test_data): Likewise.
19760 (exp_downward_test_data): Likewise.
19761 (exp_upward_test_data): Likewise.
19762 (exp10_test_data): Likewise.
19763 (exp2_test_data): Likewise.
19764 (expm1_test_data): Likewise.
19765 (fabs_test_data): Likewise.
19766 (fdim_test_data): Likewise.
19767 (finite_test_data): Likewise.
19768 (floor_test_data): Likewise.
19769 (fma_test_data): Likewise.
19770 (fma_towardzero_test_data): Likewise.
19771 (fma_downward_test_data): Likewise.
19772 (fma_upward_test_data): Likewise.
19773 (fmax_test_data): Likewise.
19774 (fmin_test_data): Likewise.
19775 (fmod_test_data): Likewise.
19776 (fpclassify_test_data): Likewise.
19777 (frexp_test_data): Likewise.
19778 (gamma_test_data): Likewise.
19779 (hypot_test_data): Likewise.
19780 (ilogb_test_data): Likewise.
19781 (isfinite_test_data): Likewise.
19782 (isgreater_test_data): Likewise.
19783 (isgreaterequal_test_data): Likewise.
19784 (isinf_test_data): Likewise.
19785 (isless_test_data): Likewise.
19786 (islessequal_test_data): Likewise.
19787 (islessgreater_test_data): Likewise.
19788 (isnan_test_data): Likewise.
19789 (isnormal_test_data): Likewise.
19790 (issignaling_test_data): Likewise.
19791 (isunordered_test_data): Likewise.
19792 (j0_test_data): Likewise.
19793 (j1_test_data): Likewise.
19794 (jn_test_data): Likewise.
19795 (ldexp_test_data): Likewise.
19796 (lgamma_test_data): Likewise.
19797 (lrint_test_data): Likewise.
19798 (lrint_tonearest_test_data): Likewise.
19799 (lrint_towardzero_test_data): Likewise.
19800 (lrint_downward_test_data): Likewise.
19801 (lrint_upward_test_data): Likewise.
19802 (llrint_test_data): Likewise.
19803 (llrint_tonearest_test_data): Likewise.
19804 (llrint_towardzero_test_data): Likewise.
19805 (llrint_downward_test_data): Likewise.
19806 (llrint_upward_test_data): Likewise.
19807 (log_test_data): Likewise.
19808 (log10_test_data): Likewise.
19809 (log1p_test_data): Likewise.
19810 (log2_test_data): Likewise.
19811 (logb_test_data): Likewise.
19812 (logb_downward_test_data): Likewise.
19813 (lround_test_data): Likewise.
19814 (llround_test_data): Likewise.
19815 (modf_test_data): Likewise.
19816 (nearbyint_test_data): Likewise.
19817 (nextafter_test_data): Likewise.
19818 (nexttoward_test_data): Likewise.
19819 (pow_test_data): Likewise.
19820 (pow_tonearest_test_data): Likewise.
19821 (pow_towardzero_test_data): Likewise.
19822 (pow_downward_test_data): Likewise.
19823 (pow_upward_test_data): Likewise.
19824 (remainder_test_data): Likewise.
19825 (remainder_tonearest_test_data): Likewise.
19826 (remainder_towardzero_test_data): Likewise.
19827 (remainder_downward_test_data): Likewise.
19828 (remainder_upward_test_data): Likewise.
19829 (remquo_test_data): Likewise.
19830 (rint_test_data): Likewise.
19831 (rint_tonearest_test_data): Likewise.
19832 (rint_towardzero_test_data): Likewise.
19833 (rint_downward_test_data): Likewise.
19834 (rint_upward_test_data): Likewise.
19835 (round_test_data): Likewise.
19836 (scalb_test_data): Likewise.
19837 (scalbn_test_data): Likewise.
19838 (scalbln_test_data): Likewise.
19839 (signbit_test_data): Likewise.
19840 (sin_test_data): Likewise.
19841 (sin_tonearest_test_data): Likewise.
19842 (sin_towardzero_test_data): Likewise.
19843 (sin_downward_test_data): Likewise.
19844 (sin_upward_test_data): Likewise.
19845 (sincos_test_data): Likewise.
19846 (sinh_test_data): Likewise.
19847 (sinh_tonearest_test_data): Likewise.
19848 (sinh_towardzero_test_data): Likewise.
19849 (sinh_downward_test_data): Likewise.
19850 (sinh_upward_test_data): Likewise.
19851 (sqrt_test_data): Likewise.
19852 (tan_test_data): Likewise.
19853 (tan_tonearest_test_data): Likewise.
19854 (tan_towardzero_test_data): Likewise.
19855 (tan_downward_test_data): Likewise.
19856 (tan_upward_test_data): Likewise.
19857 (tanh_test_data): Likewise.
19858 (tgamma_test_data): Likewise.
19859 (trunc_test_data): Likewise.
19860 (y0_test_data): Likewise.
19861 (y1_test_data): Likewise.
19862 (yn_test_data): Likewise.
19863 (significand_test_data): Likewise.
19865 * math/gen-libm-test.pl (@functions): Remove variable.
19866 (generate_testfile): Don't handle START and END lines.
19867 * math/libm-test.inc (START): New macro.
19869 (END_COMPLEX): Likewise.
19870 (acos_test): Use END macro without arguments.
19871 (acos_test_tonearest): Likewise.
19872 (acos_test_towardzero): Likewise.
19873 (acos_test_downward): Likewise.
19874 (acos_test_upward): Likewise.
19875 (acosh_test): Likewise.
19876 (asin_test): Likewise.
19877 (asin_test_tonearest): Likewise.
19878 (asin_test_towardzero): Likewise.
19879 (asin_test_downward): Likewise.
19880 (asin_test_upward): Likewise.
19881 (asinh_test): Likewise.
19882 (atan_test): Likewise.
19883 (atanh_test): Likewise.
19884 (atan2_test): Likewise.
19885 (cabs_test): Likewise.
19886 (cacos_test): Use END_COMPLEX macro without arguments.
19887 (cacosh_test): Likewise.
19888 (carg_test): Use END macro without arguments.
19889 (casin_test): Use END_COMPLEX macro without arguments.
19890 (casinh_test): Likewise.
19891 (catan_test): Likewise.
19892 (catanh_test): Likewise.
19893 (cbrt_test): Use END macro without arguments.
19894 (ccos_test): Use END_COMPLEX macro without arguments.
19895 (ccosh_test): Likewise.
19896 (ceil_test): Use END macro without arguments.
19897 (cexp_test): Use END_COMPLEX macro without arguments.
19898 (cimag_test): Use END macro without arguments.
19899 (clog_test): Use END_COMPLEX macro without arguments.
19900 (clog10_test): Likewise.
19901 (conj_test): Likewise.
19902 (copysign_test): Use END macro without arguments.
19903 (cos_test): Likewise.
19904 (cos_test_tonearest): Likewise.
19905 (cos_test_towardzero): Likewise.
19906 (cos_test_downward): Likewise.
19907 (cos_test_upward): Likewise.
19908 (cosh_test): Likewise.
19909 (cosh_test_tonearest): Likewise.
19910 (cosh_test_towardzero): Likewise.
19911 (cosh_test_downward): Likewise.
19912 (cosh_test_upward): Likewise.
19913 (cpow_test): Use END_COMPLEX macro without arguments.
19914 (cproj_test): Likewise.
19915 (creal_test): Use END macro without arguments.
19916 (csin_test): Use END_COMPLEX macro without arguments.
19917 (csinh_test): Likewise.
19918 (csqrt_test): Likewise.
19919 (ctan_test): Likewise.
19920 (ctan_test_tonearest): Likewise.
19921 (ctan_test_towardzero): Likewise.
19922 (ctan_test_downward): Likewise.
19923 (ctan_test_upward): Likewise.
19924 (ctanh_test): Likewise.
19925 (ctanh_test_tonearest): Likewise.
19926 (ctanh_test_towardzero): Likewise.
19927 (ctanh_test_downward): Likewise.
19928 (ctanh_test_upward): Likewise.
19929 (erf_test): Use END macro without arguments.
19930 (erfc_test): Likewise.
19931 (exp_test): Likewise.
19932 (exp_test_tonearest): Likewise.
19933 (exp_test_towardzero): Likewise.
19934 (exp_test_downward): Likewise.
19935 (exp_test_upward): Likewise.
19936 (exp10_test): Likewise.
19937 (exp2_test): Likewise.
19938 (expm1_test): Likewise.
19939 (fabs_test): Likewise.
19940 (fdim_test): Likewise.
19941 (finite_test): Likewise.
19942 (floor_test): Likewise.
19943 (fma_test): Likewise.
19944 (fma_test_towardzero): Likewise.
19945 (fma_test_downward): Likewise.
19946 (fma_test_upward): Likewise.
19947 (fmax_test): Likewise.
19948 (fmin_test): Likewise.
19949 (fmod_test): Likewise.
19950 (fpclassify_test): Likewise.
19951 (frexp_test): Likewise.
19952 (gamma_test): Likewise.
19953 (hypot_test): Likewise.
19954 (ilogb_test): Likewise.
19955 (isfinite_test): Likewise.
19956 (isgreater_test): Likewise.
19957 (isgreaterequal_test): Likewise.
19958 (isinf_test): Likewise.
19959 (isless_test): Likewise.
19960 (islessequal_test): Likewise.
19961 (islessgreater_test): Likewise.
19962 (isnan_test): Likewise.
19963 (isnormal_test): Likewise.
19964 (issignaling_test): Likewise.
19965 (isunordered_test): Likewise.
19966 (j0_test): Likewise.
19967 (j1_test): Likewise.
19968 (jn_test): Likewise.
19969 (ldexp_test): Likewise.
19970 (lgamma_test): Likewise.
19971 (lrint_test): Likewise.
19972 (lrint_test_tonearest): Likewise.
19973 (lrint_test_towardzero): Likewise.
19974 (lrint_test_downward): Likewise.
19975 (lrint_test_upward): Likewise.
19976 (llrint_test): Likewise.
19977 (llrint_test_tonearest): Likewise.
19978 (llrint_test_towardzero): Likewise.
19979 (llrint_test_downward): Likewise.
19980 (llrint_test_upward): Likewise.
19981 (log_test): Likewise.
19982 (log10_test): Likewise.
19983 (log1p_test): Likewise.
19984 (log2_test): Likewise.
19985 (logb_test): Likewise.
19986 (logb_test_downward): Likewise.
19987 (lround_test): Likewise.
19988 (llround_test): Likewise.
19989 (modf_test): Likewise.
19990 (nearbyint_test): Likewise.
19991 (nextafter_test): Likewise.
19992 (nexttoward_test): Likewise.
19993 (pow_test): Likewise.
19994 (pow_test_tonearest): Likewise.
19995 (pow_test_towardzero): Likewise.
19996 (pow_test_downward): Likewise.
19997 (pow_test_upward): Likewise.
19998 (remainder_test): Likewise.
19999 (remainder_test_tonearest): Likewise.
20000 (remainder_test_towardzero): Likewise.
20001 (remainder_test_downward): Likewise.
20002 (remainder_test_upward): Likewise.
20003 (remquo_test): Likewise.
20004 (rint_test): Likewise.
20005 (rint_test_tonearest): Likewise.
20006 (rint_test_towardzero): Likewise.
20007 (rint_test_downward): Likewise.
20008 (rint_test_upward): Likewise.
20009 (round_test): Likewise.
20010 (scalb_test): Likewise.
20011 (scalbn_test): Likewise.
20012 (scalbln_test): Likewise.
20013 (signbit_test): Likewise.
20014 (sin_test): Likewise.
20015 (sin_test_tonearest): Likewise.
20016 (sin_test_towardzero): Likewise.
20017 (sin_test_downward): Likewise.
20018 (sin_test_upward): Likewise.
20019 (sincos_test): Likewise.
20020 (sinh_test): Likewise.
20021 (sinh_test_tonearest): Likewise.
20022 (sinh_test_towardzero): Likewise.
20023 (sinh_test_downward): Likewise.
20024 (sinh_test_upward): Likewise.
20025 (sqrt_test): Likewise.
20026 (tan_test): Likewise.
20027 (tan_test_tonearest): Likewise.
20028 (tan_test_towardzero): Likewise.
20029 (tan_test_downward): Likewise.
20030 (tan_test_upward): Likewise.
20031 (tanh_test): Likewise.
20032 (tgamma_test): Likewise.
20033 (trunc_test): Likewise.
20034 (y0_test): Likewise.
20035 (y1_test): Likewise.
20036 (yn_test): Likewise.
20037 (significand_test): Likewise.
20039 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
20042 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20044 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20047 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20048 __ppc_mdoio and __ppc_mdoom.
20049 * manual/platform.texi: Document new functions __ppc_yield,
20050 __ppc_mdoio and __ppc_mdoom.
20052 2013-05-22 Carlos O'Donell <carlos@redhat.com>
20054 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20055 (main): Mention "tls" pseudo-hwcap is legacy.
20056 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20058 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20060 * math/gen-libm-test.pl (parse_args): Output only string of
20061 arguments as text for test name, not full call or descriptions of
20062 tests for extra outputs.
20063 (generate_testfile): Do not pass function name to parse_args.
20064 Generate this_func variable from START.
20065 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20067 (struct test_ff_f_data): Likewise.
20068 (test_ff_f_data_nexttoward): Likewise.
20069 (struct test_fi_f_data): Likewise.
20070 (struct test_fl_f_data): Likewise.
20071 (struct test_if_f_data): Likewise.
20072 (struct test_fff_f_data): Likewise.
20073 (struct test_c_f_data): Likewise.
20074 (struct test_f_f1_data): Likewise. Remove field extra_name.
20075 (struct test_fF_f1_data): Likewise.
20076 (struct test_ffI_f1_data): Likewise.
20077 (struct test_c_c_data): Rename test_name field to arg_str.
20078 (struct test_cc_c_data): Likewise.
20079 (struct test_f_i_data): Likewise.
20080 (struct test_ff_i_data): Likewise.
20081 (struct test_f_l_data): Likewise.
20082 (struct test_f_L_data): Likewise.
20083 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20085 (COMMON_TEST_SETUP): New macro.
20086 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20087 (COMMON_TEST_CLEANUP): Likewise.
20088 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20089 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20091 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20092 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20094 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20095 (RUN_TEST_fff_f): Take argument string. Call new setup and
20097 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20098 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20100 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20101 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20103 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20104 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20106 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20107 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20109 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20110 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20112 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20113 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20115 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20116 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20118 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20119 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20121 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20122 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20124 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20125 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20127 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20128 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20130 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20131 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20133 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20134 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20136 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20137 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20139 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20140 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20142 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20144 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20146 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20147 to _sifields.sigfault.
20148 (si_addr_lsb): Define new macro.
20149 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20150 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20151 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20153 2013-05-03 Carlos O'Donell <carlos at redhat.com>
20156 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20158 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20160 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20161 loading the domain.
20163 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20165 * math/gen-libm-test.pl (parse_args): Do not include expected
20166 result in test name.
20167 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20168 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20169 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20170 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20171 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20174 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20176 * benchtests/Makefile: Sort function entries.
20178 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20179 tanh, asinh, acosh, atanh.
20180 * benchtests/acos-inputs: New file.
20181 * benchtests/acosh-inputs: New file.
20182 * benchtests/asin-inputs: New file.
20183 * benchtests/asinh-inputs: New file.
20184 * benchtests/atanh-inputs: New file.
20185 * benchtests/cosh-inputs: New file.
20186 * benchtests/log-inputs: New file.
20187 * benchtests/sinh-inputs: New file.
20188 * benchtests/tanh-inputs: New file.
20190 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20193 * posix/tst-getaddrinfo4.c: New test.
20194 * posix/Makefile (tests): Add it.
20196 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20199 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20200 when no services were used.
20201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20202 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20204 2013-05-21 Andreas Schwab <schwab@suse.de>
20207 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20208 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20210 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20211 redundant variable declarations and reallocation of buffer when
20212 parsing as IPv6 address. Always set NSS status when called from
20213 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20214 buffer too small. Correct computation of needed size.
20215 * nss/Makefile (tests): Add test-digits-dots.
20216 * nss/test-digits-dots.c: New test.
20218 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20220 * benchtests/Makefile: Remove instructions for adding
20222 * benchtests/README: New file to explain how to execute and
20223 enhance the benchmark tests.
20225 2013-05-21 Andreas Schwab <schwab@suse.de>
20228 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20229 * setjmp/tst-sigsetjmp.c: New test.
20231 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20233 * sysdeps/x86_64/memset.S (memset): New implementation.
20234 (__bzero): Likewise.
20235 (__memset_tail): New function.
20237 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20239 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20240 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20241 __memcpy_sse2_unaligned ifunc selection.
20242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20243 Add memcpy-sse2-unaligned.S.
20244 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20245 Add: __memcpy_sse2_unaligned.
20247 2013-05-19 Joseph Myers <joseph@codesourcery.com>
20250 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20251 math_force_eval before restoring floating-point envrionment.
20252 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20253 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20255 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20257 (__nearbyintl): Use math_force_eval before restoring
20258 floating-point environment.
20259 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20261 * math/gen-libm-test.pl (special_functions): Remove.
20262 (parse_args): Don't handle TEST_extra. Handle functions with no
20264 * math/libm-test.inc (struct test_sincos_data): Replace with
20265 struct test_fFF_11_data.
20266 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20267 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20268 (sincos_test_data): Change element type to struct
20269 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20270 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20271 RUN_TEST_LOOP_sincos.
20272 * math/README.libm-test: Don't mention special handling of
20273 individual functions.
20274 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20275 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20276 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20277 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20278 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20281 * math/gen-libm-test.pl (get_variable): Remove function.
20282 (parse_args): Don't show pointer parameters to call in test
20283 names. Use "extra output N" in test names for extra outputs
20284 rather than naming variables.
20286 2013-05-18 Joseph Myers <joseph@codesourcery.com>
20289 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20290 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20291 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20293 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20295 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20298 * math/gen-libm-test.pl (@tests): Remove variable.
20299 ($count): Likewise.
20300 (new_test): Remove function.
20301 (show_exceptions): New function.
20302 (special_functions): Use show_exceptions instead of new_test.
20303 (parse_args): Likewise.
20304 (generate_testfile): Pass only function name in generated call to
20305 print_max_error or print_complex_max_error.
20306 (get_ulps): Do not handle complex tests specially.
20307 (output_test): Rename to ...
20308 (get_all_ulps_for_test): ... this. Return a string rather than
20309 printing to a file. Require ulps to be present.
20310 (output_ulps): Generate arrays rather than #defines.
20311 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20312 (struct ulp_data): New type.
20313 (BUILD_COMPLEX_ULP): Remove macro.
20314 (compare_ulp_data): New function.
20315 (find_ulps): Likewise.
20316 (find_test_ulps): Likewise.
20317 (find_function_ulps): Likewise.
20318 (find_complex_function_ulps): Likewise.
20319 (print_max_error): Determine allowed ulps using
20320 find_function_ulps.
20321 (print_complex_max_error): Determine allowed ulps using
20322 find_complex_function_ulps.
20323 (check_float_internal): Determine max ulps using find_test_ulps.
20324 (check_float): Do not take max_ulp parameter. Update call to
20325 check_float_internal.
20326 (check_complex): Likewise.
20327 (check_int): Do not take max_ulp parameter.
20328 (check_long): Likewise.
20329 (check_bool): Likewise.
20330 (check_longlong): Likewise.
20331 (struct test_f_f_data): Remove max_ulp field.
20332 (struct test_ff_f_data): Likewise.
20333 (struct test_ff_f_data_nexttoward): Likewise.
20334 (struct test_fi_f_data): Likewise.
20335 (struct test_fl_f_data): Likewise.
20336 (struct test_if_f_data): Likewise.
20337 (struct test_fff_f_data): Likewise.
20338 (struct test_c_f_data): Likewise.
20339 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20340 (struct test_fF_f1_data): Likewise.
20341 (struct test_ffI_f1_data): Likewise.
20342 (struct test_c_c_data): Remove max_ulp field.
20343 (struct test_cc_c_data): Likewise.
20344 (struct test_f_i_data): Likewise.
20345 (struct test_ff_i_data): Likewise.
20346 (struct test_f_l_data): Likewise.
20347 (struct test_f_L_data): Likewise.
20348 (struct test_sincos_data): Likewise.
20349 (RUN_TEST_f_f): Do not handle ulps.
20350 (RUN_TEST_LOOP_f_f): Likewise.
20351 (RUN_TEST_2_f): Likewise.
20352 (RUN_TEST_LOOP_2_f): Likewise.
20353 (RUN_TEST_fff_f): Likewise.
20354 (RUN_TEST_LOOP_fff_f): Likewise.
20355 (RUN_TEST_c_f): Likewise.
20356 (RUN_TEST_LOOP_c_f): Likewise.
20357 (RUN_TEST_f_f1): Likewise.
20358 (RUN_TEST_LOOP_f_f1): Likewise.
20359 (RUN_TEST_fF_f1): Likewise.
20360 (RUN_TEST_LOOP_fF_f1): Likewise.
20361 (RUN_TEST_fI_f1): Likewise.
20362 (RUN_TEST_LOOP_fI_f1): Likewise.
20363 (RUN_TEST_ffI_f1): Likewise.
20364 (RUN_TEST_LOOP_ffI_f1): Likewise.
20365 (RUN_TEST_c_c): Likewise.
20366 (RUN_TEST_LOOP_c_c): Likewise.
20367 (RUN_TEST_cc_c): Likewise.
20368 (RUN_TEST_LOOP_cc_c): Likewise.
20369 (RUN_TEST_f_i): Likewise.
20370 (RUN_TEST_LOOP_f_i): Likewise.
20371 (RUN_TEST_f_i_tg): Likewise.
20372 (RUN_TEST_LOOP_f_i_tg): Likewise.
20373 (RUN_TEST_ff_i_tg): Likewise.
20374 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20375 (RUN_TEST_f_b): Likewise.
20376 (RUN_TEST_LOOP_f_b): Likewise.
20377 (RUN_TEST_f_b_tg): Likewise.
20378 (RUN_TEST_LOOP_f_b_tg): Likewise.
20379 (RUN_TEST_f_l): Likewise.
20380 (RUN_TEST_LOOP_f_l): Likewise.
20381 (RUN_TEST_f_L): Likewise.
20382 (RUN_TEST_LOOP_f_L): Likewise.
20383 (RUN_TEST_sincos): Likewise.
20384 (RUN_TEST_LOOP_sincos): Likewise.
20386 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20390 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20391 main case of finite arguments, set rounding mode to FE_TONEAREST
20392 and discard exceptions.
20393 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20395 (remainder_tonearest_test_data): New variable.
20396 (remainder_test_tonearest): New function.
20397 (remainder_towardzero_test_data): New variable.
20398 (remainder_test_towardzero): New function.
20399 (remainder_downward_test_data): New variable.
20400 (remainder_test_downward): New function.
20401 (remainder_upward_test_data): New variable.
20402 (remainder_test_upward): New function.
20403 (main): Call the new test functions.
20405 * math/libm-test.inc (struct test_f_f1_data): Remove field
20407 (struct test_fF_f1_data): Likewise.
20408 (struct test_ffI_f1_data): Likewise.
20409 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20410 based on value of EXTRA_EXPECTED.
20411 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20412 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20413 EXTRA_VAR based on value of EXTRA_EXPECTED.
20414 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20415 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20416 EXTRA_VAR based on value of EXTRA_EXPECTED.
20417 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20418 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20419 EXTRA_VAR based on value of EXTRA_EXPECTED.
20420 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20421 * math/gen-libm-test.pl (parse_args): Don't output initializers
20422 for extra output values.
20424 * math/libm-test.inc (check_int): Expect result to be exactly
20425 equal to expected value and do not handle ulps.
20426 (check_long): Likewise.
20427 (check_longlong): Likewise.
20429 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20431 (cimag_test_data): Likewise.
20432 (conj_test_data): Likewise.
20433 (copysign_test_data): Likewise.
20434 (cproj_test_data): Likewise.
20435 (creal_test_data): Likewise.
20436 (fabs_test_data): Likewise.
20437 (fdim_test_data): Likewise.
20438 (finite_test_data): Likewise.
20439 (floor_test_data): Likewise.
20440 (fmax_test_data): Likewise.
20441 (fmin_test_data): Likewise.
20442 (fmod_test_data): Likewise.
20443 (fpclassify_test_data): Likewise.
20444 (frexp_test_data): Likewise.
20445 (ilogb_test_data): Likewise.
20446 (isfinite_test_data): Likewise.
20447 (isgreater_test_data): Likewise.
20448 (isgreaterequal_test_data): Likewise.
20449 (isinf_test_data): Likewise.
20450 (isless_test_data): Likewise.
20451 (islessequal_test_data): Likewise.
20452 (islessgreater_test_data): Likewise.
20453 (isnan_test_data): Likewise.
20454 (isnormal_test_data): Likewise.
20455 (issignaling_test_data): Likewise.
20456 (isunordered_test_data): Likewise.
20457 (ldexp_test_data): Likewise.
20458 (lrint_test_data): Likewise.
20459 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20460 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20461 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20462 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20463 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20464 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20466 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20467 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20468 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20469 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20471 (lrint_downward_test_data): Test for "inexact" exceptions.
20472 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20473 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20474 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20476 (lrint_upward_test_data): Test for "inexact" exceptions.
20477 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20479 (llrint_test_data): Test for "inexact" exceptions.
20480 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20481 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20482 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20483 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20484 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20485 (llrint_downward_test_data): Test for "inexact" exceptions.
20486 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20487 (llrint_upward_test_data): Test for "inexact" exceptions.
20488 (logb_test_data): Likewise.
20489 (logb_downward_test_data): Likewise.
20490 (nextafter_test_data): Likewise.
20491 (nexttoward_test_data): Likewise.
20492 (remainder_test_data): Likewise.
20493 (remquo_test_data): Likewise.
20494 (scalbn_test_data): Likewise.
20495 (scalbln_test_data): Likewise.
20496 (signbit_test_data): Likewise.
20497 (sqrt_test_data): Likewise.
20498 (significand_test_data): Likewise.
20500 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20503 * benchtests/bench-modf.c (struct args): Mark arg0 as
20505 * scripts/bench.pl: Mark members of struct args as volatile.
20507 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20510 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20511 negative infinity on POWER6 or lower.
20512 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20514 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20517 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20518 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20519 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20520 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20521 (_FP_SETQNAN): New macro.
20522 (_FP_SETQNAN_SEMIRAW): Likewise.
20523 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20524 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20525 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20526 (FP_EXTEND): Use _FP_FRAC_SNANP.
20527 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20528 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20530 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20532 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20535 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20537 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20538 with DIVIDE_BY_ZERO_EXCEPTION.
20539 (gamma_test_data): Likewise.
20540 (lgamma_test_data): Likewise.
20541 (log_test_data): Likewise.
20542 (log10_test_data): Likewise.
20543 (log2_test_data): Likewise.
20544 (tgamma_test_data): Likewise.
20546 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20547 (acos_test_tonearest): Likewise.
20548 (acos_test_towardzero): Likewise.
20549 (acos_test_downward): Likewise.
20550 (acos_test_upward): Likewise.
20551 (acosh_test): Likewise.
20552 (asin_test): Likewise.
20553 (asin_test_tonearest): Likewise.
20554 (asin_test_towardzero): Likewise.
20555 (asin_test_downward): Likewise.
20556 (asin_test_upward): Likewise.
20557 (asinh_test): Likewise.
20558 (atan_test): Likewise.
20559 (atanh_test): Likewise.
20560 (atan2_test): Likewise.
20561 (cabs_test): Likewise.
20562 (cacos_test): Likewise.
20563 (cacosh_test): Likewise.
20564 (casin_test): Likewise.
20565 (casinh_test): Likewise.
20566 (catan_test): Likewise.
20567 (catanh_test): Likewise.
20568 (cbrt_test): Likewise.
20569 (ccos_test): Likewise.
20570 (ccosh_test): Likewise.
20571 (cexp_test): Likewise.
20572 (clog_test): Likewise.
20573 (clog10_test): Likewise.
20574 (cos_test): Likewise.
20575 (cos_test_tonearest): Likewise.
20576 (cos_test_towardzero): Likewise.
20577 (cos_test_downward): Likewise.
20578 (cos_test_upward): Likewise.
20579 (cosh_test): Likewise.
20580 (cosh_test_tonearest): Likewise.
20581 (cosh_test_towardzero): Likewise.
20582 (cosh_test_downward): Likewise.
20583 (cosh_test_upward): Likewise.
20584 (cpow_test): Likewise.
20585 (csin_test): Likewise.
20586 (csinh_test): Likewise.
20587 (csqrt_test): Likewise.
20588 (ctan_test): Likewise.
20589 (ctan_test_tonearest): Likewise.
20590 (ctan_test_towardzero): Likewise.
20591 (ctan_test_downward): Likewise.
20592 (ctan_test_upward): Likewise.
20593 (ctanh_test): Likewise.
20594 (ctanh_test_tonearest): Likewise.
20595 (ctanh_test_towardzero): Likewise.
20596 (ctanh_test_downward): Likewise.
20597 (ctanh_test_upward): Likewise.
20598 (erf_test): Likewise.
20599 (erfc_test): Likewise.
20600 (exp_test): Likewise.
20601 (exp_test_tonearest): Likewise.
20602 (exp_test_towardzero): Likewise.
20603 (exp_test_downward): Likewise.
20604 (exp_test_upward): Likewise.
20605 (exp10_test): Likewise.
20606 (exp2_test): Likewise.
20607 (expm1_test): Likewise.
20608 (fmod_test): Likewise.
20609 (gamma_test): Likewise.
20610 (hypot_test): Likewise.
20611 (j0_test): Likewise.
20612 (j1_test): Likewise.
20613 (jn_test): Likewise.
20614 (lgamma_test): Likewise.
20615 (log_test): Likewise.
20616 (log10_test): Likewise.
20617 (log1p_test): Likewise.
20618 (log2_test): Likewise.
20619 (logb_test_downward): Likewise.
20620 (pow_test): Likewise.
20621 (pow_test_tonearest): Likewise.
20622 (pow_test_towardzero): Likewise.
20623 (pow_test_downward): Likewise.
20624 (pow_test_upward): Likewise.
20625 (remainder_test): Likewise.
20626 (remquo_test): Likewise.
20627 (sin_test): Likewise.
20628 (sin_test_tonearest): Likewise.
20629 (sin_test_towardzero): Likewise.
20630 (sin_test_downward): Likewise.
20631 (sin_test_upward): Likewise.
20632 (sincos_test): Likewise.
20633 (sinh_test): Likewise.
20634 (sinh_test_tonearest): Likewise.
20635 (sinh_test_towardzero): Likewise.
20636 (sinh_test_downward): Likewise.
20637 (sinh_test_upward): Likewise.
20638 (sqrt_test): Likewise.
20639 (tan_test): Likewise.
20640 (tan_test_tonearest): Likewise.
20641 (tan_test_towardzero): Likewise.
20642 (tan_test_downward): Likewise.
20643 (tan_test_upward): Likewise.
20644 (tanh_test): Likewise.
20645 (tgamma_test): Likewise.
20646 (y0_test): Likewise.
20647 (y1_test): Likewise.
20648 (yn_test): Likewise.
20650 * math/gen-libm-test.pl (adjust_arg): Remove function.
20651 (special_function): Remove argument $in_func. Only handle
20652 generating output for tables of tests, not inside functions.
20653 (parse_args): Likewise.
20654 (generate_testfile): Remove variable $in_func. Update call to
20656 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20657 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20658 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20659 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20660 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20661 (MAX_VALUE_INIT): Rename macro to max_value.
20662 (MIN_VALUE_INIT): Rename macro to min_value.
20663 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20664 (plus_zero): Remove variable.
20665 (minus_zero): Likewise.
20666 (plus_infty): Likewise.
20667 (minus_infty): Likewise.
20668 (qnan_value): Likewise.
20669 (max_value): Likewise.
20670 (min_value): Likewise.
20671 (min_subnorm_value): Likewise.
20673 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20675 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20676 uint64_t or uint32_t usage.
20677 * crypt/sha256-block.c: Likewise.
20678 * crypt/sha256-crypt.c: Likewise.
20679 * crypt/sha256.c: Likewise.
20680 * crypt/sha512-block.c: Likewise.
20681 * crypt/sha512-crypt.c: Likewise.
20682 * crypt/sha512.c: Likewise.
20683 * debug/backtrace-tst.c: Likewise.
20684 * debug/pcprofiledump.c: Likewise.
20685 * elf/cache.c: Likewise.
20686 * elf/dl-cache.c: Likewise.
20687 * elf/dl-misc.c: Likewise.
20688 * elf/dl-profile.c: Likewise.
20689 * elf/dl-support.c: Likewise.
20690 * elf/ldconfig.c: Likewise.
20691 * elf/sprof.c: Likewise.
20692 * iconv/dummy-repertoire.c: Likewise.
20693 * iconv/iconv_charmap.c: Likewise.
20694 * iconv/skeleton.c: Likewise.
20695 * iconvdata/8bit-generic.c: Likewise.
20696 * iconvdata/cp737.h: Likewise.
20697 * iconvdata/cp775.h: Likewise.
20698 * iconvdata/ibm1008.h: Likewise.
20699 * iconvdata/ibm1025.h: Likewise.
20700 * iconvdata/ibm1046.h: Likewise.
20701 * iconvdata/ibm1097.h: Likewise.
20702 * iconvdata/ibm1112.h: Likewise.
20703 * iconvdata/ibm1122.h: Likewise.
20704 * iconvdata/ibm1123.h: Likewise.
20705 * iconvdata/ibm1124.h: Likewise.
20706 * iconvdata/ibm1129.h: Likewise.
20707 * iconvdata/ibm1130.h: Likewise.
20708 * iconvdata/ibm1132.h: Likewise.
20709 * iconvdata/ibm1133.h: Likewise.
20710 * iconvdata/ibm1137.h: Likewise.
20711 * iconvdata/ibm1140.h: Likewise.
20712 * iconvdata/ibm1141.h: Likewise.
20713 * iconvdata/ibm1142.h: Likewise.
20714 * iconvdata/ibm1143.h: Likewise.
20715 * iconvdata/ibm1144.h: Likewise.
20716 * iconvdata/ibm1145.h: Likewise.
20717 * iconvdata/ibm1146.h: Likewise.
20718 * iconvdata/ibm1147.h: Likewise.
20719 * iconvdata/ibm1148.h: Likewise.
20720 * iconvdata/ibm1149.h: Likewise.
20721 * iconvdata/ibm1153.h: Likewise.
20722 * iconvdata/ibm1154.h: Likewise.
20723 * iconvdata/ibm1155.h: Likewise.
20724 * iconvdata/ibm1156.h: Likewise.
20725 * iconvdata/ibm1157.h: Likewise.
20726 * iconvdata/ibm1158.h: Likewise.
20727 * iconvdata/ibm1160.h: Likewise.
20728 * iconvdata/ibm1161.h: Likewise.
20729 * iconvdata/ibm1162.h: Likewise.
20730 * iconvdata/ibm1163.h: Likewise.
20731 * iconvdata/ibm1164.h: Likewise.
20732 * iconvdata/ibm1166.h: Likewise.
20733 * iconvdata/ibm1167.h: Likewise.
20734 * iconvdata/ibm12712.h: Likewise.
20735 * iconvdata/ibm1390.h: Likewise.
20736 * iconvdata/ibm1399.h: Likewise.
20737 * iconvdata/ibm16804.h: Likewise.
20738 * iconvdata/ibm4517.h: Likewise.
20739 * iconvdata/ibm4899.h: Likewise.
20740 * iconvdata/ibm4909.h: Likewise.
20741 * iconvdata/ibm4971.h: Likewise.
20742 * iconvdata/ibm5347.h: Likewise.
20743 * iconvdata/ibm803.h: Likewise.
20744 * iconvdata/ibm856.h: Likewise.
20745 * iconvdata/ibm901.h: Likewise.
20746 * iconvdata/ibm902.h: Likewise.
20747 * iconvdata/ibm9030.h: Likewise.
20748 * iconvdata/ibm9066.h: Likewise.
20749 * iconvdata/ibm921.h: Likewise.
20750 * iconvdata/ibm922.h: Likewise.
20751 * iconvdata/ibm9448.h: Likewise.
20752 * iconvdata/isiri-3342.h: Likewise.
20753 * iconvdata/jis0201.h: Likewise.
20754 * include/link.h: Likewise.
20755 * include/netdb.h: Likewise.
20756 * inet/check_native.c: Likewise.
20757 * inet/check_pf.c: Likewise.
20758 * inet/getipv4sourcefilter.c: Likewise.
20759 * inet/getnameinfo.c: Likewise.
20760 * inet/getsourcefilter.c: Likewise.
20761 * inet/htonl.c: Likewise.
20762 * inet/setipv4sourcefilter.c: Likewise.
20763 * inet/setsourcefilter.c: Likewise.
20764 * inet/test-inet6_opt.c: Likewise.
20765 * inet/tst-network.c: Likewise.
20766 * locale/C-collate.c: Likewise.
20767 * locale/C-ctype.c: Likewise.
20768 * locale/C-time.c: Likewise.
20769 * locale/C-translit.h: Likewise.
20770 * locale/loadarchive.c: Likewise.
20771 * locale/programs/3level.h: Likewise.
20772 * locale/programs/charmap.c: Likewise.
20773 * locale/programs/charmap.h: Likewise.
20774 * locale/programs/ld-address.c: Likewise.
20775 * locale/programs/ld-collate.c: Likewise.
20776 * locale/programs/ld-ctype.c: Likewise.
20777 * locale/programs/ld-identification.c: Likewise.
20778 * locale/programs/ld-measurement.c: Likewise.
20779 * locale/programs/ld-messages.c: Likewise.
20780 * locale/programs/ld-monetary.c: Likewise.
20781 * locale/programs/ld-name.c: Likewise.
20782 * locale/programs/ld-numeric.c: Likewise.
20783 * locale/programs/ld-paper.c: Likewise.
20784 * locale/programs/ld-telephone.c: Likewise.
20785 * locale/programs/ld-time.c: Likewise.
20786 * locale/programs/linereader.c: Likewise.
20787 * locale/programs/locale.c: Likewise.
20788 * locale/programs/locarchive.c: Likewise.
20789 * locale/programs/locfile.h: Likewise.
20790 * locale/programs/repertoire.c: Likewise.
20791 * locale/programs/simple-hash.c: Likewise.
20792 * locale/programs/simple-hash.h: Likewise.
20793 * malloc/memusage.c: Likewise.
20794 * malloc/memusagestat.c: Likewise.
20795 * nis/nis_defaults.c: Likewise.
20796 * nis/nis_hash.c: Likewise.
20797 * nis/nis_print.c: Likewise.
20798 * nis/nis_xdr.c: Likewise.
20799 * nscd/connections.c: Likewise.
20800 * nscd/hstcache.c: Likewise.
20801 * nscd/nscd_gethst_r.c: Likewise.
20802 * nscd/nscd_getserv_r.c: Likewise.
20803 * nscd/nscd_helper.c: Likewise.
20804 * nscd/servicescache.c: Likewise.
20805 * nss/makedb.c: Likewise.
20806 * nss/nss_db/db-XXX.c: Likewise.
20807 * nss/nss_db/db-initgroups.c: Likewise.
20808 * nss/nss_db/db-netgrp.c: Likewise.
20809 * nss/nss_files/files-network.c: Likewise.
20810 * nss/nss_files/files-parse.c: Likewise.
20811 * posix/bug-regex5.c: Likewise.
20812 * posix/fnmatch_loop.c: Likewise.
20813 * posix/regcomp.c: Likewise.
20814 * posix/regexec.c: Likewise.
20815 * posix/tst-rfc3484-2.c: Likewise.
20816 * posix/tst-rfc3484-3.c: Likewise.
20817 * posix/tst-rfc3484.c: Likewise.
20818 * resolv/nss_dns/dns-canon.c: Likewise.
20819 * resolv/nss_dns/dns-network.c: Likewise.
20820 * resolv/res_init.c: Likewise.
20821 * resolv/res_mkquery.c: Likewise.
20822 * resolv/tst-aton.c: Likewise.
20823 * stdlib/cxa_atexit.c: Likewise.
20824 * stdlib/cxa_finalize.c: Likewise.
20825 * stdlib/gen-fpioconst.c: Likewise.
20826 * stdlib/strtol_l.c: Likewise.
20827 * string/tst-endian.c: Likewise.
20828 * sunrpc/auth_des.c: Likewise.
20829 * sunrpc/clnt_udp.c: Likewise.
20830 * sunrpc/rtime.c: Likewise.
20831 * sunrpc/svcauth_des.c: Likewise.
20832 * sunrpc/xdr.c: Likewise.
20833 * sunrpc/xdr_intXX_t.c: Likewise.
20834 * sunrpc/xdr_rec.c: Likewise.
20835 * sysdeps/generic/ldconfig.h: Likewise.
20836 * sysdeps/generic/ldsodefs.h: Likewise.
20837 * sysdeps/generic/memusage.h: Likewise.
20838 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20839 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20840 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20841 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20842 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20843 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20844 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20845 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20846 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20847 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20848 * sysdeps/posix/getaddrinfo.c: Likewise.
20849 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20850 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20851 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20852 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20853 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20854 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20855 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20856 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20857 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20858 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20859 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20860 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20861 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20862 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20863 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20864 * sysdeps/x86_64/dl-tls.h: Likewise.
20865 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20866 * time/alt_digit.c: Likewise.
20867 * time/era.c: Likewise.
20868 * wcsmbs/tst-c16c32-1.c: Likewise.
20870 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20872 * math/libm-test.inc (struct test_sincos_data): New type.
20873 (RUN_TEST_LOOP_sincos): New macro.
20874 (sincos_test_data): New variable.
20875 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20877 2013-05-16 Richard Henderson <rth@redhat.com>
20879 * math/atest-exp2.c (LIMB64): New macro.
20880 (CONSTSZ): New macro.
20881 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20883 (print_mpn_fp): ... to function scope.
20884 (read_mpn_hex): Remove.
20885 (get_log2): Remove.
20886 (exp2_mpn): Use mp_log2.
20887 (main): Use mp_exp1.
20889 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20891 * math/libm-test.inc: Remove comment about not testing "inexact"
20893 (INEXACT_EXCEPTION): New macro.
20894 (NO_INEXACT_EXCEPTION): Likewise.
20895 (INVALID_EXCEPTION_OK): Update value.
20896 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20897 (OVERFLOW_EXCEPTION_OK): Likewise.
20898 (UNDERFLOW_EXCEPTION_OK): Likewise.
20899 (IGNORE_ZERO_INF_SIGN): Likewise.
20900 (ERRNO_UNCHANGED): Likewise.
20901 (ERRNO_EDOM): Likewise.
20902 (ERRNO_ERANGE): Likewise.
20903 (test_exceptions): Handle testing "inexact" exceptions.
20904 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20905 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20906 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20907 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20909 (rint_towardzero_test_data): Likewise.
20910 (rint_downward_test_data): Likewise.
20911 (rint_upward_test_data): Likewise.
20913 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20914 with OVERFLOW_EXCEPTION.
20915 (exp10_test_data): Likewise.
20916 (exp2_test_data): Likewise.
20917 (expm1_test_data): Likewise.
20918 (lgamma_test_data): Likewise.
20919 (pow_test_data): Likewise.
20920 (tgamma_test_data): Likewise.
20921 (yn_test_data): Remove duplicate test of overflow.
20923 * math/libm-test.inc (struct test_cc_c_data): New type.
20924 (RUN_TEST_LOOP_cc_c): New macro.
20925 (cpow_test_data): New variable.
20926 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20928 * math/libm-test.inc (struct test_f_L_data): New type.
20929 (RUN_TEST_LOOP_f_L): New macro.
20930 (llrint_test_data): New variable.
20931 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20932 (llrint_tonearest_test_data): New variable.
20933 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20934 (llrint_towardzero_test_data): New variable.
20935 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20936 (llrint_downward_test_data): New variable.
20937 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20938 (llrint_upward_test_data): New variable.
20939 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20940 (llround_test_data): New variable.
20941 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20943 2013-05-13 Peter Collingbourne <pcc@google.com>
20945 * math/atest-exp2.c (get_log2): Remove const attribute.
20947 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20949 * math/libm-test.inc (struct test_f_l_data): New type.
20950 (RUN_TEST_LOOP_f_l): New macro.
20951 (lrint_test_data): New variable.
20952 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20953 (lrint_tonearest_test_data): New variable.
20954 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20955 (lrint_towardzero_test_data): New variable.
20956 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20957 (lrint_downward_test_data): New variable.
20958 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20959 (lrint_upward_test_data): New variable.
20960 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20961 (lround_test_data): New variable.
20962 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20964 2013-05-15 Peter Collingbourne <pcc@google.com>
20966 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20967 (EXTRACT_WORDS64) Use where appropriate.
20968 (INSERT_WORDS64) Likewise.
20970 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20971 constraints with x constraints.
20972 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20974 * malloc/obstack.c (_obstack_compat): Add initializer.
20976 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20978 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20979 si_trapno and add si_addr_lsb to _sifields.sigfault.
20980 (si_trapno): Remove macro.
20981 (si_addr_lsb): Define new macro.
20982 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20984 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20986 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20987 instead of TEST_f_l.
20988 (llrint_test_tonearest): Likewise.
20989 (llrint_test_towardzero): Likewise.
20990 (llrint_test_downward): Likewise.
20991 (llrint_test_upward): Likewise.
20992 (llround_test): Likewise.
20994 * math/libm-test.inc (struct test_f_i_data): Add comment.
20995 (RUN_TEST_LOOP_f_b): New macro.
20996 (RUN_TEST_LOOP_f_b_tg): Likewise.
20997 (finite_test_data): New variable.
20998 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20999 (isfinite_test_data): New variable.
21000 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21001 (isinf_test_data): New variable.
21002 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21003 (isnan_test_data): New variable.
21004 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21005 (isnormal_test_data): New variable.
21006 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21007 (issignaling_test_data): New variable.
21008 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21009 (signbit_test_data): New variable.
21010 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21012 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21013 with INVALID_EXCEPTION.
21014 (acosh_test_data): Likewise.
21015 (asin_test_data): Likewise.
21016 (atanh_test_data): Likewise.
21017 (fmod_test_data): Likewise.
21018 (log_test_data): Likewise.
21019 (log10_test_data): Likewise.
21020 (log2_test_data): Likewise.
21021 (pow_test_data): Likewise.
21022 (sqrt_test_data): Likewise.
21023 (y0_test_data): Likewise.
21024 (y1_test_data): Likewise.
21025 (yn_test_data): Likewise.
21027 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21030 * math/libm-test.inc (struct test_ff_i_data): New type.
21031 (RUN_TEST_LOOP_ff_i_tg): New macro.
21032 (isgreater_test_data): New variable.
21033 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21034 (isgreaterequal_test_data): New variable.
21035 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21036 (isless_test_data): New variable.
21037 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21038 (islessequal_test_data): New variable.
21039 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21040 (islessgreater_test_data): New variable.
21041 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21042 (isunordered_test_data): New variable.
21043 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21045 2013-05-14 David S. Miller <davem@davemloft.net>
21047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21049 2013-05-14 Joseph Myers <joseph@codesourcery.com>
21051 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21053 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21055 (struct test_f_i_data): Change type of max_ulp to int.
21057 * math/libm-test.inc (test_ffI_f1_data): New type.
21058 (RUN_TEST_LOOP_ffI_f1): New macro.
21059 (remquo_test_data): New variable.
21060 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21062 * setjmp/tst-setjmp-fp.c: New file.
21063 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21064 (link-libm): New variable.
21065 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21067 * math/libm-test.inc (struct test_f_i_data): New type.
21068 (RUN_TEST_LOOP_f_i): New macro.
21069 (RUN_TEST_LOOP_f_i_tg): Likewise.
21070 (fpclassify_test_data): New variable.
21071 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21072 (ilogb_test_data): New variable.
21073 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21075 * math/libm-test.inc (scalbln_test): Correct function name in END
21078 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21079 (RUN_TEST_LOOP_fI_f1): New macro.
21080 (frexp_test_data): New variable.
21081 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21083 * math/libm-test.inc (struct test_fF_f1_data): New type.
21084 (RUN_TEST_LOOP_fF_f1): New macro.
21085 (modf_test_data): New variable.
21086 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21088 * math/libm-test.inc (struct test_f_f1_data): New type.
21089 (RUN_TEST_LOOP_f_f1): New macro.
21090 (gamma_test_data): New variable.
21091 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21092 (lgamma_test_data): New variable.
21093 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21095 2013-05-13 Carlos O'Donell <carlos@redhat.com>
21097 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21098 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21099 (main): Comment "tls" pseudo-hwcap.
21101 2013-05-13 Joseph Myers <joseph@codesourcery.com>
21103 * math/libm-test.inc (struct test_fl_f_data): New type.
21104 (RUN_TEST_LOOP_fl_f): New variable.
21105 (scalbln_test_data): New variable.
21106 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21108 * math/libm-test.inc (struct test_fi_f_data): New type.
21109 (RUN_TEST_LOOP_fi_f): New macro.
21110 (ldexp_test_data): New variable.
21111 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21112 (scalbn_test_data): New variable.
21113 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21115 * math/libm-test.inc (struct test_c_f_data): New type.
21116 (RUN_TEST_LOOP_c_f): New macro.
21117 (cabs_test_data): New variable.
21118 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21119 (carg_test_data): New variable.
21120 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21121 (cimag_test_data): New variable.
21122 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21123 (creal_test_data): New variable.
21124 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21126 * math/libm-test.inc (struct test_if_f_data): New type.
21127 (RUN_TEST_LOOP_if_f): New macro.
21128 (jn_test_data): New variable.
21129 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21130 (yn_test_data): New variable.
21131 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21133 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21135 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21137 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21138 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21140 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21142 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21143 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21144 (bench-deps): Add bench-timing.h.
21145 * benchtests-bench-skeleton.c: Include bench-timing.h.
21146 (main): Use TIMING_* macros instead of clock_gettime.
21147 * benchtests/bench-timing.h: New file.
21150 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21151 Renamed from _LIB_VERSION.
21152 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21154 2013-05-12 Joseph Myers <joseph@codesourcery.com>
21156 * math/libm-test.inc (struct test_fff_f_data): New type.
21157 (RUN_TEST_LOOP_fff_f): New macro.
21158 (fma_test_data): New variable.
21159 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21160 (fma_towardzero_test_data): New variable.
21161 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21162 (fma_downward_test_data): New variable.
21163 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21164 (fma_upward_test_data): New variable.
21165 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21167 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21168 (struct test_c_c_data): New type.
21169 (RUN_TEST_LOOP_c_c): New macro.
21170 (cacos_test_data): New variable.
21171 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21172 (cacosh_test_data): New variable.
21173 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21174 (casin_test_data): New variable.
21175 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21176 (casinh_test_data): New variable.
21177 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21178 (catan_test_data): New variable.
21179 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21180 (catanh_test_data): New variable.
21181 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21182 (ccos_test_data): New variable.
21183 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21184 (ccosh_test_data): New variable.
21185 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21186 (cexp_test_data): New variable.
21187 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21188 (clog_test_data): New variable.
21189 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21190 (clog10_test_data): New variable.
21191 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21192 (conj_test_data): New variable.
21193 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21194 (cproj_test_data): New variable.
21195 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21196 (csin_test_data): New variable.
21197 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21198 (csinh_test_data): New variable.
21199 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21200 (csqrt_test_data): New variable.
21201 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21202 (ctan_test_data): New variable.
21203 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21204 (ctan_tonearest_test_data): New variable.
21205 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21206 (ctan_towardzero_test_data): New variable.
21207 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21208 (ctan_downward_test_data): New variable.
21209 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21210 (ctan_upward_test_data): New variable.
21211 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21212 (ctanh_test_data): New variable.
21213 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21214 (ctanh_tonearest_test_data): New variable.
21215 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21216 (ctanh_towardzero_test_data): New variable.
21217 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21218 (ctanh_downward_test_data): New variable.
21219 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21220 (ctanh_upward_test_data): New variable.
21221 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21222 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21225 * math/libm-test.inc (struct test_ff_f_data): New type.
21226 (struct test_ff_f_data_nexttoward): Likewise.
21227 (RUN_TEST_LOOP_2_f): New macro.
21228 (RUN_TEST_LOOP_ff_f): Likewise.
21229 (atan2_test_data): New variable.
21230 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21231 (copysign_test_data): New variable.
21232 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21233 (fdim_test_data): New variable.
21234 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21235 (fmax_test_data): New variable.
21236 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21237 (fmin_test_data): New variable.
21238 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21239 (fmod_test_data): New variable.
21240 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21241 (hypot_test_data): New variable.
21242 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21243 (nextafter_test_data): New variable.
21244 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21245 (nexttoward_test_data): New variable.
21246 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21247 (pow_test_data): New variable.
21248 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21249 (pow_tonearest_test_data): New variable.
21250 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21251 (pow_towardzero_test_data): New variable.
21252 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21253 (pow_downward_test_data): New variable.
21254 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21255 (pow_upward_test_data): New variable.
21256 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21257 (remainder_test_data): New variable.
21258 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21259 (scalb_test_data): New variable.
21260 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21261 * sysdeps/i386/fpu/libm-test-ulps: Update.
21263 2013-05-11 Joseph Myers <joseph@codesourcery.com>
21265 * math/libm-test.inc (fma_test): Use max_value instead of local
21267 (nextafter_test): Likewise.
21269 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21270 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21271 (acos_downward_test_data): New variable.
21272 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21273 (acos_upward_test_data): New variable.
21274 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21275 (acosh_test_data): New variable.
21276 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21277 (asin_test_data): New variable.
21278 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21279 (asin_tonearest_test_data): New variable.
21280 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21281 (asin_towardzero_test_data): New variable.
21282 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21283 (asin_downward_test_data): New variable.
21284 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21285 (asin_upward_test_data): New variable.
21286 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21287 (asinh_test_data): New variable.
21288 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21289 (atan_test_data): New variable.
21290 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21291 (atanh_test_data): New variable.
21292 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21293 (cbrt_test_data): New variable.
21294 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21295 (ceil_test_data): New variable.
21296 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21297 (cos_test_data): New variable.
21298 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21299 (cos_tonearest_test_data): New variable.
21300 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21301 (cos_towardzero_test_data): New variable.
21302 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21303 (cos_downward_test_data): New variable.
21304 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21305 (cos_upward_test_data): New variable.
21306 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21307 (cosh_test_data): New variable.
21308 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21309 (cosh_tonearest_test_data): New variable.
21310 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21311 (cosh_towardzero_test_data): New variable.
21312 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21313 (cosh_downward_test_data): New variable.
21314 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21315 (cosh_upward_test_data): New variable.
21316 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21317 (erf_test_data): New variable.
21318 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21319 (erfc_test_data): New variable.
21320 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21321 (exp_test_data): New variable.
21322 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21323 (exp_tonearest_test_data): New variable.
21324 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21325 (exp_towardzero_test_data): New variable.
21326 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21327 (exp_downward_test_data): New variable.
21328 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21329 (exp_upward_test_data): New variable.
21330 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21331 (exp10_test_data): New variable.
21332 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21333 (exp2_test_data): New variable.
21334 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21335 (expm1_test_data): New variable.
21336 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21337 (fabs_test_data): New variable.
21338 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21339 (floor_test_data): New variable.
21340 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21341 (j0_test_data): New variable.
21342 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21343 (j1_test_data): New variable.
21344 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21345 (log_test_data): New variable.
21346 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21347 (log10_test_data): New variable.
21348 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21349 (log1p_test_data): New variable.
21350 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21351 (log2_test_data): New variable.
21352 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21353 (logb_test_data): New variable.
21354 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21355 (logb_downward_test_data): New variable.
21356 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21357 (nearbyint_test_data): New variable.
21358 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21359 (rint_test_data): New variable.
21360 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21361 (rint_tonearest_test_data): New variable.
21362 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21363 (rint_towardzero_test_data): New variable.
21364 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21365 (rint_downward_test_data): New variable.
21366 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21367 (rint_upward_test_data): New variable.
21368 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21369 (round_test_data): New variable.
21370 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21371 (sin_test_data): New variable.
21372 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21373 (sin_tonearest_test_data): New variable.
21374 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21375 (sin_towardzero_test_data): New variable.
21376 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21377 (sin_downward_test_data): New variable.
21378 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21379 (sin_upward_test_data): New variable.
21380 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21381 (sinh_test_data): New variable.
21382 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21383 (sinh_tonearest_test_data): New variable.
21384 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21385 (sinh_towardzero_test_data): New variable.
21386 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21387 (sinh_downward_test_data): New variable.
21388 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21389 (sinh_upward_test_data): New variable.
21390 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21391 (sqrt_test_data): New variable.
21392 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21393 (tan_test_data): New variable.
21394 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21395 (tan_tonearest_test_data): New variable.
21396 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21397 (tan_towardzero_test_data): New variable.
21398 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21399 (tan_downward_test_data): New variable.
21400 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21401 (tan_upward_test_data): New variable.
21402 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21403 (tanh_test_data): New variable.
21404 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21405 (tgamma_test_data): New variable.
21406 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21407 (trunc_test_data): New variable.
21408 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21409 (y0_test_data): New variable.
21410 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21411 (y1_test_data): New variable.
21412 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21413 (significand_test_data): New variable.
21414 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21416 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21419 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21421 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21423 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21425 2013-05-10 Andreas Jaeger <aj@suse.de>
21428 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21429 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21431 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21433 * math/gen-libm-test.pl (adjust_arg): New function.
21434 (special_functions): Handle generating output in both functions
21436 (parse_args): Likewise.
21437 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21438 $in_func argument to parse_args.
21439 * math/libm-test.inc (struct test_f_f_data): New type.
21440 (IF_ROUND_INIT_): New macro.
21441 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21442 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21443 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21444 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21445 (ROUND_RESTORE_): Likewise.
21446 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21447 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21448 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21449 (ROUND_RESTORE_FE_UPWARD): Likewise.
21450 (RUN_TEST_LOOP_f_f): New macro.
21451 (acos_test_data): New variable.
21452 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21453 (acos_tonearest_test_data): New variable.
21454 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21456 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21458 * benchtests/bench-skeleton.c (startup): Fix coding style.
21460 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21463 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21464 negative infinity argument.
21465 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21466 negative infinity argument.
21467 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21468 negative infinity argument.
21469 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21472 2013-05-10 Florian Weimer <fweimer@redhat.com>
21474 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21475 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21476 * iconv/iconv_prog.c (main): Likewise.
21477 * locale/programs/charmap-dir.c (charmap_readdir)
21478 (fopen_uncompressed): Likewise.
21479 * locale/programs/locfile.c (siblings_uncached)
21480 (write_locale_data): Use lstat64 instead of lstat.
21481 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21484 2013-05-10 Andreas Jaeger <aj@suse.de>
21487 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21489 Include <locale.h>.
21491 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21493 * elf/dl-close.c (_dl_close_worker): Add comments.
21495 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21498 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21500 (__ieee754_rem_pio2l): Update comments.
21503 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21505 (__ieee754_rem_pio2l): Update comments.
21507 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21508 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21510 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21513 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21514 (M_PI_34_LOG10El): Likewise.
21515 (M_PI2_LOG10El): Likewise.
21516 (M_PI4_LOG10El): Likewise.
21517 (M_PI_LOG10El): Likewise.
21519 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21523 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21525 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21526 (MINUS_ZERO_INIT): Likewise.
21527 (PLUS_INFTY_INIT): Likewise.
21528 (MINUS_INFTY_INIT): Likewise.
21529 (QNAN_VALUE_INIT): Likewise.
21530 (MAX_VALUE_INIT): Likewise.
21531 (MIN_VALUE_INIT): Likewise.
21532 (MIN_SUBNORM_VALUE_INIT): Likewise.
21533 (plus_zero): Initialize with PLUS_ZERO_INIT.
21534 (minus_zero): Initialize with MINUS_ZERO_INIT.
21535 (plus_infty): Initialize with PLUS_INFTY_INIT.
21536 (minus_infty): Initialize with MINUS_INFTY_INIT.
21537 (qnan_value): Initialize with QNAN_VALUE_INIT.
21538 (max_value): Initialize with MAX_VALUE_INIT.
21539 (min_value): Initialize with MIN_VALUE_INIT.
21540 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21542 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21543 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21544 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21545 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21547 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21548 (RUN_TEST_2_f): Likewise.
21549 (RUN_TEST_ff_f): Likewise.
21550 (RUN_TEST_fi_f): Likewise.
21551 (RUN_TEST_fl_f): Likewise.
21552 (RUN_TEST_fff_f): Likewise.
21553 (RUN_TEST_c_f): Likewise.
21554 (RUN_TEST_f_f1): Likewise.
21555 (RUN_TEST_fF_f1): Likewise.
21556 (RUN_TEST_fI_f1): Likewise.
21557 (RUN_TEST_ffI_f1): Likewise.
21558 (RUN_TEST_c_c): Likewise.
21559 (RUN_TEST_cc_c): Likewise.
21560 (RUN_TEST_f_i): Likewise.
21561 (RUN_TEST_f_i_tg): Likewise.
21562 (RUN_TEST_ff_i_tg): Likewise.
21563 (RUN_TEST_f_b): Likewise.
21564 (RUN_TEST_f_b_tg): Likewise.
21565 (RUN_TEST_f_l): Likewise.
21566 (RUN_TEST_f_L): Likewise.
21567 (RUN_TEST_sincos): Likewise.
21568 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21569 whether to show exceptions. Do not include ");\n" in return
21571 (special_functions): Output call to RUN_TEST_sincos instead of
21572 check_float calls. Update calls to new_test.
21573 (parse_args): Output call to single RUN_TEST_* macro instead of
21574 check_* calls and other assignments. Update calls to new_test.
21580 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21581 input to result for tgamma overflow.
21582 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21583 (gamma_coeff): New variable.
21584 (NCOEFF): New macro.
21585 (gamma_positive): New function.
21586 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21587 underflow here. Use gamma_positive instead of exp (lgamma) for
21589 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21590 (gamma_coeff): New variable.
21591 (NCOEFF): New macro.
21592 (gammaf_positive): New function.
21593 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21594 underflow here. Use gamma_positive instead of exp (lgamma) for
21596 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21597 (gamma_coeff): New variable.
21598 (NCOEFF): New macro.
21599 (gammal_positive): New function.
21600 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21601 underflow here. Use gamma_positive instead of exp (lgamma) for
21603 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21604 (gamma_coeff): New variable.
21605 (NCOEFF): New macro.
21606 (gammal_positive): New function.
21607 (__ieee754_gammal_r): Handle positive infinity, overflow and
21608 underflow here. Handle NaN the same as positive infinity. Remove
21609 check x < 0xffffffff for negative integers. Use gamma_positive
21610 instead of exp (lgamma) for other arguments.
21611 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21612 (gamma_coeff): New variable.
21613 (NCOEFF): New macro.
21614 (gammal_positive): New function.
21615 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21616 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21617 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21618 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21619 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21620 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21621 * sysdeps/generic/math_private.h (__gamma_productf): New
21623 (__gamma_product): Likewise.
21624 (__gamma_productl): Likewise.
21625 * math/Makefile (libm-calls): Add gamma_product.
21626 * math/libm-test.inc (tgamma_test): Add more tests.
21627 * sysdeps/i386/fpu/libm-test-ulps: Update.
21628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21630 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21632 * benchtests/bench-skeleton.c (main): Preheat CPU.
21634 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21636 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21638 2013-05-07 Roland McGrath <roland@hack.frob.com>
21640 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21641 and _dl_skip_args_internal.
21643 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21645 * manual/message.texi (Message Translation): Talk about users.
21646 Message to key mapping impacts design.
21648 2013-05-06 Roland McGrath <roland@hack.frob.com>
21650 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21652 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21654 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21655 * sysdeps/wordsize-64/glob64.c: ... here.
21657 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21658 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21661 * debug/getlogin_r_chk.c: Moved to ...
21662 * login/getlogin_r_chk.c: ... here.
21663 * debug/Makefile (routines): Move getlogin_r_chk to ...
21664 * login/Makefile (routines): ... here.
21665 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21666 * login/Versions (libc: GLIBC_2.4): ... here.
21668 * io/poll.c (__poll): Renamed from poll.
21669 Add libc_hidden_def.
21670 (poll): Define as weak alias.
21672 * debug/ptsname_r_chk.c: Moved to ...
21673 * login/ptsname_r_chk.c: ... here.
21674 * debug/Makefile (routines): Move ptsname_r_chk to ...
21675 * login/Makefile (routines): ... here.
21676 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21677 * login/Versions (libc: GLIBC_2.4): ... here.
21679 * posix/getlogin.c: Moved to ...
21680 * login/getlogin.c: ... here.
21681 * posix/getlogin_r.c: Moved to ...
21682 * login/getlogin_r.c: ... here.
21683 * posix/getlogin_r.c: Moved to ...
21684 * login/getlogin_r.c: ... here.
21685 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21686 * login/Makefile (routines): ... here.
21687 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21688 * login/Versions (libc: GLIBC_2.0): ... here.
21690 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21691 (setrlimit): Define as weak alias.
21693 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21694 Call __ names for open, ftruncate, and close.
21695 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21696 (truncate): Define as weak alias.
21698 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21700 * math/gen-libm-test.pl (parse_args): Initialize x before each
21701 test of frexp, modf and remquo.
21703 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21704 test signgam value.
21706 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21710 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21712 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21714 2013-05-06 Roland McGrath <roland@hack.frob.com>
21716 * elf/dl-writev.h: New file.
21717 * elf/dl-misc.c: Include it.
21718 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21719 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21721 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21723 * math/libm-test.inc (noXFails): Remove variable.
21724 (noXPasses): Likewise.
21725 (BUILD_COMPLEX_INT): Remove macro.
21726 (print_screen): Remove xfail argument.
21727 (print_screen_max_error): Likewise.
21728 (update_stats): Likewise.
21729 (print_max_error): Likewise. Update calls to other affected
21731 (print_complex_max_error): Likewise.
21732 (test_single_exception): Update calls to print_screen.
21733 (test_single_errno): Likewise.
21734 (check_float_internal): Remove xfail argument. Update calls to
21735 other affected functions.
21736 (check_float): Likewise.
21737 (check_complex): Likewise.
21738 (check_int): Likewise.
21739 (check_long): Likewise.
21740 (check_bool): Likewise.
21741 (check_longlong): Likewise.
21742 (main): Don't print noXFails and noXPasses.
21743 * math/gen-libm-test.pl (top level): Don't mention expected
21744 failure handling in comment.
21745 (new_test): Don't handle expected failures.
21746 (parse_args): Don't mention expected failure handling in comment.
21747 (generate_testfile): Don't handle expected failures.
21748 (parse_ulps): Likewise.
21749 (print_ulps_file): Likewise.
21750 (get_failure): Remove function.
21751 (output_test): Don't handle expected failures.
21752 * make/README.libm-test: Don't mention expected failure handling.
21754 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21755 (minus_zero): Likewise.
21756 (plus_infty): Likewise.
21757 (minus_infty): Likewise.
21758 (qnan_value): Likewise.
21759 (max_value): Likewise.
21760 (min_value): Likewise.
21761 (min_subnorm_value): Likewise.
21762 (initialize): Do not initialize those variables dynamically.
21764 2013-05-03 Roland McGrath <roland@hack.frob.com>
21766 * io/open.c (__open_2): Moved to ...
21767 * io/open_2.c: ... this new file.
21768 * io/open64.c (__open64_2): Moved to ...
21769 * io/open64_2.c: ... this new file.
21770 * io/openat.c (__openat_2): Moved to ...
21771 * io/openat_2.c: ... this new file.
21772 * io/openat64.c (__openat64_2): Moved to ...
21773 * io/openat64_2.c: ... this new file.
21774 * io/Makefile (routines): Add them.
21775 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21776 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21777 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21778 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21779 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21780 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21781 (__openat64): Add hidden_ver.
21782 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21783 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21785 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21786 Separately conditionalize setting of GLRO(dl_sysinfo) so
21787 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21788 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21790 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21792 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21793 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21795 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21796 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21797 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21798 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21799 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21801 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21803 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21804 test signgam value.
21806 * math/libm-test.inc (hypot_test): Do not use
21807 IGNORE_ZERO_INF_SIGN.
21809 2013-05-03 Andreas Jaeger <aj@suse.de>
21811 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21813 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21814 (PF_MAX): Adjust for VSOCK change.
21816 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21820 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21823 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21824 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21825 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21827 2013-05-02 David S. Miller <davem@davemloft.net>
21829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21831 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21833 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21835 2013-05-01 Roland McGrath <roland@hack.frob.com>
21837 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21839 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21842 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21843 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21844 Use __attribute__ ((__gnu_inline__)).
21845 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21846 Don't use __attribute__ ((__gnu_inline__)).
21848 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21851 * math/s_catan.c (__catan): Handle small real or imaginary part of
21852 input specially to avoid spurious underflow.
21853 * math/s_catanf.c (__catanf): Likewise.
21854 * math/s_catanh.c (__catanh): Likewise.
21855 * math/s_catanhf.c (__catanhf): Likewise.
21856 * math/s_catanhl.c (__catanhl): Likewise.
21857 * math/s_catanl.c (__catanl): Likewise.
21858 * math/libm-test.inc (catan_test): Add more tests.
21859 (catanh_test): Likewise.
21860 * sysdeps/i386/fpu/libm-test-ulps: Update.
21861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21863 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21867 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21870 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21871 accurately for denominator in atan2.
21872 * math/s_catanf.c (__catanf): Likewise.
21873 * math/s_catanh.c (__catanh): Likewise.
21874 * math/s_catanhf.c (__catanhf): Likewise.
21875 * math/s_catanhl.c (__catanhl): Likewise.
21876 * math/s_catanl.c (__catanl): Likewise.
21877 * math/libm-test.inc (catan_test): Add more tests.
21878 (catanh_test): Likewise.
21879 * sysdeps/i386/fpu/libm-test-ulps: Update.
21880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21882 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21884 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21886 * benchtests/Makefile (bench): Remove slow benchmarks.
21887 * benchtests/atan-inputs: Add slow benchmark inputs.
21888 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21889 (BENCH_FUNC): Accept variant offset.
21891 * benchtests/bench-skeleton.c (main): Run benchmark for each
21893 * benchtests/cos-inputs: Add slow benchmark inputs.
21894 * benchtests/exp-inputs: Likewise.
21895 * benchtests/pow-inputs: Likewise.
21896 * benchtests/sin-inputs: Likewise.
21897 * benchtests/slowatan-inputs: Remove.
21898 * benchtests/slowatan.c: Remove.
21899 * benchtests/slowcos-inputs: Remove.
21900 * benchtests/slowcos.c: Remove.
21901 * benchtests/slowexp-inputs: Remove.
21902 * benchtests/slowexp.c: Remove.
21903 * benchtests/slowpow-inputs: Remove.
21904 * benchtests/slowpow.c: Remove.
21905 * benchtests/slowsin-inputs: Remove.
21906 * benchtests/slowsin.c: Remove.
21907 * benchtests/slowtan-inputs: Remove.
21908 * benchtests/slowtan.c: Remove.
21909 * benchtests/tan-inputs: Add slow benchmark inputs.
21910 * scripts/bench.pl: Parse comments and directives.
21912 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21914 ($(objpfx)bench-%.c): Remove *-ITER.
21915 * benchtests/bench-modf.c: Remove definition of ITER.
21916 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21917 (main): Loop for DURATION seconds instead of fixed number of
21919 * scripts/bench.pl: Don't expect iterations in parameters.
21921 2013-04-29 Roland McGrath <roland@hack.frob.com>
21923 * io/fchdir.c (__fchdir): Renamed from fchdir.
21924 (fchdir): Define as weak alias.
21926 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21928 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21929 (ERRNO_EDOM): Likewise.
21930 (ERRNO_ERANGE): Likewise.
21931 (noErrnoTests): New variable.
21932 (init_max_error): Set errno to 0.
21933 (test_single_errno): New function.
21934 (test_errno): Likewise.
21935 (check_float_internal): Call test_errno. Set errno to 0.
21936 (check_complex): Refer to errno tests in comment.
21937 (check_int): Call test_errno. Set errno to 0.
21938 (check_long): Likewise.
21939 (check_bool): Likewise.
21940 (check_longlong): Likewise.
21941 (cos_test): Use ERRNO_* flags for errno tests instead of
21943 (expm1_test): Likewise.
21944 (fmod_test): Likewise.
21945 (ilogb_test): Likewise.
21946 (lgamma_test): Likewise.
21947 (pow_test): Likewise.
21948 (remainder_test): Likewise.
21949 (sin_test): Likewise.
21950 (tan_test): Likewise.
21951 (yn_test): Likewise.
21952 (initialize): Set errno to 0.
21953 (main): Print number of errno tests.
21954 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21956 2013-04-29 Andreas Jaeger <aj@suse.de>
21959 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21963 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21964 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21968 * stdlib/random.c (__initstate): Return NULL if
21972 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21973 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21976 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21980 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21982 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21983 of individual tests.
21984 (casin_test): Likewise.
21985 (casinh_test): Likewise.
21987 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21990 * math/s_catan.c (__catan): Handle arguments with large real or
21991 imaginary part separately without squaring.
21992 * math/s_catanf.c (__catanf): Likewise.
21993 * math/s_catanh.c (__catanh): Likewise.
21994 * math/s_catanhf.c (__catanhf): Likewise.
21995 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21997 (__catanhl): Handle arguments with large real or imaginary part
21998 separately without squaring.
21999 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22001 (__catanl): Handle arguments with large real or imaginary part
22002 separately without squaring.
22003 * math/libm-test.inc (catan_test): Add more tests.
22004 (catanh_test): Likewise.
22005 * sysdeps/i386/fpu/libm-test-ulps: Update.
22006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22008 2013-04-27 Andreas Jaeger <aj@suse.de>
22011 * stdlib/stdlib.h: Update guards for qecvt.
22012 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22015 2013-04-27 Allan McRae <allan@archlinux.org>
22017 * sysdeps/i386/fpu/libm-test-ulps: Update.
22019 2013-04-26 Joseph Myers <joseph@codesourcery.com>
22022 * math/s_catan.c: Include <float.h>.
22023 (__catan): Ensure underflow exception occurs for underflowed
22025 * math/s_catanf.c: Include <float.h>.
22026 (__catanf): Ensure underflow exception occurs for underflowed
22028 * math/s_catanh.c: Include <float.h>.
22029 (__catanh): Ensure underflow exception occurs for underflowed
22031 * math/s_catanhf.c: Include <float.h>.
22032 (__catanhf): Ensure underflow exception occurs for underflowed
22034 * math/s_catanhl.c: Include <float.h>.
22035 (__catanhl): Ensure underflow exception occurs for underflowed
22037 * math/s_catanl.c: Include <float.h>.
22038 (__catanl): Ensure underflow exception occurs for underflowed
22040 * math/libm-test.inc (catan_test): Add more tests.
22041 (catanh_test): Likewise.
22044 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22045 underflowed result.
22046 * math/s_ccoshf.c (__ccoshf): Likewise.
22047 * math/s_ccoshl.c (__ccoshl): Likewise.
22048 * math/s_csin.c (__csin): Likewise.
22049 * math/s_csinf.c (__csinf): Likewise.
22050 * math/s_csinh.c (__csinh): Likewise.
22051 * math/s_csinhf.c (__csinhf): Likewise.
22052 * math/s_csinhl.c (__csinhl): Likewise.
22053 * math/s_csinl.c (__csinl): Likewise.
22054 * math/libm-test.inc (ccos_test): Add more tests.
22055 (ccosh_test): Likewise.
22056 (csin_test): Likewise.
22057 (csinh_test): Likewise.
22059 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22061 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22062 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22063 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22064 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22065 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22066 powerpc/power5+/fpu folders.
22067 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22070 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22072 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22074 2013-04-25 Joseph Myers <joseph@codesourcery.com>
22076 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22077 additions to variable.
22078 [$(config-machine) = x86_64] (modules-names): Likewise.
22079 ($(objpfx)tst-audit3): Remove dependency.
22080 ($(objpfx)tst-audit3.out): Likewise.
22081 ($(objpfx)tst-audit4): Likewise.
22082 ($(objpfx)tst-audit4.out): Likewise.
22083 ($(objpfx)tst-audit5): Likewise.
22084 ($(objpfx)tst-audit5.out): Likewise.
22085 ($(objpfx)tst-audit6): Likewise.
22086 ($(objpfx)tst-audit6.out): Likewise.
22087 ($(objpfx)tst-audit7): Likewise.
22088 ($(objpfx)tst-audit7.out): Likewise.
22089 (tst-audit3-ENV): Remove variable.
22090 (tst-audit4-ENV): Likewise.
22091 (tst-audit5-ENV): Likewise.
22092 (tst-audit6-ENV): Likewise.
22093 (tst-audit7-ENV): Likewise.
22094 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22095 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22096 addition to variable.
22097 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22098 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22099 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22100 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22101 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22102 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22103 tst-audit3, tst-audit4 and tst-audit5.
22104 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22105 tst-audit6 and tst-audit7.
22106 [$(subdir) = elf] (modules-names): Add audit modules for those
22108 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22109 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22110 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22111 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22112 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22113 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22114 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22115 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22116 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22117 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22118 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22119 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22120 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22121 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22122 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22123 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22125 [$(subdir) = elf && $(config-cflags-avx) = yes]
22126 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22127 [$(subdir) = elf && $(config-cflags-avx) = yes]
22128 (CFLAGS-tst-auditmod4a.c): Likewise.
22129 [$(subdir) = elf && $(config-cflags-avx) = yes]
22130 (CFLAGS-tst-auditmod4b.c): Likewise.
22131 [$(subdir) = elf && $(config-cflags-avx) = yes]
22132 (CFLAGS-tst-auditmod6b.c): Likewise.
22133 [$(subdir) = elf && $(config-cflags-avx) = yes]
22134 (CFLAGS-tst-auditmod6c.c): Likewise.
22135 [$(subdir) = elf && $(config-cflags-avx) = yes]
22136 (CFLAGS-tst-auditmod7b.c): Likewise.
22137 * elf/tst-audit3.c: Move to ...
22138 * sysdeps/x86_64/tst-audit3.c: ... here.
22139 * elf/tst-audit4.c: Move to ...
22140 * sysdeps/x86_64/tst-audit4.c: ... here.
22141 * elf/tst-audit5.c: Move to ...
22142 * sysdeps/x86_64/tst-audit5.c: ... here.
22143 * elf/tst-audit6.c: Move to ...
22144 * sysdeps/x86_64/tst-audit6.c: ... here.
22145 * elf/tst-audit7.c: Move to ...
22146 * sysdeps/x86_64/tst-audit7.c: ... here.
22147 * elf/tst-auditmod3a.c: Move to ...
22148 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22149 * elf/tst-auditmod3b.c: Move to ...
22150 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22151 * elf/tst-auditmod4a.c: Move to ...
22152 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22153 * elf/tst-auditmod4b.c: Move to ...
22154 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22155 * elf/tst-auditmod5a.c: Move to ...
22156 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22157 * elf/tst-auditmod5b.c: Move to ...
22158 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22159 * elf/tst-auditmod6a.c: Move to ...
22160 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22161 * elf/tst-auditmod6b.c: Move to ...
22162 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22163 * elf/tst-auditmod6c.c: Move to ...
22164 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22165 * elf/tst-auditmod7a.c: Move to ...
22166 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22167 * elf/tst-auditmod7b.c: Move to ...
22168 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22170 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22173 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22174 define unconditionally.
22175 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22176 define unconditionally.
22177 (INT8_C, INT16_C, etc.): Likewise.
22179 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22181 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22182 __ehdr_start with hidden visibility.
22184 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22186 2013-04-24 Carlos O'Donell <carlos@redhat.com>
22188 * math/libm-test.inc (cos_test): Use accurate hex constants.
22189 (sincost_test): Likewise.
22191 2013-04-24 Joseph Myers <joseph@codesourcery.com>
22193 * math/libm-test.inc (catan_test): Add more tests.
22194 (catanh_test): Likewise.
22196 * math/s_catanf.c (__catanf): Use suffixed floating-point
22198 * math/s_catanhf.c (__catanhf): Likewise.
22199 * math/s_catanhl.c (__catanhl): Likewise.
22200 * math/s_catanl.c (__catanl): Likewise.
22203 * math/s_catan.c (__catan): Calculate imaginary part of result
22204 with log1p not log unless computing log of number close to 0.
22205 * math/s_catanf.c (__catanf): Likewise.
22206 * math/s_catanl.c (__catanl): Likewise.
22207 * math/s_catanh.c (__catanh): Calculate real part of result with
22208 log1p not log unless computing log of number close to 0.
22209 * math/s_catanhf.c (__catanhf): Likewise.
22210 * math/s_catanhl.c (__catanhl): Likewise.
22211 * math/libm-test.inc (catan_test): Add more tests.
22212 (catanh_test): Likewise.
22213 * sysdeps/i386/fpu/libm-test-ulps: Update.
22214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22216 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22218 * benchtests/Makefile: Mention files in which fast and slow
22219 paths of math functions are implemented.
22221 2013-04-23 Roland McGrath <roland@hack.frob.com>
22223 * sysdeps/posix/timespec_get.c: New file.
22225 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22227 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22229 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22231 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22232 powerpc/power5/fpu folders.
22233 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22234 * benchtests/Makefile: Add modf testcase.
22235 * benchtests/bench-modf.c: New file: Benchmark test for mo
22237 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22240 * time/Makefile (tests): Add tst-strptime-whitespace.
22241 * time/strptime_l.c (get_number): Use ISSPACE.
22242 (__strptime_internal): Likewise.
22243 * time/tst-strptime-whitespace.c: New test case.
22245 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22247 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22249 (_nss_files_init): Set it here.
22251 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22253 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22254 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22257 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22259 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22261 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22263 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22266 2013-04-21 David S. Miller <davem@davemloft.net>
22268 * po/ru.po: Update Russion translation from translation project.
22270 2013-04-17 Adam Conrad <adconrad@0c3.net>
22272 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22275 2013-04-17 Carlos O'Donell <carlos@redhat.com>
22277 * configure.in: Remove i386 configure warning. Remove i386 case.
22278 * configure: Regenerate.
22279 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22280 Add example to error message.
22281 * sysdeps/i386/configure: Regenerate.
22283 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22285 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22287 * benchtests/cos-inputs: New file.
22288 * benchtests/slowcos-inputs: New file.
22289 * benchtests/slowcos.c: New file.
22290 * benchtests/slowtan-inputs: New file.
22291 * benchtests/slowtan.c: New file.
22292 * benchtests/tan-inputs: New file.
22294 2013-04-16 Roland McGrath <roland@hack.frob.com>
22296 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22299 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22301 * benchtests/Makefile: Include cppflags-iterator.mk to add
22302 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22304 * Makefile.in (bench-clean): New target.
22305 * benchtests/Makefile (bench-clean): Likewise.
22307 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22309 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22311 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22313 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22315 2013-04-15 Andreas Schwab <schwab@suse.de>
22317 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22318 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22319 * nscd/pwdcache.c (cache_addpw): Likewise.
22320 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22323 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22325 * benchtests/Makefile (bench): Write all output to
22326 bench-out.tmp together.
22328 2013-04-15 Andreas Schwab <schwab@suse.de>
22330 * nscd/nscd.c (main): Don't fork again after closing files.
22332 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22334 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22336 * benchtests/Rules (bench-deps): Collect dependencies into a
22337 single variable. Add Makefile to dependencies.
22338 ($(objpfx)bench-%.c): Depend on bench-deps.
22340 2013-04-12 Roland McGrath <roland@hack.frob.com>
22341 Xavier Roche <roche+kml2@exalead.com>
22344 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22345 just that it's a file descriptor.
22346 * manual/llio.texi (Synchronizing AIO Operations): Update description
22347 for EBADF error from aio_fsync.
22349 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22351 * Rules (bench): Move target definition...
22352 * benchtests/Makefile: ... here.
22354 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22356 * math/libm-test.inc (cos_test): Fix PI/2 test.
22357 (sincos_test): Likewise.
22358 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22359 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22361 2013-04-11 Andreas Schwab <schwab@suse.de>
22364 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22365 accept exponent character only when digits were seen.
22366 * stdio-common/Makefile (tests): Add bug26.
22367 * stdio-common/bug26.c: New file.
22370 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22373 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22375 * Makeconfig (rtld-prefix): Define built linker prefix.
22376 * Rules (run-bench): Use it.
22377 * math/Makefile (run-regen-ulps): Likewise.
22379 * Rules (bench): Remove eval.
22381 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22382 Roland McGrath <roland@hack.frob.com>
22383 Ondrej Bilka <neleai@seznam.cz>
22386 * time/getdate.c: Include ctype.h and alloca.h.
22387 (__getdate_r): Trim leading and trailing spaces of input.
22388 * time/tst-getdate.c (tests): Add tests with leading and
22391 2013-04-08 Roland McGrath <roland@hack.frob.com>
22394 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22395 when computing value.
22397 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22399 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22400 Use testrun.sh to run libm tests.
22403 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22405 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22408 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22410 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22412 * Makefile.in (regen-ulps): New target.
22413 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22414 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22415 [ifneq (no,$(PERL)] (regen-ulps): New target.
22416 [ifeq (no,$(PERL)] (regen-ulps): New target.
22417 * math/libm-test.inc (ulps_file_name): Define.
22418 (output_dir): New variable.
22419 (options): Add "output-dir" option.
22420 (parse_opt): Handle 'o' case.
22421 (main): If output_dir is non-NULL use it as a prefix
22423 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22425 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22427 [BZ #10060, #10062]
22428 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22429 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22430 fail configure if __sync_val_compare_and_swap is not inlined.
22431 * sysdeps/i386/configure: Regenerate.
22432 * configure.in: Build for i686 when configured for i386.
22433 * configure: Regenerate.
22434 * README: Remove i386 reference.
22436 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22438 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22439 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22441 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22443 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22444 (lmsnanval): New variables.
22445 (F): Add conversion tests.
22446 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22447 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22449 * stdio-common/tstdiomisc.c (F): Properly collect individual
22452 [BZ #14686, #15336]
22453 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22454 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22455 Instead, use input NaN values or generate a qNaN by arithmetic
22456 operation. Also fix bugs to comply with the standard.
22457 * math/libm-test.inc (remainder_test): Add more tests.
22459 [BZ #15335, #15342]
22460 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22461 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22462 input NaN values or generate a qNaN by arithmetic operation.
22464 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22467 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22470 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22473 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22474 underflowed result.
22475 * math/s_cexpf.c (__cexpf): Likewise.
22476 * math/s_cexpl.c (__cexpl): Likewise.
22477 * math/libm-test.inc (cexp_test): Add more tests.
22479 2013-04-03 Andreas Schwab <schwab@suse.de>
22482 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22483 order arrays from heap if bigger than alloca cutoff.
22485 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22487 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22488 (SNAN_TESTS_double): Refer to GCC PR56831.
22489 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22492 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22494 * Rules (bench): Move bench.out after the run is complete.
22496 * Rules (bench): Echo currently running benchmark.
22498 * benchtests/Makefile (bench): Add atan and slowatan.
22499 * benchtests/atan-inputs: New file.
22500 * benchtests/slowatan-inputs: New file.
22501 * benchtests/slowatan.c: New file.
22503 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22504 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22508 * sysdeps/unix/sysv/linux/kernel-features.h
22509 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22510 __ASSUME_XFS_RESTRICTED_CHOWN.
22511 * sysdeps/unix/sysv/linux/pathconf.c
22512 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22513 Save and restore errno.
22515 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22518 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22519 arguments using __kernel_casinh.
22520 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22521 arguments using __kernel_casinhf.
22522 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22523 arguments using __kernel_casinhl.
22524 * math/libm-test.inc (cacosh_test): Add more tests.
22525 * sysdeps/i386/fpu/libm-test-ulps: Update.
22526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22528 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22530 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22531 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22533 * bench/Makefile (bench): Add sin and slowsin.
22534 * benchtests/sin-inputs: New file.
22535 * benchtests/slowsin-inputs: New file.
22536 * benchtests/slowsin.c: New file.
22538 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22539 (bench): Add slowexp and slowpow.
22540 (exp-ITER): Increase iterations.
22541 (pow-ITER): Likewise.
22542 * benchtests/exp-inputs: Change input.
22543 * benchtests/pow-inputs: Likewise.
22544 * benchtests/slowexp-inputs: New file.
22545 * benchtests/slowexp.c: New file.
22546 * benchtests/slowpow-inputs: New file.
22547 * benchtests/slowpow.c: New file.
22549 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22551 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22553 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22554 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22555 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22556 * benchtests/Makefile: Add rint benchtest.
22557 * benchtests/rint-inputs: Input for rint benchtest.
22559 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22561 * Versions.def (libm): Add GLIBC_2.18.
22562 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22563 hidden libm prototypes.
22564 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22565 * math/Makefile (libm-calls): Add s_issignaling.
22566 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22567 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22568 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22570 * math/math.h [__USE_GNU] (issignaling): New macro.
22571 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22572 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22573 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22574 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22575 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22576 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22577 * manual/arith.texi (issignaling): New section.
22578 * manual/libm-err-tab.pl (@all_functions): Update comment.
22579 * math/gen-libm-test.pl (parse_args): Apply special handling for
22581 * math/libm-test.inc (print_float, issignaling_test): New
22583 (check_float_internal): Add issignaling checks.
22584 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22585 default definition.
22586 * sysdeps/powerpc/math-tests.h: New file.
22587 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22589 * math/test-snan.c (TEST_FUNC): Likewise.
22591 2013-03-30 David S. Miller <davem@davemloft.net>
22593 * po/de.po: Update from translation team.
22595 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22598 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22599 imaginary part less than 1.0 and real part less than 0.5
22601 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22602 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22603 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22604 (cacos_test): Add more tests.
22605 (casin_test): Likewise.
22606 (casinh_test): Likewise.
22607 * sysdeps/i386/fpu/libm-test-ulps: Update.
22608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22610 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22612 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22613 ONE with its value.
22615 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22616 (__pow_mp): Replace ONE and MONE with their values.
22617 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22618 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22619 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22620 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22621 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22622 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22624 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22626 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22627 (__pow_mp): Replace ZERO and MZERO with their values.
22628 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22629 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22630 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22631 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22632 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22633 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22636 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22638 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22640 2013-03-28 Roland McGrath <roland@hack.frob.com>
22642 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22643 Declare with __attribute__ ((weak)).
22644 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22645 Call __call_tls_dtors only if it's not NULL.
22647 2013-03-28 Roland McGrath <roland@hack.frob.com>
22649 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22650 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22651 magic __ehdr_start linker symbol if it's defined.
22652 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22653 them up here if it was already done.
22655 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22656 (_dl_aux_init): Use const in cast when setting it.
22657 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22658 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22659 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22661 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22663 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22664 * csu/libc-tls.c: Nor here.
22665 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22667 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22668 (__libc_message): Never call vsyslog.
22670 2013-03-28 Alan Modra <amodra@gmail.com>
22672 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22674 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22677 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22680 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22684 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22687 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22688 Don't add gid passed as argument.
22690 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22692 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22695 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22696 imaginary part between 1.0 and 1.5 and real part less than 0.5
22698 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22699 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22700 * math/libm-test.inc (cacos_test): Add more tests.
22701 (casin_test): Likewise.
22702 (casinh_test): Likewise.
22703 * sysdeps/i386/fpu/libm-test-ulps: Update.
22704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22706 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22708 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22711 (denorm): Likewise.
22712 (__dbl_mp): Likewise.
22713 (add_magnitudes): Likewise.
22714 (sub_magnitudes): Likewise.
22722 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22724 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22725 (__dubcos): Likewise.
22726 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22727 (__ieee754_acos): Likewise.
22728 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22729 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22730 (__exp1): Likewise.
22731 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22732 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22734 (my_log2): Likewise.
22735 (checkint): Likewise.
22736 * sysdeps/ieee754/dbl-64/e_remainder.c
22737 (__ieee754_remainder): Likewise.
22738 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22739 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22740 (bsloww): Likewise.
22741 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22743 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22744 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22745 MANTISSA_STORE_T to store computations on mantissa. Use
22746 macros for rounding and division.
22747 (denorm): Likewise.
22748 (__dbl_mp): Likewise.
22749 (add_magnitudes): Likewise.
22750 (sub_magnitudes): Likewise.
22753 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22754 powers of two in terms of TWOPOW macro.
22755 (mp_no): Make type of mantissa as MANTISSA_T.
22756 [!RADIXI]: Define RADIXI.
22757 [!TWO52]: Define TWO52.
22758 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22760 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22762 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22763 llroundl symbol when building for PPC32.
22765 2013-03-24 Mark H Weaver <mhw@netris.org>
22767 * manual/arith.texi (Normalization Functions): Fix prototypes for
22768 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22770 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22773 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22774 high value to check if expl overflow.
22775 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22776 to check for underflow and overflow.
22777 * math/libm-test.inc: Add exp test.
22779 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22782 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22785 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22787 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22790 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22792 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22793 wrap blocks consisting of several statements.
22795 * sysdeps/generic/math-tests.h: New file.
22796 * sysdeps/i386/fpu/math-tests.h: Likewise.
22797 * math/test-snan.c: Include it.
22798 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22800 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22803 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22804 (__ieee754_j0l): Do not improve calculations using cos of twice
22805 input for inputs above LDBL_MAX / 2.0L.
22806 (__ieee754_y0l): Likewise.
22807 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22808 (__ieee754_j1l): Do not improve calculations using cos of twice
22809 input for inputs above LDBL_MAX / 2.0L.
22810 (__ieee754_y1l): Likewise.
22811 * math/libm-test.inc (j0_test): Add another test.
22812 (j1_test): Likewise.
22813 (y0_test): Likewise.
22814 (y1_test): Likewise.
22815 * sysdeps/i386/fpu/libm-test-ulps: Update.
22817 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22819 * Rules ($(objpfx)bench-%.c): Include code from a C source
22822 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22825 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22826 imaginary part 1.0 and real part less than 0.5 specially.
22827 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22828 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22829 * math/libm-test.inc (cacos_test): Add more tests.
22830 (casin_test): Likewise.
22831 (casinh_test): Likewise.
22832 * sysdeps/i386/fpu/libm-test-ulps: Update.
22833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22835 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22837 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22838 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22840 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22842 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22843 * config.make.in (config-cflags-sse4): Remove variable.
22844 (config-cflags-avx): Likewise.
22845 (config-cflags-sse2avx): Likewise.
22846 (config-cflags-novzeroupper): Likewise.
22847 (config-asflags-i686): Likewise.
22848 (have-mfma4): Likewise.
22849 (have-as-vis3): Likewise.
22851 * configure.in (MIG): Do not AC_SUBST.
22852 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22853 (libc_cv_cc_sse4): Do not AC_SUBST.
22854 (libc_cv_cc_avx): Likewise.
22855 (libc_cv_cc_sse2avx): Likewise.
22856 (libc_cv_cc_novzeroupper): Likewise.
22857 (libc_cv_cc_fma4): Likewise.
22858 (libc_cv_as_i686): Likewise.
22859 (libc_cv_sparc_as_vis3): Likewise.
22860 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22862 (config-asflags-i686): Likewise.
22863 (config-cflags-avx): Likewise.
22864 (config-cflags-sse2avx): Likewise.
22865 (have-mfma4): Likewise.
22866 (config-cflags-novzeroupper): Likewise.
22867 * sysdeps/mach/configure.in (MIG): Likewise.
22868 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22869 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22871 (config-cflags-avx): Likewise.
22872 (config-cflags-sse2avx): Likewise.
22873 (have-mfma4): Likewise.
22874 (config-cflags-novzeroupper): Likewise.
22875 * configure: Regenerated.
22876 * sysdeps/i386/configure: Likewise.
22877 * sysdeps/mach/configure: Likewise.
22878 * sysdeps/sparc/configure: Likewise.
22879 * sysdeps/x86_64/configure: Likewise.
22881 2013-03-20 Roland McGrath <roland@hack.frob.com>
22884 * locale/programs/localedef.c (options): Put N_ translation marker
22885 on argument names, not just descriptions.
22887 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22889 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22891 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22894 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22896 2013-03-19 Roland McGrath <roland@hack.frob.com>
22898 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22899 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22900 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22901 [!BEFORE_ABORT] (before_abort): New function.
22902 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22903 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22904 (writev_for_fatal): New function.
22905 (WRITEV_FOR_FATAL): New macro; call that.
22906 (backtrace_and_maps): New function.
22907 (BEFORE_ABORT): New macro; call that.
22908 (struct str_list): Type removed.
22909 (__libc_message, __libc_fatal): Functions removed.
22910 Include <sysdeps/posix/libc_fatal.c> instead.
22912 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22914 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22916 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22919 2013-03-19 Andreas Schwab <schwab@suse.de>
22921 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22922 * sysdeps/gnu/configure: Regenerate.
22924 * configure.in: Substitute libc_cv_rtlddir.
22925 * configure: Regenerate.
22926 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22927 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22928 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22929 * elf/Makefile (install-others, CFLAGS-interp.c)
22930 (ldso_install, common-ldd-rewrite): Likewise.
22931 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22932 $(inst_slibdir)/$(rtld-installed-name).
22933 * scripts/rellns-sh: Add -p option.
22934 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22937 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22939 * manual/nptl.texi: Renamed to ...
22940 * manual/threads.texi: ... this.
22941 * manual/Makefile (chapters): Update.
22943 2013-03-18 Roland McGrath <roland@hack.frob.com>
22946 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22947 on argument names, not just descriptions.
22948 * malloc/memusagestat.c (options): Likewise.
22949 * nss/getent.c (options): Likewise.
22951 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22954 * iconv/iconv_prog.c (options): Put N_ translation marker
22955 on argument names, not just descriptions.
22956 * iconv/iconvconfig.c (options): Likewise.
22958 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22960 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22961 implementation which is faster on all x86_64 architectures.
22962 Tested on AMD, Intel Nehalem, SNB, IVB.
22963 * sysdeps/x86_64/strnlen.S: Likewise.
22965 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22966 Remove all multiarch strlen and strnlen versions.
22967 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22968 Remove strlen and strnlen related parts.
22970 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22971 Inline strlen part.
22972 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22974 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22975 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22976 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22977 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22978 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22979 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22981 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22983 * manual/memory.texi (Malloc Tunable Parameters):
22984 Sort parameters alphabetically. Add comments for missing entries.
22986 2013-03-17 David S. Miller <davem@davemloft.net>
22988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22990 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22993 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22994 for arguments at most half maximum finite value.
22995 * math/libm-test.inc (j0_test): Add more tests.
22996 (j1_test): Likewise.
22997 (y0_test): Likewise.
22998 (y1_test): Likewise.
22999 * sysdeps/i386/fpu/libm-test-ulps: Update.
23000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23003 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23004 1 / x and functions P and Q for arguments above 0x1p256L.
23005 (__ieee754_y0l): Likewise.
23006 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23007 (__ieee754_y1l): Likewise.
23008 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23009 (j1_test): Likewise.
23010 (y0_test): Likewise.
23011 (y1_test): Likewise.
23013 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23015 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23018 2013-03-15 Roland McGrath <roland@hack.frob.com>
23020 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23021 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23022 zero since it's initialized to EXEC_PAGESIZE.
23024 * sysdeps/unix/sysv/linux/ldsodefs.h
23025 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23026 * sysdeps/generic/ldsodefs.h: ... here.
23028 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23030 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23032 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23034 * math/test-snan.c: Renamed from
23035 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23036 * math/Makefile (tests): Add test-snan.
23037 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23040 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23041 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23043 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23044 __builtin_nan family of functions.
23045 * math/libm-test.inc (initialize): Initialize qnan_value with
23046 __builtin_nan family of functions.
23047 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23049 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23051 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23052 storage class. Initialize qNaN_var and sNaN_var with
23053 __builtin_nan and __builtin_nans families of functions,
23056 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23057 (sqrt_test): Remove duplicate test with qNaN input.
23058 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23059 (round_test, signbit_test, significand_test): Note missing +/-Inf
23060 as well as qNaN tests.
23062 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23063 qNaN_var. Fix a few strings, too.
23064 * math/libm-test.inc (nan_value): Rename to qnan_value.
23065 * math/gen-libm-test.pl (%beautify): Adjust to that.
23066 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23067 * math/test-misc.c (main): Likewise.
23068 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23069 to __qnan_bytes, and __qnan_union, respectively.
23070 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23072 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23073 and lqnanval, respectively.
23074 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23075 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23076 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23077 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23079 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23080 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23083 * math/test-misc.c (main): Fix copy'n'pastos.
23084 * misc/tst-efgcvt.c (special): Likewise.
23086 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23087 Remove declarations.
23089 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23091 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23092 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23093 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23094 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23096 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23098 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23099 macro to return vdso values correctly in IFUNC implementations.
23100 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23101 Optimization by using IFUNC.
23103 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23104 Richard Henderson <rth@redhat.com>
23105 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23107 * Makefile.in (bench): New target.
23108 * NEWS: Mention the benchmark framework.
23109 * Rules (bench): Likewise.
23110 (binaries-bench): Generate binaries for functions to
23112 * benchtests/Makefile: New makefile for benchmark tests.
23113 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23115 * benchtests/exp-inputs: New input file for EXP function.
23116 * benchtests/pow-inputs: New input file for POW function.
23117 * scripts/bench.pl: New script to generate source files for
23118 benchmark programs.
23120 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23122 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23123 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23124 computations on mantissa. Use macros for rounding and
23126 (denorm): Likewise.
23127 (__dbl_mp): Likewise.
23128 (add_magnitudes): Likewise.
23129 (sub_magnitudes): Likewise.
23132 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23133 powers of two in terms of TWOPOW macro.
23134 (mp_no): Make type of mantissa as MANTISSA_T.
23135 [!RADIXI]: Define RADIXI.
23136 [!TWO52]: Define TWO52.
23137 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23139 * manual/nptl.texi (cindex): Modify threads to pthreads.
23141 2013-03-15 Joseph Myers <joseph@codesourcery.com>
23143 * sysdeps/x86_64/preconfigure: Regenerated.
23145 2013-03-14 Joseph Myers <joseph@codesourcery.com>
23148 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23150 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23151 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23153 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23154 * math/libm-test.inc (j0_test): Do not allow one spurious
23155 underflow exception.
23156 (y1_test): Likewise.
23158 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23160 * manual/Makefile (chapters): Add nptl.
23161 * manual/debug.texi (Debugging Support): Add link to Threads
23163 * manual/nptl.texi: New file.
23165 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23167 2013-03-14 Petr Baudis <pasky@ucw.cz>
23169 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23170 for non-NULL pointer before the memory validity test. Pointed
23171 out by Holger Brunck <holger.brunck@keymile.com>.
23173 2013-03-13 Andreas Schwab <schwab@suse.de>
23175 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23178 2013-03-13 Joseph Myers <joseph@codesourcery.com>
23180 * timezone/zic.c: Update from tzcode 2013b.
23182 2013-03-12 Carlos O'Donell <carlos@redhat.com>
23184 * manual/install.texi (Configuring and compiling):
23185 Mention i686 and i586.
23186 * INSTALL: Regenerate.
23188 2013-03-12 Roland McGrath <roland@hack.frob.com>
23190 * sysdeps/init_array/elf-init.c: New file.
23192 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23193 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23195 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23196 __gmon_start__ as global, but as static with a .preinit_array pointer.
23197 * sysdeps/init_array/gmon-start.c: New file. Use that.
23198 * sysdeps/init_array/crti.S: New file, empty except for comments.
23199 * sysdeps/init_array/crtn.S: Likewise.
23201 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
23203 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23206 Remove Prefer_SSE_for_memop.
23207 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23208 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23209 HAS_PREFER_SSE_FOR_MEMOP.
23210 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23212 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23213 Remove bzero, memset ifunc support.
23214 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23215 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23216 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23217 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23219 2013-03-11 Andreas Schwab <schwab@suse.de>
23222 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23225 (GLIBC_2.16): Remove pthread_atfork.
23227 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23229 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23230 (ptestcases.h): Likewise.
23232 2013-03-08 Roland McGrath <roland@hack.frob.com>
23234 * Makeconfig ($(common-objpfx)config.status): Depend on
23235 sysdeps/*/preconfigure{,.in} too.
23237 2013-03-08 Joseph Myers <joseph@codesourcery.com>
23239 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23240 (__free_hook): Use void * instead of __malloc_ptr_t.
23241 (__malloc_hook): Likewise.
23242 (__realloc_hook): Likewise.
23243 (__memalign_hook): Likewise.
23244 (__after_morecore_hook): Likewise.
23245 * malloc/arena.c (save_malloc_hook): Likewise.
23246 (save_free_hook): Likewise.
23247 * malloc/hooks.c (malloc_hook_ini): Likewise.
23248 (realloc_hook_ini): Likewise.
23249 (memalign_hook_ini): Likewise.
23250 * malloc/malloc.c (malloc_hook_ini): Likewise.
23251 (realloc_hook_ini): Likewise.
23252 (memalign_hook_ini): Likewise.
23253 (__free_hook): Likewise.
23254 (__malloc_hook): Likewise.
23255 (__realloc_hook): Likewise.
23256 (__memalign_hook): Likewise.
23257 (__libc_malloc): Likewise.
23258 (__libc_free): Likewise.
23259 (__libc_realloc): Likewise.
23260 (__libc_memalign): Likewise.
23261 (__libc_valloc): Likewise.
23262 (__libc_pvalloc): Likewise.
23263 (__libc_calloc): Likewise.
23264 (__posix_memalign): Likewise.
23265 * malloc/morecore.c (__sbrk): Likewise.
23266 (__default_morecore): Likewise.
23268 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23270 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23271 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23272 __malloc_ptrdiff_t.
23274 * malloc/malloc.h (__malloc_size_t): Remove macro.
23275 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23277 (old_memalign_hook): Likewise.
23278 (old_realloc_hook): Likewise.
23279 (struct hdr): Likewise.
23281 (mallochook): Likewise.
23282 (memalignhook): Likewise.
23283 (reallochook): Likewise.
23284 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23285 (tr_old_realloc_hook): Likewise.
23286 (tr_old_memalign_hook): Likewise.
23287 (tr_mallochook): Likewise.
23288 (tr_reallochook): Likewise.
23289 (tr_memalignhook): Likewise.
23291 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23293 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23294 default_ldbl_pack and using as default implementation.
23295 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23297 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23298 redundant definition.
23299 (ldbl_insert_mantissa): Likewise.
23300 (ldbl_canonicalize): Likewise.
23301 (ldbl_nearbyint): Likewise.
23302 (ldbl_pack): Rename to ldbl_pack_ppc.
23303 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23304 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23305 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23307 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23310 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23311 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23312 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23314 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23315 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23316 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23318 2013-03-07 Andreas Jaeger <aj@suse.de>
23320 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23323 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23325 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23326 Include mpa.h and declare __MPEXP.
23327 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23328 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23329 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23330 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23331 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23332 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23333 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23335 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23336 (__slowpow): Use long double EXPL and LOGL functions to
23338 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23339 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23340 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23341 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23342 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23343 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23346 intermediate variable to calculate exponent.
23348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23352 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23353 [!NO__SQR]: Define __sqr.
23354 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23355 and NO__SQR. Remove all code except __mul and __sqr. Include
23356 sysdeps/ieee754/dbl-64/mpa.c.
23357 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23360 * posix/Makefile (tests): Add tst-pathconf.
23361 * posix/tst-pathconf.c: New test case.
23362 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23364 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23366 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23368 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23370 2013-03-06 Andreas Jaeger <aj@suse.de>
23372 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23373 definition via __MAP_ANONYMOUS.
23375 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23376 it's not part of Linux headers.
23378 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23379 (MAP_HUGE_MASK): Define.
23381 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23383 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23384 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23386 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23387 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23389 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23390 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23392 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23394 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23395 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23396 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23397 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23398 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23399 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23401 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23404 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23405 Handle f2fs and efivarfs.
23407 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23410 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23411 (EFIVARFS_MAGIC): Add.
23412 (F2FS_LINK_MAX): Add.
23414 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23416 * stdio-common/vfprintf.c: Replace __builtin_expect with
23419 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23422 * sysdeps/generic/bp-sym.h: Remove file.
23423 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23424 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23425 <bp-sym.h> and <bp-asm.h>.
23426 (__longjmp): Don't use BP_SYM.
23427 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23429 (memcpy): Don't use BP_SYM.
23430 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23431 <bp-sym.h> and <bp-asm.h>.
23432 (memcpy): Don't use BP_SYM.
23433 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23435 (memcpy): Don't use BP_SYM.
23436 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23438 (memset): Don't use BP_SYM.
23439 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23440 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23441 (__bzero): Don't use BP_SYM.
23442 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23443 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23444 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23445 <bp-sym.h> and <bp-asm.h>.
23446 (memcmp): Don't use BP_SYM. Remove comment about bounded
23448 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23449 <bp-sym.h> and <bp-asm.h>.
23450 (memcpy): Don't use BP_SYM.
23451 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23452 <bp-sym.h> and <bp-asm.h>.
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/strncmp.S: Don't include
23460 <bp-sym.h> and <bp-asm.h>.
23461 (strncmp): Don't use BP_SYM. Remove comment about bounded
23463 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23464 <bp-sym.h> and <bp-asm.h>.
23465 (memcpy): Don't use BP_SYM.
23466 * sysdeps/powerpc/powerpc64/power6/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/power7/memchr.S: Don't include
23475 <bp-sym.h> and <bp-asm.h>.
23476 (__memchr): Don't use BP_SYM.
23477 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23478 <bp-sym.h> and <bp-asm.h>.
23479 (memcmp): Don't use BP_SYM. Remove comment about bounded
23481 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23482 <bp-sym.h> and <bp-asm.h>.
23483 (memcpy): Don't use BP_SYM.
23484 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23485 <bp-sym.h> and <bp-asm.h>.
23486 (__mempcpy): Don't use BP_SYM.
23487 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23488 <bp-sym.h> and <bp-asm.h>.
23489 (__memrchr): Don't use BP_SYM.
23490 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23491 <bp-sym.h> and <bp-asm.h>.
23492 (memset): Don't use BP_SYM.
23493 (__bzero): Likewise.
23494 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23495 <bp-sym.h> and <bp-asm.h>.
23496 (__rawmemchr): Don't use BP_SYM.
23497 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23498 <bp-sym.h> and <bp-asm.h>.
23499 (__STRCMP): Don't use BP_SYM.
23500 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23501 <bp-sym.h> and <bp-asm.h>.
23502 (strchr): Don't use BP_SYM.
23503 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23504 <bp-sym.h> and <bp-asm.h>.
23505 (__strchrnul): Don't use BP_SYM.
23506 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23507 <bp-sym.h> and <bp-asm.h>.
23508 (strlen): Don't use BP_SYM.
23509 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23510 <bp-sym.h> and <bp-asm.h>.
23511 (strncmp): Don't use BP_SYM. Remove comment about bounded
23513 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23514 <bp-sym.h> and <bp-asm.h>.
23515 (__strnlen): Don't use BP_SYM.
23516 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23517 <bp-sym.h> and <bp-asm.h>.
23518 (__GI__setjmp): Don't use BP_SYM.
23519 (_setjmp): Likewise.
23520 (__sigsetjmp): Likewise.
23521 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23522 (L(start_addresses)): Don't use BP_SYM.
23523 (_start): Likewise.
23524 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23526 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23527 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23528 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23529 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23530 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23532 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23533 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23534 about bounded pointers.
23535 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23536 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23537 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23539 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23540 about bounded pointers. Remove GKM FIXME comments.
23541 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23542 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23544 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23545 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23546 Remove GKM FIXME comments.
23547 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23548 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23549 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23551 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23552 about bounded pointers. Remove GKM FIXME comment.
23553 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23555 (strncmp): Don't use BP_SYM. Remove comment about bounded
23557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23558 <bp-sym.h> and <bp-asm.h>.
23559 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23561 <bp-sym.h> and <bp-asm.h>.
23562 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23565 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23567 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23570 2013-03-05 David S. Miller <davem@davemloft.net>
23572 * po/es.po: Update from translation team.
23574 2013-03-05 Andreas Jaeger <aj@suse.de>
23576 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23577 <bits/mman-linux.h>.
23578 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23580 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23581 <bits/mman-linux.h> to end of file.
23582 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23584 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23585 <bits/mman-linux.h> to end of file.
23586 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23588 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23589 <bits/mman-linux.h> to end of file.
23591 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23592 (MCL_CURRENT, MCL_FUTURE): Define here.
23594 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23597 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23599 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23601 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23603 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23604 fourth parameter needed for rt_sigprocmask syscall.
23605 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23606 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23607 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23608 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23609 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23610 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23612 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23615 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23616 comment about bounded pointers.
23617 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23618 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23620 2013-03-04 Andreas Jaeger <aj@suse.de>
23622 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23623 common definitions.
23625 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23626 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23627 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23628 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23629 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23630 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23632 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23635 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23636 __ieee754_sqrl instead of __sqrl.
23638 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23640 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23641 * sysdeps/powerpc/fpu_control.h: ... here.
23642 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23643 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23644 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23645 * sysdeps/powerpc/bits/mathinline.h: ... here.
23647 2013-03-01 Roland McGrath <roland@hack.frob.com>
23649 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23650 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23651 to just [NEED_DL_SYSINFO_DSO].
23652 * elf/dl-support.c: Likewise.
23653 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23654 * elf/rtld.c (dl_main): Likewise.
23655 * elf/setup-vdso.h (setup_vdso): Likewise.
23656 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23657 * sysdeps/unix/sysv/linux/dl-sysdep.c
23658 (_dl_discover_osversion): Likewise.
23660 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23662 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23663 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23665 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23667 * NEWS: Mention libm performance improvements and non-x86 PI
23670 * csu/libc-start.c (__pthread_initialize_minimal): Change
23671 function arguments.
23672 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23674 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23677 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23678 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23679 <bp-sym.h> and <bp-asm.h>.
23680 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23681 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23683 (memcpy): Don't use BP_SYM.
23684 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23686 (__mpn_add_n): Don't use BP_SYM.
23687 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23688 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23690 (__mpn_addmul_1): Don't use BP_SYM.
23691 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23692 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23694 (_setjmp): Don't use BP_SYM.
23695 (__novmx_setjmp): Likewise.
23696 (__GI__setjmp): Likewise.
23697 (__vmx_setjmp): Likewise.
23698 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23700 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23701 (__bzero): Don't use BP_SYM.
23702 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23703 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23704 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23705 <bp-sym.h> and <bp-asm.h>.
23706 (memcpy): Don't use BP_SYM.
23707 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23708 <bp-sym.h> and <bp-asm.h>.
23709 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23710 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23711 <bp-sym.h> and <bp-asm.h>.
23712 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23713 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23715 (__mpn_lshift): Don't use BP_SYM.
23716 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23717 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23719 (memset): Don't use BP_SYM.
23720 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23721 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23722 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23724 (__mpn_mul_1): Don't use BP_SYM.
23725 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23726 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23727 <bp-sym.h> and <bp-asm.h>.
23728 (memcmp): Don't use BP_SYM.
23729 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23730 <bp-sym.h> and <bp-asm.h>.
23731 (memcpy): Don't use BP_SYM.
23732 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23733 <bp-sym.h> and <bp-asm.h>.
23734 (memset): Don't use BP_SYM.
23735 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23736 <bp-sym.h> and <bp-asm.h>.
23737 (strncmp): Don't use BP_SYM.
23738 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23739 <bp-sym.h> and <bp-asm.h>.
23740 (memcpy): Don't use BP_SYM.
23741 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23742 <bp-sym.h> and <bp-asm.h>.
23743 (memset): Don't use BP_SYM.
23744 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23745 <bp-sym.h> and <bp-asm.h>.
23746 (__memchr): Don't use BP_SYM.
23747 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23748 <bp-sym.h> and <bp-asm.h>.
23749 (memcmp): Don't use BP_SYM.
23750 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23751 <bp-sym.h> and <bp-asm.h>.
23752 (memcpy): Don't use BP_SYM.
23753 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23754 <bp-sym.h> and <bp-asm.h>.
23755 (__mempcpy): Don't use BP_SYM.
23756 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23757 <bp-sym.h> and <bp-asm.h>.
23758 (__memrchr): Don't use BP_SYM.
23759 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23760 <bp-sym.h> and <bp-asm.h>.
23761 (memset): Don't use BP_SYM.
23762 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23763 <bp-sym.h> and <bp-asm.h>.
23764 (__rawmemchr): Don't use BP_SYM.
23765 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23766 <bp-sym.h> and <bp-asm.h>.
23767 (__STRCMP): Don't use BP_SYM.
23768 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23769 <bp-sym.h> and <bp-asm.h>.
23770 (strchr): Don't use BP_SYM.
23771 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23772 <bp-sym.h> and <bp-asm.h>.
23773 (__strchrnul): Don't use BP_SYM.
23774 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23775 <bp-sym.h> and <bp-asm.h>.
23776 (strlen): Don't use BP_SYM.
23777 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23778 <bp-sym.h> and <bp-asm.h>.
23779 (strncmp): Don't use BP_SYM.
23780 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23781 <bp-sym.h> and <bp-asm.h>.
23782 (__strnlen): Don't use BP_SYM.
23783 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23785 (__mpn_rshift): Don't use BP_SYM.
23786 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23787 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23788 <bp-sym.h> and <bp-asm.h>.
23789 (__sigsetjmp): Don't use BP_SYM.
23790 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23791 (L(start_addresses)): Don't use BP_SYM.
23792 (_start): Likewise.
23793 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23795 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23796 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23797 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23798 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23800 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23801 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23802 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23803 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23805 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23807 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23808 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23810 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23812 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23813 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23814 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23816 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23818 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23820 (strncmp): Don't use BP_SYM,
23821 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23823 (__mpn_sub_n): Don't use BP_SYM.
23824 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23825 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23827 (__mpn_submul_1): Don't use BP_SYM.
23828 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23830 <bp-sym.h> and <bp-asm.h>.
23831 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23833 <bp-sym.h> and <bp-asm.h>.
23834 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23837 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23839 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23840 Use ZK to minimize writes to Z.
23841 (sub_magnitudes): Simplify code a bit.
23842 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23843 Use ZK to minimize writes to Z.
23844 (sub_magnitudes): Simplify code a bit.
23846 2013-02-27 Roland McGrath <roland@hack.frob.com>
23848 * csu/gmon-start.c: Add special exception to license text.
23850 2013-02-27 Richard Henderson <rth@redhat.com>
23852 * scripts/config.guess: Update from config.git.
23853 * scripts/config.sub: Likewise.
23855 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23857 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23859 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23861 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23863 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23865 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23867 2013-02-26 Roland McGrath <roland@hack.frob.com>
23869 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23870 [$(build-shared = yes].
23872 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23874 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23875 (__mul): Reduce iterations for calculating mantissa.
23877 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23879 (__mpranred): Likewise.
23882 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23883 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23885 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23887 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23888 Define __attribute__.
23890 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23892 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23894 * posix/regex_internal.h (__attribute): Remove.
23895 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23896 (re_string_context_at): Likewise.
23897 (bitset_not): Use __attribute__ and mark function as possibly
23899 (bitset_merge): Likewise.
23900 (bitset_mask): Likewise.
23901 (re_string_char_size_at): Likewise.
23902 (re_string_wchar_at): Likewise.
23903 (re_string_elem_size_at): Likewise.
23905 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23907 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23911 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23915 (denorm): Likewise.
23916 (__dbl_mp): Likewise.
23917 (add_magnitudes): Likewise.
23918 (sub_magnitudes): Likewise.
23922 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23925 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23928 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23932 up changes with default code.
23933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23936 2013-02-24 Allan McRae <allan@archlinux.org>
23938 * manual/socket.texi (The Internet Namespace): Order menu items
23939 to match that in the file.
23941 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23942 node listing of the info page menu.
23944 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23947 * sysdeps/i386/bp-asm.h: Remove file.
23948 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23949 (PARMS): Do not use macros from bp-asm.h.
23953 (__mpn_add_n): Do not use BP_SYM
23954 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23956 (PARMS): Do not use macros from bp-asm.h.
23959 (__mpn_addmul_1): Do not use BP_SYM
23960 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23962 (PARMS): Do not use macros from bp-asm.h.
23963 (SIGMSK): Likewise.
23964 (_setjmp): Likewise. Do not use BP_SYM.
23965 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23967 (PARMS): Do not use macros from bp-asm.h.
23968 (SIGMSK): Likewise.
23969 (setjmp): Likewise. Do not use BP_SYM.
23970 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23972 (PARMS): Do not use macros from bp-asm.h.
23973 (__frexp): Do not use BP_SYM.
23975 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23977 (PARMS): Do not use macros from bp-asm.h.
23978 (__frexpf): Do not use BP_SYM.
23979 (frexpf): Likewise.
23980 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23982 (PARMS): Do not use macros from bp-asm.h.
23983 (__frexpl): Do not use BP_SYM.
23984 (frexpl): Likewise.
23985 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23987 (PARMS): Do not use macros from bp-asm.h.
23988 (__remquo): Do not use BP_SYM.
23989 (remquo): Likewise.
23990 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23992 (PARMS): Do not use macros from bp-asm.h.
23993 (__remquof): Do not use BP_SYM.
23994 (remquof): Likewise.
23995 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23997 (PARMS): Do not use macros from bp-asm.h.
23998 (__remquol): Do not use BP_SYM.
23999 (remquol): Likewise.
24000 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24002 (PARMS): Do not use macros from bp-asm.h.
24005 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24006 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24008 (PARMS): Do not use macros from bp-asm.h.
24009 (strlen): Do not use BP_SYM.
24010 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24012 (PARMS): Do not use macros from bp-asm.h.
24016 (__mpn_add_n): Do not use BP_SYM.
24017 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24019 (PARMS): Do not use macros from bp-asm.h.
24022 (__mpn_addmul_1): Do not use BP_SYM.
24023 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24026 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24028 (PARMS): Do not use macros from bp-asm.h.
24031 (__mpn_lshift): Do not use BP_SYM.
24032 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24034 (PARMS): Do not use macros from bp-asm.h.
24038 (memcpy): Likewise. Do not use BP_SYM.
24039 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24040 libc_hidden_def and weak_alias.
24041 (mempcpy): Do not use BP_SYM in weak_alias.
24042 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24044 (PARMS): Do not use macros from bp-asm.h.
24047 [!BZERO_P] (CHR): Likewise.
24048 (memset): Likewise. Do not use BP_SYM.
24049 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24051 (PARMS): Do not use macros from bp-asm.h.
24054 (__mpn_mul_1): Do not use BP_SYM.
24055 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24057 (PARMS): Do not use macros from bp-asm.h.
24060 (__mpn_rshift): Do not use BP_SYM.
24061 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24063 (PARMS): Do not use macros from bp-asm.h.
24066 (strchr): Likewise. Do not use BP_SYM.
24067 (index): Do not use BP_SYM in weak_alias.
24068 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24070 (PARMS): Do not use macros from bp-asm.h.
24073 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24074 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24076 (PARMS): Do not use macros from bp-asm.h.
24077 (strlen): Do not use BP_SYM.
24078 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24080 (PARMS): Do not use macros from bp-asm.h.
24084 (__mpn_sub_n): Do not use BP_SYM.
24085 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24087 (PARMS): Do not use macros from bp-asm.h.
24090 (__mpn_submul_1): Do not use BP_SYM.
24091 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24093 (PARMS): Do not use macros from bp-asm.h.
24097 (__mpn_add_n): Do not use BP_SYM.
24098 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24101 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24103 (PARMS): Do not use macros from bp-asm.h.
24106 (memcmp): Do not use BP_SYM.
24107 (bcmp): Do not use BP_SYM in weak_alias.
24108 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24110 (PARMS): Do not use macros from bp-asm.h.
24114 (memcpy): Likewise. Do not use BP_SYM.
24115 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24117 (PARMS): Do not use macros from bp-asm.h.
24121 (memmove): Likewise. Do not use BP_SYM.
24122 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24124 (PARMS): Do not use macros from bp-asm.h.
24128 (__mempcpy): Likewise. Do not use BP_SYM.
24129 (mempcpy): Do not use BP_SYM in weak_alias.
24130 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24132 (PARMS): Do not use macros from bp-asm.h.
24135 [!BZERO_P] (CHR): Likewise.
24136 (memset): Likewise. Do not use BP_SYM.
24137 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24139 (PARMS): Do not use macros from bp-asm.h.
24141 (strcmp): Do not use BP_SYM.
24142 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24144 (PARMS): Do not use macros from bp-asm.h.
24147 [USE_AS_STRTOK_R] (SAVE): Likewise.
24148 (FUNCTION): Likewise. Do not use BP_SYM.
24149 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24151 (strtok_r): Likewise.
24152 (__GI___strtok_r): Likewise.
24153 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24154 (PARMS): Do not use macros from bp-asm.h.
24157 (__mpn_lshift): Do not use BP_SYM.
24158 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24159 (PARMS): Do not use macros from bp-asm.h.
24162 (__memchr): Do not use BP_SYM.
24163 (memchr): Do not use BP_SYM in weak_alias.
24164 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24165 (PARMS): Do not use macros from bp-asm.h.
24168 (memcmp): Do not use BP_SYM.
24169 (bcmp): Do not use BP_SYM in weak_alias.
24170 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24171 (PARMS): Do not use macros from bp-asm.h.
24174 (__mpn_mul_1): Do not use BP_SYM.
24175 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24177 (PARMS): Do not use macros from bp-asm.h.
24180 (__rawmemchr): Do not use BP_SYM.
24181 (rawmemchr): Do not use BP_SYM in weak_alias.
24182 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24183 (PARMS): Do not use macros from bp-asm.h.
24186 (__mpn_rshift): Do not use BP_SYM.
24187 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24188 (PARMS): Do not use macros from bp-asm.h.
24189 (SIGMSK): Likewise.
24190 (__sigsetjmp): Likewise. Do not use BP_SYM.
24191 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24192 (_start): Do not use BP_SYM.
24193 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24194 (PARMS): Do not use macros from bp-asm.h.
24197 (__stpcpy): Likewise. Do not use BP_SYM.
24198 (stpcpy): Do not use BP_SYM in weak_alias.
24199 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24201 (PARMS): Do not use macros from bp-asm.h.
24205 (__stpncpy): Likewise. Do not use BP_SYM.
24206 (stpncpy): Do not use BP_SYM in weak_alias.
24207 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24208 (PARMS): Do not use macros from bp-asm.h.
24211 (strchr): Likewise. Do not use BP_SYM.
24212 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24214 (PARMS): Do not use macros from bp-asm.h.
24217 (__strchrnul): Likewise. Do not use BP_SYM.
24218 (strchrnul): Do not use BP_SYM in weak_alias.
24219 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24221 (PARMS): Do not use macros from bp-asm.h.
24223 (strcspn): Do not use BP_SYM.
24224 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24226 (PARMS): Do not use macros from bp-asm.h.
24229 (strpbrk): Likewise. Do not use BP_SYM.
24230 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24232 (PARMS): Do not use macros from bp-asm.h.
24235 (strrchr): Likewise. Do not use BP_SYM.
24236 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24237 (PARMS): Do not use macros from bp-asm.h.
24239 (strspn): Do not use BP_SYM.
24240 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24241 (PARMS): Do not use macros from bp-asm.h.
24245 (FUNCTION): Likewise. Do not use BP_SYM.
24246 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24248 (strtok_r): Likewise.
24249 (__GI___strtok_r): Likewise.
24250 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24251 (PARMS): Do not use macros from bp-asm.h.
24255 (__mpn_sub_n): Do not use BP_SYM.
24256 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24258 (PARMS): Do not use macros from bp-asm.h.
24261 (__mpn_submul_1): Do not use BP_SYM.
24262 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24264 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24266 (PARMS): Do not use macros from bp-asm.h.
24271 (__clone): Do not use BP_SYM.
24272 (clone): Do not use BP_SYM in weak_alias.
24273 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24275 (PARMS): Do not use macros from bp-asm.h.
24277 (__mmap64): Do not use BP_SYM.
24278 (mmap64): Do not use BP_SYM in weak_alias.
24279 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24280 <bp-sym.h> and <bp-asm.h>.
24281 (PARMS): Do not use macros from bp-asm.h.
24282 (__posix_fadvise64_l64): Do not use BP_SYM.
24283 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24284 (PARMS): Do not use macros from bp-asm.h.
24286 (semtimedop): Do not use BP_SYM.
24287 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24290 2013-02-21 Allan McRae <allan@archlinux.org>
24292 * manual/message.texi (Charset conversion in gettext):
24293 Move @end statement to beginning of line.
24295 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24297 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24299 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24302 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24303 (denorm): Likewise.
24304 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24307 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24309 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24310 tail-call to the resolved function if pltexit isn't needed.
24312 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24315 or Y being zero as being unlikely.
24316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24319 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24321 * manual/nss.texi (System Databases and Name Service Switch):
24322 Remove frobnicate @pxref.
24324 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24326 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24327 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24329 2013-02-20 Petr Machata <pmachata@redhat.com>
24331 * elf/elf.h (R_ARM_TARGET1): New macro.
24332 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24333 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24334 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24335 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24336 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24337 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24338 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24339 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24340 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24341 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24342 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24343 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24344 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24345 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24346 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24347 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24348 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24349 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24350 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24351 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24352 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24353 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24354 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24355 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24356 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24357 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24358 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24359 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24360 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24361 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24362 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24363 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24364 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24365 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24366 (R_ARM_THM_GOT_BREL12): Likewise.
24367 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24368 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24369 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24370 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24371 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24372 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24373 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24374 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24375 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24377 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24379 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24380 __attribute_used__ to __attribute__ ((unused)).
24382 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24384 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24387 comment formatting.
24388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24390 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24393 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24395 (ENTER): Remove both macro definitions.
24397 (CHECK_BOUNDS_LOW): Likewise.
24398 (CHECK_BOUNDS_HIGH): Likewise.
24399 (CHECK_BOUNDS_BOTH): Likewise.
24400 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24401 (RETURN_BOUNDED_POINTER): Likewise.
24402 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24403 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24404 (POP_ERRNO_LOCATION_RETURN): Likewise.
24405 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24406 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24407 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24409 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24410 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24411 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24412 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24413 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24414 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24415 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24416 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24417 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24418 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24419 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24420 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24421 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24422 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24424 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24425 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24427 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24428 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24429 * sysdeps/i386/i586/memset.S (memset): Likewise.
24430 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24431 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24432 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24434 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24435 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24436 Change uses of L(2) to L(out).
24437 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24438 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24439 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24440 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24441 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24443 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24444 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24446 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24447 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24448 (RETURN): Do not use macro LEAVE.
24449 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24450 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24451 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24452 * sysdeps/i386/i686/memset.S (memset): Likewise.
24453 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24454 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24455 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24456 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24458 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24459 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24460 L(1_2) and L(1_3) into L(1).
24461 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24462 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24463 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24464 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24465 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24466 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24467 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24468 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24469 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24471 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24472 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24473 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24474 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24475 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24476 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24477 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24478 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24479 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24480 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24481 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24482 * sysdeps/i386/strspn.S (strspn): Likewise.
24483 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24485 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24486 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24487 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24488 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24489 L(1_3) into L(1_1).
24490 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24491 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24492 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24494 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24496 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24498 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24501 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24503 * math/atest-exp.c (exp_mpn): Remove ROUND.
24504 * math/atest-exp2.c (exp_mpn): Likewise.
24505 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24507 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24508 * stdlib/tst-tls-atexit-lib.c: Likewise.
24509 * stdlib/tst-tls-atexit.c: Likewise.
24511 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24513 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24514 and __attribute_alloc_size__.
24516 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24518 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24519 __attribute_alloc_size__.
24520 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24521 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24523 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24525 * include/programs/xmalloc.h: New file.
24526 * catgets/gencat.c: Include it.
24527 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24528 * elf/pldd.c: Likewise.
24529 * iconv/iconv_charmap.c: Likewise.
24530 * iconv/iconvconfig.c: Likewise.
24531 * iconv/strtab.c: Likewise.
24532 * locale/programs/locale.c: Likewise.
24533 * locale/programs/localedef.h: Likewise.
24534 * locale/programs/simple-hash.c: Likewise.
24535 * nscd/nscd.h: Likewise.
24536 * nss/makedb.c: Likewise.
24537 * sysdeps/generic/ldconfig.h: Likewise.
24539 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24541 * Versions.def: Add GLIBC_2.18.
24542 * include/link.h (struct link_map): New member l_tls_dtor_count.
24543 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24544 (__call_tls_dtors): Likewise.
24545 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24546 __cxa_thread_atexit_impl.
24547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24555 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24563 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24564 (tests): Add test case tst-tls-atexit.
24565 (modules-names): Add shared library for tst-tls-atexit.
24566 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24567 (GLIBC_PRIVATE): Add __call_tls_dtors.
24568 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24570 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24571 * stdlib/tst-tls-atexit.c: New test case.
24572 * stdlib/tst-tls-atexit-lib.c: New test case.
24574 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24576 * elf/Versions (ld): Add _dl_find_dso_for_object.
24577 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24578 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24579 (dl_open_worker): Use _dl_find_dso_for_object.
24580 * elf/dl-sym.c (do_sym): Likewise.
24581 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24583 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24585 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24586 Syntactic changes only.
24587 (_dl_runtime_profile): Do a tail-call to the resolved function.
24589 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24592 * sysdeps/x86_64/bp-asm.h: Remove file.
24593 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24594 <bp-sym.h> and <bp-asm.h>.
24595 (__clone): Do not use BP_SYM.
24596 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24597 <bp-sym.h> and <bp-asm.h>.
24598 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24599 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24601 (_setjmp): Do not use BP_SYM.
24602 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24604 (setjmp): Do not use BP_SYM.
24605 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24607 (mempcpy): Do not use BP_SYM in weak_alias.
24608 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24610 (strchr): Do not use BP_SYM.
24611 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24613 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24614 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24615 (_start): Do not use BP_SYM.
24616 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24618 (strcat): Do not use BP_SYM.
24619 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24621 (STRCMP): Do not use BP_SYM.
24622 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24624 (STRCPY): Do not use BP_SYM.
24625 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24627 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24629 (FUNCTION): Do not use BP_SYM.
24630 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24632 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24634 2013-02-17 Andreas Jaeger <aj@suse.de>
24636 * time/Versions: Sort entries.
24637 * string/Versions: Likewise.
24638 * resolv/Versions: Likewise.
24639 * posix/Versions: Likewise.
24640 * iconv/Versions: Likewise.
24641 * elf/Versions: Likewise.
24642 * wcsmbs/Versions: Likewise.
24644 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24646 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24647 loop termination condition.
24649 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24650 variable to calculate EZ.
24653 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24654 the lower precision input.
24656 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24659 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24660 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24661 (run-via-rtld-prefix): Do not handle %-bp tests.
24662 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24663 (all-object-suffixes): Remove .ob.
24664 (bppfx): Remove variable.
24665 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24666 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24667 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24668 [$(build-bounded) = yes] (libtype.ob): Likewise.
24669 * Makerules (elide-routines.ob): Remove variable.
24670 (do-tests-clean): Do not handle *-bp.out.
24671 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24672 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24673 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24674 (tests): Do not include $(tests-bp.out).
24675 (xtests): Do not include $(xtests-bp.out).
24676 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24677 [$(build-bounded) = yes] ($(addprefix
24678 $(objpfx),$(binaries-bounded))): Remove rule.
24679 ($(objpfx)%-bp.out): Remove rule.
24680 * config.make.in (build-bounded): Remove variable.
24681 * crypt/Makefile [$(build-bounded) = yes]
24682 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24683 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24684 append to variable.
24685 [$(build-bounded) = yes] (install-lib): Likewise.
24686 [$(build-bounded) = yes] (generated): Likewise.
24687 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24689 * intl/Makefile [$(build-bounded) = yes]
24690 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24691 * math/Makefile [$(build-bounded) = yes]
24692 ($(tests:%=$(objpfx)%-bp): Likewise.
24693 * misc/Makefile [$(build-bounded) = yes]
24694 ($(objpfx)tst-tsearch-bp): Likewise.
24695 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24696 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24698 * string/Makefile (o-objects.ob): Remove variable.
24699 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24700 (CFLAGS-.ob): Remove variable.
24701 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24702 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24703 both definitions of variable.
24704 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24705 (ASFLAGS-.ob): Remove variable.
24707 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24710 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24711 Remove __BOUNDED_POINTERS__ from condition.
24712 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24713 * string/bits/string2.h [!__NO_STRING_INLINES &&
24714 !__BOUNDED_POINTERS__]: Likewise.
24715 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24717 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24718 Remove conditional code.
24719 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24720 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24721 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24725 * csu/libc-start.c: Do not include <bp-sym.h>.
24726 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24727 * elf/dl-open.c: Do not include <bp-sym.h>.
24728 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24729 * math/fegetenv.c: Do not include <bp-sym.h>.
24730 (fegetenv): Do not use BP_SYM in versioned symbols.
24731 * nptl/sysdeps/pthread/bits/libc-lockP.h
24732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24735 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24737 (__pthread_mutex_destroy): Likewise.
24738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24739 (__pthread_mutex_lock): Likewise.
24740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24741 (__pthread_mutex_trylock): Likewise.
24742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24743 (__pthread_mutex_unlock): Likewise.
24744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24745 (__pthread_mutexattr_init): Likewise.
24746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24747 (__pthread_mutexattr_destroy): Likewise.
24748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24749 (__pthread_mutexattr_settype): Likewise.
24750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24751 (__pthread_rwlock_init): Likewise.
24752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24753 (__pthread_rwlock_destroy): Likewise.
24754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24755 (__pthread_rwlock_rdlock): Likewise.
24756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24757 (__pthread_rwlock_tryrdlock): Likewise.
24758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24759 (__pthread_rwlock_wrlock): Likewise.
24760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24761 (__pthread_rwlock_trywrlock): Likewise.
24762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24763 (__pthread_rwlock_unlock): Likewise.
24764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24765 (__pthread_key_create): Likewise.
24766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24767 (__pthread_setspecific): Likewise.
24768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24769 (__pthread_getspecific): Likewise.
24770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24773 (_pthread_cleanup_push_defer): Likewise.
24774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24775 (_pthread_cleanup_pop_restore): Likewise.
24776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24777 (pthread_setcancelstate): Likewise.
24778 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24780 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24781 (memchr): Do not use BP_SYM in weak_alias.
24782 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24783 (fegetenv): Do not use BP_SYM in versioned symbols.
24784 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24785 (fesetenv): Do not use BP_SYM in versioned symbols.
24786 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24787 (feupdateenv): Do not use BP_SYM in versioned symbols.
24788 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24789 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24790 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24791 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24792 (open64): Do not use BP_SYM in weak_alias.
24793 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24794 (fegetenv): Do not use BP_SYM in versioned symbols.
24795 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24796 (fesetenv): Do not use BP_SYM in versioned symbols.
24797 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24798 (feupdateenv): Do not use BP_SYM in versioned symbols.
24799 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24800 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24801 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24802 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24803 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24804 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24805 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24807 (__libc_start_main): Do not use BP_SYM.
24809 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24811 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24812 redundant return line.
24814 (denorm): Likewise.
24815 (dbl_mp): Likewise.
24816 (sub_magnitudes): Likewise.
24822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24824 (denorm): Likewise.
24825 (dbl_mp): Likewise.
24826 (sub_magnitudes): Likewise.
24833 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24835 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24836 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24839 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24840 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24841 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24842 of __mul for squares.
24843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24847 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24848 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24850 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24853 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24855 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24856 prototype or function definition. Rename ubp_* variables and
24857 parameters. Remove argv definitions conditional on
24858 [__BOUNDED_POINTERS__].
24859 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24860 * elf/dl-runtime.c (_dl_fixup): Likewise.
24861 * include/set-hooks.h (RUN_HOOK): Likewise.
24862 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24864 * string/strcpy.c (strcpy): Do not use __unbounded.
24865 * sysdeps/generic/frame.h (struct layout): Likewise.
24866 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24867 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24868 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24869 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24870 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24871 (__backtrace): Likewise.
24872 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24874 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24875 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24876 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24878 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24879 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24880 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24881 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24882 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24883 Do not use __unbounded.
24884 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24885 Rename __unboundedrlimits parameter to rlimits in prototype.
24886 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24887 Do not use __unbounded.
24888 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24889 not use __ptrvalue.
24890 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24891 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24892 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24893 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24894 __ptrvalue or __unbounded.
24895 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24896 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24898 (__new_msgctl): Do not use __ptrvalue.
24899 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24901 (__libc_msgrcv): Do not use __ptrvalue.
24902 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24903 startup_info): Do not use __unbounded.
24904 (__libc_start_main): Likewise. Rename ubp_* variables and
24905 parameters. Remove argv definitions conditional on
24906 [__BOUNDED_POINTERS__].
24907 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24909 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24911 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24913 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24915 (__new_shmctl): Do not use __ptrvalue.
24916 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24917 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24919 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24920 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24921 (__libc_sigaction): Likewise.
24922 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24923 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24925 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24927 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24929 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24931 * string/mempcpy.c: Implement by calling memcpy.
24933 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24935 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24937 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24940 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24941 values in the mantissa.
24943 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24944 minimize writes to Z.
24945 (sub_magnitudes): Simplify code a bit.
24947 2013-02-12 Roland McGrath <roland@hack.frob.com>
24949 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24950 from the message. The linker prefixes all warnings with that already.
24952 2013-02-12 Andreas Schwab <schwab@suse.de>
24955 * posix/regexec.c (extend_buffers): Add parameter min_len.
24956 (check_matching): Pass minimum needed length.
24957 (clean_state_log_if_needed): Likewise.
24958 (get_subexp): Likewise.
24959 * posix/Makefile (tests): Add bug-regex34.
24960 (bug-regex34-ENV): Define.
24961 * posix/bug-regex34.c: New file.
24964 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24965 elements compare against the byte sequence of it, not its name.
24966 * posix/Makefile (tests): Add bug-regex35.
24967 (bug-regex35-ENV): Define.
24968 * posix/bug-regex35.c: New file.
24970 2013-02-11 Tom de Vries <tom@codesourcery.com>
24972 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24974 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24975 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24976 (CHECK_EOL): Add undef.
24978 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24980 * bits/stdlib-bsearch.h: New file.
24981 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24982 * stdlib/stdlib.h: Likewise.
24984 2013-02-11 Roland McGrath <roland@hack.frob.com>
24986 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24987 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24989 * manual/search.texi (Array Search Function): Add missing const in
24991 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24992 declaration to use rlim_t.
24993 (Basic Scheduling Functions): Remove erroneous const from
24994 sched_getparam prototype. Remove erroneous * from
24995 sched_get_priority_max and sched_get_priority_min prototypes.
24996 (Resource Usage): Fix summary @comment on vtimes to refer to
24997 sys/vtimes.h rather than vtimes.h.
24998 Add missing *s in vtimes prototype.
24999 (Limits on Resources): Fix ulimit prototype to return long int.
25000 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25001 prototypes to use long int rather than double.
25002 (BSD Random): Fix initstate and setstate to use char *, not void *.
25003 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25004 prototype to make second argument 'struct aiocb64 *const[]'.
25005 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25006 (Status of AIO Operations): Remove erroneous const in aio_return and
25007 aio_return64 prototypes.
25008 (Synchronizing I/O): Fix sync prototype to return void.
25009 * manual/startup.texi (Suboptions): Remove an erroneous const in
25010 getsubopt prototype.
25011 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25012 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25013 use size_t rather than int.
25014 (Scanning All Users): Likewise for getpwent_r.
25015 (Setting Groups): Add missing const to setgroups prototype.
25016 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25017 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25018 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25019 'const void *' rather than 'const char *'.
25020 (Host Address Functions): Likewise for inet_ntop.
25021 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25022 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25023 ssize_t for return value.
25024 (Sending Data): Likewise for send, sendto, sendmsg.
25025 (Socket Option Functions): Add a missing const in setsockopt prototype.
25026 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25027 use wchar_t for the argument.
25028 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25029 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25031 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25032 double/float/long double for second argument.
25033 Fix return types of significand, significandf, significandl.
25034 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25035 argument in fchmod prototype.
25036 (File Owner): Use uid_t and gid_t in fchown prototype.
25037 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25038 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25039 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25040 use 'const struct dirent **' as argument types to CMP function pointer
25042 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25043 (File Times): Fix summary magic @comment for struct utimbuf and utime
25044 to refer to utime.h, not time.h.
25045 * manual/string.texi (Argz Functions): Add missing const in
25046 argz_extract and argz_next prototypes.
25047 (Finding Tokens in a String): Likewise for basename.
25048 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25049 (Copying and Concatenation): Fix typo in wmemmove prototype.
25050 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25051 (Signal Stack): Remove erroneous const in sigstack prototype.
25052 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25054 (Simple Calendar Time): Likewise for stime.
25055 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25057 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25058 say sys/sysctl.h instead.
25059 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25060 and vsyslog prototypes.
25062 2013-02-11 Tom de Vries <tom@codesourcery.com>
25064 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25067 2013-02-11 Roland McGrath <roland@hack.frob.com>
25069 * misc/sys/mman.h: Fix typo in mremap comment.
25071 2013-02-08 Roland McGrath <roland@hack.frob.com>
25073 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25074 the '\0' terminator.
25076 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25079 * debug/segfault.c: Don't include <bp-checks.h>.
25080 * sysdeps/generic/bp-checks.h: Remove file.
25081 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25082 (__GETDENTS): Don't use CHECK_N.
25083 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25084 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25085 (__getgroups): Don't use CHECK_N.
25086 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25087 (setgroups): Don't use CHECK_N.
25088 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25089 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25090 (__libc_msgrcv): Don't use CHECK_N.
25091 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25092 (__libc_msgsnd): Don't use CHECK_N.
25093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25095 (__libc_pread): Don't use CHECK_N.
25096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25097 include <bp-checks.h>.
25098 (__libc_pread64): Don't use CHECK_N.
25099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25100 include <bp-checks.h>.
25101 (__libc_pwrite): Don't use CHECK_N.
25102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25103 include <bp-checks.h>.
25104 (__libc_pwrite64): Don't use CHECK_N.
25105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25107 (__libc_pread): Don't use CHECK_N.
25108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25109 include <bp-checks.h>.
25110 (__libc_pread64): Don't use CHECK_N.
25111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25112 include <bp-checks.h>.
25113 (__libc_pwrite): Don't use CHECK_N.
25114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25115 include <bp-checks.h>.
25116 (__libc_pwrite64): Don't use CHECK_N.
25117 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25118 (do_pread): Don't use CHECK_N.
25119 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25120 (do_pread64): Don't use CHECK_N.
25121 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25122 (do_pwrite): Don't use CHECK_N.
25123 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25124 (do_pwrite64): Don't use CHECK_N.
25125 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25126 (__libc_readv): Don't use CHECK_N.
25127 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25128 (semop): Don't use CHECK_N.
25129 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25131 (semtimedop): Don't use CHECK_N.
25132 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25133 (__libc_pread): Don't use CHECK_N.
25134 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25136 (__libc_pread64): Don't use CHECK_N.
25137 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25139 (__libc_pwrite): Don't use CHECK_N.
25140 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25142 (__libc_pwrite64): Don't use CHECK_N.
25143 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25145 (__libc_msgrcv): Don't use CHECK_N.
25146 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25147 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25148 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25149 (__libc_writev): Don't use CHECK_N.
25151 2013-02-08 Roland McGrath <roland@hack.frob.com>
25153 * string/strcpy.c: Removed unused variable.
25155 * Makeconfig (+sysdep-includes): Define with := rather than =.
25156 Use an existing include/ subdir of each sysdeps dir before it.
25158 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25160 * nscd/connection.c (register_traced_file): Comment function.
25161 [HAVE_INOTIFY] (union __inev): Define.
25162 [HAVE_INOTIFY] (inotify_check_files): New function.
25163 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25164 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25166 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25168 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25170 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25171 loaded if not already and that a failure is permanent.
25173 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25176 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25177 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25179 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25182 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25183 (CHECK_1_NULL_OK): Likewise.
25184 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25185 (__fxstat): Do not use CHECK_1.
25186 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25188 (___fxstat64): Do not use CHECK_1.
25189 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25191 (__fxstatat): Do not use CHECK_1.
25192 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25194 (__fxstatat64): Do not use CHECK_1.
25195 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25197 (__fxstat): Do not use CHECK_1.
25198 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25200 (__fxstatat): Do not use CHECK_1.
25201 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25203 (__getresgid): Do not use CHECK_1.
25204 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25206 (__getresuid): Do not use CHECK_1.
25207 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25209 (__lxstat): Do not use CHECK_1.
25210 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25212 (__old_msgctl): Do not use CHECK_1.
25213 (__new_msgctl): Likewise.
25214 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25216 (__new_setrlimit): Do not use CHECK_1.
25217 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25219 (__old_shmctl): Do not use CHECK_1.
25220 (__new_shmctl): Likewise.
25221 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25223 (__xstat): Do not use CHECK_1.
25224 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25225 (__lxstat): Do not use CHECK_1.
25226 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25228 (___lxstat64): Do not use CHECK_1.
25229 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25230 (__old_msgctl): Do not use CHECK_1.
25231 (__new_msgctl): Likewise.
25232 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25234 (__gettimeofday): Do not use CHECK_1.
25235 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25236 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25237 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25239 (__gettimeofday): Do not use CHECK_1.
25240 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25241 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25242 (__new_shmctl): Do not use CHECK_1.
25243 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25245 (do_sigtimedwait): Do not use CHECK_1.
25246 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25248 (do_sigwaitinfo): Do not use CHECK_1.
25249 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25251 (msgctl): Do not use CHECK_1.
25252 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25254 (shmctl): Do not use CHECK_1.
25255 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25256 (ustat): Do not use CHECK_1.
25257 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25259 (__fxstat): Do not use CHECK_1.
25260 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25262 (__fxstatat): Do not use CHECK_1.
25263 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25265 (__lxstat): Do not use CHECK_1.
25266 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25268 (__xstat): Do not use CHECK_1.
25269 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25270 (__xstat): Do not use CHECK_1.
25271 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25272 (___xstat64): Do not use CHECK_1.
25275 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25277 (CHECK_BOUNDS_HIGH): Likewise.
25278 * string/strcpy.c: Do not include <bp-checks.h>.
25279 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25281 2013-02-07 Roland McGrath <roland@hack.frob.com>
25283 * nscd/nscd-client.h (__nscd_drop_map_ref):
25284 Add __attribute__ ((unused)).
25285 * nis/nss-nisplus.h (niserr2nss): Likewise.
25287 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25288 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25290 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25291 Remove inline keyword.
25292 * include/rounding-mode.h (round_away): Likewise.
25293 * libio/wfileops.c (adjust_wide_data): Likewise.
25294 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25295 (__m128i_strloadu_tolower): Likewise.
25296 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25297 (__m128i_strloadu_tolower): Likewise.
25298 * time/mktime.c (ydhms_diff): Likewise.
25299 * locale/elem-hash.h (elem_hash): Likewise.
25300 * locale/setlocale.c (setdata): Likewise.
25301 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25302 (re_string_wchar_at): Likewise.
25303 (bitset_not, bitset_merge, bitset_mask): Likewise.
25304 [!(__GNUC__ > 3)] (inline): Remove macro.
25305 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25306 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25307 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25308 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25309 * string/memcmp.c (memcmp_bytes): Likewise.
25310 * locale/programs/locarchive.c (compute_hashval): Likewise.
25311 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25312 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25313 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25314 * nss/getent.c (print_rpc, print_protocols): Likewise.
25315 (print_passwd, print_group, print_aliases): Likewise.
25316 * nis/nss-nisplus.h (niserr2nss): Likewise.
25317 * nscd/connections.c (restart_p): Likewise.
25318 Change return type to bool.
25320 2013-02-05 Roland McGrath <roland@hack.frob.com>
25322 * Makeconfig (all-Depend-files): Add existing
25323 $(sorted-subdirs:=/Depend) files.
25324 (all-subdirs): Remove nss.
25325 * sysdeps/unix/inet/Subdirs: Add it here instead.
25326 * hesiod/Depend: New file.
25328 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25329 instead of calling alloca.
25331 * io/lseek.c (__lseek): Rename to __libc_lseek.
25332 Define __lseek as an alias.
25334 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25336 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25338 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25339 else clause and remove check for non-standard endianness.
25341 2013-02-04 David S. Miller <davem@davemloft.net>
25343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25345 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25348 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25349 (__ubp_memchr): Remove prototype.
25350 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25351 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25352 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25353 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25354 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25356 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25357 (__ubp_memchr): Likewise.
25358 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25359 (__ubp_memchr): Likewise.
25360 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25361 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25362 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25363 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25365 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25366 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25367 (__getcwd): Do not use CHECK_STRING.
25368 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25370 (__real_chown): Do not use CHECK_STRING.
25371 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25373 (fchownat): Do not use CHECK_STRING.
25374 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25376 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25378 (__lchown): Do not use CHECK_STRING.
25379 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25380 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25381 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25382 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25384 include <bp-checks.h>.
25385 (truncate64): Do not use CHECK_STRING.
25386 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25388 (__real_chown): Do not use CHECK_STRING.
25389 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25391 (__lchown): Do not use CHECK_STRING.
25392 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25394 (__chown): Do not use CHECK_STRING.
25395 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25397 (truncate64): Do not use CHECK_STRING.
25398 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25400 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25401 (__xmknod): Do not use CHECK_STRING.
25402 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25404 (__xmknodat): Do not use CHECK_STRING.
25405 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25406 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25408 2013-02-04 Andreas Schwab <schwab@suse.de>
25411 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25412 * include/netdb.h: Likewise for h_errno.
25413 * elf/tst-stackguard1.c: Include <tls.h>.
25415 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25417 * elf/link.h (struct link_map): Extend the l_addr comment.
25418 * include/link.h (struct link_map): Likewise.
25420 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25423 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25424 (BOUNDED_1): Remove macro.
25425 * debug/backtrace.c: Don't include <bp-checks.h>.
25426 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25427 (__backtrace): Likewise.
25428 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25430 (__backtrace): Don't use BOUNDED_1.
25431 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25433 (__backtrace): Don't use BOUNDED_1.
25434 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25435 (__backtrace): Don't use BOUNDED_1.
25436 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25437 (shmat): Don't use BOUNDED_N.
25439 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25442 * sysdeps/generic/bp-start.h: Remove file.
25443 * csu/libc-start.c: Don't include <bp-start.h>.
25444 (LIBC_START_MAIN): Set up __environ directly instead of using
25445 INIT_ARGV_and_ENVIRON.
25446 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25450 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25452 (CHECK_FCNTL): Likewise.
25453 (CHECK_N_PAGES): Likewise.
25456 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25458 (CHECK_SIGSET_NULL_OK): Likewise.
25459 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25461 (sigpending): Don't use CHECK_SIGSET.
25462 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25464 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25465 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25467 (do_sigsuspend): Don't use CHECK_SIGSET.
25468 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25470 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25471 (do_sigwait): Don't use CHECK_SIGSET.
25472 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25474 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25475 include <bp-checks.h>.
25476 (sigpending): Don't use CHECK_SIGSET.
25477 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25478 include <bp-checks.h>.
25479 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25480 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25482 (sigpending): Don't use CHECK_SIGSET.
25483 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25485 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25488 * sysdeps/generic/bp-semctl.h: Remove file.
25489 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25490 <bp-checks.h> and <bp-semctl.h>.
25491 (__old_semctl): Don't use CHECK_SEMCTL.
25492 (__new_semctl): Likewise.
25493 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25495 (__old_semctl): Don't use CHECK_SEMCTL.
25496 (__new_semctl): Likewise.
25497 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25498 <bp-checks.h> and <bp-semctl.h>.
25499 (__old_semctl): Don't use CHECK_SEMCTL.
25500 (__new_semctl): Likewise.
25501 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25502 <bp-checks.h> and <bp-semctl.h>.
25503 (semctl): Don't use CHECK_SEMCTL.
25506 * Makerules (elide-bp-thunks): Remove variable.
25507 (elide-routines.oS): Don't use $(elide-bp-thunks).
25508 (elide-routines.os): Likewise.
25509 (elide-routines.o): Likewise.
25510 (elide-routines.op): Likewise.
25511 (elide-routines.og): Likewise.
25512 (objects): Don't use $(bp-thunks).
25513 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25515 (common-generated): Do not add s-proto-bp.d.
25516 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25519 Do not generate makefile rules for bounded-pointer thunks.
25520 * sysdeps/generic/bp-thunks.h: Remove file.
25521 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25522 * sysdeps/unix/s-proto-bp.S: Likewise.
25525 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25526 parts of result separately when argument is not close to line from
25527 -i to i and one part of argument is small.
25528 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25529 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25530 * math/libm-test.inc (cacos_test): Add more tests.
25531 (casin_test): Likewise.
25532 (casinh_test): Likewise.
25533 * sysdeps/i386/fpu/libm-test-ulps: Update.
25534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25536 2013-01-31 David S. Miller <davem@davemloft.net>
25538 * po/de.po: Update from translation team.
25540 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25542 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25544 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25546 * configure.in (_AC_PROG_CC_C89): New definition.
25547 * configure: Regenerate.
25549 * configure.in (AC_PROG_CPP): New definition.
25550 * configure: Regenerate.
25552 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25554 * debug/tst-backtrace.h: New file.
25555 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25556 (ret): Remove variable.
25558 (FAIL): Remove macro.
25559 (NO_INLINE): Likewise.
25560 (fn1): Use match function instead of strstr.
25561 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25562 (ret): Remove variable.
25564 (FAIL): Remove macro.
25565 (NO_INLINE): Likewise.
25566 (fn): Use match function instead of strstr.
25567 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25568 (ret): Remove variable.
25570 (FAIL): Remove macro.
25571 (NO_INLINE): Likewise.
25572 (handle_signal): Use match function instead of strstr.
25573 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25574 (ret): Remove variable.
25576 (FAIL): Remove macro.
25577 (NO_INLINE): Likewise.
25578 (handle_signal): Use match function instead of strstr.
25580 2013-01-23 Roland McGrath <roland@hack.frob.com>
25582 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25584 2013-01-23 David S. Miller <davem@davemloft.net>
25586 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25587 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25588 argument of CAS if possible.
25589 * sysdeps/sparc/sparc64/bits/atomic.h
25590 (__arch_compare_and_exchange_val_32_acq): Likewise.
25591 (__arch_compare_and_exchange_val_64_acq): Likewise.
25593 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25595 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25596 * sysdeps/posix/ulimit.c: ... this.
25597 Include <limits.h>.
25598 * sysdeps/unix/bsd/ulimit.c: Remove file.
25600 2013-01-23 Adam Conrad <adconrad@0c3.net>
25602 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25603 (LDFLAGS-tst-array5): Likewise.
25605 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25608 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25609 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25610 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25611 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25613 2013-01-21 David S. Miller <davem@davemloft.net>
25615 * sysdeps/sparc/backtrace.c: New file.
25616 * sysdeps/sparc/sparc32/backtrace.h: New file.
25617 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25618 * sysdeps/sparc/sparc64/backtrace.h: New file.
25619 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25620 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25623 2013-01-21 Andreas Schwab <schwab@suse.de>
25626 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25629 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25633 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25635 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25636 Mark Mitchell <mark@codesourcery.com>
25637 Tom de Vries <tom@codesourcery.com>
25638 Paul Pluzhnikov <ppluzhnikov@google.com>
25640 * debug/tst-backtrace2.c: New file.
25641 * debug/tst-backtrace3.c: Likewise.
25642 * debug/tst-backtrace4.c: Likewise.
25643 * debug/tst-backtrace5.c: Likewise.
25644 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25645 (CFLAGS-tst-backtrace3.c): Likewise.
25646 (CFLAGS-tst-backtrace4.c): Likewise.
25647 (CFLAGS-tst-backtrace5.c): Likewise.
25648 (LDFLAGS-tst-backtrace2): Likewise.
25649 (LDFLAGS-tst-backtrace3): Likewise.
25650 (LDFLAGS-tst-backtrace4): Likewise.
25651 (LDFLAGS-tst-backtrace5): Likewise.
25652 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25653 tst-backtrace4 and tst-backtrace5.
25655 2013-01-18 Anton Blanchard <anton@samba.org>
25656 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25658 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25659 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25660 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25661 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25663 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25664 "+r" and remove output regs list as redundant. Add explicit inline
25665 asm to specify register of return val to work around compiler codegen
25666 bug. Remove (int) cast on return value. Add return type parameter to
25667 use in macro so that this macro does not truncate return value for
25669 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25670 pass to INTERNAL_VSYSCALL_NCS.
25671 (INLINE_VSYSCALL): Add 'long int' as return type to
25672 INTERNAL_VSYSCALL_NCS macro invocation.
25673 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25674 INTERNAL_VSYSCALL_NCS macro invocation.
25675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25677 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25680 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25681 Fix application of SIMD FP exception mask.
25683 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25684 mp_no from a power of two.
25685 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25686 __mpexp_twomm1. Use __pow_mp.
25688 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25691 2013-01-17 David S. Miller <davem@davemloft.net>
25693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25695 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25698 * include/complex.h: Condition contents on [!_COMPLEX_H].
25699 (__kernel_casinhf): New prototype.
25700 (__kernel_casinh): Likewise.
25701 (__kernel_casinhl): Likewise.
25702 * math/Makefile (libm_calls): Add k_casinh.
25703 * math/k_casinh.c: New file.
25704 * math/k_casinhf.c: Likewise.
25705 * math/k_casinhl.c: Likewise.
25706 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25707 finite nonzero arguments.
25708 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25709 finite nonzero arguments.
25710 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25711 finite nonzero arguments.
25712 * math/s_casinh.c: Do not include <float.h>.
25713 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25714 * math/s_casinhf.c: Do not include <float.h>.
25715 (__casinhf): Move code for finite nonzero arguments to
25717 * math/s_casinhl.c: Do not include <float.h>.
25718 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25720 (__casinhl): Move code for finite nonzero arguments to
25722 * math/libm-test.inc (cacos_test): Add more tests.
25723 * sysdeps/i386/fpu/libm-test-ulps: Update.
25724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25726 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25728 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25729 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25730 [!HAVE_MREMAP]: Remove [defined linux] case.
25731 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25733 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25735 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25737 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25739 * elf/elf.h (R_386_SIZE32): New relocation.
25740 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25742 (elf_machine_rela): Likewise.
25743 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25744 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25746 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25748 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25749 (FP_FAST_FMA): Do not define.
25750 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25751 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25752 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25753 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25754 !_SOFT_FLOAT]: Likewise.
25755 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25756 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25758 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25759 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25760 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25761 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25762 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25763 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25766 2013-01-16 Andreas Schwab <schwab@suse.de>
25769 * include/stdlib.h (__mktemp): Add declaration.
25770 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25771 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25773 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25775 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25777 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25778 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25779 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25781 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25782 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25784 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25786 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25787 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25788 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25790 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25791 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25793 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25795 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25797 2013-01-15 David S. Miller <davem@davemloft.net>
25799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25800 trunc{,f} to libm-sysdep_routes.
25801 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25811 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25812 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25813 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25814 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25815 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25816 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25819 nearbyint{,f} to libm-sysdep_routes.
25820 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25831 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25833 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25834 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25836 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25837 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25838 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25840 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25841 libc_feholdexcept and libc_fesetenv.
25843 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25845 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25847 2013-01-14 David S. Miller <davem@davemloft.net>
25849 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25850 (SPARC_ASM_VIS2_IFUNC): Likewise.
25851 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25853 use of 'siam' instruction.
25854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25860 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25861 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25863 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25872 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25873 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25874 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25875 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25882 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25883 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25884 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25885 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25887 routines to libm-sysdep_routines.
25888 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25891 fdim/fdimf to libm-sysdep_routines.
25892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25900 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25901 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25902 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25903 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25905 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25907 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25908 to optimize copies.
25910 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25912 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25915 local variable MPTWO.
25916 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25919 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25921 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25924 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25926 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25928 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25930 * manual/pattern.texi (glob_t): Document gl_flags.
25931 (glob64_t): Likewise.
25933 2013-01-11 David S. Miller <davem@davemloft.net>
25935 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25936 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25937 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25938 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25939 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25940 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25941 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25942 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25943 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25944 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25945 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25946 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25947 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25949 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25950 sparc V9 rather than using V8 code.
25951 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25952 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25954 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25956 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25959 2013-01-11 Roland McGrath <roland@hack.frob.com>
25961 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25962 not in the main loop.
25963 * configure: Regenerated.
25965 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25967 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25968 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25970 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25971 [!__GLIBC_HAVE_LONG_LONG] case.
25972 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25973 condition to just #else.
25974 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25975 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25976 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25977 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25979 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25980 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25981 #elif condition to just #else.
25982 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25983 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25984 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25985 #elif condition to just #else.
25987 2013-01-11 Steve Ellcey <sellcey@mips.com>
25989 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25990 (EF_MIPS_ARCH_64): Fix value.
25991 (EF_MIPS_ARCH_32R2): New.
25992 (EF_MIPS_ARCH_64R2): New.
25994 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25996 * Makeconfig (+link-pie-before-libc): New.
25997 (+link-pie-after-libc): Likewise.
25998 (+link-pie-tests): Likewise.
25999 (+link-pie): Rewritten.
26000 (link-before-libc): Remove $(config-LDFLAGS).
26001 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26002 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26003 (config-LDFLAGS): Renamed to ...
26004 (rtld-LDFLAGS): This.
26005 (rtld-tests-LDFLAGS): New macro.
26006 (link-libc-rpath-link): Likewise.
26007 (link-libc-tests-rpath-link): Likewise.
26008 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26009 (link-libc): Prepand $(link-libc-rpath-link).
26010 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26011 (test-program-prefix): New macro.
26012 (test-via-rtld-prefix): Likewise.
26013 (test-program-cmd): Likewise.
26014 (host-test-program-cmd): Likewise.
26015 * Makefile ($(common-objpfx)testrun.sh): Replace
26016 $(run-program-prefix) with $(test-program-prefix).
26017 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26019 ($(common-objpfx)shlib.lds): Likewise.
26020 (build-module-helper): Likewise.
26021 ($(common-objpfx)format.lds): Likewise.
26022 * Rules (binaries-pie-tests): New.
26023 (binaries-pie-notests): Likewise.
26024 (binaries-pie): Rewritten.
26025 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26026 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26027 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26028 (make-test-out): Replace $(host-built-program-cmd) with
26029 $(host-test-program-cmd).
26030 * config.make.in (build-hardcoded-path-in-tests): New variable.
26031 * configure.in (--enable-hardcoded-path-in-tests): New configure
26033 (hardcoded_path_in_tests): New AC_SUBST.
26034 * configure: Regenerated.
26035 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26036 $(built-program-cmd) with $(test-program-cmd).
26037 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26038 (test_program_cmd): This.
26039 * elf/Makefile ($(objpfx)order.out): Run test with
26040 $(test-program-prefix).
26041 ($(objpfx)order2.out): Likewise.
26042 ($(objpfx)tst-initorder.out): Likewise.
26043 ($(objpfx)tst-initorder2.out): Likewise.
26044 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26045 $(test-program-cmd).
26046 ($(objpfx)tst-array1-static.out): Likewise.
26047 ($(objpfx)tst-array2.out): Likewise.
26048 ($(objpfx)tst-array3.out): Likewise.
26049 ($(objpfx)tst-array4.out): Likewise.
26050 ($(objpfx)tst-array5.out): Likewise.
26051 ($(objpfx)tst-array5-static.out): Likewise.
26052 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26053 $(test-program-cmd).
26054 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26055 $(run-program-prefix) with $(test-program-prefix).
26056 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26057 (test_program_prefix): This.
26058 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26059 $(run-program-prefix) with $(test-program-prefix).
26060 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26061 (test_program_prefix): This.
26062 * iconvdata/tst-tables.sh: Likewise.
26063 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26064 $(run-program-prefix) with $(test-program-prefix).
26065 ($(objpfx)tst-translit.out): Likewise.
26066 ($(objpfx)tst-gettext2.out): Likewise.
26067 ($(objpfx)tst-gettext4.out): Likewise.
26068 ($(objpfx)tst-gettext6.out): Likewise.
26069 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26070 (test_program_prefix): This.
26071 * intl/tst-gettext2.sh: Likewise.
26072 * intl/tst-gettext4.sh Likewise.
26073 * intl/tst-gettext6.sh: Likewise.
26074 * intl/tst-translit.sh: Likewise.
26075 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26076 with $(test-program-cmd).
26077 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26078 $(run-program-prefix) with $(test-program-prefix).
26079 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26080 (test_program_prefix): This.
26081 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26082 $(run-program-prefix) with $(test-program-prefix).
26083 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26084 (test_program_prefix): This.
26085 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26086 * posix/Makefile ($(objpfx)globtest.out): Replace
26087 $(run-via-rtld-prefix) and $(test-wrapper) with
26088 $(test-program-prefix) and $(test-via-rtld-prefix).
26089 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26090 $(test-program-prefix).
26091 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26092 $(host-test-program-cmd).
26093 (tst-spawn-ARGS): Likewise.
26094 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26095 $(test-program-prefix).
26096 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26097 (test_via_rtld_prefix): This.
26098 (test_wrapper): Renamed to ...
26099 (test_program_prefix): This.
26100 (run_program_prefix): Replaced by test_program_prefix.
26101 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26102 (test_program_prefix): This.
26103 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26104 with $(host-test-program-cmd).
26105 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26106 $(run-program-prefix) with $(test-program-prefix).
26107 ($(objpfx)tst-printf.out): Likewise.
26108 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26109 $(test-program-cmd).
26110 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26111 (test_program_prefix): This.
26112 * stdio-common/tst-unbputc.sh: Likewise.
26113 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26114 $(run-program-prefix) with $(test-program-prefix).
26115 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26116 (test_program_prefix): This.
26117 * string/Makefile ($(objpfx)tst-svc.out): Replace
26118 $(built-program-cmd) with $(test-program-cmd).
26120 2013-01-11 Andreas Jaeger <aj@suse.de>
26123 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26124 value. Sync with Linux 3.7.
26126 2013-01-10 David S. Miller <davem@davemloft.net>
26128 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26129 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26130 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26132 2013-01-10 Roland McGrath <roland@hack.frob.com>
26134 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26136 * configure: Regenerated.
26138 2013-01-10 David S. Miller <davem@davemloft.net>
26140 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26141 sparc V9 rather than using V8 code.
26142 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26143 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26145 2013-01-10 Roland McGrath <roland@hack.frob.com>
26147 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26148 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26149 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26150 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26151 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26152 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26153 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26154 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26155 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26156 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26157 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26158 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26159 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26160 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26161 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26162 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26163 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26164 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26165 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26166 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26167 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26168 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26169 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26170 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26171 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26172 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26173 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26175 2013-01-10 David S. Miller <davem@davemloft.net>
26177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26179 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26181 * posix/Makefile (tests-static): New variable.
26182 (tests): Add $(tests-static).
26183 (tst-exec-static-ARGS): New variable.
26184 (tst-spawn-static-ARGS): Likewise.
26185 * posix/tst-exec-static.c: New file.
26186 * posix/tst-spawn-static.c: Likewise.
26187 * posix/tst-exec.c: Support run directly.
26188 * posix/tst-spawn.c: Likewise.
26190 2013-01-10 Joseph Myers <joseph@codesourcery.com>
26192 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26194 * math/bits/mathcalls.h (llrint): Likewise.
26195 (llround): Likewise.
26196 * stdlib/stdlib.h (struct drand48_data): Likewise.
26197 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26198 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26199 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26201 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26203 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26204 (elf_greg_t): Likewise.
26205 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26206 (__jmp_buf): Likewise.
26207 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26209 (llrint): Likewise, for all definitions.
26210 (llrintl): Likewise.
26212 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26213 Remove [__GNUC__] condition.
26214 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26215 condition to just [__USE_ISOC99].
26216 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26218 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26221 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26222 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26224 (_POSIX_V6_ILP32_OFF32): Likewise.
26225 (_XBS5_ILP32_OFF32): Likewise.
26226 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26227 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26229 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26231 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26233 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26234 doubles __mpexp_twomm1. Adjust usage.
26235 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26238 2013-01-10 Andreas Schwab <schwab@suse.de>
26241 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26242 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26244 2013-01-09 David S. Miller <davem@davemloft.net>
26247 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26248 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26249 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26250 (TCP_FASTOPEN): Define.
26251 (tcp_repair_opt): New structure.
26252 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26254 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26255 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26256 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26257 (tcp_cookie_transactions): New structure.
26259 2013-01-09 Anton Blanchard <anton@samba.org>
26261 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26262 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26263 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26264 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26266 2013-01-09 Joseph Myers <joseph@codesourcery.com>
26268 * include/features.h (__USE_ANSI): Remove.
26270 2013-01-09 Roland McGrath <roland@hack.frob.com>
26272 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26274 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26276 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26278 * sysdeps/s390/fpu/libm-test-ulps: Update.
26280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26282 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26286 (denorm): Likewise.
26287 (__mp_dbl): Likewise.
26288 (__dbl_mp): Likewise.
26289 (add_magnitudes): Likewise.
26290 (sub_magnitudes): Likewise.
26296 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26300 (denorm): Likewise.
26301 (__mp_dbl): Likewise.
26302 (__dbl_mp): Likewise.
26303 (add_magnitudes): Likewise.
26304 (sub_magnitudes): Likewise.
26310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26314 (denorm): Likewise.
26315 (__mp_dbl): Likewise.
26316 (__dbl_mp): Likewise.
26317 (add_magnitudes): Likewise.
26318 (sub_magnitudes): Likewise.
26325 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26327 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26328 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26329 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26330 2 && __USE_EXTERN_INLINES]: Likewise.
26332 2013-01-08 Andreas Jaeger <aj@suse.de>
26335 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26337 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26338 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26340 2013-01-07 Anton Blanchard <anton@samba.org>
26342 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26343 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26344 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26345 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26346 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26347 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26348 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26349 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26351 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26352 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26353 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26354 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26355 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26356 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26357 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26358 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26359 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26360 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26361 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26362 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26363 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26364 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26365 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26366 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26367 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26368 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26369 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26370 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26371 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26372 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26374 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26375 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26376 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26377 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26378 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26379 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26380 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26381 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26382 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26383 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26384 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26386 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26388 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26389 (__MALLOC_PMT): Likewise.
26390 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26391 [__GNUC__], only on [_LIBC].
26392 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26393 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26394 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26395 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26396 forward declaration.
26397 (realloc_hook_ini): Likewise.
26398 (memalign_hook_ini): Likewise.
26399 (__libc_memalign): Do not use __MALLOC_PMT in variable
26401 (__libc_valloc): Likewise.
26402 (__libc_pvalloc): Likewise.
26403 (__libc_calloc): Likewise.
26404 (__posix_memalign): Likewise.
26407 * math/s_casinh.c: Include <float.h>.
26408 (__casinh): Do not do computation with squaring and square root
26409 for large arguments.
26410 * math/s_casinhf.c: Include <float.h>.
26411 (__casinhf): Do not do computation with squaring and square root
26412 for large arguments.
26413 * math/s_casinhl.c: Include <float.h>.
26414 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26415 (__casinhl): Do not do computation with squaring and square root
26416 for large arguments.
26417 * math/libm-test.inc (casin_test): Add more tests.
26418 (casinh_test): Likewise.
26419 * sysdeps/i386/fpu/libm-test-ulps: Update.
26420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26422 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26424 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26425 (__x86_64_raw_data_cache_size): Likewise.
26426 (__x86_64_data_cache_size_half): Likewise.
26427 (__x86_64_raw_data_cache_size_half): Likewise.
26428 (__x86_64_shared_cache_size): Likewise.
26429 (__x86_64_raw_shared_cache_size): Likewise.
26430 (__x86_64_shared_cache_size_half): Likewise.
26431 (__x86_64_raw_shared_cache_size_half): Likewise.
26432 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26434 (__x86_data_cache_size): This.
26435 (__x86_64_raw_data_cache_size): Renamed to ...
26436 (__x86_raw_data_cache_size): This.
26437 (__x86_64_data_cache_size_half): Renamed to ...
26438 (__x86_data_cache_size_half): This.
26439 (__x86_64_raw_data_cache_size_half): Renamed to ...
26440 (__x86_raw_data_cache_size_half): This.
26441 (__x86_64_shared_cache_size): Renamed to ...
26442 (__x86_shared_cache_size): This.
26443 (__x86_64_raw_shared_cache_size): Renamed to ...
26444 (__x86_raw_shared_cache_size): This.
26445 (__x86_64_shared_cache_size_half): Renamed to ...
26446 (__x86_shared_cache_size_half): This.
26447 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26448 (__x86_raw_shared_cache_size_half): This.
26449 * sysdeps/x86_64/memcpy.S: Updated.
26450 * sysdeps/x86_64/memset.S: Likewise.
26451 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26452 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26453 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26455 2013-01-04 David S. Miller <davem@davemloft.net>
26457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26459 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26461 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26462 1 to avoid redefinition warning.
26463 (__USE_GNU): Don't define.
26464 (init_signaling_nan): Protoize.
26466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26468 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26470 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26472 (__cpymn): Likewise.
26473 (norm): Remove commented code.
26474 (denorm): Likewise.
26475 (__mp_dbl): Likewise.
26477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26478 (__cpymn): Likewise.
26479 (norm): Remove commented code.
26480 (denorm): Likewise.
26481 (__mp_dbl): Likewise.
26484 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26485 mp_no value for 1.0 and 2.0.
26486 (norm): Use RADIXI instead of radixi.d.
26487 (denorm): Likewise.
26488 (__mul): Use 0.0 instead of zero.d.
26489 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26490 mp_no value for 1.0 and 2.0.
26491 (norm): Use RADIXI instead of radixi.d.
26492 (denorm): Likewise.
26493 (__mul): Use 0.0 instead of zero.d.
26495 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26498 * math/s_casinh.c (__casinh): Reduce finite argument to first
26499 quadrant then set signs of results at the end.
26500 * math/s_casinhf.c (__casinhf): Likewise.
26501 * math/s_casinhl.c (__casinhl): Likewise.
26502 * math/libm-test.inc (casin_test): Add more tests.
26503 (casinh_test): Likewise.
26504 * sysdeps/i386/fpu/libm-test-ulps: Update.
26505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26507 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26509 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26511 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26513 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26515 (denorm): Likewise.
26516 (__mp_dbl): Likewise.
26519 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26520 and adjust the header comment.
26522 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26523 variable name from declaration.
26525 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26527 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26528 Initialize COMMON_CPUID_INDEX_7 element.
26529 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26530 (CPUID_RTM): Likewise.
26531 (HAS_RTM): Likewise.
26532 (COMMON_CPUID_INDEX_7): New enum.
26534 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26537 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26538 size is zero, record memory as freed.
26540 2013-01-03 Andreas Jaeger <aj@suse.de>
26542 * po/ia.po: Add new Interlingua translation.
26544 2012-01-03 Allan McRae <allan@archlinux.org>
26546 * locale/programs/localedef.c: Fix description of '--posix' flag.
26548 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26550 * NEWS: Update dates in second copyright notice.
26551 * README: Update copyright dates in example.
26552 * manual/libc.texinfo: Update copyright dates.
26553 * scripts/test-installation.pl: Update copyright date in --version
26556 * hurd/ctty-input.c: Fix copyright notice formatting.
26557 * hurd/ctty-output.c: Likewise.
26558 * hurd/dtable.c: Likewise.
26559 * hurd/hurd-raise.c: Likewise.
26560 * hurd/hurdprio.c: Likewise.
26561 * hurd/msgportdemux.c: Likewise.
26562 * misc/sys/file.h: Likewise.
26563 * misc/sys/ioctl.h: Likewise.
26564 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26565 * sysdeps/mach/hurd/chdir.c: Likewise.
26566 * sysdeps/mach/hurd/fchdir.c: Likewise.
26567 * sysdeps/mach/hurd/rename.c: Likewise.
26568 * sysdeps/mach/hurd/rmdir.c: Likewise.
26569 * sysdeps/mach/hurd/seekdir.c: Likewise.
26570 * sysdeps/mach/hurd/setsid.c: Likewise.
26571 * sysdeps/posix/wait3.c: Likewise.
26573 * All files with FSF copyright notices: Update copyright dates
26574 using scripts/update-copyrights.
26575 * intl/plural.c: Regenerated.
26576 * locale/programs/charmap-kw.h: Likewise.
26577 * locale/programs/locfile-kw.h: Likewise.
26579 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26581 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26584 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26585 calculation loop and add branch prediction.
26587 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26588 check access beyond bounds of m1np.
26590 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26592 (__inv): Remove local variable MPTWO to use the global
26594 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26595 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26597 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26598 MP3HALFS static const.
26600 2013-01-01 David S. Miller <davem@davemloft.net>
26602 * po/ca.po: Update from translation team.
26604 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26606 * scripts/update-copyrights: New file.
26607 * Makeconfig: Reformat copyright notice.
26608 * ctype/ctype.h: Likewise.
26609 * debug/swprintf_chk.c: Likewise.
26610 * elf/dl-cache.c: Likewise.
26611 * elf/dl-debug.c: Likewise.
26612 * elf/dl-object.c: Likewise.
26613 * grp/initgroups.c: Likewise.
26614 * hurd/Makefile: Likewise.
26615 * hurd/hurd/signal.h: Likewise.
26616 * hurd/hurdfault.c: Likewise.
26617 * hurd/hurdioctl.c: Likewise.
26618 * hurd/hurdlookup.c: Likewise.
26619 * hurd/intr-msg.c: Likewise.
26620 * iconv/gconv_open.c: Likewise.
26621 * libio/swprintf.c: Likewise.
26622 * locale/lc-ctype.c: Likewise.
26623 * locale/nl_langinfo.c: Likewise.
26624 * mach/Machrules: Likewise.
26625 * mach/Makefile: Likewise.
26626 * malloc/obstack.h: Likewise.
26627 * manual/Makefile: Likewise.
26628 * manual/tsort.awk: Likewise.
26629 * misc/bits/stab.def: Likewise.
26630 * nis/nis_print_group_entry.c: Likewise.
26631 * nis/nis_table.c: Likewise.
26632 * nis/nss_compat/compat-pwd.c: Likewise.
26633 * nis/nss_compat/compat-spwd.c: Likewise.
26634 * po/Makefile: Likewise.
26635 * posix/fnmatch.c: Likewise.
26636 * posix/regex.h: Likewise.
26637 * resolv/Makefile: Likewise.
26638 * resolv/nss_dns/dns-network.c: Likewise.
26639 * resolv/res_hconf.c: Likewise.
26640 * scripts/gen-sorted.awk: Likewise.
26641 * soft-fp/soft-fp.h: Likewise.
26642 * stdio-common/printf.h: Likewise.
26643 * stdlib/monetary.h: Likewise.
26644 * stdlib/random.c: Likewise.
26645 * stdlib/random_r.c: Likewise.
26646 * sysdeps/generic/Makefile: Likewise.
26647 * sysdeps/gnu/Makefile: Likewise.
26648 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26649 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26650 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26651 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26652 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26653 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26654 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26655 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26656 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26657 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26658 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26659 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26660 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26661 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26662 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26663 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26664 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26665 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26666 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26667 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26668 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26669 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26670 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26671 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26672 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26673 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26674 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26675 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26676 * sysdeps/mach/hurd/errnos.awk: Likewise.
26677 * sysdeps/mach/hurd/fork.c: Likewise.
26678 * sysdeps/mach/hurd/getcwd.c: Likewise.
26679 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26680 * sysdeps/mach/hurd/mmap.c: Likewise.
26681 * sysdeps/mach/hurd/utimes.c: Likewise.
26682 * sysdeps/mach/hurd/xmknod.c: Likewise.
26683 * sysdeps/posix/profil.c: Likewise.
26684 * sysdeps/posix/readdir_r.c: Likewise.
26685 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26686 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26687 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26688 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26689 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26690 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26691 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26692 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26693 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26694 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26695 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26696 * sysdeps/pthread/lio_listio.c: Likewise.
26697 * sysdeps/sparc/dl-procinfo.h: Likewise.
26698 * sysdeps/unix/i386/sysdep.S: Likewise.
26699 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26700 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26701 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26702 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26704 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26705 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26706 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26707 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26708 * sysdeps/wordsize-32/divdi3.c: Likewise.
26709 * time/sys/time.h: Likewise.
26710 * wcsmbs/Makefile: Likewise.
26712 2013-01-01 David S. Miller <davem@davemloft.net>
26714 * po/fr.po: Update from translation team.
26716 * catgets/gencat.c: Update copyright year.
26717 * csu/version.c: Likewise.
26718 * debug/catchsegv.sh: Likewise.
26719 * debug/pcprofiledump.c: Likewise.
26720 * debug/xtrace.sh: Likewise.
26721 * elf/ldconfig.c: Likewise.
26722 * elf/ldd.bash.in: Likewise.
26723 * elf/pldd.c: Likewise.
26724 * elf/sotruss.ksh: Likewise.
26725 * elf/sprof.c: Likewise.
26726 * iconv/iconv_prog.c: Likewise.
26727 * iconv/iconvconfig.c: Likewise.
26728 * locale/programs/locale.c: Likewise.
26729 * locale/programs/localedef.c: Likewise.
26730 * login/programs/pt_chown.c: Likewise.
26731 * malloc/memusage.sh: Likewise.
26732 * malloc/memusagestat.c: Likewise.
26733 * malloc/mtrace.pl: Likewise.
26734 * nscd/nscd.c: Likewise.
26735 * nss/getent.c: Likewise.
26736 * nss/makedb.c: Likewise.
26737 * posix/getconf.c: Likewise.
26739 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26741 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26744 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26746 * math/bits/mathcalls.h (modf): Use __nonnull.
26748 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26750 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26751 (split): Use macro CN instead of the bare value.
26752 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26754 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26755 instead of the bare value.
26756 (power1): Likewise.
26758 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26760 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26762 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26764 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26766 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26767 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26768 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26769 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26771 2012-12-28 Andreas Jaeger <aj@suse.de>
26773 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26774 values are from Linux 3.7.
26776 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26777 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26779 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26781 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26784 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26786 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26787 variables with preprocessor constants.
26788 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26789 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26790 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26792 2012-12-27 Bruno Haible <bruno@clisp.org>
26795 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26798 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26800 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26801 and use variable directly.
26802 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26804 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26806 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26807 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26809 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26810 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26811 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26812 include directive. Remove local variable MPONE.
26813 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26814 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26815 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26817 2012-12-25 David S. Miller <davem@davemloft.net>
26819 * version.h (RELEASE): Set to "development".
26820 (VERSION): Set to "2.17.90".
26821 * NEWS: Add 2.18 section.
26823 2012-12-21 David S. Miller <davem@davemloft.net>
26825 * po/hr.po: Update from translation team.
26827 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26829 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26831 2012-12-19 Steve Ellcey <sellcey@mips.com>
26833 * NEWS: Mention new memcpy for MIPS.
26835 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26837 * manual/contrib.texi (Contributors): Spelling correction.
26839 2012-12-15 David S. Miller <davem@davemloft.net>
26841 * po/ru.po: Update from translation team.
26843 2012-12-13 David S. Miller <davem@davemloft.net>
26845 * NEWS: Mention IFUNC testsuite enhancements.
26847 * po/pl.po: Update from translation team.
26848 * po/bg.po: Likewise.
26850 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26851 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26853 2012-12-11 David S. Miller <davem@davemloft.net>
26855 * po/sv.po: Update from translation team.
26857 * po/vi.po: Update from translation team.
26859 * po/cs.po: Update from translation team.
26861 * po/de.po: Update from translation team.
26862 * po/eo.po: Likewise.
26863 * po/nl.po: Likewise.
26865 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26868 * manual/argp.texi (Argp Helper Functions): Move node to follow
26869 Argp Parsing State.
26872 * manual/conf.texi (Limits on File System Capacity): Mention if
26873 terminating null is included in the max size.
26875 2012-12-10 Andreas Jaeger <aj@suse.de>
26877 * po/cs.po: Update from translation team.
26879 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26881 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26882 void pointer and cast to uintptr_t.
26883 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26885 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26886 * sysdeps/s390/s390-64/memset.S: Likewise.
26888 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26891 * menual/message.texi (Message Translation): Fix typos.
26892 (Helper programs for gettext): Likewise.
26894 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26897 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26900 2012-12-07 David S. Miller <davem@davemloft.net>
26902 * po/libc.pot: Update.
26904 2012-12-07 Richard Henderson <rth@redhat.com>
26907 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26908 normal/normal case to before the switch.
26909 (_FP_DIV): Likewise.
26911 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26912 Mike Frysinger <vapier@gentoo.org>
26914 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26915 check for __NR_fadvise64_64.
26917 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26919 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26920 0, not just to plain "0" as a statement.
26921 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26924 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26926 * NEWS: Use sourceware.org in Bugzilla URL.
26928 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26931 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26933 * stdio-common/tst-put-error.c (do_test): Add newline to the
26934 padded test to ensure flush.
26936 2012-12-05 Jeff Law <law@redhat.com>
26938 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26940 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26942 * README: Don't refer to ports add-on as distributed separately.
26943 Mention AArch64 in list of systems supported in the ports add-on.
26945 * LICENSES: Add more non-FSF copyright and license notices.
26947 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26950 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26952 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26953 10000 as width of padded output.
26955 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26957 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26959 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26960 variable LX with __attribute__ ((unused)).
26961 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26963 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26964 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26965 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26966 with __attribute__ ((unused)).
26968 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26970 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26972 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26974 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26975 (CFLAGS-nldbl-acos.c): New variable.
26976 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26977 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26978 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26979 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26980 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26981 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26982 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26983 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26984 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26985 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26986 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26987 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26988 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26989 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26990 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26991 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26992 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26993 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26994 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26995 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26996 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26997 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26998 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26999 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27000 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27001 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27002 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27003 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27004 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27005 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27006 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27007 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27008 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27009 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27010 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27011 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27012 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27013 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27014 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27015 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27016 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27017 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27018 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27019 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27020 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27021 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27022 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27023 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27024 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27025 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27026 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27027 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27028 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27029 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27030 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27031 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27032 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27033 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27034 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27035 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27036 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27037 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27038 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27039 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27040 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27041 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27042 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27043 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27044 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27045 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27046 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27047 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27048 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27049 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27050 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27051 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27052 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27053 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27054 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27055 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27056 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27057 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27058 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27059 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27060 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27061 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27062 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27063 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27064 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27065 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27066 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27067 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27068 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27069 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27070 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27071 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27072 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27075 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27078 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27079 whole low double instead of just low 47 bits when splitting values
27082 2012-12-03 Allan McRae <allan@archlinux.org>
27084 * manual/stdio.texi (Predefined Printf Handlers): Remove
27085 @hsep and @vsep usage.
27087 2012-12-03 Mike Frysinger <vapier@gentoo.org>
27089 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27090 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27092 2012-12-03 Jeff Law <law@redhat.com>
27094 * time/sys/time.h (settimeofday): Do not mark TV argument
27097 2012-12-01 Mike Frysinger <vapier@gentoo.org>
27099 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27100 when currently writing and seek to current position when not.
27101 * libio/Makefile (tests): Remove bug-fclose1.
27102 * libio/bug-fclose1.c: Delete.
27104 2012-12-01 Joseph Myers <joseph@codesourcery.com>
27106 * manual/arith.texi (feenableexcept): Fix typo.
27107 (fedisableexcept): Likewise.
27109 2012-11-30 Roland McGrath <roland@hack.frob.com>
27111 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27112 second, differently-typed declaration, rather than a cast.
27114 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27116 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27117 * include/rpc/svc.h: ... here.
27119 2012-11-30 Aurelien Jarno <aurel32@debian.org>
27122 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27123 depending n and resplen2 to catch cases where answer
27126 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27128 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27129 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27131 2012-11-29 Mike Frysinger <vapier@gentoo.org>
27133 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27135 2012-11-29 Roland McGrath <roland@hack.frob.com>
27137 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27139 2012-11-28 Jeff Law <law@redhat.com>
27142 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27143 dataset_temporary. Track alloca usage into alloca_used.
27144 If dataset is large allocate and release it via malloc/free.
27146 2012-06-04 Florian Weimer <fweimer@redhat.com>
27149 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27151 2012-11-28 David S. Miller <davem@davemloft.net>
27153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27155 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27158 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27159 of pi/2 rounded to nearest to 64 bits.
27160 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27161 nearest to 64 bits.
27162 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27165 2012-11-28 Jeff Law <law@redhat.com>
27166 Martin Osvald <mosvald@redhat.com>
27169 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27170 * sunrpc/svc.c: Include time.h.
27171 (__svc_accept_failed): New function.
27172 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27173 any reason other than EINTR, call __svc_accept_failed.
27174 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27175 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27177 2012-11-28 Andreas Schwab <schwab@suse.de>
27179 * scripts/abilist.awk: Also handle indirect functions in .opd
27182 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27185 * sysdeps/x86/fpu/powl_helper.c: New file.
27186 * sysdeps/x86/fpu/Makefile: Likewise.
27187 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27189 (__ieee754_powl): Use __powl_helper for finite arguments except
27190 integer exponents below 8.
27191 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27193 (__ieee754_powl): Use __powl_helper for finite arguments except
27194 integer exponents below 8.
27195 * math/libm-test.inc (pow_test): Add more tests and enable some
27196 previously disabled tests.
27197 * sysdeps/i386/fpu/libm-test-ulps: Update.
27198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27200 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27201 Carlos O'Donell <carlos_odonell@mentor.com>
27203 * nss/makedb.c (is_prime): Assert that input is odd and greater
27204 than 4. Note that fact in a comment too.
27205 (next_prime): Add 4 to input.
27207 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27210 * libio/Makefile (tests): Add test case tst-fwrite-error.
27211 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27212 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27213 * libio/tst-fwrite-error.c: New test case.
27215 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27217 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27218 before casting to void *.
27219 * include/libc-internal.h (__pointer_type): New macro.
27220 (__integer_if_pointer_type_sub): Likewise.
27221 (__integer_if_pointer_type): Likewise.
27222 (cast_to_integer): Likewise.
27223 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27224 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27225 before casting to atomic64_t.
27226 (atomic_exchange_acq): Likewise.
27227 (__arch_exchange_and_add_body): Likewise.
27228 (__arch_add_body): Likewise.
27229 (atomic_add_negative): Likewise.
27230 (atomic_add_zero): Likewise.
27232 2012-11-26 Joseph Myers <joseph@codesourcery.com>
27234 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27235 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27236 (add_fdes): Likewise.
27237 (linear_search_fdes): Likewise.
27238 (binary_search_unencoded_fdes): Likewise.
27240 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27242 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27244 2012-11-24 Adam Conrad <adconrad@0c3.net>
27246 * configure.in: Autodetect C++ header directories.
27247 * configure: Regenerated.
27249 2012-11-23 Mike Frysinger <vapier@gentoo.org>
27251 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27253 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27257 2012-11-22 Joseph Myers <joseph@codesourcery.com>
27259 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27260 LDBL_MANT_DIG == 106]: Disable some tests.
27261 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27263 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27267 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27268 input for small inputs. Return +/- pi/2 for large inputs.
27269 * math/libm-test.inc (atan_test): Add more tests.
27271 * sysdeps/generic/unwind-dw2-fde-glibc.c
27272 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27273 __attribute__ ((unused)).
27276 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27277 x * y if x and y are nonzero and z is zero.
27280 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27281 nonzero exponents with absolute value below 0x1p-117 to +/-
27285 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27286 up arguments below 2**-450, not just those below 2**-500.
27287 * math/libm-test.inc (hypot_test): Add another test.
27290 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27291 Return a+b for ratio over 2**120, not 2**60.
27292 * math/libm-test.inc (hypot_test): Add another test.
27294 * math/libm-test.inc (clog_test): Use
27295 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27296 (clog10_test): Likewise.
27299 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27301 2012-11-22 Andreas Schwab <schwab@suse.de>
27303 * sysdeps/i386/fpu/libm-test-ulps: Update.
27305 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27307 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27308 printf output with newline.
27310 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27313 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27314 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27315 -z nodlopen, -z initfirst and -z execstack support.
27316 * configure: Regenerated.
27318 * elf/elf.h (DF_1_NODIRECT): New macro.
27319 (DF_1_IGNMULDEF): Likewise.
27320 (DF_1_NOKSYMS): Likewise.
27321 (DF_1_NOHDR): Likewise.
27322 (DF_1_EDITED): Likewise.
27323 (DF_1_NORELOC): Likewise.
27324 (DF_1_SYMINTPOSE): Likewise.
27325 (DF_1_GLOBAUDIT): Likewise.
27326 (DF_1_SINGLETON): Likewise.
27327 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27328 DT_1_SUPPORTED_MASK bits.
27329 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27331 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27333 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27335 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27337 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27340 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27341 (sendmmsg): Move declarations...
27342 * socket/sys/socket.h: ... here.
27343 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27344 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27346 * socket/recvmmsg.c: ... this new file.
27347 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27348 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27349 definition of __sendmmsg hidden.
27350 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27351 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27352 Move ENOSYS stub into and include it from...
27353 * socket/sendmmsg.c: ... this new file.
27354 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27355 (sysdep_routines): Move recvmmsg and sendmmsg...
27356 * socket/Makefile (routines): ... here.
27357 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27358 (GLIBC_PRIVATE): Add __sendmmsg.
27359 * include/sys/socket.h (__sendmmsg): Add declarations.
27360 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27363 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27365 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27366 variable I1 with __attribute__ ((unused)).
27367 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27369 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27371 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27372 DUMMY variables with __attribute__ ((unused)).
27374 * bits/byteswap.h: Include <bits/types.h>.
27375 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27377 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27379 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27380 string_t. Do not manually set errno.
27381 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27382 length with __strnlen. Make sure to both set errno and return it on
27385 2012-11-19 David S. Miller <davem@davemloft.net>
27387 With help from Joseph Myers.
27388 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27389 very large arguments properly.
27390 * math/libm-test.inc (atan_test): New tests.
27391 (atan2_test): New tests.
27392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27395 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27398 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27401 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27402 [POSIX] (EADDRNOTAVAIL): Likewise.
27403 [POSIX] (EAFNOSUPPORT): Likewise.
27404 [POSIX] (EALREADY): Likewise.
27405 [POSIX] (ECONNABORTED): Likewise.
27406 [POSIX] (ECONNREFUSED): Likewise.
27407 [POSIX] (ECONNRESET): Likewise.
27408 [POSIX] (EDESTADDRREQ): Likewise.
27409 [POSIX] (EDQUOT): Likewise.
27410 [POSIX] (EHOSTUNREACH): Likewise.
27411 [POSIX] (EIDRM): Likewise.
27412 [POSIX] (EISCONN): Likewise.
27413 [POSIX] (ELOOP): Likewise.
27414 [POSIX] (EMULTIHOP): Likewise.
27415 [POSIX] (ENETDOWN): Likewise.
27416 [POSIX] (ENETUNREACH): Likewise.
27417 [POSIX] (ENOBUFS): Likewise.
27418 [POSIX] (ENODATA): Likewise.
27419 [POSIX] (ENOLINK): Likewise.
27420 [POSIX] (ENOMSG): Likewise.
27421 [POSIX] (ENOPROTOOPT): Likewise.
27422 [POSIX] (ENOSR): Likewise.
27423 [POSIX] (ENOSTR): Likewise.
27424 [POSIX] (ENOTCONN): Likewise.
27425 [POSIX] (ENOTSOCK): Likewise.
27426 [POSIX] (EOPNOTSUPP): Likewise.
27427 [POSIX] (EOVERFLOW): Likewise.
27428 [POSIX] (EPROTO): Likewise.
27429 [POSIX] (EPROTONOSUPPORT): Likewise.
27430 [POSIX] (EPROTOTYPE): Likewise.
27431 [POSIX] (ESTALE): Likewise.
27432 [POSIX] (ETIME): Likewise.
27433 [POSIX] (ETXTBSY): Likewise.
27434 [POSIX] (EWOULDBLOCK): Likewise.
27435 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27436 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27437 [POSIX] (SEEK_CUR): Likewise.
27438 [POSIX] (SEEK_END): Likewise.
27439 [POSIX || UNIX98] (mode_t): Do not require.
27440 [POSIX] (off_t): Likewise.
27441 [POSIX] (pid_t): Likewise.
27442 [POSIX] (sys/stat.h): Do not allow header.
27443 [POSIX] (unistd.h): Likewise.
27444 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27445 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27446 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27447 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27449 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27450 sigevent): Specify elements.
27451 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27453 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27454 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27456 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27457 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27458 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27459 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27460 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27461 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27462 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27463 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27464 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27465 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27466 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27467 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27468 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27469 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27471 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27473 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27475 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27477 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27478 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27479 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27480 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27481 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27482 Specify lower bound on value.
27483 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27484 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27485 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27486 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27487 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27488 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27489 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27490 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27492 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27494 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27495 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27496 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27497 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27498 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27499 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27500 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27501 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27502 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27503 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27504 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27505 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27506 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27507 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27508 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27509 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27511 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27513 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27514 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27515 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27516 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27517 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27518 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27520 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27521 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27522 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27523 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27524 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27525 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27526 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27528 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27529 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27530 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27531 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27532 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27533 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27534 specify as optional.
27535 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27536 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27537 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27538 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27539 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27540 [XPG3] (NL_LANGMAX): Likewise.
27541 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27542 [POSIX || XPG3] (NL_NMAX): Likewise.
27543 [POSIX || XPG3] (NL_SETMAX): Likewise.
27544 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27545 [XPG3] (NZERO): Likewise.
27546 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27547 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27548 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27549 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27550 (REG_ERANGE): Expect.
27551 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27553 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27554 Use (void) in prototype.
27555 [POSIX] (*_t): Allow.
27556 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27557 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27558 (WRDE_BADVAL): Expect.
27560 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27562 [XPG3 || XPG4] (O_RSYNC): Likewise.
27563 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27565 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27566 [XPG3 || XPG4] (sigqueue): Likewise.
27567 [XPG3 || XPG4] (sigtimedwait): Likewise.
27568 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27569 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27570 [XPG3 || XPG4] (vsnprintf): Likewise.
27571 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27573 [XPG3 || XPG4] (blksize_t): Likewise.
27574 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27576 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27577 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27578 [XPG3 || XPG4] (struct itimerspec): Likewise.
27579 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27580 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27581 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27582 [XPG3 || XPG4] (clockid_t): Likewise.
27583 [XPG3 || XPG4] (timer_t): Likewise.
27584 [XPG3 || XPG4] (clock_getres): Likewise.
27585 [XPG3 || XPG4] (clock_gettime): Likewise.
27586 [XPG3 || XPG4] (clock_settime): Likewise.
27587 [XPG3 || XPG4] (nanosleep): Likewise.
27588 [XPG3 || XPG4] (timer_create): Likewise.
27589 [XPG3 || XPG4] (timer_delete): Likewise.
27590 [XPG3 || XPG4] (timer_gettime): Likewise.
27591 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27592 [XPG3 || XPG4] (timer_settime): Likewise.
27593 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27594 [XPG3 || XPG4] (getlogin_r): Likewise.
27595 [XPG3 || XPG4] (pread): Likewise.
27596 [XPG3 || XPG4] (pthread_atfork): Likewise.
27597 [XPG3 || XPG4] (pwrite): Likewise.
27600 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27603 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27605 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27606 finalizing MALLSTREAM.
27608 * sysdeps/mach/hurd/syncfs.c: New file.
27610 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27613 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27614 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27615 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27616 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27617 (_nss_dns_gethostbyname4_r): Likewise.
27618 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27619 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27621 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27624 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27626 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27628 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27629 * elf/cache.c (print_entry): Print ",AArch64" for
27632 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27633 * elf/cache.c (print_entry): Print ",hard-float" for
27636 2012-11-18 David S. Miller <davem@davemloft.net>
27638 With help from Joseph Myers.
27639 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27641 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27643 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27644 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27646 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27647 * math/libm-test.inc (y0_test): New tests.
27648 (y1_test): New tests.
27649 * sysdeps/i386/fpu/libm-test-ulps: Update.
27650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27653 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27655 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27657 * configure: Regenerated.
27659 2012-11-17 David S. Miller <davem@davemloft.net>
27662 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27663 nonzero exponents with absolute value below 0x1p-128 to +/-
27666 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27668 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27670 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27672 * posix/getconf-speclist.c: New file.
27673 * posix/posix-envs.def: Likewise.
27674 * posix/confstr.c (START_ENV_GROUP): New macro.
27675 (END_ENV_GROUP): Likewise.
27676 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27677 (KNOWN_PRESENT_ENV_STRING): Likewise.
27678 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27679 (UNKNOWN_ENVIRONMENT): Likewise.
27680 (confstr): Include posix-envs.def instead of handling
27681 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27682 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27683 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27684 (END_ENV_GROUP): Likewise.
27685 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27686 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27687 (UNKNOWN_ENVIRONMENT): Likewise.
27688 (__sysconf): Include posix-envs.def instead of handling associated
27689 cases directly here.
27690 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27691 preprocessing getconf-speclist.c rather than running getconf or
27692 generating empty file.
27694 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27696 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27698 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27701 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27703 2012-11-16 David S. Miller <davem@davemloft.net>
27705 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27706 smaller than LDBL_EPSILON/2.0L, just return xm1.
27708 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27710 * elf/tst-array1.c (init): Set constructor priority to 1000.
27711 (fini): Set destructor priority to 1000.
27712 * elf/tst-array2dep.c: Likewise.
27714 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27717 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27718 (_IO_new_file_xsputn): Also return EOF if none of the input
27719 data was written when overflow failed.
27720 * libio/iopadn.c (_IO_padn): Likewise.
27721 * libio/iowpadn.c (_IO_wpadn): Likewise.
27722 * stdio-common/tst-put-error.c: Add copyright notice.
27723 (do_test): Add case for printing padded string.
27724 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27725 _IO_padn returned error.
27726 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27727 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27730 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27732 * libio/libioP.h: Add comment note that the references to C++
27733 bits are now obsolete.
27735 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27737 * math/libm-test.inc (check_complex): Use asprintf.
27739 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27741 * debug/pcprofiledump.c (print_version): Update copyright year.
27742 * malloc/memusagestat.c (print_version): Likewise.
27744 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27747 * elf/Makefile (tests): Add tst-audit8.
27748 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27749 ($(objpfx)tst-audit8.out): New target.
27750 (tst-audit8-ENV): New variable.
27751 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27752 audit if l_reloc_result is NULL.
27753 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27754 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27755 * elf/tst-audit8.c: New file.
27757 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27759 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27760 * misc/Makefile (CFLAGS-select.c): Define.
27761 * posix/Makefile (CFLAGS-pause.c): Define.
27763 2012-11-13 David S. Miller <davem@davemloft.net>
27765 * crypt/Makefile: Move test targets after toplevel Rules
27766 inclusion. Grab any necessary sysdep routines when linking.
27767 * crypt/md5.c (md5_process_block): Remove define, we will always
27768 name it __md5_process_block.
27769 (md5_finish_ctx): Update md5_process_block call.
27770 (md5_stream): Likewise.
27771 (md5_process_bytes): Likewise.
27772 (md5_process_block): Rename to __md5_process_block and move to ...
27773 * crypt/md5-block.c: ... here.
27774 * crypt/sha256.c (sha256_process_block): Move to ...
27775 * crypt/sha256-block.c: ... here.
27776 * crypt/sha512.c (sha512_process_block): Move to ...
27777 * crypt/sha512-block.c: ... here.
27778 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27780 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27781 * sysdeps/sparc/sparc64/multiarch/Makefile
27782 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27784 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27785 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27787 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27788 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27789 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27790 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27791 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27792 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27793 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27794 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27795 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27797 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27798 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27800 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27802 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27804 * timezone/tzselect.ksh: Update from tzcode git revision
27805 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27806 * timezone/zdump.c: Likewise.
27807 * timezone/zic.c: Likewise.
27808 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27809 in TZVERSION setting, not $(PKGVERSION).
27810 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27811 REPORT_BUGS_TO settings.
27814 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27817 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27819 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27820 detection to immediately after _FP_ROUND().
27821 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27824 2012-11-11 David S. Miller <davem@davemloft.net>
27826 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27828 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27829 __close rather than their public counterparts.
27831 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27833 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27835 [UNIX98] (sem_timedwait): Do not expect.
27836 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27837 [XPG4 || UNIX98] (sockatmark): Do not expect.
27838 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27839 (clock_getcpuclockid): Do not expect.
27840 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27841 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27843 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27844 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27845 [UNIX98] (vwscanf): Likewise.
27846 [UNIX98] (vswscanf): Likewise.
27848 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27850 * timezone/version.h: Remove file.
27851 * timezone/README: Do not refer to version.h.
27852 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27853 $(objpfx)version.h.
27854 ($(objpfx)zdump.o): Likewise.
27855 ($(objpfx)version.h): New target.
27857 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27859 * timezone/README: Don't mention modification to tzselect.ksh.
27860 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27861 work on unmodified tzselect.ksh. Substitute version numbers in
27864 * Makefile (format-me): Remove.
27865 (INSTALL): Adjust indentation. Use commands directly instead of
27866 using $(format-me).
27868 * aclocal.m4 (ACX_PKGVERSION): New macro.
27869 (ACX_BUGURL): Likewise.
27870 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27871 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27872 (REPORT_BUGS_TO): Likewise.
27873 * configure: Regenerated.
27874 * config.h.in (PKGVERSION): New macro.
27875 (REPORT_BUGS_TO): Likewise.
27876 * config.make.in (PKGVERSION): New variable.
27877 (PKGVERSION_TEXI): Likewise.
27878 (REPORT_BUGS_TO): Likewise.
27879 (REPORT_BUGS_TEXI): Likewise.
27880 * Makefile (format-me): Use -I$(common-objpfx)manual.
27881 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27882 ($(common-objpfx)manual/%): New target.
27883 (manual/%): Remove target.
27884 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27885 (print_version): Use PKGVERSION.
27886 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27887 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27888 and REPORT_BUGS_TO.
27889 ($(objpfx)xtrace): Likewise.
27890 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27891 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27892 (print_version): Use PKGVERSION.
27893 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27894 (do_version): Use PKGVERSION.
27895 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27897 (common-ldd-rewrite): Likewise.
27898 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27899 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27900 (print_version): Use PKGVERSION.
27901 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27902 * elf/pldd.c (argp_program_bug_address): Remove variable.
27903 (more_help): New function.
27904 (argp): Use more_help.
27905 (print_version): Use PKGVERSION.
27906 * elf/sln.c (main): Use PKGVERSION.
27907 (usage): Use REPORT_BUGS_TO.
27908 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27909 (top level): Use PKGVERSION.
27910 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27911 (print_version): Use PKGVERSION.
27912 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27913 (print_version): Use PKGVERSION.
27914 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27915 (print_version): Use PKGVERSION.
27916 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27917 (print_version): Use PKGVERSION.
27918 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27919 (print_version): Use PKGVERSION.
27920 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27921 (print_version): Use PKGVERSION.
27922 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27924 ($(objpfx)memusage): Likewise.
27925 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27926 (do_version): Use PKGVERSION.
27927 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27928 (print_version): Use PKGVERSION.
27929 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27930 ($PKGVERSION): New variable.
27931 ($REPORT_BUGS_TO): Likewise.
27932 (usage): Use $REPORT_BUGS_TO.
27933 (top level): Use $PKGVERSION.
27934 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27935 ($(objpfx)pkgvers.texi): New rule.
27936 ($(objpfx)stamp-pkgvers): Likewise.
27937 * manual/install.texi: Include pkgvers.texi.
27938 (--with-pkgversion): Document new configure option.
27939 (--with-bugurl): Likewise.
27940 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27941 than necessarily for this particular distribution. Use
27942 REPORT_BUGS_TO for where to report bugs.
27943 * INSTALL: Regenerated.
27944 * manual/libc.texinfo: Include pkgvers.texi.
27945 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27946 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27947 (print_version): Use PKGVERSION.
27948 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27949 (print_version): Use PKGVERSION.
27950 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27951 (print_version): Use PKGVERSION.
27952 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27953 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27955 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27956 (print_version): Use PKGVERSION.
27957 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27958 (print_version): Use PKGVERSION.
27959 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27962 * timezone/checktab.awk: Update from tzcode 2012i.
27963 * timezone/ialloc.c: Likewise.
27964 * timezone/private.h: Likewise.
27965 * timezone/scheck.c: Likewise.
27966 * timezone/tzfile.h: Likewise.
27967 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27968 (TZVERSION): Hardcode tzcode version number.
27969 * timezone/zdump.c: Update from tzcode 2012i.
27970 * timezone/zic.c: Likewise.
27971 * timezone/version.h: New file.
27972 * timezone/README: Describe version.h. Update upstream location.
27975 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27976 (mktemp): Enable declaration.
27977 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27978 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27979 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27980 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27982 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27984 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27986 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27988 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27990 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27994 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27995 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27996 for copies of such integer values.
27997 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27998 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28000 2012-11-09 Andreas Jaeger <aj@suse.de>
28002 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28003 definitions and declarations that are provided by
28004 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28006 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28008 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28009 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28010 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28013 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28015 * elf/elf.h: Update comment before AArch64 relocations.
28017 2012-11-07 David S. Miller <davem@davemloft.net>
28019 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28020 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28021 (__start_context): Declare.
28022 (__makecontext_ret): Delete.
28023 (__makecontext): Hook up __start_context instead of
28025 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28026 (sysdep_routines): Add __start_context when in stdlib.
28028 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28030 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28031 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28032 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28034 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28035 (READELF): New variable. Use it instead of hardcoded "readelf".
28037 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28039 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28040 * sysdeps/x86/Makefile: Here.
28041 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28042 * sysdeps/x86/tst-xmmymm.sh: This.
28044 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28046 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28048 [UNIX98] (pthread_barrier_t): Do not expect.
28049 [UNIX98] (pthread_barrierattr_t): Likewise.
28050 [UNIX98] (pthread_spinlock_t): Likewise.
28051 [UNIX98] (pthread_barrier_destroy): Likewise.
28052 [UNIX98] (pthread_barrier_init): Likewise.
28053 [UNIX98] (pthread_barrier_wait): Likewise.
28054 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28055 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28056 [UNIX98] (pthread_barrierattr_init): Likewise.
28057 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28058 [UNIX98] (pthread_getcpuclockid): Likewise.
28059 [UNIX98] (pthread_mutex_timedlock): Likewise.
28060 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28061 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28062 [UNIX98] (pthread_sigmask): Likewise.
28063 [UNIX98] (pthread_spin_destroy): Likewise.
28064 [UNIX98] (pthread_spin_init): Likewise.
28065 [UNIX98] (pthread_spin_lock): Likewise.
28066 [UNIX98] (pthread_spin_trylock): Likewise.
28067 [UNIX98] (pthread_spin_unlock): Likewise.
28068 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28070 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28071 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28072 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28073 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28074 [XPG3 || XPG4] (pthread_key_t): Likewise.
28075 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28076 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28077 [XPG3 || XPG4] (pthread_once_t): Likewise.
28078 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28079 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28080 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28081 [XPG3 || XPG4] (pthread_t): Likewise.
28083 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28085 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28087 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28088 Change function return type to int.
28090 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28091 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28092 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28093 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28094 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28095 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28096 [!POSIX] (posix_madvise): Likewise.
28097 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28099 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28100 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28101 (mode_t): Likewise.
28102 (posix_mem_offset): Likewise.
28103 (posix_typed_mem_get_info): Likewise.
28104 (posix_typed_mem_open): Likewise.
28106 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28107 Change condition to [XOPEN2K8].
28109 * conform/conformtest.pl: Preprocess allow-header data with -x c
28110 instead of from stdin.
28111 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28112 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28113 [C99-based standards] (cerfc): Likewise.
28114 [C99-based standards] (cexp2): Likewise.
28115 [C99-based standards] (cexpm1): Likewise.
28116 [C99-based standards] (clog10): Likewise.
28117 [C99-based standards] (clog1p): Likewise.
28118 [C99-based standards] (clog2): Likewise.
28119 [C99-based standards] (clgamma): Likewise.
28120 [C99-based standards] (ctgamma): Likewise.
28121 [C99-based standards] (cerff): Likewise.
28122 [C99-based standards] (cerfcf): Likewise.
28123 [C99-based standards] (cexp2f): Likewise.
28124 [C99-based standards] (cexpm1f): Likewise.
28125 [C99-based standards] (clog10f): Likewise.
28126 [C99-based standards] (clog1pf): Likewise.
28127 [C99-based standards] (clog2f): Likewise.
28128 [C99-based standards] (clgammaf): Likewise.
28129 [C99-based standards] (ctgammaf): Likewise.
28130 [C99-based standards] (cerfl): Likewise.
28131 [C99-based standards] (cerfcl): Likewise.
28132 [C99-based standards] (cexp2l): Likewise.
28133 [C99-based standards] (cexpm1l): Likewise.
28134 [C99-based standards] (clog10l): Likewise.
28135 [C99-based standards] (clog1pl): Likewise.
28136 [C99-based standards] (clog2l): Likewise.
28137 [C99-based standards] (clgammal): Likewise.
28138 [C99-based standards] (ctgammal): Likewise.
28139 * conform/data/inttypes.h-data [C99-based standards]: Include
28140 stdint.h-data. Remove all expectations for stdint.h contents.
28141 [C99-based standards] (PRI*): Do not allow.
28142 [C99-based standards] (SCN*): Likewise.
28143 [C99-based standards] (*_t): Likewise.
28144 [C99-based-standards] (PRId8): Expect macro.
28145 [C99-based-standards] (PRIi8): Likewise.
28146 [C99-based-standards] (PRIo8): Likewise.
28147 [C99-based-standards] (PRIu8): Likewise.
28148 [C99-based-standards] (PRIx8): Likewise.
28149 [C99-based-standards] (PRIX8): Likewise.
28150 [C99-based-standards] (SCNd8): Likewise.
28151 [C99-based-standards] (SCNi8): Likewise.
28152 [C99-based-standards] (SCNo8): Likewise.
28153 [C99-based-standards] (SCNu8): Likewise.
28154 [C99-based-standards] (SCNx8): Likewise.
28155 [C99-based-standards] (PRIdLEAST8): Likewise.
28156 [C99-based-standards] (PRIiLEAST8): Likewise.
28157 [C99-based-standards] (PRIoLEAST8): Likewise.
28158 [C99-based-standards] (PRIuLEAST8): Likewise.
28159 [C99-based-standards] (PRIxLEAST8): Likewise.
28160 [C99-based-standards] (PRIXLEAST8): Likewise.
28161 [C99-based-standards] (SCNdLEAST8): Likewise.
28162 [C99-based-standards] (SCNiLEAST8): Likewise.
28163 [C99-based-standards] (SCNoLEAST8): Likewise.
28164 [C99-based-standards] (SCNuLEAST8): Likewise.
28165 [C99-based-standards] (SCNxLEAST8): Likewise.
28166 [C99-based-standards] (PRIdFAST8): Likewise.
28167 [C99-based-standards] (PRIiFAST8): Likewise.
28168 [C99-based-standards] (PRIoFAST8): Likewise.
28169 [C99-based-standards] (PRIuFAST8): Likewise.
28170 [C99-based-standards] (PRIxFAST8): Likewise.
28171 [C99-based-standards] (PRIXFAST8): Likewise.
28172 [C99-based-standards] (SCNdFAST8): Likewise.
28173 [C99-based-standards] (SCNiFAST8): Likewise.
28174 [C99-based-standards] (SCNoFAST8): Likewise.
28175 [C99-based-standards] (SCNuFAST8): Likewise.
28176 [C99-based-standards] (SCNxFAST8): Likewise.
28177 [C99-based-standards] (PRId16): Likewise.
28178 [C99-based-standards] (PRIi16): Likewise.
28179 [C99-based-standards] (PRIo16): Likewise.
28180 [C99-based-standards] (PRIu16): Likewise.
28181 [C99-based-standards] (PRIx16): Likewise.
28182 [C99-based-standards] (PRIX16): Likewise.
28183 [C99-based-standards] (SCNd16): Likewise.
28184 [C99-based-standards] (SCNi16): Likewise.
28185 [C99-based-standards] (SCNo16): Likewise.
28186 [C99-based-standards] (SCNu16): Likewise.
28187 [C99-based-standards] (SCNx16): Likewise.
28188 [C99-based-standards] (PRIdLEAST16): Likewise.
28189 [C99-based-standards] (PRIiLEAST16): Likewise.
28190 [C99-based-standards] (PRIoLEAST16): Likewise.
28191 [C99-based-standards] (PRIuLEAST16): Likewise.
28192 [C99-based-standards] (PRIxLEAST16): Likewise.
28193 [C99-based-standards] (PRIXLEAST16): Likewise.
28194 [C99-based-standards] (SCNdLEAST16): Likewise.
28195 [C99-based-standards] (SCNiLEAST16): Likewise.
28196 [C99-based-standards] (SCNoLEAST16): Likewise.
28197 [C99-based-standards] (SCNuLEAST16): Likewise.
28198 [C99-based-standards] (SCNxLEAST16): Likewise.
28199 [C99-based-standards] (PRIdFAST16): Likewise.
28200 [C99-based-standards] (PRIiFAST16): Likewise.
28201 [C99-based-standards] (PRIoFAST16): Likewise.
28202 [C99-based-standards] (PRIuFAST16): Likewise.
28203 [C99-based-standards] (PRIxFAST16): Likewise.
28204 [C99-based-standards] (PRIXFAST16): Likewise.
28205 [C99-based-standards] (SCNdFAST16): Likewise.
28206 [C99-based-standards] (SCNiFAST16): Likewise.
28207 [C99-based-standards] (SCNoFAST16): Likewise.
28208 [C99-based-standards] (SCNuFAST16): Likewise.
28209 [C99-based-standards] (SCNxFAST16): Likewise.
28210 [C99-based-standards] (PRId32): Likewise.
28211 [C99-based-standards] (PRIi32): Likewise.
28212 [C99-based-standards] (PRIo32): Likewise.
28213 [C99-based-standards] (PRIu32): Likewise.
28214 [C99-based-standards] (PRIx32): Likewise.
28215 [C99-based-standards] (PRIX32): Likewise.
28216 [C99-based-standards] (SCNd32): Likewise.
28217 [C99-based-standards] (SCNi32): Likewise.
28218 [C99-based-standards] (SCNo32): Likewise.
28219 [C99-based-standards] (SCNu32): Likewise.
28220 [C99-based-standards] (SCNx32): Likewise.
28221 [C99-based-standards] (PRIdLEAST32): Likewise.
28222 [C99-based-standards] (PRIiLEAST32): Likewise.
28223 [C99-based-standards] (PRIoLEAST32): Likewise.
28224 [C99-based-standards] (PRIuLEAST32): Likewise.
28225 [C99-based-standards] (PRIxLEAST32): Likewise.
28226 [C99-based-standards] (PRIXLEAST32): Likewise.
28227 [C99-based-standards] (SCNdLEAST32): Likewise.
28228 [C99-based-standards] (SCNiLEAST32): Likewise.
28229 [C99-based-standards] (SCNoLEAST32): Likewise.
28230 [C99-based-standards] (SCNuLEAST32): Likewise.
28231 [C99-based-standards] (SCNxLEAST32): Likewise.
28232 [C99-based-standards] (PRIdFAST32): Likewise.
28233 [C99-based-standards] (PRIiFAST32): Likewise.
28234 [C99-based-standards] (PRIoFAST32): Likewise.
28235 [C99-based-standards] (PRIuFAST32): Likewise.
28236 [C99-based-standards] (PRIxFAST32): Likewise.
28237 [C99-based-standards] (PRIXFAST32): Likewise.
28238 [C99-based-standards] (SCNdFAST32): Likewise.
28239 [C99-based-standards] (SCNiFAST32): Likewise.
28240 [C99-based-standards] (SCNoFAST32): Likewise.
28241 [C99-based-standards] (SCNuFAST32): Likewise.
28242 [C99-based-standards] (SCNxFAST32): Likewise.
28243 [C99-based-standards] (PRId64): Likewise.
28244 [C99-based-standards] (PRIi64): Likewise.
28245 [C99-based-standards] (PRIo64): Likewise.
28246 [C99-based-standards] (PRIu64): Likewise.
28247 [C99-based-standards] (PRIx64): Likewise.
28248 [C99-based-standards] (PRIX64): Likewise.
28249 [C99-based-standards] (SCNd64): Likewise.
28250 [C99-based-standards] (SCNi64): Likewise.
28251 [C99-based-standards] (SCNo64): Likewise.
28252 [C99-based-standards] (SCNu64): Likewise.
28253 [C99-based-standards] (SCNx64): Likewise.
28254 [C99-based-standards] (PRIdLEAST64): Likewise.
28255 [C99-based-standards] (PRIiLEAST64): Likewise.
28256 [C99-based-standards] (PRIoLEAST64): Likewise.
28257 [C99-based-standards] (PRIuLEAST64): Likewise.
28258 [C99-based-standards] (PRIxLEAST64): Likewise.
28259 [C99-based-standards] (PRIXLEAST64): Likewise.
28260 [C99-based-standards] (SCNdLEAST64): Likewise.
28261 [C99-based-standards] (SCNiLEAST64): Likewise.
28262 [C99-based-standards] (SCNoLEAST64): Likewise.
28263 [C99-based-standards] (SCNuLEAST64): Likewise.
28264 [C99-based-standards] (SCNxLEAST64): Likewise.
28265 [C99-based-standards] (PRIdFAST64): Likewise.
28266 [C99-based-standards] (PRIiFAST64): Likewise.
28267 [C99-based-standards] (PRIoFAST64): Likewise.
28268 [C99-based-standards] (PRIuFAST64): Likewise.
28269 [C99-based-standards] (PRIxFAST64): Likewise.
28270 [C99-based-standards] (PRIXFAST64): Likewise.
28271 [C99-based-standards] (SCNdFAST64): Likewise.
28272 [C99-based-standards] (SCNiFAST64): Likewise.
28273 [C99-based-standards] (SCNoFAST64): Likewise.
28274 [C99-based-standards] (SCNuFAST64): Likewise.
28275 [C99-based-standards] (SCNxFAST64): Likewise.
28276 [C99-based-standards] (PRIdMAX): Likewise.
28277 [C99-based-standards] (PRIiMAX): Likewise.
28278 [C99-based-standards] (PRIoMAX): Likewise.
28279 [C99-based-standards] (PRIuMAX): Likewise.
28280 [C99-based-standards] (PRIxMAX): Likewise.
28281 [C99-based-standards] (PRIXMAX): Likewise.
28282 [C99-based-standards] (SCNdMAX): Likewise.
28283 [C99-based-standards] (SCNiMAX): Likewise.
28284 [C99-based-standards] (SCNoMAX): Likewise.
28285 [C99-based-standards] (SCNuMAX): Likewise.
28286 [C99-based-standards] (SCNxMAX): Likewise.
28287 [C99-based-standards] (PRIdPTR): Likewise.
28288 [C99-based-standards] (PRIiPTR): Likewise.
28289 [C99-based-standards] (PRIoPTR): Likewise.
28290 [C99-based-standards] (PRIuPTR): Likewise.
28291 [C99-based-standards] (PRIxPTR): Likewise.
28292 [C99-based-standards] (PRIXPTR): Likewise.
28293 [C99-based-standards] (SCNdPTR): Likewise.
28294 [C99-based-standards] (SCNiPTR): Likewise.
28295 [C99-based-standards] (SCNoPTR): Likewise.
28296 [C99-based-standards] (SCNuPTR): Likewise.
28297 [C99-based-standards] (SCNxPTR): Likewise.
28298 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28300 * conform/data/stdint.h-data: Update comments to clarify
28302 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28304 [C99-based standards] (INT8_MAX): Likewise.
28305 [C99-based standards] (INT16_MIN): Likewise.
28306 [C99-based standards] (INT16_MAX): Likewise.
28307 [C99-based standards] (INT32_MIN): Likewise.
28308 [C99-based standards] (INT32_MAX): Likewise.
28309 [C99-based standards] (INT64_MIN): Likewise.
28310 [C99-based standards] (INT64_MAX): Likewise.
28311 [C99-based standards] (UINT8_MAX): Likewise.
28312 [C99-based standards] (UINT16_MAX): Likewise.
28313 [C99-based standards] (UINT32_MAX): Likewise.
28314 [C99-based standards] (UINT64_MAX): Likewise.
28315 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28316 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28317 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28318 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28319 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28320 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28321 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28322 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28323 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28324 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28325 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28326 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28327 [C99-based standards] (INT_FAST8_MIN): Likewise.
28328 [C99-based standards] (INT_FAST8_MAX): Likewise.
28329 [C99-based standards] (INT_FAST16_MIN): Likewise.
28330 [C99-based standards] (INT_FAST16_MAX): Likewise.
28331 [C99-based standards] (INT_FAST32_MIN): Likewise.
28332 [C99-based standards] (INT_FAST32_MAX): Likewise.
28333 [C99-based standards] (INT_FAST64_MIN): Likewise.
28334 [C99-based standards] (INT_FAST64_MAX): Likewise.
28335 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28336 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28337 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28338 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28339 [C99-based standards] (INTPTR_MIN): Likewise.
28340 [C99-based standards] (INTPTR_MAX): Likewise.
28341 [C99-based standards] (UINTPTR_MAX): Likewise.
28342 [C99-based standards] (INTMAX_MIN): Likewise.
28343 [C99-based standards] (INTMAX_MAX): Likewise.
28344 [C99-based standards] (UINTMAX_MAX): Likewise.
28345 [C99-based standards] (PTRDIFF_MIN): Likewise.
28346 [C99-based standards] (PTRDIFF_MAX): Likewise.
28347 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28348 [C99-based standards] (SIZE_MAX): Likewise.
28349 [C99-based standards] (WCHAR_MAX): Likewise.
28350 [C99-based standards] (WINT_MAX): Likewise.
28351 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28352 constraint on value.
28353 [C99-based standards] (WCHAR_MIN): Likewise.
28354 [C99-based standards] (WINT_MIN): Likewise.
28355 [C99-based standards] (*_t): Allow.
28356 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28357 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28358 Include math.h-data and complex.h-data. Remove all expectations
28359 of math.h and complex.h contents.
28360 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28362 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28363 (struct tm): Expect tag.
28364 [C99-based-standards] (wcstof): Expect function.
28365 [C99-based-standards] (wcstold): Likewise.
28366 [C99-based-standards] (wcstoll): Likewise.
28367 [C99-based-standards] (wcstoull): Likewise.
28368 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28369 macro-int-constant. Specify type.
28370 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28371 constraint on value.
28372 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28374 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28376 [ISO C standards]: Do not allow headers.
28377 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28378 wcs[abcdefghijklmnopqrstuvwxyz]*.
28379 [ISO C standards] (*_t): Do not allow.
28380 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28382 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28383 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28385 [ISO C standards]: Do not allow headers.
28386 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28387 is[abcdefghijklmnopqrstuvwxyz]*.
28388 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28389 to[abcdefghijklmnopqrstuvwxyz]*.
28390 [ISO C standards] (*_t): Do not allow.
28391 * conform/data/stdalign.h-data: New file.
28392 * conform/data/stdbool.h-data: Likewise.
28393 * conform/data/stdnoreturn.h-data: Likewise.
28395 2012-11-07 Roland McGrath <roland@hack.frob.com>
28398 * manual/filesys.texi (Directory Entries): Typo fix.
28399 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28401 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28403 * elf/elf.h (EM_AARCH64): New macro.
28404 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28405 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28406 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28407 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28408 (R_AARCH64_TLSDESC): Likewise.
28409 (NT_ARM_TLS): Likewise.
28410 (NT_ARM_HW_BREAK): Likewise.
28411 (NT_ARM_HW_WATCH): Likewise.
28413 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28416 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28417 (__ieee754_powl): Saturate nonzero exponents with absolute value
28418 below 0x1p-79 to +/- 0x1p-79.
28419 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28420 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28421 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28422 nonzero exponents with absolute value below 0x1p-32 to +/-
28424 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28425 (__ieee754_powl): Saturate nonzero exponents with absolute value
28426 below 0x1p-79 to +/- 0x1p-79.
28427 * math/libm-test.inc (pow_test): Add more tests.
28429 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28431 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28432 _dl_s390_cap_flags with kernel. Increase string length.
28433 (_dl_s390_platforms): Add z196 and zEC12.
28435 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28437 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28438 Change XOPEN21K to XOPEN2K.
28440 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28442 * string/memmove.c: Use memcpy when possible.
28444 2012-11-06 Andreas Jaeger <aj@suse.de>
28446 * po/eo.po: Update from translation team.
28448 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28451 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28452 exponent and small x and y exponents, scale x or y up. Increase
28453 by 2 the exponent used in scaling up.
28454 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28455 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28456 * math/libm-test.inc (fma_test): Add more tests.
28457 (fma_test_towardzero): Likewise.
28458 (fma_test_downward): Likewise.
28459 (fma_test_upward): Likewise.
28461 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28464 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28468 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28469 namespace for names of struct fields.
28470 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28472 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28473 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28475 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28478 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28480 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28482 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28486 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28489 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28492 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28493 definitely overflow as x * y not x * y + z.
28494 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28495 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28496 * math/libm-test.inc (fma_test): Add more tests.
28497 (fma_test_towardzero): Likewise.
28498 (fma_test_downward): Likewise.
28499 (fma_test_upward): Likewise.
28501 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28505 * include/stub-tag.h: Remove file.
28506 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28508 * manual/maint.texi (Porting): Don't reference it.
28509 * Makerules ($(objpfx)stubs): Likewise.
28510 * dirent/closedir.c: Don't include <stub-tag.h>.
28511 * dirent/dirfd.c: Likewise.
28512 * dirent/fdopendir.c: Likewise.
28513 * dirent/getdents.c: Likewise.
28514 * dirent/getdents64.c: Likewise.
28515 * dirent/opendir.c: Likewise.
28516 * dirent/readdir.c: Likewise.
28517 * dirent/readdir64.c: Likewise.
28518 * dirent/readdir64_r.c: Likewise.
28519 * dirent/readdir_r.c: Likewise.
28520 * dirent/rewinddir.c: Likewise.
28521 * dirent/seekdir.c: Likewise.
28522 * dirent/telldir.c: Likewise.
28523 * gmon/profil.c: Likewise.
28524 * grp/setgroups.c: Likewise.
28525 * inet/if_index.c: Likewise.
28526 * io/access.c: Likewise.
28527 * io/chdir.c: Likewise.
28528 * io/chmod.c: Likewise.
28529 * io/chown.c: Likewise.
28530 * io/close.c: Likewise.
28531 * io/dup.c: Likewise.
28532 * io/dup2.c: Likewise.
28533 * io/dup3.c: Likewise.
28534 * io/euidaccess.c: Likewise.
28535 * io/faccessat.c: Likewise.
28536 * io/fchdir.c: Likewise.
28537 * io/fchmod.c: Likewise.
28538 * io/fchmodat.c: Likewise.
28539 * io/fchown.c: Likewise.
28540 * io/fchownat.c: Likewise.
28541 * io/fcntl.c: Likewise.
28542 * io/flock.c: Likewise.
28543 * io/fstatfs.c: Likewise.
28544 * io/fstatfs64.c: Likewise.
28545 * io/fstatvfs.c: Likewise.
28546 * io/fstatvfs64.c: Likewise.
28547 * io/futimens.c: Likewise.
28548 * io/fxstat.c: Likewise.
28549 * io/fxstat64.c: Likewise.
28550 * io/fxstatat.c: Likewise.
28551 * io/fxstatat64.c: Likewise.
28552 * io/getcwd.c: Likewise.
28553 * io/isatty.c: Likewise.
28554 * io/lchmod.c: Likewise.
28555 * io/lchown.c: Likewise.
28556 * io/link.c: Likewise.
28557 * io/linkat.c: Likewise.
28558 * io/lseek.c: Likewise.
28559 * io/lseek64.c: Likewise.
28560 * io/lxstat64.c: Likewise.
28561 * io/mkdir.c: Likewise.
28562 * io/mkdirat.c: Likewise.
28563 * io/mkfifo.c: Likewise.
28564 * io/mkfifoat.c: Likewise.
28565 * io/open.c: Likewise.
28566 * io/open64.c: Likewise.
28567 * io/openat.c: Likewise.
28568 * io/openat64.c: Likewise.
28569 * io/pipe.c: Likewise.
28570 * io/pipe2.c: Likewise.
28571 * io/poll.c: Likewise.
28572 * io/posix_fadvise.c: Likewise.
28573 * io/posix_fadvise64.c: Likewise.
28574 * io/posix_fallocate.c: Likewise.
28575 * io/posix_fallocate64.c: Likewise.
28576 * io/read.c: Likewise.
28577 * io/readlink.c: Likewise.
28578 * io/readlinkat.c: Likewise.
28579 * io/rmdir.c: Likewise.
28580 * io/sendfile.c: Likewise.
28581 * io/sendfile64.c: Likewise.
28582 * io/statfs.c: Likewise.
28583 * io/statfs64.c: Likewise.
28584 * io/statvfs.c: Likewise.
28585 * io/statvfs64.c: Likewise.
28586 * io/symlink.c: Likewise.
28587 * io/symlinkat.c: Likewise.
28588 * io/ttyname.c: Likewise.
28589 * io/ttyname_r.c: Likewise.
28590 * io/umask.c: Likewise.
28591 * io/unlink.c: Likewise.
28592 * io/unlinkat.c: Likewise.
28593 * io/utime.c: Likewise.
28594 * io/utimensat.c: Likewise.
28595 * io/write.c: Likewise.
28596 * io/xmknod.c: Likewise.
28597 * io/xmknodat.c: Likewise.
28598 * io/xstat.c: Likewise.
28599 * io/xstat64.c: Likewise.
28600 * login/getpt.c: Likewise.
28601 * login/grantpt.c: Likewise.
28602 * login/unlockpt.c: Likewise.
28603 * math/e_acoshl.c: Likewise.
28604 * math/e_acosl.c: Likewise.
28605 * math/e_asinl.c: Likewise.
28606 * math/e_atan2l.c: Likewise.
28607 * math/e_atanhl.c: Likewise.
28608 * math/e_coshl.c: Likewise.
28609 * math/e_expl.c: Likewise.
28610 * math/e_fmodl.c: Likewise.
28611 * math/e_gammal_r.c: Likewise.
28612 * math/e_hypotl.c: Likewise.
28613 * math/e_j0l.c: Likewise.
28614 * math/e_j1l.c: Likewise.
28615 * math/e_jnl.c: Likewise.
28616 * math/e_lgammal_r.c: Likewise.
28617 * math/e_log10l.c: Likewise.
28618 * math/e_log2l.c: Likewise.
28619 * math/e_logl.c: Likewise.
28620 * math/e_powl.c: Likewise.
28621 * math/e_rem_pio2l.c: Likewise.
28622 * math/e_sinhl.c: Likewise.
28623 * math/e_sqrtl.c: Likewise.
28624 * math/fclrexcpt.c: Likewise.
28625 * math/fedisblxcpt.c: Likewise.
28626 * math/feenablxcpt.c: Likewise.
28627 * math/fegetenv.c: Likewise.
28628 * math/fegetexcept.c: Likewise.
28629 * math/fegetround.c: Likewise.
28630 * math/feholdexcpt.c: Likewise.
28631 * math/fesetenv.c: Likewise.
28632 * math/fesetround.c: Likewise.
28633 * math/feupdateenv.c: Likewise.
28634 * math/fgetexcptflg.c: Likewise.
28635 * math/fraiseexcpt.c: Likewise.
28636 * math/fsetexcptflg.c: Likewise.
28637 * math/ftestexcept.c: Likewise.
28638 * math/k_cosl.c: Likewise.
28639 * math/k_rem_pio2l.c: Likewise.
28640 * math/k_sinl.c: Likewise.
28641 * math/k_tanl.c: Likewise.
28642 * math/s_asinhl.c: Likewise.
28643 * math/s_atanl.c: Likewise.
28644 * math/s_cbrtl.c: Likewise.
28645 * math/s_erfl.c: Likewise.
28646 * math/s_expm1l.c: Likewise.
28647 * math/s_log1pl.c: Likewise.
28648 * math/s_tanhl.c: Likewise.
28649 * misc/acct.c: Likewise.
28650 * misc/brk.c: Likewise.
28651 * misc/chflags.c: Likewise.
28652 * misc/chroot.c: Likewise.
28653 * misc/fchflags.c: Likewise.
28654 * misc/fgetxattr.c: Likewise.
28655 * misc/flistxattr.c: Likewise.
28656 * misc/fremovexattr.c: Likewise.
28657 * misc/fsetxattr.c: Likewise.
28658 * misc/fsync.c: Likewise.
28659 * misc/ftruncate.c: Likewise.
28660 * misc/futimes.c: Likewise.
28661 * misc/futimesat.c: Likewise.
28662 * misc/getdomain.c: Likewise.
28663 * misc/getdtsz.c: Likewise.
28664 * misc/gethostid.c: Likewise.
28665 * misc/gethostname.c: Likewise.
28666 * misc/getloadavg.c: Likewise.
28667 * misc/getpagesize.c: Likewise.
28668 * misc/getsysstats.c: Likewise.
28669 * misc/getxattr.c: Likewise.
28670 * misc/gtty.c: Likewise.
28671 * misc/ioctl.c: Likewise.
28672 * misc/lgetxattr.c: Likewise.
28673 * misc/listxattr.c: Likewise.
28674 * misc/llistxattr.c: Likewise.
28675 * misc/lremovexattr.c: Likewise.
28676 * misc/lsetxattr.c: Likewise.
28677 * misc/lutimes.c: Likewise.
28678 * misc/madvise.c: Likewise.
28679 * misc/mincore.c: Likewise.
28680 * misc/mlock.c: Likewise.
28681 * misc/mlockall.c: Likewise.
28682 * misc/mmap.c: Likewise.
28683 * misc/mprotect.c: Likewise.
28684 * misc/msync.c: Likewise.
28685 * misc/munlock.c: Likewise.
28686 * misc/munlockall.c: Likewise.
28687 * misc/munmap.c: Likewise.
28688 * misc/preadv.c: Likewise.
28689 * misc/preadv64.c: Likewise.
28690 * misc/ptrace.c: Likewise.
28691 * misc/pwritev.c: Likewise.
28692 * misc/pwritev64.c: Likewise.
28693 * misc/readv.c: Likewise.
28694 * misc/reboot.c: Likewise.
28695 * misc/remap_file_pages.c: Likewise.
28696 * misc/removexattr.c: Likewise.
28697 * misc/revoke.c: Likewise.
28698 * misc/select.c: Likewise.
28699 * misc/setdomain.c: Likewise.
28700 * misc/setegid.c: Likewise.
28701 * misc/seteuid.c: Likewise.
28702 * misc/sethostid.c: Likewise.
28703 * misc/sethostname.c: Likewise.
28704 * misc/setregid.c: Likewise.
28705 * misc/setreuid.c: Likewise.
28706 * misc/setxattr.c: Likewise.
28707 * misc/sstk.c: Likewise.
28708 * misc/stty.c: Likewise.
28709 * misc/swapoff.c: Likewise.
28710 * misc/swapon.c: Likewise.
28711 * misc/sync.c: Likewise.
28712 * misc/syncfs.c: Likewise.
28713 * misc/syscall.c: Likewise.
28714 * misc/truncate.c: Likewise.
28715 * misc/ualarm.c: Likewise.
28716 * misc/usleep.c: Likewise.
28717 * misc/ustat.c: Likewise.
28718 * misc/utimes.c: Likewise.
28719 * misc/vhangup.c: Likewise.
28720 * misc/writev.c: Likewise.
28721 * posix/_exit.c: Likewise.
28722 * posix/alarm.c: Likewise.
28723 * posix/execve.c: Likewise.
28724 * posix/fexecve.c: Likewise.
28725 * posix/fork.c: Likewise.
28726 * posix/fpathconf.c: Likewise.
28727 * posix/getaddrinfo.c: Likewise.
28728 * posix/getegid.c: Likewise.
28729 * posix/geteuid.c: Likewise.
28730 * posix/getgid.c: Likewise.
28731 * posix/getgroups.c: Likewise.
28732 * posix/getlogin.c: Likewise.
28733 * posix/getlogin_r.c: Likewise.
28734 * posix/getpgid.c: Likewise.
28735 * posix/getpid.c: Likewise.
28736 * posix/getppid.c: Likewise.
28737 * posix/getresgid.c: Likewise.
28738 * posix/getresuid.c: Likewise.
28739 * posix/getsid.c: Likewise.
28740 * posix/getuid.c: Likewise.
28741 * posix/glob64.c: Likewise.
28742 * posix/nanosleep.c: Likewise.
28743 * posix/pathconf.c: Likewise.
28744 * posix/pause.c: Likewise.
28745 * posix/posix_madvise.c: Likewise.
28746 * posix/pread.c: Likewise.
28747 * posix/pread64.c: Likewise.
28748 * posix/pwrite.c: Likewise.
28749 * posix/pwrite64.c: Likewise.
28750 * posix/sched_getaffinity.c: Likewise.
28751 * posix/sched_getp.c: Likewise.
28752 * posix/sched_gets.c: Likewise.
28753 * posix/sched_primax.c: Likewise.
28754 * posix/sched_primin.c: Likewise.
28755 * posix/sched_rr_gi.c: Likewise.
28756 * posix/sched_setaffinity.c: Likewise.
28757 * posix/sched_setp.c: Likewise.
28758 * posix/sched_sets.c: Likewise.
28759 * posix/sched_yield.c: Likewise.
28760 * posix/setgid.c: Likewise.
28761 * posix/setlogin.c: Likewise.
28762 * posix/setpgid.c: Likewise.
28763 * posix/setresgid.c: Likewise.
28764 * posix/setresuid.c: Likewise.
28765 * posix/setsid.c: Likewise.
28766 * posix/setuid.c: Likewise.
28767 * posix/sleep.c: Likewise.
28768 * posix/spawni.c: Likewise.
28769 * posix/sysconf.c: Likewise.
28770 * posix/times.c: Likewise.
28771 * posix/wait.c: Likewise.
28772 * posix/wait3.c: Likewise.
28773 * posix/wait4.c: Likewise.
28774 * posix/waitpid.c: Likewise.
28775 * resolv/gai_sigqueue.c: Likewise.
28776 * resource/getpriority.c: Likewise.
28777 * resource/getrlimit.c: Likewise.
28778 * resource/getrusage.c: Likewise.
28779 * resource/nice.c: Likewise.
28780 * resource/setpriority.c: Likewise.
28781 * resource/setrlimit.c: Likewise.
28782 * resource/ulimit.c: Likewise.
28783 * rt/aio_cancel.c: Likewise.
28784 * rt/aio_fsync.c: Likewise.
28785 * rt/aio_read.c: Likewise.
28786 * rt/aio_sigqueue.c: Likewise.
28787 * rt/aio_suspend.c: Likewise.
28788 * rt/aio_write.c: Likewise.
28789 * rt/clock_getres.c: Likewise.
28790 * rt/clock_gettime.c: Likewise.
28791 * rt/clock_nanosleep.c: Likewise.
28792 * rt/clock_settime.c: Likewise.
28793 * rt/lio_listio.c: Likewise.
28794 * rt/mq_close.c: Likewise.
28795 * rt/mq_getattr.c: Likewise.
28796 * rt/mq_notify.c: Likewise.
28797 * rt/mq_open.c: Likewise.
28798 * rt/mq_receive.c: Likewise.
28799 * rt/mq_send.c: Likewise.
28800 * rt/mq_setattr.c: Likewise.
28801 * rt/mq_timedreceive.c: Likewise.
28802 * rt/mq_timedsend.c: Likewise.
28803 * rt/mq_unlink.c: Likewise.
28804 * rt/shm_open.c: Likewise.
28805 * rt/shm_unlink.c: Likewise.
28806 * rt/timer_create.c: Likewise.
28807 * rt/timer_delete.c: Likewise.
28808 * rt/timer_getoverr.c: Likewise.
28809 * rt/timer_gettime.c: Likewise.
28810 * rt/timer_settime.c: Likewise.
28811 * setjmp/__longjmp.c: Likewise.
28812 * setjmp/setjmp.c: Likewise.
28813 * signal/kill.c: Likewise.
28814 * signal/killpg.c: Likewise.
28815 * signal/raise.c: Likewise.
28816 * signal/sigaction.c: Likewise.
28817 * signal/sigaltstack.c: Likewise.
28818 * signal/sigblock.c: Likewise.
28819 * signal/sigignore.c: Likewise.
28820 * signal/sigintr.c: Likewise.
28821 * signal/signal.c: Likewise.
28822 * signal/sigpause.c: Likewise.
28823 * signal/sigpending.c: Likewise.
28824 * signal/sigqueue.c: Likewise.
28825 * signal/sigreturn.c: Likewise.
28826 * signal/sigset.c: Likewise.
28827 * signal/sigsetmask.c: Likewise.
28828 * signal/sigstack.c: Likewise.
28829 * signal/sigsuspend.c: Likewise.
28830 * signal/sigtimedwait.c: Likewise.
28831 * signal/sigvec.c: Likewise.
28832 * signal/sigwait.c: Likewise.
28833 * signal/sigwaitinfo.c: Likewise.
28834 * signal/sysv_signal.c: Likewise.
28835 * socket/accept.c: Likewise.
28836 * socket/accept4.c: Likewise.
28837 * socket/bind.c: Likewise.
28838 * socket/connect.c: Likewise.
28839 * socket/getpeername.c: Likewise.
28840 * socket/getsockname.c: Likewise.
28841 * socket/getsockopt.c: Likewise.
28842 * socket/isfdtype.c: Likewise.
28843 * socket/listen.c: Likewise.
28844 * socket/recv.c: Likewise.
28845 * socket/recvfrom.c: Likewise.
28846 * socket/recvmsg.c: Likewise.
28847 * socket/send.c: Likewise.
28848 * socket/sendmsg.c: Likewise.
28849 * socket/sendto.c: Likewise.
28850 * socket/setsockopt.c: Likewise.
28851 * socket/shutdown.c: Likewise.
28852 * socket/sockatmark.c: Likewise.
28853 * socket/socket.c: Likewise.
28854 * socket/socketpair.c: Likewise.
28855 * stdio-common/ctermid.c: Likewise.
28856 * stdio-common/cuserid.c: Likewise.
28857 * stdio-common/remove.c: Likewise.
28858 * stdio-common/rename.c: Likewise.
28859 * stdio-common/renameat.c: Likewise.
28860 * stdio-common/tempname.c: Likewise.
28861 * stdlib/getcontext.c: Likewise.
28862 * stdlib/makecontext.c: Likewise.
28863 * stdlib/setcontext.c: Likewise.
28864 * stdlib/swapcontext.c: Likewise.
28865 * stdlib/system.c: Likewise.
28866 * streams/fattach.c: Likewise.
28867 * streams/fdetach.c: Likewise.
28868 * streams/getmsg.c: Likewise.
28869 * streams/getpmsg.c: Likewise.
28870 * streams/putmsg.c: Likewise.
28871 * streams/putpmsg.c: Likewise.
28872 * sysdeps/unix/bsd/getpt.c: Likewise.
28873 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28874 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28875 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28878 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28879 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28880 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28881 * sysvipc/msgctl.c: Likewise.
28882 * sysvipc/msgget.c: Likewise.
28883 * sysvipc/msgrcv.c: Likewise.
28884 * sysvipc/msgsnd.c: Likewise.
28885 * sysvipc/semctl.c: Likewise.
28886 * sysvipc/semget.c: Likewise.
28887 * sysvipc/semop.c: Likewise.
28888 * sysvipc/semtimedop.c: Likewise.
28889 * sysvipc/shmat.c: Likewise.
28890 * sysvipc/shmctl.c: Likewise.
28891 * sysvipc/shmdt.c: Likewise.
28892 * sysvipc/shmget.c: Likewise.
28893 * termios/tcdrain.c: Likewise.
28894 * termios/tcflow.c: Likewise.
28895 * termios/tcflush.c: Likewise.
28896 * termios/tcgetattr.c: Likewise.
28897 * termios/tcgetpgrp.c: Likewise.
28898 * termios/tcsendbrk.c: Likewise.
28899 * termios/tcsetattr.c: Likewise.
28900 * termios/tcsetpgrp.c: Likewise.
28901 * time/adjtime.c: Likewise.
28902 * time/clock.c: Likewise.
28903 * time/getitimer.c: Likewise.
28904 * time/gettimeofday.c: Likewise.
28905 * time/setitimer.c: Likewise.
28906 * time/settimeofday.c: Likewise.
28907 * time/stime.c: Likewise.
28908 * time/time.c: Likewise.
28910 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28912 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28915 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28917 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28919 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28922 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28923 FE_TONEAREST before applying Dekker multiplication and Knuth
28924 addition. Clear inexact exceptions and check for exact zero
28925 results afterwards.
28926 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28927 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28928 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28929 * math/libm-test.inc (fma_test): Add more tests.
28930 (fma_test_towardzero): Likewise.
28931 (fma_test_downward): Likewise.
28932 (fma_test_upward): Likewise.
28933 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28935 (libc_fesetround): New macro.
28936 (libc_fesetroundf): Likewise.
28937 (libc_fesetroundl): Likewise.
28938 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28940 (libc_fesetround_387): Likewise.
28941 (libc_fesetroundf): New macro.
28942 (libc_fesetround): Likewise.
28943 (libc_fesetroundl): Likewise.
28944 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28946 (libc_fesetroundf): New macro.
28947 (libc_fesetround): Likewise.
28948 (libc_fesetroundl): Likewise.
28949 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28950 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28951 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28953 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28954 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28956 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28957 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28959 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28963 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28964 integer constant usable in #if and use that to give value to enum
28966 (FE_DIVBYZERO): Likewise.
28967 (FE_UNDERFLOW): Likewise.
28968 (FE_OVERFLOW): Likewise.
28969 (FE_INVALID): Likewise.
28970 (FE_INVALID_SNAN): Likewise.
28971 (FE_INVALID_ISI): Likewise.
28972 (FE_INVALID_IDI): Likewise.
28973 (FE_INVALID_ZDZ): Likewise.
28974 (FE_INVALID_IMZ): Likewise.
28975 (FE_INVALID_COMPARE): Likewise.
28976 (FE_INVALID_SOFTWARE): Likewise.
28977 (FE_INVALID_SQRT): Likewise.
28978 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28979 (FE_TONEAREST): Likewise.
28980 (FE_TOWARDZERO): Likewise.
28981 (FE_UPWARD): Likewise.
28982 (FE_DOWNWARD): Likewise.
28983 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28984 (FE_DIVBYZERO): Likewise.
28985 (FE_OVERFLOW): Likewise.
28986 (FE_UNDERFLOW): Likewise.
28987 (FE_INEXACT): Likewise.
28988 (FE_TONEAREST): Likewise.
28989 (FE_DOWNWARD): Likewise.
28990 (FE_UPWARD): Likewise.
28991 (FE_TOWARDZERO): Likewise.
28992 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28993 (FE_UNDERFLOW): Likewise.
28994 (FE_OVERFLOW): Likewise.
28995 (FE_DIVBYZERO): Likewise.
28996 (FE_INVALID): Likewise.
28997 (FE_TONEAREST): Likewise.
28998 (FE_TOWARDZERO): Likewise.
28999 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29000 (FE_OVERFLOW): Likewise.
29001 (FE_UNDERFLOW): Likewise.
29002 (FE_DIVBYZERO): Likewise.
29003 (FE_INEXACT): Likewise.
29004 (FE_TONEAREST): Likewise.
29005 (FE_TOWARDZERO): Likewise.
29006 (FE_UPWARD): Likewise.
29007 (FE_DOWNWARD): Likewise.
29008 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29009 (FE_DIVBYZERO): Likewise.
29010 (FE_OVERFLOW): Likewise.
29011 (FE_UNDERFLOW): Likewise.
29012 (FE_INEXACT): Likewise.
29013 (FE_TONEAREST): Likewise.
29014 (FE_DOWNWARD): Likewise.
29015 (FE_UPWARD): Likewise.
29016 (FE_TOWARDZERO): Likewise.
29018 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29020 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29022 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29024 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29025 commands. Quote $PWD.
29026 (blacklist_exports): Don't use remove_newlines. Replace "declare
29028 (remove_newlines): Remove.
29030 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29032 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29033 * stdlib/stdlib.h (atof): Moved to ...
29034 * include/bits/stdlib-float.h: Here. New file.
29035 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29036 * stdlib/bits/stdlib-float.h: New file.
29037 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29039 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29042 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29044 * conform/conformtest.pl (@headers): Add fenv.h.
29045 * conform/data/fenv.h-data: New file.
29046 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29047 include of <math/fenv.h>.
29049 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29050 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29051 && !UNIX98]. Enables tests for XOPEN2K8.
29052 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29053 POSIX2008]: Likewise.
29055 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29056 (struct rusage): Do not expect type or its members.
29059 * math/math.h (FP_NAN): Define macro to integer constant usable in
29060 #if and use that to give value to enum constant.
29061 (FP_INFINITE): Likewise.
29062 (FP_ZERO): Likewise.
29063 (FP_SUBNORMAL): Likewise.
29064 (FP_NORMAL): Likewise.
29066 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29068 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29069 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29072 2012-11-02 Roland McGrath <roland@hack.frob.com>
29074 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29075 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29076 autoconf-time if not.
29077 * configure.in: Remove AC_PREREQ.
29079 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29081 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29082 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29083 of the internal implementation.
29085 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29087 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29088 except include of <misc/sys/syslog.h>.
29090 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29093 function returns with a NULL context exit with zero.
29095 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29097 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29099 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29101 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29102 (run_program_cmd): This.
29103 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29104 (tst_langinfo): New variable. Use it.
29106 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29108 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29109 floating point opcodes.
29111 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29113 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29116 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29118 * sysdeps/mach/hurd/powerpc: Remove directory.
29119 * sysdeps/mach/powerpc: Likewise.
29121 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29123 * scripts/check-local-headers.sh: Ignore c++ headers.
29125 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29127 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29128 __libc_cleanup_region_start argument.
29130 2012-11-01 Joseph Myers <joseph@codesourcery.com>
29134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29135 x * y using scaling, not as x * y + z.
29136 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29137 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29138 * math/libm-test.inc (fma_test): Add more tests.
29139 (fma_test_towardzero): Likewise.
29140 (fma_test_downward): Likewise.
29141 (fma_test_upward): Likewise.
29143 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29145 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29147 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29149 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29152 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29154 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29156 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29163 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29166 Fix the order of the list for glibc 2.17.
29167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29170 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29174 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29177 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29178 for low part of x being zero before using __atanl (y).
29179 * math/libm-test.inc (atan2_test): Add another test.
29181 * manual/install.texi (Configuring and compiling): Document
29182 general use of test-wrapper and test-wrapper-env.
29183 * INSTALL: Regenerated.
29185 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29186 (__fma): Do not extract and scale down low bits on after-rounding
29187 systems when result rounded to normal precision would have normal
29189 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29190 (__fmal): Do not extract and scale down low bits on after-rounding
29191 systems when result rounded to normal precision would have normal
29193 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29194 (__fmal): Do not extract and scale down low bits on after-rounding
29195 systems when result rounded to normal precision would have normal
29197 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29199 (fma_test): Add more tests.
29200 (fma_test_towardzero): Likewise.
29201 (fma_test_downward): Likewise.
29202 (fma_test_upward): Likewise.
29204 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29206 * sysdeps/i386/tininess.h: Renamed to ...
29207 * sysdeps/x86/tininess.h: This.
29208 * sysdeps/x86_64/tininess.h: Removed.
29210 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29212 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29213 input. Use $(build-program-cmd).
29214 ($(objpfx)tst-array1-static.out): Likewise.
29215 ($(objpfx)tst-array2.out): Likewise.
29216 ($(objpfx)tst-array3.out): Likewise.
29217 ($(objpfx)tst-array4.out): Likewise.
29218 ($(objpfx)tst-array5.out): Likewise.
29219 ($(objpfx)tst-array5-static.out): Likewise.
29221 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29223 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29226 * nss/nsswitch.h (nss_interface_function): Provide new
29227 macro for use with NSS functions.
29228 * grp/initgroups.c: Use new macro.
29229 * nss/getXXbyYY.c: Likewise.
29230 * nss/getXXbyYY_r.c: Likewise.
29231 * nss/getXXent.c: Likewise.
29232 * nss/getXXent_r.c: Likewise.
29233 * sysdeps/posix/getaddrinfo.c: Likewise.
29235 2012-10-30 Andreas Jaeger <aj@suse.de>
29237 * po/ru.po: Update Russion translation from translation project.
29239 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29243 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29244 result and shift together with sticky bit instead of replicating
29245 round-to-nearest rounding.
29246 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29247 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29248 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29249 missing underflow exceptions.
29250 (fma_test_towardzero): Add more tests.
29251 (fma_test_downward): Likewise.
29252 (fma_test_upward): Likewise.
29255 * sysdeps/generic/tininess.h: New file.
29256 * sysdeps/i386/tininess.h: Likewise.
29257 * sysdeps/sh/tininess.h: Likewise.
29258 * sysdeps/x86_64/tininess.h: Likewise.
29259 * stdlib/tst-strtod-underflow.c: Likewise.
29260 * stdlib/tst-tininess.c: Likewise.
29261 * stdlib/strtod_l.c: Include <tininess.h>.
29262 (round_and_return): Do not set errno for exact underflow cases.
29263 Force an underflow exception when setting errno for underflow.
29264 Determine underflow based on rounding to normal precision if
29265 TININESS_AFTER_ROUNDING.
29266 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29267 ERANGE for exact underflow cases.
29268 * stdlib/Makefile (tests): Add tst-tininess and
29269 tst-strtod-underflow.
29270 ($(objpfx)tst-tininess): Use $(link-libm).
29271 ($(objpfx)tst-strtod-underflow): Likewise.
29273 2012-10-30 Andreas Jaeger <aj@suse.de>
29276 * elf/Makefile (tests): Remove conditional for have-initfini-array
29277 since this is now always required and the variable does not exist
29279 (tests-static): Likewise.
29280 (modules-names): Likewise.
29282 * po/eo.po: Add Esperanto translation from translation project.
29284 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29285 merged with constructor/destructor.
29286 (init_array): Likewise.
29287 * elf/tst-array2dep.c (fini_array): Likewise.
29288 (init_array): Likewise.
29290 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29292 * manual/message.texi: Delete @cartouche tags.
29294 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29296 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29298 * sysdeps/mach/hurd/fsync.c: Likewise.
29300 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29301 [_POSIX_REALTIME_SIGNALS]: Change condition to
29302 [_POSIX_REALTIME_SIGNALS > 0].
29304 2012-10-27 Andreas Jaeger <aj@suse.de>
29306 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29307 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29308 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29309 [__WORDSIZE != 64]: Likewise.
29311 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29313 * iconvdata/tst-table.sh: Remove ${SHELL}.
29314 * iconvdata/tst-tables.sh: Likewise.
29316 2012-10-25 David S. Miller <davem@davemloft.net>
29318 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29319 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29322 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29324 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29325 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29326 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29329 2012-10-25 Roland McGrath <roland@hack.frob.com>
29331 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29332 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29335 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29336 Jim Blandy <jimb@codesourcery.com>
29338 * scripts/cross-test-ssh.sh: New file.
29339 * manual/install.texi (Configuring and compiling): Document use of
29341 * INSTALL: Regenerated.
29343 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29345 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29348 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29350 * Makeconfig (run-program-prefix): Fix comment.
29352 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29353 Jim Blandy <jimb@codesourcery.com>
29355 * Makeconfig (test-wrapper): New variable,
29356 (test-wrapper-env): Likewise.
29357 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29358 (run-built-tests): Define to yes.
29359 (run-program-prefix): Use $(test-wrapper).
29360 (built-program-cmd): Likewise.
29361 * Rules (make-test-out): Use $(test-wrapper-env) and
29362 $(host-built-program-cmd).
29363 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29364 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29366 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29367 $(test-wrapper-env) to tst-rtld-load-self.sh.
29368 ($(objpfx)order2.out): Use $(test-wrapper).
29369 ($(objpfx)tst-initorder.out): Likewise.
29370 ($(objpfx)tst-initorder2.out): Likewise.
29371 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29372 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29373 (test_wrapper_env): New variable. Use it to run ld.so.
29374 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29375 Use it to run ld.so.
29376 (test_wrapper_env): Likewise.
29377 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29378 $(test-wrapper) to run-iconv-test.sh.
29379 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29380 (ICONV): Use $test_wrapper.
29381 * posix/Makefile ($(objpfx)globtest.out): Pass
29382 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29383 globtest.sh, not $(run-program-prefix).
29384 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29385 (test_wrapper): Likewise.
29386 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29387 set together with run_via_rtld_prefix.
29388 (run_program_prefix): Define in terms of test_wrapper and
29389 run_via_rtld_prefix.
29391 2012-10-24 Roland McGrath <roland@hack.frob.com>
29393 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29394 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29398 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29399 Declare __clock_getres, __clock_gettime, __clock_settime,
29400 __clock_nanosleep, and __clock_getcpuclockid.
29401 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29402 Remove librt_hidden_def (clock_gettime).
29403 * sysdeps/unix/clock_gettime.c: Likewise.
29404 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29405 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29406 * rt/clock_getres.c: Define __clock_getres as an alias.
29407 * sysdeps/posix/clock_getres.c: Likewise.
29408 * rt/clock_settime.c: Define __clock_settime as an alias.
29409 * sysdeps/unix/clock_settime.c: Likewise.
29410 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29411 * sysdeps/unix/clock_nanosleep.c: Likewise.
29412 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29413 * rt/clock-compat.c: New file.
29414 * rt/Makefile (librt-routines): Add clock-compat and move
29415 $(clock-routines) to ...
29416 (routines): ... here, new variable.
29417 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29418 Don't add get_clockfreq here.
29419 * rt/Versions (libc: GLIBC_2.17): New version set.
29420 Add clock_* symbols here.
29421 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29422 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29423 (GLIBC_2.17): Add clock_* symbols.
29424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29426 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29435 * NEWS: Mention the move.
29437 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29438 Use __open, __read, __close rather than their public counterparts.
29439 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29440 (__get_clockfreq_via_cpuinfo): Likewise.
29441 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29442 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29444 * config.h.in (HAVE_IFUNC): New #undef.
29445 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29447 * configure: Regenerated.
29449 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29451 * configure.in: Move READELF check to start of file.
29452 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29453 libc_cv_asm_gnu_indirect_function in the process.
29454 * configure: Regenerated.
29456 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29458 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29459 send the output to /dev/null.
29460 (libc_cv_cc_with_libunwind): Likewise.
29461 (libc_cv_as_noexecstack): Likewise.
29462 * configure: Regenerate.
29464 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29466 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29468 * posix/globtest.sh (TMPDIR): Do not set.
29469 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29470 (testout): Likewise.
29472 2012-10-24 Andreas Jaeger <aj@suse.de>
29474 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29475 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29476 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29477 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29478 posix_fadvise64, posix_fallocate64.
29480 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29481 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29482 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29484 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29486 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29488 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29489 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29490 <bits/fcntl-linux.h>.
29491 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29493 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29494 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29495 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29496 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29497 [__WORDSIZE != 64]: Likewise.
29499 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29501 * Makeconfig (run-built-tests): New variable.
29502 * Rules [$(cross-compiling) = yes]: Change condition to
29503 [$(run-built-tests) = no].
29504 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29505 to [$(run-built-tests) = yes].
29506 * elf/Makefile [$(cross-compiling) = no]: Likewise
29507 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29508 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29509 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29510 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29511 * io/Makefile [$(cross-compiling) = no]: Likewise.
29512 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29513 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29514 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29515 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29516 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29517 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29518 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29519 * string/Makefile [$(cross-compiling) = no]: Likewise.
29521 * posix/Makefile ($(objpfx)globtest.out): Pass
29522 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29523 $(rtld-installed-name).
29524 * posix/globtest.sh (elf_objpfx): Remove variable.
29525 (rtld_installed_name): Likewise.
29526 (library_path): Likewise.
29527 (run_program_prefix): New variable. Use for running globtest
29530 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29531 Joseph Myers <joseph@codesourcery.com>
29533 * Makeconfig (host-built-program-cmd): New variable.
29534 * elf/Makefile (tst-stackguard1-ARGS): Use
29535 $(host-built-program-cmd).
29536 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29537 (tst-spawn-ARGS): Likewise.
29538 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29540 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29541 Jim Blandy <jimb@codesourcery.com>
29543 * Makeconfig (run-via-rtld-prefix): New variable.
29544 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29545 (built-program-cmd): Likewise.
29547 2012-10-22 Andreas Jaeger <aj@suse.de>
29549 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29550 __O_RSYNC if it exists, otherwise to O_SYNC.
29552 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29553 Joseph Myers <joseph@codesourcery.com>
29555 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29557 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29559 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29562 2012-10-22 Andreas Jaeger <aj@suse.de>
29564 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29566 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29568 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29569 bits/fcntl-linux.h.
29571 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29572 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29574 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29576 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29579 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29580 Joseph Myers <joseph@codesourcery.com>
29582 * config.make.in (NM): New variable.
29584 2012-10-21 Andreas Jaeger <aj@suse.de>
29586 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29587 definitions and declarations that are provided by
29588 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29590 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29593 * elf/Makefile (tests-static): Add tst-leaks1-static.
29594 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29595 ($(objpfx)tst-leaks1-static): New rule.
29596 ($(objpfx)tst-leaks1-static-mem): Likewise.
29597 (tst-leaks1-static-ENV): New macro.
29598 * elf/dl-open.c (dl_open_worker): Check the main application
29599 only if SHARED is defined.
29600 * elf/tst-leaks1-static.c: New file.
29602 2012-10-20 Andreas Jaeger <aj@suse.de>
29604 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29605 generic values for Linux.
29606 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29607 and declarations that are provided by <bits/fcntl-linux.h> and
29608 include <bits/fcntl-linux.h>.
29609 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29610 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29612 2012-10-20 Roland McGrath <roland@hack.frob.com>
29614 * io/fcntl.h: Move include of <bits/types.h> to the top and
29615 include it unconditionally.
29617 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29619 * wcsmbs/Makefile (tests-ifunc): New variable.
29620 (tests): Add $(tests-ifunc).
29621 * wcsmbs/test-wcschr-ifunc.c: New file.
29622 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29623 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29624 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29625 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29626 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29628 * string/Makefile (tests-ifunc): New variable.
29629 (tests): Add $(tests-ifunc).
29630 * string/test-memccpy.c (TEST_NAME): New macro.
29631 * string/test-memchr.c (TEST_NAME): Likewise.
29632 * string/test-memcmp.c (TEST_NAME): Likewise.
29633 * string/test-memcpy.c (TEST_NAME): Likewise.
29634 * string/test-memmem.c (TEST_NAME): Likewise.
29635 * string/test-memmove.c (TEST_NAME): Likewise.
29636 * string/test-memset.c (TEST_NAME): Likewise.
29637 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29638 * string/test-stpcpy.c (TEST_NAME): Likewise.
29639 * string/test-stpncpy.c (TEST_NAME): Likewise.
29640 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29641 * string/test-strcasestr.c (TEST_NAME): Likewise.
29642 * string/test-strcat.c (TEST_NAME): Likewise.
29643 * string/test-strchr.c (TEST_NAME): Likewise.
29644 * string/test-strcmp.c(TEST_NAME): Likewise.
29645 * string/test-strcpy.c (TEST_NAME): Likewise.
29646 * string/test-strcspn.c (TEST_NAME): Likewise.
29647 * string/test-strlen.c (TEST_NAME): Likewise.
29648 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29649 * string/test-strncmp.c (TEST_NAME): Likewise.
29650 * string/test-strncpy.c (TEST_NAME): Likewise.
29651 * string/test-strnlen.c (TEST_NAME): Likewise.
29652 * string/test-strpbrk.c (TEST_NAME): Likewise.
29653 * string/test-strrchr.c (TEST_NAME): Likewise.
29654 * string/test-strspn.c (TEST_NAME): Likewise.
29655 * string/test-strstr.c (TEST_NAME): Likewise.
29656 * string/test-bcopy-ifunc.c: New file.
29657 * string/test-bzero-ifunc.c: Likewise.
29658 * string/test-memccpy-ifunc.c: Likewise.
29659 * string/test-memchr-ifunc.c: Likewise.
29660 * string/test-memcmp-ifunc.c: Likewise.
29661 * string/test-memcpy-ifunc.c: Likewise.
29662 * string/test-memmem-ifunc.c: Likewise.
29663 * string/test-memmove-ifunc.c: Likewise.
29664 * string/test-mempcpy-ifunc.c: Likewise.
29665 * string/test-memset-ifunc.c: Likewise.
29666 * string/test-rawmemchr-ifunc.c: Likewise.
29667 * string/test-stpcpy-ifunc.c: Likewise.
29668 * string/test-stpncpy-ifunc.c: Likewise.
29669 * string/test-strcasecmp-ifunc.c: Likewise.
29670 * string/test-strcasestr-ifunc.c: Likewise.
29671 * string/test-strcat-ifunc.c: Likewise.
29672 * string/test-strchr-ifunc.c: Likewise.
29673 * string/test-strchrnul-ifunc.c: Likewise.
29674 * string/test-strcmp-ifunc.c: Likewise.
29675 * string/test-strcpy-ifunc.c: Likewise.
29676 * string/test-strcspn-ifunc.c: Likewise.
29677 * string/test-strlen-ifunc.c: Likewise.
29678 * string/test-strncasecmp-ifunc.c: Likewise.
29679 * string/test-strncat-ifunc.c: Likewise.
29680 * string/test-strncmp-ifunc.c: Likewise.
29681 * string/test-strncpy-ifunc.c: Likewise.
29682 * string/test-strnlen-ifunc.c: Likewise.
29683 * string/test-strpbrk-ifunc.c: Likewise.
29684 * string/test-strrchr-ifunc.c: Likewise.
29685 * string/test-strspn-ifunc.c: Likewise.
29686 * string/test-strstr-ifunc.c: Likewise.
29688 * debug/Makefile (tests-ifunc): New variable.
29689 (tests): Add $(tests-ifunc).
29690 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29691 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29692 * debug/test-stpcpy_chk-ifunc.c: New file.
29693 * debug/test-strcpy_chk-ifunc.c: Likewise.
29695 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29698 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29699 header is not read in.
29701 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29703 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29704 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29705 directly. Pass built executable to script as
29706 $(built-program-cmd).
29707 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29708 $testprogram without using LD_LIBRARY_PATH and $ldso.
29710 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29711 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29712 $(rtld-installed-name).
29713 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29714 (rtld_installed_name): Likewise.
29715 (library_path): Likewise.
29716 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29717 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29718 $(run-program-prefix) to tst-tables.sh.
29719 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29720 it to run tst-table-from and tst-table-to.
29721 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29722 Pass it to tst-table.sh.
29723 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29724 $(run-program-prefix) to tst-gettext.sh.
29725 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29727 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29729 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29730 to run tst-gettext.
29731 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29732 to run tst-gettext2.
29733 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29734 to run tst-translit.
29735 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29736 $(run-program-prefix) to tst-mtrace.sh.
29737 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29739 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29740 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29741 $(rtld-installed-name).
29742 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29743 (rtld_installed_name): Likewise.
29744 (run_program_prefix): New variable. Use it to run wordexp-test.
29746 * Makeconfig (ARCH): Remove all definitions.
29747 (machine): Likewise.
29748 [ARCH]: Remove conditional code.
29749 [!objdir]: Give error.
29750 [!objdir] (objpfx): Remove.
29751 [!objdir] (common-objpfx): Likewise.
29752 [!objdir] (common-objdir): Likewise.
29753 * configure.in (config_makefile): Remove. Hardcode Makefile in
29754 AC_CONFIG_FILES call.
29755 * configure: Regenerated.
29758 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29760 (testout): Likewise.
29762 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29763 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29764 $(rtld-installed-name).
29765 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29766 (rtld_installed_name): Likwise.
29767 (runit): Remove function.
29768 (run_getconf): New variable, Use it for running getconf binary.
29770 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29773 * string/test-memmem.c (check_result): New function.
29774 (do_one_test): Use it.
29775 (check1): New function.
29776 (test_main): Use it.
29778 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29780 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29782 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29784 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29785 (_G_LSEEK64): Likewise.
29786 (_G_MMAP64): Likewise.
29787 (_G_FSTAT64): Likewise.
29788 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29789 (_G_LSEEK64): Likewise.
29790 (_G_MMAP64): Likewise.
29791 (_G_FSTAT64): Likewise.
29792 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29793 unconditional. Call __mmap64 directly.
29794 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29795 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29796 __lseek64 directly.
29797 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29798 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29800 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29801 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29802 __lseek64 directly.
29803 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29804 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29805 __lseek64 directly.
29806 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29807 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29808 __lseek64 directly.
29809 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29810 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29811 __fxstat64 directly.
29812 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29813 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29815 (freopen64) [!_G_OPEN64]: Remove conditional code.
29816 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29818 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29819 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29821 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29822 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29824 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29825 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29827 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29828 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29830 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29831 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29833 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29834 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29836 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29838 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29841 * manual/memory.texi (Malloc Tunable Parameters): Add note
29842 about free list pointers overwriting some perturb bytes.
29843 Wording suggested by Roland McGrath.
29845 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29847 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29848 (lgamma_test): Likewise.
29849 (tgamma_test): Likewise.
29851 2012-10-16 Florian Weimer <fweimer@redhat.com>
29854 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29855 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29857 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29859 * NEWS: Mention BZ #14716.
29860 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29861 when removing AVAILABLE1_USES_J macro.
29863 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29865 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29866 (__bswap_64): __uint64_t for unsigned 64-bit int.
29868 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29870 * include/string.h (memmem): Declare libc hidden alias.
29871 * string/memmem.c (memmem): Define libc hidden alias.
29872 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29873 __read, __close instead of open, read, close.
29875 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29877 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29878 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29880 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29881 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29882 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29884 (__rawmemchr_sse2): Likewise.
29885 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29886 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29887 (__strchr_sse2): Likewise.
29888 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29889 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29890 (__strcasecmp_sse2): Likewise.
29891 (__strncasecmp_sse2): Likewise.
29892 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29893 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29894 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29895 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29896 (__strrchr_sse2): Likewise.
29897 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29899 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29900 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29901 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29902 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29903 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29904 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29905 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29906 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29907 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29908 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29909 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29910 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29911 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29912 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29913 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29914 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29915 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29916 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29917 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29918 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29919 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29920 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29921 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29922 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29923 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29924 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29925 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29926 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29927 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29928 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29930 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29932 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29933 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29934 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29935 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29937 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29939 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29940 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29941 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29942 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29944 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29945 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29946 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29947 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29948 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29949 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29950 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29951 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29952 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29953 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29954 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29955 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29956 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29957 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29958 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29959 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29960 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29961 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29962 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29963 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29964 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29965 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29966 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29967 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29968 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29969 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29970 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29971 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29972 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29973 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29974 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29975 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29976 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29977 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29978 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29979 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29980 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29981 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29982 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29983 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29984 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29986 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29987 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29988 * include/ifunc-impl-list.h: New file.
29989 * misc/ifunc-impl-list.c: Likewise.
29990 * misc/Makefile (routines): Add ifunc-impl-list.
29991 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29992 * string/test-string.h: Include <ifunc-impl-list.h>.
29993 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29994 TEST_NAME]: New variables.
29995 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29997 (test_init): Call __libc_ifunc_impl_list to initialize
29998 func_list if TEST_IFUNC and TEST_NAME are defined.
30000 * string/Makefile (strop-tests): Add bcopy and bzero.
30001 * string/test-bcopy.c: New file.
30002 * string/test-bzero.c: Likewise.
30003 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30005 * string/test-memset.c: Support bzero test if TEST_BZERO is
30007 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30009 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30011 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30014 2012-10-10 Joseph Myers <joseph@codesourcery.com>
30016 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30017 * configure: Regenerated.
30019 * Makeconfig (+link-static-before-libc): Don't include
30020 $(link-static-libc).
30022 * libio/libio.h (_IO_pos_t): Remove.
30024 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30026 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30029 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30031 * crypt/crypt-entry.c: Include fips-private.h.
30032 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30033 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30034 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30035 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30037 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30039 * crypt/crypt-private.h: Include stdbool.h.
30040 (_ufc_setup_salt_r): Return bool.
30041 * crypt/crypt-entry.c: Include errno.h.
30042 (__crypt_r): Return NULL with EINVAL for bad salt.
30043 * crypt/crypt_util.c (bad_for_salt): New.
30044 (_ufc_setup_salt_r): Check that salt is long enough and within
30045 the specified alphabet.
30046 * crypt/badsalttest.c: New file.
30047 * crypt/Makefile (tests): Add it.
30048 ($(objpfx)badsalttest): New.
30050 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30052 * NEWS: Add entry for BZ #14602.
30054 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30056 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30058 * math/libm-test.inc: Update comment listing what functions and
30060 (isgreater_test): New function.
30061 (isgreaterequal_test): Likewise.
30062 (isless_test): Likewise.
30063 (islessequal_test): Likewise.
30064 (islessgreater_test): Likewise.
30065 (isunordered_test): Likewise.
30066 (main): Call the new functions.
30068 2012-10-09 Roland McGrath <roland@hack.frob.com>
30070 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30071 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30072 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30073 * sysdeps/i386/configure: Regenerated.
30074 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30075 * sysdeps/mach/configure: Regenerated.
30076 * sysdeps/mach/hurd/configure: Regenerated.
30077 * sysdeps/powerpc/configure: Regenerated.
30078 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30079 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30080 * sysdeps/s390/s390-32/configure: Regenerated.
30081 * sysdeps/s390/s390-64/configure: Regenerated.
30082 * sysdeps/sh/configure: Regenerated.
30083 * sysdeps/sparc/configure: Regenerated.
30084 * sysdeps/unix/sysv/linux/configure: Regenerated.
30085 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30086 * sysdeps/x86_64/configure: Regenerated.
30088 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30089 defined. Don't check if MAP is NULL.
30091 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30093 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30094 (_G_stat64): Likewise.
30095 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30096 (_G_stat64): Likewise.
30097 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30098 instead of struct _G_stat64.
30099 * libio/fileops.c (mmap_remap_check): Likewise.
30100 (decide_maybe_mmap): Likewise.
30101 (_IO_new_file_seekoff): Likewise.
30102 (_IO_file_stat): Likewise.
30103 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30105 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30106 instead of struct _G_stat64.
30107 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30109 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30112 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30114 (CHECK_EOL): New macro.
30115 (two_way_short_needle): Check beginning of haystack for EOL. Use
30117 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30118 Replace with CHECK_EOL.
30119 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30120 Replace with CHECK_EOL.
30122 2012-10-08 Joseph Myers <joseph@codesourcery.com>
30124 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30126 * math/libm-test.inc: Update comment listing what functions and
30128 (finite_test): New function.
30129 (isinf_test): Likewise.
30130 (isnan_test): Likewise.
30131 (fpclassify_test): Test subnormal input.
30132 (isfinite_test): Likewise.
30133 (isnormal_test): Likewise.
30134 (main): Call the new functions.
30136 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30139 * Makerules (%.dynsym): Force C locale when running
30140 $(OBJDUMP) --dynamic-syms.
30142 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30144 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30147 2012-10-06 David S. Miller <davem@davemloft.net>
30149 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30150 upper 32-bits of the length value in %o2 since we use branch-on-register
30151 tests which consider the entire 64-bit register.
30153 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30155 * string/test-strstr.c (check2): Add a test for page boundary.
30157 2012-10-05 David S. Miller <davem@davemloft.net>
30159 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30160 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30162 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30164 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30165 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30166 and bzero when HWCAP_SPARC_CRYPTO is present.
30168 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30171 * string/test-strstr.c (check2): New function.
30172 (test_main): Call check2.
30174 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30176 * string/bug-strcasestr1.c (do_test): Moved to ...
30177 * string/test-strcasestr.c (check1): Here. New function.
30178 (do_one_test): Break out result checking code into ...
30179 (check_result): This. New function.
30180 (do_one_test): Call check_result.
30181 (test_main): Call check1.
30182 * string/bug-strchr1.c (do_test): Moved to ...
30183 * string/test-strchr.c (check1): Here. New function.
30184 (do_one_test): Break out result checking code into ...
30185 (check_result): This. New function.
30186 (do_one_test): Call check_result.
30187 (test_main): Call check1.
30188 * string/bug-strstr1.c (main): Moved to ...
30189 * string/test-strstr.c (check1): Here. New function.
30190 (do_one_test): Break out result checking code into ...
30191 (check_result): This. New function.
30192 (do_one_test): Call check_result.
30193 (test_main): Call check1.
30194 * string/bug-strcasestr1.c: Removed.
30195 * string/bug-strchr1.c: Likewise.
30196 * string/bug-strstr1.c: Likewise.
30198 * elf/Makefile (dl-routines): Add hwcaps.
30199 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30200 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30201 (_dl_important_hwcaps): Moved to ...
30202 * elf/dl-hwcaps.c: Here. New file.
30203 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30206 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30207 if IS_IN_rtld isn't defined.
30209 * elf/dl-support.c (_dl_sysinfo_map): New.
30210 Include "get-dynamic-info.h" and "setup-vdso.h".
30211 (_dl_non_dynamic_init): Call setup_vdso.
30212 * elf/dynamic-link.h: Don't include <assert.h>.
30213 (elf_get_dynamic_info): Moved to ...
30214 * elf/get-dynamic-info.h: Here. New file.
30215 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30216 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30217 * elf/setup-vdso.h: Here. New file.
30218 * elf/rtld.c: Include "setup-vdso.h".
30219 (dl_main): Call setup_vdso.
30221 2012-10-05 Joseph Myers <joseph@codesourcery.com>
30223 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30224 creal in comment listing functions tested. List finite, isinf,
30225 isnan, isless, islessequal, isgreater, isgreaterequal,
30226 islessgreater, isunordered, lgamma_r and pow10 as functions and
30227 macros not tested. Mention which functions not tested are aliases
30228 for other functions. Fix typo. Note that signs of NaNs are not
30231 * scripts/config.guess: Update from config.git.
30232 * scripts/config.sub: Likewise.
30234 2012-10-04 Roland McGrath <roland@hack.frob.com>
30236 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30237 * misc/madvise.c (madvise): Renamed to __madvise.
30238 Make madvise a weak alias.
30239 * include/sys/mman.h: Declare __madvise.
30240 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30241 * sysdeps/unix/syscalls.list
30242 (madvise): Make __madvise the strong name, and madvise a weak alias.
30243 * sysdeps/unix/sysv/linux/syscalls.list
30244 (madvise, mmap): Remove redundant entries.
30245 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30246 * malloc/malloc.c (mtrim): Likewise.
30247 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30249 2012-10-03 Roland McGrath <roland@hack.frob.com>
30251 * sysdeps/mach/hurd/dl-cache.c: File removed.
30252 * config.h.in (USE_LDCONFIG): New #undef.
30253 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30254 * configure: Regenerated.
30255 * elf/Makefile (dl-routines): Add dl-cache only under
30256 [$(use-ldconfig) = yes].
30257 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30258 cache on [USE_LDCONFIG].
30259 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30261 * elf/rtld.c (dl_main): Likewise.
30263 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30265 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30266 _SC_LEVEL4_CACHE_LINESIZE.
30268 2012-10-03 Roland McGrath <roland@hack.frob.com>
30270 * sysdeps/unix/bsd/confstr.h: File removed.
30272 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
30274 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30277 2012-10-02 Roland McGrath <roland@hack.frob.com>
30279 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30280 Make 'mapoff' field ElfW(Off) rather than off_t.
30282 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30284 * nscd/Makefile: Remove nscd-cflags and all its users.
30285 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30286 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30289 * malloc.c (malloc_printerr): Clarify error message.
30291 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30295 Set bit_FMA_Usable if FMA is supported.
30296 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30298 (bit_FMA4_Usable): Updated.
30299 (index_FMA_Usable): New macro.
30300 (CPUID_FMA): Likewise
30301 (HAS_FMA): Defined with bit_FMA_Usable.
30303 2012-10-01 Roland McGrath <roland@hack.frob.com>
30305 * bits/types.h (__swblk_t): Type removed.
30306 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30307 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30308 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30309 (__SWBLK_T_TYPE): Likewise.
30310 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30311 (__SWBLK_T_TYPE): Likewise.
30312 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30313 (__SWBLK_T_TYPE): Likewise.
30314 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30315 (__SWBLK_T_TYPE): Likewise.
30317 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30318 Honza Horak <hhorak@redhat.com>
30320 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30321 (xdr_mapname): Use YPMAXMAP as maxsize.
30322 (xdr_peername): Use YPMAXPEER as maxsize.
30323 (xdr_keydat): Use YPAXRECORD as maxsize.
30324 (xdr_valdat): Use YPMAXRECORD as maxsize.
30326 2012-10-01 Roland McGrath <roland@hack.frob.com>
30328 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30330 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30331 * csu/init-first.c: ... here.
30332 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30333 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30334 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30335 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30336 * sysdeps/i386/init-first.c: File removed.
30337 * sysdeps/sh/init-first.c: File removed.
30339 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30342 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30343 if x * y might underflow to zero and z is zero.
30344 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30345 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30346 * math/libm-test.inc (min_subnorm_value): New variable.
30347 (fma_test): Add more tests.
30348 (fma_test_towardzero): Likewise.
30349 (fma_test_downward): Likewise
30350 (fma_test_upward): Likewise.
30351 (initialize): Set min_subnorm_value.
30353 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30358 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30359 mode for addition resulting in exact zero.
30360 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30361 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30363 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30364 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30365 * math/libm-test.inc (fma_test): Add more tests.
30366 (fma_test_towardzero): New function.
30367 (fma_test_downward): Likewise.
30368 (fma_test_upward): Likewise.
30369 (main): Call the new functions.
30371 2012-09-28 David S. Miller <davem@davemloft.net>
30373 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30375 2012-09-28 Roland McGrath <roland@hack.frob.com>
30377 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30378 instead of SIGALRM.
30380 * sysdeps/gnu/_G_config.h: Moved to ...
30381 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30382 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30383 * sysdeps/generic/_G_config.h: ... here.
30385 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30387 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30389 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30390 Conditionalize target on [libnss_test1.so-version].
30392 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30394 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30395 (elfobjdir): Move out of conditionals.
30397 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30398 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30399 (__nss_lookup_function): Conditionalize label remove_from_tree on
30400 [!DO_STATIC_NSS || SHARED], matching its only use.
30402 2012-09-28 David S. Miller <davem@davemloft.net>
30404 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30405 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30407 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30409 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30410 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30411 when HWCAP_SPARC_CRYPTO is present.
30413 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30415 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30417 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30420 * stdio-common/vfprintf.c (process_string_arg): Revert
30423 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30425 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30427 * stdio-common/tst-sprintf.c: Include <locale.h>
30428 (main): Test sprintf's handling of incomplete multibyte
30431 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30433 * elf/dl-runtime.c (VERSYMIDX): Removed.
30434 * elf/dl-version.c (VERSYMIDX): Likewise.
30435 * elf/do-rel.h (VERSYMIDX): Likewise.
30436 (VALIDX): Likewise.
30437 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30438 * elf/rtld.c (VALIDX): Likewise.
30439 (ADDRIDX): Likewise.
30440 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30441 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30442 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30443 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30444 (VALIDX): Likewise.
30445 (ADDRIDX): Likewise.
30447 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30449 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30451 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30454 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30456 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30457 addresses are in the same scope as 192.0.2/24.
30458 * posix/gai.conf: Document new scope table defaults.
30460 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30463 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30464 for ftell. Compute offsets from write pointers instead.
30465 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30467 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30470 * libio/Makefile (tests): New test case tst-fseek.
30471 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30472 combination works in wide mode.
30473 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30474 state when the external buffer state changes.
30476 2012-09-27 David S. Miller <davem@davemloft.net>
30479 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30480 pass reloc->r_addend in as the 'high' argument to
30481 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30485 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30487 * rt/tst-aio2.c: Include <pthread.h>.
30488 * rt/tst-aio3.c: Likewise.
30490 2012-09-27 Steve Ellcey <sellcey@mips.com>
30492 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30494 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30496 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30497 contents on [SHARED].
30499 2012-09-26 Marek Polacek <polacek@redhat.com>
30503 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30504 for C++ and GCC <4.3 as well as for non GCC compilers.
30506 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30510 2012-09-25 Roland McGrath <roland@hack.frob.com>
30512 * Makefile.in (all, install): Declare with .PHONY.
30513 Reported by Michael Hope <michael.hope@linaro.org>.
30515 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30517 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30518 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30520 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30522 (sydep_routines): Add the new and the internal functions.
30523 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30524 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30526 (GLIBC_2.17): Add the new function.
30527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30528 (GLIBC_2.17): Likewise.
30529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30530 (GLIBC_2.17): Likewise.
30531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30532 (GLIBC_2.17): Likewise.
30533 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30535 2012-09-25 Alan Modra <amodra@gmail.com>
30537 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30538 Add release barrier before setting once_control to say
30539 initialisation is done. Add hints on lwarx. Use macro in
30541 (clear_once_control): Add release barrier.
30543 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30546 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30548 * math/s_clog10.c (__clog10): Likewise.
30549 * math/s_clog10f.c (__clog10f): Likewise.
30550 * math/s_clog10l.c (__clog10l): Likewise.
30551 * math/s_clogf.c (__clogf): Likewise.
30552 * math/s_clogl.c (__clogl): Likewise.
30553 * math/Makefile (libm-calls): Add x2y2m1.
30554 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30555 (__x2y2m1): Likewise.
30556 (__x2y2m1l): Likewise.
30557 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30558 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30559 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30560 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30561 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30562 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30563 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30564 * sysdeps/i386/fpu/libm-test-ulps: Update.
30565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30568 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30569 int as type of variable DEPTH.
30570 (glob): Use size_t instead of int as type of variables NEWCOUNT
30573 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30575 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30576 Add s_sincosf-sse2.
30577 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30578 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30579 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30580 macros for using routine as __sincosf_ia32.
30581 Use macro for function declaration and weak_alias.
30582 * sysdeps/i386/fpu/libm-test-ulps: Update.
30584 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30585 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30587 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30588 subnormal argument.
30589 * math/s_cexpf.c (__cexpf): Likewise.
30590 * math/s_csinf.c (__csinf): Likewise.
30591 * math/s_csinhf.c (__csinhf): Likewise.
30592 * math/s_ctanf.c (__ctanf): Likewise.
30593 * math/s_ctanhf.c (__ctanhf): Likewise.
30594 * math/s_ccosh.c (__ccoshf): Likewise.
30595 * math/s_cexp.c (__cexpl): Likewise.
30596 * math/s_csin.c (__csin): Likewise.
30597 * math/s_csinh.c (__csinh): Likewise.
30598 * math/s_ctan.c (__ctan): Likewise.
30599 * math/s_ctanh.c (ctanh): Likewise.
30600 * math/s_ccoshl.c (__ccoshl): Likewise.
30601 * math/s_cexpl.c (__cexpl): Likewise.
30602 * math/s_csinl.c (__csinl): Likewise.
30603 * math/s_csinhl.c (__csinhl): Likewise.
30604 * math/s_ctanl.c (__ctanl): Likewise.
30605 * math/s_ctanhl.c (__ctanhl): Likewise.
30607 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30609 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30610 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30611 (_IO_off_t): Define to __off_t, not _G_off_t.
30612 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30613 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30614 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30615 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30616 type of __dummy and __dummy2 fields.
30617 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30618 (_G_ssize_t): Likewise.
30619 (_G_off_t): Likewise.
30620 (_G_pid_t): Likewise.
30621 (_G_uid_t): Likewise.
30622 (_G_wchar_t): Likewise.
30623 (_G_wint_t): Likewise.
30624 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30625 (_G_ssize_t): Likewise.
30626 (_G_off_t): Likewise.
30627 (_G_pid_t): Likewise.
30628 (_G_uid_t): Likewise.
30629 (_G_wchar_t): Likewise.
30630 (_G_wint_t): Likewise.
30631 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30632 (_G_ssize_t): Likewise.
30633 (_G_off_t): Likewise.
30634 (_G_pid_t): Likewise.
30635 (_G_uid_t): Likewise.
30636 (_G_wchar_t): Likewise.
30637 (_G_wint_t): Likewise.
30639 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30641 * malloc/arena.c: Include malloc-sysdep.h.
30642 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30643 is sufficient to shrink the heap or an unmap is needed.
30644 * sysdeps/generic/malloc-sysdep.h: New file. Define
30645 new function check_may_shrink_heap.
30646 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30647 new function check_may_shrink_heap.
30649 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30651 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30654 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30656 * catgets/test-gencat.sh: Add "set -e".
30657 * elf/tst-pathopt.sh: Likewise.
30658 * grp/tst_fgetgrent.sh: Likewise.
30659 * iconvdata/run-iconv-test.sh: Likewise.
30660 * intl/tst-gettext.sh: Likewise.
30661 * intl/tst-gettext2.sh: Likewise.
30662 * intl/tst-gettext4.sh: Likewise.
30663 * intl/tst-gettext6.sh: Likewise.
30664 * intl/tst-translit.sh: Likewise.
30665 * io/ftwtest-sh: Likewise.
30666 * libio/test-freopen.sh: Likewise.
30667 * malloc/tst-mtrace.sh: Likewise.
30668 * posix/globtest.sh: Likewise.
30669 * posix/tst-getconf.sh: Likewise.
30670 * posix/wordexp-tst.sh: Likewise.
30671 * stdio-common/tst-printf.sh: Likewise.
30672 * stdio-common/tst-unbputc.sh: Likewise.
30673 * stdlib/tst-fmtmsg.sh: Likewise.
30674 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30675 * catgets/Makefile: Do not specify -e option when running
30676 testsuite shell scripts.
30677 * elf/Makefile: Likewise.
30678 * grp/Makefile: Likewise.
30679 * iconvdata/Makefile: Likewise.
30680 * intl/Makefile: Likewise.
30681 * io/Makefile: Likewise.
30682 * libio/Makefile: Likewise.
30683 * malloc/Makefile: Likewise.
30684 * posix/Makefile: Likewise.
30685 * stdio-common/Makefile: Likewise.
30686 * stdlib/Makefile: Likewise.
30687 * sysdeps/x86_64/Makefile: Likewise.
30689 * io/ftwtest-sh: Add copyright header.
30690 * posix/globtest.sh: Likewise.
30691 * posix/tst-getconf.sh: Likewise.
30692 * posix/wordexp-tst.sh: Likewise.
30693 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30695 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30698 * Makeconfig (+link): Defined as $(+link-static) if
30699 $(build-shared) isn't yes.
30700 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30702 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30704 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30707 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30708 new chunk size with MALLOC_ALIGN_MASK.
30710 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30713 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30715 (__printf_fphex): Determine rounding using get_rounding_mode and
30717 * stdio-common/tst-printf-round.c (struct hex_test): New
30719 (hex_tests): New variable.
30720 (test_hex_in_one_mode): New function.
30721 (do_test): Also run tests for hex float output.
30723 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30725 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30726 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30727 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30728 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30729 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30730 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30731 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30732 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30734 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30736 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30737 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30738 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30739 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30741 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30744 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30746 * elf/tst-rtld-load-self.sh: New test.
30747 * elf/Makefile: Run it.
30749 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30751 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30752 (tst-writev-ENV): Remove.
30753 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30755 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30757 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30759 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30761 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30763 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30765 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30766 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30767 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30770 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30773 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30774 * config.make.in (have-cpp-asm-debuginfo): Removed.
30775 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30776 * configure: Regenerated.
30778 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30781 * stdio-common/printf_fp.c: Include <stdbool.h> and
30783 (___printf_fp): Determine rounding using get_rounding_mode and
30785 * stdio-common/tst-printf-round.c: New file.
30786 * stdio-common/Makefile (tests): Add tst-printf-round.
30787 (link-libm): New variable.
30788 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30790 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30793 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30794 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30796 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30799 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30801 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30802 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30803 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30804 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30806 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30809 * include/rounding-mode.h: New file.
30810 * sysdeps/generic/get-rounding-mode.h: Likewise.
30811 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30812 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30813 (MAX_VALUE): New macro.
30814 (MIN_VALUE): Likewise.
30815 (overflow_value): New function.
30816 (underflow_value): Likewise.
30817 (round_and_return): Use overflow_value and underflow_value to
30818 determine return values in overflow and underflow cases. Use
30819 round_away to determine rounding depending on rounding mode.
30820 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30821 determine return values in overflow and underflow cases.
30822 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30823 (struct test_results): New structure.
30824 (struct test): Use struct test_results to store expected results
30825 for all rounding modes.
30826 (TEST): Include expected results for all rounding modes.
30827 (test_in_one_mode): New function.
30828 (do_test): Use test_in_one_mode to compute and check results.
30829 Check results for all rounding modes.
30830 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30833 2012-12-09 Allan McRae <allan@archlinux.org>
30835 * sysdeps/i386/fpu/libm-test-ulps: Update
30837 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30839 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30840 (_G_int32_t): Likewise.
30841 (_G_uint16_t): Likewise.
30842 (_G_uint32_t): Likewise.
30843 (_G_HAVE_BOOL): Likewise.
30844 (_G_HAVE_ATEXIT): Likewise.
30845 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30846 (_G_HAVE_IO_FILE_OPEN): Likewise.
30847 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30848 (_G_int32_t): Likewise.
30849 (_G_uint16_t): Likewise.
30850 (_G_uint32_t): Likewise.
30851 (_G_HAVE_BOOL): Likewise.
30852 (_G_HAVE_ATEXIT): Likewise.
30853 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30854 (_G_HAVE_IO_FILE_OPEN): Likewise.
30855 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30856 (_G_int32_t): Likewise.
30857 (_G_uint16_t): Likewise.
30858 (_G_uint32_t): Likewise.
30859 (_G_HAVE_BOOL): Likewise.
30860 (_G_HAVE_ATEXIT): Likewise.
30861 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30862 (_G_HAVE_IO_FILE_OPEN): Likewise.
30864 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30866 * csu/libc-tls.c: Update copyright years.
30868 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30870 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30871 [!_G_USING_THUNKS]: Remove conditional code.
30872 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30873 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30875 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30876 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30877 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30878 (_G_VTABLE_LABEL_PREFIX): Likewise.
30879 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30880 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30881 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30882 (_G_VTABLE_LABEL_PREFIX): Likewise.
30883 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30884 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30885 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30886 (_G_VTABLE_LABEL_PREFIX): Likewise.
30887 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30889 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30891 * libio/Makefile: Include ../Makeconfig before tests.
30892 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30893 only if $(build-shared) is yes.
30895 * iconv/gconv_db.c: Update copyright years.
30897 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30899 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30900 unwind info if defined PIC. Fix special cases description.
30901 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30903 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30905 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30907 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30909 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30911 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30914 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30915 (LDLIBS-tst-chk4): This.
30916 (LDFLAGS-tst-chk5): Renamed to ...
30917 (LDLIBS-tst-chk5): This.
30918 (LDFLAGS-tst-chk6): Renamed to ...
30919 (LDLIBS-tst-chk6): This.
30920 (LDFLAGS-tst-lfschk4): Renamed to ...
30921 (LDLIBS-tst-lfschk4): This.
30922 (LDFLAGS-tst-lfschk5): Renamed to ...
30923 (LDLIBS-tst-lfschk5): This.
30924 (LDFLAGS-tst-lfschk6): Renamed to ...
30925 (LDLIBS-tst-lfschk6): This.
30927 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30928 on $(common-objpfx)soversions.mk.
30930 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30933 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30936 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30938 * malloc/arena.c (arena_get_retry): New function that gets
30939 another arena for the caller to try its request on.
30940 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30941 current arena cannot fulfill the request.
30942 (__libc_memalign): Likewise.
30943 (__libc_memalign): Likewise.
30944 (__libc_pvalloc): Likewise.
30945 (__libc_calloc): Likewise.
30947 2012-09-05 John Tobey <john.tobey@gmail.com>
30950 * manual/arith.texi (Operations on Complex): Fix description
30951 of carg branch cut.
30953 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30956 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30960 * manual/memory.texi (Memory): Make order of menu items match
30963 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30965 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30966 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30967 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30969 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30971 * csu/libc-tls.c (static_dtv): Renamed to ...
30972 (_dl_static_dtv): This. Make it global.
30973 (_dl_initial_dtv): Removed.
30974 (__libc_setup_tls): Updated.
30975 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30976 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30979 2012-09-06 Petr Machata <pmachata@redhat.com>
30981 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30982 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30983 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30984 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30986 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30989 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30990 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30993 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30996 * Makeconfig (link-static-before-libc): Replace $(+prector)
30998 (link-static-after-libc): Replace $(+postctor) with
31000 (link-bounded): Replace $(+prector)/$(+postctor) with
31001 $(+prectorT)/$(+postctorT).
31002 (+prectorT): New macro.
31003 (+postctorT): Likewise.
31005 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31007 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31008 (round_str): Handle values above the maximum for IBM long double
31010 * stdlib/tst-strtod-round.c (tests): Regenerated.
31012 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31014 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31016 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31017 zarch_nohighgprs around the zarch optimized routines.
31018 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31019 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31020 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31023 2012-09-05 David S. Miller <davem@davemloft.net>
31025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31027 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31028 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31029 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31030 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31033 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31035 * malloc/arena.c: Fold copyright years.
31036 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31038 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31040 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31042 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31044 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31046 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31048 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31049 change internal state upon failure.
31051 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31053 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31054 * malloc/memusage.c (mmap): Likewise.
31055 (mmap64, mremap): Likewise. Adjust name in comment.
31057 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31059 * libio/fileops.c: Fix typos in comments.
31060 * libio/oldfileops.c: Likewise.
31061 * libio/wfileops.c: Likewise.
31063 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31066 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31067 (tst-malloc-usable-ENV): Set environment for test case.
31068 * malloc/hooks.c (malloc_check_get_size): New function to get
31070 * malloc/malloc.c (musable): Use malloc_check_get_size.
31071 * malloc/tst-malloc-usable.c: New test case.
31073 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31075 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31077 2012-09-05 Allan McRae <allan@archlinux.org>
31080 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31081 determine header location.
31082 * configure: Regenerated.
31084 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31086 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31088 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31089 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31091 (test): Regenerate.
31093 2012-09-04 David S. Miller <davem@davemloft.net>
31095 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31096 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31097 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31099 2012-09-04 Florian Weimer <fweimer@redhat.com>
31101 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31104 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31106 2012-09-04 Joseph Myers <joseph@codesourcery.com>
31109 * libio/iogetdelim.c: Include <limits.h>.
31110 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31111 + len + 1 would overflow.
31113 2012-09-03 Andreas Jaeger <aj@suse.de>
31115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31116 * sysdeps/i386/fpu/libm-test-ulps: Update.
31118 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31120 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31121 Add s_sinf-sse2, s_conf-sse2.
31123 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31124 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31125 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31126 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31128 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31129 for using routine as __sinf_ia32.
31130 Use macro for function declaration and weak_alias.
31131 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31132 for using routine as __cosf_ia32.
31133 Use macro for function declaration and weak_alias.
31135 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31136 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31138 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31139 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31140 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31142 * math/libm-test.inc (cos_test): Add more test cases.
31143 (sin_test): Likewise.
31144 (sincos_test): Likewise.
31146 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31148 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31149 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31151 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31153 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31156 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31157 first element of the GOT.
31158 (elf_machine_load_address): Return the difference between
31159 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31161 2012-09-01 Allan McRae <allan@archlinux.org>
31164 * configure.in (AWK): Require gawk version 3.0 or later.
31165 * configure: Regenerated.
31167 2012-09-01 Joseph Myers <joseph@codesourcery.com>
31169 * sysdeps/unix/sysv/linux/kernel-features.h
31170 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31171 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31172 [__NR_clock_getres]: Make code unconditional.
31173 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31174 (clock_getcpuclockid): Remove code left unreachable by removal of
31176 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31177 code unconditional.
31178 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31179 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31180 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31181 Make code unconditional.
31182 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31183 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31184 * sysdeps/unix/sysv/linux/clock_settime.c
31185 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31187 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31188 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31190 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31193 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31194 scripts/test-installation.pl.
31196 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31197 and $ld_so_version if it is set.
31199 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31202 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31203 failure if reading from procfs failed.
31204 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31206 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31208 * sysdeps/unix/sysv/linux/kernel-features.h
31209 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31210 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31211 Remove conditional code.
31212 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31213 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31214 Remove conditional code.
31215 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31216 * sysdeps/unix/sysv/linux/i386/fxstat.c
31217 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31218 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31219 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31220 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31221 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31222 * sysdeps/unix/sysv/linux/i386/lxstat.c
31223 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31224 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31225 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31226 Remove conditional code.
31227 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31228 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31229 Remove conditional code.
31230 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31231 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31232 <kernel-features.h>.
31233 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31235 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31236 Remove conditional code.
31237 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31238 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31239 Remove conditional.
31241 2012-08-27 Mike Frysinger <vapier@gentoo.org>
31244 * NEWS: Add fixed bug number.
31246 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31249 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31250 underflowing exponent in case of negative sign.
31251 * stdlib/tst-strtod-round-data: Add more tests.
31252 * stdlib/tst-strtod-round.c (tests): Regenerated.
31255 * stdlib/strtod_l.c (NDIG): Remove.
31256 (HEXNDIG): Likewise.
31257 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31258 smallest representable value.
31259 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31260 lie within an exact representation of 1/2 ulp of the result.
31261 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31263 (TENS_P9_IDX): Define unconditionally.
31264 (TENS_P9_SIZE): Likewise.
31265 (TENS_P10_IDX): Likewise.
31266 (TENS_P10_SIZE): Likewise.
31267 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31268 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31269 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31270 entries for 10^2^13 and 10^2^14.
31271 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31272 (TENS_P13_IDX): Define.
31273 (TENS_P13_SIZE): Likewise.
31274 (TENS_P14_IDX): Likewise.
31275 (TENS_P14_SIZE): Likewise.
31276 (_fpioconst_pow10): Change array size to
31277 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31279 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31280 1024]: Add entries for 10^2^13 and 10^2^14.
31281 [LAST_POW10 > _LAST_POW10]: Remove #error.
31282 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31283 (_fpioconst_pow10): Change array size to
31284 FPIOCONST_POW10_ARRAY_SIZE.
31285 * stdlib/gen-fpioconst.c: New file.
31286 * stdlib/gen-tst-strtod-round.c: Likewise.
31287 * stdlib/tst-strtod-round-data: Likewise.
31288 * stdlib/tst-strtod-round.c: Likewise.
31289 * stdlib/Makefile (tests): Add tst-strtod-round.
31292 * stdlib/strtod_l.c: Include <stdint.h>.
31293 (NDEBUG): Do not define.
31294 (round_and_return): Change EXPONENT parameter to type intmax_t.
31295 Rearrange calculations to avoid internal overflow possibilities.
31296 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31297 Rearrange calculations to avoid internal overflow possibilities.
31298 Assert that number fits inside MPNSIZE limbs.
31299 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31300 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31301 calculations and add assertions to avoid internal overflow
31302 possibilities. Add casts to avoid signed/unsigned operations.
31303 * stdlib/tst-strtod-overflow.c: New file.
31304 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31306 2012-08-25 Marek Polacek <polacek@redhat.com>
31308 * time/time.h: Fix some typos in comments.
31310 2012-08-23 Roland McGrath <roland@hack.frob.com>
31312 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31313 * posix/tst-rfc3484-2.c: Likewise.
31314 * posix/tst-rfc3484-3.c: Likewise.
31316 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31318 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31319 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31321 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31323 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31324 #include of fxstatat64.c.
31326 2012-08-22 Roland McGrath <roland@hack.frob.com>
31328 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31329 * shadow/getspent_r.c: Likewise.
31330 * shadow/getspnam.c: Likewise.
31331 * shadow/getspnam_r.c: Likewise.
31332 * gshadow/getsgent.c: Likewise.
31333 * gshadow/getsgent_r.c: Likewise.
31334 * gshadow/getsgnam.c: Likewise.
31335 * gshadow/getsgnam_r.c: Likewise.
31336 * inet/getnetbyad.c: Likewise.
31337 * inet/getnetbyad_r.c: Likewise.
31338 * inet/getnetbynm.c: Likewise.
31339 * inet/getnetbynm_r.c: Likewise.
31340 * inet/getnetent.c: Likewise.
31341 * inet/getnetent_r.c: Likewise.
31342 * inet/getproto.c: Likewise.
31343 * inet/getproto_r.c: Likewise.
31344 * inet/getprtent.c: Likewise.
31345 * inet/getprtent_r.c: Likewise.
31346 * inet/getprtname.c: Likewise.
31347 * inet/getprtname_r.c: Likewise.
31348 * inet/getrpcbyname.c: Likewise.
31349 * inet/getrpcbyname_r.c: Likewise.
31350 * inet/getrpcbynumber.c: Likewise.
31351 * inet/getrpcbynumber_r.c: Likewise.
31352 * inet/getrpcent.c: Likewise.
31353 * inet/getrpcent_r.c: Likewise.
31354 * inet/getaliasent.c: Likewise.
31355 * inet/getaliasent_r.c: Likewise.
31356 * inet/getaliasname.c: Likewise.
31357 * inet/getaliasname_r.c: Likewise.
31358 * nscd/getgrgid_r.c: Likewise.
31359 * nscd/getgrnam_r.c: Likewise.
31360 * nscd/gethstbyad_r.c: Likewise.
31361 * nscd/gethstbynm3_r.c: Likewise.
31362 * nscd/getpwnam_r.c: Likewise.
31363 * nscd/getpwuid_r.c: Likewise.
31364 * nscd/getsrvbynm_r.c: Likewise.
31365 * nscd/getsrvbypt_r.c: Likewise.
31366 * nscd/gai.c: Likewise.
31368 * configure.in (build_nscd): New substituted variable, set
31369 by --disable-build-nscd and defaults to $use_nscd.
31370 * configure: Regenerated.
31371 * config.make.in (build-nscd): New substituted variable.
31372 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31373 Change conditional to require [$(build-nscd) = yes] as well.
31374 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31377 * configure.in (use_nscd): New substituted variable, set by
31378 --disable-nscd. If enabled, define USE_NSCD.
31379 * configure: Regenerated.
31380 * config.h.in: Add USE_NSCD.
31381 * config.make.in (use-nscd): New substituted variable.
31382 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31383 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31384 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31385 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31386 (CFLAGS-getgrnam_r.c): Likewise.
31387 (CFLAGS-initgroups.c): Likewise.
31388 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31389 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31391 * inet/getnetgrent_r.c
31392 (nscd_setnetgrent): New function, broken out of ...
31393 (setnetgrent): ... here. Call it.
31394 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31395 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31396 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31397 * nscd/Makefile (routines, aux): Move definitions after include of
31398 Makeconfig. Conditionalize on [$(use-nscd) != no].
31399 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31400 Conditionalize on [USE_NSCD].
31401 (is_nscd, nscd_init_cb): Likewise.
31402 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31403 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31404 * nss/nss_db/db-init.c: Likewise.
31405 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31407 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31408 (make_request): Use it.
31409 (cache_valid_p): New function.
31410 (__check_pf): Use it.
31411 * NEWS: Add item for --disable-nscd.
31413 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31415 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31416 to support sed >= 4.2.1-20-ga9bf076.
31417 * configure: Regenerated.
31419 2012-08-22 Roland McGrath <roland@hack.frob.com>
31421 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31422 Conditionalize whole body on [IREL].
31424 2012-08-22 Jeff Law <law@redhat.com>
31427 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31428 if the family is PF_UNSPEC.
31430 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31432 * Makerules (lib-version): Rename from V.
31433 (install-lib-nosubdir): Change V to lib-version.
31435 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31438 * powerpc32/power6/wcschr.c: New file.
31439 * powerpc32/power6/wcscpy.c: New file.
31440 * powerpc32/power6/wcsrchr.c: New file.
31441 * powerpc64/power6/wcschr.c: New file.
31442 * powerpc64/power6/wcscpy.c: New file.
31443 * powerpc64/power6/wcsrchr.c: New file.
31445 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31447 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31448 (two_way_short_needle): Use it.
31449 * string/strstr.c (AVAILABLE1_USES_J): Define.
31450 * string/strcasestr.c: Likewise.
31452 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31454 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31457 * NEWS: Add an entry.
31458 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31459 define their defaults.
31460 (two_way_short_needle): Detect end-of-string on-the-fly.
31461 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31462 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31463 * string/bug-strcasestr1.c: New test.
31464 * string/Makefile: Run it.
31466 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31469 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31470 the first character.
31472 2012-08-21 Roland McGrath <roland@hack.frob.com>
31474 * csu/elf-init.c (__libc_csu_irel): Function removed.
31475 * csu/libc-start.c (apply_irel): New function.
31476 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31478 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31480 * sysdeps/unix/sysv/linux/kernel-features.h
31481 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31482 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31483 <kernel-features.h>.
31484 [__NR_fadvise64_64]: Make code unconditional.
31485 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31486 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31487 !__NR_fadvise64_64)]: Likewise.
31488 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31489 !__NR_fadvise64_64))]: Likewise.
31490 [__NR_fadvise64]: Make code unconditional.
31491 [!__NR_fadvise64]: Remove conditional code.
31492 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31493 <kernel-features.h>.
31494 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31496 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31499 not include <kernel-features.h>.
31500 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31502 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31504 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31505 include <kernel-features.h>.
31506 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31508 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31511 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31513 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31514 slight instruction rearrangements per scrollpipe analysis.
31515 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31517 2012-08-20 Roland McGrath <roland@hack.frob.com>
31519 * manual/syslog.texi (syslog; vsyslog, closelog):
31520 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31521 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31523 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31524 DSOCAPS to match condition on defining it.
31526 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31528 * sysdeps/unix/sysv/linux/kernel-features.h
31529 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31531 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31532 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31534 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31535 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31537 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31538 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31540 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31541 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31543 * sysdeps/unix/sysv/linux/kernel-features.h
31544 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31545 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31547 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31548 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31549 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31550 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31551 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31552 Make code unconditional.
31553 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31554 (__mmap64) [!__NR_mmap2]: Likewise.
31555 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31556 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31557 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31558 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31559 [__NR_mmap2]: Make code unconditional.
31560 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31561 (__mmap64) [!__NR_mmap2]: Likewise.
31563 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31565 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31567 2012-08-18 Andreas Jaeger <aj@suse.de>
31569 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31571 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31573 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31574 * include/unistd.h (__have_sock_cloexec): Likewise.
31575 (__have_pipe2): Likewise.
31576 (__have_dup3): Likewise.
31578 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31581 * include/unistd.h (__have_pipe2): Change define into an extern int.
31582 (__have_dup3): Likewise.
31583 * socket/have_sock_cloexec.c: Include fcntl.h.
31584 (__have_pipe2): New variable.
31585 (__have_dup3): Likewise.
31587 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31589 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31591 2012-08-17 Marek Polacek <polacek@redhat.com>
31593 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31594 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31596 2012-08-17 Roland McGrath <roland@hack.frob.com>
31598 * configure.in: Add AC_SUBST for sysheaders.
31599 * configure: Regenerated.
31600 * config.make.in (sysheaders): New substituted variable.
31602 * sysdeps/unix/mkfifo.c: Moved ...
31603 * sysdeps/posix/mkfifo.c: ... here.
31604 * sysdeps/unix/mkfifoat.c: Moved ...
31605 * sysdeps/posix/mkfifoat.c: ... here.
31607 * sysdeps/unix/utime.c: Moved ...
31608 * sysdeps/posix/utime.c: ... here.
31610 * sysdeps/unix/time.c: Moved ...
31611 * sysdeps/posix/time.c: ... here.
31612 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31613 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31615 * sysdeps/unix/nice.c: Moved ...
31616 * sysdeps/posix/nice.c: ... here.
31618 * sysdeps/unix/alarm.c: Moved ...
31619 * sysdeps/posix/alarm.c: ... here.
31621 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31623 2012-08-17 Jeff Law <law@redhat.com>
31625 * intl/Makefile (codeset_mo): New variable.
31626 ($(codeset_mo)): New target.
31627 (tst-codeset.out): Depend on that. Remove explicit rule.
31628 (tst-gettext3.out, tst-gettext5.out): Likewise.
31629 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31630 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31631 * intl/tst-codeset.sh: Remove.
31632 * intl/tst-gettext3.sh: Likewise.
31633 * intl/tst-gettext5.sh: Likewise.
31635 2012-08-17 Roland McGrath <roland@hack.frob.com>
31637 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31638 * sysdeps/unix/syscalls.list: ... here.
31640 * sysdeps/posix/getaddrinfo.c
31641 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31642 (gaiconf_init, gaiconf_reload): Use them.
31643 [!_STATBUF_ST_NSEC]
31644 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31645 Define using time_t rather than struct timespec.
31647 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31648 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31650 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31652 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31653 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31656 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31657 __libc_cleanup_push argument.
31659 * bits/param.h: New file.
31660 * misc/sys/param.h: New file.
31661 * include/sys/param.h: New file.
31662 * misc/Makefile (headers): Add bits/param.h.
31663 * sysdeps/generic/sys/param.h: File removed.
31664 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31665 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31666 * sysdeps/mach/hurd/bits/param.h: New file.
31667 * sysdeps/mach/hurd/sys/param.h: File removed.
31669 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31672 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31674 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31675 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31678 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31679 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31680 rather than -D_IO_MTSAFE_IO conditionally.
31681 * stdio-common/Makefile (CPPFLAGS): Likewise.
31682 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31683 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31684 Use $(libio-mtsafe).
31685 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31686 of -D_IO_MTSAFE_IO.
31687 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31688 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31689 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31690 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31691 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31692 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31693 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31694 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31695 (CFLAGS-fread_u_chk.c): Likewise.
31696 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31697 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31698 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31699 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31700 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31701 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31702 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31703 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31704 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31706 * libio/Makefile: Test [$(libc-reentrant) = yes]
31707 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31710 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31711 * sysdeps/pthread/configure: File removed.
31712 * sysdeps/pthread/Makeconfig: New file.
31713 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31714 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31716 2012-08-16 Gary Benson <gbenson@redhat.com>
31718 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31719 unmapping the first object in a namespace.
31721 2012-08-16 Roland McGrath <roland@hack.frob.com>
31723 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31724 (__internal_setnetgrent): ... this. Add internal_function to
31725 definition. Add libc_hidden_def.
31726 (setnetgrent): Update caller.
31727 (internal_endnetgrent): Renamed to ...
31728 (__internal_endnetgrent): ... this. Add internal_function to
31729 definition. Add libc_hidden_def.
31730 (endnetgrent): Update caller.
31731 (internal_getnetgrent_r): Renamed to ...
31732 (__internal_getnetgrent_r): ... this. Add internal_function to
31733 definition. Add libc_hidden_def.
31734 (__getnetgrent_r): Update caller.
31735 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31737 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31739 * stdlib/longlong.h: Update from GCC.
31741 2012-08-16 Roland McGrath <roland@hack.frob.com>
31743 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31744 on _QL, which is set by umul_ppmm but never used.
31745 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31746 variables, which are set by GMP macros but never used.
31747 * stdio-common/_itowa.c (_itowa): Likewise.
31748 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31749 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31751 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31753 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31754 struct La_sh_regs is not constant.
31755 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31756 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31757 and struct La_sparc64_regs are not constant.
31759 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31761 * sysdeps/unix/sysv/linux/kernel-features.h
31762 (__ASSUME_POSIX_TIMERS): Remove.
31763 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31764 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31765 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31766 Make code unconditional.
31767 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31768 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31769 Make code unconditional.
31770 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31771 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31772 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31773 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31774 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31775 Make code unconditional.
31776 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31777 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31778 (__libc_missing_posix_timers): Remove.
31780 2012-08-15 Roland McGrath <roland@hack.frob.com>
31782 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31783 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31785 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31787 * elf/dl-sym.c: Include <stdlib.h>.
31789 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31790 constants, which avoids warnings in 32-bit builds.
31792 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31793 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31795 * misc/lseek.c: File moved to ...
31796 * io/lseek.c: ... here.
31798 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31800 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31801 shifting LEN more than 31 bits at once.
31803 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31806 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31807 segmentation fault for a case of two empty input strings.
31808 * string/test-strncasecmp.c (check1): Renamed to...
31809 (bz12205): ...this.
31810 (bz14195): Add new testcase for two empty input strings and N > 0.
31811 (test_main): Call new testcase, adapt for renamed function.
31813 2012-08-15 Andreas Jaeger <aj@suse.de>
31816 * crypt/md5test2.c: New test, based on test supplied by Serge
31817 Belyshev <belyshev@depni.sinp.msu.ru>.
31818 * crypt/Makefile (xtests): Add md5test-giant..
31819 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31821 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31824 * crypt/md5.c (md5_process_block): Don't assume the buffer
31825 length is less than 2**32.
31826 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31827 length is less than 2**64.
31829 2012-08-15 Roland McGrath <roland@hack.frob.com>
31831 * string/str-two-way.h: Include <sys/param.h>.
31832 (MAX): Macro removed.
31834 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31835 Move #define and #undef of memmove to just before and after
31836 including <string.h>.
31838 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31839 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31840 and after including <string.h>. Move declarations of
31841 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31842 to before #include "string/memmove.c".
31844 * include/dirent.h: Declare __getdirentries.
31846 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31847 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31849 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31851 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31852 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31853 * sysdeps/i386/configure: Regenerated.
31854 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31855 STABS_CURRENT_FILE, and STABS_FUN.
31856 (END): Remove call to STABS_FUN_END.
31857 (STABS_CURRENT_FILE1): Delete.
31858 (STABS_CURRENT_FILE): Likewise.
31859 (STABS_FUN): Likewise.
31860 (STABS_FUN_END): Likewise.
31861 (STABS_FUN2): Likewise.
31862 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31863 * sysdeps/x86_64/configure: Regenerated.
31865 2012-08-14 Roland McGrath <roland@hack.frob.com>
31867 * elf/dl-open.c: Include <atomic.h>.
31868 * elf/dl-lookup.c: Likewise.
31870 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31872 * sysdeps/unix/sysv/linux/kernel-features.h
31873 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31874 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31876 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31878 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31879 condition on __ASSUME_CLONE_THREAD_FLAGS.
31881 2012-08-14 Andreas Jaeger <aj@suse.de>
31883 * sysdeps/i386/fpu/libm-test-ulps: Update.
31885 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31887 * include/atomic.h (atomic_exchange_and_add): Split into ...
31888 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31891 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31895 2012-08-13 Jeff Law <law@redhat.com>
31897 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31898 null byte in the output string.
31900 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31902 * sysdeps/unix/sysv/linux/kernel-features.h
31903 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31904 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31905 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31906 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31907 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31908 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31909 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31911 2012-08-09 Jeff Law <law@redhat.com>
31914 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31915 When avoid_arena is set, don't retry in the that arena. Pick the
31916 next one, whatever it might be.
31917 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31918 (arena_lock): Pass in new parameter to arena_get2.
31919 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31921 (__libc_malloc): Unify retrying after main arena failure with
31922 __libc_memalign version.
31923 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31925 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31928 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31929 to __redirect_strstr.
31930 (__strstr_sse42): Use typeof __redirect_strstr.
31931 (__strstr_ia32): Likewise.
31932 (__libc_strstr): New prototype.
31933 (strstr): Renamed to ...
31934 (__libc_strstr): This.
31935 (strstr): New strong alias of __libc_strstr.
31936 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31937 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31940 (__libc_time): New prototype.
31941 (time_ifunc): Replace time with __libc_time.
31942 (time): New strong alias and hidden definition of __libc_time.
31943 (__GI_time): Remove strong alias.
31944 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31945 Include <stddef.h>.
31946 (memmove): Redefined to __redirect_memmove.
31947 (__memmove_sse2): Use typeof __redirect_memmove.
31948 (__memmove_ssse3): Likewise.
31949 (__memmove_ssse3_back): Likewise.
31950 (__libc_memmove): New prototype.
31951 (memmove): Renamed to ...
31952 (__libc_memmove): This.
31953 (memmove): New strong alias of __libc_memmove.
31955 2012-08-08 Mark Salter <msalter@redhat.com>
31958 (R_MN10300_TLS_GD): Define.
31959 (R_MN10300_TLS_LD): Likewise.
31960 (R_MN10300_TLS_LDO): Likewise.
31961 (R_MN10300_TLS_GOTIE): Likewise.
31962 (R_MN10300_TLS_IE): Likewise.
31963 (R_MN10300_TLS_LE): Likewise.
31964 (R_MN10300_TLS_DTPMOD): Likewise.
31965 (R_MN10300_TLS_DTPOFF): Likewise.
31966 (R_MN10300_TLS_TPOFF): Likewise.
31967 (R_MN10300_SYM_DIFF): Likewise.
31968 (R_MN10300_ALIGN): Likewise.
31969 (R_MN10300_NUM): Update.
31971 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31973 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31976 2012-08-08 Roland McGrath <roland@hack.frob.com>
31978 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31980 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31981 sysdeps/unix -> sysdeps/posix move.
31982 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31984 2012-08-07 Allan McRae <allan@archlinux.org>
31987 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31988 (SUNOS_CPP): Likewise.
31989 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31991 (open_input): Call CPP using execvp.
31993 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31995 * sysdeps/unix/sysv/linux/kernel-features.h
31996 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31997 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31998 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31999 (__ASSUME_WAITID_SYSCALL): Likewise.
32000 * sysdeps/unix/sysv/linux/dl-execstack.c
32001 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32002 code unconditional.
32003 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32005 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32006 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32007 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32009 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32011 [__ASSUME_WAITID_SYSCALL]: Likewise.
32012 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32014 2012-08-07 Roland McGrath <roland@hack.frob.com>
32016 * sysdeps/unix/closedir.c: Renamed to ...
32017 * sysdeps/posix/closedir.c: ... here.
32018 * sysdeps/unix/dirfd.c: Renamed to ...
32019 * sysdeps/posix/dirfd.c: ... here.
32020 * sysdeps/unix/dirstream.h: Renamed to ...
32021 * sysdeps/posix/dirstream.h: ... here.
32022 * sysdeps/unix/fdopendir.c: Renamed to ...
32023 * sysdeps/posix/fdopendir.c: ... here.
32024 * sysdeps/unix/opendir.c: Renamed to ...
32025 * sysdeps/posix/opendir.c: ... here.
32026 * sysdeps/unix/readdir.c: Renamed to ...
32027 * sysdeps/posix/readdir.c: ... here.
32028 * sysdeps/unix/readdir_r.c: Renamed to ...
32029 * sysdeps/posix/readdir_r.c: ... here.
32030 * sysdeps/unix/rewinddir.c: Renamed to ...
32031 * sysdeps/posix/rewinddir.c: ... here.
32032 * sysdeps/unix/seekdir.c: Renamed to ...
32033 * sysdeps/posix/seekdir.c: ... here.
32034 * sysdeps/unix/telldir.c: Renamed to ...
32035 * sysdeps/posix/telldir.c: ... here.
32036 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32037 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32038 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32039 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32041 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32042 * bits/fcntl.h: ... here.
32044 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32046 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32047 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32048 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32049 (struct flock): Move l_start, l_len to the beginning.
32050 Use __pid_t for l_pid.
32051 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32052 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32053 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32054 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32055 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32056 [__USE_LARGEFILE64] (struct flock64): New type.
32057 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32059 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32060 * bits/dirent.h: ... here.
32062 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32063 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32065 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32067 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32068 Change from 2.6.0 to 2.6.16.
32069 * sysdeps/unix/sysv/linux/configure: Regenerated.
32070 * sysdeps/unix/sysv/linux/kernel-features.h
32071 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32072 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32074 (__ASSUME_UTIMES): Likewise.
32075 (__ASSUME_CLONE_STOPPED): Remove.
32076 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32077 architectures, not kernel version.
32078 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32079 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32080 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32081 (__ASSUME_WAITID_SYSCALL): Likewise.
32082 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32083 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32084 * README: State 2.6.16 as minimum Linux kernel version. Do not
32085 refer to older versions.
32087 2012-08-06 Roland McGrath <roland@hack.frob.com>
32089 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32090 Define alphasort64 as an alias.
32091 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32092 Define versionsort64 as an alias.
32093 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32094 Define scandir64 as an alias.
32095 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32096 Define scandirat64 as an alias.
32097 * dirent/alphasort64.c (alphasort64):
32098 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32099 * dirent/versionsort64.c: Likewise.
32100 * dirent/scandir64.c: Likewise.
32101 * dirent/scandirat64.c: Likewise.
32102 * sysdeps/wordsize-64/alphasort.c: File removed.
32103 * sysdeps/wordsize-64/alphasort64.c: File removed.
32104 * sysdeps/wordsize-64/scandir.c: File removed.
32105 * sysdeps/wordsize-64/scandir64.c: File removed.
32106 * sysdeps/wordsize-64/scandirat.c: File removed.
32107 * sysdeps/wordsize-64/scandirat64.c: File removed.
32108 * sysdeps/wordsize-64/versionsort.c: File removed.
32109 * sysdeps/wordsize-64/versionsort64.c: File removed.
32110 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32111 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32112 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32113 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32114 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32115 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32116 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32117 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32119 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32120 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32121 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32122 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32123 [defined __arch64__ || defined __sparcv9]
32124 (__INO_T_MATCHES_INO64_T): New macro.
32125 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32126 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32127 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32128 * sysdeps/unix/sysv/linux/bits/dirent.h
32129 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32130 (_DIRENT_MATCHES_DIRENT64): New macro.
32132 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32133 Define lockf64 as an alias.
32134 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32135 Define fseeko64 as an alias.
32136 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32137 Define ftello64 as an alias.
32138 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32139 Define _IO_fgetpos64 and fgetpos64 as aliases.
32140 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32141 Define _IO_fsetpos64 and fsetpos64 as aliases.
32142 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32143 Conditionalize body on this.
32144 * libio/fseeko64.c: Likewise.
32145 * libio/ftello64.c: Likewise.
32146 * libio/iofgetpos64.c: Likewise.
32147 * libio/iofsetpos64.c: Likewise.
32148 * sysdeps/wordsize-64/lockf.c: File removed.
32149 * sysdeps/wordsize-64/lockf64.c: File removed.
32150 * sysdeps/wordsize-64/fseeko.c: File removed.
32151 * sysdeps/wordsize-64/fseeko64.c: File removed.
32152 * sysdeps/wordsize-64/ftello.c: File removed.
32153 * sysdeps/wordsize-64/ftello64.c: File removed.
32154 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32155 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32156 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32157 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32158 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32159 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32160 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32161 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32162 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32163 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32164 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32165 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32166 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32167 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32169 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32170 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32171 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32172 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32173 [defined __arch64__ || defined __sparcv9]
32174 (__OFF_T_MATCHES_OFF64_T): New macro.
32175 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32176 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32177 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32178 (__OFF_T_MATCHES_OFF64_T): New macro.
32180 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32182 * stdlib/secure-getenv.c (__secure_getenv): Replace
32183 GLIBC_2_16 with GLIBC_2_17.
32185 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32187 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32188 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32190 2012-08-03 David S. Miller <davem@davemloft.net>
32192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32194 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32196 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32198 (__ASSUME_CORRECT_SI_PID): Likewise.
32199 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32200 (__ASSUME_TMPFS_NAME): Likewise.
32201 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32202 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32203 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32204 (HAVE_AUX_SECURE): Make definition unconditional.
32205 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32206 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32208 2012-08-03 Roland McGrath <roland@hack.frob.com>
32210 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32211 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32212 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32213 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32214 __eloop_threshold instead of SYMLOOP_MAX.
32216 * sysdeps/generic/eloop-threshold.h: New file.
32217 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32219 * elf/chroot_canon.c (chroot_canon): Likewise.
32221 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32224 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32225 Change to 2.6.0 everywhere.
32226 * sysdeps/unix/sysv/linux/configure: Regenerated.
32227 * sysdeps/unix/sysv/linux/kernel-features.h
32228 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32229 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32231 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32232 (__ASSUME_FUTEX_REQUEUE): Remove.
32233 (__ASSUME_STATFS64): Define unconditionally.
32234 (__ASSUME_AT_SECURE): Likewise.
32235 (__ASSUME_CORRECT_SI_PID): Likewise.
32236 (__ASSUME_TGKILL): Define without depending on kernel version for
32238 (__ASSUME_UTIMES): Likewise.
32239 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32241 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32242 (__ASSUME_TMPFS_NAME): Likewise.
32243 * README: Update reference to Linux kernel versions.
32245 2012-08-02 Marek Polacek <polacek@redhat.com>
32248 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32249 libc_cv_asm_type_prefix with %.
32250 * configure: Regenerated.
32251 * include/libc-symbols.h: Remove comment about
32252 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32253 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32254 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32255 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32256 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32257 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32258 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32259 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32260 * elf/tst-unique2mod1.c: Likewise.
32261 * elf/tst-unique1mod2.c: Likewise.
32262 * elf/tst-unique1mod1.c: Likewise.
32263 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32264 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32265 Replace ASM_TYPE_DIRECTIVE with .type.
32266 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32267 * sysdeps/i386/sysdep.h: Likewise.
32268 * sysdeps/x86_64/sysdep.h: Likewise.
32269 * sysdeps/sh/sysdep.h: Likewise.
32270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32271 Do not define ASM_TYPE_DIRECTIVE.
32272 * sysdeps/powerpc/sysdep.h: Likewise.
32273 * sysdeps/powerpc/powerpc32/sysdep.h:
32274 Replace ASM_TYPE_DIRECTIVE with .type.
32275 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32276 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32277 * sysdeps/i386/fpu/e_powf.S: Likewise.
32278 * sysdeps/i386/fpu/e_expl.S: Likewise.
32279 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32280 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32281 * sysdeps/i386/fpu/e_pow.S: Likewise.
32282 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32283 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32284 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32285 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32286 * sysdeps/i386/fpu/e_log2.S: Likewise.
32287 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32288 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32289 * sysdeps/i386/fpu/e_powl.S: Likewise.
32290 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32291 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32292 * sysdeps/i386/fpu/e_logl.S: Likewise.
32293 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32294 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32295 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32296 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32297 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32298 * sysdeps/i386/fpu/e_log.S: Likewise.
32299 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32300 * sysdeps/i386/fpu/e_logf.S: Likewise.
32301 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32302 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32303 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32304 * sysdeps/i386/fpu/e_log10.S: Likewise.
32305 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32306 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32307 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32308 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32309 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32310 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32311 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32312 * sysdeps/i386/i686/strtok.S: Likewise.
32313 * sysdeps/i386/i386-mcount.S: Likewise.
32314 * sysdeps/i386/strtok.S: Likewise.
32315 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32316 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32317 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32318 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32319 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32320 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32321 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32322 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32323 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32324 * sysdeps/x86_64/_mcount.S: Likewise.
32325 * sysdeps/x86_64/strtok.S: Likewise.
32326 * sysdeps/sh/_mcount.S: Likewise.
32328 2012-08-01 Roland McGrath <roland@hack.frob.com>
32330 * libio/iofopen.c: Include <fcntl.h>.
32331 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32332 (_IO_fopen64, fopen64): Define as aliases.
32333 * libio/iofopen64.c: Include <fcntl.h>.
32334 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32335 Conditionalize body on this.
32336 * sysdeps/wordsize-64/iofopen.c: File removed.
32337 * sysdeps/wordsize-64/iofopen64.c: File removed.
32339 2012-08-01 Marek Polacek <polacek@redhat.com>
32341 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32342 Use dlfcn directly instead of a variable.
32343 (binfmt-subdir): Do not define.
32346 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32348 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32349 Remove all definitions.
32350 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32351 <kernel-features.h>.
32352 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32353 (miss_F_GETOWN_EX): Remove all definitions.
32354 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32356 [!__ASSUME_FCNTL64]: Remove conditional code.
32357 [__ASSUME_FCNTL64]: Make code unconditional.
32358 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32359 <kernel-features.h>.
32360 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32361 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32362 (lockf64) [__NR_fcntl64]: Make code unconditional.
32363 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32365 * sysdeps/unix/sysv/linux/kernel-features.h
32366 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32367 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32368 Make code unconditional.
32369 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32370 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32372 [__NR_vfork]: Make code unconditional.
32373 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32374 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32376 [__NR_vfork]: Make code unconditional.
32377 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32378 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32380 2012-08-01 Roland McGrath <roland@hack.frob.com>
32382 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32383 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32385 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32386 Define mkstemp64 as an alias.
32387 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32388 Define mkstemps64 as an alias.
32389 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32390 Define mkostemp64 as an alias.
32391 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32392 Define mkostemps64 as an alias.
32393 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32394 Conditionalize body on this.
32395 * misc/mkostemp64.c: Likewise.
32396 * misc/mkostemps64.c: Likewise.
32397 * misc/mkstemps64.c: Likewise.
32398 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32399 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32400 * sysdeps/wordsize-64/mkostemp.c: File removed.
32401 * sysdeps/wordsize-64/mkstemp.c: File removed.
32402 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32403 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32404 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32405 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32408 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32409 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32410 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32411 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32413 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32414 compat_symbol macros from <shlib-compat.h> rather than the underlying
32415 default_symbol_version and symbol_version macros, so that DEFAULT
32416 lines in shlib-versions are respected.
32417 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32419 2012-08-01 Florian Weimer <fweimer@redhat.com>
32421 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32422 Declare with warn_unused_result.
32423 (setgid, setregid, setegid, setresgid): Likewise.
32424 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32426 * WUR-REPORT: Remove set*id functions.
32428 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32430 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32432 2012-07-31 Roland McGrath <roland@hack.frob.com>
32435 * include/sys/socket.h (__libc_accept, __libc_accept4):
32436 Add attribute_hidden.
32437 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32439 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32441 * inet/getnetgrent_r.c (setup): Likewise.
32443 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32445 2012-07-31 David S. Miller <davem@davemloft.net>
32447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32449 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32452 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32453 value between 1.0 and 2.0 and smaller part has absolute value less
32455 * math/s_clog10.c (__clog10): Likewise.
32456 * math/s_clog10f.c (__clog10f): Likewise.
32457 * math/s_clog10l.c (__clog10l): Likewise.
32458 * math/s_clogf.c (__clogf): Likewise.
32459 * math/s_clogl.c (__clogl): Likewise.
32460 * math/libm-test.inc (clog_test): Add more tests.
32461 (clog10_test): Likewise.
32462 * sysdeps/i386/fpu/libm-test-ulps: Update.
32463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32465 2012-07-31 Florian Weimer <fweimer@redhat.com>
32467 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32468 Exit with zero in case no suitable GID is found, and write a
32469 message to standard error.
32471 2012-07-30 Roland McGrath <roland@hack.frob.com>
32473 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32475 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32476 (MAXPATHLEN): Removed.
32477 (NOGROUP, NODEV): New macros.
32478 (setbit, clrbit, isset, isclr): New macros.
32479 (howmany, roundup, powerof2): New macros.
32480 (DEV_BSIZE): New macro.
32482 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32483 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32485 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32486 definition on [!__NO_LONG_DOUBLE_MATH].
32488 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32489 PTR_MANGLE and PTR_DEMANGLE.
32491 * socket/accept4.c (accept4): Rename to __libc_accept4.
32492 Define accept4 as a weak alias.
32494 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32495 on [_DIRENT_HAVE_D_TYPE].
32496 * io/ftw.c (ftw_dir): Likewise.
32498 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32500 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32502 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32503 Use the BSD numbers rather than the arbitrary ones we had.
32504 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32505 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32506 (SIGXCPU, SIGXFSZ): New macros.
32509 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32510 initializer on [_LIBC_REENTRANT].
32512 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32513 definitions inside [_POSIX_MAPPED_FILES].
32515 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32517 * dirent/opendir.c: Include <fcntl.h>.
32519 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32520 (__libc_getspecific): Likewise.
32521 (__libc_key_create): Likewise.
32523 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32524 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32525 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32526 (tmpfile64): Define as alias.
32527 * sysdeps/wordsize-64/tmpfile.c: File removed.
32528 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32529 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32530 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32532 * stdio-common/vfscanf.c: Include <stdbool.h>.
32533 * nss/makedb.c: Likewise.
32534 * stdio-common/_i18n_number.h: Likewise.
32535 * argp/argp-help.c: Likewise.
32536 * posix/wordexp.c: Likewise.
32537 * sysdeps/posix/spawni.c: Likewise.
32538 * nss/nss_files/files-initgroups.c: Likewise.
32539 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32540 * nss/nss_files/files-initgroups.c: Likewise.
32541 * nss/nss_db/db-netgrp.c: Likewise.
32542 * nss/nss_db/db-initgroups.c: Likewise.
32543 * io/fchmodat.c: Include <sys/stat.h>.
32545 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32546 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32548 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32551 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32552 Add multiple inclusion protection.
32554 2012-07-27 David S. Miller <davem@davemloft.net>
32556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32558 2012-07-27 Gary Benson <gbenson@redhat.com>
32561 * elf/rtld.c: Include <stap-probe.h>.
32562 (dl_main): Added static probes "init_start" and "init_complete".
32563 * elf/dl-load.c: Include <stap-probe.h>.
32564 (lose): Take new parameter "nsid".
32565 Added static probe "map_failed".
32566 (_dl_map_object_from_fd): Pass namespace id to lose.
32567 Added static probe "map_start".
32568 (open_verify): Pass namespace id to lose.
32569 * elf/dl-open.c: Include <stap-probe.h>.
32570 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32571 and "reloc_complete".
32572 * elf/dl-close.c: Include <stap-probe.h>.
32573 (_dl_close_worker): Added static probes "unmap_start" and
32575 * elf/rtld-debugger-interface.txt: New file documenting the above.
32577 2012-07-26 Roland McGrath <roland@hack.frob.com>
32579 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32580 rather than a string variable.
32581 * sunrpc/rpc_main.c (h_output): Likewise.
32582 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32584 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32586 * inet/check_native.c: New file.
32588 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32591 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32592 if larger part has absolute value 1.0.
32593 * math/s_clog10.c (__clog10): Likewise.
32594 * math/s_clog10f.c (__clog10f): Likewise.
32595 * math/s_clog10l.c (__clog10l): Likewise.
32596 * math/s_clogf.c (__clogf): Likewise.
32597 * math/s_clogl.c (__clogl): Likewise.
32598 * math/libm-test.inc (clog_test): Add more tests.
32599 (clog10_test): Likewise.
32600 * sysdeps/i386/fpu/libm-test-ulps: Update.
32601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32603 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32604 (pltexit): Likewise.
32605 (La_regs): Likewise.
32606 (La_retval): Likewise.
32607 (int_retval): Likewise.
32608 Update #error for removed macros to refer only to definitions in
32610 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32612 (pltexit): Likewise.
32613 (La_regs): Likewise.
32614 (La_retval): Likewise.
32615 (int_retval): Likewise.
32616 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32618 (pltexit): Likewise.
32619 (La_regs): Likewise.
32620 (La_retval): Likewise.
32621 (int_retval): Likewise.
32622 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32624 (pltexit): Likewise.
32625 (La_regs): Likewise.
32626 (La_retval): Likewise.
32627 (int_retval): Likewise.
32628 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32630 (pltexit): Likewise.
32631 (La_regs): Likewise.
32632 (La_retval): Likewise.
32633 (int_retval): Likewise.
32634 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32636 (pltexit): Likewise.
32637 (La_regs): Likewise.
32638 (La_retval): Likewise.
32639 (int_retval): Likewise.
32640 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32642 (pltexit): Likewise.
32643 (La_regs): Likewise.
32644 (La_retval): Likewise.
32645 (int_retval): Likewise.
32646 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32647 macro definitions in tst-audit.h.
32648 * sysdeps/i386/tst-audit.h: New file.
32649 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32650 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32651 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32652 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32653 * sysdeps/sh/tst-audit.h: Likewise.
32654 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32655 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32656 * sysdeps/x86_64/tst-audit.h: Likewise.
32658 2012-07-26 Andreas Jaeger <aj@suse.de>
32660 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32663 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32664 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32665 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32667 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32668 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32669 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32671 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32674 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32676 (si_call_addr, si_syscall, si_arch): Define new macro.
32677 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32679 (si_call_addr, si_syscall, si_arch): Define new marcro.
32680 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32682 (si_call_addr, si_syscall, si_arch): Define new macro.
32683 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32685 (si_call_addr, si_syscall, si_arch): Define new macro.
32687 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32690 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32691 Change to 2.4.21 where previously 2.4.1.
32692 * sysdeps/unix/sysv/linux/configure: Regenerated.
32693 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32694 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32695 Linux kernel version.
32696 (__ASSUME_STD_AUXV): Remove.
32697 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32699 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32700 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32701 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32702 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32703 (__ASSUME_NETLINK_SUPPORT): Likewise.
32704 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32705 (__no_netlink_support): Remove conditional definition.
32706 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32708 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32709 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32710 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32711 (if_nameindex_ioctl): Remove.
32712 (if_nameindex_netlink): Do not handle __no_netlink_support.
32713 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32715 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32716 Remove conditional code.
32717 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32719 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32721 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32722 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32723 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32725 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32726 [!__ASSUME_STD_AUXV]: Remove conditional code.
32727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32728 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32729 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32731 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32732 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32734 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32736 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32737 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32739 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32741 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32744 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32747 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32748 code unconditional.
32749 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32751 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32753 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32756 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32758 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32761 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32762 code unconditional.
32763 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32765 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32767 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32770 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32771 code unconditional.
32772 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32774 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32776 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32779 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32781 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32782 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32783 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32784 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32785 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32786 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32787 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32788 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32789 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32790 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32791 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32792 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32793 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32794 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32795 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32796 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32797 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32798 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32799 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32800 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32801 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32802 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32803 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32805 2012-07-25 Florian Weimer <fweimer@redhat.com>
32807 * Versions.def: Add GLIBC_2.17.
32808 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32809 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32810 Introduce __libc_secure_getenv.
32811 * stdlib/Versions (2.17): Add secure_getenv
32812 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32813 * stdlib/secure-getenv.c: Rename __secure_getenv to
32814 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32815 symbol __secure_getenv for GLIBC_2.0.
32816 * stdlib/tst-secure-getenv.c: New.
32817 * stdlib/Makefile (tests): Add testcase.
32818 * manual/startup.texi (Environment Access): Document
32820 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32821 __libc_secure_getenv.
32822 * inet/ruserpass.c (ruserpass): Likewise.
32823 * malloc/mtrace.c (mtrace): Likewise.
32824 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32825 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32826 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32827 * sysdeps/posix/tempname.c: Likewise. Evaluate
32828 HAVE_SECURE_GETENV.
32829 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32830 __secure_getenv to __libc_secure_getenv.
32831 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32838 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32844 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32846 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32847 (struct La_i86_retval): Likewise.
32848 (struct La_x86_64_regs): Likewise.
32849 (struct La_x86_64_retval): Likewise.
32850 (struct La_x32_regs): Likewise.
32851 (struct La_x32_retval): Likewise.
32852 (struct La_ppc32_regs): Likewise.
32853 (struct La_ppc32_retval): Likewise.
32854 (struct La_ppc64_regs): Likewise.
32855 (struct La_ppc64_retval): Likewise.
32856 (struct La_sh_regs): Likewise.
32857 (struct La_sh_retval): Likewise.
32858 (struct La_s390_32_regs): Likewise.
32859 (struct La_s390_32_retval): Likewise.
32860 (struct La_s390_64_regs): Likewise.
32861 (struct La_s390_64_retval): Likewise.
32862 (struct La_sparc32_regs): Likewise.
32863 (struct La_sparc32_retval): Likewise.
32864 (struct La_sparc64_regs): Likewise.
32865 (struct La_sparc64_retval): Likewise.
32866 (struct audit_ifaces): Remove architecture-specific pltenter and
32868 * sysdeps/i386/ldsodefs.h: New file.
32869 * sysdeps/powerpc/ldsodefs.h: Likewise.
32870 * sysdeps/s390/ldsodefs.h: Likewise.
32871 * sysdeps/sh/ldsodefs.h: Likewise.
32872 * sysdeps/sparc/ldsodefs.h: Likewise.
32873 * sysdeps/x86_64/ldsodefs.h: Likewise.
32875 2012-07-25 Marek Polacek <polacek@redhat.com>
32878 * math/libm-test.inc (yn_test): Add another test.
32879 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32880 to ERANGE when the result is +-Inf.
32881 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32882 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32883 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32884 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32886 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32888 * conform/data/time.h-data (NULL): Use macro-constant. Require
32890 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32892 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32894 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32896 * configure.in <sysdeps resolving>: Correct printing
32898 * configure: Regenerate.
32900 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32902 * math/w_ilogb.c: Include <limits.h>.
32903 * math/w_ilogbl.c: Likewise.
32905 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32907 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32908 va_copy. Document allowing for unavailable va_copy only as
32909 pre-C99 compatibility.
32910 * manual/string.texi (Copying and Concatenation): Use va_copy
32911 instead of __va_copy in concat example.
32913 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32915 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32916 (__sendto): Use create_address_port. Initialize APORT and deallocate
32919 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32920 with O_NOLINK passed to __file_name_lookup.
32922 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32923 with O_NOLINK passed to __file_name_lookup.
32925 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32926 negative N or less than NGIDS.
32928 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32929 type to string_t. Set ERANGE as errno and return it if NAME is not big
32930 enough. Use memcpy instead of strncpy.
32932 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32934 * elf/Makefile (check-data): Remove.
32935 (localplt.data): New vpath directive.
32936 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32937 instead of $(check-data).
32938 * scripts/data/localplt-generic.data: Move to ...
32939 * sysdeps/generic/localplt.data: ... here.
32940 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32941 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32942 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32945 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32948 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32951 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32954 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32957 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32961 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32963 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32964 PPC32 and PPC64 files.
32965 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32966 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32968 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32970 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32971 __makecontext_ret to ...
32972 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32973 ... here and call exit if uc_link is NULL. New file.
32974 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32975 __makecontext_ret.S.
32976 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32977 __makecontext_ret to ...
32978 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32979 ... here and call exit if uc_link is NULL. New file.
32980 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32981 __makecontext_ret.S.
32983 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32985 * elf/elf.h (R_390_IRELATIVE): New definition.
32986 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32987 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32988 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32989 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32990 (elf_machine_lazy_rel): Likewise.
32991 * sysdeps/s390/dl-irel.h: New file.
32992 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32993 * sysdeps/s390/s390-64/memset.S: New asm code.
32994 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32995 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32996 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32997 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32998 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32999 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33000 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33001 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33002 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33003 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33004 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33005 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33006 * sysdeps/s390/s390-32/memset.S: New asm code.
33007 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33009 2012-07-17 Marek Polacek <polacek@redhat.com>
33012 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33013 * sysdeps/s390/s390-64/configure.in: Likewise.
33014 * sysdeps/sparc/configure.in: Likewise.
33015 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33016 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33017 * sysdeps/i386/configure.in: Likewise.
33018 * sysdeps/x86_64/configure.in: Likewise.
33019 * sysdeps/sh/configure.in: Likewise.
33020 * sysdeps/s390/s390-32/configure: Regenerated.
33021 * sysdeps/s390/s390-64/configure: Likewise.
33022 * sysdeps/x86_64/configure: Likewise.
33023 * sysdeps/sh/configure: Likewise.
33024 * sysdeps/powerpc/powerpc64/configure: Likewise.
33025 * sysdeps/powerpc/powerpc32/configure: Likewise.
33026 * sysdeps/sparc/configure: Likwise.
33027 * sysdeps/i386/configure: Likewise.
33029 * elf/dl-open.c: Comment fixes.
33031 2012-07-17 Joseph Myers <joseph@codesourcery.com>
33033 * Makefile [CXX] (check-data): Remove.
33034 [CXX] (c++-types.data): New vpath directive.
33035 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33036 vpath. Do not allow for C++ type data being missing.
33037 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33038 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33039 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33040 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33041 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33042 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33043 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33046 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33049 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33052 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33055 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33058 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33061 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33064 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33067 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33068 definitions to architecture-specific files.
33069 (TLS_IE): Likewise.
33070 (TLS_LD): Likewise.
33071 (TLS_GD): Likewise.
33072 * sysdeps/i386/tls-macros.h: New file.
33073 * sysdeps/powerpc/tls-macros.h: Likewise.
33074 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33075 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33076 * sysdeps/sh/tls-macros.h: Likewise.
33077 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33078 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33079 * sysdeps/x86_64/tls-macros.h: Likewise.
33081 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33083 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33084 zero value for regular exit case.
33086 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33087 (__start_context): Preserve zero value for regular exit case.
33089 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33090 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33092 * manual/setjmp.texi (setcontext): Clarify normal process
33093 termination when uc_link is the null pointer.
33094 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33097 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33099 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33100 preprocessor. Test for each exception mask separately.
33102 2012-07-16 Andreas Jaeger <aj@suse.de>
33104 * po/ru.po: Update from translation team.
33106 2012-07-15 Joseph Myers <joseph@codesourcery.com>
33108 * conform/data/string.h-data (NULL): Use macro-constant. Require
33110 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33111 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33112 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33113 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33114 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33116 2012-07-13 Andreas Jaeger <aj@suse.de>
33118 * po/fr.po: Update from translation team.
33120 2012-07-12 Marek Polacek <polacek@redhat.com>
33123 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33124 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33127 2012-07-12 Joseph Myers <joseph@codesourcery.com>
33130 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33131 Change to 2.4.1 where previously 2.4.0.
33132 * sysdeps/unix/sysv/linux/configure: Regenerated.
33133 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33134 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33136 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33137 (__ASSUME_AT_CLKTCK): Remove.
33138 (__ASSUME_AT_PAGESIZE): Likewise.
33139 (__ASSUME_AT_XID): Likewise.
33140 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33141 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33142 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33144 (HAVE_AUX_PAGESIZE): Likewise.
33145 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33146 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33147 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33149 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33153 the temporary buffer used to invoke __gethostbyname2_r,
33154 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33155 host_data / struct gaih_addrtuple.
33156 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33157 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33158 header file nss/nsswitch.h.
33159 * nss/nsswitch.h (global scope): Add definition of implementation
33160 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33161 resolv/nss_dns/dns-host.c).
33163 2012-07-11 Andreas Jaeger <aj@suse.de>
33165 * po/fr.po: Update from translation team.
33167 * po/sv.po: Update from translation team
33168 * po/fr.po: Another update from translation team.
33170 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33172 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33173 for subnormals or multiply small sinh result by itself.
33174 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33177 2012-07-11 David S. Miller <davem@davemloft.net>
33179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33181 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33184 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33185 (INTERNAL_MARK): Shift it here.
33187 2012-07-10 Marek Polacek <polacek@redhat.com>
33190 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33191 libc_cv_asm_global_directive with .globl.
33192 * configure: Regenerated.
33193 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33195 * sysdeps/i386/configure: Regenerated.
33196 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33198 * sysdeps/x86_64/configure: Regenerated.
33199 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33200 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33201 * elf/tst-unique2mod2.c: Likewise.
33202 * elf/tst-unique2mod1.c: Likewise.
33203 * elf/tst-unique1mod2.c: Likewise.
33204 * elf/tst-unique1mod1.c: Likewise.
33205 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33206 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33207 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33208 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33209 * sysdeps/mach/sysdep.h: Likewise.
33210 * sysdeps/i386/sysdep.h: Likewise.
33211 * sysdeps/i386/i386-mcount.S: Likewise.
33212 * sysdeps/x86_64/_mcount.S: Likewise.
33213 * sysdeps/x86_64/sysdep.h: Likewise.
33214 * sysdeps/sh/_mcount.S: Likewise.
33215 * sysdeps/sh/sysdep.h: Likewise.
33216 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33217 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33218 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33219 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33220 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33221 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33222 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33223 * locale/localeinfo.h: Likewise.
33224 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33225 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33227 2012-07-09 Roland McGrath <roland@hack.frob.com>
33230 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33232 * manual/message.texi (The Uniforum approach): Likewise.
33233 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33234 (glibc iconv Implementation): Likewise.
33236 2012-07-09 Joseph Myers <joseph@codesourcery.com>
33239 * math/s_clog.c (__clog): Avoid scaling a value down where that
33240 could result in underflow.
33241 * math/s_clog10.c (__clog10): Likewise.
33242 * math/s_clog10f.c (__clog10f): Likewise.
33243 * math/s_clog10l.c (__clog10l): Likewise.
33244 * math/s_clogf.c (__clogf): Likewise.
33245 * math/s_clogl.c (__clogl): Likewise.
33246 * math/libm-test.inc (clog_test): Add more tests.
33247 (clog10_test): Likewise.
33248 * sysdeps/i386/fpu/libm-test-ulps: Update.
33249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33251 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33254 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33255 by 7 not 8 to examine high bit of fractional part.
33258 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33259 for call to __mcount_internal.
33260 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33261 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33262 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33264 2012-07-06 Joseph Myers <joseph@codesourcery.com>
33267 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33268 approximation for values within 0x1p-13f of an odd multiple of
33270 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33271 exception. Add more tests.
33272 * sysdeps/i386/fpu/libm-test-ulps: Update.
33275 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33276 inputs and return -1 for them. Do not check for +Inf in case not
33277 reachable for +Inf.
33278 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33279 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33280 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33281 and return -1 for them. Do not check for +Inf in case not
33282 reachable for +Inf.
33283 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33285 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33286 and return -1 for them. Do not check for +Inf in case not
33287 reachable for +Inf.
33288 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33289 spurious underflow.
33290 * sysdeps/i386/fpu/libm-test-ulps: Update.
33291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33293 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33295 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33297 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33301 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33302 could result in spurious underflow. Scale down values above
33303 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33304 * math/s_csqrtf.c (__csqrtf): Likewise.
33305 * math/s_csqrtl.c (__csqrtl): Likewise.
33306 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33307 spurious underflow.
33308 * sysdeps/i386/fpu/libm-test-ulps: Update.
33309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33311 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33313 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33315 * catgets/xopen-msg.awk: New file.
33316 * catgets/xopen-msg.sed: Removed.
33318 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33320 * intl/po2test.awk: New file.
33321 * intl/po2test.sed: Removed.
33323 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33326 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33327 or multiply small sinh result by itself.
33328 * math/s_ctanf.c (__ctanf): Likewise.
33329 * math/s_ctanh.c (__ctanh): Likewise.
33330 * math/s_ctanhf.c (__ctanhf): Likewise.
33331 * math/s_ctanhl.c (__ctanhl): Likewise.
33332 * math/s_ctanl.c (__ctanl): Likewise.
33333 * math/libm-test.inc (ctan_test_tonearest): New function.
33334 (ctan_test_towardzero): Likewise.
33335 (ctan_test_downward): Likewise.
33336 (ctan_test_upward): Likewise.
33337 (ctanh_test_tonearest): Likewise.
33338 (ctanh_test_towardzero): Likewise.
33339 (ctanh_test_downward): Likewise.
33340 (ctanh_test_upward): Likewise.
33341 (main): Call these new functions.
33342 * sysdeps/i386/fpu/libm-test-ulps: Update.
33343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33345 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33347 * .gitignore: Delete /ports entry.
33349 2012-07-03 Andreas Jaeger <aj@suse.de>
33351 * po/bg.po: Update from translation team.
33352 * po/cs.po: Likewise.
33353 * po/de.po: Likewise.
33354 * po/hr.po: Likewise.
33355 * po/nl.pl: Likewise.
33356 * po/pl.po: Likewise.
33357 * po/vi.po: Likewise.
33359 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33361 * Makeconfig [!+link] (+link-before-libc): New variable.
33362 [!+link] (+link-after-libc): Likewise.
33363 [!+link] (+link-tests): Likewise.
33364 [!+link] (+link): Define in terms of $(+link-before-libc) and
33365 $(+link-after-libc).
33366 [!+link-static] (+link-static-before-libc): New variable.
33367 [!+link-static] (+link-static-after-libc): Likewise.
33368 [!+link-static] (+link-static-tests): Likewise.
33369 [!+link-static] (+link-static): Define in terms of
33370 $(+link-static-before-libc) and $(+link-static-after-libc).
33371 [build-shared] (link-libc-before-gnulib): New variable.
33372 [build-shared] (link-libc-tests): Likewise.
33373 [build-shared] (link-libc): Define in terms of
33374 $(link-libc-before-gnulib).
33375 [!build-shared] (link-libc-tests): New variable.
33376 (link-libc-static-tests): New variable.
33377 [!gnulib] (gnulib-arch): New variable.
33378 [!gnulib] (gnulib-tests): Likewise.
33379 [!gnulib] (static-gnulib-arch): Likewise.
33380 [!gnulib] (static-gnulib-tests): Likewise.
33381 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33382 Define with "=" instead of ":=".
33383 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33384 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33385 * Rules (binaries-all-notests): New variable.
33386 (binaries-all-tests): Likewise.
33387 (binaries-static-notests): Likewise.
33388 (binaries-static-tests): Likewise.
33389 (binaries-all): Define using $(binaries-all-notests) and
33390 $(binaries-all-tests).
33391 (binaries-static): Define using $(binaries-static-notests) and
33392 $(binaries-static-tests).
33393 (binaries-shared-tests): New variable.
33394 (binaries-shared-notests): Likewise.
33395 (binaries-shared): Remove variable.
33396 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33397 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33398 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33399 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33400 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33401 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33402 * elf/Makefile (sln-modules): New variable.
33403 (extra-objs): Add $(sln-modules:=.o).
33404 (ldconfig-modules): Add static-stubs.
33405 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33406 * elf/static-stubs.c: New file.
33409 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33410 by 7 not 8 to examine high bit of fractional part. Use volatile
33411 variables when splitting into final array of floats if
33412 __FLT_EVAL_METHOD__ != 0.
33413 * math/libm-test.inc (cos_test): Add another test.
33414 (sin_test): Likewise.
33415 * sysdeps/i386/fpu/libm-test-ulps: Update.
33418 * math/libm-test.inc (cosh_test): Add more tests.
33420 * version.h (RELEASE): Set to "development".
33421 (VERSION): Set to "2.16.90".
33423 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33425 * NEWS: Update copyright. Remove last-updated date.
33426 Mention math library bug fixes and timezone data changes.
33427 * README: Mention GNU/Hurd, x32, and HPPA support status.
33429 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33431 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33433 2012-06-27 Andreas Jaeger <aj@suse.de>
33435 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33437 2012-06-25 Andreas Jaeger <aj@suse.de>
33439 * sysdeps/s390/fpu/libm-test-ulps: Update.
33441 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33442 Thomas Schwinge <thomas@codesourcery.com>
33444 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33445 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33446 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33449 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33451 * sysdeps/mach/start.c: Remove file.
33452 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33453 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33454 * sysdeps/sh/init-first.c: Likewise.
33456 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33457 registers for frame unwinding purposes, add CFI directives.
33458 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33459 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33460 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33463 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33464 __fortify_fail returning.
33465 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33467 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33468 sysdeps/sh/____longjmp_chk.S.
33469 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33470 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33471 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33472 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33474 * sysdeps/sh/abort-instr.h: New file.
33475 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33476 process in case exit returns.
33478 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33479 initialize the GOT register before use.
33481 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33482 calculation of ARGC > 4.
33484 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33485 meaningful names to some local labels.
33487 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33488 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33490 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33491 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33492 (__arch_compare_and_exchange_val_16_acq): Likewise.
33493 (__arch_compare_and_exchange_val_32_acq): Likewise.
33494 (atomic_exchange_and_add): Fix gUSA sequence.
33495 (atomic_add): Likewise.
33496 (atomic_add_negative): Likewise.
33497 (atomic_add_zero): Likewise.
33498 (atomic_bit_test_set): Likewise.
33500 2012-06-22 Andreas Schwab <schwab@redhat.com>
33503 * include/link.h (struct link_map): Add l_free_initfini.
33504 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33506 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33507 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33508 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33511 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33513 * configure.in: Use AC_LANG_SOURCE.
33514 * configure: Regenerate.
33516 2012-06-22 Roland McGrath <roland@hack.frob.com>
33518 * configure.in (libc_cv_localstatedir): New substituted variable.
33519 * configure: Regenerated.
33520 * config.make.in (localstatedir): New variable, substituted from
33521 libc_cv_localstatedir.
33522 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33523 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33524 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33525 * sysdeps/gnu/configure: Regenerated.
33527 2012-06-21 Jeff Law <law@redhat.com>
33530 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33531 free. Simplify list management for _LIBC case.
33533 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33536 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33537 Clear sign bit of 64-bit integer value before comparing against
33540 * sysdeps/mach/configure: Regenerated.
33542 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33545 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33547 2012-06-21 Jeff Law <law@redhat.com>
33550 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33551 uint16_t for elements in the "seen" array to avoid char overflows.
33552 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33553 * elf/dl-open.c (dl_open_worker): Likewise.
33555 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33557 * scripts/list-sources.sh: Scan PORTS for translations.
33558 * po/libc.pot: Regenerated.
33560 2012-06-21 Andreas Jaeger <aj@suse.de>
33563 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33565 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33566 * bits/byteswap-16.h (__bswap_16): Likewise.
33567 * bits/byteswap.h (__bswap_constant_16): Likewise.
33569 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33572 * sysdeps/i386/fpu_control.h: Removed.
33573 * sysdeps/x86_64/fpu_control.h: Moved to ...
33574 * sysdeps/x86/fpu_control.h: Here.
33576 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33577 (_FPU_SETCW): Likewise.
33579 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33582 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33583 * sysdeps/x86/fpu/bits/mathinline.h: This.
33584 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33588 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33589 functions if __x86_64__ is defined.
33591 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33593 * string/endian.h: Add !__ASSEMBLER__ condition for including
33594 conversion interfaces.
33596 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33599 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33600 of ABS(x) in calculating zero to negative powers other than odd
33602 * math/libm-test.inc (pow_test): Add more tests.
33604 2012-06-15 Andreas Jaeger <aj@suse.de>
33606 * manual/contrib.texi (Contributors): Update entry of Liubov
33607 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33610 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33612 * string/string.h: Add __wur to GNU version of strerror_r.
33614 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33617 * string/Makefile (tests): Add tst-strtok_r.
33618 * string/tst-strtok_r.c: New file.
33619 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33620 RAX_LP/RDX_LP on SAVE_PTR.
33622 2012-06-14 Roland McGrath <roland@hack.frob.com>
33624 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33626 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33628 * libm_test.inc (csqrt_test): Allow more spurious underflow
33630 (j0_test): Likewise.
33631 (j1_test): Likewise.
33632 (y0_test): Likewise.
33633 (y1_test): Likewise.
33635 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33637 * po/Makefile (libc.pot): Use UTF-8 charset.
33639 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33642 Suppress sign-conversion warning from FD_SET.
33643 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33644 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33645 not unsigned long int.
33646 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33648 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33652 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33653 __extern_always_inline instead of __extern_inline.
33654 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33655 (__signbit): Likewise.
33656 (__signbitl): Support C++ namespace.
33657 (lrintf): New inline function.
33659 (llrintf): Likewise.
33660 (llrint): Likewise.
33670 (floorf): Likewise.
33671 (nearbyint): Likewise.
33672 (nearbyintf): Likewise.
33674 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33676 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33677 non-default versions.
33679 2012-06-11 Roland McGrath <roland@hack.frob.com>
33682 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33684 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33686 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33687 (FE_UPWARD, FE_DOWNWARD): Don't define.
33688 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33689 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33691 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33693 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33694 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33696 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33698 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33699 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33700 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33701 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33703 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33706 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33707 * sysdeps/i386/fpu/Implies: New file.
33708 * sysdeps/x86_64/fpu/Implies: Likewise.
33709 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33710 * sysdeps/x86/fpu/bits/fenv.h: This.
33712 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33715 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33718 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33719 character 0xffff that matches the last element of the
33722 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33724 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33727 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33729 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33730 values higher than 25.6283.
33732 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33734 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33735 subnormal exponent extraction and add some __builtin_expect.
33736 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33737 Fix for subnormal mantissa calculation.
33739 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33741 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33742 cpu2 is -1 and errno is not ENOSYS.
33744 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33747 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33748 * sysdeps/x86/bits/string.h: This.
33749 * sysdeps/x86_64/bits/string.h: Removed.
33751 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33752 if not compiling for x86-64, but compiling for >= i486.
33754 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33755 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33757 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33758 New macro from Linux kernel 3.4.0.
33759 (FP_XSTATE_MAGIC2): Likewise.
33760 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33761 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33762 (struct _fpx_sw_bytes): New struct.
33763 (struct _xsave_hdr): Likewise.
33764 (struct _ymmh_state): Likewise.
33765 (struct _xstate): Likewise.
33767 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33768 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33769 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33770 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33771 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33772 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33774 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33775 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33776 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33777 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33778 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33779 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33781 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33784 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33785 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33786 (sysdep_headers): Include sys/platform/ppc.h.
33787 * sysdeps/powerpc/test-gettimebase.c: Test for
33788 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33789 * manual/Makefile (appendices): Include platform.texi.
33790 * manual/contrib.texi (Contributors): Update @node pointers.
33791 * manual/maint.texi (Maintenance): Likewise.
33792 (Platform): New node.
33793 * manual/platform.texi: New file. Document the new features.
33795 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33796 Jakub Jelinek <jakub@redhat.com>
33799 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33800 where __builtin_expect is unavailable.
33802 2012-06-03 David S. Miller <davem@davemloft.net>
33804 * stdlib/longlong.h: Updated from GCC.
33806 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33809 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33810 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33813 (GLIBC_2.16): Likewise.
33815 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33817 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33819 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33822 (default-abi): New variable.
33823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33824 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33826 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33828 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33830 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33833 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33834 definition. Document in comment.
33836 2012-06-01 David S. Miller <davem@davemloft.net>
33838 * stdlib/longlong.h: Updated from GCC.
33840 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33843 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33844 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33845 sys/debugreg.h sys/io.h here.
33846 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33847 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33849 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33850 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33851 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33852 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33853 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33854 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33856 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33857 Define only if __x86_64__ is defined.
33859 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33862 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33863 Use int64_t for variable i.
33864 * math/libm-test.inc (fmod_test): Add more tests.
33866 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33867 z computation is not scheduled after fetestexcept.
33868 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33869 Use math_force_eval instead of asm to ensure calculation scheduled
33870 before exception test.
33871 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33872 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33874 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33876 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33877 computation is not scheduled after fetestexcept.
33879 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33882 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33883 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33885 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33887 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33888 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33890 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33893 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33895 (__WCHAR_MIN): Support __WORDSIZE == 64.
33896 (__WCHAR_MAX): Likewise.
33898 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33899 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33902 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33903 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33906 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33907 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33909 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33910 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33912 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33913 Defined to 1 if __x86_64__ isn't defined.
33914 (_STAT_VER_LINUX_OLD): New.
33915 (st_atime): Remove duplicate.
33916 (st_mtime): Likewise.
33917 (st_ctime): Likewise.
33919 2012-05-31 David S. Miller <davem@davemloft.net>
33921 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33924 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33926 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33930 * elf/dl-reloc.c: Include <_itoa.h>.
33931 (_dl_reloc_bad_type): Remove use of INTUSE.
33932 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33933 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33934 * stdio-common/psiginfo.c (psiginfo): Likewise.
33935 * stdio-common/psignal.c (psignal): Likewise.
33936 * string/strsignal.c (strsignal): Likewise.
33937 * include/signal.h (_sys_siglist): Declare hidden proto.
33938 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33939 INTVARDEF with libc_hidden_data_def.
33940 * stdio-common/itoa-udigits.c: Likewise.
33941 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33942 (_itoa_lower_digits_internal): Remove declaration.
33943 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33944 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33945 (_sys_sigabbrev_internal): Remove aliases.
33946 (_sys_siglist): Define hidden alias.
33948 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33953 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33956 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33957 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33959 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33960 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33961 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33962 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33963 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33964 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33966 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33967 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33968 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33970 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33978 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33979 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33980 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33982 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33983 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33984 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33985 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33986 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33987 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33989 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33990 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33992 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33993 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33995 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33996 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33997 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33999 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34000 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34002 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34004 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34005 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34006 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34008 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34010 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34012 2012-05-31 Joseph Myers <joseph@codesourcery.com>
34014 * math/math.h (M_El): Use two more decimal places.
34015 (M_LOG2El): Likewise.
34016 (M_LOG10El): Likewise.
34017 (M_LN2l): Likewise.
34018 (M_LN10l): Likewise.
34020 (M_PI_2l): Likewise.
34021 (M_PI_4l): Likewise.
34022 (M_1_PIl): Likewise.
34023 (M_2_PIl): Likewise.
34024 (M_2_SQRTPIl): Likewise.
34025 (M_SQRT2l): Likewise.
34026 (M_SQRT1_2l): Likewise.
34028 2012-05-31 David S. Miller <davem@davemloft.net>
34030 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34031 values between float registers.
34032 * sysdeps/sparc/sparc64/memset.S: Likewise.
34033 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34035 2012-05-31 Mike Frysinger <vapier@gentoo.org>
34037 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34038 -D_FORTIFY_SOURCE=1.
34039 (CPPFLAGS-tst-longjmp_chk.c): Define.
34040 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34041 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34042 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34043 CFLAGS-tst-wchar-h.c.
34045 2012-05-31 Marek Polacek <polacek@redhat.com>
34048 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34049 __endmntent_internal): Remove declaration.
34050 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34051 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34052 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34054 2012-05-30 David S. Miller <davem@davemloft.net>
34056 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34057 (___Q_simulate_exceptions): Use real FP ops rather than writing
34059 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34062 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34065 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34066 * sysdeps/x86/bits/xtitypes.h: This.
34068 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34069 * sysdeps/x86/bits/wordsize.h: This.
34071 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34072 * sysdeps/x86/bits/huge_vall.h: This.
34074 * sysdeps/i386/bits/select.h: Removed.
34075 * sysdeps/x86_64/bits/select.h: Renamed to ...
34076 * sysdeps/x86/bits/select.h: This.
34078 * sysdeps/i386/bits/setjmp.h: Removed.
34079 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34080 * sysdeps/x86/bits/setjmp.h: This.
34082 * sysdeps/i386/bits/mathdef.h: Removed.
34083 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34084 * sysdeps/x86/bits/mathdef.h: This.
34086 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34089 * include/sys/socket.h (__connect_internal)
34090 (__libc_sa_len_internal): Remove declaration.
34091 (__connect, __libc_sa_len): Declare hidden_proto.
34092 (SA_LEN): Remove use of INTUSE.
34093 * socket/connect.c: Add libc_hidden_def.
34094 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34095 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34096 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34098 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34099 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34100 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34101 of adding _internal alias.
34103 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34106 * sysdeps/i386/bits/link.h: Removed.
34107 * sysdeps/i386/bits/linkmap.h: Likewise.
34108 * sysdeps/x86_64/bits/link.h: Renamed to ...
34109 * sysdeps/x86/bits/link.h: This.
34110 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34111 * sysdeps/x86/bits/linkmap.h: This.
34113 * sysdeps/i386/bits/endian.h: Removed.
34114 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34115 * sysdeps/x86/bits/endian.h: This.
34117 * sysdeps/i386/bits/byteswap.h: Removed.
34118 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34119 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34120 * sysdeps/x86/bits/byteswap.h: This.
34121 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34122 * sysdeps/x86/bits/byteswap-16.h: This.
34123 * sysdeps/i386/Implies: Add x86.
34124 * sysdeps/x86_64/Implies: Likewise.
34126 2012-05-30 David S. Miller <davem@davemloft.net>
34128 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34129 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34130 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34131 (FP_TRAPPING_EXCEPTIONS): Define.
34132 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34133 (FP_TRAPPING_EXCEPTIONS): Define.
34134 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34135 subnormals only when inexact has been signalled or underflow
34136 exceptions are enabled.
34137 (_FP_PACK_CANONICAL): Likewise.
34139 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34142 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34143 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34145 2012-05-30 Richard Henderson <rth@twiddle.net>
34147 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34148 with #ifndef NOT_IN_libc.
34150 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34151 marked to avoid plt entry.
34153 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34156 * Makeconfig (default-abi): New macro.
34157 (abi-includes): Likewise.
34158 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34159 $(abi-$(default-abi)-lib-soname) for soname if defined.
34160 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34162 * Makefile (installed-stubs): Likewise.
34163 * include/stubs-biarch.h: Removed.
34164 * scripts/lib-names.awk: Only handle one library at a time.
34165 * scripts/soversions.awk: Remove WORDSIZE support.
34166 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34168 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34170 (syscall-list-default-condition): Likewise.
34171 (syscall-list-default-condition): Likewise.
34172 (syscall-list-includes): Likewise.
34173 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34174 syscall-list-* with abi-*. Handle undefined abi-variants.
34175 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34176 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34177 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34178 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34179 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34180 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34182 (syscall-list-32-options): Likewise.
34183 (syscall-list-32-condition): Likewise.
34184 (syscall-list-64-options): Likewise.
34185 (syscall-list-64-condition): Likewise.
34186 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34188 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34191 (abi-64-ld-soname): New macro.
34192 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34193 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34196 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34197 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34199 2012-05-30 Joseph Myers <joseph@codesourcery.com>
34201 * sysdeps/unix/sysv/linux/kernel-features.h
34202 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34203 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34204 include <kernel-features.h>.
34205 [!__NR_ftruncate64]: Remove conditional code.
34206 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34207 [__NR_ftruncate64]: Make code unconditional.
34208 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34209 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34210 include <kernel-features.h>.
34211 [!__NR_ftruncate64]: Remove conditional code.
34212 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34213 [__NR_ftruncate64]: Make code unconditional.
34214 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34216 include <kernel-features.h>.
34217 [!__NR_ftruncate64]: Remove conditional code.
34218 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34219 [__NR_ftruncate64]: Make code unconditional.
34220 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34222 include <kernel-features.h>.
34223 [!__NR_ftruncate64]: Remove conditional code.
34224 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34225 [__NR_ftruncate64]: Make code unconditional.
34226 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34228 * configure.in (libc_cv_fpie): Weaken to a compile test using
34229 LIBC_TRY_CC_OPTION.
34230 * configure: Regenerated.
34232 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34247 2012-05-27 David S. Miller <davem@davemloft.net>
34249 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34251 (__Q_simulate_exceptions): Return void. Change to simulate
34252 exceptions by writing into the %fsr.
34253 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34254 (__Qp_handle_exceptions): Likewise.
34256 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34257 __Qp_handle_exceptions.
34258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34259 __Qp_handle_exceptions.
34260 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34261 as unused and give dummy FP_RND_NEAREST initializer.
34262 (FP_INHIBIT_RESULTS): Define.
34263 (___Q_simulate_exceptions): Update declaration.
34264 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34266 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34267 as unused and give dummy FP_RND_NEAREST initializer.
34268 (__Qp_handle_exceptions): Update declaration.
34269 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34272 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34274 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34275 the temporary FPU control word.
34276 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34277 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34278 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34279 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34280 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34281 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34282 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34283 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34284 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34285 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34286 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34288 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34290 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34293 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34295 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34296 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34297 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34298 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34300 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34301 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34304 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34306 * po/h.po: Update from translation team.
34308 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34310 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34312 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34313 handling of denormals.
34314 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34315 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34316 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34317 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34318 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34319 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34320 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34323 2012-05-26 Marek Polacek <polacek@redhat.com>
34326 * math/libm-test.inc (fma_test): Don't always expect underflow
34329 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34332 * elf/tst-execstack.c: Include stackinfo.h.
34333 (do_test): Adjust test case to ensure that pthread_getattr_np
34334 behaviour remains the same after marking stack executable.
34336 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34338 * sysdeps/unix/sysv/linux/kernel-features.h
34339 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34340 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34342 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34343 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34344 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34346 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34347 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34349 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34351 * configure.in: Define the default includes to being none.
34352 * configure: Regenerated.
34354 2012-05-25 Roland McGrath <roland@hack.frob.com>
34356 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34357 * sysdeps/x86_64/setjmp.S: Likewise.
34358 * sysdeps/i386/bsd-setjmp.S: Likewise.
34359 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34360 * sysdeps/i386/setjmp.S: Likewise.
34361 * sysdeps/i386/__longjmp.S: Likewise.
34362 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34363 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34365 * include/stap-probe.h: New file.
34366 * configure.in: Handle --enable-systemtap.
34367 * configure: Regenerated.
34368 * config.h.in (USE_STAP_PROBE): New #undef.
34369 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34370 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34371 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34373 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34376 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34377 to 2.4.0 where earlier.
34378 * sysdeps/unix/sysv/linux/configure: Regenerated.
34379 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34380 <kernel-features.h>.
34381 [__ASSUME_32BITUIDS]: Make code unconditional.
34382 [!__ASSUME_32BITUIDS]: Remove conditional code.
34383 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34384 <kernel-features.h>.
34385 [__ASSUME_32BITUIDS]: Make code unconditional.
34386 [!__ASSUME_32BITUIDS]: Remove conditional code.
34387 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34388 [__ASSUME_32BITUIDS]: Make code unconditional.
34389 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34390 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34391 <kernel-features.h>.
34392 [__ASSUME_32BITUIDS]: Make code unconditional.
34393 [!__ASSUME_32BITUIDS]: Remove conditional code.
34394 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.c: Do not include
34403 <kernel-features.h>.
34404 [__ASSUME_32BITUIDS]: Make code unconditional.
34405 [!__ASSUME_32BITUIDS]: Remove conditional code.
34406 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34407 <kernel-features.h>.
34408 [__ASSUME_32BITUIDS]: Make code unconditional.
34409 [!__ASSUME_32BITUIDS]: Remove conditional code.
34410 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34411 <kernel-features.h>.
34412 [__ASSUME_32BITUIDS]: Make code unconditional.
34413 [!__ASSUME_32BITUIDS]: Remove conditional code.
34414 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34415 <kernel-features.h>.
34416 [__ASSUME_32BITUIDS]: Make code unconditional.
34417 [!__ASSUME_32BITUIDS]: Remove conditional code.
34418 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34419 <kernel-features.h>.
34420 [__ASSUME_32BITUIDS]: Make code unconditional.
34421 [!__ASSUME_32BITUIDS]: Remove conditional code.
34422 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34423 <kernel-features.h>.
34424 [__ASSUME_32BITUIDS]: Make code unconditional.
34425 [!__ASSUME_32BITUIDS]: Remove conditional code.
34426 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34427 <kernel-features.h>.
34428 [__ASSUME_32BITUIDS]: Make code unconditional.
34429 [!__ASSUME_32BITUIDS]: Remove conditional code.
34430 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34431 <kernel-features.h>.
34432 [__NR_setresgid] (__setresgid): Do not declare.
34433 [__ASSUME_32BITUIDS]: Make code unconditional.
34434 [!__ASSUME_32BITUIDS]: Remove conditional code.
34435 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34436 <kernel-features.h>.
34437 [__NR_setresuid] (__setresuid): Do not declare.
34438 [__ASSUME_32BITUIDS]: Make code unconditional.
34439 [!__ASSUME_32BITUIDS]: Remove conditional code.
34440 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34441 <kernel-features.h>.
34442 [__ASSUME_32BITUIDS]: Make code unconditional.
34443 [!__ASSUME_32BITUIDS]: Remove conditional code.
34444 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34445 <kernel-features.h>.
34446 [__ASSUME_32BITUIDS]: Make code unconditional.
34447 [!__ASSUME_32BITUIDS]: Remove conditional code.
34448 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34449 <kernel-features.h>.
34450 [__ASSUME_32BITUIDS]: Make code unconditional.
34451 [!__ASSUME_32BITUIDS]: Remove conditional code.
34452 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34453 <kernel-features.h>.
34454 [__ASSUME_32BITUIDS]: Make code unconditional.
34455 [!__ASSUME_32BITUIDS]: Remove conditional code.
34456 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34457 <kernel-features.h>.
34458 [__ASSUME_32BITUIDS]: Make code unconditional.
34459 [!__ASSUME_32BITUIDS]: Remove conditional code.
34460 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34461 <kernel-features.h>.
34462 [__ASSUME_32BITUIDS]: Make code unconditional.
34463 [!__ASSUME_32BITUIDS]: Remove conditional code.
34464 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34465 <kernel-features.h>.
34466 [__ASSUME_32BITUIDS]: Make code unconditional.
34467 [!__ASSUME_32BITUIDS]: Remove conditional code.
34468 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34469 <kernel-features.h>.
34470 [__ASSUME_32BITUIDS]: Make code unconditional.
34471 [!__ASSUME_32BITUIDS]: Remove conditional code.
34472 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34473 <kernel-features.h>.
34474 [__ASSUME_32BITUIDS]: Make code unconditional.
34475 [!__ASSUME_32BITUIDS]: Remove conditional code.
34476 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34477 <kernel-features.h>.
34478 [__ASSUME_32BITUIDS]: Make code unconditional.
34479 [!__ASSUME_32BITUIDS]: Remove conditional code.
34480 * sysdeps/unix/sysv/linux/kernel-features.h
34481 (__ASSUME_SETRESUID_SYSCALL): Remove.
34482 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34483 (__ASSUME_32BITUIDS): Likewise.
34484 (__ASSUME_LDT_WORKS): Likewise.
34485 (__ASSUME_O_DIRECTORY): Likewise.
34486 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34487 architecture but not kernel version.
34488 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34489 (__ASSUME_MMAP2_SYSCALL): Likewise.
34490 (__ASSUME_STAT64_SYSCALL): Likewise.
34491 (__ASSUME_IPC64): Likewise.
34492 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34493 <kernel-features.h>.
34494 [__ASSUME_32BITUIDS]: Make code unconditional.
34495 [!__ASSUME_32BITUIDS]: Remove conditional code.
34496 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34497 <kernel-features.h>.
34498 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34499 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34500 132096]: Remove conditional code.
34501 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34502 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34503 <kernel-features.h>.
34504 [__ASSUME_32BITUIDS]: Make code unconditional.
34505 [!__ASSUME_32BITUIDS]: Remove conditional code.
34506 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34507 <kernel-features.h>.
34508 [__ASSUME_32BITUIDS]: Make code unconditional.
34509 [!__ASSUME_32BITUIDS]: Remove conditional code.
34510 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34511 <kernel-features.h>.
34512 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34514 (__setresgid): Do not declare.
34515 [__ASSUME_32BITUIDS]: Make code unconditional.
34516 [!__ASSUME_32BITUIDS]: Remove conditional code.
34517 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34518 <kernel-features.h>.
34519 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34521 (__setresuid): Do not declare.
34522 [__ASSUME_32BITUIDS]: Make code unconditional.
34523 [!__ASSUME_32BITUIDS]: Remove conditional code.
34524 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34525 <kernel-features.h>.
34526 [__ASSUME_32BITUIDS]: Make code unconditional.
34527 [!__ASSUME_32BITUIDS]: Remove conditional code.
34528 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34529 <kernel-features.h>.
34530 [__ASSUME_32BITUIDS]: Make code unconditional.
34531 [!__ASSUME_32BITUIDS]: Remove conditional code.
34533 2012-05-25 Richard Henderson <rth@twiddle.net>
34535 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34536 dl_hwcap to ifunc resolver.
34537 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34539 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34540 dl_hwcap to ifunc resolver.
34541 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34543 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34546 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34547 for |x| <= 2**-26, not 2**-57.
34548 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34551 2012-05-24 Jeff Law <law@redhat.com>
34553 * stdio-common/Makefile (tests): Add bug25.
34554 * stdio-common/bug25.c: New test.
34556 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34559 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34560 multiple of MALLOC_ALIGNMENT in size.
34561 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34563 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34565 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34567 (FILENAME_MAX): Use macro-int-constant.
34568 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34569 (_IOFBF): Use macro-int-constant.
34570 (_IOLBF): Likewise.
34571 (_IONBF): Likewise.
34572 (SEEK_CUR): Likewise.
34573 (SEEK_END): Likewise.
34574 (SEEK_SET): Likewise.
34575 (TMP_MAX): Likewise.
34576 (EOF): Use macro-int-constant. Require < 0.
34577 (NULL): Use macro-constant. Require == 0.
34578 (stdin): Require type to be FILE *.
34579 (stdout): Likewise.
34580 (stderr): Likewise.
34581 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34582 macro-int-constant.
34583 (EXIT_SUCCESS): Likewise.
34584 (NULL): Use macro-constant. Require == 0.
34585 (RAND_MAX): Use macro-int-constant.
34586 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34587 [C99-based standards] (strtof): Require function.
34588 [C99-based standards] (strtold): Likewise.
34589 [C99-based standards] (strtoll): Likewise.
34590 [C99-based standards] (strtoull): Likewise.
34591 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34592 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34593 [ISO || ISO99 || ISO11] (math.h): Likewise.
34594 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34595 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34596 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34598 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34601 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34602 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34603 * intl/dgettext.c (DCGETTEXT): Likewise.
34604 * intl/gettext.c (DCGETTEXT): Likewise.
34605 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34606 * posix/regex_internal.h (gettext): Likewise.
34607 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34608 Remove declaration.
34609 * include/argz.h (__argz_count_internal)
34610 (__argz_stringify_internal): Remove declaration.
34611 (__argz_count, __argz_stringify): Declare hidden proto.
34612 * intl/dcgettext.c: Remove use of INTDEF.
34613 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34614 * string/argz-stringify.c: Likewise.
34615 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34616 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34617 Declare hidden proto.
34618 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34619 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34620 Declare hidden proto.
34621 * include/stdio.h (__asprintf_internal): Don't declare.
34622 (__asprintf): Don't define as macro. Declare hidden proto.
34623 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34624 (__fsetlocking): Declare hidden proto.
34625 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34626 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34628 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34629 (_IO_setlinebuf): Remove use of INTUSE.
34630 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34631 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34632 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34633 Remove declaration.
34634 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34635 (_IO_do_flush): Remove use of INTUSE.
34636 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34637 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34638 (_IO_adjust_column, _IO_least_wmarker)
34639 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34640 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34641 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34642 (_IO_default_doallocate, _IO_wdefault_doallocate)
34643 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34644 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34645 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34646 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34647 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34648 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34649 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34650 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34651 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34652 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34653 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34654 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34655 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34657 (_IO_flush_all_internal, _IO_adjust_column_internal)
34658 (_IO_default_uflow_internal, _IO_default_finish_internal)
34659 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34660 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34661 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34662 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34663 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34664 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34665 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34666 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34667 (_IO_file_close_internal, _IO_file_close_it_internal)
34668 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34669 (_IO_file_init_internal, _IO_file_attach_internal)
34670 (_IO_file_fopen_internal, _IO_file_read_internal)
34671 (_IO_file_sync_internal, _IO_file_seek_internal)
34672 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34673 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34674 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34675 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34676 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34677 (_IO_list_all_internal, _IO_link_in_internal)
34678 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34679 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34680 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34681 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34682 (_IO_do_write_internal, _IO_padn_internal)
34683 (_IO_getline_info_internal, _IO_getline_internal)
34684 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34685 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34686 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34687 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34688 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34689 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34690 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34691 with libc_hidden_ver, remove use of INTUSE.
34692 * libio/genops.c: Likewise.
34693 * libio/freopen.c: Likewise.
34694 * libio/freopen64.c: Likewise.
34695 * libio/iofclose.c: Likewise.
34696 * libio/iofdopen.c: Likewise.
34697 * libio/iofflush.c: Likewise.
34698 * libio/iofflush_u.c: Likewise.
34699 * libio/iofgets.c: Likewise.
34700 * libio/iofgets_u.c: Likewise.
34701 * libio/iofopen.c: Likewise.
34702 * libio/iofopncook.c: Likewise.
34703 * libio/iofread.c: Likewise.
34704 * libio/iofread_u.c: Likewise.
34705 * libio/ioftell.c: Likewise.
34706 * libio/iofwrite.c: Likewise.
34707 * libio/iogetline.c: Likewise.
34708 * libio/iogets.c: Likewise.
34709 * libio/iogetwline.c: Likewise.
34710 * libio/iopadn.c: Likewise.
34711 * libio/iopopen.c: Likewise.
34712 * libio/ioseekoff.c: Likewise.
34713 * libio/ioseekpos.c: Likewise.
34714 * libio/iosetbuffer.c: Likewise.
34715 * libio/iosetvbuf.c: Likewise.
34716 * libio/ioungetc.c: Likewise.
34717 * libio/ioungetwc.c: Likewise.
34718 * libio/iovdprintf.c: Likewise.
34719 * libio/iovsprintf.c: Likewise.
34720 * libio/iovsscanf.c: Likewise.
34721 * libio/memstream.c: Likewise.
34722 * libio/obprintf.c: Likewise.
34723 * libio/oldfileops.c: Likewise.
34724 * libio/oldiofclose.c: Likewise.
34725 * libio/oldiofdopen.c: Likewise.
34726 * libio/oldiofopen.c: Likewise.
34727 * libio/oldiopopen.c: Likewise.
34728 * libio/oldstdfiles.c: Likewise.
34729 * libio/putc.c: Likewise.
34730 * libio/setbuf.c: Likewise.
34731 * libio/setlinebuf.c: Likewise.
34732 * libio/stdfiles.c: Likewise.
34733 * libio/strops.c: Likewise.
34734 * libio/vasprintf.c: Likewise.
34735 * libio/vscanf.c: Likewise.
34736 * libio/vsnprintf.c: Likewise.
34737 * libio/vswprintf.c: Likewise.
34738 * libio/wfiledoalloc.c: Likewise.
34739 * libio/wfileops.c: Likewise.
34740 * libio/wgenops.c: Likewise.
34741 * libio/wmemstream.c: Likewise.
34742 * libio/wstrops.c: Likewise.
34743 * libio/__fpurge.c: Likewise.
34744 * libio/__fsetlocking.c: Likewise.
34745 * assert/assert.c: Likewise.
34746 * debug/fgets_chk.c: Likewise.
34747 * debug/fgets_u_chk.c: Likewise.
34748 * debug/fread_chk.c: Likewise.
34749 * debug/fread_u_chk.c: Likewise.
34750 * debug/gets_chk.c: Likewise.
34751 * debug/obprintf_chk.c: Likewise.
34752 * debug/vasprintf_chk.c: Likewise.
34753 * debug/vdprintf_chk.c: Likewise.
34754 * debug/vsnprintf_chk.c: Likewise.
34755 * debug/vsprintf_chk.c: Likewise.
34756 * malloc/mtrace.c: Likewise.
34757 * misc/error.c: Likewise.
34758 * misc/syslog.c: Likewise.
34759 * stdio-common/asprintf.c: Likewise.
34760 * stdio-common/fxprintf.c: Likewise.
34761 * stdio-common/getw.c: Likewise.
34762 * stdio-common/isoc99_fscanf.c: Likewise.
34763 * stdio-common/isoc99_scanf.c: Likewise.
34764 * stdio-common/isoc99_vfscanf.c: Likewise.
34765 * stdio-common/isoc99_vscanf.c: Likewise.
34766 * stdio-common/isoc99_vsscanf.c: Likewise.
34767 * stdio-common/printf-prs.c: Likewise.
34768 * stdio-common/printf_fp.c: Likewise.
34769 * stdio-common/printf_fphex.c: Likewise.
34770 * stdio-common/printf_size.c: Likewise.
34771 * stdio-common/putw.c: Likewise.
34772 * stdio-common/scanf.c: Likewise.
34773 * stdio-common/sprintf.c: Likewise.
34774 * stdio-common/tmpfile.c: Likewise.
34775 * stdio-common/vfprintf.c: Likewise.
34776 * stdio-common/vfscanf.c: Likewise.
34777 * stdlib/strfmon_l.c: Likewise.
34778 * sunrpc/openchild.c: Likewise.
34779 * sunrpc/xdr_stdio.c: Likewise.
34780 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34781 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34783 2012-05-24 Roland McGrath <roland@hack.frob.com>
34785 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34787 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34788 in the third column, to generate for the shared library an IFUNC
34789 that uses _dl_vdso_vsym.
34790 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34791 * Makeconfig (object-suffixes-noshared): New variable.
34793 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34794 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34795 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34796 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34799 * include/sys/time.h (__gettimeofday): Remove macro.
34800 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34801 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34803 (__gettimeofday): Add libc_hidden_def.
34804 (gettimeofday): Add libc_hidden_weak.
34805 * sysdeps/mach/gettimeofday.c: Likewise.
34806 * sysdeps/posix/gettimeofday.c: Likewise.
34807 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34808 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34809 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34810 (__gettimeofday_internal): Remove strong_alias.
34811 (__gettimeofday): Add libc_hidden_def.
34812 (gettimeofday): Add libc_hidden_weak.
34813 * sysdeps/unix/syscalls.list (gettimeofday):
34814 Remove __gettimeofday_internal alias.
34816 2012-05-24 Daniel Jacobowitz <drow@false.org>
34817 H.J. Lu <hongjiu.lu@intel.com>
34820 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34821 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34822 (largebin_index_32_big): New.
34823 (largebin_index): Use it for 16-byte alignment.
34824 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34825 correction with front_misalign.
34827 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34855 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34856 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34858 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34862 * math/libm-test.inc (exp_test): Add test from bug 14036.
34863 (pow_test): Add test from bug 10846.
34865 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34867 (special_function): Do not include flags in test name.
34868 (parse_args): Likewise.
34869 * sysdeps/i386/fpu/libm-test-ulps: Update.
34870 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34871 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34872 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34875 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34877 * math/libm-test.inc ("Philosophy"): Update comment about
34879 (UNDERFLOW_EXCEPTION): New macro.
34880 (UNDERFLOW_EXCEPTION_OK): Likewise.
34881 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34882 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34883 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34884 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34885 (INVALID_EXCEPTION_OK): Update value.
34886 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34887 (OVERFLOW_EXCEPTION_OK): Likewise.
34888 (IGNORE_ZERO_INF_SIGN): Likewise.
34889 (test_exceptions): Handle underflow exceptions.
34890 (acos_test): Update for underflow exception expectations.
34891 (cexp_test): Likewise.
34892 (clog_test): Likewise.
34893 (clog10_test): Likewise.
34894 (csqrt_test): Likewise.
34895 (ctan_test): Likewise.
34896 (ctanh_test): Likewise.
34897 (exp_test): Likewise.
34898 (exp10_test): Likewise.
34899 (exp2_test): Likewise.
34900 (expm1_test): Likewise.
34901 (fma_test): Likewise.
34902 (j0_test): Likewise.
34903 (jn_test): Likewise.
34904 (nexttoward_test): Likewise.
34905 (pow_test): Likewise.
34906 (scalbn_test): Likewise.
34907 (scalbln_test): Likewise.
34908 (tan_test): Likewise.
34909 (y1_test): Likewise.
34910 * sysdeps/i386/fpu/libm-test-ulps: Update.
34911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34913 2012-05-23 David S. Miller <davem@davemloft.net>
34915 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34916 (__libc_sigaction): Remove unused local variables.
34918 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34920 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34922 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34924 mktime: avoid signed integer overflow
34925 * time/mktime.c (__mktime_internal): Do not mishandle the case
34926 where diff == INT_MIN.
34928 mktime: simplify computation of average
34929 * time/mktime.c (ranged_convert): Use new time_t_avg function
34930 instead of rolling our own (probably-slower) code.
34932 mktime: do not assume signed right shift propagates sign bit
34933 * time/mktime.c (isdst_differ): New static function.
34934 (__mktime_internal): No need to normalize tm_isdst now.
34935 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34938 mktime: merge another wrapv change from gnulib
34939 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34940 from some compilers.
34942 mktime: remove incorrect attempt at unusual arithmetics
34943 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34944 The code didn't really work on such machines anyway.
34945 (TYPE_MINIMUM): Assume two's complement.
34946 (twos_complement_arithmetic): Verify that long_int and time_t
34947 are two's complement (or unsigned, in the latter case).
34949 mktime: check signed shifts on long_int and time_t, too
34950 * time/mktime.c (SHR): Check that shifts work as desired
34951 on the types long_int and time_t too, as SHR is used on
34954 mktime: do not assume 'long' is wide enough
34955 * time/mktime.c (verify): Move decl up.
34956 (long_int): New type.
34957 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34958 to remove assumption in the code that 'long' is wide enough to
34959 store year values. This assumption is not true on x32 and on
34960 some non-glibc platforms.
34962 mktime: merge wrapv change from gnulib
34963 * time/mktime.c (WRAPV): New macro.
34964 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34965 (guess_time_tm, __mktime_internal): Do not assume that signed
34966 integer overflow wraps around; modern compilers generate code
34967 where this assumption is no longer valid.
34969 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34971 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34972 Replace "jmp L(pseudo_end)" with "ret".
34973 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34976 2012-05-23 Andreas Jaeger <aj@suse.de>
34978 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34979 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34981 2012-05-23 Andreas Jaeger <aj@suse.de>
34982 Maximilian Attems <max@stro.at>
34984 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34987 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34989 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34990 code so that pseudo_end is just ret and the stack pointer is
34991 correct also for static library in error case.
34993 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34995 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34996 move to syscalls.list.
34997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35002 * manual/install.texi (Running make install): Do not mention Linux
35003 kernel version for which pt_chown is not needed.
35004 (Linux): Do not mention problems with nscd with 2.0 kernels.
35005 * INSTALL: Regenerated.
35007 2012-05-23 Andreas Jaeger <aj@suse.de>
35009 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35010 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35012 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35013 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35014 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35015 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35016 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35017 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35018 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35019 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35020 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35021 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35022 * sysdeps/unix/sysv/linux/bits/in.h
35023 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35025 2012-05-22 Roland McGrath <roland@hack.frob.com>
35027 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35028 (PREPARE_VERSION): Just use assert instead, it will be elided
35029 under [NDEBUG] anyway.
35031 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35033 * sysdeps/unix/sysv/linux/Makefile: Include
35034 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35035 (sysdep_routines): Remove sysctl.
35036 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35037 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35038 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35039 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35040 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35042 2012-05-22 Andreas Jaeger <aj@suse.de>
35044 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35045 that pseudo_end is just ret and the stack pointer is correct also
35046 for static library in error case.
35048 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35051 * nss/nsswitch.c (defconfig_entries): New variable.
35052 (__nss_database_lookup): Don't leak defconfig entries.
35053 (nss_parse_service_list): Don't leak on error paths.
35054 (free_database_entries): New function.
35055 (free_defconfig): New function.
35056 (free_mem): Move common code to free_database_entries.
35058 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35060 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35062 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35064 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35065 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35066 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35068 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35069 (INTERNAL_SYSCALL_TYPES): Likewise.
35070 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35071 (LOAD_REGS_TYPES_[1-6]): Likewise.
35072 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35073 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35075 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35077 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35078 copysignl for GLIBC_2_0.
35079 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35080 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35081 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35082 logbl for GLIBC_2_0.
35083 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35084 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35086 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35088 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35089 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35091 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35094 * time/mktime.c: Update copyright years.
35096 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35098 mktime: merge comment-quoting-style change from gnulib
35099 * time/mktime.c: Quote 'like this' in comments.
35100 The GNU coding standards suggest that we no longer quote `like this',
35101 as "`" and "'" are typically rendered asymmetrically nowadays.
35102 The typical gnulib style is to quote 'like this' when quoting
35103 code, and "like this" when quoting English.
35105 * time/mktime.c (compile-command): Add "-I.".
35107 mktime: merge mktime-internal.h change from gnulib
35108 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35110 mktime: merge time_r change from gnulib
35111 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35113 mktime: merge DEBUG change from gnulib
35114 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35115 case system <time.h> has a #define.
35117 mktime: merge <sys/types.h> change from gnulib
35118 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35119 since <time.t> is now guaranteed to define time_t.
35121 mktime: merge HAVE_CONFIG_H change from gnulib
35122 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35124 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35126 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35129 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35131 (struct rusage): Use anonymous union to pad each field to
35134 2012-05-21 David S. Miller <davem@davemloft.net>
35136 * Makefules (o-iterator): Remove .s cases.
35137 (compile-command.s): Delete.
35138 (COMPILE.s): Delete.
35139 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35141 2012-05-21 Joseph Myers <joseph@codesourcery.com>
35143 * configure.in (libc_cv_predef_stack_protector): Only consider
35144 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35145 * configure: Regenerated.
35147 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35150 New macro. Use R*LP on int and pointer.
35151 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35152 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35153 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35154 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35156 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35157 [__WORDSIZE_TIME64_COMPAT32] instead of
35158 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35159 (struct utmp): Likewise.
35160 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35161 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35163 (__WORDSIZE_TIME64_COMPAT32): This.
35164 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35165 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35166 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35167 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35168 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35169 (__WORDSIZE_TIME64_COMPAT32): New macro.
35171 2012-05-21 Andreas Jaeger <aj@suse.de>
35173 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35174 only if [SHARED]. Add prototype for __wcschr_ia32.
35176 2012-05-21 Roland McGrath <roland@hack.frob.com>
35178 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35179 of %rbp unmolested in the jmp_buf while mangling the low bits.
35180 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35181 unmolested high bits of %rbp while demangling the low bits.
35182 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35184 2012-05-21 Andreas Jaeger <aj@suse.de>
35186 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35187 * sunrpc/svc_simple.c: Use it for registerrpc.
35188 * sunrpc/xcrypt.c: Use it for passwd2des.
35190 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35192 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35194 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35195 Don't define if [__SYSCALL_WORDSIZE != 32].
35196 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35199 2012-05-21 Bruno Haible <bruno@clisp.org>
35200 Andreas Jaeger <aj@suse.de>
35202 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35203 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35204 inptr and inend for must_buffer_ch.
35205 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35206 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35207 * stdio-common/Makefile (tests): Remove bug15.
35208 (bug15-ENV): Remove macro.
35209 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35212 2012-05-19 Andreas Jaeger <aj@suse.de>
35213 Roland McGrath <roland@hack.frob.com>
35215 * manual/contrib.texi: Completely rewritten. It contains now an
35216 alphabetical list of contributors and their contributions.
35218 2012-05-21 Richard Henderson <rth@twiddle.net>
35220 * misc/getauxval.c (__getauxval): Use unsigned long int.
35221 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35222 (getauxval): Use unsigned long int.
35224 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35226 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35228 2012-05-21 Roland McGrath <roland@hack.frob.com>
35230 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35231 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35232 __alignof__ (long double).
35234 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35238 2012-05-20 Richard Henderson <rth@twiddle.net>
35240 * misc/getauxval.c: New file.
35241 * misc/sys/auxv.h: New file.
35242 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35243 (routines): Add getauxval.
35244 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35245 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35246 * elf/dl-sysdep.c (_dl_auxv): Remove.
35247 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35248 * elf/dl-support.c (_dl_auxv): New variable.
35249 (_dl_aux_init): Initialize it.
35250 * manual/startup.texi (Auxiliary Vector): New node.
35251 * sysdeps/generic/bits/hwcap.h: New file.
35252 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35253 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35254 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35255 * sysdeps/sparc/sysdep.h: ... here. Include it.
35256 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35257 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35263 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35269 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35273 2012-05-19 David S. Miller <davem@davemloft.net>
35275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35277 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35280 * math/s_ccosh.c: Include <float.h>
35281 (__ccosh): Avoid internal overflow calculating sinh and cosh
35282 values before multiplying by sin and cos values.
35283 * math/s_ccoshf.c: Likewise.
35284 * math/s_ccoshl.c: Likewise.
35285 * math/s_csin.c: Likewise.
35286 * math/s_csinf.c: Likewise.
35287 * math/s_csinl.c: Likewise.
35288 * math/s_csinh.c: Likewise.
35289 * math/s_csinhf.c: Likewise.
35290 * math/s_csinhl.c: Likewise.
35291 * math/libm-test.inc (ccos_test): Add more tests.
35292 (ccosh_test): Likewise.
35293 (csin_test): Likewise.
35294 (csinh_test): Likewise.
35295 * sysdeps/i386/fpu/libm-test-ulps: Update.
35296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35298 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35300 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35301 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35303 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35305 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35307 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35308 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35309 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35310 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35311 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35312 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35313 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35314 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35315 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35316 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35317 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35318 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35319 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35320 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35321 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35322 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35323 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35324 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35325 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35326 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35327 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35328 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35329 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35330 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35331 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35332 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35333 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35334 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35335 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35336 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35337 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35339 2012-05-18 Andreas Jaeger <aj@suse.de>
35341 * csu/.gitignore: Delete.
35343 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35345 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35346 (timex): Use __syscall_slong_t.
35348 2012-05-18 Andreas Jaeger <aj@suse.de>
35349 Carlos O'Donell <carlos_odonell@mentor.com>
35351 * manual/install.texi (Configuring and compiling): Update
35352 description about files modified in the source directory.
35353 * INSTALL: Regenerated.
35355 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35357 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35358 value. Use "or" to set return value to -1.
35359 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35360 negate return value.
35362 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35364 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35365 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35366 failure if the compiler has Graphite support disabled.
35367 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35369 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35370 (CFLAGS-memmove.c): Likewise.
35371 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35374 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35376 * sysdeps/x86_64/x32/_itoa.h: New file.
35378 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35379 getdents system call only if kernel and user dirents have the
35380 same d_ino and d_off.
35382 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35383 LLONG_MAX != LONG_MAX.
35384 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35385 (_fitoa_word): Likewise.
35387 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35389 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35390 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35391 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35393 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35394 include <bits/wordsize.h>. Check __x86_64__ instead of
35396 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35397 if __x86_64__ is defined. Use anonymous union on fpstate.
35399 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35402 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35404 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35405 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35406 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35407 Refer to _rtld_local_ro instead of _rtld_global_ro.
35408 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35410 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35412 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35414 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35415 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35416 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35418 * sysdeps/powerpc/powerpc32/dl-machine.c
35419 (__elf_machine_runtime_setup) [PROF]: Don't reference
35422 2012-05-18 Andreas Jaeger <aj@suse.de>
35424 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35425 function only available for GCCs before 3.4 since GCC 3.4
35426 introduced a builtin.
35428 (llrintf): Likewise.
35429 (llrint): Likewise.
35436 (nearbyint): Likewise.
35437 (nearbyintf): Likewise.
35441 (floorf): Likewise.
35443 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35445 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35446 on both fields and cast pointer to __syscall_ulong_t.
35448 * bits/types.h (__fsword_t): New type.
35449 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35450 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35451 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35452 (__FSWORD_T_TYPE): Likewise.
35453 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35454 (__FSWORD_T_TYPE): Likewise.
35455 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35456 (__FSWORD_T_TYPE): Likewise.
35457 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35458 (__FSWORD_T_TYPE): Likewise.
35459 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35460 __SWORD_TYPE with __fsword_t.
35461 (statfs64): Likewise.
35463 2012-05-17 David S. Miller <davem@davemloft.net>
35465 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35467 2012-05-17 Andreas Jaeger <aj@suse.de>
35469 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35472 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35474 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35476 2012-05-17 Andreas Jaeger <aj@suse.de>
35478 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35481 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35483 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35485 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35487 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35488 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35490 2012-05-17 Andreas Jaeger <aj@suse.de>
35491 Carlos O'Donell <carlos_odonell@mentor.com>
35494 * sysdeps/x86_64/multiarch/init-arch.h
35495 (bit_YMM_Usable): Rename to...
35496 (bit_AVX_Usable): ... this.
35497 (bit_FMA4_Usable): New macro.
35498 (bit_XMM_state): New macro.
35499 (bit_YMM_state): New macro.
35500 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35501 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35502 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35503 (CPUID_OSXSAVE): New macro.
35504 (CPUID_AVX): New macro.
35505 (CPUID_FMA4): New macro.
35506 (index_YMM_Usable): Rename to...
35507 (index_AVX_Usable): ... this.
35508 (HAS_AVX): Use HAS_ARCH_FEATURE.
35509 (HAS_FMA4): Likewise.
35510 (HAS_YMM_USABLE): Remove.
35511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35512 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35514 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35515 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35516 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35517 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35518 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35520 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35522 * math/libm-test.c: Support platforms without multiple rounding modes.
35523 * math/bug-nextafter.c: Support platforms without FP exceptions.
35524 * math/bug-nexttoward.c: Likewise.
35525 * math/test-fenv.c: Likewise.
35526 * math/test-misc.c: Likewise.
35527 * stdlib/bug-getcontext.c: Likewise.
35529 2012-05-17 Andreas Jaeger <aj@suse.de>
35531 * manual/examples/search.c (critter_cmp): Change signature to
35533 * manual/string.texi (Collation Functions): Likewise.
35535 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35537 * bits/types.h: Fold copyright years.
35538 * bits/typesizes.h: Likewise.
35539 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35540 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35541 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35542 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35543 * time/time.h: Likewise.
35545 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35548 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35549 in instead of returning them. Return void.
35550 (__libc_mallinfo): Accumulate over all arenas.
35551 (__malloc_stats): Adjust for change in int_mallinfo interface.
35553 2012-05-16 Roland McGrath <roland@hack.frob.com>
35556 * configure.in (NM): Add AC_CHECK_TOOL for it.
35557 (libc_extra_cflags): New substituted variable.
35558 Check for -fstack-protector being used implicitly.
35559 * configure: Regenerated.
35560 * config.make.in (config-extra-cflags): New variable,
35561 gets @libc_extra_cflags@.
35562 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35565 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35566 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35567 * configure: Regenerated.
35568 * config.make.in (CPPUNDEFS): New substituted variable.
35569 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35570 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35571 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35573 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35575 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35576 (mq_attr): Use __syscall_slong_t.
35578 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35580 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35581 Check __x86_64__ instead of __WORDSIZE.
35582 (_STAT_VER_LINUX): Likewise.
35583 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35584 __syscall_ulong_t and __syscall_slong_t.
35585 (stat64): Likewise.
35587 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35589 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35591 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35593 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35595 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35597 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35600 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35601 include <bits/wordsize.h>. Check __x86_64__ instead of
35603 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35605 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35607 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35608 include <bits/wordsize.h>. Check __x86_64__ instead of
35610 (user_regs_struct): Use "__extension__ unsigned long long"
35611 instead of "unsigned long" if __x86_64__ is defined.
35612 (user): Likewise. Pad after pointer field if __ILP32__ is
35615 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35617 * configure.in (makeinfo): Require version 4.5 or later. Allow
35619 * configure: Regenerated.
35620 * manual/install.texi (texinfo): Increase version requirement to
35622 * INSTALL: Regenerated.
35624 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35626 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35628 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35630 * sysdeps/x86_64/x32/ffs.c: New file.
35632 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35634 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35635 defined. Use __syscall_ulong_t.
35636 (shminfo): Use __syscall_ulong_t.
35637 (shm_info): Likewise.
35639 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35642 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35644 (msgqnum_t): Use __syscall_ulong_t.
35645 (msglen_t): Likewise.
35646 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35649 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35650 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35652 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35654 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35655 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35657 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35660 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35661 include <bits/wordsize.h>. Check __x86_64__ instead of
35664 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35665 "unsigned long long int" if __x86_64__ is defined.
35666 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35668 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35669 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35670 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35672 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35674 (GET_PC): Cast to uintptr_t first.
35675 (GET_FRAME): Likewise.
35676 (GET_STACK): Likewise.
35678 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35679 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35680 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35681 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35682 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35683 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35684 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35685 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35686 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35687 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35688 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35689 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35690 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35691 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35692 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35693 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35694 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35695 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35696 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35697 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35698 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35699 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35700 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35701 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35702 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35703 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35704 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35705 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35706 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35708 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35710 * Makerules (+depfiles): Also collect depfiles from .oS in
35712 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35713 .oS, $(libnldbl-routines)).
35715 * Makerules (native-compile-mkdep-flags): Define.
35716 * sunrpc/Makefile (extra-objs): Add $(addprefix
35717 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35718 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35719 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35720 calling $(make-target-directory).
35722 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35724 * bits/types.h (__snseconds_t): Removed.
35725 * time/time.h (struct timespec): Replace __snseconds_t with
35727 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35728 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35730 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35731 (__SNSECONDS_T_TYPE): Likewise.
35732 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35733 (__SNSECONDS_T_TYPE): Likewise.
35734 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35735 (__SNSECONDS_T_TYPE): Likewise.
35737 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35739 * sysdeps/mach/hurd/bits/typesizes.h
35740 (__SYSCALL_SLONG_TYPE): New macro.
35741 (__SYSCALL_ULONG_TYPE): Likewise.
35743 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35745 * bits/types.h (__syscall_slong_t): New type.
35746 (__syscall_ulong_t): Likewise.
35748 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35749 (__SYSCALL_ULONG_TYPE): Likewise.
35750 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35751 (__SYSCALL_SLONG_TYPE): Likewise.
35752 (__SYSCALL_ULONG_TYPE): Likewise.
35753 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35754 (__SYSCALL_SLONG_TYPE): Likewise.
35755 (__SYSCALL_ULONG_TYPE): Likewise.
35756 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35757 (__SYSCALL_SLONG_TYPE): Likewise.
35758 (__SYSCALL_ULONG_TYPE): Likewise.
35760 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35762 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35763 Add sigaltstack-offsets.sym.
35764 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35765 <sigaltstack-offsets.h>.
35766 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35767 longjmp_msg pointer.
35768 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35769 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35771 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35773 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35775 * elf/stackguard-macros.h: Remove file.
35776 * sysdeps/generic/stackguard-macros.h: New file.
35777 * sysdeps/i386/stackguard-macros.h: Likewise.
35778 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35779 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35780 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35781 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35782 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35783 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35784 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35785 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35786 <elf/stackguard-macros.h>.
35789 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35790 __aligned__ in attribute.
35791 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35792 (gregset_t): Likewise.
35794 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35796 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35797 * sysdeps/x86_64/64/Implies-after: Here. New file.
35798 * sysdeps/x86_64/x32/Implies-after: New file.
35800 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35802 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35803 and access return value for _dl_profile_fixup. Use R10_LP to
35806 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35808 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35810 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35812 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35813 * sysdeps/x86_64/x32/sysdep.h: New file.
35815 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35817 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35818 * sysdeps/x86_64/setjmp.S: Likewise.
35820 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35822 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35823 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35824 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35825 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35826 remove unused global constant.
35828 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35830 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35831 include of <not-cancel.h>.
35833 2012-05-15 Roland McGrath <roland@hack.frob.com>
35835 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35837 2012-05-15 Jeff Law <law@redhat.com>
35838 Andreas Jaeger <aj@suse.de>
35841 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35843 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35844 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35845 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35846 code changing __hst_map_handle.map.
35848 2012-05-15 Roland McGrath <roland@hack.frob.com>
35850 * configure.in (sysnames): Look for Implies-before and Implies-after
35852 * configure: Regenerated.
35854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35856 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35857 8-byte data alignment with LP_SIZE alignment.
35859 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35861 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35864 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35866 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35868 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35870 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35871 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35872 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35874 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35876 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35878 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35879 (stackinfo_sub_sp): Likewise.
35881 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35883 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35886 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35888 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35891 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35893 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35896 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35898 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35902 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35903 into R11_LP and load __x86_64_shared_cache_size_half into
35906 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35908 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35911 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35913 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35915 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35917 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35919 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35920 powerpc32/power7/fpu/s_logb.c via #include.
35921 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35922 powerpc32/power7/fpu/s_logbf.c via #include.
35923 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35924 powerpc32/power7/fpu/s_logbl.c via #include.
35926 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35928 * README.libm: Remove file.
35930 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35932 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35933 count for x32. Use R*_LP and omit operand-size suffix.
35935 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35937 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35938 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35939 * sysdeps/x86_64/x32/shlib-versions: New file.
35941 2012-05-14 Roland McGrath <roland@hack.frob.com>
35943 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35944 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35945 Use _dl_fatal_printf instead.
35947 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35949 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35950 set if not set by the user. Do not allow for being unset.
35951 * sysdeps/unix/sysv/linux/configure: Regenerated.
35953 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35955 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35956 the `q' suffix from lea and replace .quad with ASM_ADDR.
35958 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35960 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35961 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35963 (PTR_DEMANGLE): Likewise.
35965 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35967 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35969 (ASM_ADDR): Likewise.
35970 (RAX_LP): Likewise.
35971 (RBP_LP): Likewise.
35972 (RBX_LP): Likewise.
35973 (RCX_LP): Likewise.
35974 (RDI_LP): Likewise.
35975 (RSI_LP): Likewise.
35976 (RSP_LP): Likewise.
35979 (R10_LP): Likewise.
35980 (R10_LP): Likewise.
35981 (R11_LP): Likewise.
35982 (R12_LP): Likewise.
35983 (R13_LP): Likewise.
35984 (R14_LP): Likewise.
35985 (R15_LP): Likewise.
35987 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35989 * sysdeps/x86_64/x32/dl-machine.h: New file.
35991 2012-05-14 Andreas Jaeger <aj@suse.de>
35993 * manual/Makefile (subdir): Remove export of subdir.
35994 (all): Remove target.
35995 (.PHONY): Remove all from list.
35996 (mkinstalldirs): Remove.
35997 (.PHONY): Remove installdirs from list.
35998 ($(inst_infodir)/libc.info): Use make-target-directory.
35999 (installdirs): Remove.
36000 (subdir_%): Remove.
36001 (glibc-targets): Remove.
36004 ($(objpfx)stubs ../po/manual.pot): Remove.
36005 ($(objpfx)stamp%): Remove.
36006 (make-target-directory): Remove.
36007 (subdir_install): Remove.
36008 (routines): Remove.
36015 * manual/.gitignore: Remove, it's not needed anymore.
36016 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36018 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36020 (texis): Renamed to $(objpfx)texis.
36021 (texis-path): New, contains path to generated files.
36022 (chapters.%): Use texis-path for complete path, add extra argument
36024 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36025 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36026 (summary,texi, stamp-summary): Use complete path of
36027 files. Generate files in build dir.
36028 (dir-add.texi): Build in build dir.
36029 (libm-err.texi,stamp-libm-err): Likewise.
36030 (version.texi, stamp-version): Likewise.
36031 (.%c.texi): Likewise.
36032 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36033 (mostlyclean): Remove target.
36034 (realclean): Remove target.
36035 (generated): Add new variable with contents from mostlyclean and
36036 realclean, remove entries duplicated in common-mostlyclean, add
36037 stamp-libm-err and stamp-version.
36038 (generated-dirs): Add libc directory.
36039 ($(inst_infodir)/libc.info): Install files from build dir.
36041 * manual/install.texi (Configuring and compiling): Adjust since
36042 the info files are not part of the tar ball anymore.
36044 2012-05-14 Andreas Jaeger <aj@suse.de>
36046 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36049 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36052 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36053 to 2.2.0 where earlier.
36054 * sysdeps/unix/sysv/linux/configure: Regenerated.
36055 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36056 Remove conditional code.
36057 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36058 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36059 Remove conditional code.
36060 [!__NR_lchown]: Likewise.
36061 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36062 [__NR_lchown]: Likewise.
36063 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36064 comment referencing __ASSUME_LCHOWN_SYSCALL.
36065 * sysdeps/unix/sysv/linux/i386/sigaction.c
36066 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36067 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36068 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36069 Remove conditional code.
36070 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36071 (__protocol_available): Remove #if 0 code.
36072 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36074 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36075 * sysdeps/unix/sysv/linux/kernel-features.h
36076 (__ASSUME_GETCWD_SYSCALL): Don't define.
36077 (__ASSUME_REALTIME_SIGNALS): Likewise.
36078 (__ASSUME_PREAD_SYSCALL): Likewise.
36079 (__ASSUME_PWRITE_SYSCALL): Likewise.
36080 (__ASSUME_POLL_SYSCALL): Likewise.
36081 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36082 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36084 (__ASSUME_SIOCGIFNAME): Don't define.
36085 (__ASSUME_MSG_NOSIGNAL): Likewise.
36086 (__ASSUME_SENDFILE): Define unconditionally.
36087 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36088 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36090 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36091 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36092 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36093 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36094 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36095 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36096 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36098 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36099 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36101 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36102 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36104 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36105 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36107 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36108 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36110 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36111 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36113 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36114 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36116 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36117 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36119 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36120 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36121 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36122 Remove conditional code.
36123 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36124 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36125 Remove conditional code.
36126 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36127 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36128 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36129 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36130 Remove conditional code.
36131 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36132 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36133 Remove conditional code.
36134 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36135 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36136 Remove conditional code.
36137 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36138 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36139 Remove conditional code.
36140 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36141 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36142 Remove conditional code.
36143 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36144 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36145 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36146 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36147 * sysdeps/unix/sysv/linux/sigaction.c
36148 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36149 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36150 * sysdeps/unix/sysv/linux/sigpending.c
36151 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36152 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36153 * sysdeps/unix/sysv/linux/sigprocmask.c
36154 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36155 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36156 * sysdeps/unix/sysv/linux/sigsuspend.c
36157 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36158 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36159 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36160 (__libc_missing_rt_sigs): Remove.
36161 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36162 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36163 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36164 Remove conditional code.
36165 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36166 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36168 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36169 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36170 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36171 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36173 2012-05-14 Andreas Jaeger <aj@suse.de>
36175 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36176 it's not used in glibc.
36177 (__coshm1): Likewise.
36178 (__acosh1p): Likewise.
36181 * manual/string.texi (Copying and Concatenation): Add missing
36182 variable in concat example.
36183 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36185 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36188 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36189 __builtin_clzl with __builtin_clzll.
36191 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36194 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36197 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36199 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36200 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36201 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36202 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36204 2012-05-14 Mike Frysinger <vapier@gentoo.org>
36206 * NEWS: Update ia64 info.
36208 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36210 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36213 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36215 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36216 * sysdeps/unix/syscalls.list (dup3): Likewise.
36217 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36218 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36220 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36222 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36223 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36225 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36227 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36229 (TLS_IE): Use mov/add instead of movq/addq to load thread
36231 (TLS_GD_PREFIX): New.
36234 2012-05-11 David S. Miller <davem@davemloft.net>
36236 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36237 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36238 (_FPU_SETCW): Likewise.
36240 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36242 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36243 is 32-byte aligned.
36245 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36248 * iconvdata/gb18030.c: Update tables.
36249 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36250 characters specially.
36251 (BODY for TO_LOOP): Add encoding of missing ranges.
36253 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36256 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36257 * sysdeps/mach/hurd/dup3.c: Likewise.
36258 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36259 * sysdeps/powerpc/memmove.c:: Likewise.
36261 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36263 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36264 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36266 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36268 * elf/elf.h (R_X86_64_RELATIVE64): New.
36269 (R_X86_64_NUM): Updated.
36270 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36271 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36272 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36273 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36274 tst-quad1pie tst-quad2pie
36275 (modules-names): Add tst-quadmod1 tst-quadmod2.
36276 ($(objpfx)tst-quad1): New dependency.
36277 ($(objpfx)tst-quad2): Likewise.
36278 ($(objpfx)tst-quad1pie): Likewise.
36279 ($(objpfx)tst-quad2pie): Likewise.
36280 * sysdeps/x86_64/tst-quad1.c: New file.
36281 * sysdeps/x86_64/tst-quad1pie.c: New file.
36282 * sysdeps/x86_64/tst-quad2.c: Likewise.
36283 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36284 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36285 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36286 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36287 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36289 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36291 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36292 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36293 * streams/stropts.h (t_scalar_t): Define type.
36295 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36296 (_PATH_PRESERVE): Set to "/var/lib".
36297 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36299 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36302 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36303 if __dir_mkfile succeeded.
36305 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36306 checking for _hurd_dtablesize. Unlock it right after having
36307 finished _hurd_dtable allocation.
36309 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36311 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36312 * sysdeps/mach/hurd/configure: Regenerated.
36313 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36314 special-casing to...
36315 * sysdeps/gnu/configure.in: ... this new file.
36316 * sysdeps/unix/sysv/linux/configure: Regenerated.
36317 * sysdeps/gnu/configure: New generated file.
36319 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36320 for Linux: use nsec instead of usec, as well as:
36321 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36322 members of type struct timespec.
36323 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36325 (struct stat64): Likewise.
36326 (_STATBUF_ST_NSEC): New macro.
36327 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36329 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36330 __strtoul_internal rather than strtoul.
36332 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36334 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36337 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36339 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36340 which preserves existing values.
36341 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36343 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36345 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36346 TIMEOUT values. Return EINVAL for NFDS values either negative or
36347 greater than FD_SETSIZE.
36349 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36351 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36352 allocated, call __vm_protect to finish enabling the existing space, and
36353 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36354 allocate the remainder.
36356 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36358 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36359 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36361 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36363 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36364 sysdeps/mach/hurd/readlink.c.
36366 * posix/tst-sysconf.c (posix_options): Only use
36367 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36368 _POSIX_SYNCHRONIZED_IO when they are defined
36369 * sysdeps/mach/hurd/bits/posix_opt.h:
36370 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36371 (_XOPEN_REALTIME): Undefine macro.
36372 (_XOPEN_REALTIME_THREADS): Undefine macro.
36373 (_XOPEN_SHM): Undefine macro.
36374 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36376 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36378 (_POSIX_ASYNC_IO): Undefine macro.
36379 (_POSIX_PRIORITIZED_IO): Undefine macro.
36380 (_POSIX_SPIN_LOCKS): Define macro to -1.
36382 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36383 SA_NODEFER, SA_RESETHAND.
36384 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36385 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36388 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36390 * elf/Makefile (pldd-modules): Define unconditionally.
36392 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36394 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36396 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36398 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36399 Return ENOENT when name is empty.
36400 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36402 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36404 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36406 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36408 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36410 Fix mlock in all cases except non-readable pages.
36411 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36412 instead of VM_PROT_ALL as parameter to __vm_wire function.
36414 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36415 (__mkdir): When path is `/', just fail with EEXIST.
36416 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36418 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36420 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36421 <sys/uio.h> (for writev).
36422 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36423 and <sys/param.h> (for MIN).
36425 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36427 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36428 REQUESTED_TIME. Properly set the remaining time and return EINTR
36431 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36433 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36434 Depend on against $(link-rpcuserlibs).
36436 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36438 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36439 (__libc_stack_end): Do not use attribute_relro.
36440 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36441 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36442 to libthread-provided value.
36443 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36446 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36449 * bits/libc-lock.h (__libc_once_get): New macro.
36450 * sysdeps/mach/bits/libc-lock.h: Likewise.
36451 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36452 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36453 instead of using implementation details.
36455 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36456 * libio/freopen.c: Likewise.
36457 * libio/freopen64.c: Likewise.
36458 * misc/syslog.c: Likewise.
36459 * nscd/connections.c: Likewise.
36460 * nscd/netgroupcache.c: Likewise.
36461 * sysdeps/posix/getcwd.c: Likewise.
36463 2012-05-10 Roland McGrath <roland@hack.frob.com>
36465 * math/w_ilogbf.c: Add #include <limits.h>.
36467 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36469 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36470 path instead of returning without unlocking.
36472 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36473 immediate-write ioctls.
36474 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36476 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36478 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36479 __builtin_frame_address instead of making assumptions about the
36480 location of the return address relative to DATA. Force early load of
36481 the return address.
36482 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36483 __builtin_frame_address.
36486 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36487 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36488 implement dup3 and do some further code clean-ups.
36489 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36490 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36492 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36494 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36496 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36497 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36498 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36499 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36500 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36503 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36504 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36505 when handler == SIG_ERR, not when handler != SIG_ERR.
36507 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36509 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36510 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36513 accept4 for GNU Hurd.
36514 * include/sys/socket.h (__libc_accept4): New prototype.
36515 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36516 to implement __libc_accept4.
36517 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36519 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36521 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36522 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36523 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36524 signal-defines.sym.
36526 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36528 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36530 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36532 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36533 assertion on O_CLOEXEC flag.
36534 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36535 * hurd/intern-fd.c: Likewise.
36536 * hurd/port2fd.c: Likewise.
36538 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36541 * bits/in.h (IPV6_PKTINFO): Define new macro.
36542 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36544 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36549 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36550 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36551 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36552 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36553 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36554 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36555 * math/libm-test.inc (logb_test) : Additional logb tests.
36557 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36558 Andreas Jaeger <aj@suse.de>
36560 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36561 * configure: Regenerated.
36562 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36563 * config.make.in (link-obsolete-rpc): New substituted variable.
36564 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36565 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36566 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36567 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36568 so that libc.a contains the symbols.
36569 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36570 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36571 * sunrpc/auth_none.c: Likewise.
36572 * sunrpc/auth_unix.c: Likewise.
36573 * sunrpc/authdes_prot.c: Likewise.
36574 * sunrpc/authuxprot.c: Likewise.
36575 * sunrpc/clnt_gen.c: Likewise.
36576 * sunrpc/clnt_perr.c: Likewise.
36577 * sunrpc/clnt_raw.c: Likewise.
36578 * sunrpc/clnt_simp.c: Likewise.
36579 * sunrpc/clnt_tcp.c: Likewise.
36580 * sunrpc/clnt_udp.c: Likewise.
36581 * sunrpc/clnt_unix.c: Likewise.
36582 * sunrpc/des_crypt.c: Likewise.
36583 * sunrpc/des_soft.c: Likewise.
36584 * sunrpc/get_myaddr.c: Likewise.
36585 * sunrpc/key_call.c: Likewise.
36586 * sunrpc/key_prot.c: Likewise.
36587 * sunrpc/netname.c: Likewise.
36588 * sunrpc/pm_getmaps.c: Likewise.
36589 * sunrpc/pm_getport.c: Likewise.
36590 * sunrpc/pmap_clnt.c: Likewise.
36591 * sunrpc/pmap_prot.c: Likewise.
36592 * sunrpc/pmap_prot2.c: Likewise.
36593 * sunrpc/pmap_rmt.c: Likewise.
36594 * sunrpc/publickey.c: Likewise.
36595 * sunrpc/rpc_cmsg.c: Likewise.
36596 * sunrpc/rpc_common.c: Likewise.
36597 * sunrpc/rpc_dtable.c: Likewise.
36598 * sunrpc/rpc_prot.c: Likewise.
36599 * sunrpc/rpc_thread.c: Likewise.
36600 * sunrpc/rtime.c: Likewise.
36601 * sunrpc/svc.c: Likewise.
36602 * sunrpc/svc_auth.c: Likewise.
36603 * sunrpc/svc_raw.c: Likewise.
36604 * sunrpc/svc_run.c: Likewise.
36605 * sunrpc/svc_tcp.c: Likewise.
36606 * sunrpc/svc_udp.c: Likewise.
36607 * sunrpc/svc_unix.c: Likewise.
36608 * sunrpc/svcauth_des.c: Likewise.
36609 * sunrpc/xcrypt.c: Likewise.
36610 * sunrpc/xdr.c: Likewise.
36611 * sunrpc/xdr_array.c: Likewise.
36612 * sunrpc/xdr_float.c: Likewise.
36613 * sunrpc/xdr_intXX_t.c: Likewise.
36614 * sunrpc/xdr_mem.c: Likewise.
36615 * sunrpc/xdr_rec.c: Likewise.
36616 * sunrpc/xdr_ref.c: Likewise.
36617 * sunrpc/xdr_sizeof.c: Likewise.
36618 * sunrpc/xdr_stdio.c: Likewise.
36620 2012-05-10 Roland McGrath <roland@hack.frob.com>
36622 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36623 change. Update copyright years.
36625 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36627 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36629 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36630 Joseph Myers <joseph@codesourcery.com>
36631 Paul Pluzhnikov <ppluzhnikov@google.com>
36634 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36636 [cross-compiling] (extra-libs): Likewise.
36637 [cross-compiling] (extra-libs-others): Likewise.
36638 [cross-compiling] (librpcsvc-routines): Likewise.
36639 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36640 [cross-compiling] (omit-deps): Likewise.
36641 (sunrpc-CPPFLAGS): New variable.
36642 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36643 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36644 (cross-rpcgen-objs): New variable.
36645 (extra-objs): Append $(cross-rpcgen-objs).
36646 ($(cross-rpcgen-objs)): New rule.
36647 ($(objpfx)cross-rpcgen): Likewise.
36648 (rpcgen-cmd): Define to use $(built-program-file). Expand
36650 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36651 ($(objpfx)x%.stmp): Likewise.
36652 * sunrpc/proto.h [IS_IN_build] (_): Define.
36653 [IS_IN_build] (_libc_intl_domainname): Likewise.
36655 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36657 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36658 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36659 and R_X86_64_TPOFF64.
36661 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36663 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36664 sysdeps/unix/sysv/syscalls.list.
36667 * sysdeps/unix/sysv/syscalls.list: Remove file.
36669 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36672 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36673 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36674 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36675 (__LC_IDENTIFICATION): Make these macros useful in #if
36676 expressions, as required by C99.
36678 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36680 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36681 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36684 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36686 * stdlib/longlong.h: Updated from GCC.
36688 2012-05-09 Andreas Jaeger <aj@suse.de>
36690 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36691 default is first entry.
36692 (run_mode): Set type.
36693 (main): Remove informal message about syslog.
36694 (options): Fix typo.
36697 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36700 (llrintf): Likewise.
36701 (llrint): Likewise.
36704 (nearbyint): Likewise.
36705 (nearbyintf): Likewise.
36707 2012-05-09 Andreas Jaeger <aj@suse.de>
36708 Pedro Alves <palves@redhat.com>
36710 * nscd/nscd.c (run_mode): Use enum.
36711 (main): Cleanup coding style issue.
36713 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36714 Andreas Jaeger <aj@suse.de>
36716 * nscd/nscd.c (go_background): Replaced with...
36717 (run_mode): ... this.
36718 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36719 (options): Add -F --foreground.
36720 (main): Implement it.
36721 (parse_opt): Parse it.
36723 2012-05-09 Andreas Jaeger <aj@suse.de>
36726 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36727 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36728 -Wconversion warning.
36729 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36732 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36734 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36736 (LC_ALL): Use macro-int-constant.
36737 (LC_COLLATE): Likewise.
36738 (LC_CTYPE): Likewise.
36739 (LC_MESSAGES): Likewise.
36740 (LC_MONETARY): Likewise.
36741 (LC_NUMERIC): Likewise.
36742 (LC_TIME): Likewise.
36743 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36744 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36745 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36746 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36748 [C99-based standards] (float_t): Expect type.
36749 [C99-based standards] (double_t): Expect type.
36750 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36752 [C99-based standards] (HUGE_VALL): Likewise.
36753 [C99-based standards] (INFINITY): Likewise.
36754 [C99-based standards] (NAN): Likewise.
36755 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36756 [C99-based standards] (FP_NAN): Likewise.
36757 [C99-based standards] (FP_NORMAL): Likewise.
36758 [C99-based standards] (FP_SUBNORMAL): Likewise.
36759 [C99-based standards] (FP_ZERO): Likewise.
36760 [C99-based standards] (FP_FAST_FMA): Use
36761 optional-macro-int-constant. Specify type. Require == 1.
36762 [C99-based standards] (FP_FAST_FMAF): Likewise.
36763 [C99-based standards] (FP_FAST_FMAL): Likewise.
36764 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36765 [C99-based standards] (FP_ILOGBNAN): Likewise.
36766 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36768 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36769 [C99-based standards] (math_errhandling): Specify type.
36770 [ISO99 || ISO11] (signgam): Do not allow.
36771 [non-C99-based standards] (copysignf): Do not allow.
36772 [non-C99-based standards] (exp2f): Likewise.
36773 [non-C99-based standards] (log2f): Likewise.
36774 [non-C99-based standards] (modff): Allow.
36775 [non-C99-based standards] (erff): Do not allow.
36776 [non-C99-based standards] (erfcf): Likewise.
36777 [non-C99-based standards] (gammaf): Likewise.
36778 [non-C99-based standards] (hypotf): Likewise.
36779 [non-C99-based standards] (j0f): Likewise.
36780 [non-C99-based standards] (j1f): Likewise.
36781 [non-C99-based standards] (jnf): Likewise.
36782 [non-C99-based standards] (lgammaf): Likewise.
36783 [non-C99-based standards] (tgammaf): Likewise.
36784 [non-C99-based standards] (y0f): Likewise.
36785 [non-C99-based standards] (y1f): Likewise.
36786 [non-C99-based standards] (ynf): Likewise.
36787 [non-C99-based standards] (isnanf): Likewise.
36788 [non-C99-based standards] (acoshf): Likewise.
36789 [non-C99-based standards] (asinhf): Likewise.
36790 [non-C99-based standards] (atanhf): Likewise.
36791 [non-C99-based standards] (cbrtf): Likewise.
36792 [non-C99-based standards] (expm1f): Likewise.
36793 [non-C99-based standards] (ilogbf): Likewise.
36794 [non-C99-based standards] (log1pf): Likewise.
36795 [non-C99-based standards] (logbf): Likewise.
36796 [non-C99-based standards] (nextafterf): Likewise.
36797 [non-C99-based standards] (remainderf): Likewise.
36798 [non-C99-based standards] (rintf): Likewise.
36799 [non-C99-based standards] (scalbf): Likewise.
36800 [non-C99-based standards] (copysignl): Likewise.
36801 [non-C99-based standards] (exp2l): Likewise.
36802 [non-C99-based standards] (log2l): Likewise.
36803 [non-C99-based standards] (modfl): Allow.
36804 [non-C99-based standards] (erfl): Do not allow.
36805 [non-C99-based standards] (erfcl): Likewise.
36806 [non-C99-based standards] (gammal): Likewise.
36807 [non-C99-based standards] (hypotl): Likewise.
36808 [non-C99-based standards] (j0l): Likewise.
36809 [non-C99-based standards] (j1l): Likewise.
36810 [non-C99-based standards] (jnl): Likewise.
36811 [non-C99-based standards] (lgammal): Likewise.
36812 [non-C99-based standards] (tgammal): Likewise.
36813 [non-C99-based standards] (y0l): Likewise.
36814 [non-C99-based standards] (y1l): Likewise.
36815 [non-C99-based standards] (ynl): Likewise.
36816 [non-C99-based standards] (isnanl): Likewise.
36817 [non-C99-based standards] (acoshl): Likewise.
36818 [non-C99-based standards] (asinhl): Likewise.
36819 [non-C99-based standards] (atanhl): Likewise.
36820 [non-C99-based standards] (cbrtl): Likewise.
36821 [non-C99-based standards] (expm1l): Likewise.
36822 [non-C99-based standards] (ilogbl): Likewise.
36823 [non-C99-based standards] (log1pl): Likewise.
36824 [non-C99-based standards] (logbl): Likewise.
36825 [non-C99-based standards] (nextafterl): Likewise.
36826 [non-C99-based standards] (remainderl): Likewise.
36827 [non-C99-based standards] (rintl): Likewise.
36828 [non-C99-based standards] (scalbl): Likewise.
36829 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36830 [non-C99-based standards] (FP_*): Do not allow.
36831 [C99-based standards] (FP_*): Change to
36832 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36833 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36835 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36836 (SIG_ERR): Likewise.
36837 [X/Open-based standards] (SIG_HOLD): Likewise.
36838 (SIG_IGN): Likewise.
36839 (SIGABRT): Use macro-int-constant. Specify type. Require
36841 (SIGFPE): Likewise.
36842 (SIGILL): Likewise.
36843 (SIGINT): Likewise.
36844 (SIGSEGV): Likewise.
36845 (SIGTER): Likewise.
36846 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36847 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36848 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36849 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36850 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36851 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36852 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36853 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36854 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36855 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36856 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36857 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36858 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36859 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36860 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36861 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36862 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36863 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36864 [X/Open-based standards] (SIGTRAP): Likewise.
36865 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36866 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36867 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36868 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36869 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36872 2012-05-08 Ian Wienand <ianw@vmware.com>
36875 * time/tzset.c (__tzset_parse_tz): Update default rules for
36876 daylight time changes in the Energy Policy Act of 2005.
36878 2012-05-09 Andreas Jaeger <aj@suse.de>
36881 * elf/ldconfig.c (parse_conf): Change string to make clear that
36882 ldconfig only issued a warning if ld.so.conf does not exist.
36884 2012-05-08 David S. Miller <davem@davemloft.net>
36886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36887 movxtod instead of popping the value on the stack.
36889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36891 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36893 * config.h.in: Add HAVE_ARM_PCS_VFP.
36895 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36898 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36899 checking but the checks are disabled for any reason.
36901 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36903 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36904 and ELF64_R_TYPE with ELFW(R_TYPE).
36906 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36908 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36909 (ulimit): Likewise.
36911 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36912 (settimeofday): Likewise.
36914 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36916 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36917 a struct th_u2 inside the union, and move tu_block/tu_code into
36918 a new th_u3 union of tu_block/tu_code inside of that. Move
36919 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36920 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36921 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36922 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36923 (th_stuff): Change to th_u1.tu_stuff.
36925 (th_msg): Change to th_u1.th_u2.tu_data.
36927 2012-05-07 David S. Miller <davem@davemloft.net>
36929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36932 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36933 (SETUP_PIC_REG): Use it.
36934 (SETUP_PIC_REG_LEAF): Use it.
36936 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36940 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36942 (EXPL_FINITE): Likewise.
36943 (FLDLOG): Likewise.
36944 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36945 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36947 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36949 (EXPL_FINITE): Likewise.
36950 (FLDLOG): Likewise.
36951 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36952 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36954 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36955 test of -max_value argument for long double.
36956 * sysdeps/i386/fpu/libm-test-ulps: Update.
36957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36959 2012-05-06 David S. Miller <davem@davemloft.net>
36961 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36962 quad soft-float symbols whose references which are compiler
36964 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36966 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36970 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36972 (EXPL_FINITE): Likewise.
36973 (FLDLOG): Likewise.
36976 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36977 Adjust comments for base varying.
36978 (__expl_finite): Change alias to EXPL_FINITE.
36979 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36981 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36982 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36983 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36984 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36985 * sysdeps/x86_64/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 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36996 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36999 * math/libm-test.inc (check_float_internal): Correct ulp
37000 calculation for subnormal expected results.
37002 2012-05-06 Andreas Jaeger <aj@suse.de>
37004 * Makeconfig (+math-flags): New, set to -frounding-math.
37005 (+cflags): Add +math-flags so that all of glibc gets compiled with
37008 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37010 2012-05-05 Joseph Myers <joseph@codesourcery.com>
37012 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37018 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37019 (__ieee754_expl): Allow for and saturate large arguments.
37020 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37021 (u_threshold): Likewise.
37022 (__exp): Call __ieee754_exp before checking for overflow and
37024 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37025 (u_threshold): Likewise.
37026 (__expf): Call __ieee754_expf before checking for overflow and
37028 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37029 (u_threshold): Likewise.
37030 (__expl): Call __ieee754_expl before checking for overflow and
37032 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37033 (__ieee754_expl): Allow for and saturate large arguments.
37034 * math/libm-test.inc (exp_test): Add another test. Do not allow
37035 missing overflow exception on overflow.
37036 (expm1_test): Do not allow missing overflow exception on overflow.
37038 * sysdeps/i386/fpu/e_expl.c: Move to ...
37039 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37040 rather than using inline asm.
37041 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37042 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37043 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37045 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37048 (signal): Likewise.
37052 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37054 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37055 sysdeps/unix/common/syscalls.list.
37056 (fchmod): Likewise.
37057 (fchown): Likewise.
37058 (ftruncate): Likewise.
37059 (getrusage): Likewise.
37060 (gettimeofday): Likewise.
37061 (setpgid): Likewise.
37062 (setregid): Likewise.
37063 (setreuid): Likewise.
37064 (sigaction): Likewise.
37065 (truncate): Likewise.
37066 (vhangup): Likewise.
37067 * sysdeps/unix/common/syscalls.list: Remove file.
37068 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37069 * sysdeps/unix/sysv/linux/Implies: Likewise.
37071 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37073 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37075 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37079 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37082 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37085 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37088 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37091 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37094 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37097 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37101 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37105 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37108 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37112 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37116 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37118 * sysdeps/unix/common/bits/dirent.h: Remove file.
37119 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37121 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37122 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37123 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37124 * sysdeps/unix/bsd/isatty.c: Likewise.
37125 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37126 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37127 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37129 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37132 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37133 long double comparison inaccuracies.
37134 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37137 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37139 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37140 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37142 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37145 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37146 nonzero digits before rounding a hex value.
37147 * stdlib/tst-strtod.c (tests): Add another test.
37149 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37151 * sysdeps/s390/fpu/libm-test-ulps: Update.
37153 2012-05-03 Andreas Jaeger <aj@suse.de>
37155 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37156 does not get optimized out.
37157 (malloc_opt_barrier): New.
37159 2012-05-03 Andreas Jaeger <aj@suse.de>
37160 Roland McGrath <roland@hack.frob.com>
37162 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37163 intermediate file deletion.
37164 (generated): Add .symlist files.
37166 2012-05-03 Joseph Myers <joseph@codesourcery.com>
37169 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37170 Redirect under this condition.
37171 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37172 [__USE_GNU] (__dprintf_chk): Not under this condition.
37173 [__USE_GNU] (__vdprintf_chk): Likewise.
37174 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37175 under this condition.
37176 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37177 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37178 [__USE_XOPEN2K8] (vdprintf): Likewise.
37179 [__USE_GNU] (__dprintf_chk): Not under this condition.
37180 [__USE_GNU] (__vdprintf_chk): Likewise.
37181 [__USE_GNU] (dprintf): Likewise.
37182 [__USE_GNU] (vdprintf): Likewise.
37184 2012-05-03 Roland McGrath <roland@hack.frob.com>
37186 * elf/Makefile (common-generated): Set this instead of generated for
37187 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37188 $(all-built-dso)-derived lists.
37190 2012-05-03 Andreas Jaeger <aj@suse.de>
37192 * sysdeps/i386/fpu/libm-test-ulps: Update.
37195 * FAQ.in: Likewise.
37196 * scripts/gen-FAQ.pl: Likewise.
37197 * manual/install.texi (Installation): Point to online location of
37199 * Makefile (files-for-dist): Remove FAQ.
37202 2012-05-02 Allan McRae <allan@archlinux.org>
37204 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37205 (LDFLAGS-reldepmod5.so): Likewise.
37206 (LDFLAGS-reldep6mod1.so): Likewise.
37207 (LDFLAGS-reldep6mod4.so): Likewise.
37208 (LDFLAGS-reldep8mod3.so): Likewise.
37209 (LDFLAGS-unload4mod1.so): Likewise.
37210 (LDFLAGS-unload4mod2.so): Likewise.
37211 (LDFLAGS-tst-initorder): Likewise.
37212 (LDFLAGS-tst-initordera2.so): Likewise.
37213 (LDFLAGS-tst-initordera3.so): Likewise.
37214 (LDFLAGS-tst-initordera4.so): Likewise.
37215 (LDFLAGS-tst-initorderb2.so): Likewise.
37216 (LDFLAGS-noload): Likewise.
37217 (LDFLAGS-next): Likewise.
37218 (LDFLAGS-order2mod1.so): Likewise.
37219 (LDFLAGS-order2mod2.so): Likewise.
37220 (LDFLAGS-tst-initorder2): Likewise.
37221 (LDFLAGS-tst-initorder2a.so): Likewise.
37222 (LDFLAGS-tst-initorder2b.so): Likewise.
37223 (LDFLAGS-tst-initorder2c.so): Likewise.
37224 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37226 2012-05-02 David S. Miller <davem@davemloft.net>
37228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37230 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37233 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37235 2012-05-02 Andreas Jaeger <aj@suse.de>
37237 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37238 since we manipulate rounding mode.
37239 (CPPFLAGS-test-idouble.c): Likewise.
37240 (CPPFLAGS-test-ifloat.c): Likewise.
37241 (CFLAGS-test-ldouble.c): Likewise.
37242 (CFLAGS-test-double.c): Likewise.
37243 (CFLAGS-test-float.c): Likewise.
37244 (CFLAGS-test-misc.c): Likewise.
37245 (CFLAGS-test-test-fenv.c): Likewise.
37247 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37251 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37252 comparisons to determine direction to adjust input.
37254 2012-05-01 Roland McGrath <roland@hack.frob.com>
37256 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37257 output to the target.
37259 * scripts/localplt.awk: New file.
37260 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37261 (check-localplt-CFLAGS): Variable removed.
37262 ($(all-built-dso:=.jmprel)): New static pattern rule.
37263 (generated): Add those targets.
37264 (localplt-built-dso): New variable.
37265 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37267 * elf/check-localplt.c: File removed.
37269 * scripts/check-execstack.awk: New file.
37270 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37271 (check-execstack-CFLAGS): Variable removed.
37272 ($(objpfx)check-execstack.h): Target removed.
37273 ($(objpfx)execstack-default): New target.
37274 (generated): Add that instead of check-execstack.h.
37275 ($(all-built-dso:=.phdr)): New static pattern rule.
37276 (generated): Add those targets.
37277 * elf/check-execstack.c: File removed.
37279 * scripts/check-textrel.awk: New file.
37280 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37281 (check-textrel-CFLAGS): Variable removed.
37282 (all-built-dso): Use := to define.o
37283 ($(all-built-dso:=.dyn)): New static pattern rule.
37284 (generated): Add those targets.
37285 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37286 * config.make.in (READELF): New substituted variable.
37287 * elf/check-textrel.c: File removed.
37289 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37291 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37293 * conform/data/ctype.h-data [C99-based standards] (isblank):
37295 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37296 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37297 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37298 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37299 Specify type. Require positive value.
37300 (EILSEQ): Likewise.
37301 (ERANGE): Likewise.
37302 [ISO || POSIX] (EILSEQ): Do not expect.
37303 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37304 Specify type. Require positive value.
37305 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37306 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37307 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37308 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37309 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37310 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37311 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37312 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37313 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37314 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37315 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37316 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37317 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37318 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37319 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37320 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37321 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37322 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37323 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37324 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37325 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37326 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37327 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37328 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37329 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37330 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37331 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37332 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37333 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37334 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37335 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37336 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37337 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37338 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37339 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37340 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37341 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37342 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37343 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37344 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37345 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37346 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37347 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37348 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37349 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37350 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37351 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37352 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37353 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37354 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37355 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37356 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37357 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37358 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37359 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37360 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37361 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37362 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37363 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37364 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37365 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37366 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37367 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37368 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37369 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37370 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37371 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37372 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37373 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37374 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37375 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37376 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37377 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37378 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37379 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37380 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37381 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37383 (FLT_ROUNDS): Expect as macro, not constant.
37384 (FLT_MANT_DIG): Use macro-int-constant.
37385 (DBL_MANT_DIG): Likewise.
37386 (LDBL_MANT_DIG): Likewise.
37387 (FLT_DIG): Likewise.
37388 (DBL_DIG): Likewise.
37389 (LDBL_DIG): Likewise.
37390 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37391 (DBL_MIN_EXP): Likewise.
37392 (LDBL_MIN_EXP): Likewise.
37393 (FLT_MAX_EXP): Use macro-int-constant.
37394 (DBL_MAX_EXP): Likewise.
37395 (LDBL_MAX_EXP): Likewise.
37396 (FLT_MAX_10_EXP): Likewise.
37397 (DBL_MAX_10_EXP): Likewise.
37398 (LDBL_MAX_10_EXP): Likewise.
37399 (FLT_MAX): Use macro-constant.
37400 (DBL_MAX): Likewise.
37401 (LDBL_MAX): Likewise.
37402 (FLT_EPSILON): Use macro-constant. Give upper bound.
37403 (DBL_EPSILON): Likewise.
37404 (LDBL_EPSILON): Likewise.
37405 (FLT_MIN): Likewise.
37406 (DBL_MIN): Likewise.
37407 (LDBL_MIN): Likewise.
37408 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37409 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37410 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37411 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37412 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37413 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37414 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37415 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37416 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37417 [ISO11] (FLT_TRUE_MIN): Likewise.
37418 [ISO11] (LDBL_TRUE_MIN): Likewise.
37419 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37420 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37421 (SCHAR_MIN): Use macro-int-constant. Specify type.
37422 (SCHAR_MAX): Likewise.
37423 (UCHAR_MAX): Likewise.
37424 (CHAR_MIN): Likewise.
37425 (CHAR_MAX): Likewise.
37426 (MB_LEN_MAX): Use macro-int-constant.
37427 (SHRT_MIN): Use macro-int-constant. Specify type.
37428 (SHRT_MAX): Likewise.
37429 (USHRT_MAX): Likewise.
37430 (INT_MAX): Likewise.
37431 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37433 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37435 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37437 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37438 bound negative. Suffix upper bound with "L".
37439 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37441 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37443 [C99-based standards] (LLONG_MAX): Likewise.
37444 [C99-based standards] (ULLONG_MAX): Likewise.
37445 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37447 [ISO11] (max_align_t): Require type.
37448 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37450 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37451 from $CFLAGS, without defining away __attribute__ calls.
37452 (checknamespace): Use $CFLAGS_namespace.
37454 * conform/conformtest.pl (@keywords): Only include C99 keywords
37455 for standards based on C99 or C11.
37457 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37459 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37462 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37463 usability of symbols in #if.
37465 * conform/conformtest.pl: If macro or constant types start
37466 "promoted:", expect the symbol to be of the following type
37467 promoted by the integer promotions.
37469 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37470 in one place. Also handle "macro-constant".
37472 * conform/conformtest.pl: Only accept expected macro values with
37473 "==". Parse all "macro" lines in one place.
37474 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37476 * conform/conformtest.pl: Handle braced types on "constant" lines
37477 instead of handling "typed-constant".
37478 * conform/data/signal.h-data: Use "constant" instead of
37481 * conform/conformtest.pl: Handle "optional-" at start of lines in
37482 one place rather than duplicating several cases. Handle each
37483 format of "macro" line with initial "optional-".
37485 * conform/conformtest.pl: Only accept expected constant or
37486 optional-constant values with "==". Parse all "constant" lines in
37487 one place. Parse all "optional-constant" lines in one place.
37488 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37489 * conform/data/fmtmsg.h-data: Likewise.
37490 * conform/data/netinet/in.h-data: Likewise.
37491 * conform/data/tar.h-data: Likewise.
37492 * conform/data/limits.h-data: Use "==" form on "constant" and
37493 "optional-constant" lines.
37495 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37496 Use -std=c99 for XOPEN2K.
37497 (@knownproblems): Remove.
37498 (newtoken): Don't check %isknown.
37500 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37501 Do not expect macro.
37502 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37503 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37504 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37505 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37506 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37507 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37508 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37509 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37510 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37511 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37512 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37513 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37514 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37515 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37516 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37517 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37518 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37519 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37520 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37521 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37522 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37523 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37524 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37525 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37526 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37527 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37528 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37529 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37530 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37531 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37532 [XPG3] (acosh): Likewise.
37533 [XPG3] (asinh): Likewise.
37534 [XPG3] (atanh): Likewise.
37535 [XPG3] (cbrt): Likewise.
37536 [XPG3] (expm1): Likewise.
37537 [XPG3] (ilogb): Likewise.
37538 [XPG3] (log1p): Likewise.
37539 [XPG3] (logb): Likewise.
37540 [XPG3] (nextafter): Likewise.
37541 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37542 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37543 [XPG3] (remainder): Likewise.
37544 [XPG3] (rint): Likewise.
37545 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37546 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37547 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37548 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37549 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37550 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37551 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37552 [UNIX98 || XOPEN2K] (scalb): Expect.
37553 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37554 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37555 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37556 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37557 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37558 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37559 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37560 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37561 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37562 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37563 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37564 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37565 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37566 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37567 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37568 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37569 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37570 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37571 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37572 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37573 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37574 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37575 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37576 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37577 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37578 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37579 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37580 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37581 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37582 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37583 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37584 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37585 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37586 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37587 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37588 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37589 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37590 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37591 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37592 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37593 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37594 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37595 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37596 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37597 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37598 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37599 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37600 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37601 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37602 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37603 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37604 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37605 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37606 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37607 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37608 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37609 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37610 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37611 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37612 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37613 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37614 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37615 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37616 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37617 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37618 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37619 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37620 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37621 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37622 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37623 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37624 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37625 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37626 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37627 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37628 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37629 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37630 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37631 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37632 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37633 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37634 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37635 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37636 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37637 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37638 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37639 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37640 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37641 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37642 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37643 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37644 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37645 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37646 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37647 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37648 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37649 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37650 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37651 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37652 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37653 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37654 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37655 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37656 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37657 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37658 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37659 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37660 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37661 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37662 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37663 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37664 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37665 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37666 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37667 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37668 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37669 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37670 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37671 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37672 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37673 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37674 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37675 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37676 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37677 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37678 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37679 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37680 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37681 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37682 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37683 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37684 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37685 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37686 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37687 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37688 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37689 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37691 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37692 _XOPEN_SOURCE_EXTENDED for XPG4.
37694 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37696 * Makeconfig (localtime): Remove variable.
37697 (inst_localtime-file): Likewise.
37699 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37720 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37724 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37725 comparisons to determine direction to adjust input.
37726 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37727 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37728 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37730 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37732 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37734 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37735 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37737 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37739 * math/libm-test.inc (nexttoward_test): Add more tests.
37741 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37744 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37745 in version GLIBC_2.1, not GLIBC_2.0.
37746 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37749 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37752 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37754 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37755 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37756 * math/libm-test.inc (acos_test): Add more tests.
37757 (asin_test): Likewise.
37758 * sysdeps/i386/fpu/libm-test-ulps: Update.
37759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37762 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37764 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37765 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37766 * math/libm-test.inc (acos_test_tonearest): New function.
37767 (acos_test_towardzero): Likewise.
37768 (acos_test_downward): Likewise.
37769 (acos_test_upward): Likewise.
37770 (asin_test_tonearest): Likewise.
37771 (asin_test_towardzero): Likewise.
37772 (asin_test_downward): Likewise.
37773 (asin_test_upward): Likewise.
37774 (main): Call the new functions.
37775 * sysdeps/i386/fpu/libm-test-ulps: Update.
37776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37780 * math/e_exp10.c: Include <float.h>.
37781 (__ieee754_exp10): Handle underflow here rather than multiplying
37782 large negative argument by M_LN10.
37783 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37785 * math/e_exp10l.c: Include <float.h>.
37786 (__ieee754_exp10l): Handle underflow here rather than multiplying
37787 large negative argument by M_LN10l.
37788 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37789 spurious overflow exception on underflow.
37791 2012-04-29 Marek Polacek <polacek@redhat.com>
37793 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37794 (__fortify_function): New macro.
37795 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37796 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37797 __extern_always_inline.
37798 * libio/bits/stdio2.h: Likewise.
37799 * libio/bits/stdio.h: Likewise.
37800 * string/string.h: Likewise.
37801 * string/bits/string3.h: Likewise.
37802 * include/stdio.h: Likewise.
37803 * stdlib/bits/stdlib.h: Likewise.
37804 * stdlib/stdlib.h: Likewise.
37805 * rt/bits/mqueue2.h: Likewise.
37806 * rt/mqueue.h: Likewise.
37807 * posix/bits/unistd.h: Likewise.
37808 * posix/unistd.h: Likewise.
37809 * io/bits/poll2.h: Likewise.
37810 * io/bits/fcntl2.h: Likewise.
37811 * io/fcntl.h: Likewise.
37812 * io/sys/poll.h: Likewise.
37813 * misc/bits/syslog.h: Likewise.
37814 * misc/bits/syslog-ldbl.h: Likewise.
37815 * misc/sys/syslog.h: Likewise.
37816 * socket/bits/socket2.h: Likewise.
37817 * socket/sys/socket.h: Likewise.
37818 * debug/tst-chk1.c: Likewise.
37819 * wcsmbs/bits/wchar2.h: Likewise.
37820 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37821 * wcsmbs/wchar.h: Likewise.
37823 2012-04-29 Andreas Jaeger <aj@suse.de>
37825 * Makerules (tests): Remove enable-check-abi protection.
37826 (check-abi-warn): Remove.
37827 (check-abi-%): Remove check-abi-warn usage.
37829 * configure.in: Remove check-abi configure option.
37830 * configure: Regenerated.
37831 * config.make.in (enable-check-abi): Remove.
37833 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37836 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37837 double functions to double *_finite functions.
37840 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37841 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37843 * stdio-common/Makefile (tests): Add tst-sprintf3.
37844 * stdio-common/tst-sprintf3.c: New file.
37846 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37847 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37849 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37851 * conform/conformtest.pl: Remove duplicate typed-constant
37854 2012-04-28 David S. Miller <davem@davemloft.net>
37856 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37857 (check-abi-%): Remove AWK script prerequisite and explicit
37859 (check-abi): Rewrite to just diff the symlist with the abilist.
37860 (config-tls, config-abi-config): Delete, no longer used.
37861 (update-abi-%): Remove AWK script and explicit abilist directory.
37862 (update-abi): Rewrite to simply compare and conditionally copy the
37863 symlist and the sysdep abilist file. Remove update-abi-config
37865 * abilist/ld.abilist: Remove.
37866 * abilist/libBrokenLocale.abilist: Remove.
37867 * abilist/libanl.abilist: Remove.
37868 * abilist/libcrypt.abilist: Remove.
37869 * abilist/libdl.abilist: Remove.
37870 * abilist/librt.abilist: Remove.
37871 * abilist/libthread_db.abilist: Remove.
37872 * abilist/libutil.abilist: Remove.
37873 * scripts/extract-abilist.awk: Remove.
37874 * scripts/merge-abilist.awk: Remove.
37875 * sysdeps/generic/libcidn.abilist: New file.
37876 * sysdeps/generic/libnss_compat.abilist: New file.
37877 * sysdeps/generic/libnss_db.abilist: New file.
37878 * sysdeps/generic/libnss_dns.abilist: New file.
37879 * sysdeps/generic/libnss_files.abilist: New file.
37880 * sysdeps/generic/libnss_hesiod.abilist: New file.
37881 * sysdeps/generic/libnss_nis.abilist: New file.
37882 * sysdeps/generic/libnss_nisplus.abilist: New file.
37883 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37884 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37885 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37887 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37888 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37889 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37890 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37891 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37892 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37893 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37894 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37895 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37897 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37898 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37899 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37900 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37902 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37903 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37904 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37905 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37906 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37907 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37909 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37910 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37911 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37913 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38016 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38017 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38018 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38020 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38021 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38022 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38023 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38024 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38025 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38026 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38027 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38028 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38029 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38081 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38083 * conform/conformtest.pl: Fix typo in handling typed-constant from
38086 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38088 * README: Cut down references to pre-2.6 Linux kernels and
38089 Linuxthreads. Update lists of configurations in libc and ports
38090 and sort alphabetically. Say "or newer" with Linux kernel version
38093 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38095 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38098 * math/libm-test.inc (logb_test_downward): New test to expose
38099 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38102 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38105 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38107 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38108 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38110 2012-04-26 Joseph Myers <joseph@codesourcery.com>
38112 * sysdeps/unix/i386/brk.S: Remove file.
38113 * sysdeps/unix/i386/dl-brk.S: Likewise.
38114 * sysdeps/unix/i386/pipe.S: Likewise.
38115 * sysdeps/unix/i386/sigreturn.S: Likewise.
38116 * sysdeps/unix/i386/syscall.S: Likewise.
38117 * sysdeps/unix/i386/vfork.S: Likewise.
38118 * sysdeps/unix/i386/wait.S: Likewise.
38120 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38121 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38123 * configure.in (arm*-none*): Do not allow without
38124 --enable-hacker-mode.
38125 (netbsd*): Remove case setting base_os.
38126 (386bsd*): Likewise.
38127 (freebsd*): Likewise.
38130 (sunos*): Likewise.
38131 (ultrix*): Likewise.
38132 (newsos*): Likewise.
38133 (dynix*): Likewise.
38139 (minix*): Likewise.
38140 (irix4*): Likewise.
38141 (irix6*): Likewise.
38142 (solaris[2-9]*): Likewise.
38144 * configure: Regenerated.
38146 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38149 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38150 overflow or cancellation in calculating denominator.
38151 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38152 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38153 down expression to avoid unexpected rounding in newer GCCs.
38154 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38156 2012-04-26 David S. Miller <davem@davemloft.net>
38158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38159 long-double compat symbols.
38160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38174 2012-04-25 David S. Miller <davem@davemloft.net>
38176 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38177 HWCAP_* values only after the memory barriers have been defined.
38178 (atomic_full_barrier): Define.
38179 (atomic_read_barrier): Define.
38180 (atomic_write_barrier): Define.
38182 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38184 * shlib-versions: Add libgcc_s version information.
38185 * sysdeps/generic/libgcc_s.h: Remove.
38186 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38188 * sysdeps/gnu/unwind-resume.c: Likewise.
38189 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38191 2012-04-25 David S. Miller <davem@davemloft.net>
38193 * sysdeps/unix/sparc/brk.S: Delete.
38194 * sysdeps/unix/sparc/dl-brk.S: Delete.
38195 * sysdeps/unix/sparc/pipe.S: Delete.
38196 * sysdeps/unix/sparc/sysdep.S: Delete.
38197 * sysdeps/unix/sparc/sysdep.h: Delete.
38198 * sysdeps/unix/sparc/vfork.S: Delete.
38199 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38200 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38201 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38202 (ret_ERRVAL, r0, r1, MOVE): Define.
38203 (JUMPTARGET): Remove.
38204 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38205 sysdeps/unix/sparc/sysdep.h
38206 (ENTRY, END): Remove.
38207 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38209 2012-04-25 Joseph Myers <joseph@codesourcery.com>
38211 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38212 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38215 * timezone/README: Update upstream location and email address for
38217 * timezone/zdump.c: Update from tzcode 2012b.
38218 * timezone/zic.c: Likewise.
38220 * configure.in (libc_cv_as_needed): Remove test.
38221 * configure: Regenerated.
38222 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38223 conditional definition.
38224 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38225 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38226 * config.make.in (have-as-needed): Remove variable.
38228 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38229 Paul Pluzhnikov <ppluzhnikov@google.com>
38231 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38234 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38236 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38237 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38238 * sysdeps/sh/strlen.S: Likewise.
38240 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38242 * sysdeps/unix/fork.S: Remove file.
38243 * sysdeps/unix/i386/fork.S: Likewise.
38244 * sysdeps/unix/sparc/fork.S: Likewise.
38246 * sysdeps/unix/system.c: Remove file.
38247 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38249 * sysdeps/unix/getegid.S: Remove file.
38250 * sysdeps/unix/geteuid.S: Likewise.
38252 2012-04-24 Roland McGrath <roland@hack.frob.com>
38254 * scripts/check-localplt.awk: New file.
38255 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38257 * scripts/data/localplt-generic.data: Add a comment.
38259 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38260 NODE when __dir_mkfile failed.
38261 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38262 Reported by Ludovic Courtès <ludo@gnu.org>.
38264 2012-04-24 Andreas Jaeger <aj@suse.de>
38266 * Makerules (common-clean): Also remove gen-as-const-headers
38269 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38271 * Makerules (native-compile): Do not change working directory for
38272 build. Use $(OUTPUT_OPTION) in command.
38273 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38275 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38278 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38279 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38280 * math/libm-test.inc (floor_test): Add more tests.
38281 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38283 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38285 * sysdeps/unix/getdents.c: Remove file.
38286 * sysdeps/unix/sysv/getdents.c: Likewise.
38287 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38289 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38290 sysdeps/unix/mman/syscalls.list.
38292 (mprotect): Likewise.
38294 (munmap): Likewise.
38295 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38296 * sysdeps/unix/mman/syscalls.list: Remove.
38297 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38299 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38300 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38301 * configure: Regenerated.
38302 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38303 $(libgcc_s_suffix).
38304 * config.make.in (libgcc_s_suffix): Remove variable.
38306 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38308 * sysdeps/unix/sysv/gethostname.c: Move to ...
38309 * sysdeps/posix/gethostname.c: ... here.
38311 * sysdeps/unix/execve.S: Remove file.
38313 * sysdeps/unix/_exit.S: Remove file.
38315 2012-04-23 Andreas Jaeger <aj@suse.de>
38318 * manual/Makefile: Remove make dist support, there's no
38319 need for a stand-alone documentation tar ball.
38320 (TEXI2DVI): Define always, it's not in Makeconfig.
38323 (edition): Removed.
38324 (glibc-doc-$(edition).tar): Removed
38328 (ETAGS): Remove, it's in Makeconfig.
38329 (move-if-change): Remove, it's in Makeconfig.
38331 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38334 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38335 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38336 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38337 (strtod_l, strtof_l, strtold_l): Remove __wur.
38338 It is not necessarily an error to ignore strtol's return value.
38339 One can reliably look at the stored endptr to decide whether
38340 the number had valid syntax.
38342 2012-04-21 Andreas Jaeger <aj@suse.de>
38345 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38347 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38349 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38350 * sysdeps/unix/sysv/Versions: Remove file.
38352 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38355 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38357 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38360 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38361 version from __vm86.
38363 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38365 * sysdeps/unix/common/lxstat.c: Remove file.
38366 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38368 * sysdeps/unix/sysv/Makefile: Remove file.
38370 * sysdeps/unix/sysv/direct.h: Remove file.
38372 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38373 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38374 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38375 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38376 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38377 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38378 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38380 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38382 * sysdeps/unix/xmknod.c: Remove file.
38383 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38385 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38387 * sysdeps/unix/sysv/i386/time.S: Remove file.
38389 * sysdeps/unix/fxstat.c: Remove file.
38390 * sysdeps/unix/xstat.c: Likewise.
38391 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38393 * sysdeps/unix/sysv/sigaction.c: Remove file.
38395 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38396 (sysdep_headers): Remove variable.
38397 [termio.h not in sysdep_headers] (generated): Likewise.
38398 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38399 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38400 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38401 * sysdeps/unix/sysv/tcflow.c: Likewise.
38402 * sysdeps/unix/sysv/tcflush.c: Likewise.
38403 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38404 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38405 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38406 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38407 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38409 * sysdeps/unix/siglist.c: Remove file.
38411 * sysdeps/unix/getppid.S: Remove file.
38413 * sysdeps/unix/mkdir.c: Remove file.
38414 * sysdeps/unix/rmdir.c: Likewise.
38416 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38418 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38420 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38421 errlist-compat value.
38423 2012-04-18 David S. Miller <davem@davemloft.net>
38425 * sysdeps/generic/memcopy.h (reg_char): Delete.
38426 * debug/strcat_chk.c: Use char, not reg_char.
38427 * debug/strcpy_chk.c: Likewise.
38428 * debug/strncat_chk.c: Likewise.
38429 * debug/strncpy_chk.c: Likewise.
38430 * string/memchr.c: Likewise.
38431 * string/memrchr.c: Likewise.
38432 * string/rawmemchr.c: Likewise.
38433 * string/strcat.c: Likewise.
38434 * string/strchr.c: Likewise.
38435 * string/strchrnul.c: Likewise.
38436 * string/strcmp.c: Likewise.
38437 * string/strcpy.c: Likewise.
38438 * string/strncat.c: Likewise.
38439 * string/strncmp.c: Likewise.
38440 * string/strncpy.c: Likewise.
38442 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38444 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38445 __builtin_memcopy is called when src and dest ranges are known to not
38448 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38450 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38451 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38452 fwd_align_merge macro call.
38453 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38454 bwd_align_merge macro call.
38455 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38457 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38459 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38460 bwd_align_merge macros.
38461 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38462 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38463 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38465 2012-04-18 David S. Miller <davem@davemloft.net>
38467 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38469 2012-04-18 Andreas Jaeger <aj@suse.de>
38472 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38473 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38474 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38476 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38477 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38478 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38480 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38481 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38482 Adjust for changed ldbl-128 files.
38484 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38485 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38486 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38488 2012-04-17 David S. Miller <davem@davemloft.net>
38490 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38492 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38494 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38495 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38496 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38497 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38498 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38499 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38501 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38504 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38505 * math/libm-test.inc: Add ilogb errno and exception tests.
38506 * math/w_ilogb.c: New file: ilogb wrapper.
38507 * math/w_ilogbf.c: New file: ilogbf wrapper.
38508 * math/w_ilogbl.c: New file: ilogbl wrapper.
38509 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38510 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38511 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38512 exception being thrown with 0.0 as argument.
38513 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38514 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38515 exception being thrown with 0.0 as argument.
38516 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38517 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38518 exception being thrown with 0.0 as argument.
38519 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38520 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38521 exception being thrown with 0.0 as argument.
38522 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38523 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38524 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38525 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38526 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38527 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38528 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38529 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38530 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38532 2012-04-17 Petr Baudis <pasky@ucw.cz>
38534 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38537 2012-04-16 Marek Polacek <polacek@redhat.com>
38539 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38541 2012-04-16 Marek Polacek <polacek@redhat.com>
38543 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38544 operands of fdivp instruction.
38546 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38548 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38549 * elf/tst-auditmod3b.c: Likewise.
38550 * elf/tst-auditmod4b.c: Likewise.
38551 * elf/tst-auditmod5b.c: Likewise.
38552 * elf/tst-auditmod6b.c: Likewise.
38553 * elf/tst-auditmod6c.c: Likewise.
38554 * elf/tst-auditmod7b.c: Likewise.
38555 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38556 * sysdeps/x86_64/preconfigure.in: Likewise.
38557 * sysdeps/x86_64/preconfigure: Regenerated.
38559 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38561 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38564 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38566 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38567 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38569 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38572 * locale/iso-639.def: Fix gl language name. Spotted by
38575 2012-04-12 Roland McGrath <roland@hack.frob.com>
38578 * libio/libio.h (__io_write_fn): Update comment.
38580 2012-04-12 Petr Baudis <pasky@ucw.cz>
38583 * stdio.texi (Hook Functions): The user provided writer function
38584 is not allowed to return -1.
38586 2012-04-11 David S. Miller <davem@davemloft.net>
38588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38590 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38592 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38593 Add a leading slash to rtkaio.
38595 2012-04-11 Jim Meyering <meyering@redhat.com>
38598 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38599 It is not necessarily an error to ignore fwrite's return
38600 value. One can reliably use ferror to test for errors after
38603 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38605 * bits/types.h (__snseconds_t): New type.
38606 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38608 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38609 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38610 (__SNSECONDS_T_TYPE): Likewise.
38611 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38612 (__SNSECONDS_T_TYPE): Likewise.
38613 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38614 (__SNSECONDS_T_TYPE): Likewise.
38616 2012-04-10 Andreas Jaeger <aj@suse.de>
38619 * manual/time.texi (Processor Time): Return type of times is
38620 elapsed real time since an arbitrary point in the past.
38621 (CPU Time): Move CLK_TCK from here...
38622 (Processor Time): ...to here. Correct description.
38623 * manual/conf.texi (Constants for Sysconf): Correct description of
38626 2012-04-10 David S. Miller <davem@davemloft.net>
38629 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38630 where the is a gap between DT_REL(A) and DT_JMPREL.
38632 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38634 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38635 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38636 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38638 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38640 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38641 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38642 (dl_main): Handle --inhibit-cache.
38643 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38645 * elf/dl-load.c (_dl_map_object): Use it.
38646 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38648 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38651 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38652 (__ieee754_powl): Saturate large exponents rather than testing for
38653 overflow of y*log2(x).
38654 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38655 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38659 * math/s_ctan.c: Include <float.h>.
38660 (__ctan): Avoid internal overflow or cancellation in calculating
38662 * math/s_ctanf.c: Likewise.
38663 * math/s_ctanl.c: Likewise.
38664 * math/s_ctanh.c: Likewise.
38665 * math/s_ctanhf.c: Likewise.
38666 * math/s_ctanhl.c: Likewise.
38667 * math/libm-test.inc (ctan_test): Add more tests.
38668 (ctanh_test): Likewise.
38669 * sysdeps/i386/fpu/libm-test-ulps: Update.
38670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38672 2012-04-09 Andreas Jaeger <aj@suse.de>
38675 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38676 is an optional BSD extension.
38679 * manual/stdio.texi (Opening Streams): Document additional fopen
38682 2012-04-09 Roland McGrath <roland@hack.frob.com>
38684 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38685 %eax without telling the compiler.
38687 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38690 * manual/install.texi: Use sourceware.org.
38692 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38695 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38696 (__ieee754_pow): Generate overflow and underflow using huge*huge
38697 and tiny*tiny rather than just returning constant infinity or zero
38698 for large exponents.
38699 * math/libm-test.inc (pow_test): Require overflow exceptions for
38700 applicable cases of large exponents.
38703 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38704 (__ieee754_pow): Use iterative multiplication algorithm only for
38705 integer exponents with absolute value below 1024. Check for odd
38706 integer exponents when using algorithm for real exponents.
38707 * math/libm-test.inc (pow_test): Add more tests.
38708 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38710 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38713 * math/libm-test.inc (exp_test): Do not allow overflow exception
38716 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38719 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38720 instead of __kernel_standard_f.
38722 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38724 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38725 * sysdeps/x86_64/memset_chk.S: Likewise.
38727 2012-04-08 Andreas Jaeger <aj@suse.de>
38730 * manual/startup.texi (Environment Access): Describe return value
38731 for putenv and setenv.
38734 * manual/filesys.texi (Directory Entries): Add description for
38738 * manual/filesys.texi (Directory Entries): Clarify that it's file
38739 system not operating system in the description of DT_UNKNOWN.
38742 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38744 2012-04-08 Stephen Compall <s11@member.fsf.org>
38747 * manual/llio.texi (Opening and Closing Files): Add cross
38748 reference to explain mode argument.
38750 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38752 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38753 * sysdeps/x86_64/memset_chk.S: Likewise.
38755 2012-04-07 David S. Miller <davem@davemloft.net>
38757 * elf/elf.h (R_SPARC_WDISP10): Define.
38758 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38760 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38761 R_SPARC_SIZE64 and R_SPARC_H34.
38763 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38765 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38766 conditions and remove no longer applicable assertion.
38768 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38770 * bits/byteswap.h: Include <features.h>.
38771 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38772 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38774 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38776 * bits/byteswap.h (__bswap_16): Removed.
38777 Include <bits/byteswap-16.h> to get __bswap_16.
38778 * sysdeps/i386/bits/byteswap.h: Likewise.
38779 * sysdeps/s390/bits/byteswap.h: Likewise.
38780 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38781 * bits/byteswap-16.h: New file.
38782 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38783 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38784 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38785 * string/Makefile (headers): Add bits/byteswap-16.h.
38787 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38790 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38792 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38793 * nss/tst-nss-static.c: New.
38795 2012-04-06 Robert Millan <rmh@gnu.org>
38798 * manual/llio.texi (File Position Primitive): lseek
38799 refers to WHENCE when it really means OFFSET.
38801 2012-04-06 Andreas Jaeger <aj@suse.de>
38803 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38804 strncmp declarations.
38806 * abilist/libc.abilist: Add __poll and __ppoll.
38808 2012-04-05 David S. Miller <davem@davemloft.net>
38810 * scripts/check-local-headers.sh: Accept a host triplet in the
38811 path matched by the exclude regexp.
38813 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38815 * sysdeps/powerpc/powerpc32/dl-machine.h
38816 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38817 * sysdeps/s390/s390-32/dl-machine.h
38818 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38819 * sysdeps/sparc/sparc32/dl-machine.h
38820 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38821 * sysdeps/sparc/sparc64/dl-machine.h
38822 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38824 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38826 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38827 undefined symbol errors.
38829 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38832 2012-04-05 Michael Matz <matz@suse.de>
38835 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38837 2012-04-05 Andreas Jaeger <aj@suse.de>
38840 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38843 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38845 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38846 which ROUND is no valid rounding mode.
38848 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38850 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38852 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38854 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38856 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38857 an exception using FPU order intentionally.
38859 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38861 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38862 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38863 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38864 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38866 2012-04-05 Simon Josefsson <simon@josefsson.org>
38869 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38870 EINVAL when BUFLEN is too smal.
38872 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38875 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38876 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38878 2012-04-03 Andreas Jaeger <aj@suse.de>
38881 * manual/setjmp.texi (System V contexts): Fix sentence.
38884 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38885 New macro for this case.
38886 [!__GNUC__] (__bswap_64): New inline function for this case.
38887 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38888 * bits/byteswap.h: Likewise.
38889 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38890 ull, guard with __GLIBC_HAVE_LONG_LONG.
38892 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38893 __GLIBC_HAVE_LONG_LONG.
38895 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38896 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38898 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38901 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38902 inptr and inend, rather than using last_ch.
38904 2012-04-02 David S. Miller <davem@davemloft.net>
38906 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38907 * stdio-common/printf-parse.h (read_int): Change return type to
38908 'int', return -1 on INT_MAX overflow.
38909 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38910 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38911 overflows INT_MAX. Check for overflow of in-format-string precision
38912 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38913 SIZE_MAX not INT_MAX for integer overflow test.
38914 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38915 skip the construct in the format string but do not record anything.
38916 * stdio-common/bug22.c: Adjust to test both width/prevision
38917 INT_MAX overflow as well as total length INT_MAX overflow. Check
38918 explicitly for proper errno values.
38920 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38922 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38924 * string/test-strcmp.c [! WIDE]: Likewise.
38925 * time/tst-mktime2.c: Likewise for INT_MAX.
38926 * string/test-string.h: #include <sys/param.h> for MIN.
38928 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38929 * sysdeps/i386/init-first.c (init): Likewise.
38930 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38931 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38932 * sysdeps/sh/init-first.c (init): Likewise.
38934 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38936 * po/ru.po: Update from translation team.
38937 * po/vi.po: Likewise.
38939 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38941 * resolv/nss_dns/dns-host.c: Merge copyright years.
38943 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38945 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38946 Optimize memcpy with prefetch if
38947 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38948 src, dst pointers have unequal 16 byte alignments.
38950 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38953 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38954 from a CNAME entry and return the minimum ttl for the query.
38955 (gaih_getanswer_slice): Likewise.
38957 2012-03-30 Jeff Law <law@redhat.com>
38959 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38961 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38962 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38964 * resolv/nss_dns/dns-host.c: Update copyright year.
38966 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38968 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38969 requests to save a system call. Fix check that all bytes are sent.
38971 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38972 comments for sendmmsg.
38974 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38977 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38978 with only 1 character between 0x0041 and 0x01b0.
38979 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38980 * wcsmbs/tst-mbsnrtowcs.c: New file.
38982 2012-03-29 David S. Miller <davem@davemloft.net>
38984 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38985 small copies by hand.
38987 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38990 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38991 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38994 2012-03-28 David S. Miller <davem@davemloft.net>
38996 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38997 that branches into memcpy.
38998 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38999 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39000 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39001 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39002 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39004 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39005 implementation too.
39006 * sysdeps/sparc/mempcpy.S: New file.
39008 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39009 the IFUNC routine in the libc case.
39010 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39012 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39013 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39014 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39015 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39016 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39017 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39018 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39019 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39021 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39022 loop to 256 bytes instead of 64 bytes and fix test signedness.
39024 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39025 * sysdeps/sparc/sparc32/Makefile: rather than here...
39026 * sysdeps/sparc/sparc64/Makefile: and here.
39028 2012-03-28 Ulrich Drepper <drepper@gmail.com>
39030 * malloc/mallocbug.c: Avoid warnings about unused variables.
39032 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39035 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39036 in the right place. Discard and retry query if response is
39037 larger than input buffer size.
39039 2012-03-28 Joseph Myers <joseph@codesourcery.com>
39044 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39045 x for large integer exponent.
39046 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39047 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39048 sign of result as needed afterwards.
39049 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39050 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39051 result for underflowing pow the same as for overflow.
39052 (__kernel_standard_l): Handle powl overflow and underflow here
39053 rather than calling __kernel_standard.
39054 * math/libm-test.inc (pow_test): Add more tests.
39069 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39070 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39071 (__kernel_standard_l): New function.
39072 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39074 * math/w_acosl.c (__acosl): Likewise.
39075 * math/w_asinl.c (__asinl): Likewise.
39076 * math/w_atan2l.c (__atan2l): Likewise.
39077 * math/w_atanhl.c (__atanhl): Likewise.
39078 * math/w_coshl.c (__coshl): Likewise.
39079 * math/w_exp10l.c (__exp10l): Likewise.
39080 * math/w_exp2l.c (__exp2l): Likewise.
39081 * math/w_fmodl.c (__fmodl): Likewise.
39082 * math/w_hypotl.c (__hypotl): Likewise.
39083 * math/w_j0l.c (__j0l, __y0l): Likewise.
39084 * math/w_j1l.c (__j1l, __y1l): Likewise.
39085 * math/w_jnl.c (__jnl, __ynl): Likewise.
39086 * math/w_lgammal.c (__lgammal): Likewise.
39087 * math/w_log10l.c (__log10l): Likewise.
39088 * math/w_log2l.c (__log2l): Likewise.
39089 * math/w_logl.c (__logl): Likewise.
39090 * math/w_powl.c (__powl): Likewise.
39091 * math/w_remainderl.c (__remainderl): Likewise.
39092 * math/w_scalbl.c (sysv_scalbl): Likewise.
39093 * math/w_sinhl.c (__sinhl): Likewise.
39094 * math/w_sqrtl.c (__sqrtl): Likewise.
39095 * math/w_tgammal.c (__tgammal): Likewise.
39096 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39097 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39098 * math/libm-test.inc (acos_test): Add more tests.
39099 (acosh_test): Likewise.
39100 (asin_test): Likewise.
39101 (atanh_test): Likewise.
39102 (exp_test): Likewise.
39103 (exp10_test): Likewise.
39104 (exp2_test): Likewise.
39105 (expm1_test): Likewise.
39106 (lgamma_test): Likewise.
39107 (log_test): Likewise.
39108 (log10_test): Likewise.
39109 (log1p_test): Likewise.
39110 (log2_test): Likewise.
39111 (pow_test): Do not allow some spurious overflow exceptions.
39112 (sqrt_test): Add more tests.
39113 (tgamma_test): Likewise.
39114 (y0_test): Likewise.
39115 (y1_test): Likewise.
39116 (yn_test): Likewise.
39118 2012-03-27 Anton Blanchard <anton@samba.org>
39120 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39122 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39123 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39124 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39126 2012-03-27 David S. Miller <davem@davemloft.net>
39128 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39130 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39131 have-as-vis3 check.
39133 2012-03-27 Andreas Jaeger <aj@suse.de>
39135 * sysdeps/x86_64/elf/configure.in: Moved to ...
39136 * sysdeps/x86_64/configure.in: ... here.
39137 * sysdeps/x86_64/elf/start.S: Moved to ...
39138 * sysdeps/x86_64/start.S: ... here.
39139 * sysdeps/x86_64/elf/configure: Delete.
39141 * sysdeps/x86_64/configure.in: Merge contents from
39142 sysdeps/i386/configure.in (without i686 check).
39144 * sysdeps/i386/elf/Versions: Merge into ...
39145 * sysdeps/i386/Versions: ... this.
39146 * sysdeps/i386/elf/Versions: Delete file.
39147 * sysdeps/i386/elf/start.S: Moved to ...
39148 * sysdeps/i386/start.S: ...here.
39149 * sysdeps/i386/elf/configure.in: Merge into...
39150 * sysdeps/i386/configure.in: ...here.
39151 * sysdeps/i386/elf/configure.in: Delete file.
39152 * sysdeps/i386/elf/configure: Delete file.
39154 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39155 * debug/backtracesyms.c: ... here.
39156 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39157 * debug/backtracesymsfd.c: ... here.
39158 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39159 * sysdeps/generic/ifunc-sel.h: ... here.
39161 * sysdeps/unix/i386/start.c: Delete file.
39162 * sysdeps/unix/sparc/start.c: Delete file.
39163 * sysdeps/unix/start.c: Delete file.
39165 * sysdeps/sh/elf/configure.in: Moved to ...
39166 * sysdeps/sh/configure.in: ... here.
39167 * sysdeps/sh/elf/start.S: Moved to ...
39168 * sysdeps/sh/start.S: ... here.
39169 * sysdeps/sh/elf/configure: Delete file.
39171 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39172 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39173 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39174 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39175 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39176 * sysdeps/powerpc/powerpc64/start.S: here.
39177 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39178 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39179 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39180 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39181 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39183 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39184 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39185 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39186 * sysdeps/powerpc/powerpc32/start.S: ... here.
39187 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39188 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39189 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39191 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39192 * sysdeps/powerpc/ifunc-sel.h: ... here.
39193 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39194 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39196 * sysdeps/sparc/elf/configure.in: Moved to ...
39197 * sysdeps/sparc/configure.in: ... here.
39198 * sysdeps/sparc/elf/configure: Delete file.
39199 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39200 * sysdeps/sparc/sparc32/start.S: ... here.
39201 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39202 * sysdeps/sparc/sparc64/start.S: ... here.
39203 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39204 * sysdeps/sparc/sparc32/Makefile: ... this.
39205 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39206 * sysdeps/sparc/sparc64/Makefile: ... this.
39208 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39209 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39210 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39211 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39212 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39213 * sysdeps/s390/s390-32/setjmp.S: ... here.
39214 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39215 * sysdeps/s390/s390-32/configure.in: ... here.
39216 * sysdeps/s390/s390-32/elf/configure: Delete file.
39217 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39218 * sysdeps/s390/s390-32/start.S: ... here.
39220 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39221 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39222 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39223 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39224 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39225 * sysdeps/s390/s390-64/setjmp.S: ... here.
39226 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39227 * sysdeps/s390/s390-64/configure.in: ... here
39228 * sysdeps/s390/s390-64/elf/configure: Delete file.
39229 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39230 * sysdeps/s390/s390-64/start.S: ... here.
39231 * sysdeps/s390/s390-64/elf/configure: Delete.
39233 * configure.in: Remove support for elf directories in sysdeps.
39235 * configure: Regenerated.
39236 * sysdeps/i386/configure: Regenerated.
39237 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39238 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39239 * sysdeps/s390/s390-32/configure: Regenerated.
39240 * sysdeps/s390/s390-64/configure: Regenerated.
39241 * sysdeps/sh/configure: Regenerated.
39242 * sysdeps/sparc/configure: Regenerated.
39243 * sysdeps/x86_64/configure: Regenerated.
39245 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39249 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39250 denormal result into account.
39252 2012-03-25 Roland McGrath <roland@hack.frob.com>
39254 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39255 Reported by Allan McRae <allan@archlinux.org>.
39257 2012-03-23 Jeff Law <law@redhat.com>
39259 * nss/getnssent.c (__nss_getent): Fix typo.
39261 2012-03-23 David S. Miller <davem@davemloft.net>
39263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39265 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39267 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39268 to pad to uint64_t for each field.
39269 (dl_tls_index): Replace unsigned long with uint64_t.
39271 2012-03-23 Daniel Jacobowitz <dmj@google.com>
39272 Paul Pluzhnikov <ppluzhnikov@google.com>
39275 * grp/Makefile (otherlibs): Don't set it.
39276 * inet/Makefile (otherlibs): Likewise.
39277 * login/Makefile (otherlibs): Likewise.
39278 * nscd/Makefile (otherlibs): Likewise.
39279 * posix/Makefile (otherlibs): Likewise.
39280 * pwd/Makefile (otherlibs): Likewise.
39281 * rt/Makefile (otherlibs): Likewise.
39282 * sunrpc/Makefile (otherlibs): Likewise.
39283 * nss/Makefile (otherlibs): Likewise.
39284 Add libnss_files to routines and static-only-routines.
39285 ($(objpfx)getent): Remove rule.
39286 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39287 static-only-routines.
39289 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39292 * math/s_cexp.c: Include <float.h>.
39293 (__cexp): Handle exp result overflowing not necessarily
39294 overflowing both real and imaginary parts of result.
39295 * math/s_cexpf.c: Likewise.
39296 * math/s_cexpl.c: Likewise.
39297 * math/libm-test.inc (cexp_test): Add more tests.
39298 * sysdeps/i386/fpu/libm-test-ulps: Update.
39299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39301 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39303 * include/link.h (ELFW): New macro.
39304 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39305 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39307 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39309 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39312 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39314 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39316 (struct La_x32_retval): Likewise.
39318 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39320 * sysdeps/x86_64/preconfigure.in: New file.
39321 * sysdeps/x86_64/preconfigure: New generated file.
39323 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39326 * math/e_exp2l.c: Include <float.h>.
39327 (__ieee754_exp2l): Handle overflow and underflow cases
39328 separately. Only pass fractional part of argument to
39330 * math/libm-test.inc (exp2_test): Add more tests.
39332 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39333 negating x to take absolute value.
39334 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39336 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39337 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39339 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39340 computing low part if x was negated.
39341 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39343 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39345 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39346 la_x32_gnu_pltexit.
39347 (pltexit): Cast int_retval to ptrdiff_t.
39348 * elf/tst-auditmod3b.c: Likewise.
39349 * elf/tst-auditmod4b.c: Likewise.
39350 * elf/tst-auditmod5b.c: Likewise.
39351 * elf/tst-auditmod6b.c: Likewise.
39352 * elf/tst-auditmod6c.c: Likewise.
39353 * elf/tst-auditmod7b.c: Likewise.
39355 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39356 and x32_gnu_pltexit.
39358 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39359 __ELF_NATIVE_CLASS.
39360 (La_x32_regs): New macro.
39361 (La_x32_retval): Likewise.
39362 (la_x32_gnu_pltenter): New function prototype.
39363 (la_x32_gnu_pltexit): Likewise.
39365 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39367 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39372 * configure.in (libc_cv_cc_nofma): Check for option to disable
39373 generation of FMA instructions.
39374 * configure: Regenerate.
39375 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39376 * sysdeps/ieee754/dbl-64/Makefile: New file.
39377 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39378 Remove brandred-fma4.
39379 (CFLAGS-brandred-fma4.c): Remove.
39380 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39381 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39383 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39386 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39388 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39389 LLONG_MAX != LONG_MAX.
39390 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39391 (_fitoa_word): Likewise.
39392 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39393 LLONG_MAX != LONG_MAX.
39394 * stdio-common/_itowa.h: Include <_itoa.h>.
39395 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39396 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39397 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39398 only if not defined.
39399 (_ITOA_WORD_TYPE): Likewise.
39400 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39401 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39403 2012-03-21 David S. Miller <davem@davemloft.net>
39405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39407 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39409 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39410 of x86_64 when setting libc_cv_slibdir, libdir and
39412 * sysdeps/unix/sysv/linux/configure: Regenerated.
39414 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39416 * manual/lang.texi (Old Varargs): Remove section.
39417 (How Variadic): Update menu.
39418 (va_start): Do not mention varargs.h.
39420 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39421 Joseph Myers <joseph@codesourcery.com>
39423 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39425 * configure: Regenerated.
39427 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39429 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39430 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39433 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39436 * Makefile (files-for-dist): Remove NOTES.
39437 (NOTES): Remove rule.
39438 * README: Don't refer to NOTES.
39439 * manual/creature.texi: Don't include macros.texi.
39440 * manual/intro.texi (creature.texi): Remove comment referring to
39443 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39444 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39445 * configure: Regenerated.
39446 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39447 LIBC_TRY_CC_OPTION.
39448 (libc_cv_as_i686): Likewise.
39449 (libc_cv_cc_avx): Likewise.
39450 (libc_cv_cc_sse2avx): Likewise.
39451 (libc_cv_cc_fma4): Likewise.
39452 (libc_cv_cc_novzeroupper): Likewise.
39453 * sysdeps/i386/configure: Regenerated.
39456 * sysdeps/i386/fpu/s_cexp.S: Remove.
39457 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39458 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39459 * math/libm-test.inc (cexp_test): Add more tests.
39460 * sysdeps/i386/fpu/libm-test-ulps: Update.
39461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39463 2012-03-21 Allan McRae <allan@archlinux.org>
39465 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39467 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39470 * math/w_exp2.c: Do not include <float.h>.
39471 (o_threshold, u_threshold): Remove.
39472 (__exp2): Calculate result before checking finiteness and calling
39474 * math/w_exp2f.c: Likewise.
39475 * math/w_exp2l.c: Likewise.
39476 * math/libm-test.inc (exp2_test): Require overflow exception for
39480 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39481 range of signed 64-bit integers before using fistpll. Remove
39482 checks for whether integers fit in mantissa bits.
39483 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39484 the range of signed 32-bit integers before using fistpl. Remove
39485 checks for whether integers fit in mantissa bits.
39486 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39487 (__ieee754_powl): Test for y outside the range of signed 64-bit
39488 integers before using fistpll. Reduce 64-bit values to 63-bit
39490 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39491 divide-by-zero is raised for zero to large negative powers.
39492 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39493 (__ieee754_powl): Test for y outside the range of signed 64-bit
39494 integers before using fistpll. Reduce 64-bit values to 63-bit
39496 * math/libm-test.inc (pow_test): Add more tests.
39498 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39500 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39501 <stdio-common/_itoa.h>.
39502 * debug/segfault.c: Likewise.
39503 * elf/dl-cache.c: Likewise.
39504 * elf/dl-minimal.c: Likewise.
39505 * elf/dl-misc.c: Likewise.
39506 * elf/dl-sysdep.c: Likewise.
39507 * elf/dl-version.c: Likewise.
39508 * elf/rtld.c: Likewise.
39509 * hurd/hurdsock.c: Likewise.
39510 * hurd/lookup-retry.c: Likewise.
39511 * malloc/malloc.c: Likewise.
39512 * malloc/mtrace.c: Likewise.
39513 * nscd/nscd_getgr_r.c: Likewise.
39514 * nscd/nscd_getpw_r.c: Likewise.
39515 * nscd/nscd_getserv_r.c: Likewise.
39516 * posix/getopt_init.c: Likewise.
39517 * posix/wordexp.c: Likewise.
39518 * stdio-common/_itoa.c: Likewise.
39519 * stdio-common/printf_fphex.c: Likewise.
39520 * stdio-common/vfprintf.c: Likewise.
39521 * string/_strerror.c: Likewise.
39522 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39523 * sysdeps/i386/i686/hp-timing.h: Likewise.
39524 * sysdeps/mach/_strerror.c: Likewise.
39525 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39526 * sysdeps/mach/hurd/sethostid.c: Likewise.
39527 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39528 * sysdeps/mach/xpg-strerror.c: Likewise.
39529 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39530 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39531 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39532 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39533 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39534 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39535 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39536 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39537 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39538 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39539 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39540 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39541 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39542 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39543 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39544 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39545 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39546 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39547 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39548 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39549 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39551 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39553 * stdio-common/_itoa.h: Moved to ...
39554 * sysdeps/generic/_itoa.h: Here.
39556 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39558 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39559 instead of "_itoa.h" and "_itowa.h".
39560 * stdio-common/vfprintf.: Likewise.
39562 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39564 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39566 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39567 (__signbit): Likwise.
39568 (llrintf): Likwise.
39571 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39573 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39576 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39578 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39579 OVERFLOW_EXCEPTION_OK.
39580 * math/libm-test.inc ("Philosophy"): Update comment about
39582 (OVERFLOW_EXCEPTION): Define.
39583 (OVERFLOW_EXCEPTION_OK): Likewise.
39584 (INVALID_EXCEPTION_OK): Renumber.
39585 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39586 (IGNORE_ZERO_INF_SIGN): Likewise.
39587 (test_exceptions): Handle FE_OVERFLOW.
39588 (exp10_test): Expect overflow exceptions.
39589 (exp2_test): Likewise.
39590 (expm1_test): Likewise.
39591 (nextafter_test): Likewise.
39592 (pow_test): Likewise.
39593 (scalbn_test): Likewise.
39594 (scalbln_test): Likewise.
39596 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39598 * sysdeps/x86_64/bits/atomic.h
39599 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39601 (atomic_exchange_acq): Likewise.
39602 (__arch_exchange_and_add_body): Likewise.
39603 (__arch_add_body): Likewise.
39604 (atomic_add_negative): Likewise.
39605 (atomic_add_zero): Likewise.
39607 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39609 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39610 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39612 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39614 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39615 Check __x86_64__ instead of __WORDSIZE.
39617 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39619 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39621 2012-03-19 David S. Miller <davem@davemloft.net>
39623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39625 * sysdeps/sparc/fpu/fenv_private.h: New file.
39626 * sysdeps/sparc/fpu/math_private.h: Use it.
39627 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39629 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39630 (libc_feholdexcept_setroundl): Remove.
39631 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39633 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39634 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39636 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39638 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39639 int64_t instead of long int.
39640 (INSERT_WORDS64): Likwise.
39642 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39644 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39645 _Unwind_GetCFA return to _Unwind_Ptr first.
39647 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39650 * math/s_clog.c: Include <float.h>.
39651 (__clog): Scale large or subnormal inputs.
39652 * math/s_clogf.c: Likewise.
39653 * math/s_clogl.c: Likewise.
39654 * math/s_clog10.c: Include <float.h>.
39655 (M_LOG10_2): Define.
39656 (__clog10): Scale large or subnormal inputs.
39657 * math/s_clog10f.c: Likewise.
39658 * math/s_clog10l.c: Likewise.
39659 * math/libm-test.inc (clog_test): Add more tests.
39660 (clog10_test): Likewise.
39661 * sysdeps/i386/fpu/libm-test-ulps: Update.
39662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39665 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39667 * math/libm-test.inc (atan2_test): Add another test.
39669 * Makerules (common-objdir-compile): Remove.
39670 * sysdeps/unix/Makefile (config-generated): Do not add
39671 $(unix-generated) to variable.
39672 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39673 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39675 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39677 [generic bits/local_lim.h] (before-compile): Do not append to
39679 [generic bits/local_lim.h] (common-generated): Likewise.
39680 [generic sys/param.h] (before-compile): Do not append to variable.
39681 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39682 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39683 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39684 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39686 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39687 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39688 [generic sys/param.h] ($(addprefix
39689 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39690 [generic sys/param.h] (common-generated): Do not append to
39692 [generic sys/param.h] (sysdep_headers): Likewise.
39693 [generic bits/errno.h] (before-compile): Do not append to
39695 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39697 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39698 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39699 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39700 [generic bits/errno.h] (common-generated): Do not append to
39702 [generic bits/ioctls.h] (before-compile): Do not append to
39704 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39706 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39707 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39708 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39710 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39711 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39712 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39713 [generic bits/ioctls.h] (common-generated): Do not append to
39715 [generic sys/syscall.h] (syscall.h): Remove variable.
39716 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39718 [generic sys/syscall.h] (before-compile): Do not append to
39720 [generic sys/syscall.h] (common-generated): Likewise.
39721 * sysdeps/unix/errnos-tmpl.c: Remove file.
39722 * sysdeps/unix/errnos.awk: Likewise.
39723 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39724 * sysdeps/unix/ioctls.awk: Likewise.
39725 * sysdeps/unix/mk-local_lim.c: Likewise.
39726 * sysdeps/unix/snarf-ioctls: Likewise.
39728 2012-03-19 Richard Henderson <rth@twiddle.net>
39730 * sysdeps/i386/fpu/fenv_private.h: New file.
39731 * sysdeps/i386/fpu/math_private.h: Use it.
39732 (math_opt_barrier, math_force_eval): Remove.
39733 (libc_feholdexcept_setround_53bit): Remove.
39734 (libc_feupdateenv_53bit): Remove.
39735 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39736 (math_opt_barrier, math_force_eval): Remove.
39737 (libc_feholdexcept): Remove.
39738 (libc_feholdexcept_setround): Remove.
39739 (libc_fetestexcept, libc_fesetenv): Remove.
39740 (libc_feupdateenv_test): Remove.
39741 (libc_feupdateenv, libc_feholdsetround): Remove.
39742 (libc_feresetround): Remove.
39744 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39745 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39747 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39748 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39749 (libc_feupdateenv_testl): New.
39750 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39751 (libc_feupdateenv_testf): New.
39752 (libc_feupdateenv): Use libc_feupdateenv_test.
39753 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39754 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39756 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39757 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39758 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39759 (libc_feresetround_noex): New.
39760 (libc_feresetround_noexf): New.
39761 (libc_feresetround_noexl): New.
39762 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39763 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39764 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39765 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39767 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39768 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39770 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39771 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39772 SET_RESTORE_ROUND_NOEX.
39773 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39774 SET_RESTORE_ROUND_NOEXF.
39775 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39776 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39777 (libc_feholdsetroundf): New.
39778 (libc_feresetround, libc_feresetroundf): New.
39780 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39781 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39782 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39784 * sysdeps/generic/math_private.h: Include <fenv.h>.
39785 (default_libc_feholdexcept): New.
39786 (default_libc_feholdexcept_setround): New.
39787 (default_libc_fesetenv, default_libc_feupdateenv): New.
39788 (libc_feholdexcept): Only define if undefined.
39789 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39790 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39791 (libc_feholdexcept_setroundl): Likewise.
39792 (libc_feholdexcept_setround_53bit): Likewise.
39793 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39794 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39795 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39796 (libc_feupdateenv_53bit): Likewise.
39797 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39798 (libc_feholdexcept): Convert from macro to inline function.
39799 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39800 (libc_fesetenv, libc_feupdateenv): Likewise.
39802 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39803 not previously defined.
39804 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39805 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39806 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39807 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39808 * sysdeps/ieee754/flt-32/math_private.h: New file.
39809 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39810 math_private.h below SET_FLOAT_WORD.
39811 (__isnan, __isinf_ns, __finite): Remove.
39812 (__isnanf, __isinf_nsf, __finitef): Remove.
39814 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39818 2012-03-17 David S. Miller <davem@davemloft.net>
39821 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39824 2012-03-16 David S. Miller <davem@davemloft.net>
39826 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39830 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39832 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39833 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39834 sysdep_routines when subdir is sysvipc.
39835 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39836 __getshmlba helper.
39838 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39840 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39842 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39845 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39847 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39848 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39849 (__lround): Renamed to ...
39850 (__llround): This. Replace long int with long long int.
39851 Define lround functions as aliases of llround functions.
39852 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39854 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39856 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39857 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39858 adresses to uintptr_t. Replace "long int" and "unsigned long
39859 int" with "greg_t" on va_arg.
39861 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39863 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39864 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39866 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39867 Move e_machine check before EI_CLASS check. Handle x32
39868 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39869 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39870 SKIP_EM_IA_64 and include
39871 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39873 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39874 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39875 (add_system_dir): New macro.
39877 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39878 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39880 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39891 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39893 * math/w_j0f.c (j0f): Likewise.
39895 * math/w_j0l.c (__j0l): Likewise.
39897 * math/w_j1.c (j1): Likewise.
39899 * math/w_j1f.c (j1f): Likewise.
39901 * math/w_j1l.c (__j1l): Likewise.
39903 * math/w_jn.c (jn): Likewise.
39905 * math/w_jnf.c (jnf): Likewise.
39907 * math/w_jnl.c (__jnl): Likewise.
39909 * math/libm-test.inc (j0_test): Add more tests.
39910 (j1_test): Likewise.
39911 (jn_test): Likewise. Add trailing semicolon to existing test.
39912 (y0_test): Likewise.
39913 (y1_test): Likewise.
39914 * sysdeps/i386/fpu/libm-test-ulps: Update.
39915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39919 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39920 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39921 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39922 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39923 (__tanl): Set errno for infinite argument.
39924 * sysdeps/i386/fpu/mptan.c: Remove.
39925 * sysdeps/i386/fpu/s_tan.S: Likewise.
39926 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39927 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39928 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39929 * math/libm-test.inc (tan_test): Add more tests and enable more
39930 tests for double and long double.
39931 * sysdeps/i386/fpu/libm-test-ulps: Update.
39932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39934 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39936 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39937 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39939 2012-03-16 Roland McGrath <roland@hack.frob.com>
39941 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39942 * configure.in: Use it for both main tree and add-ons.
39943 * configure: Regenerated.
39945 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39947 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39949 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39951 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39955 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39956 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39957 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39958 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39959 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39961 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39962 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39963 != 0 for prec == 2.
39964 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39965 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39966 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39967 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39968 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39969 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39970 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39971 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39972 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39973 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39974 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39975 * math/libm-test.inc (cos_test): Add more tests and enable more
39976 tests for long double.
39977 (sin_test): Likewise.
39978 (sincos_test): Likewise.
39979 * sysdeps/i386/fpu/libm-test-ulps: Update.
39980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39982 2012-03-16 David S. Miller <davem@davemloft.net>
39984 * sysdeps/sparc/fpu/math_private.h: New file.
39986 2012-03-15 David S. Miller <davem@davemloft.net>
39988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39998 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40002 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40003 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40005 * sysdeps/sparc/sparc-ifunc.h: New file.
40006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40030 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40031 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40032 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40033 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40034 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40035 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40040 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40041 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40042 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40043 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40044 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40045 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40046 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40047 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40048 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40049 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40051 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40053 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40057 2012-03-15 Andreas Jaeger <aj@suse.de>
40060 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40061 ieee754/flt-32 implementation for sin, cos and sincos.
40062 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40063 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40064 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40065 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40066 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40067 ieee754/flt-32 implementation for tan.
40069 * math/libm-test.inc (cos_test): Enable some large input tests for
40071 (sin_test): Likewise.
40072 (sincos_test): Likewise.
40073 (tan_test): Add tests for large input.
40075 * sysdeps/i386/fpu/libm-test-ulps: Update.
40077 2012-03-15 Andreas Jaeger <aj@suse.de>
40080 * math/libm-test.inc (cos_test): Add more test cases.
40081 (sin_test): Likewise.
40082 (sincos_test): Likewise.
40084 2012-03-15 Andreas Jaeger <aj@suse.de>
40087 * math/libm-test.inc (cos_test): Add a test case for large input
40089 (sin_test): Likewise.
40090 (sincos_test): Likewise.
40092 2012-03-15 Andreas Jaeger <aj@suse.de>
40093 Joseph Myers <joseph@codesourcery.com>
40096 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40097 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40098 * sysdeps/i386/fpu/branred.c: Likewise.
40099 * sysdeps/i386/fpu/dosincos.c: Likewise.
40100 * sysdeps/i386/fpu/mpa.c: Likewise.
40101 * sysdeps/i386/fpu/s_cos.S: Likewise.
40102 * sysdeps/i386/fpu/s_sin.S: Likewise.
40103 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40104 * sysdeps/i386/fpu/sincos32.c: Likewise.
40106 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40108 (libc_feupdateenv_53bit): Define.
40109 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40111 (libc_feupdateenv_53bit): Define.
40113 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40114 53 bit (without extend i386 double precision).
40116 * math/libm-test.inc (sincos_test): Add tests for large input.
40120 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40122 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40126 2012-03-15 David S. Miller <davem@davemloft.net>
40128 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40129 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40130 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40131 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40155 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40156 fmin/fmax sysdep routines.
40157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40159 2012-03-14 David S. Miller <davem@davemloft.net>
40161 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40162 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40165 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40166 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40167 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40168 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40169 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40170 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40171 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40181 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40182 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40183 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40184 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40185 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40186 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40187 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40188 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40189 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40233 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40238 * sysdeps/sparc/configure.in: New file.
40239 * sysdeps/sparc/configure: Generate.
40240 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40241 * configure: Regenerate.
40242 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40243 * config.make.in (have-as-vis3): New.
40244 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40245 available use -Av9d instead of -Av9a.
40246 * sysdeps/sparc/sparc64/Makefile: Likewise.
40247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40256 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40257 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40258 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40259 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40260 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40262 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40263 fzeros/fnegs to load 0x80000000 into a float register instead of
40265 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40267 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40271 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40272 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40273 ($(inst_includedir)/bits/syscall.h): Remove rule.
40274 ($(objpfx)bits/syscall.d): Include instead of
40275 $(objpfx)syscall-list.d.
40276 (generated): Change syscall-list.h and syscall-list.d to
40277 bits/syscall.h and bits/syscall.d.
40279 2012-03-14 Roland McGrath <roland@hack.frob.com>
40282 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40284 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40287 * math/s_csqrt.c: Include <float.h>.
40288 (__csqrt): Scale large or subnormal inputs.
40289 * math/s_csqrtf.c: Likewise.
40290 * math/s_csqrtl.c: Likewise.
40291 * math/libm-test.inc (csqrt_test): Add more tests.
40292 * sysdeps/i386/fpu/libm-test-ulps: Update.
40293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40296 * math/libm-test.inc (hypot_test): Add more tests.
40298 2012-03-13 David S. Miller <davem@davemloft.net>
40301 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40302 double-precision for the calculation instead of scaling.
40304 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40306 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40307 manipulate bits before adding and subtracting TWO52[sx].
40308 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40309 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40311 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40313 2012-03-13 David S. Miller <davem@davemloft.net>
40315 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40316 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40317 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40318 rtld-global-offsets.h
40319 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40321 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40324 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40326 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40327 'err' in the ifdef scope in which it is actually used.
40329 * nss/nss_db/db-init.c: Include string.h
40331 2012-03-12 David S. Miller <davem@davemloft.net>
40333 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40334 masking out of the most significant byte of random value used.
40335 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40336 Fix coding style in previous change.
40338 * sysdeps/unix/sysv/linux/kernel-features.h
40339 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40340 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40342 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40345 2012-03-11 David S. Miller <davem@davemloft.net>
40347 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40348 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40349 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40350 for 'resultvar' otherwise things get truncated on 64-bit.
40352 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40353 Fix masking out of the most significant byte of random value used.
40355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40357 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40361 2012-03-09 David S. Miller <davem@davemloft.net>
40363 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40364 variables with appropriate CPP guards.
40365 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40366 from the frame pointer, not the stack pointer. Correct layout
40367 comments. Fix test on resulting framesize and the management of
40368 the outregs buffer for pltexit. Preserve floating point return
40369 values across _dl_call_pltexit call.
40370 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40371 framesize and the management of the outregs buffer for pltexit.
40372 Preserve floating point return values across _dl_call_pltexit
40374 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40375 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40376 (la_sparc64_gnu_pltexit): New functions.
40377 (print_exit): Fix format string for return register value.
40379 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40381 * sunrpc/Makefile (others): Add rpcgen.
40382 ($(objpfx)rpcgen): Remove special build rule and dependency on
40384 * sunrpc/rpcgen.c: New file.
40386 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40389 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40390 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40391 * sysdeps/i386/crti.S: Likewise.
40392 * sysdeps/i386/crtn.S: Likewise.
40393 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40394 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40395 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40396 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40397 * sysdeps/sh/crti.S: Likewise.
40398 * sysdeps/sh/crtn.S: Likewise.
40399 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40402 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40404 * locale/programs/locfile-kw.gperf: Likewise.
40405 * locale/programs/charmap-kw.h: Regenerated.
40406 * locale/programs/locfile-kw.h: Likewise.
40409 * intl/plural.y: Replace FSF snail mail address with URL.
40410 * intl/plural.c: Regenerated.
40412 2012-03-09 Richard Henderson <rth@twiddle.net>
40414 * include/math_private.h: Remove file.
40415 * math/math_private.h: Move file ...
40416 * sysdeps/generic/math_private.h: ... here.
40418 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40419 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40420 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40422 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40423 and <math_private.h>.
40424 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40425 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40426 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40427 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40428 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40429 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40430 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40431 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40432 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40433 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40434 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40435 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40436 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40437 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40438 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40439 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40440 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40441 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40442 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40443 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40444 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40445 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40446 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40447 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40448 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40449 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40450 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40451 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40452 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40453 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40454 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40455 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40456 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40457 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40458 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40459 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40460 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40461 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40462 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40463 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40464 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40465 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40466 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40467 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40468 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40469 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40470 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40471 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40472 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40473 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40474 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40475 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40476 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40477 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40478 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40479 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40480 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40481 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40482 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40483 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40484 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40485 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40486 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40487 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40488 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40489 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40490 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40491 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40492 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40493 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40494 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40495 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40496 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40497 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40498 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40499 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40500 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40501 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40502 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40503 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40504 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40505 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40506 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40507 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40508 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40509 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40510 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40511 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40512 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40513 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40514 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40515 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40516 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40517 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40518 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40519 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40520 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40521 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40522 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40523 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40524 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40525 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40526 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40527 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40528 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40529 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40530 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40531 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40532 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40533 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40534 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40535 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40536 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40537 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40538 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40539 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40540 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40541 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40542 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40543 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40544 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40545 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40546 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40547 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40548 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40549 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40550 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40551 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40552 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40553 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40554 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40555 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40556 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40557 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40558 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40559 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40560 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40561 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40562 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40563 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40564 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40565 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40566 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40567 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40568 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40569 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40570 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40571 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40572 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40573 * sysdeps/ieee754/k_standard.c: Likewise.
40574 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40575 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40576 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40577 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40578 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40579 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40580 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40581 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40582 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40583 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40584 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40585 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40586 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40587 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40588 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40589 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40590 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40591 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40592 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40593 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40594 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40595 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40596 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40597 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40598 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40599 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40600 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40601 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40602 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40603 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40604 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40605 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40606 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40607 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40608 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40609 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40610 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40611 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40612 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40613 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40614 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40615 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40616 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40617 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40618 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40619 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40620 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40621 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40622 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40623 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40624 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40625 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40626 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40627 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40628 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40629 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40630 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40631 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40632 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40633 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40634 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40635 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40636 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40637 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40638 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40639 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40640 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40641 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40642 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40643 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40644 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40645 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40646 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40647 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40648 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40649 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40650 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40651 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40652 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40653 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40654 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40655 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40656 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40657 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40658 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40659 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40660 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40661 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40662 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40663 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40664 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40665 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40666 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40667 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40668 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40669 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40670 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40671 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40672 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40673 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40674 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40675 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40676 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40677 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40678 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40679 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40680 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40681 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40682 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40683 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40684 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40685 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40686 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40687 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40688 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40689 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40690 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40691 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40692 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40693 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40694 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40695 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40696 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40697 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40698 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40699 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40700 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40701 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40702 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40703 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40704 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40705 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40706 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40707 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40708 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40709 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40710 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40711 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40712 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40713 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40714 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40715 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40716 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40717 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40718 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40719 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40720 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40721 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40722 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40723 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40724 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40725 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40726 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40727 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40728 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40729 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40730 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40731 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40732 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40733 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40734 * sysdeps/ieee754/s_lib_version.c: Likewise.
40735 * sysdeps/ieee754/s_matherr.c: Likewise.
40736 * sysdeps/ieee754/s_signgam.c: Likewise.
40737 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40738 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40739 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40740 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40741 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40742 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40743 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40744 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40745 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40746 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40747 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40748 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40749 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40750 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40751 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40752 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40753 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40754 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40755 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40756 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40757 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40759 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40761 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40762 * sunrpc/rpc_main.c: Likewise.
40763 * sunrpc/rpc_svcout.c: Likewise.
40765 2012-03-09 David S. Miller <davem@davemloft.net>
40767 * include/math_private.h: New file.
40769 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40771 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40772 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40773 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40774 from <bits/socket_type.h>.
40775 (enum __socket_type): Don't define here.
40776 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40778 bits/socket_type.h.
40781 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40782 checking __USE_GNU.
40784 * Makerules ($(inst_includedir)/%.h): New rule.
40785 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40786 (install-others): Remove variable setting.
40787 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40789 2012-03-08 Richard Henderson <rth@twiddle.net>
40791 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40792 from macro to inline function; merge with the
40793 !__LIBC_INTERNAL_MATH_INLINES version.
40794 (__ieee754_sqrtf): Likewise.
40796 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40797 to inline function.
40798 (__rintf, __floor, __floorf): Likewise.
40800 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40801 macro to inline function.
40802 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40804 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40805 not <math/math_private.h>.
40807 2012-03-08 David S. Miller <davem@davemloft.net>
40809 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40811 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40813 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40815 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40817 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40818 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40820 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40822 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40823 be defined individually, they must be defined as a block. Define
40824 S for printing a string instead of hidint the different by using a
40825 macro for adding the 'l'.
40826 * stdio-common/tst-fphex-wide.c: Adjust.
40828 2012-03-07 Marek Polacek <polacek@redhat.com>
40830 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40832 2012-03-08 Marek Polacek <polacek@redhat.com>
40835 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40836 * stdio-common/tst-fphex.c: Define a few macros to make the
40837 test reusable. Use them.
40838 * stdio-common/tst-fphex-wide.c: New file.
40840 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40843 * manual/macros.texi (gnusystems): New macro.
40844 (nongnusystems): Likewise.
40845 (gnulinuxhurdsystems): Likewise.
40846 (gnuhurdsystems): Likewise..
40847 (gnulinuxsystems): Likewise.
40848 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40849 variants of the GNU system, not "GNU system".
40850 * manual/conf.texi: Likewise.
40851 * manual/errno.texi: Likewise. Update example of errno macro
40853 * manual/filesys.texi: Likewise.
40854 (getumask): Document as specific to GNU/Hurd.
40855 * manual/install.texi: Likewise. Reword some references to
40857 * manual/intro.texi: Likewise.
40858 * manual/io.texi: Likewise.
40859 (File Name Portability): Detail which constraints are inapplicable
40860 to all GNU systems and which are only inapplicable to GNU/Hurd.
40861 * manual/job.texi: Likewise.
40862 * manual/llio.texi: Likewise.
40863 (O_NOCTTY): Document as present on GNU/Linux.
40864 * manual/maint.texi: Likewise.
40865 * manual/memory.texi: Likewise.
40866 * manual/pattern.texi: Likewise.
40867 * manual/pipe.texi: Likewise.
40868 * manual/process.texi: Likewise.
40869 * manual/resource.texi: Likewise.
40870 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40872 * manual/setjmp.texi: Likewise.
40873 * manual/signal.texi: Likewise.
40874 * manual/startup.texi: Likewise.
40875 * manual/stdio.texi: Likewise.
40876 * manual/terminal.texi: Likewise.
40877 (ONLCR): Document as POSIX.
40878 (OXTABS): Document availability on GNU/Linux as XTABS.
40879 (ONOEOT): Document availability separately from other bits.
40880 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40881 * manual/time.texi: Likewise.
40882 * manual/users.texi: Likewise.
40883 * INSTALL: Regenerated.
40884 * sysdeps/gnu/errlist.c: Regenerated.
40886 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40887 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40888 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40890 * configure: Regenerated.
40892 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40894 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40895 default includes instead of AC_HEADER_CHECK.
40896 * sysdeps/i386/configure: Regenerated.
40899 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40900 * math/s_cacoshf.c (__cacoshf): Likewise.
40901 * math/s_cacoshl.c (__cacoshl): Likewise.
40902 * math/s_casinh.c (__casinh): Set signs of result from argument.
40903 * math/s_casinhf.c (__casinhf): Likewise.
40904 * math/s_casinhl.c (__casinhl): Likewise.
40905 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40906 (casinh_test): Add more tests.
40907 * sysdeps/i386/fpu/libm-test-ulps: Update.
40908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40910 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40912 * po/zh_TW.po: Update from translation team.
40914 * login/Makefile (distribute): Remove variable.
40915 * catgets/Makefile: Likewise.
40916 * mach/Makefile: Likewise.
40917 * malloc/Makefile: Likewise.
40918 * misc/Makefile: Likewise.
40919 * iconv/Makefile: Likewise.
40920 * nscd/Makefile: Likewise.
40921 * hurd/Makefile: Likewise.
40922 * manual/Makefile: Likewise.
40923 * locale/Makefile: Likewise.
40924 * intl/Makefile: Likewise.
40925 * conform/Makefile: Likewise.
40926 * nss/Makefile: Likewise.
40927 * time/Makefile: Likewise.
40928 * soft-fp/Makefile: Likewise.
40929 * dirent/Makefile: Likewise.
40930 * gmon/Makefile: Likewise.
40931 * po/Makefile: Likewise.
40932 * rt/Makefile: Likewise.
40933 * socket/Makefile: Likewise.
40934 * math/Makefile: Likewise.
40935 * signal/Makefile: Likewise.
40936 * debug/Makefile: Likewise.
40937 * elf/Makefile: Likewise.
40938 * timezone/Makefile: Likewise.
40939 * stdlib/Makefile: Likewise.
40940 * iconvdata/Makefile: Likewise.
40941 * sunrpc/Makefile: Likewise.
40942 * io/Makefile: Likewise.
40943 * argp/Makefile: Likewise.
40944 * inet/Makefile: Likewise.
40945 * hesiod/Makefile: Likewise.
40946 * grp/Makefile: Likewise.
40947 * csu/Makefile: Likewise.
40948 * wctype/Makefile: Likewise.
40949 * crypt/Makefile: Likewise.
40950 * libio/Makefile: Likewise.
40951 * string/Makefile: Likewise.
40952 * nis/Makefile: Likewise.
40953 * resolv/Makefile: Likewise.
40954 * stdio-common/Makefile: Likewise.
40955 * wcsmbs/Makefile: Likewise.
40956 * dlfcn/Makefile: Likewise.
40957 * posix/Makefile: Likewise.
40960 * timezone/Makefile: Don't install timezone files, just the programs
40963 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40965 * nss/databases.def: Add missing gshadow entry.
40967 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40969 2012-03-06 Marek Polacek <polacek@redhat.com>
40972 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40973 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40974 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40975 * stdio-common/tst-long-dbl-fphex.c: New file.
40977 2012-03-06 David S. Miller <davem@davemloft.net>
40979 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40980 (set_obp_int): New function.
40981 (get_obp_int): New function.
40982 (__get_clockfreq_via_dev_openprom): Likewise.
40983 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40984 Avoid unused variable warnings on 'val' and use builtin_expect.
40985 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40987 (INLINE_CLONE_SYSCALL): Likewise.
40989 2012-03-05 David S. Miller <davem@davemloft.net>
40991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40993 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40997 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40998 only for |x| >= 40.
40999 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41001 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
41003 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41004 Replace gettimeofday with __vdso_gettimeofday.
41006 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41007 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41008 __vdso_clock_gettime and __vdso_getcpu.
41010 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41011 time with __vdso_time.
41013 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41015 * manual/lang.texi (size_t): Note types to which size_t may be
41016 equivalent with the GNU C Library, but do not describe when
41017 differences between them are significant.
41019 2012-03-05 Andreas Jaeger <aj@suse.de>
41021 * sysdeps/i386/fpu/libm-test-ulps: Update.
41023 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41026 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41027 (__ieee754_pow): Save and restore rounding mode and use
41028 round-to-nearest for main computations.
41029 * math/libm-test.inc (pow_test_tonearest): New function.
41030 (pow_test_towardzero): Likewise.
41031 (pow_test_downward): Likewise.
41032 (pow_test_upward): Likewise.
41033 (main): Call the new functions.
41034 * sysdeps/i386/fpu/libm-test-ulps: Update.
41035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41038 * math/libm-test.inc (cosh_test_tonearest): New function.
41039 (cosh_test_towardzero): Likewise.
41040 (cosh_test_downward): Likewise.
41041 (cosh_test_upward): Likewise.
41042 (sinh_test_tonearest): Likewise.
41043 (sinh_test_towardzero): Likewise.
41044 (sinh_test_downward): Likewise.
41045 (sinh_test_upward): Likewise.
41046 (main): Call the new functions.
41047 * sysdeps/i386/fpu/libm-test-ulps: Update.
41048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41050 2012-03-05 Tom de Vries <tom@codesourcery.com>
41052 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41053 default stack guard is set in last bytes.
41054 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41056 2012-03-05 Kees Cook <keescook@chromium.org>
41058 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41061 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41062 possibly allocate from heap instead of stack.
41063 * stdio-common/bug-vfprintf-nargs.c: New file.
41064 * stdio-common/Makefile (tests): Add nargs overflow test.
41066 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41070 2012-03-03 Marek Polacek <polacek@redhat.com>
41072 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41073 * math/math_private.h: Likewise.
41074 * stdlib/tst-strtod.c: Likewise.
41075 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41076 * sysdeps/x86_64/bits/atomic.h: Likewise.
41078 2012-03-02 David S. Miller <davem@davemloft.net>
41080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41084 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41085 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41086 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41087 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41089 2012-03-02 Roland McGrath <roland@hack.frob.com>
41092 * manual/examples/README: New file, says the example source files
41093 can be used under GPL>=2.
41094 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41095 line containing just "*/".
41096 * manual/examples/add.c: Add copyright header (GPL>=2).
41097 * manual/examples/argp-ex1.c: Likewise.
41098 * manual/examples/argp-ex2.c: Likewise.
41099 * manual/examples/argp-ex3.c: Likewise.
41100 * manual/examples/argp-ex4.c: Likewise.
41101 * manual/examples/atexit.c: Likewise.
41102 * manual/examples/db.c: Likewise.
41103 * manual/examples/dir.c: Likewise.
41104 * manual/examples/dir2.c: Likewise.
41105 * manual/examples/execinfo.c: Likewise.
41106 * manual/examples/filecli.c: Likewise.
41107 * manual/examples/filesrv.c: Likewise.
41108 * manual/examples/fmtmsgexpl.c: Likewise.
41109 * manual/examples/genpass.c: Likewise.
41110 * manual/examples/inetcli.c: Likewise.
41111 * manual/examples/inetsrv.c: Likewise.
41112 * manual/examples/isockad.c: Likewise.
41113 * manual/examples/longopt.c: Likewise.
41114 * manual/examples/memopen.c: Likewise.
41115 * manual/examples/memstrm.c: Likewise.
41116 * manual/examples/mkfsock.c: Likewise.
41117 * manual/examples/mkisock.c: Likewise.
41118 * manual/examples/mygetpass.c: Likewise.
41119 * manual/examples/pipe.c: Likewise.
41120 * manual/examples/popen.c: Likewise.
41121 * manual/examples/rprintf.c: Likewise.
41122 * manual/examples/search.c: Likewise.
41123 * manual/examples/select.c: Likewise.
41124 * manual/examples/setjmp.c: Likewise.
41125 * manual/examples/sigh1.c: Likewise.
41126 * manual/examples/sigusr.c: Likewise.
41127 * manual/examples/stpcpy.c: Likewise.
41128 * manual/examples/strdupa.c: Likewise.
41129 * manual/examples/strftim.c: Likewise.
41130 * manual/examples/strncat.c: Likewise.
41131 * manual/examples/subopt.c: Likewise.
41132 * manual/examples/swapcontext.c: Likewise.
41133 * manual/examples/termios.c: Likewise.
41134 * manual/examples/testopt.c: Likewise.
41135 * manual/examples/testpass.c: Likewise.
41136 * manual/examples/timeval_subtract.c: Likewise.
41139 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41141 * manual/timeval_subtract.c.texi: ... here, new file.
41143 2012-03-02 David S. Miller <davem@davemloft.net>
41145 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41147 2012-03-02 Joseph Myers <joseph@codesourcery.com>
41150 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41151 (__sin): Save and restore rounding mode and use round-to-nearest
41152 for all computations.
41153 (__cos): Save and restore rounding mode and use round-to-nearest
41154 for all computations.
41155 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41157 (tan): Save and restore rounding mode and use round-to-nearest for
41159 * math/libm-test.inc (cos_test_tonearest): New function.
41160 (cos_test_towardzero): Likewise.
41161 (cos_test_downward): Likewise.
41162 (cos_test_upward): Likewise.
41163 (sin_test_tonearest): Likewise.
41164 (sin_test_towardzero): Likewise.
41165 (sin_test_downward): Likewise.
41166 (sin_test_upward): Likewise.
41167 (tan_test_tonearest): Likewise.
41168 (tan_test_towardzero): Likewise.
41169 (tan_test_downward): Likewise.
41170 (tan_test_upward): Likewise.
41171 (main): Call the new functions.
41172 * sysdeps/i386/fpu/libm-test-ulps: Update.
41173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41176 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41177 small n, then large n, before computing and testing k+n.
41178 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41179 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41181 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41183 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41184 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41185 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41186 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41187 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41188 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41189 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41190 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41191 * math/libm-test.inc (scalbn_test): Add more tests.
41192 (scalbln_test): Likewise.
41194 * manual/filesys.texi (mode_t): Describe constraints on size and
41195 signedness, not exact equivalence to a particular type.
41197 (ino64_t): Likewise.
41199 (nlink_t): Likewise.
41200 (blkcnt_t): Likewise.
41201 (blkcnt64_t): Likewise.
41202 * manual/llio.texi (off_t): Likewise.
41205 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41206 (__ieee754_exp): Save and restore rounding mode and use
41207 round-to-nearest for all computations.
41208 * math/libm-test.inc (exp_test_tonearest): New function.
41209 (exp_test_towardzero): Likewise.
41210 (exp_test_downward): Likewise.
41211 (exp_test_upward): Likewise.
41212 (main): Call the new functions.
41213 * sysdeps/i386/fpu/libm-test-ulps: Update.
41214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41216 2012-03-01 Chris Demetriou <cgd@google.com>
41218 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41219 have predictable order.
41221 2012-03-01 David S. Miller <davem@davemloft.net>
41223 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41225 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41226 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41227 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41228 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41230 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41231 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41232 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41234 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41235 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41236 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41237 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41238 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41242 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41243 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41244 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41246 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41247 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41248 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41249 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41250 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41251 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41252 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41253 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41254 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41255 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41256 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41257 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41258 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41259 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41260 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41261 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41262 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41263 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41264 * sysdeps/sparc/elf/configure: Regenerated.
41266 2012-03-01 Joseph Myers <joseph@codesourcery.com>
41268 * configure.in (AS, LD): Require binutils 2.20 or later.
41269 * configure: Regenerated.
41270 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41271 as required minimum version.
41272 * INSTALL: Regenerated.
41276 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41277 before squaring exponent.
41278 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41279 bottom long double and 27 bits of top long double before squaring
41281 * math/libm-test.inc (erfc_test): Add more tests.
41282 * sysdeps/i386/fpu/libm-test-ulps: Update.
41283 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41286 2012-03-01 Kai Tietz <ktietz@redhat.com>
41288 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41289 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41290 containing bit-fields.
41291 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41292 * soft-fp/single.h (_FP_UNION_S): Likewise.
41293 * soft-fp/double.h (_FP_UNION_D): Likewise.
41295 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41298 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41299 not include ../strcmp.S.
41300 [USE_AS_STRNCASECMP_L]: Likewise.
41301 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41302 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41303 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41304 (__strncasecmp_l_ia32): Define as alias to
41305 __strncasecmp_l_nonascii.
41308 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41309 * sysdeps/i386/fpu/libm-test-ulps: Update.
41310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41312 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41315 2012-02-29 Jeff Law <law@redhat.com>
41317 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41318 out of bounds read.
41320 2012-02-29 Marek Polacek <polacek@redhat.com>
41323 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41324 * elf/Makefile: Add rules to run tst-unused-dep.out.
41326 2012-02-28 David S. Miller <davem@davemloft.net>
41328 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41329 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41330 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41331 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41332 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41333 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41335 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41337 * math/libm-test.inc (llround_test): Move one test from
41338 lround_test. Use TEST_f_L in moved test.
41339 (lround_test): Move misplaced test to llround_test. Add testcase
41342 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41344 * sysdeps/x86_64/fpu/e_expf.S: New file.
41345 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41347 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41350 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41351 of remain_len that may cause incomplete multi-byte character and
41353 * posix/bug-regex33.c: New file.
41354 * posix/Makefile (tests): Add bug-regex33.
41356 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41358 * manual/macros.texi: New file.
41359 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41360 * manual/libc.texinfo: Include macros.texi.
41361 * manual/creatute.texi: Likewise.
41362 * manual/install.texi: Likewise.
41363 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41364 @glibcadj{} in references to the GNU C Library.
41365 * manual/charset.texi: Likewise.
41366 * manual/conf.texi: Likewise.
41367 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41368 when not using those macros.
41369 * manual/creature.texi: Likewise.
41370 * manual/crypt.texi: Likewise.
41371 * manual/errno.texi: Likewise.
41372 * manual/filesys.texi: Likewise.
41373 * manual/header.texi: Likewise.
41374 * manual/install.texi: Likewise.
41375 * manual/intro.texi: Likewise.
41376 * manual/io.texi: Likewise.
41377 * manual/job.texi: Likewise.
41378 * manual/lang.texi: Likewise.
41379 * manual/libc.texiinfo: Likewise.
41380 * manual/llio.texi: Likewise.
41381 * manual/locale.texi: Likewise.
41382 * manual/maint.texi: Likewise.
41383 * manual/math.texi: Likewise.
41384 * manual/memory.texi: Likewise.
41385 * manual/message.texi: Likewise.
41386 * manual/nss.texi: Likewise.
41387 * manual/pattern.texi: Likewise.
41388 * manual/process.texi: Likewise.
41389 * manual/resource.texi: Likewise.
41390 * manual/search.texi: Likewise.
41391 * manual/setjmp.texi: Likewise.
41392 * manual/signal.texi: Likewise.
41393 * manual/socket.texi: Likewise.
41394 * manual/startup.texi: Likewise.
41395 * manual/stdio.texi: Likewise.
41396 * manual/string.texi: Likewise.
41397 * manual/sysinfo.texi: Likewise.
41398 * manual/syslog.texi: Likewise.
41399 * manual/terminal.texi: Likewise.
41400 * manual/time.texi: Likewise.
41401 * manual/users.texi: Likewise.
41402 * INSTALL: Regenerated.
41403 * NOTES: Regenerated.
41404 * sysdeps/gnu/errlist.c: Regenerated.
41406 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41408 * include/dirent.h: Include <dirstream.h> before
41411 2012-02-28 David S. Miller <davem@davemloft.net>
41413 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41414 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41415 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41416 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41418 2012-02-27 David S. Miller <davem@davemloft.net>
41420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41422 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41423 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41426 frame pointer instead of stack pointer relative arg slot.
41427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41428 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41429 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41431 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41434 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41436 2012-02-27 David S. Miller <davem@davemloft.net>
41438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41442 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41443 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41444 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41445 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41447 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41449 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41450 later. Allow versions 5-9.
41451 * configure: Regenerated.
41452 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41453 required minimum version and 4.6 as recommended version. Do not
41454 mention bugs in GCC 2.7 and 2.8.
41455 * INSTALL: Regenerated.
41457 2012-02-27 David S. Miller <davem@davemloft.net>
41459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41463 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41464 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41465 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41466 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41468 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41469 manipulate bits before adding and subtracting TWO112[sx].
41470 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41472 2012-02-27 Roland McGrath <roland@hack.frob.com>
41475 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41476 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41477 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41478 being in POSIX, because they are in 1003.1-2008.
41480 * rt/tst-aio.c: Include <fcntl.h>.
41481 * rt/tst-aio7.c: Likewise.
41482 * rt/tst-aio64.c: Likewise.
41484 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41486 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41488 * manual/install.texi (--with-headers): Describe headers as
41489 interface headers, not private headers.
41490 (Specific advice for GNU/Linux systems): Describe use of headers
41491 from "make headers_install", not private headers from older
41493 * INSTALL: Regenerated.
41494 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41496 * sysdeps/unix/sysv/linux/configure: Regenerated.
41498 * manual/llio.texi (fclean): Remove documentation.
41500 * manual/Makefile (libc-texi-generated): New variable. Include
41502 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41503 $(libc-texi-generated), not duplicated list of files.
41504 (version.texi, stamp-version): New rules.
41505 (realclean): Remove $(libc-texi-generated), not individual files
41506 from that list. Do not remove dir-add.texinfo.
41507 * manual/libc.texinfo: Comment out uses of edition numbers and
41508 references to printed manual. Remove last-updated dates.
41509 (EDITION): Comment out.
41511 (VERSION, UPDATED): Remove.
41512 (version.texi): Include.
41514 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41516 * sysdeps/posix/spawni.c: Include <signal.h>.
41517 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41518 * sysdeps/pthread/aio_fsync.c: Likewise.
41520 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41522 * conform/Makefile (tests): Run only when not cross-compiling and
41523 when fast-check is not defined.
41525 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41526 * conform/data/limits.h-data: Fixes for POSIX2008.
41527 * conform/run-conformtest.sh: Run all tests.
41528 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41530 * include/bits/dlfcn.h: Likewise.
41531 * include/langinfo.h: Likewise.
41532 * include/monetary.h: Likewise.
41533 * include/sys/poll.h: Likewise.
41535 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41537 * posix/spawn.h: Define __need_sigset_t.
41538 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41539 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41540 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41541 to get sigevent_t only.
41542 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41543 only for __USE_GNU.
41544 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41545 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41546 process_vm_writev only for __USE_GNU.
41547 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41549 * conform/Makefile: For now ignore errors from run-conformtest.
41550 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41551 POSIX to avoid namespace pollution. Don't prepend headers.
41552 * conform/data/aio.h-data: Fixes for POSIX testing.
41553 * conform/data/fcntl.h-data: Likewise.
41554 * conform/data/glob.h-data: Likewise.
41555 * conform/data/grp.h-data: Likewise.
41556 * conform/data/pthread.h-data: Likewise.
41557 * conform/data/pwd.h-data: Likewise.
41558 * conform/data/signal.h-data: Likewise.
41559 * conform/data/spawn.h-data: Likewise.
41560 * conform/data/stdio.h-data: Likewise.
41561 * conform/data/stdlib.h-data: Likewise.
41562 * conform/data/stropts.h-data: Likewise.
41563 * conform/data/sys/mman.h-data: Likewise.
41564 * conform/data/sys/stat.h-data: Likewise.
41565 * conform/data/sys/types.h-data: Likewise.
41566 * conform/data/sys/wait.h-data: Likewise.
41567 * conform/data/time.h-data: Likewise.
41568 * conform/data/unistd.h-data: Likewise.
41569 * conform/data/utime.h-data: Likewise.
41571 * io/sys/stat.h: fchmod was always in POSIX.
41572 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41573 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41574 * rt/aio.h: Define __need_timespec before including <time.h>.
41575 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41576 struct. Add forward declaration of pthread_attr_t and use it in
41578 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41579 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41580 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41581 always remove CLK_TCK definition.
41583 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41585 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41587 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41589 * conform/run-conformtest.sh: New file.
41590 * conform/Makefile: Run run-conformtest for tests.
41591 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41594 * conform/data/uchar.h-data: New file.
41595 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41596 * conform/data/arpa/inet.h-data: Likewise.
41597 * conform/data/assert.h-data: Likewise.
41598 * conform/data/complex.h-data: Likewise.
41599 * conform/data/cpio.h-data: Likewise.
41600 * conform/data/ctype.h-data: Likewise.
41601 * conform/data/dirent.h-data: Likewise.
41602 * conform/data/dlfcn.h-data: Likewise.
41603 * conform/data/errno.h-data: Likewise.
41604 * conform/data/fcntl.h-data: Likewise.
41605 * conform/data/float.h-data: Likewise.
41606 * conform/data/fmtmsg.h-data: Likewise.
41607 * conform/data/fnmatch.h-data: Likewise.
41608 * conform/data/ftw.h-data: Likewise.
41609 * conform/data/glob.h-data: Likewise.
41610 * conform/data/grp.h-data: Likewise.
41611 * conform/data/iconv.h-data: Likewise.
41612 * conform/data/inttypes.h-data: Likewise.
41613 * conform/data/langinfo.h-data: Likewise.
41614 * conform/data/libgen.h-data: Likewise.
41615 * conform/data/limits.h-data: Likewise.
41616 * conform/data/locale.h-data: Likewise.
41617 * conform/data/math.h-data: Likewise.
41618 * conform/data/monetary.h-data: Likewise.
41619 * conform/data/mqueue.h-data: Likewise.
41620 * conform/data/ndbm.h-data: Likewise.
41621 * conform/data/net/if.h-data: Likewise.
41622 * conform/data/netdb.h-data: Likewise.
41623 * conform/data/netinet/in.h-data: Likewise.
41624 * conform/data/nl_types.h-data: Likewise.
41625 * conform/data/poll.h-data: Likewise.
41626 * conform/data/pthread.h-data: Likewise.
41627 * conform/data/pwd.h-data: Likewise.
41628 * conform/data/regex.h-data: Likewise.
41629 * conform/data/sched.h-data: Likewise.
41630 * conform/data/search.h-data: Likewise.
41631 * conform/data/semaphore.h-data: Likewise.
41632 * conform/data/setjmp.h-data: Likewise.
41633 * conform/data/signal.h-data: Likewise.
41634 * conform/data/spawn.h-data: Likewise.
41635 * conform/data/stdarg.h-data: Likewise.
41636 * conform/data/stdio.h-data: Likewise.
41637 * conform/data/stdlib.h-data: Likewise.
41638 * conform/data/string.h-data: Likewise.
41639 * conform/data/strings.h-data: Likewise.
41640 * conform/data/stropts.h-data: Likewise.
41641 * conform/data/sys/ipc.h-data: Likewise.
41642 * conform/data/sys/mman.h-data: Likewise.
41643 * conform/data/sys/msg.h-data: Likewise.
41644 * conform/data/sys/resource.h-data: Likewise.
41645 * conform/data/sys/select.h-data: Likewise.
41646 * conform/data/sys/sem.h-data: Likewise.
41647 * conform/data/sys/shm.h-data: Likewise.
41648 * conform/data/sys/socket.h-data: Likewise.
41649 * conform/data/sys/stat.h-data: Likewise.
41650 * conform/data/sys/statvfs.h-data: Likewise.
41651 * conform/data/sys/time.h-data: Likewise.
41652 * conform/data/sys/timeb.h-data: Likewise.
41653 * conform/data/sys/times.h-data: Likewise.
41654 * conform/data/sys/types.h-data: Likewise.
41655 * conform/data/sys/uio.h-data: Likewise.
41656 * conform/data/sys/un.h-data: Likewise.
41657 * conform/data/sys/utsname.h-data: Likewise.
41658 * conform/data/sys/wait.h-data: Likewise.
41659 * conform/data/syslog.h-data: Likewise.
41660 * conform/data/tar.h-data: Likewise.
41661 * conform/data/termios.h-data: Likewise.
41662 * conform/data/utime.h-data: Likewise.
41663 * conform/data/utmpx.h-data: Likewise.
41664 * conform/data/varargs.h-data: Likewise.
41665 * conform/data/wchar.h-data: Likewise.
41666 * conform/data/wctype.h-data: Likewise.
41667 * conform/data/wordexp.h-data: Likewise.
41669 * include/stropts.h: New file.
41670 * include/uchar.h: New file.
41671 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41672 * include/assert.h: Likewise.
41673 * include/ctype.h: Likewise.
41674 * include/dirent.h: Likewise.
41675 * include/dlfcn.h: Likewise.
41676 * include/fcntl.h: Likewise.
41677 * include/fnmatch.h: Likewise.
41678 * include/glob.h: Likewise.
41679 * include/grp.h: Likewise.
41680 * include/libio.h: Likewise.
41681 * include/locale.h: Likewise.
41682 * include/math.h: Likewise.
41683 * include/net/if.h: Likewise.
41684 * include/netdb.h: Likewise.
41685 * include/netinet/in.h: Likewise.
41686 * include/pthread.h: Likewise.
41687 * include/pwd.h: Likewise.
41688 * include/regex.h: Likewise.
41689 * include/sched.h: Likewise.
41690 * include/search.h: Likewise.
41691 * include/setjmp.h: Likewise.
41692 * include/signal.h: Likewise.
41693 * include/stdio.h: Likewise.
41694 * include/stdlib.h: Likewise.
41695 * include/string.h: Likewise.
41696 * include/sys/cdefs.h: Likewise.
41697 * include/sys/mman.h: Likewise.
41698 * include/sys/msg.h: Likewise.
41699 * include/sys/resource.h: Likewise.
41700 * include/sys/select.h: Likewise.
41701 * include/sys/socket.h: Likewise.
41702 * include/sys/stat.h: Likewise.
41703 * include/sys/statvfs.h: Likewise.
41704 * include/sys/time.h: Likewise.
41705 * include/sys/times.h: Likewise.
41706 * include/sys/uio.h: Likewise.
41707 * include/sys/utsname.h: Likewise.
41708 * include/sys/wait.h: Likewise.
41709 * include/termios.h: Likewise.
41710 * include/time.h: Likewise.
41711 * include/ulimit.h: Likewise.
41712 * include/unistd.h: Likewise.
41713 * include/utime.h: Likewise.
41714 * include/wchar.h: Likewise.
41715 * include/wctype.h: Likewise.
41716 * include/wordexp.h: Likewise.
41718 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41720 * time/time.h: TIME_UTC must be a macro.
41721 Make timespec_get available for ISO C11 only as well.
41723 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41725 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41726 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41728 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41730 * configure.in: Use -o not -a in test for unsupported multi-arch.
41732 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41734 * manual/texinfo.tex: Update to version 2012-01-19.16.
41736 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41738 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41740 2012-02-24 Roland McGrath <roland@hack.frob.com>
41743 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41744 * manual/fdl-1.3.texi: New file.
41745 * manual/fdl-1.1.texi: File removed.
41748 * manual/libc.texinfo (FDL_VERSION): New @set.
41749 Use it for mention of FDL in cover text.
41750 (Documentation License): Use it in @include file name.
41752 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41753 Roland McGrath <roland@hack.frob.com>
41756 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41757 (not LONG_LONG_MAX and LONG_LONG_MIN.
41758 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41759 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41761 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41763 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41767 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41768 manipulate bits before adding and subtracting TWO23[sx].
41769 * math/libm-test.inc (nearbyint_test): Add more tests.
41771 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41774 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41775 bits before adding and subtracting TWO23[sx].
41776 * math/libm-test.inc (rint_test): Add more tests.
41777 (rint_test_tonearest): Likewise.
41778 (rint_test_towardzero): Likewise.
41779 (rint_test_downward): Likewise.
41780 (rint_test_upward: Likewise.
41782 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41785 * include/stdc-predef.h: New file. Extracted from features.h.
41786 * include/features.h: Include stdc-predef.h.
41787 * Makefile (headers): Add stdc-predef.h.
41788 * CONFORMANCE (Compiler limitations): Update.
41790 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41792 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41794 2012-02-21 David S. Miller <davem@davemloft.net>
41796 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41797 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41799 2012-02-20 David S. Miller <davem@davemloft.net>
41801 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41802 using a normal save/restore sequence, rather than allocating a
41803 dummy stack frame just to store a frame pointer and restore.
41804 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41806 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41808 * manual/install.texi: Fix stray word in line-wrapped comment.
41810 2012-02-20 David S. Miller <davem@davemloft.net>
41812 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41813 both binutils and gcc support GOTDATA.
41815 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41816 "rd %pc" in the PIC register setup sequences.
41818 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41819 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41820 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41821 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41822 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41823 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41824 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41825 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41826 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41827 (SYSCALL_ERROR_HANDLER): Likewise.
41828 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41829 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41830 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41831 (SYSCALL_ERROR_HANDLER): Likewise.
41833 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41834 (HAVE_GCC_GOTDATA): New.
41835 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41836 relocation support in both binutils and gcc.
41837 * sysdeps/sparc/elf/configure: Regenerate.
41839 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41840 * sysdeps/sparc/sparc32/elf/configure: Delete.
41841 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41842 * sysdeps/sparc/sparc64/elf/configure: Delete.
41843 * sysdeps/sparc/elf/configure.in: New file.
41844 * sysdeps/sparc/elf/configure: Generate.
41846 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41847 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41848 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41849 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41850 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41852 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41854 * manual/install.texi: Do not mention specific glibc version
41856 * manual/libc.texinfo (VERSION, UPDATED): Update.
41857 (@copying): Use @copyright{} and range of years.
41859 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41862 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41863 [crti.S not in sysdirs] (generated): Do not append.
41864 [crti.S not in sysdirs] (omit-deps): Likewise.
41865 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41866 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41867 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41868 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41869 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41871 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41872 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41873 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41874 * csu/defs.awk: Remove file.
41875 * sysdeps/generic/initfini.c: Likewise.
41876 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41878 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41881 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41883 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41884 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41885 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41886 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41887 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41888 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41890 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41891 (__EPOLL_PACKED): Define to empty if not defined by
41893 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41897 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41899 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41900 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41901 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41902 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41904 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41905 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41908 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41910 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41912 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41913 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41914 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41917 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41919 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41920 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41922 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41924 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41925 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41927 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41929 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41932 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41934 * math/w_acos.c: Use non-signaling floating-point comparisons.
41935 * math/w_acosf.c: Likewise.
41936 * math/w_acosh.c: Likewise.
41937 * math/w_acoshf.c: Likewise.
41938 * math/w_acoshl.c: Likewise.
41939 * math/w_acosl.c: Likewise.
41940 * math/w_asin.c: Likewise.
41941 * math/w_asinf.c: Likewise.
41942 * math/w_asinl.c: Likewise.
41943 * math/w_atanh.c: Likewise.
41944 * math/w_atanhf.c: Likewise.
41945 * math/w_atanhl.c: Likewise.
41946 * math/w_exp2.c: Likewise.
41947 * math/w_exp2f.c: Likewise.
41948 * math/w_exp2l.c: Likewise.
41949 * math/w_j0.c: Likewise.
41950 * math/w_j0f.c: Likewise.
41951 * math/w_j0l.c: Likewise.
41952 * math/w_j1.c: Likewise.
41953 * math/w_j1f.c: Likewise.
41954 * math/w_j1l.c: Likewise.
41955 * math/w_jn.c: Likewise.
41956 * math/w_jnf.c: Likewise.
41957 * math/w_log.c: Likewise.
41958 * math/w_log10.c: Likewise.
41959 * math/w_log10f.c: Likewise.
41960 * math/w_log10l.c: Likewise.
41961 * math/w_log2.c: Likewise.
41962 * math/w_log2f.c: Likewise.
41963 * math/w_log2l.c: Likewise.
41964 * math/w_logf.c: Likewise.
41965 * math/w_logl.c: Likewise.
41966 * math/w_sqrt.c: Likewise.
41967 * math/w_sqrtf.c: Likewise.
41968 * math/w_sqrtl.c: Likewise.
41969 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41970 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41971 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41972 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41973 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41975 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41978 * manual/string.texi (strnlen): Use correct parameter name in
41979 equivalent expression.
41981 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41984 * manual/users.texi (seteuid): Consistently use neweuid for
41987 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41990 * manual/nss.texi (Services in the NSS configuration): Correct
41991 list of services in example configuration file.
41993 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41996 * manual/arith.texi: Remove statements about negative zero
41997 behaving identically to zero.
41999 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42002 * manual/install.texi: Do not document upgrading from libc5.
42004 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42007 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42009 2012-02-18 David S. Miller <davem@davemloft.net>
42011 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42012 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42013 %o7 across the call.
42014 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42016 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42017 SETUP_PIC_REG_LEAF.
42018 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42019 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42020 * sysdeps/sparc/crtn.S: Likewise.
42022 2012-02-17 Ulrich Drepper <drepper@gmail.com>
42024 * aout/Makefile: Remove.
42026 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42029 * manual/examples/argp-ex1.c (main): Format definition in GNU
42031 * manual/examples/argp-ex2.c (main): Likewise.
42032 * manual/examples/argp-ex3.c (main): Likewise.
42033 * manual/examples/argp-ex4.c (main): Likewise.
42034 * manual/examples/longopt.c (main): Use new-style prototype
42036 * manual/examples/strncat.c (main): Specify return type and use
42037 (void) for arguments.
42038 * manual/examples/subopt.c (main): Use char **argv argument.
42040 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42043 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42046 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42049 * manual/string.texi (strchr): Change when strchrnul is
42052 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42055 * manual/locale.texi (setlocale): Document LOCPATH.
42057 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42060 * manual/process.texi (execle): Move @dots{} before last argument.
42062 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
42065 * manual/charset.texi (Generic Charset Conversion): Fix typo
42066 (LC_TYPE -> LC_CTYPE).
42068 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42071 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42072 (scalbnf): Likewise.
42073 (scalbnl): Likewise.
42074 (scalbln): Likewise.
42075 (scalblnf): Likewise.
42076 (scalblnl): Likewise.
42077 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42078 (vwarnx): Likewise.
42081 * manual/filesys.texi (telldir): Use braces around return type.
42082 * manual/llio.texi (mmap): Add space after comma.
42083 (mmap64): Likewise.
42084 * manual/math.texi (jn): Use @var{} on parameter names.
42090 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42092 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42094 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42095 (sched_get_priority_max): Likewise.
42096 * manual/signal.texi (sigvec): Add space after comma.
42097 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42099 (if_indextoname): Likewise.
42100 (if_freenameindex): Likewise.
42101 (sendto): Use ',' instead of '.' in prototype.
42102 * manual/startup.texi (syscall): Use @dots{} instead of literal
42104 * manual/stdio.texi (__fpending): Separate initial words of
42105 paragraph from @deftypefun line.
42106 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42108 (vsyslog): Use @var{} on parameter names.
42109 * manual/terminal.texi (stty): Use @var{} on parameter names.
42110 * manual/users.texi (getutmp): Use @var{} on parameter names.
42111 (getutmpx): Likewise.
42113 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42116 * manual/stdio.texi (fopen): Fix typos in description of
42119 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42122 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42123 get clock_id definition.
42125 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
42128 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42129 (madvise): Cast every argument to void on its own.
42131 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42134 * manual/startup.texi (Exit Status): Fix typo.
42136 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42139 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42140 * manual/examples/argp-ex2.c: Likewise.
42141 * manual/examples/argp-ex3.c: Likewise.
42143 2012-02-16 Richard Henderson <rth@redhat.com>
42145 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42146 * sysdeps/s390/s390-32/initfini.c: Remove.
42147 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42148 * sysdeps/s390/s390-64/initfini.c: Remove.
42150 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42152 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42153 compiler output for sysdeps/generic/initfini.c.
42154 * sysdeps/sh/elf/initfini.c: Remove file.
42156 2012-02-16 David S. Miller <davem@davemloft.net>
42159 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42161 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42162 * sysdeps/sparc/crti.S: New file.
42163 * sysdeps/sparc/crtn.S: New file.
42164 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42165 * sysdeps/sparc/sparc64/Makefile: Likewise.
42167 2012-02-15 Mike Frysinger <vapier@gentoo.org>
42170 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42172 2012-02-15 Roland McGrath <roland@hack.frob.com>
42175 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42177 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42178 (write, read, close): Likewise.
42179 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42181 2012-02-15 Joseph Myers <joseph@codesourcery.com>
42183 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42184 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42185 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42186 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42188 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42192 2012-02-14 Marek Polacek <polacek@redhat.com>
42194 * sysdeps/x86_64/crti.S: New file.
42195 * sysdeps/x86_64/crtn.S: New file.
42196 * sysdeps/x86_64/elf/initfini.c: Remove file.
42198 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42200 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42201 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42202 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42203 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42205 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42209 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42211 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42212 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42213 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42214 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42216 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42217 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42220 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42222 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42223 __feraiseexcept instead of feraiseexcept.
42225 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42226 nanosleep invocations.
42227 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42228 strings, and add error checking for a nanosleep invocations.
42230 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42232 Replace FSF snail mail address with URLs, as per GNU coding standards.
42233 Most of the snail mail addresses were wrong anyway, and omitting
42234 them makes the source code easier to maintain. Almost all of the
42235 changes are to license notices and to locale LC_IDENTIFICATION
42236 addresses, except for this one:
42237 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42238 not its snail mail address.
42240 2012-02-09 Richard Henderson <rth@twiddle.net>
42242 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42243 of kernel-features.h.
42245 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42247 2012-02-08 Marek Polacek <polacek@redhat.com>
42249 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42250 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42251 * sysdeps/gnu/_G_config.h: Likewise.
42252 * sysdeps/generic/_G_config.h: Likewise.
42254 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42256 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42260 * sysdeps/powerpc/powerpc32/crti.S: New file.
42261 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42262 * sysdeps/powerpc/powerpc64/crti.S: New file.
42263 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42265 * Makeconfig (have-initfini): Don't set.
42266 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42267 * configure.in (nopic_initfini): Don't substitute.
42268 * config.h.in (HAVE_INITFINI): Don't #undef.
42269 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42270 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42272 2012-02-08 Joseph Myers <joseph@codesourcery.com>
42274 Support crti.S and crtn.S provided directly by architectures.
42275 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42276 [crti.S in sysdirs] (omit-deps): Likewise.
42277 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42278 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42279 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42280 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42281 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42282 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42283 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42284 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42285 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42286 compiler output for sysdeps/generic/initfini.c.
42287 * sysdeps/i386/elf/Makefile: Remove file.
42288 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42290 2012-02-07 Marek Polacek <polacek@redhat.com>
42292 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42293 * sysdeps/gnu/_G_config.h: Likewise.
42294 * sysdeps/mach/hurd/_G_config.h: Likewise.
42296 2012-02-07 Marek Polacek <polacek@redhat.com>
42298 * math/Makefile (tests): Add tst-CMPLX2.
42299 * math/tst-CMPLX2.c: New file.
42301 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42303 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42305 * math/libm-test.inc (jn_test): Add missing L suffix.
42307 2012-02-06 Marek Polacek <polacek@redhat.com>
42309 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42310 * sysdeps/i386/fpu/e_powf.S: Likewise.
42311 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42312 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42313 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42314 * sysdeps/i386/fpu/e_pow.S: Likewise.
42315 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42316 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42317 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42318 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42319 * sysdeps/i386/fpu/e_log2.S: Likewise.
42320 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42321 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42322 * sysdeps/i386/fpu/e_powl.S: Likewise.
42323 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42324 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42325 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42326 * sysdeps/i386/fpu/e_logl.S: Likewise.
42327 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42328 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42329 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42330 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42331 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42332 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42333 * sysdeps/i386/fpu/e_log.S: Likewise.
42334 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42335 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42336 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42337 * sysdeps/i386/fpu/e_logf.S: Likewise.
42338 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42339 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42340 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42341 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42342 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42343 * sysdeps/i386/fpu/e_log10.S: Likewise.
42344 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42345 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42346 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42347 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42348 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42349 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42350 * sysdeps/i386/asm-syntax.h: Likewise.
42351 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42352 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42353 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42354 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42355 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42356 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42357 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42358 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42359 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42360 * sysdeps/powerpc/sysdep.h: Likewise.
42361 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42362 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42364 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42367 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42369 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42371 * sysdeps/i386/sysdep.h: Include <features.h>.
42372 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42375 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42377 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42379 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42382 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42384 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42385 (SETUP_PIC_REG): Use GET_PC_THUNK.
42386 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42389 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42391 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42392 for non-PIC compilation.
42393 (SETUP_PIC_REG): Add .p2align directive.
42394 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42395 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42396 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42397 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42398 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42399 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42400 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42401 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42402 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42403 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42404 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42405 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42406 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42407 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42408 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42409 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42410 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42411 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42412 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42413 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42414 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42415 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42416 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42417 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42418 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42420 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42421 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42422 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42423 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42424 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42425 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42426 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42427 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42428 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42429 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42430 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42431 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42432 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42433 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42434 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42436 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42438 * math/tst-CMPLX.c: Include <stdio.h>.
42440 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42442 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42444 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42445 * sysdeps/sparc/bits/mathdef.h: Likewise.
42447 2012-01-31 Marek Polacek <polacek@redhat.com>
42449 * libio/libio.h: Don't define _PARAMS.
42450 * locale/programs/config.h: Don't define PARAMS.
42451 * stdlib/strtol_l.c: Likewise.
42452 (__strtol_l): Remove PARAMS from the prototype.
42454 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42456 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42457 names. Just use the correct names. Remove unnecessary wrapper
42459 * malloc/arena.c: Likewise.
42460 * malloc/hooks.c: Likewise.
42462 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42463 ARENA_TEST says not to. Simplify test for creation of a new arena.
42464 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42466 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42468 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42470 (update_get_addr): New function.
42471 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42472 GET_ADDR_MODULE parameter.
42474 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42476 * crypt/cert.c: Remove __STDC__ conditionals.
42477 * crypt/crypt-entry.c: Likewise.
42478 * crypt/crypt_util.c: Likewise.
42479 * libio/filedoalloc.c: Likewise.
42480 * libio/fileops.c: Likewise.
42481 * libio/genops.c: Likewise.
42482 * libio/iofclose.c: Likewise.
42483 * libio/iofdopen.c: Likewise.
42484 * libio/iofopen.c: Likewise.
42485 * libio/iofopen64.c: Likewise.
42486 * libio/iogetdelim.c: Likewise.
42487 * libio/iopopen.c: Likewise.
42488 * libio/obprintf.c: Likewise.
42489 * libio/oldfileops.c: Likewise.
42490 * libio/oldiofclose.c: Likewise.
42491 * libio/oldiofdopen.c: Likewise.
42492 * libio/oldiofopen.c: Likewise.
42493 * libio/oldiopopen.c: Likewise.
42494 * libio/wfiledoalloc.c: Likewise.
42495 * libio/wgenops.c: Likewise.
42496 * locale/programs/xmalloc.c: Likewise.
42497 * misc/syslog.c: Likewise.
42498 * stdio-common/xbug.c: Likewise.
42499 * string/memchr.c: Likewise.
42500 * string/memcmp.c: Likewise.
42501 * string/memrchr.c: Likewise.
42502 * string/rawmemchr.c: Likewise.
42503 * sysdeps/posix/getcwd.c: Likewise.
42504 * time/strftime_l.c: Likewise.
42506 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42508 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42509 * config.make.in (config-cflags-sse2avx): Define.
42510 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42513 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42515 * scripts/config.guess: Update from upstream config git repository.
42516 * scripts/config.sub: Likewise.
42518 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42520 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42522 (R_TILEPRO_*, R_TILEGX_*): New macros.
42524 * scripts/firstversions.awk: Fix bug in version range handling.
42526 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42528 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42530 * include/sys/epoll.h: New file.
42531 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42534 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42536 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42537 Avoid unnecessary __WORDSIZE == 64 test.
42538 (fmaxf): Use VEX format if possible.
42543 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42544 * math/math_private.h: Remove libc_fegetround* and
42546 * sysdeps/i386/configure.in: Check for -msse2avx.
42547 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42548 also if SSE2AVX is defined.
42549 Remove libc_fegetround* and libc_fesetround*.
42550 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42551 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42552 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42554 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42555 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42556 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42557 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42558 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42560 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42562 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42564 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42566 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42568 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42571 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42573 * Makeconfig (libm): Define.
42574 * elf/Makefile: Add rules to build and run tst-relsort1.
42575 * elf/tst-relsort1.c: New file.
42576 * elf/tst-relsort1mod1.c: New file.
42577 * elf/tst-relsort1mod2.c: New file.
42579 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42581 * math/s_ldexp.c: Remove __STDC__ conditionals.
42582 * math/s_ldexpf.c: Likewise.
42583 * math/s_ldexpl.c: Likewise.
42584 * math/s_nextafter.c: Likewise.
42585 * math/s_nexttowardf.c: Likewise.
42586 * math/s_significand.c: Likewise.
42587 * math/s_significandf.c: Likewise.
42588 * math/s_significandl.c: Likewise.
42589 * math/w_jnl.c: Likewise.
42590 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42591 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42592 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42593 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42594 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42595 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42596 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42597 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42598 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42599 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42600 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42601 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42602 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42603 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42604 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42605 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42606 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42607 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42608 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42609 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42610 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42611 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42612 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42613 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42614 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42615 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42616 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42617 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42618 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42619 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42620 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42621 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42622 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42623 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42624 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42625 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42626 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42627 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42628 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42629 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42630 * sysdeps/ieee754/k_standard.c: Likewise.
42631 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42632 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42633 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42634 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42635 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42636 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42637 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42638 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42639 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42640 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42641 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42642 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42643 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42644 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42645 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42646 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42647 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42648 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42649 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42650 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42651 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42652 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42653 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42654 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42655 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42656 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42657 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42658 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42659 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42660 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42661 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42662 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42663 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42664 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42665 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42666 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42667 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42668 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42669 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42670 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42671 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42672 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42673 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42674 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42675 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42676 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42677 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42678 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42679 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42680 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42681 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42682 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42683 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42684 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42685 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42686 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42687 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42688 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42689 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42690 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42691 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42692 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42693 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42694 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42695 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42696 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42697 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42698 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42699 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42700 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42701 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42702 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42703 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42704 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42705 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42706 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42707 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42708 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42709 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42710 * sysdeps/ieee754/s_matherr.c: Likewise.
42711 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42712 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42713 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42714 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42716 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42718 * crypt/md5.h: Remove __STDC__ conditionals.
42719 * libio/libioP.h: Likewise.
42720 * locale/programs/config.h: Likewise.
42721 * sysdeps/generic/sysdep.h: Likewise.
42722 * sysdeps/i386/asm-syntax.h: Likewise.
42723 * sysdeps/s390/asm-syntax.h: Likewise.
42724 * sysdeps/unix/sysdep.h: Likewise.
42725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42728 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42730 * libio/libio.h: Remove __STDC__ conditionals.
42731 * malloc/obstack.h: Likewise.
42732 * math/complex.h: Likewise.
42733 * math/math.h: Likewise.
42734 * sysdeps/generic/_G_config.h: Likewise.
42735 * sysdeps/gnu/_G_config.h: Likewise.
42736 * sysdeps/mach/hurd/_G_config.h: Likewise.
42737 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42738 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42739 * sysdeps/sparc/bits/mathdef.h: Likewise.
42741 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42744 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42745 Clean up HAS_* macros.
42746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42747 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42749 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42751 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42752 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42753 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42754 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42755 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42757 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42759 * elf/tst-unique3.cc (gets): Remove declaration.
42760 * elf/tst-unique3lib.cc (gets): Likewise.
42761 * elf/tst-unique3lib2.cc (gets): Likewise.
42762 * elf/tst-unique4.cc (gets): Likewise.
42764 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42766 * include/stdio.h: Add C++ protection. Add gets declarations and
42768 * debug/tst-chk1.c: Don't declare gets here.
42769 * stdio-common/tst-gets.c: Likewise.
42771 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42773 * posix/glob: Remove directory.
42775 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42777 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42779 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42781 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42782 of the non-standard EPFNOSUPPORT.
42784 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42786 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42787 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42788 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42790 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42792 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42794 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42796 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42798 * nscd/grpcache.c (cache_addgr): Likewise.
42799 * nscd/hstcache.c (cache_addhst): Likewise.
42800 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42801 * nscd/pwdcache.c (cache_addpw): Likewise.
42802 * nscd/servicescache.c (cache_addserv): Likewise.
42804 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42806 * malloc/malloc.c: Various cleanups.
42807 * malloc/hooks.c: Likewise.
42809 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42810 * stdlib/bug-fmtmsg1.c: New file.
42812 * stdlib/fmtmsg.c (init): Add missing unlock.
42813 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42815 2012-01-12 Marek Polacek <polacek@redhat.com>
42817 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42820 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42822 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42823 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42824 macro to ensure uniqueness of label name.
42825 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42826 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42828 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42830 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42832 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42833 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42834 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42835 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42837 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42839 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42841 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42842 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42843 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42845 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42847 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42848 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42849 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42850 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42852 * math/bits/math-finite.h: Add ldexp support.
42854 2012-01-10 Marek Polacek <polacek@redhat.com>
42856 * locale/programs/localedef.h (show_archive_content): Add noreturn
42859 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42861 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42863 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42865 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42867 * io/Makefile (headers): Add bits/poll2.h.
42869 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42872 typo #include statement.
42874 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42876 * include/sys/cdefs.h: Define __attribute_alloc_size.
42877 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42878 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42879 * elf/pldd.c: Likewise.
42880 * iconv/iconv_charmap.c: Likewise.
42881 * iconv/iconvconfig.c: Likewise.
42882 * iconv/strtab.c: Likewise.
42883 * locale/programs/locale.c: Likewise.
42884 * locale/programs/localedef.h: Likewise.
42885 * locale/programs/simple-hash.c: Likewise.
42886 * nscd/nscd.h: Likewise.
42887 * nss/makedb.c: Likewise.
42888 * sysdeps/generic/ldconfig.h: Likewise.
42889 * locale/programs/localedef.c: Remove xmalloc prototype.
42890 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42892 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42894 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42897 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42899 * math/Makefile (tests): Add tst-CMPLX.
42900 * math/tst-CMPLX.c: New file.
42902 * math/complex.h (CMPLXL): Fix typo.
42904 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42905 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42907 * debug/tst-chk1.c: Add poll and ppoll tests.
42908 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42909 * include/sys/poll.h: Add hidden proto for ppoll.
42910 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42911 * sysdeps/mach/hurd/ppoll.c: Likewise.
42912 * io/ppoll.c: Likewise.
42913 * debug/poll_chk.c: New file.
42914 * debug/ppoll_chk.c: New file.
42915 * include/bits/poll2.h: New file.
42916 * io/bits/poll2.h: New file.
42919 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42921 * configure.in: static is always set to yes. Remove.
42922 * config.make.in: Don't set build-static.
42923 * Makeconfig: Remove use of build-static.
42924 * dlfcn/Makefile: Likewise.
42925 * elf/Makefile: Likewise.
42926 * math/Makefile: Likewise.
42927 * misc/Makefile: Likewise.
42928 * nptl/Makefile: Likewise.
42929 * sysdeps/mach/hurd/Makefile: Likewise.
42931 * configure.in: PWD_P is not used anymore.
42932 * config.make.in: Remove PWD_P entry.
42934 * configure.in: Remove last remnants of RANLIB.
42935 No need to check for signed size_t anymore.
42936 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42938 Remove __builtin_expect test because we require at least gcc 3.4.
42939 * aclocal.m4: Likewise.
42941 * wcsmbs/mbrtoc16.c: Implement using towc function.
42942 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42943 * wcsmbs/wcsmbsload.c: Likewise.
42944 * iconv/gconv_simple.c: Likewise.
42945 * iconv/gconv_int.h: Likewise.
42946 * iconv/gconv_builtin.h: Likewise.
42947 * iconv/iconv_prog.c: Remove CHAR16 handling.
42949 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42951 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42953 * configure.in: Remove --with-elf and --enable-bounded options.
42954 Dont set base_machine for ia64. More non-ELF conditions removed.
42955 Remove testing and setting of leading underscore information.
42956 * config.make.in (build-bounded): Set to no.
42957 * config.h.in: Remove NO_UNDERSCORES entry.
42958 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42960 * csu/start.c: Remove !NO_UNDERSCORE code.
42961 * locale/localeinfo.h: Likewise.
42962 * sysdeps/generic/machine-gmon.h: Likewise.
42963 * sysdeps/generic/sysdep.h: Likewise.
42964 * sysdeps/i386/sysdep.h: Likewise.
42965 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42966 * sysdeps/mach/sysdep.h: Likewise.
42967 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42968 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42969 * sysdeps/sh/sysdep.h: Likewise.
42970 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42971 * sysdeps/unix/i386/sysdep.S: Likewise.
42972 * sysdeps/unix/sparc/start.c: Likewise.
42973 * sysdeps/unix/sparc/sysdep.S: Likewise.
42974 * sysdeps/unix/sparc/sysdep.h: Likewise.
42975 * sysdeps/unix/start.c: Likewise.
42976 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42977 * sysdeps/x86_64/sysdep.h: Likewise.
42979 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42982 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42984 * argp/argp-fmtstream.h: Use const instead __const.
42985 * argp/argp.h: Likewise.
42986 * assert/assert.h: Likewise.
42987 * bits/fenv.h: Likewise.
42988 * bits/sched.h: Likewise.
42989 * bits/sigset.h: Likewise.
42990 * bits/sigthread.h: Likewise.
42991 * catgets/nl_types.h: Likewise.
42992 * conform/data/pthread.h-data: Likewise.
42993 * crypt/crypt-private.h: Likewise.
42994 * crypt/crypt.h: Likewise.
42995 * crypt/crypt_util.c: Likewise.
42996 * ctype/ctype.h: Likewise.
42997 * debug/execinfo.h: Likewise.
42998 * debug/mbsnrtowcs_chk.c: Likewise.
42999 * debug/mbsrtowcs_chk.c: Likewise.
43000 * debug/wcsnrtombs_chk.c: Likewise.
43001 * debug/wcsrtombs_chk.c: Likewise.
43002 * debug/wcstombs_chk.c: Likewise.
43003 * dirent/dirent.h: Likewise.
43004 * dlfcn/dlfcn.h: Likewise.
43005 * elf/neededtest4.c: Likewise.
43006 * grp/grp.h: Likewise.
43007 * gshadow/gshadow.h: Likewise.
43008 * iconv/gconv.h: Likewise.
43009 * iconv/gconv_int.h: Likewise.
43010 * iconv/gconv_simple.c: Likewise.
43011 * iconv/iconv.h: Likewise.
43012 * iconv/loop.c: Likewise.
43013 * iconv/skeleton.c: Likewise.
43014 * include/aio.h: Likewise.
43015 * include/aliases.h: Likewise.
43016 * include/argz.h: Likewise.
43017 * include/arpa/inet.h: Likewise.
43018 * include/assert.h: Likewise.
43019 * include/dirent.h: Likewise.
43020 * include/dlfcn.h: Likewise.
43021 * include/execinfo.h: Likewise.
43022 * include/fcntl.h: Likewise.
43023 * include/fenv.h: Likewise.
43024 * include/glob.h: Likewise.
43025 * include/grp.h: Likewise.
43026 * include/libintl.h: Likewise.
43027 * include/mntent.h: Likewise.
43028 * include/netdb.h: Likewise.
43029 * include/pwd.h: Likewise.
43030 * include/rpc/netdb.h: Likewise.
43031 * include/sched.h: Likewise.
43032 * include/search.h: Likewise.
43033 * include/shadow.h: Likewise.
43034 * include/signal.h: Likewise.
43035 * include/stdio.h: Likewise.
43036 * include/stdlib.h: Likewise.
43037 * include/string.h: Likewise.
43038 * include/sys/socket.h: Likewise.
43039 * include/sys/stat.h: Likewise.
43040 * include/sys/statfs.h: Likewise.
43041 * include/sys/statvfs.h: Likewise.
43042 * include/sys/syslog.h: Likewise.
43043 * include/sys/time.h: Likewise.
43044 * include/sys/uio.h: Likewise.
43045 * include/time.h: Likewise.
43046 * include/unistd.h: Likewise.
43047 * include/utmp.h: Likewise.
43048 * include/wchar.h: Likewise.
43049 * include/wctype.h: Likewise.
43050 * inet/aliases.h: Likewise.
43051 * inet/arpa/inet.h: Likewise.
43052 * inet/netinet/ether.h: Likewise.
43053 * inet/netinet/in.h: Likewise.
43054 * intl/libintl.h: Likewise.
43055 * io/bits/fcntl2.h: Likewise.
43056 * io/fcntl.h: Likewise.
43057 * io/ftw.h: Likewise.
43058 * io/sys/poll.h: Likewise.
43059 * io/sys/stat.h: Likewise.
43060 * io/sys/statfs.h: Likewise.
43061 * io/sys/statvfs.h: Likewise.
43062 * io/utime.h: Likewise.
43063 * libio/bits/stdio.h: Likewise.
43064 * libio/bits/stdio2.h: Likewise.
43065 * libio/libio.h: Likewise.
43066 * libio/libioP.h: Likewise.
43067 * libio/stdio.h: Likewise.
43068 * locale/lc-ctype.c: Likewise.
43069 * locale/locale.h: Likewise.
43070 * login/utmp.h: Likewise.
43071 * malloc/arena.c: Likewise.
43072 * malloc/malloc.c: Likewise.
43073 * malloc/malloc.h: Likewise.
43074 * malloc/mcheck.c: Likewise.
43075 * malloc/mtrace.c: Likewise.
43076 * math/bits/mathcalls.h: Likewise.
43077 * math/fenv.h: Likewise.
43078 * math/math_private.h: Likewise.
43079 * misc/bits/error.h: Likewise.
43080 * misc/bits/syslog.h: Likewise.
43081 * misc/err.h: Likewise.
43082 * misc/error.h: Likewise.
43083 * misc/fstab.h: Likewise.
43084 * misc/mntent.h: Likewise.
43085 * misc/regexp.h: Likewise.
43086 * misc/search.h: Likewise.
43087 * misc/sgtty.h: Likewise.
43088 * misc/sys/mman.h: Likewise.
43089 * misc/sys/syslog.h: Likewise.
43090 * misc/sys/uio.h: Likewise.
43091 * misc/sys/xattr.h: Likewise.
43092 * misc/ttyent.h: Likewise.
43093 * nis/rpcsvc/ypclnt.h: Likewise.
43094 * nss/nss.h: Likewise.
43095 * posix/bits/unistd.h: Likewise.
43096 * posix/fnmatch.h: Likewise.
43097 * posix/glob.h: Likewise.
43098 * posix/sched.h: Likewise.
43099 * posix/spawn.h: Likewise.
43100 * posix/sys/wait.h: Likewise.
43101 * posix/unistd.h: Likewise.
43102 * posix/wordexp.h: Likewise.
43103 * pwd/pwd.h: Likewise.
43104 * resolv/netdb.h: Likewise.
43105 * resource/sys/resource.h: Likewise.
43106 * rt/aio.h: Likewise.
43107 * rt/bits/mqueue2.h: Likewise.
43108 * rt/mqueue.h: Likewise.
43109 * shadow/shadow.h: Likewise.
43110 * signal/signal.h: Likewise.
43111 * socket/send.c: Likewise.
43112 * socket/sendto.c: Likewise.
43113 * socket/sys/socket.h: Likewise.
43114 * stdio-common/printf.h: Likewise.
43115 * stdlib/bits/stdlib.h: Likewise.
43116 * stdlib/fmtmsg.h: Likewise.
43117 * stdlib/monetary.h: Likewise.
43118 * stdlib/stdlib.h: Likewise.
43119 * stdlib/ucontext.h: Likewise.
43120 * streams/stropts.h: Likewise.
43121 * string/argz.h: Likewise.
43122 * string/bits/string2.h: Likewise.
43123 * string/string.h: Likewise.
43124 * string/strings.h: Likewise.
43125 * sunrpc/rpc/auth.h: Likewise.
43126 * sunrpc/rpc/auth_des.h: Likewise.
43127 * sunrpc/rpc/clnt.h: Likewise.
43128 * sunrpc/rpc/netdb.h: Likewise.
43129 * sunrpc/rpc/pmap_clnt.h: Likewise.
43130 * sunrpc/rpc/xdr.h: Likewise.
43131 * sysdeps/generic/inttypes.h: Likewise.
43132 * sysdeps/generic/net/if.h: Likewise.
43133 * sysdeps/generic/sys/swap.h: Likewise.
43134 * sysdeps/gnu/net/if.h: Likewise.
43135 * sysdeps/gnu/utmpx.h: Likewise.
43136 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43137 * sysdeps/i386/i486/bits/string.h: Likewise.
43138 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43139 * sysdeps/s390/bits/string.h: Likewise.
43140 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43141 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43142 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43143 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43144 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43145 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43146 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43147 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43148 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43149 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43150 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43151 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43152 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43153 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43154 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43155 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43156 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43157 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43158 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43159 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43160 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43161 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43162 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43163 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43164 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43165 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43166 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43167 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43168 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43169 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43170 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43171 * sysvipc/sys/ipc.h: Likewise.
43172 * sysvipc/sys/msg.h: Likewise.
43173 * sysvipc/sys/sem.h: Likewise.
43174 * sysvipc/sys/shm.h: Likewise.
43175 * termios/termios.h: Likewise.
43176 * time/sys/time.h: Likewise.
43177 * time/time.h: Likewise.
43178 * wcsmbs/bits/wchar2.h: Likewise.
43179 * wcsmbs/uchar.h: Likewise.
43180 * wcsmbs/wchar.h: Likewise.
43181 * wctype/wctype.h: Likewise.
43184 * Makeconfig: Remove all but ELF support including AIX support.
43185 * Makerules: Likewise.
43186 * config.h.in: Likewise.
43187 * config.make.in: Likewise.
43188 * configure: Likewise.
43189 * configure.in: Likewise.
43190 * csu/Makefile: Likewise.
43191 * csu/version.c: Likewise.
43192 * debug/Makefile: Likewise.
43193 * dlfcn/Makefile: Likewise.
43194 * elf/Makefile: Likewise.
43195 * extra-lib.mk: Likewise.
43196 * iconv/Makefile: Likewise.
43197 * include/libc-symbols.h: Likewise.
43198 * include/shlib-compat.h: Likewise.
43199 * resolv/Makefile: Likewise.
43200 * resolv/res_libc.c: Likewise.
43201 * rt/Makefile: Likewise.
43202 * sysdeps/i386/asm-syntax.h: Likewise.
43203 * sysdeps/i386/sysdep.h: Likewise.
43204 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43205 * sysdeps/mach/sysdep.h: Likewise.
43206 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43207 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43208 * sysdeps/s390/asm-syntax.h: Likewise.
43209 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43210 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43211 * sysdeps/sh/sysdep.h: Likewise.
43212 * sysdeps/unix/sparc/sysdep.h: Likewise.
43213 * sysdeps/wordsize-32/divdi3.c: Likewise.
43214 * sysdeps/x86_64/sysdep.h: Likewise.
43216 * argp/Versions: Remove _argp_unlock_xxx.
43219 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43220 * abilist/libBrokenLocale.abilist: Likewise.
43221 * abilist/libanl.abilist: Likewise.
43222 * abilist/libc.abilist: Likewise.
43223 * abilist/libcrypt.abilist: Likewise.
43224 * abilist/libdl.abilist: Likewise.
43225 * abilist/libm.abilist: Likewise.
43226 * abilist/libnsl.abilist: Likewise.
43227 * abilist/libpthread.abilist: Likewise.
43228 * abilist/libresolv.abilist: Likewise.
43229 * abilist/librt.abilist: Likewise.
43230 * abilist/libthread_db.abilist: Likewise.
43231 * abilist/libutil.abilist: Likewise.
43232 * abilist/libnss_db.abilist: New file.
43234 * scripts/abilist.awk: Add support for indirect functions.
43236 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43238 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43240 * shlib-versions: Remove entries for ports architectures.
43242 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43244 * elf/stackguard-macros.h: Remove support for IA-64.
43245 * elf/tst-auditmod1.c: Likewise.
43246 * sysdeps/generic/ldsodefs.h: Likewise.
43248 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43249 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43253 * configure.in: Remove --enable-omitfp support.
43255 * config.make.in: Likewise.
43256 * Makeconfig: Likewise.
43257 * manual/install.texi: Likewise.
43259 In case anyone cares, the IA-64 architecture could move to ports.
43260 * sysdeps/ia64/*: Removed.
43261 * sysdeps/unix/sysv/linux/ia64/*: Removed.
43262 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43265 * configure.in: Remove entries for unsupported architectures.
43268 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43269 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43271 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43272 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43273 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43274 fall back to using wcrtomb.
43275 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43276 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43278 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43279 * wcsmbs/tst-c16c32-1.c: New file.
43281 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43284 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43286 * elf/tst-unique3.cc: Add explicit declaration of gets.
43287 * elf/tst-unique3lib.cc: Likewise.
43288 * elf/tst-unique3lib2.cc: Likewise.
43289 * elf/tst-unique4.cc: Likewise.
43291 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43293 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43296 * assert/assert.h (static_assert): Don't define for C++.
43297 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43298 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43300 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43302 * iconv/loop.c (single loop): Fix assertion in storing of
43305 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43307 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43309 * posix/getconf.c: Update copyright year.
43310 * nss/getent.c: Likewise.
43311 * nss/makedb.c: Likewise.
43312 * iconv/iconvconfig.c: Likewise.
43313 * iconv/iconv_prog.c: Likewise.
43314 * elf/ldconfig.c: Likewise.
43315 * elf/pldd.c: Likewise.
43316 * elf/sotruss.ksh: Likewise.
43317 * catgets/gencat.c: Likewise.
43318 * csu/version.c: Likewise.
43319 * elf/ldd.bash.in: Likewise.
43320 * elf/sprof.c (print_version): Likewise.
43321 * locale/programs/locale.c: Likewise.
43322 * locale/programs/localedef.c: Likewise.
43323 * login/programs/pt_chown.c: Likewise.
43324 * nscd/nscd.c (print_version): Likewise.
43325 * debug/xtrace.sh: Likewise.
43326 * malloc/memusage.sh: Likewise.
43327 * malloc/mtrace.pl: Likewise.
43328 * debug/catchsegv.sh: Likewise.
43330 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43332 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43335 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43338 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43339 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43341 * iconv/gconv_int.h: Likewise.
43342 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43343 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43344 from libc for GLIBC_2.16.
43345 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43346 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43347 * wcsmbs/uchar.h: Really define mbstate_t.
43348 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43349 * wcsmbs/c16rtomb.c: New file.
43350 * wcsmbs/mbrtoc16.c: New file.
43351 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43352 for C/POSIX locale.
43353 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43354 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43356 * wcsmbs/wchar.h: Add missing __restrict.
43358 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43361 * time/Makefile (routines): Add timespec_get.
43362 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43363 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43364 timespec for ISO C11.
43365 * time/timespec_get.c: New file.
43366 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43367 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43370 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43371 * stdlib/stdlib.h: Declare aligned_alloc.
43372 * Versions.def: Add GLIBC_2.16 for libc.
43373 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43376 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43379 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43383 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43386 * assert/assert.h (static_assert): Define.
43388 * version.h: Update for 2.16 development version.
43391 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43394 * version.h (RELEASE): Bump for 2.15 release.
43395 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43397 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43398 Patch by Marek Polacek <mpolacek@redhat.com>.
43400 * bits/byteswap.h: Protect long long constants with __extension__.
43401 * sysdeps/i386/bits/byteswap.h: Likewise.
43402 * sysdeps/ia64/bits/byteswap.h: Likewise.
43403 * sysdeps/s390/bits/byteswap.h: Likewise.
43404 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43406 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43409 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43410 destination buffer.
43411 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43413 2011-12-23 Marek Polacek <polacek@redhat.com>
43415 * elf/dl-addr.c (determine_info): Add inline keyword.
43416 * elf/tst-auditmod4b.c (check_avx): Likewise.
43417 * elf/tst-auditmod6b.c (check_avx): Likewise.
43418 * elf/tst-auditmod6c.c (check_avx): Likewise.
43419 * elf/tst-auditmod7b.c (check_avx): Likewise.
43421 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43423 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43426 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43429 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43430 processing for last bytes.
43432 2011-08-06 Bruno Haible <bruno@clisp.org>
43435 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43436 U+0385, not to U+1FEE.
43439 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43440 entry for U+00A5 U+0301.
43442 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43445 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43446 buffer for the output is too small.
43448 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43452 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43453 SSE flags if possible.
43455 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43458 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43459 processing for last bytes.
43461 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43463 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43464 (syscall-list-default-options, syscall-list-default-condition)
43465 (syscall-list-includes): Define.
43466 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43467 list of ABIs and options and #if conditions for each ABI. Do not
43468 handle common syscalls between ABIs specially.
43469 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43471 (syscall-list-variants, syscall-list-32bit-options)
43472 (syscall-list-32bit-condition, syscall-list-64bit-options)
43473 (syscall-list-64bit-condition): Define.
43474 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43475 (syscall-list-variants, syscall-list-32bit-options)
43476 (syscall-list-32bit-condition, syscall-list-64bit-options)
43477 (syscall-list-64bit-condition): Define.
43478 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43480 (syscall-list-variants, syscall-list-32bit-options)
43481 (syscall-list-32bit-condition, syscall-list-64bit-options)
43482 (syscall-list-64bit-condition): Define.
43483 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43485 (syscall-list-variants, syscall-list-32bit-options)
43486 (syscall-list-32bit-condition, syscall-list-64bit-options)
43487 (syscall-list-64bit-condition): Define.
43489 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43491 * locale/iso-639.def: Add brx entry.
43494 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43495 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43497 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43498 __feraiseexcept_renamed.
43500 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43503 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43504 EPOLLET with unsigned values.
43505 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43506 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43508 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43509 to large cancellation.
43510 * math/s_cacoshf.c: Likewise.
43511 * math/s_cacoshl.c: Likewise.
43513 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43517 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43518 * math/s_cacoshf.c: Likewise.
43519 * math/s_cacoshl.c: Likewise.
43521 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43524 * iconv/gconv.h: Define __GCONV_SWAP.
43525 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43526 * iconvdata/utf-16.c: Likewise.
43527 * iconvdata/utf-32.c: Likewise.
43529 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43532 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43533 numerator after shifting it by one limb.
43535 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43537 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43538 under [__USE_EXTERN_INLINES].
43540 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43543 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43545 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43547 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43548 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43550 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43551 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43552 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43553 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43554 for strncasecmp/strncasecmp_l compilation.
43555 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43556 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43558 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43561 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43564 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43567 * time/tzfile.c (__tzfile_read): Check values from file header.
43569 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43571 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43572 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43573 * powerpc/powerpc32/dl-start.S: Likewise.
43574 * powerpc/powerpc32/elf/start.S: Likewise.
43575 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43576 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43577 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43578 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43579 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43580 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43581 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43582 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43583 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43584 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43585 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43586 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43587 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43588 * powerpc/powerpc32/memset.S: Likewise.
43589 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43590 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43591 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43592 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43593 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43594 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43595 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43596 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43597 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43598 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43599 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43600 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43601 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43603 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43605 * math/libm-test.inc: Added more nearbyint tests.
43606 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43607 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43608 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43609 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43611 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43613 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43616 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43618 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43619 Add wcscpy-ssse3 wcscpy-c.
43620 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43621 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43622 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43623 * sysdeps/x86_64/wcschr.S: New file.
43624 * sysdeps/x86_64/wcsrchr.S: New file.
43625 * string/test-strcmp.c: Remove checking of wcscmp function for
43627 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43628 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43629 wcsrchr-sse2 wcsrchr-c.
43630 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43631 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43632 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43633 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43634 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43635 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43636 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43637 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43638 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43639 * wcsmbc/wcschr.c (WCSCHR): New macro.
43641 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43643 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43644 * wcsmbs/test-wcsrchr.c: New file.
43645 * string/test-strrchr.c: Add wcsrchr support.
43647 * wcsmbs/test-wcscpy.c: New file.
43648 * string/test-strcpy.c: Add wcscpy support.
43651 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43653 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43656 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43659 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43661 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43663 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43664 Minor optimizations.
43666 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43667 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43668 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43670 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43672 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43673 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43674 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43675 for gcc to avoid warnings.
43676 * inet/Makefile (tests): Add tst-checks.
43677 * inet/tst-checks.c: New file.
43679 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43682 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43685 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43686 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43688 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43690 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43692 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43695 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43697 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43699 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43700 conditional on GCC version.
43701 (__arch_compare_and_exchange_val_8_acq)
43702 (__arch_compare_and_exchange_val_16_acq)
43703 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43704 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43705 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43707 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43709 * sysdeps/sh/backtrace.c: New file.
43711 2011-12-02 Andreas Schwab <schwab@redhat.com>
43713 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43716 2011-12-01 Andreas Schwab <schwab@redhat.com>
43718 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43719 falling back to utime.
43721 2011-11-30 Andreas Schwab <schwab@redhat.com>
43723 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43724 expectations for float.
43726 2011-11-29 Andreas Schwab <schwab@redhat.com>
43728 * locale/weight.h (findidx): Add parameter len.
43729 * locale/weightwc.h (findidx): Likewise.
43730 * posix/fnmatch_loop.c (FCT): Adjust caller.
43731 * posix/regcomp.c (build_equiv_class): Likewise.
43732 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43733 * posix/regexec.c (check_node_accept_bytes): Likewise.
43734 * string/strcoll_l.c (STRCOLL): Likewise.
43735 * string/strxfrm_l.c (STRXFRM): Likewise.
43737 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43739 * Makefile.in: Remove CVSOPT handling.
43740 * configure.in: Remove use of AC_REVISION.
43741 * iconvdata/Makefile (distribute): No need to filter out CVS.
43742 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43745 2011-11-16 Andreas Schwab <schwab@redhat.com>
43747 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43748 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43749 [USE_AS_STRNCASECMP_L]: Likewise.
43750 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43751 NO_TLS_DIRECT_SEG_REFS.
43752 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43753 Fix argument offsets for non-PIC.
43754 [USE_AS_STRNCASECMP_L]: Likewise.
43755 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43756 NO_TLS_DIRECT_SEG_REFS.
43758 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43760 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43762 * locale/loadlocale.c (_nl_load_locale): Likewise.
43764 2011-11-15 Andreas Schwab <schwab@redhat.com>
43766 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43767 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43768 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43769 (SYSCALL_GETTIME): Set errno on error.
43771 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43772 count references to noai6ai_cached.
43774 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43776 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43778 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43779 FD_CLOEXEC for /proc/self/maps.
43781 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43782 FD_CLOEXEC for /proc/meminfo.
43784 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43787 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43788 FD_CLOEXEC for given file.
43790 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43792 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43793 FD_CLOEXEC for /etc/hosts.
43794 (_gethtent): Likewise.
43796 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43798 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43799 cancellation and set FD_CLOEXEC for /etc/netgroup.
43801 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43802 reading /etc/publickey.
43804 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43805 allow cancellation when reading /etc/group.
43807 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43809 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43811 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43812 when using data file.
43814 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43816 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43817 (write_nis_obj): Use "c" and "e" in fopen.
43819 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43821 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43823 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43825 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43827 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43830 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43832 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43834 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43836 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43837 file parsing and set FD_CLOEXEC.
43839 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43841 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43843 2011-11-14 Andreas Schwab <schwab@redhat.com>
43845 * malloc/arena.c (arena_get2): Don't call reused_arena when
43846 _int_new_arena failed.
43848 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43850 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43851 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43852 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43853 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43854 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43855 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43856 to compile strcasecmp and strncasecmp.
43857 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43858 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43860 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43862 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43864 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43865 locale-defines.sym to gen-as-const-headers.
43866 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43867 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43868 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43869 to compile strcasecmp and strncasecmp.
43870 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43871 strcasecmp_l and strncasecmp_l.
43872 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43873 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43874 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43875 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43876 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43877 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43878 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43879 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43880 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43881 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43882 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43884 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43886 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43887 result of SYSDEP_GETTIME_CPU to retval.
43888 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43889 parameter list to macro. Remove trailing semicolon. Adjust users.
43891 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43894 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43896 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43898 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43899 from unused variable.
43901 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43903 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43906 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43909 * sunrpc/rpc_prot.c (rejected): Fix case value.
43911 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43912 unsigned long long int to avoid warnings in shift.
43914 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43916 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43919 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43920 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43921 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43923 * nis/nis_table.c (nis_list): Use variable of correct type for
43924 result of __follow_path call.
43926 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43928 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43929 of math functions ceil, trunc, floor, round, and sqrt, when
43930 avaliable on the platform.
43931 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43933 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43934 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43935 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43937 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43939 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43940 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43942 2011-11-11 Roland McGrath <roland@hack.frob.com>
43944 * include/unistd.h: Fix __readlink return type.
43945 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43947 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43949 * stdlib/ucontext.h: Undo last change for makecontext.
43951 2011-11-11 Andreas Schwab <schwab@redhat.com>
43953 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43955 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43956 * setjmp/setjmp.h: Mark functions as non-leaf.
43957 * setjmp/bits/setjmp2.h: Likewise.
43958 * stdlib/ucontext.h: Likewise.
43960 2011-11-10 Andreas Schwab <schwab@redhat.com>
43962 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43963 (reused_arena): Don't check arena limit.
43964 (arena_get2): Atomically check arena limit.
43966 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43968 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43969 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43971 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43974 2011-11-07 Andreas Schwab <schwab@redhat.com>
43976 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43977 handler when locking.
43979 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43980 Fix size of allocated buffer.
43982 2011-11-04 Andreas Schwab <schwab@redhat.com>
43985 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43986 declarations for long double functions.
43987 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43989 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43991 2011-11-03 Andreas Schwab <schwab@redhat.com>
43993 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43996 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43999 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44001 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44003 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44005 * include/alloca.h (stackinfo_alloca_round): Define.
44006 (extend_alloca): Use it.
44007 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44008 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44011 * scripts/check-local-headers.sh: Ignore libaudit.h.
44013 * nscd/Makefile (extra-objs): Make recursively expanded.
44015 2011-11-01 Ulrich Drepper <drepper@gmail.com>
44017 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44018 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44020 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44021 * posix/tst-rfc3484-2.c: Likewise.
44022 * posix/tst-rfc3484-3.c: Likewise.
44024 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44026 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44028 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44029 process_vm_writev from libc using GLIBC_2.15 version.
44031 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44033 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44035 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44038 2011-10-31 Ulrich Drepper <drepper@gmail.com>
44041 * nss/getent.c (initgroups_keys): Show error message in case no group
44044 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44045 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44046 __bump_nl_timestamp.
44047 * nscd/connections (nscd_init): When host database is served open
44048 netlink socket and request notification about configuration changes.
44049 (main_loop_poll): Track netlink file descriptor and bump timestamp
44050 in case data becomes available.
44051 (main_loop_epoll): Likewise.
44052 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44053 (database_pers_head): Add extra_data fileds.
44054 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44055 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44056 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44058 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44059 in6ai data, call __free_in6ai.
44060 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44061 Add -DHAVE_NETLINK.
44062 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44063 interface information. Reuse previous data if netlink timestamp
44065 (__bump_nl_timestamp): New function.
44066 (__free_in6ai): New function.
44068 2011-10-30 Ulrich Drepper <drepper@gmail.com>
44070 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44071 close_not_cancel_no_status here.
44072 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44074 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44077 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44080 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44081 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44082 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44084 2011-07-03 Andreas Jaeger <aj@suse.de>
44087 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44088 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44089 * math/libm-test.inc (sin_test): Add test case.
44091 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44094 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44095 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44097 * elf/chroot_canon.c (chroot_canon): Cleanups.
44099 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44102 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44103 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44105 * string/test-strchr.c: Make usable for strchrnul testing.
44106 * string/test-strchrnul.c: New file.
44107 * string/Makefile (strop-tests): Add strchrnul.
44109 * po/it.po: Update from translation team.
44110 * po/es.po: Likewise.
44112 2011-10-28 Ulrich Drepper <drepper@gmail.com>
44114 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44115 the three constants needed as parameters. Drop the others.
44116 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44117 __m128i_strloadu_tolower.
44118 Create and initialize variable zero and use it in all the places
44119 where _mm_setzero_si128 was used.
44121 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44122 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44123 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44124 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44126 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44127 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44128 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44129 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44130 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44131 __mpranred, __mptan.
44132 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44133 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44134 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44135 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44136 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44137 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44138 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44139 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44140 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44142 2011-10-28 Andreas Schwab <schwab@redhat.com>
44144 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44145 redefine if SHARED.
44146 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44148 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44149 wide char related routines to wcsmbs subdir.
44151 2011-10-27 Andreas Schwab <schwab@redhat.com>
44154 * misc/sys/cdefs.h (__THROWNL): Define.
44155 * posix/unistd.h: Use __THREADNL instead of __THREAD
44156 for memory synchronization functions.
44158 2011-10-26 Roland McGrath <roland@hack.frob.com>
44161 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44163 * manual/stdio.texi (Obstack Streams): Node removed.
44165 2011-10-26 Andreas Schwab <schwab@redhat.com>
44167 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44168 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44169 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44171 * math/math_private.h (math_force_eval): Allow non-addressable
44173 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44175 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44177 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44178 file is not needed.
44180 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44181 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44182 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44183 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44184 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44185 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44186 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44187 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44189 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44190 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44191 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44192 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44193 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44194 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44195 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44196 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44197 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44198 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44199 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44200 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44201 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44202 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44203 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44204 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44205 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44206 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44207 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44209 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44210 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44212 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44213 place. Use VEX encoding when compiling for AVX.
44215 2011-10-25 Andreas Schwab <schwab@redhat.com>
44217 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44218 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44220 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44222 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44224 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44225 useless if() expression.
44226 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44227 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44228 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44229 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44230 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44231 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44232 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44233 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44234 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44235 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44236 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44237 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44238 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44239 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44240 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44241 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44242 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44243 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44244 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44246 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44248 2011-10-25 Andreas Schwab <schwab@redhat.com>
44250 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44252 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44254 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44256 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44257 .text section. Avoid duplicate constants.
44258 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44259 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44260 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44261 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44262 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44263 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44264 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44265 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44266 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44267 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44268 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44269 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44270 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44271 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44272 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44273 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44274 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44275 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44276 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44277 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44278 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44279 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44280 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44281 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44282 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44283 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44284 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44285 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44286 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44287 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44288 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44289 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44290 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44291 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44292 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44293 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44294 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44295 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44296 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44297 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44298 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44299 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44300 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44301 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44302 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44304 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44306 * sysdeps/x86_64/dla.h: Move to ...
44307 * sysdeps/x86_64/fpu/dla.h: ...here.
44308 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44309 situations. Use __builtin_fma only for gcc 4.6 and up.
44311 * config.make.in: Add have-mfma4 entry.
44312 * configure.in: Substitute libc_cv_cc_fma4.
44313 * math/Makefile (dbl-only-routines): Add sincostab.
44314 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44315 Use __sincostab not sincos.
44316 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44318 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44319 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44320 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44321 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44323 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44324 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44325 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44326 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44328 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44329 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44331 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44332 define aliases when function name is a macro.
44333 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44334 sysdeps/ieee754/dbl-64/sincos.tbl.
44335 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44336 fma4-enabled routines.
44337 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44338 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44339 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44340 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44341 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44342 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44343 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44344 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44345 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44346 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44347 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44348 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44349 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44350 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44351 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44352 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44353 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44354 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44355 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44356 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44357 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44358 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44359 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44360 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44361 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44362 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44363 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44364 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44365 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44366 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44368 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44370 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44371 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44372 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44373 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44374 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44375 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44376 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44377 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44379 2011-10-24 Andreas Schwab <schwab@redhat.com>
44381 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44383 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44385 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44387 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44389 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44391 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44392 Remove unused variable magic_bits.
44393 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44395 * string/strnlen.c: Define and use STRNLEN macro.
44396 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44397 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44398 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44399 * wcsmbs/wcslen.c: Define and use WCSLEN.
44400 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44401 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44402 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44403 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44404 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44405 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44406 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44408 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44410 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44411 strnlen-sse2-no-bsf.
44412 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44413 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44414 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44415 Add strnlen support.
44416 (USE_AS_STRNLEN): New macro.
44417 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44418 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44419 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44420 * sysdeps/x86_64/wcslen.S: New file.
44422 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44424 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44425 XMM-moves are used for copying on small sizes.
44427 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44429 * wcsmbs/Makefile (strop-tests): Add wcschr.
44430 * wcsmbs/test-wcschr.c: New file.
44431 * string/test-strchr.c: Update.
44432 Add wcschr support.
44435 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44437 * wcsmbs/Makefile (strop-tests): Add wcslen.
44438 * wcsmbs/test-wcslen.c: New file.
44439 * string/test-strlen.c: Update.
44440 Add wcslen support.
44443 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44445 * po/it.po: Update from translation team.
44447 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44449 * sysdeps/x86_64/wcscmp.S: Update.
44450 Fix wrong comparison semantics.
44451 wcscmp shall use signed comparison not unsigned.
44452 Don't use substraction to avoid overflow bug.
44453 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44454 * wcsmbc/wcscmp.c: Likewise.
44455 * string/test-strcmp.c: Likewise.
44456 Add new tests to check cases with negative values.
44458 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44460 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44461 * sysdeps/x86_64/dla.h: ...here. New file.
44462 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44463 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44464 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44465 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44466 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44467 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44468 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44469 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44470 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44472 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44474 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44475 __ynl_finite aliases.
44477 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44481 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44483 [DLA_FMA] (EMULV): Use DLA_FMA.
44484 [DLA_FMA] (MUL12): Use EMULV.
44485 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44486 that are not needed.
44487 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44488 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44489 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44490 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44491 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44492 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44493 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44495 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44497 * math/s_nan.c: Undef __nan.
44498 * math/s_nanf.c: Undef __nanf.
44499 * math/s_nanl.c: Undef __nanl.
44500 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44503 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44505 * math/s_catan.c: Add branch predictions.
44506 * math/s_catanf.c: Likewise.
44507 * math/s_catanh.c: Likewise.
44508 * math/s_catanhf.c: Likewise.
44509 * math/s_catanhl.c: Likewise.
44510 * math/s_catanl.c: Likewise.
44511 * math/s_cexp.c: Likewise.
44512 * math/s_cexpf.c: Likewise.
44513 * math/s_cexpl.c: Likewise.
44514 * math/s_clog.c: Likewise.
44515 * math/s_clog10.c: Likewise.
44516 * math/s_clog10f.c: Likewise.
44517 * math/s_clog10l.c: Likewise.
44518 * math/s_clogf.c: Likewise.
44519 * math/s_clogl.c: Likewise.
44520 * math/s_csqrt.c: Likewise.
44521 * math/s_csqrtf.c: Likewise.
44522 * math/s_csqrtl.c: Likewise.
44523 * math/s_ctanf.c: Likewise.
44524 * math/s_ctanh.c: Likewise.
44525 * math/s_ctanhf.c: Likewise.
44526 * math/s_ctanhl.c: Likewise.
44527 * math/s_ctanl.c: Likewise.
44529 * math/math_private.h: Define __nan, __nanf, __nanl.
44530 * math/s_cacosh.c: Include <math_private.h>.
44531 * math/s_cacoshl.c: Likewise.
44532 * math/s_casinh.c: Likewise.
44533 * math/s_casinhf.c: Likewise.
44534 * math/s_casinhl.c: Likewise.
44535 * math/s_ccos.c: Rely entire on ccosh.
44536 * math/s_ccosf.c: Rely entire on ccoshf.
44537 * math/s_ccosl.c: Rely entirely on ccoshl.
44538 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44539 Remove tests for FE_INVALID.
44540 * math/s_ccoshf.c: Likewise.
44541 * math/s_ccoshl.c: Likewise.
44542 * math/s_csin.c: Likewise.
44543 * math/s_csinf.c: Likewise.
44544 * math/s_csinh.c Likewise.
44545 * math/s_csinhf.c: Likewise.
44546 * math/s_csinhl.c: Likewise.
44547 * math/s_csinl.c: Likewise.
44548 * math/s_ctan.c: Likewise.
44549 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44550 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44551 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44553 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44556 compilation problems.
44558 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44561 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44563 * sysdeps/i386/configure.in: Test for -mfma4 option.
44564 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44565 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44566 COMMON_CPUID_INDEX_80000001.
44567 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44568 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44569 use it if FMA3 is not supported.
44570 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44572 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44573 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44575 2011-10-20 Andreas Schwab <schwab@redhat.com>
44578 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44579 it would create a cycle with a link time dependency.
44581 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44583 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44585 * string/Makefile (strop-tests): Add rawmemchr.
44586 * string/test-rawmemchr.c: New file.
44588 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44589 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44590 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44591 when compiling str{,n}casecmp and when AVX is available. Hook up
44592 new optimized code in initializers.
44594 2011-10-19 Andreas Schwab <schwab@redhat.com>
44596 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44597 __feraiseexcept instead of feraiseexcept.
44599 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44601 * math/math_private.h: Define defaults for libc_fetestexcept and
44603 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44604 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44605 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44606 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44607 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44608 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44609 libc_fetestexcept and libc_feupdateenv.
44611 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44612 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44613 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44614 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44615 libc_feholdexcept_setround.
44617 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44618 Add s_nearbyint-c and s_nearbyintf-c.
44619 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44620 nearbyintf inlines.
44621 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44622 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44623 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44624 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44626 * math/math_private.h: Define defaults for libc_fegetround,
44627 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44628 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44629 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44630 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44631 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44632 standard functions.
44633 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44634 Remove comments and hacks for old compiler versions.
44635 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44636 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44637 libc_feholdexceptl.
44639 2011-10-18 Andreas Schwab <schwab@redhat.com>
44641 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44642 (__feraiseexcept_renamed): Add __NTH.
44643 (feraiseexcept): Add __NTH. Rename local variables to fix
44644 namespace violations.
44646 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44648 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44650 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44652 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44653 recently added interfaces.
44654 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44656 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44657 about macro parameter expansion.
44659 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44660 __NO_MATH_INLINES is defined. Cleanups.
44662 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44663 and __floorf is target has SSE4.1.
44664 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44665 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44666 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44667 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44669 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44671 (floorf): Likewise.
44673 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44675 2011-10-17 Andreas Schwab <schwab@redhat.com>
44677 * misc/sys/cdefs.h: Fix last change.
44679 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44682 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44684 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44686 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44687 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44688 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44689 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44690 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44691 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44692 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44693 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44694 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44695 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44696 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44697 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44698 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44699 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44700 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44701 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44702 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44703 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44704 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44705 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44706 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44707 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44709 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44710 ceil, ceilf, floor, floorf.
44712 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44713 Perform IRELATIVE relocations last.
44715 * elf/do-rel.h: Add another parameter nrelative, replacing the
44716 local variable with the same name. Change name of the function
44717 to end in Rel or Rela (uppercase).
44718 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44719 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44720 elf_dynamic_do_##reloc function.
44722 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44724 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44725 is sufficient, at least on modern CPUs.
44727 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44729 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44730 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44732 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44734 * math/bits/math-finite.h: Add entries for exp.
44735 * math/e_expl.c: Add __*_finite alias.
44736 * sysdeps/i386/fpu/e_exp.S: Likewise.
44737 * sysdeps/i386/fpu/e_expf.S: Likewise.
44738 * sysdeps/i386/fpu/e_expl.c: Likewise.
44739 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44740 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44741 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44742 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44743 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44744 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44745 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44747 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44748 is sufficient, at least on modern CPUs.
44750 * ctype/ctype-info.c (__ctype_init): Define.
44751 * include/ctype.h (__ctype_init): Declare.
44752 (__ctype_b_loc): The variable is always initialized.
44753 (__ctype_toupper_loc): Likewise.
44754 (__ctype_tolower_loc): Likewise.
44755 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44756 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44758 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44760 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44762 * configure.in: Also look in $cxxmachine/include for C++ system
44765 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44767 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44768 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44769 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44770 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44771 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44772 (USE_AS_WMEMCMP): New macro.
44774 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44775 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44776 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44777 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44778 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44779 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44780 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44781 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44782 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44783 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44784 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44785 (USE_AS_WMEMCMP): New macro.
44786 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44787 * sysdeps/string/test-memcmp.c: Update.
44788 Fix simple_wmemcmp.
44790 * wcsmbs/wmemcmp.c: Update.
44791 (WMEMCMP): New macro.
44794 2011-10-12 Andreas Jaeger <aj@suse.de>
44797 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44799 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44801 * libio/iofwide.c (do_length): Avoid warning.
44803 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44805 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44807 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44809 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44810 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44811 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44812 * sysdeps/i386/i686/fpu/e_log.S: New file.
44813 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44814 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44816 * ctype/ctype.h: Add support for inlined isXXX functions when
44817 compiling C++ code.
44819 2011-10-14 Andreas Schwab <schwab@redhat.com>
44821 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44823 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44825 2011-10-13 Roland McGrath <roland@hack.frob.com>
44828 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44830 2011-10-13 Andreas Schwab <schwab@redhat.com>
44832 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44833 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44836 * sysdeps/x86_64/memrchr.S: Check for zero size.
44838 * string/stratcliff.c: Add memrchr tests.
44840 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44842 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44843 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44844 rawmemchr-sse2 rawmemchr-sse2-bsf.
44845 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44846 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44847 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44848 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44849 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44850 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44851 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44852 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44853 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44854 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44855 * string/memrchr.c (MEMRCHR): New macro.
44857 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44859 Add integration with gcc's -ffinite-math-only and optimize wrapper
44861 * Versions.def: Define GLIBC_2.15 version for libm.
44862 * math/Makefile (headers): Add bits/math-finite.h.
44863 * math/bits/math-finite.h: New file.
44864 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44865 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44866 * math/e_acoshl.c: Add __*_finite alias.
44867 * math/e_acosl.c: Likewise.
44868 * math/e_asinl.c: Likewise.
44869 * math/e_atan2l.c: Likewise.
44870 * math/e_atanhl.c: Likewise.
44871 * math/e_coshl.c: Likewise.
44872 * math/e_exp10.c: Likewise.
44873 * math/e_exp10f.c: Likewise.
44874 * math/e_exp10l.c: Likewise.
44875 * math/e_exp2l.c: Likewise.
44876 * math/e_fmodl.c: Likewise.
44877 * math/e_gammal_r.c: Likewise.
44878 * math/e_hypotl.c: Likewise.
44879 * math/e_j0l.c: Likewise.
44880 * math/e_j1l.c: Likewise.
44881 * math/e_jnl.c: Likewise.
44882 * math/e_lgammal_r.c: Likewise.
44883 * math/e_log10l.c: Likewise.
44884 * math/e_log2l.c: Likewise.
44885 * math/e_logl.c: Likewise.
44886 * math/e_powl.c: Likewise.
44887 * math/e_sinhl.c: Likewise.
44888 * math/e_sqrtl.c: Likewise.
44889 * math/e_scalb.c: Completely rewritten and optimized.
44890 * math/e_scalbf.c: Likewise.
44891 * math/e_scalbl.c: Likewise.
44892 * math/w_acos.c: Likewise.
44893 * math/w_acosf.c: Likewise.
44894 * math/w_acosl.c: Likewise.
44895 * math/w_acosh.c: Likewise.
44896 * math/w_acoshf.c: Likewise.
44897 * math/w_acoshl.c: Likewise.
44898 * math/w_asin.c: Likewise.
44899 * math/w_asinf.c: Likewise.
44900 * math/w_asinl.c: Likewise.
44901 * math/w_atan2.c: Likewise.
44902 * math/w_atan2f.c: Likewise.
44903 * math/w_atan2l.c: Likewise.
44904 * math/w_atanh.c: Likewise.
44905 * math/w_atanhf.c: Likewise.
44906 * math/w_atanhl.c: Likewise.
44907 * math/w_exp10.c: Likewise.
44908 * math/w_exp10f.c: Likewise.
44909 * math/w_exp10l.c: Likewise.
44910 * math/w_fmod.c: Likewise.
44911 * math/w_fmodf.c: Likewise.
44912 * math/w_fmodl.c: Likewise.
44913 * math/w_j0.c: Likewise.
44914 * math/w_j0f.c: Likewise.
44915 * math/w_j0l.c: Likewise.
44916 * math/w_j1.c: Likewise.
44917 * math/w_j1f.c: Likewise.
44918 * math/w_j1l.c: Likewise.
44919 * math/w_jn.c: Likewise.
44920 * math/w_jnf.c: Likewise.
44921 * math/w_log.c: Likewise.
44922 * math/w_logf.c: Likewise.
44923 * math/w_logl.c: Likewise.
44924 * math/w_log10.c: Likewise.
44925 * math/w_log10f.c: Likewise.
44926 * math/w_log10l.c: Likewise.
44927 * math/w_log2.c: Likewise.
44928 * math/w_log2f.c: Likewise.
44929 * math/w_log2l.c: Likewise.
44930 * math/w_pow.c: Likewise.
44931 * math/w_powf.c: Likewise.
44932 * math/w_powl.c: Likewise.
44933 * math/w_remainder.c: Likewise.
44934 * math/w_remainderf.c: Likewise.
44935 * math/w_remainderl.c: Likewise.
44936 * math/w_scalb.c: Likewise.
44937 * math/w_scalbf.c: Likewise.
44938 * math/w_scalbl.c: Likewise.
44939 * math/w_sqrt.c: Likewise.
44940 * math/w_sqrtf.c: Likewise.
44941 * math/w_sqrtl.c: Likewise.
44942 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44943 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44945 * math/math_private.h: Declare __kernel_standard_f.
44946 * math/w_cosh.c: Remove cruft and optimize a bit.
44947 * math/w_coshf.c: Likewise.
44948 * math/w_coshl.c: Likewise.
44949 * math/w_exp2.c: Likewise.
44950 * math/w_exp2f.c: Likewise.
44951 * math/w_exp2l.c: Likewise.
44952 * math/w_hypot.c: Likewise.
44953 * math/w_hypotf.c: Likewise.
44954 * math/w_hypotl.c: Likewise.
44955 * math/w_lgamma.c: Likewise.
44956 * math/w_lgamma_r.c: Likewise.
44957 * math/w_lgammaf.c: Likewise.
44958 * math/w_lgammaf_r.c: Likewise.
44959 * math/w_lgammal.c: Likewise.
44960 * math/w_lgammal_r.c: Likewise.
44961 * math/w_sinh.c: Likewise.
44962 * math/w_sinhf.c: Likewise.
44963 * math/w_sinhl.c: Likewise.
44964 * math/w_tgamma.c: Likewise.
44965 * math/w_tgammaf.c: Likewise.
44966 * math/w_tgammal.c: Likewise.
44967 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44968 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44969 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44970 Minor optimizations. Pretty printing. Remove cruft.
44971 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44972 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44973 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44974 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44975 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44976 * sysdeps/i386/fpu/e_asin.S: Likewise.
44977 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44978 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44979 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44980 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44981 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44982 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44983 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44984 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44985 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44986 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44987 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44988 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44989 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44990 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44991 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44992 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44993 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44994 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44995 * sysdeps/i386/fpu/e_log.S: Likewise.
44996 * sysdeps/i386/fpu/e_log10.S: Likewise.
44997 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44998 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44999 * sysdeps/i386/fpu/e_log2.S: Likewise.
45000 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45001 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45002 * sysdeps/i386/fpu/e_logf.S: Likewise.
45003 * sysdeps/i386/fpu/e_logl.S: Likewise.
45004 * sysdeps/i386/fpu/e_pow.S: Likewise.
45005 * sysdeps/i386/fpu/e_powf.S: Likewise.
45006 * sysdeps/i386/fpu/e_powl.S: Likewise.
45007 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45008 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45009 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45010 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45011 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45012 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45013 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45014 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45015 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45016 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45017 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45019 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45020 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45021 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45022 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45023 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45024 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45025 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45026 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45027 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45028 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45029 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45030 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45031 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45032 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45033 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45034 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45035 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45036 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45037 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45038 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45039 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45040 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45041 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45042 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45043 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45044 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45045 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45046 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45047 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45048 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45049 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45050 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45051 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45052 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45053 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45054 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45055 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45056 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45057 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45058 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45059 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45060 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45061 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45062 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45063 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45064 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45065 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45066 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45067 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45068 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45069 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45070 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45071 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45072 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45073 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45074 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45075 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45076 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45077 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45078 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45079 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45080 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45081 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45082 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45083 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45084 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45085 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45086 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45087 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45088 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45089 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45090 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45091 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45092 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45093 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45094 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45095 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45096 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45097 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45098 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45099 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45100 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45101 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45102 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45103 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45104 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45105 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45106 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45107 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45108 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45109 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45110 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45111 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45112 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45113 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45114 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45115 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45116 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45117 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45118 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45119 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45120 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45121 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45122 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45123 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45124 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45125 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45126 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45127 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45128 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45129 (__isnanf): Likewise.
45130 (__isinf_ns): Likewise.
45131 (__isinf_nsf): Likewise.
45132 (__finite): Likewise.
45133 (__finitef): Likewise.
45134 (__ieee754_sqrt): Define as macro.
45135 (__ieee754_sqrtf): Define as macro.
45136 (__ieee754_sqrtl): Define as macro.
45137 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45139 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45140 __FINITE_MATH_ONLY__ consistent.
45141 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45143 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45145 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45148 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45150 2011-10-09 Ulrich Drepper <drepper@gmail.com>
45152 * po/ja.po: Update from translation team.
45154 2011-10-08 Roland McGrath <roland@hack.frob.com>
45156 * locale/programs/locarchive.c (prepare_address_space): New function.
45157 (create_archive, enlarge_archive, open_archive): Use it.
45159 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45160 inside [SHARED], where it is used.
45162 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45164 * nss/getent.c (netgroup_keys): Remove unused variable.
45165 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45167 2011-10-08 Ulrich Drepper <drepper@gmail.com>
45169 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45170 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45171 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45172 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45173 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45174 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45175 * math/Makefile (libm-calls): Add s_isinf_ns.
45176 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45177 * math/multc3.c: Likewise.
45178 * math/s_casin.c: Likewise.
45179 * math/s_casinf.c: Likewise.
45180 * math/s_casinl.c: Likewise.
45181 * math/s_ccos.c: Likewise.
45182 * math/s_ccosf.c: Likewise.
45183 * math/s_ccosl.c: Likewise.
45184 * math/s_ctan.c: Likewise.
45185 * math/s_ctanf.c: Likewise.
45186 * math/s_ctanh.c: Likewise.
45187 * math/s_ctanhf.c: Likewise.
45188 * math/s_ctanhl.c: Likewise.
45189 * math/s_ctanl.c: Likewise.
45190 * math/w_fmod.c: Likewise.
45191 * math/w_fmodf.c: Likewise.
45192 * math/w_fmodl.c: Likewise.
45193 * math/w_remainder.c: Likewise.
45194 * math/w_remainderf.c: Likewise.
45195 * math/w_remainderl.c: Likewise.
45196 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45197 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45198 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45199 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45200 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45201 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45202 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45203 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45205 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45207 * stdio-common/printf_fphex.c: Likewise.
45208 * stdio-common/printf_size.c: Likewise.
45210 * math/e_exp10.c: Include math_private.h using <...> not "...".
45211 * math/e_exp10f.c: Likewise.
45212 * math/e_exp10l.c: Likewise.
45213 * math/e_exp2l.c: Likewise.
45214 * math/e_j0l.c: Likewise.
45215 * math/e_j1l.c: Likewise.
45216 * math/e_jnl.c: Likewise.
45217 * math/e_lgammal_r.c: Likewise.
45218 * math/e_rem_pio2l.c: Likewise.
45219 * math/e_scalb.c: Likewise.
45220 * math/e_scalbf.c: Likewise.
45221 * math/e_scalbl.c: Likewise.
45222 * math/k_cosl.c: Likewise.
45223 * math/k_sinl.c: Likewise.
45224 * math/k_tanl.c: Likewise.
45225 * math/s_cacoshf.c: Likewise.
45226 * math/s_catan.c: Likewise.
45227 * math/s_catanf.c: Likewise.
45228 * math/s_catanh.c: Likewise.
45229 * math/s_catanhf.c: Likewise.
45230 * math/s_catanhl.c: Likewise.
45231 * math/s_catanl.c: Likewise.
45232 * math/s_ccosh.c: Likewise.
45233 * math/s_ccoshf.c: Likewise.
45234 * math/s_ccoshl.c: Likewise.
45235 * math/s_cexp.c: Likewise.
45236 * math/s_cexpf.c: Likewise.
45237 * math/s_cexpl.c: Likewise.
45238 * math/s_clog.c: Likewise.
45239 * math/s_clog10.c: Likewise.
45240 * math/s_clog10f.c: Likewise.
45241 * math/s_clog10l.c: Likewise.
45242 * math/s_clogf.c: Likewise.
45243 * math/s_clogl.c: Likewise.
45244 * math/s_csin.c: Likewise.
45245 * math/s_csinf.c: Likewise.
45246 * math/s_csinh.c: Likewise.
45247 * math/s_csinhf.c: Likewise.
45248 * math/s_csinhl.c: Likewise.
45249 * math/s_csinl.c: Likewise.
45250 * math/s_csqrt.c: Likewise.
45251 * math/s_csqrtf.c: Likewise.
45252 * math/s_csqrtl.c: Likewise.
45253 * math/s_ctan.c: Likewise.
45254 * math/s_ctanf.c: Likewise.
45255 * math/s_ctanh.c: Likewise.
45256 * math/s_ctanhf.c: Likewise.
45257 * math/s_ctanhl.c: Likewise.
45258 * math/s_ctanl.c: Likewise.
45259 * math/s_ldexp.c: Likewise.
45260 * math/s_ldexpf.c: Likewise.
45261 * math/s_ldexpl.c: Likewise.
45262 * math/s_significand.c: Likewise.
45263 * math/s_significandf.c: Likewise.
45264 * math/s_significandl.c: Likewise.
45265 * math/w_acos.c: Likewise.
45266 * math/w_acosf.c: Likewise.
45267 * math/w_acosh.c: Likewise.
45268 * math/w_acoshf.c: Likewise.
45269 * math/w_acoshl.c: Likewise.
45270 * math/w_acosl.c: Likewise.
45271 * math/w_asin.c: Likewise.
45272 * math/w_asinf.c: Likewise.
45273 * math/w_asinl.c: Likewise.
45274 * math/w_atan2.c: Likewise.
45275 * math/w_atan2f.c: Likewise.
45276 * math/w_atan2l.c: Likewise.
45277 * math/w_atanh.c: Likewise.
45278 * math/w_atanhf.c: Likewise.
45279 * math/w_atanhl.c: Likewise.
45280 * math/w_cosh.c: Likewise.
45281 * math/w_coshf.c: Likewise.
45282 * math/w_coshl.c: Likewise.
45283 * math/w_dremf.c: Likewise.
45284 * math/w_exp10.c: Likewise.
45285 * math/w_exp10f.c: Likewise.
45286 * math/w_exp10l.c: Likewise.
45287 * math/w_exp2.c: Likewise.
45288 * math/w_exp2f.c: Likewise.
45289 * math/w_fmod.c: Likewise.
45290 * math/w_fmodf.c: Likewise.
45291 * math/w_fmodl.c: Likewise.
45292 * math/w_hypot.c: Likewise.
45293 * math/w_hypotf.c: Likewise.
45294 * math/w_hypotl.c: Likewise.
45295 * math/w_j0.c: Likewise.
45296 * math/w_j0f.c: Likewise.
45297 * math/w_j0l.c: Likewise.
45298 * math/w_j1.c: Likewise.
45299 * math/w_j1f.c: Likewise.
45300 * math/w_j1l.c: Likewise.
45301 * math/w_jn.c: Likewise.
45302 * math/w_jnf.c: Likewise.
45303 * math/w_jnl.c: Likewise.
45304 * math/w_lgamma.c: Likewise.
45305 * math/w_lgamma_r.c: Likewise.
45306 * math/w_lgammaf.c: Likewise.
45307 * math/w_lgammaf_r.c: Likewise.
45308 * math/w_lgammal.c: Likewise.
45309 * math/w_lgammal_r.c: Likewise.
45310 * math/w_log.c: Likewise.
45311 * math/w_log10.c: Likewise.
45312 * math/w_log10f.c: Likewise.
45313 * math/w_log10l.c: Likewise.
45314 * math/w_log2.c: Likewise.
45315 * math/w_log2f.c: Likewise.
45316 * math/w_log2l.c: Likewise.
45317 * math/w_logf.c: Likewise.
45318 * math/w_logl.c: Likewise.
45319 * math/w_pow.c: Likewise.
45320 * math/w_powf.c: Likewise.
45321 * math/w_powl.c: Likewise.
45322 * math/w_remainder.c: Likewise.
45323 * math/w_remainderf.c: Likewise.
45324 * math/w_remainderl.c: Likewise.
45325 * math/w_scalb.c: Likewise.
45326 * math/w_scalbf.c: Likewise.
45327 * math/w_scalbl.c: Likewise.
45328 * math/w_sinh.c: Likewise.
45329 * math/w_sinhf.c: Likewise.
45330 * math/w_sinhl.c: Likewise.
45331 * math/w_sqrt.c: Likewise.
45332 * math/w_sqrtf.c: Likewise.
45333 * math/w_sqrtl.c: Likewise.
45334 * math/w_tgamma.c: Likewise.
45335 * math/w_tgammaf.c: Likewise.
45336 * math/w_tgammal.c: Likewise.
45338 * po/ja.po: Update from translation team.
45340 2011-09-29 Andreas Jaeger <aj@suse.de>
45343 * sunrpc/netname.c (netname2host): Fix logic.
45347 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45349 * math/w_remainder.c (__remainder): Likewise.
45350 * math/w_remainderf.c (__remainderf): Likewise.
45351 * math/libm-test.inc (remainder_test): Add test cases.
45353 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45355 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45358 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45360 * string/test-memcmp.c: Avoid unncessary #defines.
45361 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45363 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45365 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45366 Use new sse2 version for core i3 - i7 as it's faster
45367 than sse42 version.
45368 (bit_Prefer_PMINUB_for_stringop): New.
45369 * sysdeps/x86_64/rawmemchr.S: Update.
45370 Replace with faster SSE2 version.
45371 * sysdeps/x86_64/memrchr.S: New file.
45372 * sysdeps/x86_64/memchr.S: Update.
45373 Replace with faster SSE2 version.
45375 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45377 * elf/dl-load.c (lose): Add cast to avoid warning.
45379 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45381 * po/ca.po: Update from translation team.
45383 * inet/getnetgrent_r.c: Hook up nscd.
45384 * nscd/Makefile (routines): Add nscd_netgroup.
45385 (nscd-modules): Add netgroupcache.
45386 (CFLAGS-netgroupcache.c): Define.
45387 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45388 (cache_search): Add const to second parameter.
45389 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45391 (dbs): Add netgrdb entry.
45392 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45393 (verify_persistent_db): Handle netgrdb.
45394 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45395 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45397 (netgroup_response_header): Define.
45398 (innetgroup_response_header): Define.
45399 (datahead): Add netgroup_response_header and innetgroup_response_header
45401 * nscd/nscd.conf: Add entries for netgroup cache.
45402 * nscd/nscd.h (dbtype): Add netgrdb.
45403 (_PATH_NSCD_NETGROUP_DB): Define.
45404 (netgroup_iov_disabled): Declare.
45405 (xmalloc, xcalloc, xrealloc): Move declarations here.
45406 (cache_search): Adjust prototype.
45407 Add netgroup-related prototypes.
45408 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45409 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45410 (__nscd_innetgr): Declare.
45411 * nscd/selinux.c (perms): Use access_vector_t as element type and
45412 add netgroup-related initializers.
45413 * nscd/netgroupcache.c: New file.
45414 * nscd/nscd_netgroup.c: New file.
45415 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45416 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45417 For four parameters use innetgr.
45418 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45419 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45420 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45421 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45423 * nscd/connections.c (register_traced_file): Don't register file
45424 for disabled databases.
45426 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45428 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45430 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45431 from tree and freeing node.
45433 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45435 * nss/nsswitch.c (__nss_database_lookup): Handle
45436 nss_parse_service_list out of memory case.
45438 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45440 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45441 out of memory case.
45443 2011-10-04 Andreas Schwab <schwab@redhat.com>
45445 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45446 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45448 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45449 elf_machine_rela, elf_machine_lazy_rel.
45450 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45451 (ELF_DYNAMIC_DO_REL): Likewise.
45452 (ELF_DYNAMIC_DO_RELA): Likewise.
45453 (ELF_DYNAMIC_RELOCATE): Likewise.
45454 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45455 to ELF_DYNAMIC_DO_REL.
45456 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45457 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45458 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45460 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45461 skip_ifunc, don't call ifunc function if non-zero.
45462 (elf_machine_rela): Likewise.
45463 (elf_machine_lazy_rel): Likewise.
45464 (elf_machine_lazy_rela): Likewise.
45465 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45466 (elf_machine_lazy_rel): Likewise.
45467 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45469 (elf_machine_lazy_rel): Likewise.
45470 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45472 (elf_machine_lazy_rel): Likewise.
45473 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45474 (elf_machine_lazy_rel): Likewise.
45475 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45476 (elf_machine_lazy_rel): Likewise.
45477 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45478 (elf_machine_lazy_rel): Likewise.
45479 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45480 (elf_machine_lazy_rel): Likewise.
45481 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45482 (elf_machine_lazy_rel): Likewise.
45483 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45484 (elf_machine_lazy_rel): Likewise.
45486 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45488 * nss/nss_files/files-init.c (_nss_files_init): Use static
45489 initialization for all the *_traced_file variables.
45491 2011-09-28 Andreas Schwab <schwab@redhat.com>
45493 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45495 2011-09-27 Roland McGrath <roland@hack.frob.com>
45498 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45500 2011-09-27 Andreas Schwab <schwab@redhat.com>
45502 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45503 Reread the line before reparsing it.
45505 2011-09-26 Andreas Schwab <schwab@redhat.com>
45507 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45509 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45510 Maxim Kuvyrkov <maxim@codesourcery.com>
45511 Joseph Myers <joseph@codesourcery.com>
45513 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45514 if needed for __stack_chk_guard.
45516 2011-09-19 Roland McGrath <roland@hack.frob.com>
45518 * sysdeps/posix/spawni.c (script_execute): Always define it.
45519 It will be optimized away if unused.
45520 (maybe_script_execute): New function.
45521 (__spawni): Call it.
45523 * Makerules: Don't include tls.make.
45524 (config-tls): Always set to thread.
45525 * tls.make.c: File removed.
45527 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45529 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45530 * config.make.in (CPPFLAGS-config): New substituted variable.
45532 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45534 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45537 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45538 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45540 2011-09-15 Roland McGrath <roland@hack.frob.com>
45542 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45543 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45544 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45545 (CALL_FAIL): Likewise.
45546 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45547 (CALL_FAIL): Macro removed.
45548 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45550 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45552 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45553 for __FINITE_MATH_ONLY__ == 1.
45555 2011-09-15 Andreas Schwab <schwab@redhat.com>
45557 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45558 __ieee754_sqrt instead of sqrt.
45559 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45560 __ieee754_sqrtf instead of sqrtf.
45561 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45562 __floorf instead of floorf.
45563 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45564 __floorf, __truncf instead of floorf, truncf.
45566 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45568 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45570 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45571 __extern_always_inline.
45572 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45575 2011-09-14 Andreas Schwab <schwab@redhat.com>
45577 * elf/rtld.c (dl_main): Also relocate in dependency order when
45578 doing symbol dependency testing.
45580 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45582 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45583 Always define `refsym'.
45585 2011-09-13 Andreas Schwab <schwab@redhat.com>
45587 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45588 (__FD_ELT): Renamed from __FDELT.
45589 * misc/bits/select2.h (__FD_ELT): Likewise.
45590 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45591 __FD_MASK instead of __FDELT, __FDMASK.
45592 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45594 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45597 * elf/Makefile (gen-ldd): Fix pattern.
45599 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45600 (init_tls): Likewise.
45602 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45604 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45606 2011-09-12 Andreas Schwab <schwab@redhat.com>
45608 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45609 `struct cmsghdr *' instead of `void *'.
45610 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45613 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45615 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45617 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45618 ldd_rewrite_script.
45620 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45622 * configure.in: Remove --with-tls option.
45623 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45624 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45625 out in case it is missing.
45626 * sysdeps/ia64/elf/configure.in: Likewise.
45627 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45628 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45629 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45630 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45631 * sysdeps/sh/elf/configure.in: Likewise.
45632 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45633 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45634 * sysdeps/x86_64/elf/configure.in: Likewise.
45635 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45636 * sysdeps/mach/hurd/tls.h: Likewise.
45639 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45642 * configure.in: Fix use of AC_INIT.
45644 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45646 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45648 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45650 * malloc/hooks.c: Likewise.
45653 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45654 variables statically.
45655 (narenas): Initialize.
45656 (list_lock): Initialize.
45657 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45658 initializtion of main_arena and list_lock. Small cleanups.
45659 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45660 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45661 Add initializers to main_arena and mp_.
45662 (malloc_state): Remove pagesize member. Change all users to use
45665 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45666 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45667 is always initialized.
45669 * malloc/malloc.c: Removed unused configurations and dead code.
45670 * malloc/arena.c: Likewise.
45671 * malloc/hooks.c: Likewise.
45672 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45674 * include/tls.h: Removed. USE___THREAD must always be defined.
45675 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45676 * elf/dl-libc.c: Likewise.
45677 * elf/dl-tsd.c: Likewise.
45678 * include/errno.h: Likewise.
45679 * include/netdb.h: Likewise.
45680 * include/resolv.h: Likewise.
45681 * inet/herrno-loc.c: Likewise.
45682 * inet/herrno.c: Likewise.
45683 * malloc/arena.c: Likewise.
45684 * malloc/hooks.c: Likewise.
45685 * malloc/malloc.c: Likewise.
45686 * resolv/res-state.c: Likewise.
45687 * resolv/res_libc.c: Likewise.
45688 * sysdeps/i386/dl-machine.h: Likewise.
45689 * sysdeps/ia64/dl-machine.h: Likewise.
45690 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45691 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45692 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45693 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45694 * sysdeps/sh/dl-machine.h: Likewise.
45695 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45696 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45697 * sysdeps/unix/i386/sysdep.S: Likewise.
45698 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45699 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45700 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45701 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45702 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45703 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45704 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45705 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45706 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45708 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45709 * sysdeps/x86_64/dl-machine.h: Likewise.
45710 * tls.make.c: Likewise.
45712 * configure.in: Remove --with-__thread option. Make tests for
45713 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45714 tls_model attribute fail if no support is available. Remove
45716 * Makeconfig: Adjust for dropped configure option. All features are
45718 * Makerules: Likewise.
45719 * Versions.def: Likewise.
45720 * argp/argp-fmtstream.c: Likewise.
45721 * argp/argp-fmtstream.h: Likewise.
45722 * argp/argp-help.c: Likewise.
45723 * assert/assert.c: Likewise.
45724 * config.h.in: Likewise.
45725 * config.make.in: Likewise.
45726 * configure: Likewise.
45727 * configure.in: Likewise.
45728 * csu/Versions: Likewise.
45729 * csu/init.c: Likewise.
45730 * elf/tst-audit2.c: Likewise.
45731 * elf/tst-tls10.c: Likewise.
45732 * elf/tst-tls10.h: Likewise.
45733 * elf/tst-tls11.c: Likewise.
45734 * elf/tst-tls12.c: Likewise.
45735 * elf/tst-tls14.c: Likewise.
45736 * elf/tst-tlsmod11.c: Likewise.
45737 * elf/tst-tlsmod12.c: Likewise.
45738 * elf/tst-tlsmod13.c: Likewise.
45739 * elf/tst-tlsmod13a.c: Likewise.
45740 * elf/tst-tlsmod14a.c: Likewise.
45741 * elf/tst-tlsmod15b.c: Likewise.
45742 * elf/tst-tlsmod16a.c: Likewise.
45743 * elf/tst-tlsmod16b.c: Likewise.
45744 * elf/tst-tlsmod7.c: Likewise.
45745 * elf/tst-tlsmod8.c: Likewise.
45746 * elf/tst-tlsmod9.c: Likewise.
45747 * gmon/gmon.c: Likewise.
45748 * grp/fgetgrent_r.c: Likewise.
45749 * grp/putgrent.c: Likewise.
45750 * hurd/fopenport.c: Likewise.
45751 * include/libc-symbols.h: Likewise.
45752 * include/tls.h: Likewise.
45753 * intl/gettextP.h: Likewise.
45754 * intl/loadinfo.h: Likewise.
45755 * locale/global-locale.c: Likewise.
45756 * locale/localeinfo.h: Likewise.
45757 * mach/devstream.c: Likewise.
45758 * malloc/arena.c: Likewise.
45759 * malloc/set-freeres.c: Likewise.
45760 * misc/err.c: Likewise.
45761 * misc/getttyent.c: Likewise.
45762 * misc/mntent_r.c: Likewise.
45763 * posix/getopt.c: Likewise.
45764 * posix/wordexp.c: Likewise.
45765 * pwd/fgetpwent_r.c: Likewise.
45766 * resolv/Versions: Likewise.
45767 * resolv/res_hconf.c: Likewise.
45768 * shadow/fgetspent_r.c: Likewise.
45769 * shadow/putspent.c: Likewise.
45770 * stdio-common/printf_fphex.c: Likewise.
45771 * stdio-common/tmpfile.c: Likewise.
45772 * stdlib/abort.c: Likewise.
45773 * stdlib/fmtmsg.c: Likewise.
45774 * sunrpc/auth_unix.c: Likewise.
45775 * sunrpc/clnt_perr.c: Likewise.
45776 * sunrpc/clnt_tcp.c: Likewise.
45777 * sunrpc/clnt_udp.c: Likewise.
45778 * sunrpc/clnt_unix.c: Likewise.
45779 * sunrpc/openchild.c: Likewise.
45780 * sunrpc/svc_simple.c: Likewise.
45781 * sunrpc/svc_tcp.c: Likewise.
45782 * sunrpc/svc_udp.c: Likewise.
45783 * sunrpc/svc_unix.c: Likewise.
45784 * sunrpc/xdr.c: Likewise.
45785 * sunrpc/xdr_array.c: Likewise.
45786 * sunrpc/xdr_rec.c: Likewise.
45787 * sunrpc/xdr_ref.c: Likewise.
45788 * sunrpc/xdr_stdio.c: Likewise.
45790 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45792 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45794 2011-07-03 Andreas Jaeger <aj@suse.de>
45796 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45797 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45798 regenerate with gen-libm-tests.pl.
45800 2010-05-12 Petr Baudis <pasky@suse.cz>
45803 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45804 around j0() zero points by switching to j1().
45805 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45806 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45807 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45808 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45810 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45812 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45814 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45816 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45817 Patch in part by Pavel Roskin <proski@gnu.org>.
45820 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45822 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45823 Free memory block if necessary.
45826 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45827 be NULL. Don't lock in this case.
45829 2011-09-09 Roland McGrath <roland@hack.frob.com>
45831 * elf/elf.h (ELFOSABI_GNU): New macro.
45832 (ELFOSABI_LINUX): Define to that.
45834 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45836 * string/strncat.c (strncat): Undef the symbol in case it has been
45837 defined in bits/string.h.
45839 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45841 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45843 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45846 2011-08-17 Andreas Jaeger <aj@suse.de>
45848 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45850 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45851 Ian Lance Taylor <iant@google.com>
45853 * math/libm-test.inc (lround_test): New testcase.
45854 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45856 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45858 * Makefile: Remove support for automatic cvs check-ins.
45859 * Makerules: Likewise.
45860 * config.make.in: Likewise.
45861 * configure.in: Likewise.
45862 * intl/Makefile: Likewise.
45863 * locale/Makefile: Likewise.
45864 * po/Makefile: Likewise.
45865 * posix/Makefile: Likewise.
45866 * sysdeps/gnu/Makefile: Likewise.
45867 * sysdeps/mach/hurd/Makefile: Likewise.
45868 * sysdeps/sparc/sparc32/Makefile: Likewise.
45871 * posix/Makefile (bug-regex32-ENV): Define.
45872 Patch by John Stanley <jpsinthemix@verizon.net>.
45874 * misc/Makefile (headers): Add bits/select2.h.
45875 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45876 * misc/bits/select2.h: New file.
45877 * include/bits/select2.h: New file.
45878 * debug/Makefile (routines): Add fdelt_chk.
45879 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45880 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45882 * debug/fdelt_chk.c: New file.
45884 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45885 * wcsmbs/test-wmemcmp.c: Likewise.
45886 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45887 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45889 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45891 * string/Makefile (strop-tests): Add memcmp.
45892 * string/test-wmemcmp.c: New file.
45893 * string/test-memcmp.c: Add wmemcmp support.
45895 2011-09-08 Roland McGrath <roland@hack.frob.com>
45898 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45901 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45902 garbage value in a __mach_port_mod_refs call in the cases of the
45903 task-self and thread-self ports.
45905 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45907 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45909 2011-09-08 Andreas Schwab <schwab@redhat.com>
45911 * elf/dl-load.c (lose): Check for non-null L.
45913 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45915 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45917 * elf/dl-libc.c (dlerror_run): Pass back error code from
45921 * elf/dl-load.c (lose): Free l_origin if it is valid.
45923 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45925 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45926 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45927 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45928 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45929 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45930 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45932 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45934 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45935 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45936 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45937 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45938 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45939 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45940 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45941 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45942 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45943 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45945 2011-08-15 Alan Modra <amodra@gmail.com>
45948 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45949 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45950 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45951 ppc_mcount to static-only-routines.
45952 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45954 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45955 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45957 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45959 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45960 for finite and infinity parameters.
45962 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45964 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45965 and add nop instructions for throughput optimization.
45966 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45968 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45970 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45971 aligned copy for power7 with vector-scalar instructions.
45972 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45974 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45976 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45979 2011-09-07 Andreas Schwab <schwab@redhat.com>
45982 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45985 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45987 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45988 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45989 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45990 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45993 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45995 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45996 Forgot to demangle the pointer.
45998 * sysdeps/i386/sysdep.h: Define atom_text_section.
45999 * sysdeps/x86_64/sysdep.h: Likewise.
46000 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46001 section with atom_text_section.
46002 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46003 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46004 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46005 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46006 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46008 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46009 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46010 already be defined. Change to take two parameters and don't assign
46011 result to variable. Adjust all users.
46012 Define INTERNAL_GETTIME if not already defined.
46013 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46015 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46016 HAVE_CLOCK_GETTIME_VSYSCALL.
46017 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46019 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46020 gettimeofday vsyscall, just use time.
46022 2011-09-06 Andreas Schwab <schwab@redhat.com>
46024 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46027 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46029 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46031 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46033 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46034 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46035 syscall if possible.
46037 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46039 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46040 e_ident. Don't pass to find_mapsXX.
46041 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46043 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46046 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46047 * sysdeps/x86_64/multiarch/strchr.S: Update.
46048 Check bit_slow_BSF bit.
46049 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46050 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46051 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46053 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46056 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46058 (tryshell): Define.
46059 (__spawni): Change last parameter to be flag. Test
46060 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46061 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46062 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46063 * posix/spawni.c: Likewise.
46064 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46065 * posix/spawnp.c: Likewise. Change normal version to use
46066 SPAWN_XFLAGS_USE_PATH.
46067 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46068 SPAWN_XFLAGS_TRY_SHELL.
46071 * posix/glob.h: Remove gcc 1.x support.
46074 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46076 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46079 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46081 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46082 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46083 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46084 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46085 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46086 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46088 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46090 * sysdeps/x86_64/wcscmp.S: New file.
46092 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46093 wcscmp-c wcscmp-sse2
46094 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46095 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46096 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46097 * wcsmbs/wcscmp.c: Allow renaming.
46099 2011-09-05 David S. Miller <davem@davemloft.net>
46101 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46102 stack slot, rather than the struct return pointer slot.
46103 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46104 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46106 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46108 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46110 * po/ja.po: Update from translation team.
46113 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46114 kernel in 64-bit binaries.
46116 2011-09-01 David S. Miller <davem@davemloft.net>
46118 * elf/elf.h (HWCAP_SPARC_*): Move to..
46119 * sysdeps/sparc/sysdep.h: this new file and add new values.
46120 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46121 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46122 _DL_HWCAP_COUNT to 24.
46123 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46125 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46126 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46127 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46128 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46129 instead of magic constants.
46130 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46132 2011-08-31 David S. Miller <davem@davemloft.net>
46134 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46135 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46136 Reimplement to do errno handling inline.
46137 (SYSCALL_ERROR_HANDLER): New macro.
46138 (__SYSCALL_STRING): Do not do errno handling in asm.
46139 (__CLONE_SYSCALL_STRING): Delete.
46140 (__INTERNAL_SYSCALL_STRING): Delete.
46141 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46142 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46143 (PSEUDO): Reimplement to do errno handling inline.
46144 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46145 (SYSCALL_ERROR_HANDLER): New macro.
46146 (__SYSCALL_STRING): Do not do errno handling in asm.
46147 (__CLONE_SYSCALL_STRING): Delete.
46148 (__INTERNAL_SYSCALL_STRING): Delete.
46149 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46150 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46152 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46153 (inline_syscall*): Add 'err' argument.
46154 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46155 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46156 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46157 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46159 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46160 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46162 2011-08-30 Andreas Schwab <schwab@redhat.com>
46164 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46166 2011-08-29 Jiri Olsa <jolsa@redhat.com>
46168 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46171 2011-08-24 David S. Miller <davem@davemloft.net>
46173 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46175 2011-08-24 Andreas Schwab <schwab@redhat.com>
46177 * elf/Makefile: Add rules to build and run unload8 test.
46178 * elf/unload8.c: New file.
46179 * elf/unload8mod1.c: New file.
46180 * elf/unload8mod1x.c: New file.
46181 * elf/unload8mod2.c: New file.
46182 * elf/unload8mod3.c: New file.
46184 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46187 2011-08-23 David S. Miller <davem@davemloft.net>
46189 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46190 subtract stack bias.
46191 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46192 %sp not %fp in calculations.
46193 (_JMPBUF_UNWINDS_ADJ): Likewise.
46195 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46196 (aio_suspend): Call it to force an exception region around the
46197 AIO_MISC_WAIT() invocation.
46199 2011-08-23 Andreas Schwab <schwab@redhat.com>
46201 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46204 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46206 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46208 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46209 and <dl-machine.h>.
46210 (Elf64_FuncDesc): Remove.
46212 2011-08-22 David S. Miller <davem@davemloft.net>
46214 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46215 sigaltstack check, add missing cfi directives.
46216 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46217 missing cfi directives, and sigaltstack handling.
46219 2011-08-16 Andreas Schwab <schwab@redhat.com>
46222 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46223 object is seen twice.
46224 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46226 * elf/Makefile (distribute): Add tst-initorder2.c.
46227 (tests): Add tst-initorder2.
46228 (modules-names): Add tst-initorder2a tst-initorder2b
46229 tst-initorder2c tst-initorder2d. Add rules to build them.
46230 ($(objpfx)tst-initorder2.out): New rule.
46231 * elf/tst-initorder2.c: New file.
46232 * elf/tst-initorder2.exp: New file.
46234 2011-08-22 Andreas Schwab <schwab@redhat.com>
46236 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46238 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46239 dependencies back to end of function.
46241 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46242 $(elfobjdir)/ld.so.
46244 2011-08-21 Ulrich Drepper <drepper@gmail.com>
46246 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46247 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46248 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46249 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46250 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46251 of __vdso_gettimeofday.
46252 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46253 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46255 (_libc_vdso_platform_setup): Remove initialization of
46256 __vdso_gettimeofday and __vdso_time.
46258 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46260 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46261 and fgetc_unlocked.
46262 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46265 * elf/dl-open.c (add_to_global): Report additions to the global scope
46266 for LD_DEBUG=scopes.
46267 (dl_open_worker): Also print scope of newly loaded dependencies.
46268 (_dl_show_scope): Indicate if there is no scope.
46271 * stdio-common/Makefile (tests): Add bug24.
46272 * stdio-common/bug24.c: New file.
46274 2011-08-19 Andreas Jaeger <aj@suse.de>
46277 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46278 non-existant file when using close-on-exec mode.
46280 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46282 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46283 the very first instruction.
46285 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46286 the CFI state in the end.
46287 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46288 inclusion of dl-trampoline.h.
46289 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46291 2011-08-19 Andreas Schwab <schwab@redhat.com>
46293 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46294 expectations for long double.
46296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46297 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46299 2011-08-14 David S. Miller <davem@davemloft.net>
46301 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46302 artificual limit depends upon the system page size.
46304 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46306 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46307 * resolv/Makefile: Define CFLAGS-libresolv.
46309 2011-08-17 Andreas Schwab <schwab@redhat.com>
46311 * nss/makedb.c (compute_tables): Make variables used in nested
46314 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46316 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46317 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46318 if buffer was too small.
46320 * elf/pldd.c (main): Attach to all threads in the process.
46321 Rewrite /proc handling to use *at functions.
46323 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46325 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46326 specifies first scope to show.
46327 (dl_open_worker): Update callers. Move printing scope of new
46328 object to before the relocation.
46329 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46330 * sysdeps/generic/ldsodefs.h: Update declaration.
46332 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46333 string for the scope number.
46335 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46337 * nscd/servicescache.c (cache_addserv): Make sure written is always
46340 2011-08-14 Roland McGrath <roland@hack.frob.com>
46342 * sysdeps/i386/i486/bits/atomic.h
46343 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46344 statement expression, so as to suppress "set but not used" warning.
46345 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46347 * string/strncat.c (STRNCAT): Use prototype definition.
46349 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46350 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46352 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46353 (localedef-modules): Add localedef.
46354 (locale-modules): Add locale.
46356 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46357 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46358 to avoid a warning.
46360 2011-08-14 David S. Miller <davem@davemloft.net>
46362 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46363 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46365 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46367 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46368 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46369 * elf/rtld.c (dl_main): Set l_name of vDSO.
46370 Call _dl_show_scope when DL_DEBUG_SCOPES.
46371 (process_dl_debug): Recognize scopes flag and also set it for all.
46372 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46373 Declare _dl_show_scope.
46375 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46376 (do_dlopen): Pass caller_dlopen to dl_open.
46377 (__libc_dlopen_mode): Initialize caller_dlopen.
46379 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46380 of libc. Make tolower call locale-independent. Optimize a bit by
46381 using isdigit instead of isalnum.
46382 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46384 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46386 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46387 was a dependency or dynamically loaded.
46389 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46391 * intl/l10nflist.c: Allow architecture-specific pop function.
46392 * sysdeps/x86_64/l10nflist.c: New file.
46394 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46397 2011-08-10 Andreas Schwab <schwab@redhat.com>
46399 * include/dirent.h: Add libc_hidden_proto for scandirat and
46400 scandirat64. Don't declare __scandirat64.
46401 * dirent/scandirat.c: Add libc_hidden_def.
46402 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46403 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46405 2011-08-10 David S. Miller <davem@davemloft.net>
46407 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46409 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46410 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46411 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46413 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46415 * Versions.def [libc]: Add GLIBC_2.15.
46416 * dirent/Makefile (routines): Add scandirat and scandirat64.
46417 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46419 * dirent/dirent.h: Declare scandirat and scandirat64.
46420 * dirent/scandirat.c: New file.
46421 * dirent/scandirat64.c: New file.
46422 * sysdeps/wordsize-64/scandirat.c: New file.
46423 * sysdeps/wordsize-64/scandirat64.c: New file.
46424 * dirent/opendir.c: Define opendirat.
46425 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46427 * dirent/scandir64.c: Adjust for scandir.c change.
46428 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46429 __scandirat64, and __scandir_cancel_handler.
46430 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46431 additional parameter and use openat instead of open (outside of ld.so).
46432 Add new __opendir as wrapper around __opendirat.
46433 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46434 here without requiring old scandirat implementation.
46436 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46438 * dirent/scandir.c (cancel_handler): Renamed to
46439 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46440 defined. Adjust users.
46441 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46442 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46444 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46446 * string/test-string.h (IMPL): Use __STRING to expand name and then
46449 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46452 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46454 * string/Makefile: Update.
46455 (strop-tests): Append strncat.
46456 * string/test-wcscmp.c: New file.
46457 New comprehensive test for wcscmp.
46458 * string/test-strcmp.c: Update.
46459 (WIDE): New define.
46461 2011-07-22 Andreas Schwab <schwab@redhat.com>
46463 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46466 2011-07-26 Andreas Schwab <schwab@redhat.com>
46468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46469 encoding to ACE if AI_IDN.
46471 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46473 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46474 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46476 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46478 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46479 Fix overflow bug in strncat.
46480 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46482 * string/test-strncat.c: Update.
46483 Add new tests for checking overflow bugs.
46485 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46487 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46488 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46489 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46490 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46491 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46492 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46493 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46494 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46495 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46497 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46498 (USE_AS_STRCAT): Define.
46499 Add strcat and strncat support.
46500 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46502 2011-07-25 Andreas Schwab <schwab@redhat.com>
46504 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46505 __n bigger than INT_MAX+1.
46506 (__strncmp_g): Likewise.
46508 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46510 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46511 * libio/stido.h: Likewise.
46513 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46515 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46518 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46519 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46520 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46521 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46522 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46525 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46528 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46530 (_dl_x86_64_save_sse): Likewise.
46532 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46534 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46536 (_dl_x86_64_save_sse): Likewise.
46538 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46540 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46542 2011-07-21 Andreas Schwab <schwab@redhat.com>
46544 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46546 (_dl_x86_64_save_sse): Use correct AVX check.
46548 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46550 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46551 bug in strncpy/strncat.
46552 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46554 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46556 * string/tester.c (test_strcat): Add tests for different alignments
46557 of source and destination.
46558 (test_strncat): Likewise.
46560 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46563 * posix/glob.c (glob): Check passed in values before using them in
46564 expressions to avoid some overflows.
46565 (glob_in_dir): Likewise.
46568 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46569 check for AVX enablement so that we don't crash with old kernels and
46571 * elf/tst-audit4.c: Add same checks here.
46572 * elf/tst-audit6.c: Likewise.
46574 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46576 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46578 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46580 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46582 * po/cs.po: Update from translation team.
46583 * po/bg.po: Likewise.
46585 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46587 * misc/sys/cdefs.h: Add support for const attribute.
46588 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46589 to gnu_dev_{major,minor,makedev} functions.
46591 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46593 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46595 2011-07-20 Andreas Schwab <schwab@redhat.com>
46597 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46600 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46602 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46603 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46604 register in order to avoid conflicts with the soft frame pointer
46605 being held in r11 when necessary.
46606 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46607 (INTERNAL_VSYSCALL_NCS): Likewise.
46609 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46611 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46612 * elf/dl-fini.c (_dl_fini): Adjust caller.
46613 * elf/dl-close.c (_dl_close_worker): Likewise.
46614 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46616 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46618 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46619 "aux_cache->nlibs < 0".
46621 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46622 in the reload-count case.
46624 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46627 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46628 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46629 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46630 * sysdeps/x86_64/multiarch/strcat.S: New file.
46631 * sysdeps/x86_64/multiarch/strncat.S: New file.
46632 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46633 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46634 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46635 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46636 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46637 (USE_AS_STRCAT): Define.
46638 Add strcat and strncat support.
46639 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46640 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46641 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46642 * string/strncat.c: Update.
46643 (USE_AS_STRNCAT): Define.
46644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46645 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46647 * sysdeps/x86_64/multiarch/init-arch.h
46648 (bit_Prefer_PMINUB_for_stringop): New.
46649 (index_Prefer_PMINUB_for_stringop): Likewise.
46650 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46651 bit_Prefer_PMINUB_for_stringop.
46653 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46655 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46657 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46658 of casting of buffer.
46659 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46660 buffer32 and buffer64.
46661 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46662 writes instead of casting of buffer.
46663 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46665 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46668 2011-07-19 Andreas Schwab <schwab@redhat.com>
46670 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46672 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46674 * nscd/nscd.c (termination_handler): Don't do anything for a database
46675 if it has not yet been initialized.
46677 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46679 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46681 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46683 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46685 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46687 * po/nl.po: Update from translation team.
46688 * po/sv.po: Likewise.
46690 2011-07-16 Roland McGrath <roland@hack.frob.com>
46692 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46693 now disallowed by GCC.
46695 * configure.in (use-default-link): Default to yes if a test -shared
46696 link meets our qualifications.
46697 * configure: Regenerated.
46699 * config.make.in (output-format): New variable.
46700 * configure.in: Check for ld --print-output-format support.
46701 * configure: Regenerated.
46702 * Makerules ($(common-objpfx)format.lds)
46703 [$(output-format) != unknown]: Just use $(output-format),
46704 instead of the linker-script munging.
46706 2011-07-14 Roland McGrath <roland@hack.frob.com>
46708 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46709 of $(common-objpfx)shlib.lds.
46710 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46712 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46713 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46715 * configure.in (-z relro check): Adjust test code to add a large
46716 writable data section after it.
46717 * configure: Regenerated.
46719 2011-07-11 Roland McGrath <roland@hack.frob.com>
46721 * configure.in (-z relro check): Fix test code to make the variable
46723 * configure: Regenerated.
46725 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46727 * nscd/nscd.h (struct traced_file): Define.
46728 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46729 elements. Add traced_files.
46730 (inotify_fd): Declare.
46731 (register_traced_file): Declare.
46732 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46733 (inotify_fd): Export.
46734 (resolv_conf_descr): Remove.
46735 (nscd_init): Move inotify descriptor creation to main.
46736 Don't register files for notification here.
46737 (register_traced_file): New function.
46738 (invalidate_cache): Don't use reset_res to determine whether to call
46739 res_init, go through the list of registered files.
46740 (main_loop_poll): The inotify descriptors are now stored in the
46741 structures for the traced files.
46742 (main_loop_epoll): Likewise
46743 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46744 to __nss_disable_nscd.
46745 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46746 for a database anymore. Check the records for all the registered
46748 * nss/Makefile (libnss_files-routines): Add files-init.
46749 (libnss_db-routines): Add db-init.
46750 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46751 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46752 * nss/nss_db/db-init.c: New file.
46753 * nss/nss_files/files-init.c: New file.
46754 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46755 __nss_lookup_function.
46756 (__nss_lookup_function): Call nss_load_library.
46757 (nss_load_all_libraries): New function.
46758 (__nss_disable_nscd): Take parameter with callback function for files
46759 to register. Set is_nscd. Load all the DSOs for the NSS modules
46760 used for the cached services.
46761 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46762 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46763 options for features to all the files in nscd.
46765 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46767 2011-07-10 Roland McGrath <roland@hack.frob.com>
46769 * csu/elf-init.c (__libc_csu_init): Comment typo.
46771 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46773 * po/pl.po: Update from translation team.
46774 * po/ja.po: Likewise.
46775 * po/ru.po: Likewise.
46776 * po/ko.po: Likewise.
46777 * po/fr.po: Likewise.
46779 2011-07-09 Roland McGrath <roland@hack.frob.com>
46781 * configure.in (.ctors/.dtors header and trailer check):
46782 Use an empirical test on a built program.
46783 * configure: Regenerated.
46785 * configure.in (-z relro check): Use an empirical test on a built DSO.
46786 Detect, but do not require, on ia64.
46787 * configure: Regenerated.
46789 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46790 Update tests that use readelf to use $READELF instead.
46791 * configure: Regenerated.
46793 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46795 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46796 if the result is not used.
46798 2011-07-05 Andreas Jaeger <aj@suse.de>
46801 * stdlib/tst-strtod.c: Add testcase.
46803 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46805 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46806 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46807 The latter has a higher limit. Take additional parameter to pass to
46809 (__pathconf): Pass file to __statfs_link_max.
46810 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46812 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46816 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46817 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46819 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46820 (__statfs_filesize_max): Likewise.
46821 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46823 2011-07-05 Andreas Jaeger <aj@suse.de>
46825 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46827 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46829 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46831 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46834 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46836 * Makefile (strop-tests): Add strncat.
46837 * string/test-strncat.c: New file.
46839 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46841 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46843 2011-06-21 Andreas Jaeger <aj@suse.de>
46845 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46846 Copy rule from iconvdata/Makefile.
46848 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46851 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46852 but no long options are defined, just return 'W'.
46854 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46857 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46859 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46861 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46863 (innetgr): Likewise.
46865 2011-07-05 Roland McGrath <roland@hack.frob.com>
46867 * config.make.in (install_root): Default to $(DESTDIR).
46869 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46871 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46873 2011-07-02 Roland McGrath <roland@hack.frob.com>
46875 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46877 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46878 containing directory rather than embedding absolute directory names.
46880 * scripts/check-local-headers.sh: Rewritten using awk.
46881 Match by word, not by line. Print error messages for matches.
46882 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46884 * Makerules [shlib-lds-flags empty]:
46885 ($(common-objpfx)libc_pic.opts): New target.
46886 ($(common-objpfx)libc_pic.os.clean): New target.
46887 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46889 * config.make.in (OBJCOPY): New variable.
46890 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46891 * configure: Regenerated.
46893 * config.make.in (use-default-link): New variable.
46894 * configure.in (use_default_link): Grok --with-default-link to set it.
46895 * configure: Regenerated.
46896 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46897 (shlib-lds, shlib-lds-flags): Define to empty.
46899 * Makerules (shlib-lds): New variable.
46900 (shlib-lds-flags): New variable.
46901 (build-shlib, build-moduile, build-module-asneeded): Use it.
46902 ($(common-objpfx)libc.so): Use $(shlib-lds).
46903 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46904 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46906 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46907 DT_FLAGS/DT_FLAGS_1 with zero flags.
46909 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46910 linker script munging.
46912 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46914 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46916 * crypt/sha512.c (sha512_process_block): Perform total addition using
46917 128-bit if possible.
46918 (__sha512_finish_ctx): Likewise.
46919 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46921 * crypt/sha256.c (SWAP64): Define.
46922 (sha256_process_block): Perform total addition using 64-bit if
46924 (__sha256_finish_ctx): Likewise.
46926 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46928 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46929 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46930 * nscd/hstcache.c (cache_addhst): Likewise.
46931 * nscd/grpcache.c (cache_addgr): Likewise.
46932 * nscd/aicache.c (addhstaiX): Likewise
46933 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46935 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46937 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46938 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46939 * nscd/hstcache.c (cache_addhst): Likewise.
46940 * nscd/grpcache.c (cache_addgr): Likewise.
46941 * nscd/aicache.c (addhstaiX): Likewise
46943 2011-07-01 Andreas Schwab <schwab@redhat.com>
46945 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46946 domain only when needed.
46948 2011-06-30 Andreas Schwab <schwab@redhat.com>
46950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46951 is always restored.
46953 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46955 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46956 are re-adding the entry.
46957 * nscd/servicescache.c (cache_addserv): Likewise.
46959 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46961 * sysdeps/generic/dl-irel.h: fix protection against multiple
46963 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46965 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46968 * malloc/memusage.sh: Fix quoting in message.
46969 * debug/xtrace.sh: Likewise.
46971 * configure.in: Remove support for --experimental-malloc option, make
46973 * config.make.in: Likewise.
46974 * malloc/Makefile: Likewise.
46976 2011-06-27 Andreas Schwab <schwab@redhat.com>
46978 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46979 two-byte characters.
46981 2011-06-27 Roland McGrath <roland@hack.frob.com>
46983 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46984 AC_CACHE_CHECK invocation.
46985 * configure: Regenerated.
46987 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46989 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46992 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46993 bit from old_res_options.
46995 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46997 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46998 value type for setfct.
47000 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47002 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47003 __gettimeofday instead of gettimeofday.
47005 2011-06-26 Ulrich Drepper <drepper@gmail.com>
47007 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47009 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47011 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47013 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47016 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47019 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47020 strcpy-sse2-unaligned strncpy-sse2-unaligned
47021 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47022 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47023 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47024 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47025 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47026 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47027 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47028 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47029 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47030 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47031 (STRCPY): Support SSE2 and SSSE3 versions.
47033 2011-06-24 Ulrich Drepper <drepper@gmail.com>
47036 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47037 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47038 kernels which artificially limit size of requests.
47040 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47042 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47043 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47044 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47045 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47046 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47047 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47048 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47049 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47050 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47051 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47052 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47053 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47054 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47055 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47056 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47058 Enable unaligned load optimization for Intel Core i3, i5 and i7
47060 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47062 (index_Fast_Unaligned_Load): Define.
47063 (HAS_FAST_UNALIGNED_LOAD): Define.
47065 2011-06-23 Marek Polacek <mpolacek@redhat.com>
47067 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47069 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47072 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47073 until it is clear that the information is realy needed.
47074 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47076 2011-06-22 Andreas Schwab <schwab@redhat.com>
47078 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47080 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47082 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47083 /sys/devices/system/cpu/online if it is usable.
47085 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47086 reading the information from the /proc filesystem to once a second.
47088 2011-06-21 Andreas Jaeger <aj@suse.de>
47090 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47091 NULL after inclusion of kernel headers.
47093 2011-06-21 Ulrich Drepper <drepper@gmail.com>
47095 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47096 calls to internal_setent.
47099 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47100 addresses using gethostbyname4_r ignore IPv4 addresses.
47102 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47103 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47105 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47107 2011-06-20 David S. Miller <davem@davemloft.net>
47109 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47111 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47113 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47114 (elf_irel): Use it.
47115 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47116 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47117 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47118 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47119 * sysdeps/x86_64/dl-irel.h: Likewise.
47121 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47122 * elf/dl-sym.c: Likewise.
47124 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47126 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47127 need to dereference resplen2.
47129 2011-06-14 Andreas Schwab <schwab@redhat.com>
47131 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47133 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47135 * Makeconfig: Define vardbdir and inst_vardbdir.
47136 * nss/Makefile: Add rules to install db-Makefile.
47138 * nss/nss_db/db-XXX.c: Cleanup.
47140 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47141 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47143 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47144 * nss/makedb.c: Implement -g option to specify that value strings
47145 are generated and should not be added to table iterated over for
47147 * nss/nss_db/db-initgroups.c: New file.
47149 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47152 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47153 (internal_getgrouplist): Adjust to name change.
47154 Update use_initgroups_entry if this is not the first call.
47155 * nss/databases.def: Add initgroups entry.
47157 * nss/makedb.c (compute_tables): Check result of multiple hash table
47158 sizes to minimize maximum chain length.
47160 2011-06-14 Ulrich Drepper <drepper@gmail.com>
47162 * Versions.def: Add entry for libnss_db.
47163 * shlib-versions: Likewise.
47164 * nss/Makefile: Add rules to build libnss_db.
47165 * nss/Versions: Add libnss_db information. Organize libnss_files
47167 * nss/db-Makefile: Add gshadow support. Change rules for the new
47168 makedb progra. Some minor improvements to generate smaller files.
47169 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47171 * nss/makedb.c: ...here.
47172 Improve database format to be smaller and require less memory at
47174 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47176 * nss/nss_db/db-netgrp.c: Likewise.
47177 * nss/nss_db/db-open.c: Likewise.
47178 * nss/nss_files/flies-XXX.x: Adjust comments.
47179 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47180 * nss/nss_files/files-grp.c: Likewise.
47181 * nss/nss_files/files-hosts.c: Likewise.
47182 * nss/nss_files/files-network.c: Likewise.
47183 * nss/nss_files/files-proto.c: Likewise.
47184 * nss/nss_files/files-pwd.c: Likewise.
47185 * nss/nss_files/files-rpc.c: Likewise.
47186 * nss/nss_files/files-service.c: Likewise.
47187 * nss/nss_files/files-sgrp.c: Likewise.
47188 * nss/nss_files/files-spwd.c: Likewise.
47189 * nss/nss_db/db-alias.c: Removed.
47190 * nss/nss_db/dummy-db.h: Removed.
47192 2011-06-02 Ulrich Drepper <drepper@gmail.com>
47194 * nss/makedb.c: Rewritten to not use database library.
47195 * nss/Makefile: Update to build new makedb program.
47197 2011-06-14 Andreas Jaeger <aj@suse.de>
47199 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47200 memset declaration.
47202 2011-06-10 Andreas Schwab <schwab@redhat.com>
47204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47207 2011-06-10 Roland McGrath <roland@hack.frob.com>
47209 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47210 * elf/Makefile ($(objpfx)ld.so): Likewise.
47212 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47213 Don't list ld.so twice in dependencies.
47215 * posix/bug-regex31.c: Include <stdlib.h>.
47217 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47219 * nis/nss_compat/compat-spwd.c
47220 (getspent_next_nss_netgr): Remove unused variable.
47221 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47223 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47224 nonmembers" output to use the right array.
47226 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47228 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47230 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47231 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47232 * catgets/gencat.c (read_input_file): Likewise.
47233 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47235 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47236 variable definition inside #if's controlling its use.
47238 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47240 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47242 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47244 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47247 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47249 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47250 * configure: Regenerated.
47252 * Makerules: Revert last change.
47253 * elf/Makefile: Likewise.
47255 2011-06-09 Roland McGrath <roland@hack.frob.com>
47257 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47258 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47259 (reloc-link): Likewise.
47261 2011-06-09 Ulrich Drepper <drepper@gmail.com>
47263 * elf/Makefile: Add rules to build pldd.
47264 * elf/pldd.c: New file.
47265 * elf/pldd-xx.c: New file.
47267 2011-06-07 Ulrich Drepper <drepper@gmail.com>
47269 * version.h: Update for 2.15 development version.
47271 2011-06-07 David S. Miller <davem@davemloft.net>
47273 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47275 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47276 elf_machine_lazy_rel): Likewise.
47277 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47278 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47279 elf_machine_lazy_rel): Likewise.
47280 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47281 dl_hwcap via passed in argument.
47282 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47285 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47287 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47289 2011-06-06 Roland McGrath <roland@hack.frob.com>
47292 * manual/fdl-1.1.texi: New file, verbatim from:
47293 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47294 * manual/lgpl-2.1.texi: New file, verbatim from:
47295 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47296 * manual/Makefile (licenses): New variable, list those new file names.
47298 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47300 * manual/fdl.texi: File removed.
47301 * manual/lesser.texi: File removed.
47302 * manual/libc.texinfo (Copying, Documentation License):
47303 Use new @include file names, put @appendix directive before @include.
47305 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47308 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47309 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47310 (mq_open): Add __NTH.
47312 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47315 Assume Intel Core i3/i5/i7 processor if AVX is available.
47317 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47319 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47322 2011-05-31 Andreas Schwab <schwab@redhat.com>
47324 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47325 memory. Use alloca_account. Fix memory leak when retrying.
47327 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47329 * version.h (RELEASE): Bump for 2.14 release.
47330 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47332 * config.make.in (RANLIB): Remove entry.
47334 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47336 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47337 (libc.pot): Work around missing support for .ksh extension in xgettext.
47340 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47341 if both request failed.
47342 (send_dg): In case of server errors clear resplen or *resplen2.
47345 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47346 when there are multiple maps.
47347 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47348 (_dl_fini): Remove test here.
47350 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47352 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47355 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47356 bit from old_res_options.
47357 (gaih_inet): Likewise.
47360 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47363 * resolv/res_init.c (res_setoptions): Make the code more compact.
47366 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47370 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47372 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47375 * malloc/malloc.h: Declare malloc hook variables as volatile.
47377 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47381 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47382 raise in the comment.
47383 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47384 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47385 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47387 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47390 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47391 grow the buffers more if it already has to be sufficient.
47392 (build_wcs_upper_buffer): Likewise.
47393 * posix/regexec.c (check_matching): Likewise.
47394 (clean_state_log_if_needed): Likewise.
47395 (extend_buffers): Don't enlarge buffers beyond size of the input
47397 Patches mostly by Emil Wojak <emil@wojak.eu>.
47398 * posix/bug-regex32.c: New file.
47399 * posix/Makefile (tests): Add bug-regex32.
47401 * locale/findlocale.c (_nl_find_locale): Return right away if
47402 _nl_explode_name failed.
47403 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47405 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47407 * debug/xtrace.sh: Unify messages.
47408 * malloc/memusage.sh: Likewise.
47411 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47412 time symbol from vDSO. Substitute with vsyscall if not available.
47413 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47416 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47417 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47418 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47419 Add sendmmsg and internal_sendmmsg.
47420 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47421 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47422 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47424 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47425 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47426 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47428 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47431 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47432 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47434 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47438 * iconvdata/Makefile (tests): Add bug-iconv9.
47439 * iconvdata/bug-iconv9.c: New file.
47441 2011-05-27 Andreas Schwab <schwab@redhat.com>
47444 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47446 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47448 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47449 (struct user_regs_struct): Change intcs field back to cs.
47451 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47453 * po/ja.po: Update from translation team.
47455 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47458 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47459 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47461 2011-05-20 Andreas Schwab <schwab@redhat.com>
47463 * stdlib/longlong.h: Update from GCC.
47465 2011-05-23 Andreas Schwab <schwab@redhat.com>
47467 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47469 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47470 Add parameter name.
47471 (__sysconf): Pass it down.
47473 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47476 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47478 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47479 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47480 add in in __libc_use_alloca calls. Adjust callers.
47481 (glob): Use malloc in some situations.
47483 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47484 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47487 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47489 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47490 and CLOCK_BOOTTIME_ALARM.
47493 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47496 * string/_strerror.c (__strerror_r): Print negative errors as signed
47500 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47501 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47502 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47504 * configure.in: Fix typo in redirection and correct removal of test
47505 files in two cases.
47508 * locale/setlocale.c (new_composite_name): Fix test to check for
47509 identical name of all categories.
47512 * libio/filedoalloc.c (local_isatty): New function.
47513 (_IO_file_doallocate): Use local_isatty.
47514 * stdio-common/perror.c (perror): In case a new stream is used
47515 forward the stream error.
47516 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47519 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47524 * include/alloca.h (extend_alloca_account): Define.
47527 * posix/regex.h: Fix comments with documentation of user-accessible
47528 fields after compilation and describe correct free'ing of pattern
47529 after re_compile_pattern.
47530 Patch by Reuben Thomas <rrt@sc3d.org>.
47532 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47534 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47535 and -mno-altivec to prevent the compiler from using Altivec and/or
47536 VSX instructions when the corresponding registers are not available.
47538 2011-05-19 Andreas Schwab <schwab@redhat.com>
47540 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47542 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47544 * libio/freopen.c (freopen): Use __dup2, not dup2.
47545 * libio/freopen64.c (freopen64): Likewise.
47547 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47550 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47551 * math/Makefile (tests): Add test-powl.
47552 (CFLAGS-test-powl.c): Define.
47553 * math/test-powl.c: New file.
47555 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47557 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47559 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47562 * iconvdata/gb18030.c: Update to GB18020-2005.
47564 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47566 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47567 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47568 Patch by Aharon Robbins <arnold@skeeve.com>.
47571 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47575 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47576 through underflows.
47579 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47580 point to strings before performing equality test for error_one_per_line
47584 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47587 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47588 (struct user_fpregs_struct): Avoid __uint*_t types.
47591 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47592 symbol info. Use it instead of calling _dl_addr locally.
47593 (lock_and_info): New function.
47594 (tr_freehook): Call lock_and_info and pass symbol info as additional
47595 parameter to tr_where.
47596 (tr_mallochook): Likewise.
47597 (tr_reallochook): Likewise.
47598 (tr_memalignhook): Likewise.
47600 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47601 used and couldn't be at all thread-safe.
47603 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47605 * libio/freopen.c (freopen): Don't close old file descriptor
47606 before the new one is opened. Instead dup the new file descriptor
47607 to the old one after the new stream is created.
47608 * libio/freopen64.c (freopen64): Likewise.
47609 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47610 * libio/fileops.c (_IO_new_file_close_it): Handle new
47611 _IO_FLAGS2_NOCLOSE flag.
47612 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47613 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47614 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47615 _IO_FLAGS2_NOCLOSE flag.
47616 * include/unistd.h: Add hidden_proto for dup3.
47617 Define __have_dup3.
47618 * io/dup3.c: Define hidden symbol.
47619 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47622 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47623 when an incomplete long option is used.
47624 * posix/tst-getopt_long1.c: New file.
47625 * posix/Makefile (tests): Add tst-getopt_long1.
47628 * scripts/config.guess: Update from autoconf-2.68.
47629 * scripts/config.sub: Likewise.
47632 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47634 (has_cpuclock): ...this. New function.
47635 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47636 macro here based on has_cpuclock code.
47639 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47640 First byte (not low byte) is now always NUL.
47641 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47643 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47644 Use non-cancelable interfaces.
47647 * locale/iso-639.def: Add entry for Sorani.
47650 * include/stdlib.h: Move include protection to the right place.
47651 Define abort_msg_s. Declare __abort_msg with it.
47652 * stdlib/abort.c (__abort_msg): Adjust type.
47653 * assert/assert.c (__assert_fail_base): New function. Majority
47654 of code from __assert_fail. Allocate memory for __abort_msg with
47656 (__assert_fail): Now call __assert_fail_base.
47657 * assert/assert-perr.c: Remove bulk of implementation. Use
47658 __assert_fail_base.
47659 * include/assert.hL Declare __assert_fail_base.
47660 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47662 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47664 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47668 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47669 until all modules are registered in the DTV.
47670 * elf/Makefile: Add rules to build and run tst-tls19.
47671 * elf/tst-tls19.c: New file.
47672 * elf/tst-tls19mod1.c: New file.
47673 * elf/tst-tls19mod2.c: New file.
47674 * elf/tst-tls19mod3.c: New file.
47675 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47678 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47682 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47683 two-byte sequence errors.
47684 * iconvdata/Makefile (tests): Add bug-iconv8.
47685 * iconvdata/bug-iconv8.c: New file.
47688 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47691 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47694 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47695 (dummy_getcfa): New function.
47696 (init): Get _Unwind_GetCFA address, use dummy if not found.
47697 (backtrace_helper): In recursion check, also check whether CFA changes.
47698 (__backtrace): Completely initialize arg.
47700 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47701 storing incomplete byte sequence in state object. Avoid testing for
47702 guaranteed too small input if we know there is enough data available.
47704 2011-05-11 Andreas Schwab <schwab@redhat.com>
47706 * Makeconfig (+link-pie): Indent.
47707 * Rules (binaries-pie): Define if $(have-fpie) and
47709 (binaries-shared): Also filter out $(binaries-pie).
47710 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47711 * nscd/Makefile (others-pie): Add nscd.
47712 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47713 ($(objpfx)nscd): Remove command override.
47714 * login/Makefile (others-pie): Add pt_chown.
47715 ($(objpfx)pt_chown): Remove command override.
47716 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47717 remove command overrides.
47719 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47721 * libio/tst_putwc.c: Fix error messages.
47724 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47725 currently writing and seek to current position when not.
47726 * libio/Makefile (tests): Add bug-fclose1.
47727 * libio/bug-fclose1.c: New file.
47729 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47732 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47733 don't set DF_1_NODELETE here.
47734 (do_lookup_x): When entering new entry test for copy relocation
47735 and if necessary set DF_1_NODELETE flag.
47736 * elf/tst-unique4.cc: New file.
47737 * elf/tst-unique4.h: New file.
47738 * elf/tst-unique4lib.cc: New file.
47739 * elf/Makefile: Add rules to build and run tst-unique4.
47740 Patch by Piotr Bury <pbury@goahead.com>.
47742 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47745 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47748 * misc/mntent_r.c (addmntent): Flush the stream after the output
47751 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47752 (is_trusted_path_normalize): Skip initial colon. Append slash
47753 to empty buffer. Duplicate is_trusted_path code but allow
47754 constructed patch to be prefix.
47755 (is_dst): Allow $ORIGIN followed by /.
47756 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47757 Correct testing of result of is_trusted_path_normalize
47758 (decompose_rpath): Fix warning.
47760 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47763 * grp/initgroups.c (internal_getgrouplist): When we found the service
47764 list through the initgroups entry in nsswitch.conf do not always
47765 continue on a successful lookup. Don't always use the
47766 __nss_group_database value if it is set.
47767 * nss/nsswitch.conf (initgroups): Change action for successful db
47768 lookup to continue for compatibility.
47770 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47773 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47775 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47777 * iconvdata/tst-tables.sh: Likewise.
47778 * iconvdata/cp770.c: New file.
47779 * iconvdata/cp771.c: New file.
47780 * iconvdata/cp772.c: New file.
47781 * iconvdata/cp773.c: New file.
47782 * iconvdata/cp774.c: New file.
47783 * iconvdata/testdata/CP770: New file.
47784 * iconvdata/testdata/CP770..UTF8: New file.
47785 * iconvdata/testdata/CP771: New file.
47786 * iconvdata/testdata/CP771..UTF8: New file.
47787 * iconvdata/testdata/CP772: New file.
47788 * iconvdata/testdata/CP772..UTF8: New file.
47789 * iconvdata/testdata/CP773: New file.
47790 * iconvdata/testdata/CP773..UTF8: New file.
47791 * iconvdata/testdata/CP774: New file.
47792 * iconvdata/testdata/CP774..UTF8: New file.
47794 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47796 * iconvdata/gen-8bit-gap.sh: Likewise.
47797 * iconvdata/gen-8bit.sh: Likewise.
47799 * locale/iso-639.def: Add ary entry.
47802 * locale/C-translit.h.in: Add U20A1 transliteration.
47805 * locale/iso-639.def: Add wae entry.
47806 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47809 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47813 * locale/C-translit.h.in: Add entry for U20B9.
47814 Patch by pravin.d.s@gmail.com.
47816 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47819 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47820 ENAMETOOLONG use generic getcwd.
47821 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47822 in rtld. Use *stat64.
47823 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47824 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47825 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47826 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47827 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47828 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47829 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47830 __fstatat64 macros.
47831 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47832 * dirent/rewinddir.c: Add libc_hidden_def.
47833 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47834 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47836 * include/dirent.h (__alloc_dir): Add flags parameter.
47837 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47838 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47840 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47841 from fdopendir if O_CLOEXEC is already set.
47843 2011-03-15 Alan Modra <amodra@gmail.com>
47845 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47846 l_tls_firstbyte_offset non-zero. Save padding offset in
47847 l_tls_firstbyte_offset for later use.
47848 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47849 freeing static tls block.
47851 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47853 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47854 where #ifdef was intended. The intent is to prevent ARG_MAX from
47855 being defined by the kernel headers.
47857 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47860 * resolv/resolv.h: Define RES_NOTLDQUERY.
47861 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47862 no-tld-query and set RES_NOTLDQUERY.
47863 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47864 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47865 modern BIND to search name as TLD unless forbidden.
47867 2011-05-07 Petr Baudis <pasky@suse.cz>
47868 Ulrich Drepper <drepper@gmail.com>
47871 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47872 (is_trusted_path): ...to here.
47873 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47874 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47875 using is_trusted_path_normalize() in setuid scripts.
47877 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47879 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47880 __BEGIN/__END_DECLS.
47882 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47884 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47885 NSS_STATUS_NOTFOUND if no record was found.
47887 2011-05-05 Andreas Schwab <schwab@redhat.com>
47889 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47890 (headers-not-in-tirpc): Remove rpc/netdb.h
47891 * resolv/netdb.h: Revert last change.
47893 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47895 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47896 circular dependency between libgcc.a and libc.a.
47898 2011-05-05 Andreas Schwab <schwab@redhat.com>
47900 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47901 * nis/Makefile: Don't install rpcsvc/*.
47902 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47903 instead of <rpc/types.h>.
47904 (MAXHOSTNAMELEN): Define.
47906 2011-05-03 Andreas Schwab <schwab@redhat.com>
47908 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47910 2011-04-28 Maciej Babinski <mbabinski@google.com>
47913 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47914 gethostbyname4_r when IPv6 results are possible.
47916 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47919 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47920 _PC_PIPE_BUF handling.
47922 2011-04-30 Bruno Haible <bruno@clisp.org>
47925 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47926 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47928 * inet/getnameinfo.c (getnameinfo): Likewise.
47930 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47932 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47933 to groups setting in database lookup.
47934 * nss/nsswitch.conf: Add initgroups entry.
47936 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47939 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47941 Patch by Eric Blake <eblake@redhat.com>.
47943 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47945 * sunrpc/Makefile (need-export-routines): Add svc_run.
47946 (routines): Remove svc_run.
47947 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47948 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47949 * sunrpc/svc_run.c (svc_run): Likewise.
47950 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47952 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47954 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47955 problem in reallocation in last patch.
47957 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47959 * sunrpc/Makefile: Move inclusion of Rules.
47961 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47963 * nss/nss_files/files-initgroups.c: New file.
47964 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47965 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47966 _nss_files_initgroups_dyn.
47968 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47970 * elf/elf.h (R_ARM_IRELATIVE): Define.
47972 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47974 * po/ru.po: Update from translation team.
47976 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47978 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47981 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47984 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47985 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47986 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47987 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47988 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47990 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47992 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47994 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47995 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47996 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47998 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48001 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48003 * stdlib/bug-getcontext.c: New file.
48004 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48006 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48008 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48009 instructions into .machine "z9-109".
48010 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48011 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48013 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48015 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48016 between environment variables and auxiliary vector.
48018 2011-04-16 Ulrich Drepper <drepper@gmail.com>
48020 * Makefile: Add rules to build linkobj/libc.so.
48021 * include/libc-symbols.h: Define libc_hidden_nolink.
48022 * include/rpc/auth.h: Mark functions which are to be hidden.
48023 * include/rpc/auth_des.h: Likewise.
48024 * include/rpc/auth_unix.h: Likewise.
48025 * include/rpc/clnt.h: Likewise.
48026 * include/rpc/des_crypt.h: Likewise.
48027 * include/rpc/key_prot.h: Likewise.
48028 * include/rpc/pmap_clnt.h: Likewise.
48029 * include/rpc/pmap_prot.h: Likewise.
48030 * include/rpc/pmap_rmt.h: Likewise.
48031 * include/rpc/rpc_msg.h: Likewise.
48032 * include/rpc/svc.h: Likewise.
48033 * include/rpc/svc_auth.h: Likewise.
48034 * include/rpc/xdr.h: Likewise.
48035 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48036 * nss/Makefile: Likewise.
48037 * sunrpc/Makefile: Don't install headers. Build library with normal
48038 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48039 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48040 for the compat linking library. Remove use of INTDEF/INTUSE.
48041 * sunrpc/auth_none.c: Likewise.
48042 * sunrpc/auth_unix.c: Likewise.
48043 * sunrpc/authdes_prot.c: Likewise.
48044 * sunrpc/authuxprot.c: Likewise.
48045 * sunrpc/clnt_gen.c: Likewise.
48046 * sunrpc/clnt_perr.c: Likewise.
48047 * sunrpc/clnt_raw.c: Likewise.
48048 * sunrpc/clnt_simp.c: Likewise.
48049 * sunrpc/clnt_tcp.c: Likewise.
48050 * sunrpc/clnt_udp.c: Likewise.
48051 * sunrpc/clnt_unix.c: Likewise.
48052 * sunrpc/des_crypt.c: Likewise.
48053 * sunrpc/des_soft.c: Likewise.
48054 * sunrpc/get_myaddr.c: Likewise.
48055 * sunrpc/key_call.c: Likewise.
48056 * sunrpc/key_prot.c: Likewise.
48057 * sunrpc/netname.c: Likewise.
48058 * sunrpc/pm_getmaps.c: Likewise.
48059 * sunrpc/pm_getport.c: Likewise.
48060 * sunrpc/pmap_clnt.c: Likewise.
48061 * sunrpc/pmap_prot.c: Likewise.
48062 * sunrpc/pmap_prot2.c: Likewise.
48063 * sunrpc/pmap_rmt.c: Likewise.
48064 * sunrpc/publickey.c: Likewise.
48065 * sunrpc/rpc_cmsg.c: Likewise.
48066 * sunrpc/rpc_common.c: Likewise.
48067 * sunrpc/rpc_dtable.c: Likewise.
48068 * sunrpc/rpc_prot.c: Likewise.
48069 * sunrpc/rpc_thread.c: Likewise.
48070 * sunrpc/rtime.c: Likewise.
48071 * sunrpc/svc.c: Likewise.
48072 * sunrpc/svc_auth.c: Likewise.
48073 * sunrpc/svc_authux.c: Likewise.
48074 * sunrpc/svc_raw.c: Likewise.
48075 * sunrpc/svc_run.c: Likewise.
48076 * sunrpc/svc_simple.c: Likewise.
48077 * sunrpc/svc_tcp.c: Likewise.
48078 * sunrpc/svc_udp.c: Likewise.
48079 * sunrpc/svc_unix.c: Likewise.
48080 * sunrpc/svcauth_des.c: Likewise.
48081 * sunrpc/xcrypt.c: Likewise.
48082 * sunrpc/xdr.c: Likewise.
48083 * sunrpc/xdr_array.c: Likewise.
48084 * sunrpc/xdr_float.c: Likewise.
48085 * sunrpc/xdr_intXX_t.c: Likewise.
48086 * sunrpc/xdr_mem.c: Likewise.
48087 * sunrpc/xdr_rec.c: Likewise.
48088 * sunrpc/xdr_ref.c: Likewise.
48089 * sunrpc/xdr_sizeof.c: Likewise.
48090 * sunrpc/xdr_stdio.c: Likewise.
48092 2011-04-10 Ulrich Drepper <drepper@gmail.com>
48095 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48096 * sysdeps/ia64/dl-tls.h: Likewise.
48097 * sysdeps/powerpc/dl-tls.h: Likewise.
48098 * sysdeps/s390/dl-tls.h: Likewise.
48099 * sysdeps/sh/dl-tls.h: Likewise.
48100 * sysdeps/sparc/dl-tls.h: Likewise.
48101 * sysdeps/x86_64/dl-tls.h: Likewise.
48102 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48104 2011-03-14 Andreas Schwab <schwab@redhat.com>
48106 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48107 rpath element also skip the following colon.
48108 (expand_dynamic_string_token): Add is_path parameter and pass
48109 down to DL_DST_REQUIRED and _dl_dst_substitute.
48110 (decompose_rpath): Call expand_dynamic_string_token with
48111 non-zero is_path. Ignore empty rpaths.
48112 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48115 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48120 2011-04-09 Ulrich Drepper <drepper@gmail.com>
48123 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48124 Patch by Filipe David Manana <fdmanana@apache.org>.
48126 2011-04-07 Andreas Schwab <schwab@redhat.com>
48128 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48129 Maintain aligned stack.
48130 (CHECK_RSP): Remove unused macro.
48132 2011-04-03 Ulrich Drepper <drepper@gmail.com>
48134 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48135 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48137 2011-04-02 Ulrich Drepper <drepper@gmail.com>
48139 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48141 * include/features.h: Mention __USE_XOPEN2K8 in comment.
48143 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48146 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48147 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48148 * sysdeps/x86_64/memmove.c: New file.
48149 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48150 (memcpy): Renamed to ...
48151 (__new_memcpy): This.
48152 (memcpy): Provide GLIBC_2_14 memcpy.
48153 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48154 (memcpy): Provide GLIBC_2_2_5 memcpy.
48156 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48159 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48161 2011-03-30 Andreas Schwab <schwab@redhat.com>
48163 * misc/syncfs.c: New file.
48164 * misc/Makefile (routines): Add syncfs.
48165 * posix/unistd.h: Declare syncfs.
48166 * sysdeps/unix/syscalls.list: Add syncfs.
48168 2011-04-01 Andreas Schwab <schwab@redhat.com>
48170 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48172 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48173 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48174 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48175 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48176 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48177 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48178 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48180 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48182 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48183 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48184 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48185 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48186 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48187 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48188 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48190 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48191 sync_file_range.c with -fexceptions.
48192 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48193 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48194 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48195 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48196 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48197 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48198 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48199 sync_file_range as cancellation point
48200 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48201 now a wrapper around __call_sync_file_range with cancellation handling.
48202 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48203 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48204 function name to __call_sync_file_range.
48205 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48206 Add call_sync_file_range.
48208 2011-04-01 Andreas Schwab <schwab@redhat.com>
48210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48213 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48215 * iconv/iconv.h: Fix typo in comment.
48216 * io/fcntl.h: Likewise.
48217 * libio/stdio.h: Likewise.
48218 * posix/spawn.h: Likewise.
48219 * posix/unistd.h: Likewise.
48220 * stdlib/stdlib.h: Likewise.
48221 * time/time.h: Likewise.
48222 * wcsmbs/wchar.h: Likewise.
48224 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48225 open_by_handle): Add.
48226 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48227 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48228 Augment a few comments.
48229 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48230 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48231 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48232 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48233 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48234 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48237 * io/fcntl.h (AT_EMPTY_PATH): Define.
48239 2011-03-30 Ulrich Drepper <drepper@gmail.com>
48241 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48242 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48243 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48245 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
48246 * Versions.def: Add GLIBC_2.14.
48247 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48250 2011-03-22 Ulrich Drepper <drepper@gmail.com>
48252 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48254 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48256 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48259 * string/test-strncmp.c (do_page_test): New function.
48260 (check2): Likewise.
48261 (test_main): Call check2.
48262 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48264 2011-03-20 Ulrich Drepper <drepper@gmail.com>
48267 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48268 Handle cache information in CPU leaf 4.
48269 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48271 2011-03-18 Ulrich Drepper <drepper@gmail.com>
48274 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48275 character representation.
48276 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48278 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48280 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48281 END(__isnan) to END(__isnanf) to match function entry point/label
48282 EALIGN(__isnanf,...).
48284 2011-03-10 Jakub Jelinek <jakub@redhat.com>
48286 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48288 2011-03-10 Ulrich Drepper <drepper@gmail.com>
48291 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48292 copy from the symbol referenced in the relocation to initialize the
48294 Patch by Piotr Bury <pbury@goahead.com>.
48295 * elf/Makefile: Add rules to build and tst-unique3.
48296 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48297 * elf/tst-unique3.cc: New file.
48298 * elf/tst-unique3.h: New file.
48299 * elf/tst-unique3lib.cc: New file.
48300 * elf/tst-unique3lib2.cc: New file.
48302 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48304 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48306 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48307 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48310 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48312 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48313 to-be-loaded object along a path to loader is ld.so.
48315 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48316 Ulrich Drepper <drepper@gmail.com>
48318 * sysdeps/x86_64/memset.S: After aligning destination, code
48319 branches to different locations depending on the value of
48320 misalignment, when multiarch is enabled. Fix this.
48322 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48324 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48325 Set _x86_64_preferred_memory_instruction for AMD processsors.
48326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48327 Set bit_Prefer_SSE_for_memop for AMD processors.
48329 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48331 * libio/fmemopen.c (fmemopen): Optimize a bit.
48333 2011-03-03 Andreas Schwab <schwab@redhat.com>
48335 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48337 2011-03-03 Roland McGrath <roland@redhat.com>
48339 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48341 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48343 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48344 __bzero_ultra1 instead of __memset_ultra1.
48346 2011-02-23 Andreas Schwab <schwab@redhat.com>
48347 Ulrich Drepper <drepper@gmail.com>
48350 * include/link.h (struct link_map): Add l_orig_initfini.
48351 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48352 returning unsuccessfully.
48353 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48354 close of a file loaded at startup, restore the original l_initfini
48356 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48357 list, store the pointer.
48358 * elf/Makefile ($(objpfx)noload-mem): New rule.
48359 (noload-ENV): Define.
48360 (tests): Add $(objpfx)noload-mem.
48361 * elf/noload.c: Include <memcheck.h>.
48362 (main): Call mtrace. Close all opened handles.
48364 2011-02-17 Andreas Schwab <schwab@redhat.com>
48367 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48368 dependencies are missing.
48370 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48372 Fix __if_freereq crash: Unlike the generic version which uses free,
48374 * sysdeps/mach/hurd/ifreq.h: New file.
48376 2011-01-27 Petr Baudis <pasky@suse.cz>
48377 Ulrich Drepper <drepper@gmail.com>
48380 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48381 to extend_alloca().
48382 * stdio-common/bug23.c: New file.
48383 * stdio-common/Makefile (tests): Add bug23.
48385 2010-09-28 Andreas Schwab <schwab@redhat.com>
48386 Ulrich Drepper <drepper@gmail.com>
48389 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48390 before performing relro protection. At old place add assertion
48391 to make sure nothing changed.
48393 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48394 Glauber de Oliveira Costa <glommer@gmail.com>
48396 * elf/elf.h: Add new ARM TLS relocs.
48398 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48401 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48403 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48405 * sysdeps/wordsize-64/tst-writev.c: New file.
48407 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48409 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48410 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48411 insns in _dl_start to prevent a TOC reference before relocs are
48414 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48417 * Makeconfig: Remove RANLIB definition.
48418 * Makerules: Don't use RANLIB.
48419 * aclocal.m4: Remove ranlib test.
48420 * configure.in: No need to check for ranlib.
48421 * elf/rtld-Rules: Don't use RANLIB.
48423 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48425 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48427 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48428 inclusion protection macro.
48430 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48431 SIGRTMIN and SIGRTMAX and print information in that case only when
48432 SIGRTMIN is defined.
48434 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48436 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48437 arginfo fn returning -1.
48439 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48440 and thousands string is zero terminated.
48442 2011-02-03 Andreas Schwab <schwab@redhat.com>
48444 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48445 sysdeps/unix/sysv/linux/bits/socket.h.
48447 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48449 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48450 (__CPU_COUNT): Remove old macros.
48451 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48452 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48453 (__CPU_ALLOC, __CPU_FREE): Add macros.
48454 (__sched_cpualloc, __sched_cpufree): Add declarations.
48456 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48458 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48459 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48460 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48461 (readdhstai): Return value of addhstaiX call.
48462 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48463 (addgrbyX): Return value returned by cache_addgr.
48464 (readdgrbyname): Return value returned by addgrbyX.
48465 (readdgrbygid): Likewise.
48466 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48467 (addpwbyX): Return value returned by cache_addpw.
48468 (readdpwbyname): Return value returned by addhstbyX.
48469 (readdpwbyuid): Likewise.
48470 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48471 (addservbyX): Return value returned by cache_addserv.
48472 (readdservbyname): Return value returned by addservbyX:
48473 (readdservbyport): Likewise.
48474 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48475 (addhstbyX): Return value returned by cache_addhst.
48476 (readdhstbyname): Return value returned by addhstbyX.
48477 (readdhstbyaddr): Likewise.
48478 (readdhstbynamev6): Likewise.
48479 (readdhstbyaddrv6): Likewise.
48480 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48481 (readdinitgroups): Return value returned by addinitgroupsX.
48482 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48483 (prune_cache): Keep track of timeout value of re-added entries.
48484 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48485 * nscd/nscd.h: Adjust prototypes of readd* functions.
48487 2011-02-04 Roland McGrath <roland@redhat.com>
48489 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48490 (nis_stats): Likewise.
48491 * nis/nis_modify.c (nis_modify): Likewise.
48492 * nis/nis_remove.c (nis_remove): Likewise.
48493 * nis/nis_add.c (nis_add): Likewise.
48495 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48497 * posix/fnmatch_loop.c: Add some consts.
48499 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48501 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48504 * config.make.in (config-cflags-novzeroupper): Define.
48505 * configure.in: Substitute libc_cv_cc_novzeroupper.
48506 * elf/Makefile (AVX-CFLAGS): Define.
48507 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48508 (CFLAGS-tst-auditmod4a.c): Likewise.
48509 (CFLAGS-tst-auditmod4b.c): Likewise.
48510 (CFLAGS-tst-auditmod6b.c): Likewise.
48511 (CFLAGS-tst-auditmod6c.c): Likewise.
48512 (CFLAGS-tst-auditmod7b.c): Likewise.
48513 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48515 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48517 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48518 function to the callback.
48519 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48521 2011-02-02 Andreas Schwab <schwab@redhat.com>
48523 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48526 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48529 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48531 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48533 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48536 * elf/Makefile: Add rules to build and run new test.
48537 * elf/tst-initorder.c: New file.
48538 * elf/tst-initorder.exp: New file.
48539 * elf/tst-initordera1.c: New file.
48540 * elf/tst-initordera2.c: New file.
48541 * elf/tst-initordera3.c: New file.
48542 * elf/tst-initordera4.c: New file.
48543 * elf/tst-initorderb1.c: New file.
48544 * elf/tst-initorderb2.c: New file.
48545 * elf/tst-order-a1.c: New file.
48546 * elf/tst-order-a2.c: New file.
48547 * elf/tst-order-a3.c: New file.
48548 * elf/tst-order-a4.c: New file.
48549 * elf/tst-order-b1.c: New file.
48550 * elf/tst-order-b2.c: New file.
48551 * elf/tst-order-main.c: New file.
48552 New test case by George Gensure <werkt0@gmail.com>.
48554 2010-10-01 Andreas Schwab <schwab@redhat.com>
48556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48557 decoding ACE if AI_CANONIDN.
48559 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48561 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48563 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48565 * version.h (RELEASE): Bump for 2.13 release.
48566 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48568 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48570 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48572 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48573 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48574 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48575 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48576 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48577 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48579 * posix/getconf.c: Update copyright year.
48580 * catgets/gencat.c: Likewise.
48581 * csu/version.c: Likewise.
48582 * debug/catchsegv.sh: Likewise.
48583 * debug/xtrace.sh: Likewise.
48584 * elf/ldconfig.c: Likewise.
48585 * elf/ldd.bash.in: Likewise.
48586 * elf/sprof.c (print_version): Likewise.
48587 * iconv/iconv_prog.c: Likewise.
48588 * iconv/iconvconfig.c: Likewise.
48589 * locale/programs/locale.c: Likewise.
48590 * locale/programs/localedef.c: Likewise.
48591 * malloc/memusage.sh: Likewise.
48592 * malloc/mtrace.pl: Likewise.
48593 * nscd/nscd.c (print_version): Likewise.
48594 * nss/getent.c: Likewise.
48596 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48597 PF_CAIF, and PF_ALG.
48598 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48600 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48602 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48603 (modules-names): Use them.
48604 (ifunc-test-modules, ifunc-pie-tests): Define.
48605 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48606 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48607 (test-extras): Likewise.
48608 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48609 $(compile-command.c).
48610 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48611 (all-built-dso): Define.
48612 (check-textrel.out, check-execstack.out): Depend on it.
48614 * configure.in: Don't override --enable-multi-arch.
48616 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48619 * nscd/hstcache.c (tryagain): Define.
48620 (cache_addhst): Return tryagain not notfound for temporary errors.
48621 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48624 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48627 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48628 to make the syscall.
48629 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48632 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48633 and fall back to matching as normal character if the string ends before
48634 the matching ']' is found. This is what POSIX requires.
48635 * posix/testfnm.c: Adjust test result.
48636 * posix/globtest.sh: Adjust test result. Add new test.
48637 * posix/tst-fnmatch.input: Likewise.
48638 * posix/tst-fnmatch2.c: Add new test.
48640 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48642 * elf/Makefile (check-execstack): Revert last change. Depend on
48644 (check-execstack.h): New target.
48645 (generated): Add check-execstack.h.
48646 * elf/check-execstack.c: Include "check-execstack.h".
48647 (main): Revert last change.
48648 (handle_file): Return zero if GNU_STACK is absent and
48649 DEFAULT_STACK_PERMS doesn't include PF_X.
48651 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48653 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48654 in child fails because the descriptor is already closed.
48655 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48656 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48657 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48660 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48664 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48665 temporary buffer used to handle multi lookups locally.
48666 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48668 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48670 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48673 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48675 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48676 alignment for SSE2.
48678 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48681 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48682 characters. When rounding increased number of integer digits recompute
48684 * stdio-common/tst-grouping.c: New file.
48685 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48687 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48689 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48690 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48692 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48694 * bits/select.h: Likewise.
48696 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48698 * po/ja.po: Update from translation team.
48700 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48703 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48704 implementation just like for lxstat, fxstatat, et al.
48706 2010-12-27 Jim Meyering <meyering@redhat.com>
48709 * posix/regexec.c (build_trtable): Return failure indication upon
48710 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48712 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48715 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48716 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48717 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48718 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48721 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48724 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48725 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48727 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48729 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48730 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48731 script has SORT_BY_INIT_PRIORITY.
48732 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48733 NO_CTORS_DTORS_SECTIONS is defined.
48734 * elf/soinit.c: Likewise.
48735 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48736 NO_CTORS_DTORS_SECTIONS is defined.
48737 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48738 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48739 * sysdeps/sh/init-first.c: Likewise.
48740 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48742 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48744 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48745 always use the slow path.
48747 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48749 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48750 similar rule which adds the sysdep directories to the header search in
48751 order to pick up the correct platform stackinfo.h.
48752 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48753 perform test if it is, otherwise return successfully without testing.
48754 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48755 DEFAULT_STACK_PERMS define in stackinfo.h.
48756 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48757 defined in stackinfo.h.
48758 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48759 DEFAULT_STACK_PERMS defined in stackinfo.h.
48760 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48761 * sysdeps/ia64/stackinfo.h: Likewise.
48762 * sysdeps/s390/stackinfo.h: Likewise.
48763 * sysdeps/sh/stackinfo.h: Likewise.
48764 * sysdeps/sparc/stackinfo.h: Likewise.
48765 * sysdeps/x86_64/stackinfo.h: Likewise.
48766 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48767 PF_X for powerpc64. Retain PF_X for powerpc32.
48769 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48771 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48773 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48774 GETDENTS_64BIT_ALIGNED.
48776 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48778 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48780 2010-12-10 Andreas Schwab <schwab@redhat.com>
48782 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48785 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48786 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48788 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48789 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48791 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48794 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48797 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48799 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48801 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48803 * po/it.po: Update from translation team.
48805 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48807 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48810 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48812 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48814 2010-11-24 Andreas Schwab <schwab@redhat.com>
48816 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48818 (gaih_getanswer_slice): Likewise.
48820 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48822 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48824 2010-05-31 Petr Baudis <pasky@suse.cz>
48827 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48828 silently even in the chroot mode.
48830 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48832 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48833 last patch a bit. Pretty printing
48835 2010-05-31 Petr Baudis <pasky@suse.cz>
48838 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48839 initialization of skip_initgroups_dyn.
48841 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48843 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48844 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48846 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48848 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48850 2010-11-11 Andreas Schwab <schwab@redhat.com>
48852 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48853 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48854 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48855 ($(objpfx)tst-fnmatch-mem): New rule.
48856 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48857 * posix/tst-fnmatch.c (main): Call mtrace.
48859 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48862 Support Intel processor model 6 and model 0x2c.
48864 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48866 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48869 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48872 * string/test-strncasecmp.c (check_result): New function.
48873 (do_one_test): Use it.
48874 (check1): New function.
48875 (test_main): Use it.
48876 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48877 Support strcasecmp and strncasecmp.
48879 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48882 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48883 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48885 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48887 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48891 * sysdeps/x86_64/multiarch/bzero.S: New file.
48892 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48893 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48894 * sysdeps/x86_64/multiarch/memset.S: New file.
48895 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48896 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48897 Set bit_Prefer_SSE_for_memop for Intel processors.
48898 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48900 (index_Prefer_SSE_for_memop): Define.
48901 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48903 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48905 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48906 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48908 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48911 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48912 (__x86_64_raw_data_cache_size_half): Likewise.
48913 (__x86_64_raw_shared_cache_size): Likewise.
48914 (__x86_64_raw_shared_cache_size_half): Likewise.
48916 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48917 (__x86_64_raw_data_cache_size_half): Likewise.
48918 (__x86_64_raw_shared_cache_size): Likewise.
48919 (__x86_64_raw_shared_cache_size_half): Likewise.
48920 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48921 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48922 and __x86_64_raw_shared_cache_size_half. Round
48923 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48924 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48925 to multiple of 256 bytes.
48927 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48930 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48931 of inacessible symlinks. Verify result of symlink before returning it.
48932 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48933 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48935 2010-10-28 Erich Ritz <erichritz@gmail.com>
48937 * math/math.h (isinf): Fix typo in comment.
48939 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48941 * po/da.po: Update from translation team.
48943 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48945 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48946 is added to the list.
48948 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48949 Ulrich Drepper <drepper@gmail.com>
48951 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48952 the global list here. Move code to...
48953 (_dl_add_to_namespace_list): ...here. New function.
48954 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48955 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48956 * elf/dl-load.c (lose): Don't remove the element from the list.
48957 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48958 (_dl_map_object): Likewise.
48960 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48963 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48964 into all bytes of SSE register.
48965 Patch by Richard Li <richardpku@gmail.com>.
48967 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48970 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48973 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48975 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48976 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48977 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48978 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48983 2010-10-22 Andreas Schwab <schwab@redhat.com>
48985 * include/dlfcn.h (__RTLD_SECURE): Define.
48986 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48987 mode & __RTLD_SECURE instead.
48988 (open_path): Rename preloaded parameter to secure.
48989 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48990 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48991 * elf/dl-deps.c (openaux): Likewise.
48992 * elf/rtld.c (struct map_args): Remove is_preloaded.
48993 (map_doit): Don't use it.
48994 (dl_main): Likewise.
48995 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48996 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48998 2010-09-09 Andreas Schwab <schwab@redhat.com>
49000 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49001 (sysd-rules-targets): Remove duplicates.
49002 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49003 rtld-%.$o dependency.
49005 2010-10-18 Andreas Schwab <schwab@redhat.com>
49007 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49008 _dl_map_object do it.
49010 2010-10-19 Ulrich Drepper <drepper@gmail.com>
49012 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49013 fast fma builtins, define the macros in the C99 standard.
49014 (FP_FAST_FMAF): Likewise.
49015 (FP_FAST_FMAL): Likewise.
49016 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49018 * bits/mathdef.h: Update copyright year.
49019 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49021 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49023 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49024 builtins, define the macros in the C99 standard.
49025 (FP_FAST_FMAF): Likewise.
49026 (FP_FAST_FMAL): Likewise.
49027 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49029 (FP_FAST_FMAF): Likewise.
49031 2010-10-15 Jakub Jelinek <jakub@redhat.com>
49034 * math/libm-test.inc (fma_test): Some new testcases.
49035 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49036 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49037 y and infinite z. Do multiplication by C already in long double.
49038 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49039 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49040 y and infinite z. Do bitwise or of inexact bit into u.d.
49041 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49042 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49043 * sysdeps/i386/fpu/s_fma.S: Removed.
49044 * sysdeps/i386/fpu/s_fmal.S: Removed.
49046 2010-10-16 Jakub Jelinek <jakub@redhat.com>
49049 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49050 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49051 computation is not scheduled after fetestexcept. Fix value
49052 of minimum denormal long double.
49054 2010-10-14 Jakub Jelinek <jakub@redhat.com>
49057 * math/libm-test.inc (fma_test): Add some more tests.
49058 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49061 2010-10-15 Andreas Schwab <schwab@redhat.com>
49063 * scripts/data/localplt-s390-linux-gnu.data: New file.
49064 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49066 2010-10-13 Jakub Jelinek <jakub@redhat.com>
49069 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49070 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49072 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49074 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49075 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49076 if one of x and y is very large and the other is subnormal.
49077 * sysdeps/s390/fpu/s_fmaf.c: New file.
49078 * sysdeps/s390/fpu/s_fma.c: New file.
49079 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49080 * sysdeps/powerpc/fpu/s_fma.S: New file.
49081 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49082 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49083 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49085 2010-10-12 Jakub Jelinek <jakub@redhat.com>
49088 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49090 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49091 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49092 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49093 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49094 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49095 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49096 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49098 2010-10-12 Ulrich Drepper <drepper@redhat.com>
49101 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49102 * posix/bug-regex31.input: Add test case.
49104 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49106 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49107 * posix/bug-regex31.input: New file.
49110 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49111 (parse_sub_exp): Fix last change, use postorder.
49113 * posix/bug-regex31.c: New file.
49114 * posix/Makefile: Add rules to build and run bug-regex31.
49116 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49119 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49122 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49123 to have entries in sys_siglist.
49126 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49129 2010-10-07 Jakub Jelinek <jakub@redhat.com>
49132 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49133 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49134 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49135 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49136 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49137 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49138 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49139 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49140 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49141 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49142 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49143 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49144 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49145 * math/ftestexcept.c (fetestexcept): Likewise.
49146 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49147 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49148 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49149 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49150 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49151 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49152 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49154 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49157 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49160 2010-10-06 Ulrich Drepper <drepper@gmail.com>
49162 * string/bug-strstr1.c: New file.
49163 * string/Makefile: Add rules to build and run bug-strstr1.
49165 2010-10-05 Eric Blake <eblake@redhat.com>
49168 * string/str-two-way.h (two_way_long_needle): Always clear memory
49169 when skipping input due to the shift table.
49171 2010-10-03 Ulrich Drepper <drepper@gmail.com>
49174 * malloc/mcheck.c: Handle large requests.
49177 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49178 for strncmp and strncasecmp.
49179 * string/stratcliff.c: Add tests for strcmp and strncmp.
49180 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49182 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49184 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49187 2010-09-30 Andreas Jaeger <aj@suse.de>
49189 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49190 (CGROUP_SUPER_MAGIC): Define.
49191 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49192 Handle btrfs and cgroup file systems.
49193 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49196 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
49198 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49199 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49201 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49204 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49205 trying to locate the ELF header.
49207 2010-09-27 Andreas Schwab <schwab@redhat.com>
49210 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49211 Mask out sign-bit copies when constructing f_fsid.
49213 2010-09-24 Petr Baudis <pasky@suse.cz>
49215 * debug/stack_chk_fail_local.c: Add missing licence exception.
49216 * debug/warning-nop.c: Likewise.
49218 2010-09-15 Joseph Myers <joseph@codesourcery.com>
49220 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49221 implementing getdents64 using getdents syscall, set d_type if
49222 __ASSUME_GETDENTS32_D_TYPE.
49224 2010-09-16 Andreas Schwab <schwab@redhat.com>
49226 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49227 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49229 2010-09-21 Ulrich Drepper <drepper@redhat.com>
49232 * posix/unistd.h: Undo change of feature selection for ftruncate from
49235 2010-09-20 Ulrich Drepper <drepper@redhat.com>
49237 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49240 2010-09-20 Andreas Schwab <schwab@redhat.com>
49242 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49244 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49246 2010-09-14 Andreas Schwab <schwab@redhat.com>
49248 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49249 variables after CHECK_SP call.
49250 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49252 2010-09-13 Andreas Schwab <schwab@redhat.com>
49253 Ulrich Drepper <drepper@redhat.com>
49255 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49256 re-relocationg ld.so.
49257 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49258 _dl_init_paths call.
49259 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49262 2010-09-14 Ulrich Drepper <drepper@redhat.com>
49264 * resolv/res_init.c (__res_vinit): Count the default server we added.
49266 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49267 Ulrich Drepper <drepper@redhat.com>
49270 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49271 (____longjmp_chk): Use %ebx for saving value across system call.
49274 2010-09-06 Andreas Schwab <schwab@redhat.com>
49276 * manual/Makefile: Don't mix pattern rules with normal rules.
49278 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49280 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49282 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49283 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49284 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49285 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49286 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49289 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49292 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49293 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49295 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49297 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49298 * sysdeps/x86_64/addmul_1.S: Likewise.
49299 * sysdeps/x86_64/lshift.S: Likewise.
49300 * sysdeps/x86_64/mul_1.S: Likewise.
49301 * sysdeps/x86_64/rshift.S: Likewise.
49302 * sysdeps/x86_64/sub_n.S: Likewise.
49303 * sysdeps/x86_64/submul_1.S: Likewise.
49305 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49307 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49308 Define __sched_param instead of SCHED_* and sched_param when
49309 <bits/sched.h> is included with __need_schedparam defined.
49310 * bits/sched.h [__need_schedparam]
49311 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49312 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49313 (__defined_schedparam): Define to 1.
49314 (__sched_param): New structure, identical to sched_param.
49315 (__need_schedparam): Undefine.
49317 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49319 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49320 (epoll_create1): Declare.
49322 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49324 2010-08-31 Andreas Schwab <schwab@redhat.com>
49327 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49328 shifting retval into place.
49330 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49332 * nis/rpcsvc/nis.h: Update copyright notice.
49333 * nis/rpcsvc/nis.x: Likewise.
49334 * nis/rpcsvc/nis_callback.h: Likewise.
49335 * nis/rpcsvc/nis_callback.x: Likewise.
49336 * nis/rpcsvc/nis_object.x: Likewise.
49337 * nis/rpcsvc/nis_tags.h: Likewise.
49338 * nis/rpcsvc/yp.h: Likewise.
49339 * nis/rpcsvc/yp.x: Likewise.
49340 * nis/rpcsvc/ypupd.h: Likewise.
49341 * nis/yp_xdr.c: Likewise.
49342 * nis/ypupdate_xdr.c: Likewise.
49344 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49345 mainly the body of pmap_getport. Add parameters to specify timeouts.
49346 (pmap_getport): Use __libc_rpc_getport.
49347 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49348 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49349 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49351 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49356 2010-08-27 Roland McGrath <roland@redhat.com>
49358 * sysdeps/i386/i686/multiarch/Makefile
49359 (CFLAGS-varshift.c): New variable.
49361 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49363 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49364 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49366 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49368 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49370 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49372 * sysdeps/x86_64/strlen.S: Unroll the loop.
49373 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49374 strlen-sse2 strlen-sse2-bsf.
49375 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49376 __strlen_no_bsf if bit_Slow_BSF is set.
49377 (__strlen_sse42): Removed.
49378 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49379 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49381 2010-08-25 Roland McGrath <roland@redhat.com>
49383 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49384 * sysdeps/x86_64/multiarch/varshift.c: New file.
49385 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49386 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49387 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49388 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49390 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49392 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49393 strlen-sse2 strlen-sse2-bsf.
49394 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49395 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49396 (__strlen_sse2): Removed.
49397 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49398 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49400 bit_Slow_BSF for Atom.
49401 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49402 (index_Slow_BSF): Define.
49403 (HAS_SLOW_BSF): Define.
49405 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49408 * resolv/res_init.c (__res_vinit): When no server address at all
49409 is given default to loopback.
49411 2010-08-24 Roland McGrath <roland@redhat.com>
49413 * configure.in: Remove config-name.h generation.
49414 * configure: Regenerated.
49415 * config-name.in: File removed.
49416 * scripts/config-uname.sh: New file.
49417 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49418 ($(objdir)config-name.h): New target.
49420 * sunrpc/rpc_parse.h: Avoid nested comment.
49422 2010-08-24 Richard Henderson <rth@redhat.com>
49423 Ulrich Drepper <drepper@redhat.com>
49424 H.J. Lu <hongjiu.lu@intel.com>
49426 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49427 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49428 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49429 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49430 _mm_alignr_epi8 with _mm_loadu_si128.
49431 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49432 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49433 (__m128i_shift_right): Removed.
49434 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49435 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49436 * sysdeps/x86_64/multiarch/varshift.h: New file.
49437 * sysdeps/x86_64/multiarch/varshift.S: New file.
49439 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49441 * configure.in: Move assembler checks to before sysdep dir checking.
49443 2010-08-20 Petr Baudis <pasky@suse.cz>
49445 * LICENSES: Sync the sunrpc license.
49447 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49449 * sunrpc/auth_des.c: Update copyright notice once again.
49450 * sunrpc/auth_none.c: Likewise.
49451 * sunrpc/auth_unix.c: Likewise.
49452 * sunrpc/authdes_prot.c: Likewise.
49453 * sunrpc/authuxprot.c: Likewise.
49454 * sunrpc/bindrsvprt.c: Likewise.
49455 * sunrpc/clnt_gen.c: Likewise.
49456 * sunrpc/clnt_perr.c: Likewise.
49457 * sunrpc/clnt_raw.c: Likewise.
49458 * sunrpc/clnt_simp.c: Likewise.
49459 * sunrpc/clnt_tcp.c: Likewise.
49460 * sunrpc/clnt_udp.c: Likewise.
49461 * sunrpc/clnt_unix.c: Likewise.
49462 * sunrpc/des_crypt.c: Likewise.
49463 * sunrpc/des_soft.c: Likewise.
49464 * sunrpc/get_myaddr.c: Likewise.
49465 * sunrpc/getrpcport.c: Likewise.
49466 * sunrpc/key_call.c: Likewise.
49467 * sunrpc/key_prot.c: Likewise.
49468 * sunrpc/openchild.c: Likewise.
49469 * sunrpc/pm_getmaps.c: Likewise.
49470 * sunrpc/pm_getport.c: Likewise.
49471 * sunrpc/pmap_clnt.c: Likewise.
49472 * sunrpc/pmap_prot.c: Likewise.
49473 * sunrpc/pmap_prot2.c: Likewise.
49474 * sunrpc/pmap_rmt.c: Likewise.
49475 * sunrpc/rpc/auth.h: Likewise.
49476 * sunrpc/rpc/auth_unix.h: Likewise.
49477 * sunrpc/rpc/clnt.h: Likewise.
49478 * sunrpc/rpc/des_crypt.h: Likewise.
49479 * sunrpc/rpc/key_prot.h: Likewise.
49480 * sunrpc/rpc/netdb.h: Likewise.
49481 * sunrpc/rpc/pmap_clnt.h: Likewise.
49482 * sunrpc/rpc/pmap_prot.h: Likewise.
49483 * sunrpc/rpc/pmap_rmt.h: Likewise.
49484 * sunrpc/rpc/rpc.h: Likewise.
49485 * sunrpc/rpc/rpc_des.h: Likewise.
49486 * sunrpc/rpc/rpc_msg.h: Likewise.
49487 * sunrpc/rpc/svc.h: Likewise.
49488 * sunrpc/rpc/svc_auth.h: Likewise.
49489 * sunrpc/rpc/types.h: Likewise.
49490 * sunrpc/rpc/xdr.h: Likewise.
49491 * sunrpc/rpc_clntout.c: Likewise.
49492 * sunrpc/rpc_cmsg.c: Likewise.
49493 * sunrpc/rpc_common.c: Likewise.
49494 * sunrpc/rpc_cout.c: Likewise.
49495 * sunrpc/rpc_dtable.c: Likewise.
49496 * sunrpc/rpc_hout.c: Likewise.
49497 * sunrpc/rpc_main.c: Likewise.
49498 * sunrpc/rpc_parse.c: Likewise.
49499 * sunrpc/rpc_parse.h: Likewise.
49500 * sunrpc/rpc_prot.c: Likewise.
49501 * sunrpc/rpc_sample.c: Likewise.
49502 * sunrpc/rpc_scan.c: Likewise.
49503 * sunrpc/rpc_scan.h: Likewise.
49504 * sunrpc/rpc_svcout.c: Likewise.
49505 * sunrpc/rpc_tblout.c: Likewise.
49506 * sunrpc/rpc_util.c: Likewise.
49507 * sunrpc/rpc_util.h: Likewise.
49508 * sunrpc/rpcinfo.c: Likewise.
49509 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49510 * sunrpc/rpcsvc/key_prot.x: Likewise.
49511 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49512 * sunrpc/rpcsvc/mount.x: Likewise.
49513 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49514 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49515 * sunrpc/rpcsvc/rex.x: Likewise.
49516 * sunrpc/rpcsvc/rstat.x: Likewise.
49517 * sunrpc/rpcsvc/rusers.x: Likewise.
49518 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49519 * sunrpc/rpcsvc/spray.x: Likewise.
49520 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49521 * sunrpc/rtime.c: Likewise.
49522 * sunrpc/svc.c: Likewise.
49523 * sunrpc/svc_auth.c: Likewise.
49524 * sunrpc/svc_authux.c: Likewise.
49525 * sunrpc/svc_raw.c: Likewise.
49526 * sunrpc/svc_run.c: Likewise.
49527 * sunrpc/svc_simple.c: Likewise.
49528 * sunrpc/svc_tcp.c: Likewise.
49529 * sunrpc/svc_udp.c: Likewise.
49530 * sunrpc/svc_unix.c: Likewise.
49531 * sunrpc/svcauth_des.c: Likewise.
49532 * sunrpc/xcrypt.c: Likewise.
49533 * sunrpc/xdr.c: Likewise.
49534 * sunrpc/xdr_array.c: Likewise.
49535 * sunrpc/xdr_float.c: Likewise.
49536 * sunrpc/xdr_mem.c: Likewise.
49537 * sunrpc/xdr_rec.c: Likewise.
49538 * sunrpc/xdr_ref.c: Likewise.
49539 * sunrpc/xdr_sizeof.c: Likewise.
49540 * sunrpc/xdr_stdio.c: Likewise.
49542 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49545 2010-08-19 Andreas Schwab <schwab@redhat.com>
49547 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49549 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49551 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49552 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49553 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49554 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49555 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49556 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49557 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49558 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49559 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49560 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49561 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49562 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49563 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49564 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49566 2010-07-26 Anton Blanchard <anton@samba.org>
49568 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49569 * malloc/arena.c (heap_trim): Likewise.
49571 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49573 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49575 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49576 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49578 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49580 * sysdeps/i386/elf/Makefile: New file.
49582 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49584 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49585 from fanotify_init.
49586 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49587 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49589 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49591 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49593 * sysdeps/multiarch/strcmp.S: Likewise.
49595 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49597 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49598 strncase_l-nonascii.
49599 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49600 Add strncase_l-ssse3.
49601 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49602 * sysdeps/x86_64/strcmp.S: Likewise.
49603 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49604 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49605 * sysdeps/x86_64/strncase.S: New file.
49606 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49607 * sysdeps/x86_64/strncase_l.S: New file.
49608 * string/Makefile (strop-tests): Add strncasecmp.
49609 * string/test-strncasecmp.c: New file.
49611 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49614 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49615 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49617 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49619 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49621 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49623 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49624 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49625 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49627 2010-05-01 Alan Modra <amodra@gmail.com>
49629 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49630 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49631 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49632 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49633 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49634 tidying. Don't tail-call __sigjmp_save for static lib.
49635 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49637 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49638 (CALL_MCOUNT): Add eh info, and nop after bl.
49639 (TAIL_CALL_SYSCALL_ERROR): New macro.
49640 (PSEUDO_RET): Use it.
49641 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49642 Correct save location of integer regs and cr.
49643 (_dl_profile_resolve): Correct cr save location. Delete nops
49644 after bl when SHARED. Reduce cfi size a little by better
49645 placement of cfi directives.
49646 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49647 make a stack frame. Instead use parm save area as a temp.
49648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49649 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49651 Don't make a stack frame for parent, use parm save area.
49652 Increase child stack frame to 112 bytes. Don't save unused reg,
49653 and adjust reg usage. Set up cfi on error recovery and
49654 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49656 (__makecontext): Add dummy nop after jump to exit.
49657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49658 Use correct parm save area and cr save, reduce stack frame.
49659 Correct cfi for possible PSEUDO_RET frame setup.
49660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49661 Branch to local label emitted by PSEUDO_RET rather than
49664 2010-08-12 Andreas Schwab <schwab@redhat.com>
49667 * locale/programs/locale.c (print_assignment): New function.
49668 (show_locale_vars): Use it.
49670 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49672 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49674 (struct statfs64): Likewise.
49675 (_STATFS_F_FLAGS): Define.
49676 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49677 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49678 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49679 (ST_VALID): Define locally.
49680 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49681 __statvfs_getflags, use the provided value.
49682 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49683 __ASSUME_STATFS_F_FLAGS.
49685 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49687 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49688 Add sys/fanotify.h.
49689 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49690 fanotify_mask for GLIBC_2.13.
49691 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49692 fanotify_init and fanotify_mark.
49693 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49694 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49696 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49698 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49699 prlimit64 for GLIBC_2.13.
49700 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49702 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49705 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49706 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49707 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49708 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49710 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49713 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49714 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49716 * nss/Makefile: Add rules to build and run tst-nss-test1.
49717 * shlib-versions: Add entry for libnss_test1.
49718 * nss/nss_test1.c: New file.
49719 * nss/tst-nss-test1.c: New file.
49721 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49722 (__nss_configure_lookup): Set appropriate entry in
49723 __nss_configure_lookup to true.
49724 * nss/nsswitch.h: Define enum with indeces of databases in
49725 databases and __nss_database_custom arrays. Declare
49726 __nss_database_custom.
49727 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49728 to avoid using nscd when custom rules are installed.
49729 * nss/getXXbyYY_r.c: Likewise.
49730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49732 * nss/nss_files/files-parse.c: Whitespace fixes.
49734 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49737 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49738 * posix/fnmatch_loop.c: Likewise.
49740 2010-07-17 Andi Kleen <ak@linux.intel.com>
49742 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49743 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49744 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49745 * Versions.def [GLIBC_2.13]: Add.
49747 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49749 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49750 Also fail if tpwd after pwuid call is NULL.
49752 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49754 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49755 when converting to ms.
49757 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49759 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49760 EOPNOTSUPP errors with ENOTTY.
49761 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49762 EOPNOTSUPP errors with ENOTTY.
49764 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49766 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49767 Add strcasecmp_l-ssse3.
49768 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49770 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49771 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49772 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49774 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49776 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49778 * string/Makefile (strop-tests): Add strcasecmp.
49779 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49780 strcasecmp_l-nonascii.
49781 (gen-as-const-headers): Add locale-defines.sym.
49782 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49783 * sysdeps/x86_64/strcasecmp.S: New file.
49784 * sysdeps/x86_64/strcasecmp_l.S: New file.
49785 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49786 * sysdeps/x86_64/locale-defines.sym: New file.
49787 * string/test-strcasecmp.c: New file.
49789 * string/test-strcasestr.c: Test both ends of the range of characters.
49790 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49792 2010-07-29 Roland McGrath <roland@redhat.com>
49795 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49797 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49799 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49802 2010-07-27 Andreas Schwab <schwab@redhat.com>
49804 * manual/memory.texi (Malloc Tunable Parameters): Document
49807 2010-07-26 Roland McGrath <roland@redhat.com>
49810 * configure.in (-fgnu89-inline check): Set and substitute
49811 gnu89_inline, not libc_cv_gnu89_inline.
49812 * configure: Regenerated.
49813 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49815 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49817 * string/test-strnlen.c: New file.
49818 * string/Makefile (strop-tests): Add strnlen.
49819 * string/tester.c (test_strnlen): Add a few more test cases.
49820 * string/tst-strlen.c: Better error reporting.
49822 * sysdeps/x86_64/strnlen.S: New file.
49824 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49826 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49827 lower-latency instructions.
49829 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49831 * string/test-strcasestr.c: New file.
49832 * string/test-strstr.c: New file.
49833 * string/Makefile (strop-tests): Add strstr and strcasestr.
49834 * string/str-two-way.h: Don't undefine MAX.
49835 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49837 2010-07-21 Andreas Schwab <schwab@redhat.com>
49839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49840 strcasestr-nonascii.
49841 (CFLAGS-strcasestr-nonascii.c): Define.
49842 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49843 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49844 Remove unused attribute.
49846 2010-07-20 Roland McGrath <roland@redhat.com>
49848 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49849 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49850 ld.so.cache was broken. With it, there is no way to disable dsocaps
49851 like LD_HWCAP_MASK can disable hwcaps.
49853 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49855 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49857 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49859 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49860 call in strcasestr.
49861 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49862 __strcasestr_sse42_nonascii.
49863 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49864 strcasestr-nonascii.c.
49865 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49867 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49869 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49870 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49871 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49872 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49874 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49876 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49879 2010-07-06 Andreas Schwab <schwab@redhat.com>
49882 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49885 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49887 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49888 _PC_PIPE_BUF using F_GETPIPE_SZ.
49890 2010-07-05 Roland McGrath <roland@redhat.com>
49892 * manual/arith.texi (Rounding Functions): Fix rint description
49893 implicit in round description.
49895 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49897 * elf/Makefile: Fix linking for a few tests to make recent linker
49900 2010-06-30 Andreas Schwab <schwab@redhat.com>
49902 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49903 $(common-objpfx)libc_nonshared.a.
49905 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49907 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49908 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49909 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49910 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49911 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49912 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49913 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49914 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49929 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49930 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49931 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49932 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49933 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49934 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49935 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49936 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49937 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49938 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49939 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49940 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49956 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49958 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49959 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49960 * string/memmove.c (memmove): Renamed to ...
49961 (MEMMOVE): ...this. Default to memmove.
49962 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49963 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49965 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49966 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49967 mempcpy-ssse3-back memmove-ssse3-back.
49968 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49969 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49970 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49971 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49972 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49973 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49974 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49975 * sysdeps/x86_64/multiarch/memmove.c: New file.
49976 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49977 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49978 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49979 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49980 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49981 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49983 (index_Fast_Copy_Backward): Define.
49984 (HAS_ARCH_FEATURE): Define.
49985 (HAS_FAST_REP_STRING): Define.
49986 (HAS_FAST_COPY_BACKWARD): Define.
49988 2010-06-21 Andreas Schwab <schwab@redhat.com>
49990 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49991 Restore proper fallback handling.
49993 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49996 * posix/group_member.c (__group_member): Correct checking loop.
49998 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49999 OOM in getpwuid_r correctly. Return error number when the caller
50000 should return, otherwise -1.
50001 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50002 call returning > 0 value.
50003 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50005 2010-06-07 Andreas Schwab <schwab@redhat.com>
50007 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50008 libc_nonshared.a from targets in modules-names.
50010 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50012 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50015 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
50017 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50018 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50019 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50020 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50022 2010-06-02 Andreas Schwab <schwab@redhat.com>
50024 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50026 2010-06-14 Ulrich Drepper <drepper@redhat.com>
50028 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50030 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50031 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50032 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50033 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50034 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50035 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50037 2010-06-14 Roland McGrath <roland@redhat.com>
50039 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50041 2010-06-07 Jakub Jelinek <jakub@redhat.com>
50043 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50044 __REDIRECT followed by __THROW.
50045 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50046 * posix/getopt.h (getopt): Likewise.
50048 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50050 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50051 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50052 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50054 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50055 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50057 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
50059 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50061 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50065 Properly check family and model.
50067 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50069 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50071 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
50073 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50075 2010-05-21 Ulrich Drepper <drepper@redhat.com>
50077 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50080 2010-05-19 Andreas Schwab <schwab@redhat.com>
50082 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50085 2010-05-21 Andreas Schwab <schwab@redhat.com>
50087 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50088 and internal_recvmmsg.
50089 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50090 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50091 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50092 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50094 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50095 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50096 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50098 2010-05-20 Andreas Schwab <schwab@redhat.com>
50100 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50102 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
50104 POWER7 optimizations.
50105 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50106 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50108 2010-05-19 Ulrich Drepper <drepper@redhat.com>
50110 * version.h: Update for 2.13 development version.
50112 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
50114 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50115 exceptions. Return 0.
50117 2010-05-07 Roland McGrath <roland@redhat.com>
50119 * elf/ldconfig.c (main): Add a const.
50121 2010-05-06 Ulrich Drepper <drepper@redhat.com>
50123 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50124 (args_options): Add no-idn option.
50125 (ahosts_keys_int): Add idn_flags to ai_flags.
50126 (parse_option): Handle 'i' option to clear idn_flags.
50128 * malloc/malloc.c (_int_free): Possible race in the most recently
50129 added check. Only act on the data if no current modification
50132 See ChangeLog.17 for earlier changes.